1 /* ----------------------------------------------------------------------------
2 * This file was automatically generated by SWIG (http://www.swig.org).
5 * This file is not intended to be easily readable and contains a number of
6 * coding conventions designed to improve portability and efficiency. Do not make
7 * changes to this file unless you know what you are doing--modify the SWIG
8 * interface file instead.
9 * ----------------------------------------------------------------------------- */
12 #define SWIG_PYTHON_DIRECTOR_NO_VTABLE
15 template<class T
> class SwigValueWrapper
{
18 SwigValueWrapper() : tt(0) { }
19 SwigValueWrapper(const SwigValueWrapper
<T
>& rhs
) : tt(new T(*rhs
.tt
)) { }
20 SwigValueWrapper(const T
& t
) : tt(new T(t
)) { }
21 ~SwigValueWrapper() { delete tt
; }
22 SwigValueWrapper
& operator=(const T
& t
) { delete tt
; tt
= new T(t
); return *this; }
23 operator T
&() const { return *tt
; }
24 T
*operator&() { return tt
; }
26 SwigValueWrapper
& operator=(const SwigValueWrapper
<T
>& rhs
);
30 /* -----------------------------------------------------------------------------
31 * This section contains generic SWIG labels for method/variable
32 * declarations/attributes, and other compiler dependent labels.
33 * ----------------------------------------------------------------------------- */
35 /* template workaround for compilers that cannot correctly implement the C++ standard */
36 #ifndef SWIGTEMPLATEDISAMBIGUATOR
37 # if defined(__SUNPRO_CC)
38 # if (__SUNPRO_CC <= 0x560)
39 # define SWIGTEMPLATEDISAMBIGUATOR template
41 # define SWIGTEMPLATEDISAMBIGUATOR
44 # define SWIGTEMPLATEDISAMBIGUATOR
48 /* inline attribute */
50 # if defined(__cplusplus) || (defined(__GNUC__) && !defined(__STRICT_ANSI__))
51 # define SWIGINLINE inline
57 /* attribute recognised by some compilers to avoid 'unused' warnings */
59 # if defined(__GNUC__)
60 # if !(defined(__cplusplus)) || (__GNUC__ > 3 || (__GNUC__ == 3 && __GNUC_MINOR__ >= 4))
61 # define SWIGUNUSED __attribute__ ((__unused__))
66 # define SWIGUNUSED __attribute__ ((__unused__))
72 #ifndef SWIGUNUSEDPARM
74 # define SWIGUNUSEDPARM(p)
76 # define SWIGUNUSEDPARM(p) p SWIGUNUSED
80 /* internal SWIG method */
82 # define SWIGINTERN static SWIGUNUSED
85 /* internal inline SWIG method */
86 #ifndef SWIGINTERNINLINE
87 # define SWIGINTERNINLINE SWIGINTERN SWIGINLINE
90 /* exporting methods */
91 #if (__GNUC__ >= 4) || (__GNUC__ == 3 && __GNUC_MINOR__ >= 4)
92 # ifndef GCC_HASCLASSVISIBILITY
93 # define GCC_HASCLASSVISIBILITY
98 # if defined(_WIN32) || defined(__WIN32__) || defined(__CYGWIN__)
99 # if defined(STATIC_LINKED)
102 # define SWIGEXPORT __declspec(dllexport)
105 # if defined(__GNUC__) && defined(GCC_HASCLASSVISIBILITY)
106 # define SWIGEXPORT __attribute__ ((visibility("default")))
113 /* calling conventions for Windows */
115 # if defined(_WIN32) || defined(__WIN32__) || defined(__CYGWIN__)
116 # define SWIGSTDCALL __stdcall
122 /* Deal with Microsoft's attempt at deprecating C standard runtime functions */
123 #if !defined(SWIG_NO_CRT_SECURE_NO_DEPRECATE) && defined(_MSC_VER)
124 # define _CRT_SECURE_NO_DEPRECATE
128 /* Python.h has to appear first */
131 /* -----------------------------------------------------------------------------
134 * This file contains generic CAPI SWIG runtime support for pointer
136 * ----------------------------------------------------------------------------- */
138 /* This should only be incremented when either the layout of swig_type_info changes,
139 or for whatever reason, the runtime changes incompatibly */
140 #define SWIG_RUNTIME_VERSION "2"
142 /* define SWIG_TYPE_TABLE_NAME as "SWIG_TYPE_TABLE" */
143 #ifdef SWIG_TYPE_TABLE
144 # define SWIG_QUOTE_STRING(x) #x
145 # define SWIG_EXPAND_AND_QUOTE_STRING(x) SWIG_QUOTE_STRING(x)
146 # define SWIG_TYPE_TABLE_NAME SWIG_EXPAND_AND_QUOTE_STRING(SWIG_TYPE_TABLE)
148 # define SWIG_TYPE_TABLE_NAME
152 You can use the SWIGRUNTIME and SWIGRUNTIMEINLINE macros for
153 creating a static or dynamic library from the swig runtime code.
154 In 99.9% of the cases, swig just needs to declare them as 'static'.
156 But only do this if is strictly necessary, ie, if you have problems
157 with your compiler or so.
161 # define SWIGRUNTIME SWIGINTERN
164 #ifndef SWIGRUNTIMEINLINE
165 # define SWIGRUNTIMEINLINE SWIGRUNTIME SWIGINLINE
168 /* Generic buffer size */
169 #ifndef SWIG_BUFFER_SIZE
170 # define SWIG_BUFFER_SIZE 1024
173 /* Flags for pointer conversions */
174 #define SWIG_POINTER_DISOWN 0x1
176 /* Flags for new pointer objects */
177 #define SWIG_POINTER_OWN 0x1
181 Flags/methods for returning states.
183 The swig conversion methods, as ConvertPtr, return and integer
184 that tells if the conversion was successful or not. And if not,
185 an error code can be returned (see swigerrors.swg for the codes).
187 Use the following macros/flags to set or process the returning
190 In old swig versions, you usually write code as:
192 if (SWIG_ConvertPtr(obj,vptr,ty.flags) != -1) {
198 Now you can be more explicit as:
200 int res = SWIG_ConvertPtr(obj,vptr,ty.flags);
201 if (SWIG_IsOK(res)) {
207 that seems to be the same, but now you can also do
210 int res = SWIG_ConvertPtr(obj,(void **)(&ptr),ty.flags);
211 if (SWIG_IsOK(res)) {
213 if (SWIG_IsNewObj(res) {
223 I.e., now SWIG_ConvertPtr can return new objects and you can
224 identify the case and take care of the deallocation. Of course that
225 requires also to SWIG_ConvertPtr to return new result values, as
227 int SWIG_ConvertPtr(obj, ptr,...) {
229 if (<need new object>) {
230 *ptr = <ptr to new allocated object>;
233 *ptr = <ptr to old object>;
241 Of course, returning the plain '0(success)/-1(fail)' still works, but you can be
242 more explicit by returning SWIG_BADOBJ, SWIG_ERROR or any of the
245 Finally, if the SWIG_CASTRANK_MODE is enabled, the result code
246 allows to return the 'cast rank', for example, if you have this
253 food(1) // cast rank '1' (1 -> 1.0)
254 fooi(1) // cast rank '0'
256 just use the SWIG_AddCast()/SWIG_CheckState()
261 #define SWIG_ERROR (-1)
262 #define SWIG_IsOK(r) (r >= 0)
263 #define SWIG_ArgError(r) ((r != SWIG_ERROR) ? r : SWIG_TypeError)
265 /* The CastRankLimit says how many bits are used for the cast rank */
266 #define SWIG_CASTRANKLIMIT (1 << 8)
267 /* The NewMask denotes the object was created (using new/malloc) */
268 #define SWIG_NEWOBJMASK (SWIG_CASTRANKLIMIT << 1)
269 /* The TmpMask is for in/out typemaps that use temporal objects */
270 #define SWIG_TMPOBJMASK (SWIG_NEWOBJMASK << 1)
271 /* Simple returning values */
272 #define SWIG_BADOBJ (SWIG_ERROR)
273 #define SWIG_OLDOBJ (SWIG_OK)
274 #define SWIG_NEWOBJ (SWIG_OK | SWIG_NEWOBJMASK)
275 #define SWIG_TMPOBJ (SWIG_OK | SWIG_TMPOBJMASK)
276 /* Check, add and del mask methods */
277 #define SWIG_AddNewMask(r) (SWIG_IsOK(r) ? (r | SWIG_NEWOBJMASK) : r)
278 #define SWIG_DelNewMask(r) (SWIG_IsOK(r) ? (r & ~SWIG_NEWOBJMASK) : r)
279 #define SWIG_IsNewObj(r) (SWIG_IsOK(r) && (r & SWIG_NEWOBJMASK))
280 #define SWIG_AddTmpMask(r) (SWIG_IsOK(r) ? (r | SWIG_TMPOBJMASK) : r)
281 #define SWIG_DelTmpMask(r) (SWIG_IsOK(r) ? (r & ~SWIG_TMPOBJMASK) : r)
282 #define SWIG_IsTmpObj(r) (SWIG_IsOK(r) && (r & SWIG_TMPOBJMASK))
286 #if defined(SWIG_CASTRANK_MODE)
287 # ifndef SWIG_TypeRank
288 # define SWIG_TypeRank unsigned long
290 # ifndef SWIG_MAXCASTRANK /* Default cast allowed */
291 # define SWIG_MAXCASTRANK (2)
293 # define SWIG_CASTRANKMASK ((SWIG_CASTRANKLIMIT) -1)
294 # define SWIG_CastRank(r) (r & SWIG_CASTRANKMASK)
295 SWIGINTERNINLINE
int SWIG_AddCast(int r
) {
296 return SWIG_IsOK(r
) ? ((SWIG_CastRank(r
) < SWIG_MAXCASTRANK
) ? (r
+ 1) : SWIG_ERROR
) : r
;
298 SWIGINTERNINLINE
int SWIG_CheckState(int r
) {
299 return SWIG_IsOK(r
) ? SWIG_CastRank(r
) + 1 : 0;
301 #else /* no cast-rank mode */
302 # define SWIG_AddCast
303 # define SWIG_CheckState(r) (SWIG_IsOK(r) ? 1 : 0)
315 typedef void *(*swig_converter_func
)(void *);
316 typedef struct swig_type_info
*(*swig_dycast_func
)(void **);
318 /* Structure to store inforomation on one type */
319 typedef struct swig_type_info
{
320 const char *name
; /* mangled name of this type */
321 const char *str
; /* human readable name of this type */
322 swig_dycast_func dcast
; /* dynamic cast function down a hierarchy */
323 struct swig_cast_info
*cast
; /* linked list of types that can cast into this type */
324 void *clientdata
; /* language specific type data */
325 int owndata
; /* flag if the structure owns the clientdata */
328 /* Structure to store a type and conversion function used for casting */
329 typedef struct swig_cast_info
{
330 swig_type_info
*type
; /* pointer to type that is equivalent to this type */
331 swig_converter_func converter
; /* function to cast the void pointers */
332 struct swig_cast_info
*next
; /* pointer to next cast in linked list */
333 struct swig_cast_info
*prev
; /* pointer to the previous cast */
336 /* Structure used to store module information
337 * Each module generates one structure like this, and the runtime collects
338 * all of these structures and stores them in a circularly linked list.*/
339 typedef struct swig_module_info
{
340 swig_type_info
**types
; /* Array of pointers to swig_type_info structures that are in this module */
341 size_t size
; /* Number of types in this module */
342 struct swig_module_info
*next
; /* Pointer to next element in circularly linked list */
343 swig_type_info
**type_initial
; /* Array of initially generated type structures */
344 swig_cast_info
**cast_initial
; /* Array of initially generated casting structures */
345 void *clientdata
; /* Language specific module data */
349 Compare two type names skipping the space characters, therefore
350 "char*" == "char *" and "Class<int>" == "Class<int >", etc.
352 Return 0 when the two name types are equivalent, as in
353 strncmp, but skipping ' '.
356 SWIG_TypeNameComp(const char *f1
, const char *l1
,
357 const char *f2
, const char *l2
) {
358 for (;(f1
!= l1
) && (f2
!= l2
); ++f1
, ++f2
) {
359 while ((*f1
== ' ') && (f1
!= l1
)) ++f1
;
360 while ((*f2
== ' ') && (f2
!= l2
)) ++f2
;
361 if (*f1
!= *f2
) return (*f1
> *f2
) ? 1 : -1;
363 return (l1
- f1
) - (l2
- f2
);
367 Check type equivalence in a name list like <name1>|<name2>|...
368 Return 0 if not equal, 1 if equal
371 SWIG_TypeEquiv(const char *nb
, const char *tb
) {
373 const char* te
= tb
+ strlen(tb
);
375 while (!equiv
&& *ne
) {
376 for (nb
= ne
; *ne
; ++ne
) {
377 if (*ne
== '|') break;
379 equiv
= (SWIG_TypeNameComp(nb
, ne
, tb
, te
) == 0) ? 1 : 0;
386 Check type equivalence in a name list like <name1>|<name2>|...
387 Return 0 if equal, -1 if nb < tb, 1 if nb > tb
390 SWIG_TypeCompare(const char *nb
, const char *tb
) {
392 const char* te
= tb
+ strlen(tb
);
394 while (!equiv
&& *ne
) {
395 for (nb
= ne
; *ne
; ++ne
) {
396 if (*ne
== '|') break;
398 equiv
= (SWIG_TypeNameComp(nb
, ne
, tb
, te
) == 0) ? 1 : 0;
405 /* think of this as a c++ template<> or a scheme macro */
406 #define SWIG_TypeCheck_Template(comparison, ty) \
408 swig_cast_info *iter = ty->cast; \
411 if (iter == ty->cast) return iter; \
412 /* Move iter to the top of the linked list */ \
413 iter->prev->next = iter->next; \
415 iter->next->prev = iter->prev; \
416 iter->next = ty->cast; \
418 if (ty->cast) ty->cast->prev = iter; \
430 SWIGRUNTIME swig_cast_info
*
431 SWIG_TypeCheck(const char *c
, swig_type_info
*ty
) {
432 SWIG_TypeCheck_Template(strcmp(iter
->type
->name
, c
) == 0, ty
);
435 /* Same as previous function, except strcmp is replaced with a pointer comparison */
436 SWIGRUNTIME swig_cast_info
*
437 SWIG_TypeCheckStruct(swig_type_info
*from
, swig_type_info
*into
) {
438 SWIG_TypeCheck_Template(iter
->type
== from
, into
);
442 Cast a pointer up an inheritance hierarchy
444 SWIGRUNTIMEINLINE
void *
445 SWIG_TypeCast(swig_cast_info
*ty
, void *ptr
) {
446 return ((!ty
) || (!ty
->converter
)) ? ptr
: (*ty
->converter
)(ptr
);
450 Dynamic pointer casting. Down an inheritance hierarchy
452 SWIGRUNTIME swig_type_info
*
453 SWIG_TypeDynamicCast(swig_type_info
*ty
, void **ptr
) {
454 swig_type_info
*lastty
= ty
;
455 if (!ty
|| !ty
->dcast
) return ty
;
456 while (ty
&& (ty
->dcast
)) {
457 ty
= (*ty
->dcast
)(ptr
);
464 Return the name associated with this type
466 SWIGRUNTIMEINLINE
const char *
467 SWIG_TypeName(const swig_type_info
*ty
) {
472 Return the pretty name associated with this type,
473 that is an unmangled type name in a form presentable to the user.
475 SWIGRUNTIME
const char *
476 SWIG_TypePrettyName(const swig_type_info
*type
) {
477 /* The "str" field contains the equivalent pretty names of the
478 type, separated by vertical-bar characters. We choose
479 to print the last name, as it is often (?) the most
481 if (!type
) return NULL
;
482 if (type
->str
!= NULL
) {
483 const char *last_name
= type
->str
;
485 for (s
= type
->str
; *s
; s
++)
486 if (*s
== '|') last_name
= s
+1;
494 Set the clientdata field for a type
497 SWIG_TypeClientData(swig_type_info
*ti
, void *clientdata
) {
498 swig_cast_info
*cast
= ti
->cast
;
499 /* if (ti->clientdata == clientdata) return; */
500 ti
->clientdata
= clientdata
;
503 if (!cast
->converter
) {
504 swig_type_info
*tc
= cast
->type
;
505 if (!tc
->clientdata
) {
506 SWIG_TypeClientData(tc
, clientdata
);
513 SWIG_TypeNewClientData(swig_type_info
*ti
, void *clientdata
) {
514 SWIG_TypeClientData(ti
, clientdata
);
519 Search for a swig_type_info structure only by mangled name
520 Search is a O(log #types)
522 We start searching at module start, and finish searching when start == end.
523 Note: if start == end at the beginning of the function, we go all the way around
526 SWIGRUNTIME swig_type_info
*
527 SWIG_MangledTypeQueryModule(swig_module_info
*start
,
528 swig_module_info
*end
,
530 swig_module_info
*iter
= start
;
533 register size_t l
= 0;
534 register size_t r
= iter
->size
- 1;
536 /* since l+r >= 0, we can (>> 1) instead (/ 2) */
537 register size_t i
= (l
+ r
) >> 1;
538 const char *iname
= iter
->types
[i
]->name
;
540 register int compare
= strcmp(name
, iname
);
542 return iter
->types
[i
];
543 } else if (compare
< 0) {
549 } else if (compare
> 0) {
553 break; /* should never happen */
558 } while (iter
!= end
);
563 Search for a swig_type_info structure for either a mangled name or a human readable name.
564 It first searches the mangled names of the types, which is a O(log #types)
565 If a type is not found it then searches the human readable names, which is O(#types).
567 We start searching at module start, and finish searching when start == end.
568 Note: if start == end at the beginning of the function, we go all the way around
571 SWIGRUNTIME swig_type_info
*
572 SWIG_TypeQueryModule(swig_module_info
*start
,
573 swig_module_info
*end
,
575 /* STEP 1: Search the name field using binary search */
576 swig_type_info
*ret
= SWIG_MangledTypeQueryModule(start
, end
, name
);
580 /* STEP 2: If the type hasn't been found, do a complete search
581 of the str field (the human readable name) */
582 swig_module_info
*iter
= start
;
584 register size_t i
= 0;
585 for (; i
< iter
->size
; ++i
) {
586 if (iter
->types
[i
]->str
&& (SWIG_TypeEquiv(iter
->types
[i
]->str
, name
)))
587 return iter
->types
[i
];
590 } while (iter
!= end
);
593 /* neither found a match */
598 Pack binary data into a string
601 SWIG_PackData(char *c
, void *ptr
, size_t sz
) {
602 static const char hex
[17] = "0123456789abcdef";
603 register const unsigned char *u
= (unsigned char *) ptr
;
604 register const unsigned char *eu
= u
+ sz
;
605 for (; u
!= eu
; ++u
) {
606 register unsigned char uu
= *u
;
607 *(c
++) = hex
[(uu
& 0xf0) >> 4];
608 *(c
++) = hex
[uu
& 0xf];
614 Unpack binary data from a string
616 SWIGRUNTIME
const char *
617 SWIG_UnpackData(const char *c
, void *ptr
, size_t sz
) {
618 register unsigned char *u
= (unsigned char *) ptr
;
619 register const unsigned char *eu
= u
+ sz
;
620 for (; u
!= eu
; ++u
) {
621 register char d
= *(c
++);
622 register unsigned char uu
;
623 if ((d
>= '0') && (d
<= '9'))
624 uu
= ((d
- '0') << 4);
625 else if ((d
>= 'a') && (d
<= 'f'))
626 uu
= ((d
- ('a'-10)) << 4);
630 if ((d
>= '0') && (d
<= '9'))
632 else if ((d
>= 'a') && (d
<= 'f'))
633 uu
|= (d
- ('a'-10));
642 Pack 'void *' into a string buffer.
645 SWIG_PackVoidPtr(char *buff
, void *ptr
, const char *name
, size_t bsz
) {
647 if ((2*sizeof(void *) + 2) > bsz
) return 0;
649 r
= SWIG_PackData(r
,&ptr
,sizeof(void *));
650 if (strlen(name
) + 1 > (bsz
- (r
- buff
))) return 0;
655 SWIGRUNTIME
const char *
656 SWIG_UnpackVoidPtr(const char *c
, void **ptr
, const char *name
) {
658 if (strcmp(c
,"NULL") == 0) {
665 return SWIG_UnpackData(++c
,ptr
,sizeof(void *));
669 SWIG_PackDataName(char *buff
, void *ptr
, size_t sz
, const char *name
, size_t bsz
) {
671 size_t lname
= (name
? strlen(name
) : 0);
672 if ((2*sz
+ 2 + lname
) > bsz
) return 0;
674 r
= SWIG_PackData(r
,ptr
,sz
);
676 strncpy(r
,name
,lname
+1);
683 SWIGRUNTIME
const char *
684 SWIG_UnpackDataName(const char *c
, void *ptr
, size_t sz
, const char *name
) {
686 if (strcmp(c
,"NULL") == 0) {
693 return SWIG_UnpackData(++c
,ptr
,sz
);
701 #define SWIG_UnknownError -1
702 #define SWIG_IOError -2
703 #define SWIG_RuntimeError -3
704 #define SWIG_IndexError -4
705 #define SWIG_TypeError -5
706 #define SWIG_DivisionByZero -6
707 #define SWIG_OverflowError -7
708 #define SWIG_SyntaxError -8
709 #define SWIG_ValueError -9
710 #define SWIG_SystemError -10
711 #define SWIG_AttributeError -11
712 #define SWIG_MemoryError -12
713 #define SWIG_NullReferenceError -13
717 /* Python.h has to appear first */
720 /* Add PyOS_snprintf for old Pythons */
721 #if PY_VERSION_HEX < 0x02020000
722 # if defined(_MSC_VER) || defined(__BORLANDC__) || defined(_WATCOM)
723 # define PyOS_snprintf _snprintf
725 # define PyOS_snprintf snprintf
729 /* A crude PyString_FromFormat implementation for old Pythons */
730 #if PY_VERSION_HEX < 0x02020000
732 #ifndef SWIG_PYBUFFER_SIZE
733 # define SWIG_PYBUFFER_SIZE 1024
737 PyString_FromFormat(const char *fmt
, ...) {
739 char buf
[SWIG_PYBUFFER_SIZE
* 2];
742 res
= vsnprintf(buf
, sizeof(buf
), fmt
, ap
);
744 return (res
< 0 || res
>= (int)sizeof(buf
)) ? 0 : PyString_FromString(buf
);
748 /* Add PyObject_Del for old Pythons */
749 #if PY_VERSION_HEX < 0x01060000
750 # define PyObject_Del(op) PyMem_DEL((op))
753 # define PyObject_DEL PyObject_Del
756 /* A crude PyExc_StopIteration exception for old Pythons */
757 #if PY_VERSION_HEX < 0x02020000
758 # ifndef PyExc_StopIteration
759 # define PyExc_StopIteration PyExc_RuntimeError
761 # ifndef PyObject_GenericGetAttr
762 # define PyObject_GenericGetAttr 0
765 /* Py_NotImplemented is defined in 2.1 and up. */
766 #if PY_VERSION_HEX < 0x02010000
767 # ifndef Py_NotImplemented
768 # define Py_NotImplemented PyExc_RuntimeError
773 /* A crude PyString_AsStringAndSize implementation for old Pythons */
774 #if PY_VERSION_HEX < 0x02010000
775 # ifndef PyString_AsStringAndSize
776 # define PyString_AsStringAndSize(obj, s, len) {*s = PyString_AsString(obj); *len = *s ? strlen(*s) : 0;}
780 /* PySequence_Size for old Pythons */
781 #if PY_VERSION_HEX < 0x02000000
782 # ifndef PySequence_Size
783 # define PySequence_Size PySequence_Length
788 /* PyBool_FromLong for old Pythons */
789 #if PY_VERSION_HEX < 0x02030000
791 PyObject
*PyBool_FromLong(long ok
)
793 PyObject
*result
= ok
? Py_True
: Py_False
;
800 /* -----------------------------------------------------------------------------
802 * ----------------------------------------------------------------------------- */
804 SWIGRUNTIME PyObject
*
805 SWIG_Python_ErrorType(int code
) {
808 case SWIG_MemoryError
:
809 type
= PyExc_MemoryError
;
812 type
= PyExc_IOError
;
814 case SWIG_RuntimeError
:
815 type
= PyExc_RuntimeError
;
817 case SWIG_IndexError
:
818 type
= PyExc_IndexError
;
821 type
= PyExc_TypeError
;
823 case SWIG_DivisionByZero
:
824 type
= PyExc_ZeroDivisionError
;
826 case SWIG_OverflowError
:
827 type
= PyExc_OverflowError
;
829 case SWIG_SyntaxError
:
830 type
= PyExc_SyntaxError
;
832 case SWIG_ValueError
:
833 type
= PyExc_ValueError
;
835 case SWIG_SystemError
:
836 type
= PyExc_SystemError
;
838 case SWIG_AttributeError
:
839 type
= PyExc_AttributeError
;
842 type
= PyExc_RuntimeError
;
849 SWIG_Python_AddErrorMsg(const char* mesg
)
853 PyObject
*traceback
= 0;
855 if (PyErr_Occurred()) PyErr_Fetch(&type
, &value
, &traceback
);
857 PyObject
*old_str
= PyObject_Str(value
);
860 PyErr_Format(type
, "%s %s", PyString_AsString(old_str
), mesg
);
864 PyErr_Format(PyExc_RuntimeError
, mesg
);
870 #if defined(SWIG_PYTHON_NO_THREADS)
871 # if defined(SWIG_PYTHON_THREADS)
872 # undef SWIG_PYTHON_THREADS
875 #if defined(SWIG_PYTHON_THREADS) /* Threading support is enabled */
876 # if !defined(SWIG_PYTHON_USE_GIL) && !defined(SWIG_PYTHON_NO_USE_GIL)
877 # if (PY_VERSION_HEX >= 0x02030000) /* For 2.3 or later, use the PyGILState calls */
878 # define SWIG_PYTHON_USE_GIL
881 # if defined(SWIG_PYTHON_USE_GIL) /* Use PyGILState threads calls */
882 # ifndef SWIG_PYTHON_INITIALIZE_THREADS
883 # define SWIG_PYTHON_INITIALIZE_THREADS PyEval_InitThreads()
885 # ifdef __cplusplus /* C++ code */
886 class SWIG_Python_Thread_Block
{
888 PyGILState_STATE state
;
890 void end() { if (status
) { PyGILState_Release(state
); status
= false;} }
891 SWIG_Python_Thread_Block() : status(true), state(PyGILState_Ensure()) {}
892 ~SWIG_Python_Thread_Block() { end(); }
894 class SWIG_Python_Thread_Allow
{
898 void end() { if (status
) { PyEval_RestoreThread(save
); status
= false; }}
899 SWIG_Python_Thread_Allow() : status(true), save(PyEval_SaveThread()) {}
900 ~SWIG_Python_Thread_Allow() { end(); }
902 # define SWIG_PYTHON_THREAD_BEGIN_BLOCK SWIG_Python_Thread_Block _swig_thread_block
903 # define SWIG_PYTHON_THREAD_END_BLOCK _swig_thread_block.end()
904 # define SWIG_PYTHON_THREAD_BEGIN_ALLOW SWIG_Python_Thread_Allow _swig_thread_allow
905 # define SWIG_PYTHON_THREAD_END_ALLOW _swig_thread_allow.end()
907 # define SWIG_PYTHON_THREAD_BEGIN_BLOCK PyGILState_STATE _swig_thread_block = PyGILState_Ensure()
908 # define SWIG_PYTHON_THREAD_END_BLOCK PyGILState_Release(_swig_thread_block)
909 # define SWIG_PYTHON_THREAD_BEGIN_ALLOW PyThreadState *_swig_thread_allow = PyEval_SaveThread()
910 # define SWIG_PYTHON_THREAD_END_ALLOW PyEval_RestoreThread(_swig_thread_allow)
912 # else /* Old thread way, not implemented, user must provide it */
913 # if !defined(SWIG_PYTHON_INITIALIZE_THREADS)
914 # define SWIG_PYTHON_INITIALIZE_THREADS
916 # if !defined(SWIG_PYTHON_THREAD_BEGIN_BLOCK)
917 # define SWIG_PYTHON_THREAD_BEGIN_BLOCK
919 # if !defined(SWIG_PYTHON_THREAD_END_BLOCK)
920 # define SWIG_PYTHON_THREAD_END_BLOCK
922 # if !defined(SWIG_PYTHON_THREAD_BEGIN_ALLOW)
923 # define SWIG_PYTHON_THREAD_BEGIN_ALLOW
925 # if !defined(SWIG_PYTHON_THREAD_END_ALLOW)
926 # define SWIG_PYTHON_THREAD_END_ALLOW
929 #else /* No thread support */
930 # define SWIG_PYTHON_INITIALIZE_THREADS
931 # define SWIG_PYTHON_THREAD_BEGIN_BLOCK
932 # define SWIG_PYTHON_THREAD_END_BLOCK
933 # define SWIG_PYTHON_THREAD_BEGIN_ALLOW
934 # define SWIG_PYTHON_THREAD_END_ALLOW
937 /* -----------------------------------------------------------------------------
938 * Python API portion that goes into the runtime
939 * ----------------------------------------------------------------------------- */
948 /* -----------------------------------------------------------------------------
949 * Constant declarations
950 * ----------------------------------------------------------------------------- */
953 #define SWIG_PY_POINTER 4
954 #define SWIG_PY_BINARY 5
956 /* Constant information structure */
957 typedef struct swig_const_info
{
963 swig_type_info
**ptype
;
974 /* -----------------------------------------------------------------------------
975 * See the LICENSE file for information on copyright, usage and redistribution
976 * of SWIG, and the README file for authors - http://www.swig.org/release.html.
980 * This file contains the runtime support for Python modules
981 * and includes code for managing global variables and pointer
984 * ----------------------------------------------------------------------------- */
986 /* Common SWIG API */
988 #if PY_VERSION_HEX < 0x02050000
989 typedef int Py_ssize_t
;
992 /* for raw pointers */
993 #define SWIG_Python_ConvertPtr(obj, pptr, type, flags) SWIG_Python_ConvertPtrAndOwn(obj, pptr, type, flags, 0)
994 #define SWIG_ConvertPtr(obj, pptr, type, flags) SWIG_Python_ConvertPtr(obj, pptr, type, flags)
995 #define SWIG_ConvertPtrAndOwn(obj,pptr,type,flags,own) SWIG_Python_ConvertPtrAndOwn(obj, pptr, type, flags, own)
996 #define SWIG_NewPointerObj(ptr, type, flags) SWIG_Python_NewPointerObj(ptr, type, flags)
997 #define SWIG_CheckImplicit(ty) SWIG_Python_CheckImplicit(ty)
998 #define SWIG_AcquirePtr(ptr, src) SWIG_Python_AcquirePtr(ptr, src)
999 #define swig_owntype int
1001 /* for raw packed data */
1002 #define SWIG_ConvertPacked(obj, ptr, sz, ty) SWIG_Python_ConvertPacked(obj, ptr, sz, ty)
1003 #define SWIG_NewPackedObj(ptr, sz, type) SWIG_Python_NewPackedObj(ptr, sz, type)
1005 /* for class or struct pointers */
1006 #define SWIG_ConvertInstance(obj, pptr, type, flags) SWIG_ConvertPtr(obj, pptr, type, flags)
1007 #define SWIG_NewInstanceObj(ptr, type, flags) SWIG_NewPointerObj(ptr, type, flags)
1009 /* for C or C++ function pointers */
1010 #define SWIG_ConvertFunctionPtr(obj, pptr, type) SWIG_Python_ConvertFunctionPtr(obj, pptr, type)
1011 #define SWIG_NewFunctionPtrObj(ptr, type) SWIG_Python_NewPointerObj(ptr, type, 0)
1013 /* for C++ member pointers, ie, member methods */
1014 #define SWIG_ConvertMember(obj, ptr, sz, ty) SWIG_Python_ConvertPacked(obj, ptr, sz, ty)
1015 #define SWIG_NewMemberObj(ptr, sz, type) SWIG_Python_NewPackedObj(ptr, sz, type)
1020 #define SWIG_GetModule(clientdata) SWIG_Python_GetModule()
1021 #define SWIG_SetModule(clientdata, pointer) SWIG_Python_SetModule(pointer)
1022 #define SWIG_NewClientData(obj) PySwigClientData_New(obj)
1024 #define SWIG_SetErrorObj SWIG_Python_SetErrorObj
1025 #define SWIG_SetErrorMsg SWIG_Python_SetErrorMsg
1026 #define SWIG_ErrorType(code) SWIG_Python_ErrorType(code)
1027 #define SWIG_Error(code, msg) SWIG_Python_SetErrorMsg(SWIG_ErrorType(code), msg)
1028 #define SWIG_fail goto fail
1031 /* Runtime API implementation */
1033 /* Error manipulation */
1036 SWIG_Python_SetErrorObj(PyObject
*errtype
, PyObject
*obj
) {
1037 SWIG_PYTHON_THREAD_BEGIN_BLOCK
;
1038 PyErr_SetObject(errtype
, obj
);
1040 SWIG_PYTHON_THREAD_END_BLOCK
;
1044 SWIG_Python_SetErrorMsg(PyObject
*errtype
, const char *msg
) {
1045 SWIG_PYTHON_THREAD_BEGIN_BLOCK
;
1046 PyErr_SetString(errtype
, (char *) msg
);
1047 SWIG_PYTHON_THREAD_END_BLOCK
;
1050 #define SWIG_Python_Raise(obj, type, desc) SWIG_Python_SetErrorObj(SWIG_Python_ExceptionType(desc), obj)
1052 /* Set a constant value */
1055 SWIG_Python_SetConstant(PyObject
*d
, const char *name
, PyObject
*obj
) {
1056 PyDict_SetItemString(d
, (char*) name
, obj
);
1060 /* Append a value to the result obj */
1062 SWIGINTERN PyObject
*
1063 SWIG_Python_AppendOutput(PyObject
* result
, PyObject
* obj
) {
1064 #if !defined(SWIG_PYTHON_OUTPUT_TUPLE)
1067 } else if (result
== Py_None
) {
1071 if (!PyList_Check(result
)) {
1072 PyObject
*o2
= result
;
1073 result
= PyList_New(1);
1074 PyList_SetItem(result
, 0, o2
);
1076 PyList_Append(result
,obj
);
1085 } else if (result
== Py_None
) {
1089 if (!PyTuple_Check(result
)) {
1091 result
= PyTuple_New(1);
1092 PyTuple_SET_ITEM(result
, 0, o2
);
1094 o3
= PyTuple_New(1);
1095 PyTuple_SET_ITEM(o3
, 0, obj
);
1097 result
= PySequence_Concat(o2
, o3
);
1105 /* Unpack the argument tuple */
1108 SWIG_Python_UnpackTuple(PyObject
*args
, const char *name
, int min
, int max
, PyObject
**objs
)
1114 PyErr_Format(PyExc_TypeError
, "%s expected %s%d arguments, got none",
1115 name
, (min
== max
? "" : "at least "), min
);
1119 if (!PyTuple_Check(args
)) {
1120 PyErr_SetString(PyExc_SystemError
, "UnpackTuple() argument list is not a tuple");
1123 register int l
= PyTuple_GET_SIZE(args
);
1125 PyErr_Format(PyExc_TypeError
, "%s expected %s%d arguments, got %d",
1126 name
, (min
== max
? "" : "at least "), min
, l
);
1128 } else if (l
> max
) {
1129 PyErr_Format(PyExc_TypeError
, "%s expected %s%d arguments, got %d",
1130 name
, (min
== max
? "" : "at most "), max
, l
);
1134 for (i
= 0; i
< l
; ++i
) {
1135 objs
[i
] = PyTuple_GET_ITEM(args
, i
);
1137 for (; l
< max
; ++l
) {
1145 /* A functor is a function object with one single object argument */
1146 #if PY_VERSION_HEX >= 0x02020000
1147 #define SWIG_Python_CallFunctor(functor, obj) PyObject_CallFunctionObjArgs(functor, obj, NULL);
1149 #define SWIG_Python_CallFunctor(functor, obj) PyObject_CallFunction(functor, "O", obj);
1153 Helper for static pointer initialization for both C and C++ code, for example
1154 static PyObject *SWIG_STATIC_POINTER(MyVar) = NewSomething(...);
1157 #define SWIG_STATIC_POINTER(var) var
1159 #define SWIG_STATIC_POINTER(var) var = 0; if (!var) var
1162 /* -----------------------------------------------------------------------------
1163 * Pointer declarations
1164 * ----------------------------------------------------------------------------- */
1166 /* Flags for new pointer objects */
1167 #define SWIG_POINTER_NOSHADOW (SWIG_POINTER_OWN << 1)
1168 #define SWIG_POINTER_NEW (SWIG_POINTER_NOSHADOW | SWIG_POINTER_OWN)
1170 #define SWIG_POINTER_IMPLICIT_CONV (SWIG_POINTER_DISOWN << 1)
1179 /* How to access Py_None */
1180 #if defined(_WIN32) || defined(__WIN32__) || defined(__CYGWIN__)
1181 # ifndef SWIG_PYTHON_NO_BUILD_NONE
1182 # ifndef SWIG_PYTHON_BUILD_NONE
1183 # define SWIG_PYTHON_BUILD_NONE
1188 #ifdef SWIG_PYTHON_BUILD_NONE
1191 # define Py_None SWIG_Py_None()
1193 SWIGRUNTIMEINLINE PyObject
*
1196 PyObject
*none
= Py_BuildValue("");
1200 SWIGRUNTIME PyObject
*
1203 static PyObject
*SWIG_STATIC_POINTER(none
) = _SWIG_Py_None();
1208 /* The python void return value */
1210 SWIGRUNTIMEINLINE PyObject
*
1213 PyObject
*none
= Py_None
;
1218 /* PySwigClientData */
1229 SWIGRUNTIMEINLINE
int
1230 SWIG_Python_CheckImplicit(swig_type_info
*ty
)
1232 PySwigClientData
*data
= (PySwigClientData
*)ty
->clientdata
;
1233 return data
? data
->implicitconv
: 0;
1236 SWIGRUNTIMEINLINE PyObject
*
1237 SWIG_Python_ExceptionType(swig_type_info
*desc
) {
1238 PySwigClientData
*data
= desc
? (PySwigClientData
*) desc
->clientdata
: 0;
1239 PyObject
*klass
= data
? data
->klass
: 0;
1240 return (klass
? klass
: PyExc_RuntimeError
);
1244 SWIGRUNTIME PySwigClientData
*
1245 PySwigClientData_New(PyObject
* obj
)
1250 PySwigClientData
*data
= (PySwigClientData
*)malloc(sizeof(PySwigClientData
));
1251 /* the klass element */
1253 Py_INCREF(data
->klass
);
1254 /* the newraw method and newargs arguments used to create a new raw instance */
1255 if (PyClass_Check(obj
)) {
1257 data
->newargs
= obj
;
1260 #if (PY_VERSION_HEX < 0x02020000)
1263 data
->newraw
= PyObject_GetAttrString(data
->klass
, (char *)"__new__");
1266 Py_INCREF(data
->newraw
);
1267 data
->newargs
= PyTuple_New(1);
1268 PyTuple_SetItem(data
->newargs
, 0, obj
);
1270 data
->newargs
= obj
;
1272 Py_INCREF(data
->newargs
);
1274 /* the destroy method, aka as the C++ delete method */
1275 data
->destroy
= PyObject_GetAttrString(data
->klass
, (char *)"__swig_destroy__");
1276 if (PyErr_Occurred()) {
1280 if (data
->destroy
) {
1282 Py_INCREF(data
->destroy
);
1283 flags
= PyCFunction_GET_FLAGS(data
->destroy
);
1285 data
->delargs
= !(flags
& (METH_O
));
1292 data
->implicitconv
= 0;
1298 PySwigClientData_Del(PySwigClientData
* data
)
1300 Py_XDECREF(data
->newraw
);
1301 Py_XDECREF(data
->newargs
);
1302 Py_XDECREF(data
->destroy
);
1305 /* =============== PySwigObject =====================*/
1315 SWIGRUNTIME PyObject
*
1316 PySwigObject_long(PySwigObject
*v
)
1318 return PyLong_FromVoidPtr(v
->ptr
);
1321 SWIGRUNTIME PyObject
*
1322 PySwigObject_format(const char* fmt
, PySwigObject
*v
)
1324 PyObject
*res
= NULL
;
1325 PyObject
*args
= PyTuple_New(1);
1327 if (PyTuple_SetItem(args
, 0, PySwigObject_long(v
)) == 0) {
1328 PyObject
*ofmt
= PyString_FromString(fmt
);
1330 res
= PyString_Format(ofmt
,args
);
1339 SWIGRUNTIME PyObject
*
1340 PySwigObject_oct(PySwigObject
*v
)
1342 return PySwigObject_format("%o",v
);
1345 SWIGRUNTIME PyObject
*
1346 PySwigObject_hex(PySwigObject
*v
)
1348 return PySwigObject_format("%x",v
);
1351 SWIGRUNTIME PyObject
*
1353 PySwigObject_repr(PySwigObject
*v
)
1355 PySwigObject_repr(PySwigObject
*v
, PyObject
*args
)
1358 const char *name
= SWIG_TypePrettyName(v
->ty
);
1359 PyObject
*hex
= PySwigObject_hex(v
);
1360 PyObject
*repr
= PyString_FromFormat("<Swig Object of type '%s' at 0x%s>", name
, PyString_AsString(hex
));
1364 PyObject
*nrep
= PySwigObject_repr((PySwigObject
*)v
->next
);
1366 PyObject
*nrep
= PySwigObject_repr((PySwigObject
*)v
->next
, args
);
1368 PyString_ConcatAndDel(&repr
,nrep
);
1374 PySwigObject_print(PySwigObject
*v
, FILE *fp
, int SWIGUNUSEDPARM(flags
))
1377 PyObject
*repr
= PySwigObject_repr(v
);
1379 PyObject
*repr
= PySwigObject_repr(v
, NULL
);
1382 fputs(PyString_AsString(repr
), fp
);
1390 SWIGRUNTIME PyObject
*
1391 PySwigObject_str(PySwigObject
*v
)
1393 char result
[SWIG_BUFFER_SIZE
];
1394 return SWIG_PackVoidPtr(result
, v
->ptr
, v
->ty
->name
, sizeof(result
)) ?
1395 PyString_FromString(result
) : 0;
1399 PySwigObject_compare(PySwigObject
*v
, PySwigObject
*w
)
1403 return (i
< j
) ? -1 : ((i
> j
) ? 1 : 0);
1406 SWIGRUNTIME PyTypeObject
* _PySwigObject_type(void);
1408 SWIGRUNTIME PyTypeObject
*
1409 PySwigObject_type(void) {
1410 static PyTypeObject
*SWIG_STATIC_POINTER(type
) = _PySwigObject_type();
1414 SWIGRUNTIMEINLINE
int
1415 PySwigObject_Check(PyObject
*op
) {
1416 return ((op
)->ob_type
== PySwigObject_type())
1417 || (strcmp((op
)->ob_type
->tp_name
,"PySwigObject") == 0);
1420 SWIGRUNTIME PyObject
*
1421 PySwigObject_New(void *ptr
, swig_type_info
*ty
, int own
);
1424 PySwigObject_dealloc(PyObject
*v
)
1426 PySwigObject
*sobj
= (PySwigObject
*) v
;
1427 PyObject
*next
= sobj
->next
;
1429 swig_type_info
*ty
= sobj
->ty
;
1430 PySwigClientData
*data
= ty
? (PySwigClientData
*) ty
->clientdata
: 0;
1431 PyObject
*destroy
= data
? data
->destroy
: 0;
1433 /* destroy is always a VARARGS method */
1435 if (data
->delargs
) {
1436 /* we need to create a temporal object to carry the destroy operation */
1437 PyObject
*tmp
= PySwigObject_New(sobj
->ptr
, ty
, 0);
1438 res
= SWIG_Python_CallFunctor(destroy
, tmp
);
1441 PyCFunction meth
= PyCFunction_GET_FUNCTION(destroy
);
1442 PyObject
*mself
= PyCFunction_GET_SELF(destroy
);
1443 res
= ((*meth
)(mself
, v
));
1447 const char *name
= SWIG_TypePrettyName(ty
);
1448 #if !defined(SWIG_PYTHON_SILENT_MEMLEAK)
1449 printf("swig/python detected a memory leak of type '%s', no destructor found.\n", name
);
1457 SWIGRUNTIME PyObject
*
1458 PySwigObject_append(PyObject
* v
, PyObject
* next
)
1460 PySwigObject
*sobj
= (PySwigObject
*) v
;
1463 if (!PyArg_ParseTuple(next
,(char *)"O:append", &tmp
)) return NULL
;
1466 if (!PySwigObject_Check(next
)) {
1471 return SWIG_Py_Void();
1474 SWIGRUNTIME PyObject
*
1476 PySwigObject_next(PyObject
* v
)
1478 PySwigObject_next(PyObject
* v
, PyObject
*SWIGUNUSEDPARM(args
))
1481 PySwigObject
*sobj
= (PySwigObject
*) v
;
1483 Py_INCREF(sobj
->next
);
1486 return SWIG_Py_Void();
1490 SWIGINTERN PyObject
*
1492 PySwigObject_disown(PyObject
*v
)
1494 PySwigObject_disown(PyObject
* v
, PyObject
*SWIGUNUSEDPARM(args
))
1497 PySwigObject
*sobj
= (PySwigObject
*)v
;
1499 return SWIG_Py_Void();
1502 SWIGINTERN PyObject
*
1504 PySwigObject_acquire(PyObject
*v
)
1506 PySwigObject_acquire(PyObject
* v
, PyObject
*SWIGUNUSEDPARM(args
))
1509 PySwigObject
*sobj
= (PySwigObject
*)v
;
1510 sobj
->own
= SWIG_POINTER_OWN
;
1511 return SWIG_Py_Void();
1514 SWIGINTERN PyObject
*
1515 PySwigObject_own(PyObject
*v
, PyObject
*args
)
1518 #if (PY_VERSION_HEX < 0x02020000)
1519 if (!PyArg_ParseTuple(args
,(char *)"|O:own",&val
))
1521 if (!PyArg_UnpackTuple(args
, (char *)"own", 0, 1, &val
))
1528 PySwigObject
*sobj
= (PySwigObject
*)v
;
1529 PyObject
*obj
= PyBool_FromLong(sobj
->own
);
1532 if (PyObject_IsTrue(val
)) {
1533 PySwigObject_acquire(v
);
1535 PySwigObject_disown(v
);
1538 if (PyObject_IsTrue(val
)) {
1539 PySwigObject_acquire(v
,args
);
1541 PySwigObject_disown(v
,args
);
1551 swigobject_methods
[] = {
1552 {(char *)"disown", (PyCFunction
)PySwigObject_disown
, METH_NOARGS
, (char *)"releases ownership of the pointer"},
1553 {(char *)"acquire", (PyCFunction
)PySwigObject_acquire
, METH_NOARGS
, (char *)"aquires ownership of the pointer"},
1554 {(char *)"own", (PyCFunction
)PySwigObject_own
, METH_VARARGS
, (char *)"returns/sets ownership of the pointer"},
1555 {(char *)"append", (PyCFunction
)PySwigObject_append
, METH_O
, (char *)"appends another 'this' object"},
1556 {(char *)"next", (PyCFunction
)PySwigObject_next
, METH_NOARGS
, (char *)"returns the next 'this' object"},
1557 {(char *)"__repr__",(PyCFunction
)PySwigObject_repr
, METH_NOARGS
, (char *)"returns object representation"},
1562 swigobject_methods
[] = {
1563 {(char *)"disown", (PyCFunction
)PySwigObject_disown
, METH_VARARGS
, (char *)"releases ownership of the pointer"},
1564 {(char *)"acquire", (PyCFunction
)PySwigObject_acquire
, METH_VARARGS
, (char *)"aquires ownership of the pointer"},
1565 {(char *)"own", (PyCFunction
)PySwigObject_own
, METH_VARARGS
, (char *)"returns/sets ownership of the pointer"},
1566 {(char *)"append", (PyCFunction
)PySwigObject_append
, METH_VARARGS
, (char *)"appends another 'this' object"},
1567 {(char *)"next", (PyCFunction
)PySwigObject_next
, METH_VARARGS
, (char *)"returns the next 'this' object"},
1568 {(char *)"__repr__",(PyCFunction
)PySwigObject_repr
, METH_VARARGS
, (char *)"returns object representation"},
1573 #if PY_VERSION_HEX < 0x02020000
1574 SWIGINTERN PyObject
*
1575 PySwigObject_getattr(PySwigObject
*sobj
,char *name
)
1577 return Py_FindMethod(swigobject_methods
, (PyObject
*)sobj
, name
);
1581 SWIGRUNTIME PyTypeObject
*
1582 _PySwigObject_type(void) {
1583 static char swigobject_doc
[] = "Swig object carries a C/C++ instance pointer";
1585 static PyNumberMethods PySwigObject_as_number
= {
1586 (binaryfunc
)0, /*nb_add*/
1587 (binaryfunc
)0, /*nb_subtract*/
1588 (binaryfunc
)0, /*nb_multiply*/
1589 (binaryfunc
)0, /*nb_divide*/
1590 (binaryfunc
)0, /*nb_remainder*/
1591 (binaryfunc
)0, /*nb_divmod*/
1592 (ternaryfunc
)0,/*nb_power*/
1593 (unaryfunc
)0, /*nb_negative*/
1594 (unaryfunc
)0, /*nb_positive*/
1595 (unaryfunc
)0, /*nb_absolute*/
1596 (inquiry
)0, /*nb_nonzero*/
1603 (coercion
)0, /*nb_coerce*/
1604 (unaryfunc
)PySwigObject_long
, /*nb_int*/
1605 (unaryfunc
)PySwigObject_long
, /*nb_long*/
1606 (unaryfunc
)0, /*nb_float*/
1607 (unaryfunc
)PySwigObject_oct
, /*nb_oct*/
1608 (unaryfunc
)PySwigObject_hex
, /*nb_hex*/
1609 #if PY_VERSION_HEX >= 0x02020000
1610 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0 /* nb_inplace_add -> nb_inplace_true_divide */
1611 #elif PY_VERSION_HEX >= 0x02000000
1612 0,0,0,0,0,0,0,0,0,0,0 /* nb_inplace_add -> nb_inplace_or */
1616 static PyTypeObject pyswigobject_type
;
1617 static int type_init
= 0;
1619 const PyTypeObject tmp
1621 PyObject_HEAD_INIT(NULL
)
1623 (char *)"PySwigObject", /* tp_name */
1624 sizeof(PySwigObject
), /* tp_basicsize */
1625 0, /* tp_itemsize */
1626 (destructor
)PySwigObject_dealloc
, /* tp_dealloc */
1627 (printfunc
)PySwigObject_print
, /* tp_print */
1628 #if PY_VERSION_HEX < 0x02020000
1629 (getattrfunc
)PySwigObject_getattr
, /* tp_getattr */
1631 (getattrfunc
)0, /* tp_getattr */
1633 (setattrfunc
)0, /* tp_setattr */
1634 (cmpfunc
)PySwigObject_compare
, /* tp_compare */
1635 (reprfunc
)PySwigObject_repr
, /* tp_repr */
1636 &PySwigObject_as_number
, /* tp_as_number */
1637 0, /* tp_as_sequence */
1638 0, /* tp_as_mapping */
1639 (hashfunc
)0, /* tp_hash */
1640 (ternaryfunc
)0, /* tp_call */
1641 (reprfunc
)PySwigObject_str
, /* tp_str */
1642 PyObject_GenericGetAttr
, /* tp_getattro */
1643 0, /* tp_setattro */
1644 0, /* tp_as_buffer */
1645 Py_TPFLAGS_DEFAULT
, /* tp_flags */
1646 swigobject_doc
, /* tp_doc */
1647 0, /* tp_traverse */
1649 0, /* tp_richcompare */
1650 0, /* tp_weaklistoffset */
1651 #if PY_VERSION_HEX >= 0x02020000
1653 0, /* tp_iternext */
1654 swigobject_methods
, /* tp_methods */
1659 0, /* tp_descr_get */
1660 0, /* tp_descr_set */
1661 0, /* tp_dictoffset */
1670 0, /* tp_subclasses */
1671 0, /* tp_weaklist */
1673 #if PY_VERSION_HEX >= 0x02030000
1677 0,0,0,0 /* tp_alloc -> tp_next */
1680 pyswigobject_type
= tmp
;
1681 pyswigobject_type
.ob_type
= &PyType_Type
;
1684 return &pyswigobject_type
;
1687 SWIGRUNTIME PyObject
*
1688 PySwigObject_New(void *ptr
, swig_type_info
*ty
, int own
)
1690 PySwigObject
*sobj
= PyObject_NEW(PySwigObject
, PySwigObject_type());
1697 return (PyObject
*)sobj
;
1700 /* -----------------------------------------------------------------------------
1701 * Implements a simple Swig Packed type, and use it instead of string
1702 * ----------------------------------------------------------------------------- */
1712 PySwigPacked_print(PySwigPacked
*v
, FILE *fp
, int SWIGUNUSEDPARM(flags
))
1714 char result
[SWIG_BUFFER_SIZE
];
1715 fputs("<Swig Packed ", fp
);
1716 if (SWIG_PackDataName(result
, v
->pack
, v
->size
, 0, sizeof(result
))) {
1720 fputs(v
->ty
->name
,fp
);
1725 SWIGRUNTIME PyObject
*
1726 PySwigPacked_repr(PySwigPacked
*v
)
1728 char result
[SWIG_BUFFER_SIZE
];
1729 if (SWIG_PackDataName(result
, v
->pack
, v
->size
, 0, sizeof(result
))) {
1730 return PyString_FromFormat("<Swig Packed at %s%s>", result
, v
->ty
->name
);
1732 return PyString_FromFormat("<Swig Packed %s>", v
->ty
->name
);
1736 SWIGRUNTIME PyObject
*
1737 PySwigPacked_str(PySwigPacked
*v
)
1739 char result
[SWIG_BUFFER_SIZE
];
1740 if (SWIG_PackDataName(result
, v
->pack
, v
->size
, 0, sizeof(result
))){
1741 return PyString_FromFormat("%s%s", result
, v
->ty
->name
);
1743 return PyString_FromString(v
->ty
->name
);
1748 PySwigPacked_compare(PySwigPacked
*v
, PySwigPacked
*w
)
1752 int s
= (i
< j
) ? -1 : ((i
> j
) ? 1 : 0);
1753 return s
? s
: strncmp((char *)v
->pack
, (char *)w
->pack
, 2*v
->size
);
1756 SWIGRUNTIME PyTypeObject
* _PySwigPacked_type(void);
1758 SWIGRUNTIME PyTypeObject
*
1759 PySwigPacked_type(void) {
1760 static PyTypeObject
*SWIG_STATIC_POINTER(type
) = _PySwigPacked_type();
1764 SWIGRUNTIMEINLINE
int
1765 PySwigPacked_Check(PyObject
*op
) {
1766 return ((op
)->ob_type
== _PySwigPacked_type())
1767 || (strcmp((op
)->ob_type
->tp_name
,"PySwigPacked") == 0);
1771 PySwigPacked_dealloc(PyObject
*v
)
1773 if (PySwigPacked_Check(v
)) {
1774 PySwigPacked
*sobj
= (PySwigPacked
*) v
;
1780 SWIGRUNTIME PyTypeObject
*
1781 _PySwigPacked_type(void) {
1782 static char swigpacked_doc
[] = "Swig object carries a C/C++ instance pointer";
1783 static PyTypeObject pyswigpacked_type
;
1784 static int type_init
= 0;
1786 const PyTypeObject tmp
1788 PyObject_HEAD_INIT(NULL
)
1790 (char *)"PySwigPacked", /* tp_name */
1791 sizeof(PySwigPacked
), /* tp_basicsize */
1792 0, /* tp_itemsize */
1793 (destructor
)PySwigPacked_dealloc
, /* tp_dealloc */
1794 (printfunc
)PySwigPacked_print
, /* tp_print */
1795 (getattrfunc
)0, /* tp_getattr */
1796 (setattrfunc
)0, /* tp_setattr */
1797 (cmpfunc
)PySwigPacked_compare
, /* tp_compare */
1798 (reprfunc
)PySwigPacked_repr
, /* tp_repr */
1799 0, /* tp_as_number */
1800 0, /* tp_as_sequence */
1801 0, /* tp_as_mapping */
1802 (hashfunc
)0, /* tp_hash */
1803 (ternaryfunc
)0, /* tp_call */
1804 (reprfunc
)PySwigPacked_str
, /* tp_str */
1805 PyObject_GenericGetAttr
, /* tp_getattro */
1806 0, /* tp_setattro */
1807 0, /* tp_as_buffer */
1808 Py_TPFLAGS_DEFAULT
, /* tp_flags */
1809 swigpacked_doc
, /* tp_doc */
1810 0, /* tp_traverse */
1812 0, /* tp_richcompare */
1813 0, /* tp_weaklistoffset */
1814 #if PY_VERSION_HEX >= 0x02020000
1816 0, /* tp_iternext */
1822 0, /* tp_descr_get */
1823 0, /* tp_descr_set */
1824 0, /* tp_dictoffset */
1833 0, /* tp_subclasses */
1834 0, /* tp_weaklist */
1836 #if PY_VERSION_HEX >= 0x02030000
1840 0,0,0,0 /* tp_alloc -> tp_next */
1843 pyswigpacked_type
= tmp
;
1844 pyswigpacked_type
.ob_type
= &PyType_Type
;
1847 return &pyswigpacked_type
;
1850 SWIGRUNTIME PyObject
*
1851 PySwigPacked_New(void *ptr
, size_t size
, swig_type_info
*ty
)
1853 PySwigPacked
*sobj
= PyObject_NEW(PySwigPacked
, PySwigPacked_type());
1855 void *pack
= malloc(size
);
1857 memcpy(pack
, ptr
, size
);
1862 PyObject_DEL((PyObject
*) sobj
);
1866 return (PyObject
*) sobj
;
1869 SWIGRUNTIME swig_type_info
*
1870 PySwigPacked_UnpackData(PyObject
*obj
, void *ptr
, size_t size
)
1872 if (PySwigPacked_Check(obj
)) {
1873 PySwigPacked
*sobj
= (PySwigPacked
*)obj
;
1874 if (sobj
->size
!= size
) return 0;
1875 memcpy(ptr
, sobj
->pack
, size
);
1882 /* -----------------------------------------------------------------------------
1883 * pointers/data manipulation
1884 * ----------------------------------------------------------------------------- */
1886 SWIGRUNTIMEINLINE PyObject
*
1889 return PyString_FromString("this");
1892 SWIGRUNTIME PyObject
*
1895 static PyObject
*SWIG_STATIC_POINTER(swig_this
) = _SWIG_This();
1899 /* #define SWIG_PYTHON_SLOW_GETSET_THIS */
1901 SWIGRUNTIME PySwigObject
*
1902 SWIG_Python_GetSwigThis(PyObject
*pyobj
)
1904 if (PySwigObject_Check(pyobj
)) {
1905 return (PySwigObject
*) pyobj
;
1908 #if (!defined(SWIG_PYTHON_SLOW_GETSET_THIS) && (PY_VERSION_HEX >= 0x02030000))
1909 if (PyInstance_Check(pyobj
)) {
1910 obj
= _PyInstance_Lookup(pyobj
, SWIG_This());
1912 PyObject
**dictptr
= _PyObject_GetDictPtr(pyobj
);
1913 if (dictptr
!= NULL
) {
1914 PyObject
*dict
= *dictptr
;
1915 obj
= dict
? PyDict_GetItem(dict
, SWIG_This()) : 0;
1917 #ifdef PyWeakref_CheckProxy
1918 if (PyWeakref_CheckProxy(pyobj
)) {
1919 PyObject
*wobj
= PyWeakref_GET_OBJECT(pyobj
);
1920 return wobj
? SWIG_Python_GetSwigThis(wobj
) : 0;
1923 obj
= PyObject_GetAttr(pyobj
,SWIG_This());
1927 if (PyErr_Occurred()) PyErr_Clear();
1933 obj
= PyObject_GetAttr(pyobj
,SWIG_This());
1937 if (PyErr_Occurred()) PyErr_Clear();
1941 if (obj
&& !PySwigObject_Check(obj
)) {
1942 /* a PyObject is called 'this', try to get the 'real this'
1943 PySwigObject from it */
1944 return SWIG_Python_GetSwigThis(obj
);
1946 return (PySwigObject
*)obj
;
1950 /* Acquire a pointer value */
1953 SWIG_Python_AcquirePtr(PyObject
*obj
, int own
) {
1955 PySwigObject
*sobj
= SWIG_Python_GetSwigThis(obj
);
1957 int oldown
= sobj
->own
;
1965 /* Convert a pointer value */
1968 SWIG_Python_ConvertPtrAndOwn(PyObject
*obj
, void **ptr
, swig_type_info
*ty
, int flags
, int *own
) {
1969 if (!obj
) return SWIG_ERROR
;
1970 if (obj
== Py_None
) {
1974 PySwigObject
*sobj
= SWIG_Python_GetSwigThis(obj
);
1976 void *vptr
= sobj
->ptr
;
1978 swig_type_info
*to
= sobj
->ty
;
1980 /* no type cast needed */
1981 if (ptr
) *ptr
= vptr
;
1984 swig_cast_info
*tc
= SWIG_TypeCheck(to
->name
,ty
);
1986 sobj
= (PySwigObject
*)sobj
->next
;
1988 if (ptr
) *ptr
= SWIG_TypeCast(tc
,vptr
);
1993 if (ptr
) *ptr
= vptr
;
1998 if (own
) *own
= sobj
->own
;
1999 if (flags
& SWIG_POINTER_DISOWN
) {
2004 int res
= SWIG_ERROR
;
2005 if (flags
& SWIG_POINTER_IMPLICIT_CONV
) {
2006 PySwigClientData
*data
= ty
? (PySwigClientData
*) ty
->clientdata
: 0;
2007 if (data
&& !data
->implicitconv
) {
2008 PyObject
*klass
= data
->klass
;
2011 data
->implicitconv
= 1; /* avoid recursion and call 'explicit' constructors*/
2012 impconv
= SWIG_Python_CallFunctor(klass
, obj
);
2013 data
->implicitconv
= 0;
2014 if (PyErr_Occurred()) {
2019 PySwigObject
*iobj
= SWIG_Python_GetSwigThis(impconv
);
2022 res
= SWIG_Python_ConvertPtrAndOwn((PyObject
*)iobj
, &vptr
, ty
, 0, 0);
2023 if (SWIG_IsOK(res
)) {
2026 /* transfer the ownership to 'ptr' */
2028 res
= SWIG_AddCast(res
);
2029 res
= SWIG_AddNewMask(res
);
2031 res
= SWIG_AddCast(res
);
2045 /* Convert a function ptr value */
2048 SWIG_Python_ConvertFunctionPtr(PyObject
*obj
, void **ptr
, swig_type_info
*ty
) {
2049 if (!PyCFunction_Check(obj
)) {
2050 return SWIG_ConvertPtr(obj
, ptr
, ty
, 0);
2054 /* here we get the method pointer for callbacks */
2055 const char *doc
= (((PyCFunctionObject
*)obj
) -> m_ml
-> ml_doc
);
2056 const char *desc
= doc
? strstr(doc
, "swig_ptr: ") : 0;
2058 desc
= ty
? SWIG_UnpackVoidPtr(desc
+ 10, &vptr
, ty
->name
) : 0;
2059 if (!desc
) return SWIG_ERROR
;
2062 swig_cast_info
*tc
= SWIG_TypeCheck(desc
,ty
);
2063 if (!tc
) return SWIG_ERROR
;
2064 *ptr
= SWIG_TypeCast(tc
,vptr
);
2072 /* Convert a packed value value */
2075 SWIG_Python_ConvertPacked(PyObject
*obj
, void *ptr
, size_t sz
, swig_type_info
*ty
) {
2076 swig_type_info
*to
= PySwigPacked_UnpackData(obj
, ptr
, sz
);
2077 if (!to
) return SWIG_ERROR
;
2080 /* check type cast? */
2081 swig_cast_info
*tc
= SWIG_TypeCheck(to
->name
,ty
);
2082 if (!tc
) return SWIG_ERROR
;
2088 /* -----------------------------------------------------------------------------
2089 * Create a new pointer object
2090 * ----------------------------------------------------------------------------- */
2093 Create a new instance object, whitout calling __init__, and set the
2097 SWIGRUNTIME PyObject
*
2098 SWIG_Python_NewShadowInstance(PySwigClientData
*data
, PyObject
*swig_this
)
2100 #if (PY_VERSION_HEX >= 0x02020000)
2102 PyObject
*newraw
= data
->newraw
;
2104 inst
= PyObject_Call(newraw
, data
->newargs
, NULL
);
2106 #if !defined(SWIG_PYTHON_SLOW_GETSET_THIS)
2107 PyObject
**dictptr
= _PyObject_GetDictPtr(inst
);
2108 if (dictptr
!= NULL
) {
2109 PyObject
*dict
= *dictptr
;
2111 dict
= PyDict_New();
2113 PyDict_SetItem(dict
, SWIG_This(), swig_this
);
2117 PyObject
*key
= SWIG_This();
2118 PyObject_SetAttr(inst
, key
, swig_this
);
2122 PyObject
*dict
= PyDict_New();
2123 PyDict_SetItem(dict
, SWIG_This(), swig_this
);
2124 inst
= PyInstance_NewRaw(data
->newargs
, dict
);
2129 #if (PY_VERSION_HEX >= 0x02010000)
2131 PyObject
*dict
= PyDict_New();
2132 PyDict_SetItem(dict
, SWIG_This(), swig_this
);
2133 inst
= PyInstance_NewRaw(data
->newargs
, dict
);
2135 return (PyObject
*) inst
;
2137 PyInstanceObject
*inst
= PyObject_NEW(PyInstanceObject
, &PyInstance_Type
);
2141 inst
->in_class
= (PyClassObject
*)data
->newargs
;
2142 Py_INCREF(inst
->in_class
);
2143 inst
->in_dict
= PyDict_New();
2144 if (inst
->in_dict
== NULL
) {
2148 #ifdef Py_TPFLAGS_HAVE_WEAKREFS
2149 inst
->in_weakreflist
= NULL
;
2151 #ifdef Py_TPFLAGS_GC
2152 PyObject_GC_Init(inst
);
2154 PyDict_SetItem(inst
->in_dict
, SWIG_This(), swig_this
);
2155 return (PyObject
*) inst
;
2161 SWIG_Python_SetSwigThis(PyObject
*inst
, PyObject
*swig_this
)
2164 #if (PY_VERSION_HEX >= 0x02020000) && !defined(SWIG_PYTHON_SLOW_GETSET_THIS)
2165 PyObject
**dictptr
= _PyObject_GetDictPtr(inst
);
2166 if (dictptr
!= NULL
) {
2169 dict
= PyDict_New();
2172 PyDict_SetItem(dict
, SWIG_This(), swig_this
);
2176 dict
= PyObject_GetAttrString(inst
, "__dict__");
2177 PyDict_SetItem(dict
, SWIG_This(), swig_this
);
2182 SWIGINTERN PyObject
*
2183 SWIG_Python_InitShadowInstance(PyObject
*args
) {
2185 if (!SWIG_Python_UnpackTuple(args
,(char*)"swiginit", 2, 2, obj
)) {
2188 PySwigObject
*sthis
= SWIG_Python_GetSwigThis(obj
[0]);
2190 PySwigObject_append((PyObject
*) sthis
, obj
[1]);
2192 SWIG_Python_SetSwigThis(obj
[0], obj
[1]);
2194 return SWIG_Py_Void();
2198 /* Create a new pointer object */
2200 SWIGRUNTIME PyObject
*
2201 SWIG_Python_NewPointerObj(void *ptr
, swig_type_info
*type
, int flags
) {
2203 return SWIG_Py_Void();
2205 int own
= (flags
& SWIG_POINTER_OWN
) ? SWIG_POINTER_OWN
: 0;
2206 PyObject
*robj
= PySwigObject_New(ptr
, type
, own
);
2207 PySwigClientData
*clientdata
= type
? (PySwigClientData
*)(type
->clientdata
) : 0;
2208 if (clientdata
&& !(flags
& SWIG_POINTER_NOSHADOW
)) {
2209 PyObject
*inst
= SWIG_Python_NewShadowInstance(clientdata
, robj
);
2219 /* Create a new packed object */
2221 SWIGRUNTIMEINLINE PyObject
*
2222 SWIG_Python_NewPackedObj(void *ptr
, size_t sz
, swig_type_info
*type
) {
2223 return ptr
? PySwigPacked_New((void *) ptr
, sz
, type
) : SWIG_Py_Void();
2226 /* -----------------------------------------------------------------------------*
2228 * -----------------------------------------------------------------------------*/
2230 #ifdef SWIG_LINK_RUNTIME
2231 void *SWIG_ReturnGlobalTypeList(void *);
2234 SWIGRUNTIME swig_module_info
*
2235 SWIG_Python_GetModule(void) {
2236 static void *type_pointer
= (void *)0;
2237 /* first check if module already created */
2238 if (!type_pointer
) {
2239 #ifdef SWIG_LINK_RUNTIME
2240 type_pointer
= SWIG_ReturnGlobalTypeList((void *)0);
2242 type_pointer
= PyCObject_Import((char*)"swig_runtime_data" SWIG_RUNTIME_VERSION
,
2243 (char*)"type_pointer" SWIG_TYPE_TABLE_NAME
);
2244 if (PyErr_Occurred()) {
2246 type_pointer
= (void *)0;
2250 return (swig_module_info
*) type_pointer
;
2253 #if PY_MAJOR_VERSION < 2
2254 /* PyModule_AddObject function was introduced in Python 2.0. The following function
2255 is copied out of Python/modsupport.c in python version 2.3.4 */
2257 PyModule_AddObject(PyObject
*m
, char *name
, PyObject
*o
)
2260 if (!PyModule_Check(m
)) {
2261 PyErr_SetString(PyExc_TypeError
,
2262 "PyModule_AddObject() needs module as first arg");
2266 PyErr_SetString(PyExc_TypeError
,
2267 "PyModule_AddObject() needs non-NULL value");
2271 dict
= PyModule_GetDict(m
);
2273 /* Internal error -- modules must have a dict! */
2274 PyErr_Format(PyExc_SystemError
, "module '%s' has no __dict__",
2275 PyModule_GetName(m
));
2278 if (PyDict_SetItemString(dict
, name
, o
))
2286 SWIG_Python_DestroyModule(void *vptr
)
2288 swig_module_info
*swig_module
= (swig_module_info
*) vptr
;
2289 swig_type_info
**types
= swig_module
->types
;
2291 for (i
=0; i
< swig_module
->size
; ++i
) {
2292 swig_type_info
*ty
= types
[i
];
2294 PySwigClientData
*data
= (PySwigClientData
*) ty
->clientdata
;
2295 if (data
) PySwigClientData_Del(data
);
2298 Py_DECREF(SWIG_This());
2302 SWIG_Python_SetModule(swig_module_info
*swig_module
) {
2303 static PyMethodDef swig_empty_runtime_method_table
[] = { {NULL
, NULL
, 0, NULL
} };/* Sentinel */
2305 PyObject
*module = Py_InitModule((char*)"swig_runtime_data" SWIG_RUNTIME_VERSION
,
2306 swig_empty_runtime_method_table
);
2307 PyObject
*pointer
= PyCObject_FromVoidPtr((void *) swig_module
, SWIG_Python_DestroyModule
);
2308 if (pointer
&& module) {
2309 PyModule_AddObject(module, (char*)"type_pointer" SWIG_TYPE_TABLE_NAME
, pointer
);
2311 Py_XDECREF(pointer
);
2315 /* The python cached type query */
2316 SWIGRUNTIME PyObject
*
2317 SWIG_Python_TypeCache() {
2318 static PyObject
*SWIG_STATIC_POINTER(cache
) = PyDict_New();
2322 SWIGRUNTIME swig_type_info
*
2323 SWIG_Python_TypeQuery(const char *type
)
2325 PyObject
*cache
= SWIG_Python_TypeCache();
2326 PyObject
*key
= PyString_FromString(type
);
2327 PyObject
*obj
= PyDict_GetItem(cache
, key
);
2328 swig_type_info
*descriptor
;
2330 descriptor
= (swig_type_info
*) PyCObject_AsVoidPtr(obj
);
2332 swig_module_info
*swig_module
= SWIG_Python_GetModule();
2333 descriptor
= SWIG_TypeQueryModule(swig_module
, swig_module
, type
);
2335 obj
= PyCObject_FromVoidPtr(descriptor
, NULL
);
2336 PyDict_SetItem(cache
, key
, obj
);
2345 For backward compatibility only
2347 #define SWIG_POINTER_EXCEPTION 0
2348 #define SWIG_arg_fail(arg) SWIG_Python_ArgFail(arg)
2349 #define SWIG_MustGetPtr(p, type, argnum, flags) SWIG_Python_MustGetPtr(p, type, argnum, flags)
2352 SWIG_Python_AddErrMesg(const char* mesg
, int infront
)
2354 if (PyErr_Occurred()) {
2356 PyObject
*value
= 0;
2357 PyObject
*traceback
= 0;
2358 PyErr_Fetch(&type
, &value
, &traceback
);
2360 PyObject
*old_str
= PyObject_Str(value
);
2364 PyErr_Format(type
, "%s %s", mesg
, PyString_AsString(old_str
));
2366 PyErr_Format(type
, "%s %s", PyString_AsString(old_str
), mesg
);
2377 SWIG_Python_ArgFail(int argnum
)
2379 if (PyErr_Occurred()) {
2380 /* add information about failing argument */
2382 PyOS_snprintf(mesg
, sizeof(mesg
), "argument number %d:", argnum
);
2383 return SWIG_Python_AddErrMesg(mesg
, 1);
2389 SWIGRUNTIMEINLINE
const char *
2390 PySwigObject_GetDesc(PyObject
*self
)
2392 PySwigObject
*v
= (PySwigObject
*)self
;
2393 swig_type_info
*ty
= v
? v
->ty
: 0;
2394 return ty
? ty
->str
: (char*)"";
2398 SWIG_Python_TypeError(const char *type
, PyObject
*obj
)
2401 #if defined(SWIG_COBJECT_TYPES)
2402 if (obj
&& PySwigObject_Check(obj
)) {
2403 const char *otype
= (const char *) PySwigObject_GetDesc(obj
);
2405 PyErr_Format(PyExc_TypeError
, "a '%s' is expected, 'PySwigObject(%s)' is received",
2412 const char *otype
= (obj
? obj
->ob_type
->tp_name
: 0);
2414 PyObject
*str
= PyObject_Str(obj
);
2415 const char *cstr
= str
? PyString_AsString(str
) : 0;
2417 PyErr_Format(PyExc_TypeError
, "a '%s' is expected, '%s(%s)' is received",
2420 PyErr_Format(PyExc_TypeError
, "a '%s' is expected, '%s' is received",
2427 PyErr_Format(PyExc_TypeError
, "a '%s' is expected", type
);
2429 PyErr_Format(PyExc_TypeError
, "unexpected type is received");
2434 /* Convert a pointer value, signal an exception on a type mismatch */
2436 SWIG_Python_MustGetPtr(PyObject
*obj
, swig_type_info
*ty
, int argnum
, int flags
) {
2438 if (SWIG_Python_ConvertPtr(obj
, &result
, ty
, flags
) == -1) {
2440 if (flags
& SWIG_POINTER_EXCEPTION
) {
2441 SWIG_Python_TypeError(SWIG_TypePrettyName(ty
), obj
);
2442 SWIG_Python_ArgFail(argnum
);
2458 #define SWIG_exception_fail(code, msg) do { SWIG_Error(code, msg); SWIG_fail; } while(0)
2460 #define SWIG_contract_assert(expr, msg) if (!(expr)) { SWIG_Error(SWIG_RuntimeError, msg); SWIG_fail; } else
2464 /* -------- TYPES TABLE (BEGIN) -------- */
2466 #define SWIGTYPE_p_bool swig_types[0]
2467 #define SWIGTYPE_p_char swig_types[1]
2468 #define SWIGTYPE_p_form_ops_t swig_types[2]
2469 #define SWIGTYPE_p_int swig_types[3]
2470 #define SWIGTYPE_p_unsigned_char swig_types[4]
2471 #define SWIGTYPE_p_unsigned_int swig_types[5]
2472 #define SWIGTYPE_p_unsigned_long swig_types[6]
2473 #define SWIGTYPE_p_wxANIHandler swig_types[7]
2474 #define SWIGTYPE_p_wxAcceleratorTable swig_types[8]
2475 #define SWIGTYPE_p_wxActivateEvent swig_types[9]
2476 #define SWIGTYPE_p_wxArrayInt swig_types[10]
2477 #define SWIGTYPE_p_wxBMPHandler swig_types[11]
2478 #define SWIGTYPE_p_wxBitmap swig_types[12]
2479 #define SWIGTYPE_p_wxBoxSizer swig_types[13]
2480 #define SWIGTYPE_p_wxCURHandler swig_types[14]
2481 #define SWIGTYPE_p_wxCalculateLayoutEvent swig_types[15]
2482 #define SWIGTYPE_p_wxChildFocusEvent swig_types[16]
2483 #define SWIGTYPE_p_wxClipboardTextEvent swig_types[17]
2484 #define SWIGTYPE_p_wxCloseEvent swig_types[18]
2485 #define SWIGTYPE_p_wxColour swig_types[19]
2486 #define SWIGTYPE_p_wxColourData swig_types[20]
2487 #define SWIGTYPE_p_wxColourDialog swig_types[21]
2488 #define SWIGTYPE_p_wxCommandEvent swig_types[22]
2489 #define SWIGTYPE_p_wxContextMenuEvent swig_types[23]
2490 #define SWIGTYPE_p_wxControl swig_types[24]
2491 #define SWIGTYPE_p_wxControlWithItems swig_types[25]
2492 #define SWIGTYPE_p_wxDC swig_types[26]
2493 #define SWIGTYPE_p_wxDateEvent swig_types[27]
2494 #define SWIGTYPE_p_wxDialog swig_types[28]
2495 #define SWIGTYPE_p_wxDirDialog swig_types[29]
2496 #define SWIGTYPE_p_wxDisplayChangedEvent swig_types[30]
2497 #define SWIGTYPE_p_wxDropFilesEvent swig_types[31]
2498 #define SWIGTYPE_p_wxDuplexMode swig_types[32]
2499 #define SWIGTYPE_p_wxEraseEvent swig_types[33]
2500 #define SWIGTYPE_p_wxEvent swig_types[34]
2501 #define SWIGTYPE_p_wxEvtHandler swig_types[35]
2502 #define SWIGTYPE_p_wxFSFile swig_types[36]
2503 #define SWIGTYPE_p_wxFileDialog swig_types[37]
2504 #define SWIGTYPE_p_wxFileSystem swig_types[38]
2505 #define SWIGTYPE_p_wxFindDialogEvent swig_types[39]
2506 #define SWIGTYPE_p_wxFindReplaceData swig_types[40]
2507 #define SWIGTYPE_p_wxFindReplaceDialog swig_types[41]
2508 #define SWIGTYPE_p_wxFlexGridSizer swig_types[42]
2509 #define SWIGTYPE_p_wxFocusEvent swig_types[43]
2510 #define SWIGTYPE_p_wxFont swig_types[44]
2511 #define SWIGTYPE_p_wxFontData swig_types[45]
2512 #define SWIGTYPE_p_wxFontDialog swig_types[46]
2513 #define SWIGTYPE_p_wxFrame swig_types[47]
2514 #define SWIGTYPE_p_wxGBSizerItem swig_types[48]
2515 #define SWIGTYPE_p_wxGIFHandler swig_types[49]
2516 #define SWIGTYPE_p_wxGridBagSizer swig_types[50]
2517 #define SWIGTYPE_p_wxGridSizer swig_types[51]
2518 #define SWIGTYPE_p_wxHtmlLinkInfo swig_types[52]
2519 #define SWIGTYPE_p_wxICOHandler swig_types[53]
2520 #define SWIGTYPE_p_wxIcon swig_types[54]
2521 #define SWIGTYPE_p_wxIconBundle swig_types[55]
2522 #define SWIGTYPE_p_wxIconizeEvent swig_types[56]
2523 #define SWIGTYPE_p_wxIdleEvent swig_types[57]
2524 #define SWIGTYPE_p_wxImage swig_types[58]
2525 #define SWIGTYPE_p_wxImageHandler swig_types[59]
2526 #define SWIGTYPE_p_wxIndividualLayoutConstraint swig_types[60]
2527 #define SWIGTYPE_p_wxInitDialogEvent swig_types[61]
2528 #define SWIGTYPE_p_wxJPEGHandler swig_types[62]
2529 #define SWIGTYPE_p_wxKeyEvent swig_types[63]
2530 #define SWIGTYPE_p_wxLayoutAlgorithm swig_types[64]
2531 #define SWIGTYPE_p_wxLayoutConstraints swig_types[65]
2532 #define SWIGTYPE_p_wxMDIChildFrame swig_types[66]
2533 #define SWIGTYPE_p_wxMDIClientWindow swig_types[67]
2534 #define SWIGTYPE_p_wxMDIParentFrame swig_types[68]
2535 #define SWIGTYPE_p_wxMaximizeEvent swig_types[69]
2536 #define SWIGTYPE_p_wxMenu swig_types[70]
2537 #define SWIGTYPE_p_wxMenuBar swig_types[71]
2538 #define SWIGTYPE_p_wxMenuEvent swig_types[72]
2539 #define SWIGTYPE_p_wxMenuItem swig_types[73]
2540 #define SWIGTYPE_p_wxMessageDialog swig_types[74]
2541 #define SWIGTYPE_p_wxMiniFrame swig_types[75]
2542 #define SWIGTYPE_p_wxMouseCaptureChangedEvent swig_types[76]
2543 #define SWIGTYPE_p_wxMouseCaptureLostEvent swig_types[77]
2544 #define SWIGTYPE_p_wxMouseEvent swig_types[78]
2545 #define SWIGTYPE_p_wxMoveEvent swig_types[79]
2546 #define SWIGTYPE_p_wxMultiChoiceDialog swig_types[80]
2547 #define SWIGTYPE_p_wxNavigationKeyEvent swig_types[81]
2548 #define SWIGTYPE_p_wxNcPaintEvent swig_types[82]
2549 #define SWIGTYPE_p_wxNotifyEvent swig_types[83]
2550 #define SWIGTYPE_p_wxNumberEntryDialog swig_types[84]
2551 #define SWIGTYPE_p_wxObject swig_types[85]
2552 #define SWIGTYPE_p_wxPCXHandler swig_types[86]
2553 #define SWIGTYPE_p_wxPNGHandler swig_types[87]
2554 #define SWIGTYPE_p_wxPNMHandler swig_types[88]
2555 #define SWIGTYPE_p_wxPageSetupDialog swig_types[89]
2556 #define SWIGTYPE_p_wxPageSetupDialogData swig_types[90]
2557 #define SWIGTYPE_p_wxPaintEvent swig_types[91]
2558 #define SWIGTYPE_p_wxPaletteChangedEvent swig_types[92]
2559 #define SWIGTYPE_p_wxPanel swig_types[93]
2560 #define SWIGTYPE_p_wxPaperSize swig_types[94]
2561 #define SWIGTYPE_p_wxPasswordEntryDialog swig_types[95]
2562 #define SWIGTYPE_p_wxPoint swig_types[96]
2563 #define SWIGTYPE_p_wxPopupWindow swig_types[97]
2564 #define SWIGTYPE_p_wxPreviewCanvas swig_types[98]
2565 #define SWIGTYPE_p_wxPreviewControlBar swig_types[99]
2566 #define SWIGTYPE_p_wxPreviewFrame swig_types[100]
2567 #define SWIGTYPE_p_wxPrintData swig_types[101]
2568 #define SWIGTYPE_p_wxPrintDialog swig_types[102]
2569 #define SWIGTYPE_p_wxPrintDialogData swig_types[103]
2570 #define SWIGTYPE_p_wxPrintPreview swig_types[104]
2571 #define SWIGTYPE_p_wxPrinter swig_types[105]
2572 #define SWIGTYPE_p_wxProgressDialog swig_types[106]
2573 #define SWIGTYPE_p_wxPyApp swig_types[107]
2574 #define SWIGTYPE_p_wxPyCommandEvent swig_types[108]
2575 #define SWIGTYPE_p_wxPyEvent swig_types[109]
2576 #define SWIGTYPE_p_wxPyHtmlListBox swig_types[110]
2577 #define SWIGTYPE_p_wxPyImageHandler swig_types[111]
2578 #define SWIGTYPE_p_wxPyPanel swig_types[112]
2579 #define SWIGTYPE_p_wxPyPopupTransientWindow swig_types[113]
2580 #define SWIGTYPE_p_wxPyPreviewControlBar swig_types[114]
2581 #define SWIGTYPE_p_wxPyPreviewFrame swig_types[115]
2582 #define SWIGTYPE_p_wxPyPrintPreview swig_types[116]
2583 #define SWIGTYPE_p_wxPyPrintout swig_types[117]
2584 #define SWIGTYPE_p_wxPyScrolledWindow swig_types[118]
2585 #define SWIGTYPE_p_wxPySizer swig_types[119]
2586 #define SWIGTYPE_p_wxPyTaskBarIcon swig_types[120]
2587 #define SWIGTYPE_p_wxPyVListBox swig_types[121]
2588 #define SWIGTYPE_p_wxPyVScrolledWindow swig_types[122]
2589 #define SWIGTYPE_p_wxPyValidator swig_types[123]
2590 #define SWIGTYPE_p_wxPyWindow swig_types[124]
2591 #define SWIGTYPE_p_wxQueryLayoutInfoEvent swig_types[125]
2592 #define SWIGTYPE_p_wxQueryNewPaletteEvent swig_types[126]
2593 #define SWIGTYPE_p_wxRect swig_types[127]
2594 #define SWIGTYPE_p_wxRegion swig_types[128]
2595 #define SWIGTYPE_p_wxSashEvent swig_types[129]
2596 #define SWIGTYPE_p_wxSashLayoutWindow swig_types[130]
2597 #define SWIGTYPE_p_wxSashWindow swig_types[131]
2598 #define SWIGTYPE_p_wxScrollEvent swig_types[132]
2599 #define SWIGTYPE_p_wxScrollWinEvent swig_types[133]
2600 #define SWIGTYPE_p_wxScrolledWindow swig_types[134]
2601 #define SWIGTYPE_p_wxSetCursorEvent swig_types[135]
2602 #define SWIGTYPE_p_wxShowEvent swig_types[136]
2603 #define SWIGTYPE_p_wxSingleChoiceDialog swig_types[137]
2604 #define SWIGTYPE_p_wxSize swig_types[138]
2605 #define SWIGTYPE_p_wxSizeEvent swig_types[139]
2606 #define SWIGTYPE_p_wxSizer swig_types[140]
2607 #define SWIGTYPE_p_wxSizerItem swig_types[141]
2608 #define SWIGTYPE_p_wxSplashScreen swig_types[142]
2609 #define SWIGTYPE_p_wxSplashScreenWindow swig_types[143]
2610 #define SWIGTYPE_p_wxSplitterEvent swig_types[144]
2611 #define SWIGTYPE_p_wxSplitterWindow swig_types[145]
2612 #define SWIGTYPE_p_wxStaticBoxSizer swig_types[146]
2613 #define SWIGTYPE_p_wxStatusBar swig_types[147]
2614 #define SWIGTYPE_p_wxStdDialogButtonSizer swig_types[148]
2615 #define SWIGTYPE_p_wxString swig_types[149]
2616 #define SWIGTYPE_p_wxSysColourChangedEvent swig_types[150]
2617 #define SWIGTYPE_p_wxTIFFHandler swig_types[151]
2618 #define SWIGTYPE_p_wxTaskBarIcon swig_types[152]
2619 #define SWIGTYPE_p_wxTaskBarIconEvent swig_types[153]
2620 #define SWIGTYPE_p_wxTextEntryDialog swig_types[154]
2621 #define SWIGTYPE_p_wxTipWindow swig_types[155]
2622 #define SWIGTYPE_p_wxToolBar swig_types[156]
2623 #define SWIGTYPE_p_wxTopLevelWindow swig_types[157]
2624 #define SWIGTYPE_p_wxUpdateUIEvent swig_types[158]
2625 #define SWIGTYPE_p_wxValidator swig_types[159]
2626 #define SWIGTYPE_p_wxVisualAttributes swig_types[160]
2627 #define SWIGTYPE_p_wxWindow swig_types[161]
2628 #define SWIGTYPE_p_wxWindowCreateEvent swig_types[162]
2629 #define SWIGTYPE_p_wxWindowDestroyEvent swig_types[163]
2630 #define SWIGTYPE_p_wxXPMHandler swig_types[164]
2631 static swig_type_info
*swig_types
[166];
2632 static swig_module_info swig_module
= {swig_types
, 165, 0, 0, 0, 0};
2633 #define SWIG_TypeQuery(name) SWIG_TypeQueryModule(&swig_module, &swig_module, name)
2634 #define SWIG_MangledTypeQuery(name) SWIG_MangledTypeQueryModule(&swig_module, &swig_module, name)
2636 /* -------- TYPES TABLE (END) -------- */
2638 #if (PY_VERSION_HEX <= 0x02000000)
2639 # if !defined(SWIG_PYTHON_CLASSIC)
2640 # error "This python version requires to use swig with the '-classic' option"
2643 #if (PY_VERSION_HEX <= 0x02020000)
2644 # error "This python version requires to use swig with the '-nomodern' option"
2646 #if (PY_VERSION_HEX <= 0x02020000)
2647 # error "This python version requires to use swig with the '-nomodernargs' option"
2650 # error "This python version requires to use swig with the '-nofastunpack' option"
2653 /*-----------------------------------------------
2654 @(target):= _windows_.so
2655 ------------------------------------------------*/
2656 #define SWIG_init init_windows_
2658 #define SWIG_name "_windows_"
2660 #define SWIGVERSION 0x010329
2663 #define SWIG_as_voidptr(a) const_cast< void * >(static_cast< const void * >(a))
2664 #define SWIG_as_voidptrptr(a) ((void)SWIG_as_voidptr(*a),reinterpret_cast< void** >(a))
2667 #include <stdexcept>
2671 class PyObject_ptr
{
2676 PyObject_ptr() :_obj(0)
2680 PyObject_ptr(const PyObject_ptr
& item
) : _obj(item
._obj
)
2685 PyObject_ptr(PyObject
*obj
, bool initial_ref
= true) :_obj(obj
)
2687 if (initial_ref
) Py_XINCREF(_obj
);
2690 PyObject_ptr
& operator=(const PyObject_ptr
& item
)
2692 Py_XINCREF(item
._obj
);
2703 operator PyObject
*() const
2708 PyObject
*operator->() const
2717 struct PyObject_var
: PyObject_ptr
{
2718 PyObject_var(PyObject
* obj
= 0) : PyObject_ptr(obj
, false) { }
2720 PyObject_var
& operator = (PyObject
* obj
)
2730 #include "wx/wxPython/wxPython.h"
2731 #include "wx/wxPython/pyclasses.h"
2734 static const wxString
wxPyEmptyString(wxEmptyString
);
2735 static const wxString
wxPyPanelNameStr(wxPanelNameStr
);
2741 # define LLONG_MIN LONG_LONG_MIN
2744 # define LLONG_MAX LONG_LONG_MAX
2747 # define ULLONG_MAX ULONG_LONG_MAX
2752 SWIG_AsVal_long (PyObject
* obj
, long* val
)
2754 if (PyNumber_Check(obj
)) {
2755 if (val
) *val
= PyInt_AsLong(obj
);
2758 return SWIG_TypeError
;
2763 SWIG_AsVal_int (PyObject
* obj
, int *val
)
2766 int res
= SWIG_AsVal_long (obj
, &v
);
2767 if (SWIG_IsOK(res
)) {
2768 if ((v
< INT_MIN
|| v
> INT_MAX
)) {
2769 return SWIG_OverflowError
;
2771 if (val
) *val
= static_cast< int >(v
);
2779 SWIG_AsVal_bool (PyObject
*obj
, bool *val
)
2781 if (obj
== Py_True
) {
2782 if (val
) *val
= true;
2784 } else if (obj
== Py_False
) {
2785 if (val
) *val
= false;
2789 int res
= SWIG_AddCast(SWIG_AsVal_long (obj
, val
? &v
: 0));
2790 if (SWIG_IsOK(res
) && val
) *val
= v
? true : false;
2796 #define SWIG_From_long PyInt_FromLong
2799 SWIGINTERNINLINE PyObject
*
2800 SWIG_From_int (int value
)
2802 return SWIG_From_long (value
);
2807 SWIG_AsVal_double (PyObject
*obj
, double* val
)
2809 if (PyNumber_Check(obj
)) {
2810 if (val
) *val
= PyFloat_AsDouble(obj
);
2813 return SWIG_TypeError
;
2817 #define SWIG_From_double PyFloat_FromDouble
2819 static const wxString
wxPyFrameNameStr(wxFrameNameStr
);
2820 static const wxString
wxPyDialogNameStr(wxDialogNameStr
);
2821 static const wxString
wxPyStatusLineNameStr(wxStatusLineNameStr
);
2822 static const wxString
wxPyToolBarNameStr(wxToolBarNameStr
);
2823 SWIGINTERN
void wxTopLevelWindow_MacSetMetalAppearance(wxTopLevelWindow
*self
,bool on
){ /*wxPyRaiseNotImplemented();*/ }
2824 SWIGINTERN
bool wxTopLevelWindow_MacGetMetalAppearance(wxTopLevelWindow
const *self
){ /*wxPyRaiseNotImplemented();*/ return false; }
2825 SWIGINTERN
bool wxTopLevelWindow_EnableCloseButton(wxTopLevelWindow
*self
,bool enable
=true){ return false; }
2828 SWIGINTERN wxRect
wxStatusBar_GetFieldRect(wxStatusBar
*self
,int i
){
2830 self
->GetFieldRect(i
, r
);
2833 static const wxString
wxPySplitterNameStr(wxT("splitter"));
2834 static const wxString
wxPySashNameStr(wxT("sashWindow"));
2835 static const wxString
wxPySashLayoutNameStr(wxT("layoutWindow"));
2837 #include <wx/popupwin.h>
2840 class wxPyPopupTransientWindow
: public wxPopupTransientWindow
2843 wxPyPopupTransientWindow() : wxPopupTransientWindow() {}
2844 wxPyPopupTransientWindow(wxWindow
* parent
, int style
= wxBORDER_NONE
)
2845 : wxPopupTransientWindow(parent
, style
) {}
2847 DEC_PYCALLBACK_BOOL_ME(ProcessLeftDown
);
2848 DEC_PYCALLBACK__(OnDismiss
);
2849 DEC_PYCALLBACK_BOOL_(CanDismiss
);
2854 IMP_PYCALLBACK_BOOL_ME(wxPyPopupTransientWindow
, wxPopupTransientWindow
, ProcessLeftDown
);
2855 IMP_PYCALLBACK__(wxPyPopupTransientWindow
, wxPopupTransientWindow
, OnDismiss
);
2856 IMP_PYCALLBACK_BOOL_(wxPyPopupTransientWindow
, wxPopupTransientWindow
, CanDismiss
);
2859 #include <wx/tipwin.h>
2861 SWIGINTERN wxTipWindow
*new_wxTipWindow(wxWindow
*parent
,wxString
const &text
,int maxLength
=100,wxRect
*rectBound
=NULL
){
2862 return new wxTipWindow(parent
, text
, maxLength
, NULL
, rectBound
);
2865 #include <wx/tipwin.h>
2868 #include <wx/vscroll.h>
2871 class wxPyVScrolledWindow
: public wxVScrolledWindow
2873 DECLARE_ABSTRACT_CLASS(wxPyVScrolledWindow
)
2875 wxPyVScrolledWindow() : wxVScrolledWindow() {}
2877 wxPyVScrolledWindow(wxWindow
*parent
,
2878 wxWindowID id
= wxID_ANY
,
2879 const wxPoint
& pos
= wxDefaultPosition
,
2880 const wxSize
& size
= wxDefaultSize
,
2882 const wxString
& name
= wxPyPanelNameStr
)
2883 : wxVScrolledWindow(parent
, id
, pos
, size
, style
, name
)
2886 // Overridable virtuals
2888 // this function must be overridden in the derived class and it should
2889 // return the height of the given line in pixels
2890 DEC_PYCALLBACK_COORD_SIZET_constpure(OnGetLineHeight
);
2893 // this function doesn't have to be overridden but it may be useful to do
2894 // it if calculating the lines heights is a relatively expensive operation
2895 // as it gives the user code a possibility to calculate several of them at
2898 // OnGetLinesHint() is normally called just before OnGetLineHeight() but you
2899 // shouldn't rely on the latter being called for all lines in the interval
2900 // specified here. It is also possible that OnGetLineHeight() will be
2901 // called for the lines outside of this interval, so this is really just a
2902 // hint, not a promise.
2904 // finally note that lineMin is inclusive, while lineMax is exclusive, as
2906 DEC_PYCALLBACK_VOID_SIZETSIZET_const(OnGetLinesHint
);
2909 // when the number of lines changes, we try to estimate the total height
2910 // of all lines which is a rather expensive operation in terms of lines
2911 // access, so if the user code may estimate the average height
2912 // better/faster than we do, it should override this function to implement
2915 // this function should return the best guess for the total height it may
2917 DEC_PYCALLBACK_COORD_const(EstimateTotalHeight
);
2920 // Also expose some other interesting protected methods
2923 // find the index of the line we need to show at the top of the window such
2924 // that the last (fully or partially) visible line is the given one
2925 size_t FindFirstFromBottom(size_t lineLast
, bool fullyVisible
= false)
2926 { return wxVScrolledWindow::FindFirstFromBottom(lineLast
, fullyVisible
); }
2928 // get the total height of the lines between lineMin (inclusive) and
2929 // lineMax (exclusive)
2930 wxCoord
GetLinesHeight(size_t lineMin
, size_t lineMax
) const
2931 { return wxVScrolledWindow::GetLinesHeight(lineMin
, lineMax
); }
2933 // update the thumb size shown by the scrollbar
2934 void UpdateScrollbar() { wxVScrolledWindow::UpdateScrollbar(); }
2936 // remove the scrollbar completely because we don't need it
2937 void RemoveScrollbar() { wxVScrolledWindow::RemoveScrollbar(); }
2942 IMPLEMENT_ABSTRACT_CLASS(wxPyVScrolledWindow
, wxVScrolledWindow
);
2944 IMP_PYCALLBACK_COORD_SIZET_constpure(wxPyVScrolledWindow
, wxVScrolledWindow
, OnGetLineHeight
);
2945 IMP_PYCALLBACK_VOID_SIZETSIZET_const(wxPyVScrolledWindow
, wxVScrolledWindow
, OnGetLinesHint
);
2946 IMP_PYCALLBACK_COORD_const (wxPyVScrolledWindow
, wxVScrolledWindow
, EstimateTotalHeight
);
2950 SWIG_AsVal_unsigned_SS_long (PyObject
* obj
, unsigned long* val
)
2953 if (SWIG_AsVal_long(obj
, &v
) && v
< 0) {
2954 return SWIG_TypeError
;
2957 *val
= (unsigned long)v
;
2962 SWIGINTERNINLINE
int
2963 SWIG_AsVal_size_t (PyObject
* obj
, size_t *val
)
2966 int res
= SWIG_AsVal_unsigned_SS_long (obj
, val
? &v
: 0);
2967 if (SWIG_IsOK(res
) && val
) *val
= static_cast< size_t >(v
);
2972 SWIGINTERNINLINE PyObject
*
2973 SWIG_From_unsigned_SS_long (unsigned long value
)
2975 return (value
> LONG_MAX
) ?
2976 PyLong_FromUnsignedLong(value
) : PyInt_FromLong(static_cast< long >(value
));
2980 SWIGINTERNINLINE PyObject
*
2981 SWIG_From_size_t (size_t value
)
2983 return SWIG_From_unsigned_SS_long (static_cast< unsigned long >(value
));
2987 #include <wx/vlbox.h>
2989 static const wxString
wxPyVListBoxNameStr(wxVListBoxNameStr
);
2991 class wxPyVListBox
: public wxVListBox
2993 DECLARE_ABSTRACT_CLASS(wxPyVListBox
)
2995 wxPyVListBox() : wxVListBox() {}
2997 wxPyVListBox(wxWindow
*parent
,
2998 wxWindowID id
= wxID_ANY
,
2999 const wxPoint
& pos
= wxDefaultPosition
,
3000 const wxSize
& size
= wxDefaultSize
,
3002 const wxString
& name
= wxPyVListBoxNameStr
)
3003 : wxVListBox(parent
, id
, pos
, size
, style
, name
)
3006 // Overridable virtuals
3008 // the derived class must implement this function to actually draw the item
3009 // with the given index on the provided DC
3010 // virtual void OnDrawItem(wxDC& dc, const wxRect& rect, size_t n) const = 0;
3011 DEC_PYCALLBACK__DCRECTSIZET_constpure(OnDrawItem
);
3014 // the derived class must implement this method to return the height of the
3016 // virtual wxCoord OnMeasureItem(size_t n) const = 0;
3017 DEC_PYCALLBACK_COORD_SIZET_constpure(OnMeasureItem
);
3020 // this method may be used to draw separators between the lines; note that
3021 // the rectangle may be modified, typically to deflate it a bit before
3022 // passing to OnDrawItem()
3024 // the base class version doesn't do anything
3025 // virtual void OnDrawSeparator(wxDC& dc, wxRect& rect, size_t n) const;
3026 DEC_PYCALLBACK__DCRECTSIZET2_const(OnDrawSeparator
);
3029 // this method is used to draw the items background and, maybe, a border
3032 // the base class version implements a reasonable default behaviour which
3033 // consists in drawing the selected item with the standard background
3034 // colour and drawing a border around the item if it is either selected or
3036 // virtual void OnDrawBackground(wxDC& dc, const wxRect& rect, size_t n) const;
3037 DEC_PYCALLBACK__DCRECTSIZET_const(OnDrawBackground
);
3043 IMPLEMENT_ABSTRACT_CLASS(wxPyVListBox
, wxVListBox
);
3045 IMP_PYCALLBACK__DCRECTSIZET_constpure(wxPyVListBox
, wxVListBox
, OnDrawItem
);
3046 IMP_PYCALLBACK_COORD_SIZET_constpure (wxPyVListBox
, wxVListBox
, OnMeasureItem
);
3047 IMP_PYCALLBACK__DCRECTSIZET2_const (wxPyVListBox
, wxVListBox
, OnDrawSeparator
);
3048 IMP_PYCALLBACK__DCRECTSIZET_const (wxPyVListBox
, wxVListBox
, OnDrawBackground
);
3051 SWIGINTERN PyObject
*wxPyVListBox_GetFirstSelected(wxPyVListBox
*self
){
3052 unsigned long cookie
= 0;
3053 int selected
= self
->GetFirstSelected(cookie
);
3054 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3055 PyObject
* tup
= PyTuple_New(2);
3056 PyTuple_SET_ITEM(tup
, 0, PyInt_FromLong(selected
));
3057 PyTuple_SET_ITEM(tup
, 1, PyInt_FromLong(cookie
));
3058 wxPyEndBlockThreads(blocked
);
3061 SWIGINTERN PyObject
*wxPyVListBox_GetNextSelected(wxPyVListBox
*self
,unsigned long cookie
){
3062 int selected
= self
->GetNextSelected(cookie
);
3063 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3064 PyObject
* tup
= PyTuple_New(2);
3065 PyTuple_SET_ITEM(tup
, 0, PyInt_FromLong(selected
));
3066 PyTuple_SET_ITEM(tup
, 1, PyInt_FromLong(cookie
));
3067 wxPyEndBlockThreads(blocked
);
3071 #include <wx/htmllbox.h>
3074 class wxPyHtmlListBox
: public wxHtmlListBox
3076 DECLARE_ABSTRACT_CLASS(wxPyHtmlListBox
)
3078 wxPyHtmlListBox() : wxHtmlListBox() {}
3080 wxPyHtmlListBox(wxWindow
*parent
,
3081 wxWindowID id
= wxID_ANY
,
3082 const wxPoint
& pos
= wxDefaultPosition
,
3083 const wxSize
& size
= wxDefaultSize
,
3085 const wxString
& name
= wxPyVListBoxNameStr
)
3086 : wxHtmlListBox(parent
, id
, pos
, size
, style
, name
)
3089 // Overridable virtuals
3091 // this method must be implemented in the derived class and should return
3092 // the body (i.e. without <html>) of the HTML for the given item
3093 DEC_PYCALLBACK_STRING_SIZET_pure(OnGetItem
);
3095 // this function may be overridden to decorate HTML returned by OnGetItem()
3096 DEC_PYCALLBACK_STRING_SIZET(OnGetItemMarkup
);
3098 // These are from wxVListBox
3099 DEC_PYCALLBACK__DCRECTSIZET2_const(OnDrawSeparator
);
3100 DEC_PYCALLBACK__DCRECTSIZET_const(OnDrawBackground
);
3103 // // this method allows to customize the selection appearance: it may be used
3104 // // to specify the colour of the text which normally has the given colour
3105 // // colFg when it is inside the selection
3107 // // by default, the original colour is not used at all and all text has the
3108 // // same (default for this system) colour inside selection
3109 // virtual wxColour GetSelectedTextColour(const wxColour& colFg) const;
3111 // // this is the same as GetSelectedTextColour() but allows to customize the
3112 // // background colour -- this is even more rarely used as you can change it
3113 // // globally using SetSelectionBackground()
3114 // virtual wxColour GetSelectedTextBgColour(const wxColour& colBg) const;
3117 // This method may be overriden to handle clicking on a link in
3118 // the listbox. By default, clicking links is ignored.
3119 virtual void OnLinkClicked(size_t n
,
3120 const wxHtmlLinkInfo
& link
);
3126 IMPLEMENT_ABSTRACT_CLASS(wxPyHtmlListBox
, wxHtmlListBox
)
3128 IMP_PYCALLBACK_STRING_SIZET_pure(wxPyHtmlListBox
, wxHtmlListBox
, OnGetItem
);
3129 IMP_PYCALLBACK_STRING_SIZET (wxPyHtmlListBox
, wxHtmlListBox
, OnGetItemMarkup
);
3130 IMP_PYCALLBACK__DCRECTSIZET2_const (wxPyHtmlListBox
, wxHtmlListBox
, OnDrawSeparator
);
3131 IMP_PYCALLBACK__DCRECTSIZET_const (wxPyHtmlListBox
, wxHtmlListBox
, OnDrawBackground
);
3134 void wxPyHtmlListBox::OnLinkClicked(size_t n
,
3135 const wxHtmlLinkInfo
& link
) {
3137 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3138 if ((found
= wxPyCBH_findCallback(m_myInst
, "OnLinkClicked"))) {
3139 PyObject
* obj
= wxPyConstructObject((void*)&link
, wxT("wxHtmlLinkInfo"), 0);
3140 wxPyCBH_callCallback(m_myInst
, Py_BuildValue("(iO)", n
, obj
));
3143 wxPyEndBlockThreads(blocked
);
3145 wxPyHtmlListBox::OnLinkClicked(n
, link
);
3152 #ifndef wxHAS_TASK_BAR_ICON
3153 // implement dummy classes for platforms that don't have it
3155 class wxTaskBarIcon
: public wxEvtHandler
3158 wxTaskBarIcon() { wxPyRaiseNotImplemented(); }
3162 class wxTaskBarIconEvent
: public wxEvent
3165 wxTaskBarIconEvent(wxEventType
, wxTaskBarIcon
*)
3166 { wxPyRaiseNotImplemented(); }
3167 virtual wxEvent
* Clone() const { return NULL
; }
3168 bool IsOk() const { return false; }
3169 bool IsIconInstalled() const { return false; }
3170 bool SetIcon(const wxIcon
& icon
, const wxString
& tooltip
= wxPyEmptyString
) { return false; }
3171 bool RemoveIcon() { return false; }
3172 bool PopupMenu(wxMenu
*menu
) { return false; }
3176 wxEVT_TASKBAR_MOVE
= 0,
3177 wxEVT_TASKBAR_LEFT_DOWN
= 0,
3178 wxEVT_TASKBAR_LEFT_UP
= 0,
3179 wxEVT_TASKBAR_RIGHT_DOWN
= 0,
3180 wxEVT_TASKBAR_RIGHT_UP
= 0,
3181 wxEVT_TASKBAR_LEFT_DCLICK
= 0,
3182 wxEVT_TASKBAR_RIGHT_DCLICK
= 0,
3187 // Otherwise make a class that can virtualize CreatePopupMenu
3188 class wxPyTaskBarIcon
: public wxTaskBarIcon
3190 DECLARE_ABSTRACT_CLASS(wxPyTaskBarIcon
)
3192 wxPyTaskBarIcon() : wxTaskBarIcon()
3195 wxMenu
* CreatePopupMenu() {
3196 wxMenu
*rval
= NULL
;
3198 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3199 if ((found
= wxPyCBH_findCallback(m_myInst
, "CreatePopupMenu"))) {
3202 ro
= wxPyCBH_callCallbackObj(m_myInst
, Py_BuildValue("()"));
3204 if (wxPyConvertSwigPtr(ro
, (void **)&ptr
, wxT("wxMenu")))
3209 wxPyEndBlockThreads(blocked
);
3211 rval
= wxTaskBarIcon::CreatePopupMenu();
3218 IMPLEMENT_ABSTRACT_CLASS(wxPyTaskBarIcon
, wxTaskBarIcon
);
3222 SWIGINTERN
void wxPyTaskBarIcon_Destroy(wxPyTaskBarIcon
*self
){
3226 static const wxString
wxPyFileSelectorPromptStr(wxFileSelectorPromptStr
);
3227 static const wxString
wxPyDirSelectorPromptStr(wxDirSelectorPromptStr
);
3228 static const wxString
wxPyDirDialogNameStr(wxDirDialogNameStr
);
3229 static const wxString
wxPyFileSelectorDefaultWildcardStr(wxFileSelectorDefaultWildcardStr
);
3230 static const wxString
wxPyGetTextFromUserPromptStr(wxGetTextFromUserPromptStr
);
3231 static const wxString
wxPyMessageBoxCaptionStr(wxMessageBoxCaptionStr
);
3233 // for compatibility only
3234 #define wxHIDE_READONLY 0
3236 SWIGINTERN PyObject
*wxFileDialog_GetFilenames(wxFileDialog
*self
){
3238 self
->GetFilenames(arr
);
3239 return wxArrayString2PyList_helper(arr
);
3241 SWIGINTERN PyObject
*wxFileDialog_GetPaths(wxFileDialog
*self
){
3243 self
->GetPaths(arr
);
3244 return wxArrayString2PyList_helper(arr
);
3246 SWIGINTERN PyObject
*wxMultiChoiceDialog_GetSelections(wxMultiChoiceDialog
*self
){
3247 return wxArrayInt2PyList_helper(self
->GetSelections());
3249 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
){
3250 return new wxSingleChoiceDialog(parent
, message
, caption
,
3251 choices
, choices_array
, NULL
, style
, pos
);
3253 static const wxString
wxPyGetPasswordFromUserPromptStr(wxGetPasswordFromUserPromptStr
);
3255 SWIGINTERNINLINE PyObject
*
3256 SWIG_From_bool (bool value
)
3258 return PyBool_FromLong(value
? 1 : 0);
3264 // C++ version of Python aware wxWindow
3265 class wxPyWindow
: public wxWindow
3267 DECLARE_DYNAMIC_CLASS(wxPyWindow
)
3269 wxPyWindow() : wxWindow() {}
3270 wxPyWindow(wxWindow
* parent
, const wxWindowID id
,
3271 const wxPoint
& pos
= wxDefaultPosition
,
3272 const wxSize
& size
= wxDefaultSize
,
3274 const wxString
& name
= wxPyPanelNameStr
)
3275 : wxWindow(parent
, id
, pos
, size
, style
, name
) {}
3277 void SetBestSize(const wxSize
& size
) { wxWindow::SetBestSize(size
); }
3279 bool DoEraseBackground(wxDC
* dc
) {
3281 return wxWindow::DoEraseBackground(dc
->GetHDC());
3283 dc
->SetBackground(wxBrush(GetBackgroundColour()));
3289 DEC_PYCALLBACK_VOID_INT4(DoMoveWindow
);
3290 DEC_PYCALLBACK_VOID_INT5(DoSetSize
);
3291 DEC_PYCALLBACK_VOID_INTINT(DoSetClientSize
);
3292 DEC_PYCALLBACK_VOID_INTINT(DoSetVirtualSize
);
3294 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetSize
);
3295 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetClientSize
);
3296 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetPosition
);
3298 DEC_PYCALLBACK_SIZE_const(DoGetVirtualSize
);
3299 DEC_PYCALLBACK_SIZE_const(DoGetBestSize
);
3301 DEC_PYCALLBACK__(InitDialog
);
3302 DEC_PYCALLBACK_BOOL_(TransferDataFromWindow
);
3303 DEC_PYCALLBACK_BOOL_(TransferDataToWindow
);
3304 DEC_PYCALLBACK_BOOL_(Validate
);
3306 DEC_PYCALLBACK_BOOL_const(AcceptsFocus
);
3307 DEC_PYCALLBACK_BOOL_const(AcceptsFocusFromKeyboard
);
3308 DEC_PYCALLBACK_SIZE_const(GetMaxSize
);
3310 DEC_PYCALLBACK_VOID_WXWINBASE(AddChild
);
3311 DEC_PYCALLBACK_VOID_WXWINBASE(RemoveChild
);
3313 DEC_PYCALLBACK_BOOL_const(ShouldInheritColours
);
3314 DEC_PYCALLBACK_VIZATTR_(GetDefaultAttributes
);
3316 DEC_PYCALLBACK_BOOL_(HasTransparentBackground
);
3318 DEC_PYCALLBACK_VOID_(OnInternalIdle
);
3323 IMPLEMENT_DYNAMIC_CLASS(wxPyWindow
, wxWindow
);
3325 IMP_PYCALLBACK_VOID_INT4(wxPyWindow
, wxWindow
, DoMoveWindow
);
3326 IMP_PYCALLBACK_VOID_INT5(wxPyWindow
, wxWindow
, DoSetSize
);
3327 IMP_PYCALLBACK_VOID_INTINT(wxPyWindow
, wxWindow
, DoSetClientSize
);
3328 IMP_PYCALLBACK_VOID_INTINT(wxPyWindow
, wxWindow
, DoSetVirtualSize
);
3330 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyWindow
, wxWindow
, DoGetSize
);
3331 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyWindow
, wxWindow
, DoGetClientSize
);
3332 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyWindow
, wxWindow
, DoGetPosition
);
3334 IMP_PYCALLBACK_SIZE_const(wxPyWindow
, wxWindow
, DoGetVirtualSize
);
3335 IMP_PYCALLBACK_SIZE_const(wxPyWindow
, wxWindow
, DoGetBestSize
);
3337 IMP_PYCALLBACK__(wxPyWindow
, wxWindow
, InitDialog
);
3338 IMP_PYCALLBACK_BOOL_(wxPyWindow
, wxWindow
, TransferDataFromWindow
);
3339 IMP_PYCALLBACK_BOOL_(wxPyWindow
, wxWindow
, TransferDataToWindow
);
3340 IMP_PYCALLBACK_BOOL_(wxPyWindow
, wxWindow
, Validate
);
3342 IMP_PYCALLBACK_BOOL_const(wxPyWindow
, wxWindow
, AcceptsFocus
);
3343 IMP_PYCALLBACK_BOOL_const(wxPyWindow
, wxWindow
, AcceptsFocusFromKeyboard
);
3344 IMP_PYCALLBACK_SIZE_const(wxPyWindow
, wxWindow
, GetMaxSize
);
3346 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyWindow
, wxWindow
, AddChild
);
3347 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyWindow
, wxWindow
, RemoveChild
);
3349 IMP_PYCALLBACK_BOOL_const(wxPyWindow
, wxWindow
, ShouldInheritColours
);
3350 IMP_PYCALLBACK_VIZATTR_(wxPyWindow
, wxWindow
, GetDefaultAttributes
);
3352 IMP_PYCALLBACK_BOOL_(wxPyWindow
, wxWindow
, HasTransparentBackground
);
3354 IMP_PYCALLBACK_VOID_(wxPyWindow
, wxWindow
, OnInternalIdle
);
3356 // C++ version of Python aware wxPanel
3357 class wxPyPanel
: public wxPanel
3359 DECLARE_DYNAMIC_CLASS(wxPyPanel
)
3361 wxPyPanel() : wxPanel() {}
3362 wxPyPanel(wxWindow
* parent
, const wxWindowID id
,
3363 const wxPoint
& pos
= wxDefaultPosition
,
3364 const wxSize
& size
= wxDefaultSize
,
3366 const wxString
& name
= wxPyPanelNameStr
)
3367 : wxPanel(parent
, id
, pos
, size
, style
, name
) {}
3369 void SetBestSize(const wxSize
& size
) { wxPanel::SetBestSize(size
); }
3370 bool DoEraseBackground(wxDC
* dc
) {
3372 return wxWindow::DoEraseBackground(dc
->GetHDC());
3374 dc
->SetBackground(wxBrush(GetBackgroundColour()));
3381 DEC_PYCALLBACK_VOID_INT4(DoMoveWindow
);
3382 DEC_PYCALLBACK_VOID_INT5(DoSetSize
);
3383 DEC_PYCALLBACK_VOID_INTINT(DoSetClientSize
);
3384 DEC_PYCALLBACK_VOID_INTINT(DoSetVirtualSize
);
3386 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetSize
);
3387 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetClientSize
);
3388 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetPosition
);
3390 DEC_PYCALLBACK_SIZE_const(DoGetVirtualSize
);
3391 DEC_PYCALLBACK_SIZE_const(DoGetBestSize
);
3393 DEC_PYCALLBACK__(InitDialog
);
3394 DEC_PYCALLBACK_BOOL_(TransferDataFromWindow
);
3395 DEC_PYCALLBACK_BOOL_(TransferDataToWindow
);
3396 DEC_PYCALLBACK_BOOL_(Validate
);
3398 DEC_PYCALLBACK_BOOL_const(AcceptsFocus
);
3399 DEC_PYCALLBACK_BOOL_const(AcceptsFocusFromKeyboard
);
3400 DEC_PYCALLBACK_SIZE_const(GetMaxSize
);
3402 DEC_PYCALLBACK_VOID_WXWINBASE(AddChild
);
3403 DEC_PYCALLBACK_VOID_WXWINBASE(RemoveChild
);
3405 DEC_PYCALLBACK_BOOL_const(ShouldInheritColours
);
3406 DEC_PYCALLBACK_VIZATTR_(GetDefaultAttributes
);
3408 DEC_PYCALLBACK_BOOL_(HasTransparentBackground
);
3410 DEC_PYCALLBACK_VOID_(OnInternalIdle
);
3415 IMPLEMENT_DYNAMIC_CLASS(wxPyPanel
, wxPanel
);
3417 IMP_PYCALLBACK_VOID_INT4(wxPyPanel
, wxPanel
, DoMoveWindow
);
3418 IMP_PYCALLBACK_VOID_INT5(wxPyPanel
, wxPanel
, DoSetSize
);
3419 IMP_PYCALLBACK_VOID_INTINT(wxPyPanel
, wxPanel
, DoSetClientSize
);
3420 IMP_PYCALLBACK_VOID_INTINT(wxPyPanel
, wxPanel
, DoSetVirtualSize
);
3422 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyPanel
, wxPanel
, DoGetSize
);
3423 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyPanel
, wxPanel
, DoGetClientSize
);
3424 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyPanel
, wxPanel
, DoGetPosition
);
3426 IMP_PYCALLBACK_SIZE_const(wxPyPanel
, wxPanel
, DoGetVirtualSize
);
3427 IMP_PYCALLBACK_SIZE_const(wxPyPanel
, wxPanel
, DoGetBestSize
);
3429 IMP_PYCALLBACK__(wxPyPanel
, wxPanel
, InitDialog
);
3430 IMP_PYCALLBACK_BOOL_(wxPyPanel
, wxPanel
, TransferDataFromWindow
);
3431 IMP_PYCALLBACK_BOOL_(wxPyPanel
, wxPanel
, TransferDataToWindow
);
3432 IMP_PYCALLBACK_BOOL_(wxPyPanel
, wxPanel
, Validate
);
3434 IMP_PYCALLBACK_BOOL_const(wxPyPanel
, wxPanel
, AcceptsFocus
);
3435 IMP_PYCALLBACK_BOOL_const(wxPyPanel
, wxPanel
, AcceptsFocusFromKeyboard
);
3436 IMP_PYCALLBACK_SIZE_const(wxPyPanel
, wxPanel
, GetMaxSize
);
3438 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyPanel
, wxPanel
, AddChild
);
3439 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyPanel
, wxPanel
, RemoveChild
);
3441 IMP_PYCALLBACK_BOOL_const(wxPyPanel
, wxPanel
, ShouldInheritColours
);
3442 IMP_PYCALLBACK_VIZATTR_(wxPyPanel
, wxPanel
, GetDefaultAttributes
);
3444 IMP_PYCALLBACK_BOOL_(wxPyPanel
, wxPanel
, HasTransparentBackground
);
3446 IMP_PYCALLBACK_VOID_(wxPyPanel
, wxPanel
, OnInternalIdle
);
3448 // C++ version of Python aware wxScrolledWindow
3449 class wxPyScrolledWindow
: public wxScrolledWindow
3451 DECLARE_DYNAMIC_CLASS(wxPyScrolledWindow
)
3453 wxPyScrolledWindow() : wxScrolledWindow() {}
3454 wxPyScrolledWindow(wxWindow
* parent
, const wxWindowID id
,
3455 const wxPoint
& pos
= wxDefaultPosition
,
3456 const wxSize
& size
= wxDefaultSize
,
3458 const wxString
& name
= wxPyPanelNameStr
)
3459 : wxScrolledWindow(parent
, id
, pos
, size
, style
, name
) {}
3461 void SetBestSize(const wxSize
& size
) { wxScrolledWindow::SetBestSize(size
); }
3462 bool DoEraseBackground(wxDC
* dc
) {
3464 return wxWindow::DoEraseBackground(dc
->GetHDC());
3466 dc
->SetBackground(wxBrush(GetBackgroundColour()));
3472 DEC_PYCALLBACK_VOID_INT4(DoMoveWindow
);
3473 DEC_PYCALLBACK_VOID_INT5(DoSetSize
);
3474 DEC_PYCALLBACK_VOID_INTINT(DoSetClientSize
);
3475 DEC_PYCALLBACK_VOID_INTINT(DoSetVirtualSize
);
3477 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetSize
);
3478 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetClientSize
);
3479 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetPosition
);
3481 DEC_PYCALLBACK_SIZE_const(DoGetVirtualSize
);
3482 DEC_PYCALLBACK_SIZE_const(DoGetBestSize
);
3484 DEC_PYCALLBACK__(InitDialog
);
3485 DEC_PYCALLBACK_BOOL_(TransferDataFromWindow
);
3486 DEC_PYCALLBACK_BOOL_(TransferDataToWindow
);
3487 DEC_PYCALLBACK_BOOL_(Validate
);
3489 DEC_PYCALLBACK_BOOL_const(AcceptsFocus
);
3490 DEC_PYCALLBACK_BOOL_const(AcceptsFocusFromKeyboard
);
3491 DEC_PYCALLBACK_SIZE_const(GetMaxSize
);
3493 DEC_PYCALLBACK_VOID_WXWINBASE(AddChild
);
3494 DEC_PYCALLBACK_VOID_WXWINBASE(RemoveChild
);
3496 DEC_PYCALLBACK_BOOL_const(ShouldInheritColours
);
3497 DEC_PYCALLBACK_VIZATTR_(GetDefaultAttributes
);
3499 DEC_PYCALLBACK_BOOL_(HasTransparentBackground
);
3501 DEC_PYCALLBACK_VOID_(OnInternalIdle
);
3506 IMPLEMENT_DYNAMIC_CLASS(wxPyScrolledWindow
, wxScrolledWindow
);
3508 IMP_PYCALLBACK_VOID_INT4(wxPyScrolledWindow
, wxScrolledWindow
, DoMoveWindow
);
3509 IMP_PYCALLBACK_VOID_INT5(wxPyScrolledWindow
, wxScrolledWindow
, DoSetSize
);
3510 IMP_PYCALLBACK_VOID_INTINT(wxPyScrolledWindow
, wxScrolledWindow
, DoSetClientSize
);
3511 IMP_PYCALLBACK_VOID_INTINT(wxPyScrolledWindow
, wxScrolledWindow
, DoSetVirtualSize
);
3513 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyScrolledWindow
, wxScrolledWindow
, DoGetSize
);
3514 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyScrolledWindow
, wxScrolledWindow
, DoGetClientSize
);
3515 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyScrolledWindow
, wxScrolledWindow
, DoGetPosition
);
3517 IMP_PYCALLBACK_SIZE_const(wxPyScrolledWindow
, wxScrolledWindow
, DoGetVirtualSize
);
3518 IMP_PYCALLBACK_SIZE_const(wxPyScrolledWindow
, wxScrolledWindow
, DoGetBestSize
);
3520 IMP_PYCALLBACK__(wxPyScrolledWindow
, wxScrolledWindow
, InitDialog
);
3521 IMP_PYCALLBACK_BOOL_(wxPyScrolledWindow
, wxScrolledWindow
, TransferDataFromWindow
);
3522 IMP_PYCALLBACK_BOOL_(wxPyScrolledWindow
, wxScrolledWindow
, TransferDataToWindow
);
3523 IMP_PYCALLBACK_BOOL_(wxPyScrolledWindow
, wxScrolledWindow
, Validate
);
3525 IMP_PYCALLBACK_BOOL_const(wxPyScrolledWindow
, wxScrolledWindow
, AcceptsFocus
);
3526 IMP_PYCALLBACK_BOOL_const(wxPyScrolledWindow
, wxScrolledWindow
, AcceptsFocusFromKeyboard
);
3527 IMP_PYCALLBACK_SIZE_const(wxPyScrolledWindow
, wxScrolledWindow
, GetMaxSize
);
3529 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyScrolledWindow
, wxScrolledWindow
, AddChild
);
3530 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyScrolledWindow
, wxScrolledWindow
, RemoveChild
);
3532 IMP_PYCALLBACK_BOOL_const(wxPyScrolledWindow
, wxScrolledWindow
, ShouldInheritColours
);
3533 IMP_PYCALLBACK_VIZATTR_(wxPyScrolledWindow
, wxScrolledWindow
, GetDefaultAttributes
);
3535 IMP_PYCALLBACK_BOOL_(wxPyScrolledWindow
, wxScrolledWindow
, HasTransparentBackground
);
3537 IMP_PYCALLBACK_VOID_(wxPyScrolledWindow
, wxScrolledWindow
, OnInternalIdle
);
3540 #include "wx/wxPython/printfw.h"
3543 static const wxString
wxPyPrintoutTitleStr(wxT("Printout"));
3544 static const wxString
wxPyPreviewCanvasNameStr(wxT("previewcanvas"));
3545 SWIGINTERN PyObject
*wxPrintData_GetPrivData(wxPrintData
*self
){
3547 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3548 data
= PyString_FromStringAndSize(self
->GetPrivData(),
3549 self
->GetPrivDataLen());
3550 wxPyEndBlockThreads(blocked
);
3553 SWIGINTERN
void wxPrintData_SetPrivData(wxPrintData
*self
,PyObject
*data
){
3554 if (! PyString_Check(data
)) {
3555 wxPyBLOCK_THREADS(PyErr_SetString(PyExc_TypeError
,
3556 "Expected string object"));
3560 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3561 self
->SetPrivData(PyString_AS_STRING(data
), PyString_GET_SIZE(data
));
3562 wxPyEndBlockThreads(blocked
);
3566 IMPLEMENT_ABSTRACT_CLASS(wxPyPrintout
, wxPrintout
);
3568 // Since this one would be tough and ugly to do with the Macros...
3569 void wxPyPrintout::GetPageInfo(int *minPage
, int *maxPage
, int *pageFrom
, int *pageTo
) {
3570 bool hadErr
= false;
3573 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3574 if ((found
= wxPyCBH_findCallback(m_myInst
, "GetPageInfo"))) {
3575 PyObject
* result
= wxPyCBH_callCallbackObj(m_myInst
, Py_BuildValue("()"));
3576 if (result
&& PyTuple_Check(result
) && PyTuple_Size(result
) == 4) {
3579 val
= PyTuple_GetItem(result
, 0);
3580 if (PyInt_Check(val
)) *minPage
= PyInt_AsLong(val
);
3583 val
= PyTuple_GetItem(result
, 1);
3584 if (PyInt_Check(val
)) *maxPage
= PyInt_AsLong(val
);
3587 val
= PyTuple_GetItem(result
, 2);
3588 if (PyInt_Check(val
)) *pageFrom
= PyInt_AsLong(val
);
3591 val
= PyTuple_GetItem(result
, 3);
3592 if (PyInt_Check(val
)) *pageTo
= PyInt_AsLong(val
);
3599 PyErr_SetString(PyExc_TypeError
, "GetPageInfo should return a tuple of 4 integers.");
3604 wxPyEndBlockThreads(blocked
);
3606 wxPrintout::GetPageInfo(minPage
, maxPage
, pageFrom
, pageTo
);
3611 IMP_PYCALLBACK_BOOL_INTINT(wxPyPrintout
, wxPrintout
, OnBeginDocument
);
3612 IMP_PYCALLBACK__(wxPyPrintout
, wxPrintout
, OnEndDocument
);
3613 IMP_PYCALLBACK__(wxPyPrintout
, wxPrintout
, OnBeginPrinting
);
3614 IMP_PYCALLBACK__(wxPyPrintout
, wxPrintout
, OnEndPrinting
);
3615 IMP_PYCALLBACK__(wxPyPrintout
, wxPrintout
, OnPreparePrinting
);
3616 IMP_PYCALLBACK_BOOL_INT_pure(wxPyPrintout
, wxPrintout
, OnPrintPage
);
3617 IMP_PYCALLBACK_BOOL_INT(wxPyPrintout
, wxPrintout
, HasPage
);
3623 #define DEC_PYCALLBACK_BOOL_PREWINDC(CBNAME) \
3624 bool CBNAME(wxPreviewCanvas* a, wxDC& b)
3627 #define IMP_PYCALLBACK_BOOL_PREWINDC(CLASS, PCLASS, CBNAME) \
3628 bool CLASS::CBNAME(wxPreviewCanvas* a, wxDC& b) { \
3631 wxPyBlock_t blocked = wxPyBeginBlockThreads(); \
3632 if ((found = wxPyCBH_findCallback(m_myInst, #CBNAME))) { \
3633 PyObject* win = wxPyMake_wxObject(a,false); \
3634 PyObject* dc = wxPyMake_wxObject(&b,false); \
3635 rval = wxPyCBH_callCallback(m_myInst, Py_BuildValue("(OO)", win, dc)); \
3639 wxPyEndBlockThreads(blocked); \
3641 rval = PCLASS::CBNAME(a, b); \
3648 class wxPyPrintPreview
: public wxPrintPreview
3650 DECLARE_CLASS(wxPyPrintPreview
)
3652 wxPyPrintPreview(wxPyPrintout
* printout
,
3653 wxPyPrintout
* printoutForPrinting
,
3654 wxPrintDialogData
* data
=NULL
)
3655 : wxPrintPreview(printout
, printoutForPrinting
, data
)
3657 wxPyPrintPreview(wxPyPrintout
* printout
,
3658 wxPyPrintout
* printoutForPrinting
,
3660 : wxPrintPreview(printout
, printoutForPrinting
, data
)
3663 DEC_PYCALLBACK_BOOL_INT(SetCurrentPage
);
3664 DEC_PYCALLBACK_BOOL_PREWINDC(PaintPage
);
3665 DEC_PYCALLBACK_BOOL_PREWINDC(DrawBlankPage
);
3666 DEC_PYCALLBACK_BOOL_INT(RenderPage
);
3667 DEC_PYCALLBACK_VOID_INT(SetZoom
);
3668 DEC_PYCALLBACK_BOOL_BOOL(Print
);
3669 DEC_PYCALLBACK_VOID_(DetermineScaling
);
3674 // Stupid renamed classes... Fix this in 2.5...
3675 #if defined(__WXMSW__)
3676 IMPLEMENT_CLASS( wxPyPrintPreview
, wxWindowsPrintPreview
);
3677 #elif defined(__WXMAC__)
3678 IMPLEMENT_CLASS( wxPyPrintPreview
, wxMacPrintPreview
);
3680 IMPLEMENT_CLASS( wxPyPrintPreview
, wxPostScriptPrintPreview
);
3683 IMP_PYCALLBACK_BOOL_INT (wxPyPrintPreview
, wxPrintPreview
, SetCurrentPage
);
3684 IMP_PYCALLBACK_BOOL_PREWINDC(wxPyPrintPreview
, wxPrintPreview
, PaintPage
);
3685 IMP_PYCALLBACK_BOOL_PREWINDC(wxPyPrintPreview
, wxPrintPreview
, DrawBlankPage
);
3686 IMP_PYCALLBACK_BOOL_INT (wxPyPrintPreview
, wxPrintPreview
, RenderPage
);
3687 IMP_PYCALLBACK_VOID_INT (wxPyPrintPreview
, wxPrintPreview
, SetZoom
);
3688 IMP_PYCALLBACK_BOOL_BOOL (wxPyPrintPreview
, wxPrintPreview
, Print
);
3689 IMP_PYCALLBACK_VOID_ (wxPyPrintPreview
, wxPrintPreview
, DetermineScaling
);
3692 class wxPyPreviewFrame
: public wxPreviewFrame
3694 DECLARE_CLASS(wxPyPreviewFrame
)
3696 wxPyPreviewFrame(wxPrintPreview
* preview
, wxFrame
* parent
,
3697 const wxString
& title
,
3698 const wxPoint
& pos
= wxDefaultPosition
,
3699 const wxSize
& size
= wxDefaultSize
,
3700 long style
= wxDEFAULT_FRAME_STYLE
,
3701 const wxString
& name
= wxPyFrameNameStr
)
3702 : wxPreviewFrame(preview
, parent
, title
, pos
, size
, style
, name
)
3705 void SetPreviewCanvas(wxPreviewCanvas
* canvas
) { m_previewCanvas
= canvas
; }
3706 void SetControlBar(wxPreviewControlBar
* bar
) { m_controlBar
= bar
; }
3708 DEC_PYCALLBACK_VOID_(Initialize
);
3709 DEC_PYCALLBACK_VOID_(CreateCanvas
);
3710 DEC_PYCALLBACK_VOID_(CreateControlBar
);
3715 IMPLEMENT_CLASS(wxPyPreviewFrame
, wxPreviewFrame
);
3717 IMP_PYCALLBACK_VOID_(wxPyPreviewFrame
, wxPreviewFrame
, Initialize
);
3718 IMP_PYCALLBACK_VOID_(wxPyPreviewFrame
, wxPreviewFrame
, CreateCanvas
);
3719 IMP_PYCALLBACK_VOID_(wxPyPreviewFrame
, wxPreviewFrame
, CreateControlBar
);
3722 class wxPyPreviewControlBar
: public wxPreviewControlBar
3724 DECLARE_CLASS(wxPyPreviewControlBar
)
3726 wxPyPreviewControlBar(wxPrintPreview
*preview
,
3729 const wxPoint
& pos
= wxDefaultPosition
,
3730 const wxSize
& size
= wxDefaultSize
,
3732 const wxString
& name
= wxPyPanelNameStr
)
3733 : wxPreviewControlBar(preview
, buttons
, parent
, pos
, size
, style
, name
)
3736 void SetPrintPreview(wxPrintPreview
* preview
) { m_printPreview
= preview
; }
3738 DEC_PYCALLBACK_VOID_(CreateButtons
);
3739 DEC_PYCALLBACK_VOID_INT(SetZoomControl
);
3744 IMPLEMENT_CLASS(wxPyPreviewControlBar
, wxPreviewControlBar
);
3745 IMP_PYCALLBACK_VOID_(wxPyPreviewControlBar
, wxPreviewControlBar
, CreateButtons
);
3746 IMP_PYCALLBACK_VOID_INT(wxPyPreviewControlBar
, wxPreviewControlBar
, SetZoomControl
);
3751 SWIGINTERN PyObject
*_wrap_new_Panel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
3752 PyObject
*resultobj
= 0;
3753 wxWindow
*arg1
= (wxWindow
*) 0 ;
3754 int arg2
= (int) (int)-1 ;
3755 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
3756 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
3757 wxSize
const &arg4_defvalue
= wxDefaultSize
;
3758 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
3759 long arg5
= (long) wxTAB_TRAVERSAL
|wxNO_BORDER
;
3760 wxString
const &arg6_defvalue
= wxPyPanelNameStr
;
3761 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
3762 wxPanel
*result
= 0 ;
3771 bool temp6
= false ;
3772 PyObject
* obj0
= 0 ;
3773 PyObject
* obj1
= 0 ;
3774 PyObject
* obj2
= 0 ;
3775 PyObject
* obj3
= 0 ;
3776 PyObject
* obj4
= 0 ;
3777 PyObject
* obj5
= 0 ;
3778 char * kwnames
[] = {
3779 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
3782 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_Panel",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
3783 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
3784 if (!SWIG_IsOK(res1
)) {
3785 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_Panel" "', expected argument " "1"" of type '" "wxWindow *""'");
3787 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
3789 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
3790 if (!SWIG_IsOK(ecode2
)) {
3791 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Panel" "', expected argument " "2"" of type '" "int""'");
3793 arg2
= static_cast< int >(val2
);
3798 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
3804 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
3808 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
3809 if (!SWIG_IsOK(ecode5
)) {
3810 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_Panel" "', expected argument " "5"" of type '" "long""'");
3812 arg5
= static_cast< long >(val5
);
3816 arg6
= wxString_in_helper(obj5
);
3817 if (arg6
== NULL
) SWIG_fail
;
3822 if (!wxPyCheckForApp()) SWIG_fail
;
3823 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3824 result
= (wxPanel
*)new wxPanel(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
3825 wxPyEndAllowThreads(__tstate
);
3826 if (PyErr_Occurred()) SWIG_fail
;
3828 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPanel
, SWIG_POINTER_NEW
| 0 );
3843 SWIGINTERN PyObject
*_wrap_new_PrePanel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
3844 PyObject
*resultobj
= 0;
3845 wxPanel
*result
= 0 ;
3847 if (!SWIG_Python_UnpackTuple(args
,"new_PrePanel",0,0,0)) SWIG_fail
;
3849 if (!wxPyCheckForApp()) SWIG_fail
;
3850 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3851 result
= (wxPanel
*)new wxPanel();
3852 wxPyEndAllowThreads(__tstate
);
3853 if (PyErr_Occurred()) SWIG_fail
;
3855 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPanel
, SWIG_POINTER_OWN
| 0 );
3862 SWIGINTERN PyObject
*_wrap_Panel_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
3863 PyObject
*resultobj
= 0;
3864 wxPanel
*arg1
= (wxPanel
*) 0 ;
3865 wxWindow
*arg2
= (wxWindow
*) 0 ;
3866 int arg3
= (int) (int)-1 ;
3867 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
3868 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
3869 wxSize
const &arg5_defvalue
= wxDefaultSize
;
3870 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
3871 long arg6
= (long) wxTAB_TRAVERSAL
|wxNO_BORDER
;
3872 wxString
const &arg7_defvalue
= wxPyPanelNameStr
;
3873 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
3885 bool temp7
= false ;
3886 PyObject
* obj0
= 0 ;
3887 PyObject
* obj1
= 0 ;
3888 PyObject
* obj2
= 0 ;
3889 PyObject
* obj3
= 0 ;
3890 PyObject
* obj4
= 0 ;
3891 PyObject
* obj5
= 0 ;
3892 PyObject
* obj6
= 0 ;
3893 char * kwnames
[] = {
3894 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
3897 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:Panel_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
3898 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPanel
, 0 | 0 );
3899 if (!SWIG_IsOK(res1
)) {
3900 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Panel_Create" "', expected argument " "1"" of type '" "wxPanel *""'");
3902 arg1
= reinterpret_cast< wxPanel
* >(argp1
);
3903 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
3904 if (!SWIG_IsOK(res2
)) {
3905 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Panel_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
3907 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
3909 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
3910 if (!SWIG_IsOK(ecode3
)) {
3911 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Panel_Create" "', expected argument " "3"" of type '" "int""'");
3913 arg3
= static_cast< int >(val3
);
3918 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
3924 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
3928 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
3929 if (!SWIG_IsOK(ecode6
)) {
3930 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "Panel_Create" "', expected argument " "6"" of type '" "long""'");
3932 arg6
= static_cast< long >(val6
);
3936 arg7
= wxString_in_helper(obj6
);
3937 if (arg7
== NULL
) SWIG_fail
;
3942 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3943 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
3944 wxPyEndAllowThreads(__tstate
);
3945 if (PyErr_Occurred()) SWIG_fail
;
3948 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3964 SWIGINTERN PyObject
*_wrap_Panel_SetFocusIgnoringChildren(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
3965 PyObject
*resultobj
= 0;
3966 wxPanel
*arg1
= (wxPanel
*) 0 ;
3969 PyObject
*swig_obj
[1] ;
3971 if (!args
) SWIG_fail
;
3973 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPanel
, 0 | 0 );
3974 if (!SWIG_IsOK(res1
)) {
3975 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Panel_SetFocusIgnoringChildren" "', expected argument " "1"" of type '" "wxPanel *""'");
3977 arg1
= reinterpret_cast< wxPanel
* >(argp1
);
3979 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3980 (arg1
)->SetFocusIgnoringChildren();
3981 wxPyEndAllowThreads(__tstate
);
3982 if (PyErr_Occurred()) SWIG_fail
;
3984 resultobj
= SWIG_Py_Void();
3991 SWIGINTERN PyObject
*_wrap_Panel_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
3992 PyObject
*resultobj
= 0;
3993 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
3994 SwigValueWrapper
<wxVisualAttributes
> result
;
3997 PyObject
* obj0
= 0 ;
3998 char * kwnames
[] = {
3999 (char *) "variant", NULL
4002 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Panel_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
4004 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
4005 if (!SWIG_IsOK(ecode1
)) {
4006 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "Panel_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
4008 arg1
= static_cast< wxWindowVariant
>(val1
);
4011 if (!wxPyCheckForApp()) SWIG_fail
;
4012 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4013 result
= wxPanel::GetClassDefaultAttributes(arg1
);
4014 wxPyEndAllowThreads(__tstate
);
4015 if (PyErr_Occurred()) SWIG_fail
;
4017 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
4024 SWIGINTERN PyObject
*Panel_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4026 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
4027 SWIG_TypeNewClientData(SWIGTYPE_p_wxPanel
, SWIG_NewClientData(obj
));
4028 return SWIG_Py_Void();
4031 SWIGINTERN PyObject
*Panel_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4032 return SWIG_Python_InitShadowInstance(args
);
4035 SWIGINTERN PyObject
*_wrap_new_ScrolledWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4036 PyObject
*resultobj
= 0;
4037 wxWindow
*arg1
= (wxWindow
*) 0 ;
4038 int arg2
= (int) (int)-1 ;
4039 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
4040 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
4041 wxSize
const &arg4_defvalue
= wxDefaultSize
;
4042 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
4043 long arg5
= (long) wxHSCROLL
|wxVSCROLL
;
4044 wxString
const &arg6_defvalue
= wxPyPanelNameStr
;
4045 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
4046 wxScrolledWindow
*result
= 0 ;
4055 bool temp6
= false ;
4056 PyObject
* obj0
= 0 ;
4057 PyObject
* obj1
= 0 ;
4058 PyObject
* obj2
= 0 ;
4059 PyObject
* obj3
= 0 ;
4060 PyObject
* obj4
= 0 ;
4061 PyObject
* obj5
= 0 ;
4062 char * kwnames
[] = {
4063 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
4066 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_ScrolledWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
4067 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
4068 if (!SWIG_IsOK(res1
)) {
4069 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_ScrolledWindow" "', expected argument " "1"" of type '" "wxWindow *""'");
4071 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
4073 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
4074 if (!SWIG_IsOK(ecode2
)) {
4075 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_ScrolledWindow" "', expected argument " "2"" of type '" "int""'");
4077 arg2
= static_cast< int >(val2
);
4082 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
4088 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
4092 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
4093 if (!SWIG_IsOK(ecode5
)) {
4094 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_ScrolledWindow" "', expected argument " "5"" of type '" "long""'");
4096 arg5
= static_cast< long >(val5
);
4100 arg6
= wxString_in_helper(obj5
);
4101 if (arg6
== NULL
) SWIG_fail
;
4106 if (!wxPyCheckForApp()) SWIG_fail
;
4107 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4108 result
= (wxScrolledWindow
*)new wxScrolledWindow(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
4109 wxPyEndAllowThreads(__tstate
);
4110 if (PyErr_Occurred()) SWIG_fail
;
4112 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxScrolledWindow
, SWIG_POINTER_NEW
| 0 );
4127 SWIGINTERN PyObject
*_wrap_new_PreScrolledWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4128 PyObject
*resultobj
= 0;
4129 wxScrolledWindow
*result
= 0 ;
4131 if (!SWIG_Python_UnpackTuple(args
,"new_PreScrolledWindow",0,0,0)) SWIG_fail
;
4133 if (!wxPyCheckForApp()) SWIG_fail
;
4134 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4135 result
= (wxScrolledWindow
*)new wxScrolledWindow();
4136 wxPyEndAllowThreads(__tstate
);
4137 if (PyErr_Occurred()) SWIG_fail
;
4139 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxScrolledWindow
, SWIG_POINTER_OWN
| 0 );
4146 SWIGINTERN PyObject
*_wrap_ScrolledWindow_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4147 PyObject
*resultobj
= 0;
4148 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
4149 wxWindow
*arg2
= (wxWindow
*) 0 ;
4150 int arg3
= (int) (int)-1 ;
4151 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
4152 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
4153 wxSize
const &arg5_defvalue
= wxDefaultSize
;
4154 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
4155 long arg6
= (long) wxHSCROLL
|wxVSCROLL
;
4156 wxString
const &arg7_defvalue
= wxPyPanelNameStr
;
4157 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
4169 bool temp7
= false ;
4170 PyObject
* obj0
= 0 ;
4171 PyObject
* obj1
= 0 ;
4172 PyObject
* obj2
= 0 ;
4173 PyObject
* obj3
= 0 ;
4174 PyObject
* obj4
= 0 ;
4175 PyObject
* obj5
= 0 ;
4176 PyObject
* obj6
= 0 ;
4177 char * kwnames
[] = {
4178 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
4181 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:ScrolledWindow_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
4182 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxScrolledWindow
, 0 | 0 );
4183 if (!SWIG_IsOK(res1
)) {
4184 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrolledWindow_Create" "', expected argument " "1"" of type '" "wxScrolledWindow *""'");
4186 arg1
= reinterpret_cast< wxScrolledWindow
* >(argp1
);
4187 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
4188 if (!SWIG_IsOK(res2
)) {
4189 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ScrolledWindow_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
4191 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
4193 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
4194 if (!SWIG_IsOK(ecode3
)) {
4195 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ScrolledWindow_Create" "', expected argument " "3"" of type '" "int""'");
4197 arg3
= static_cast< int >(val3
);
4202 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
4208 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
4212 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
4213 if (!SWIG_IsOK(ecode6
)) {
4214 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "ScrolledWindow_Create" "', expected argument " "6"" of type '" "long""'");
4216 arg6
= static_cast< long >(val6
);
4220 arg7
= wxString_in_helper(obj6
);
4221 if (arg7
== NULL
) SWIG_fail
;
4226 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4227 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
4228 wxPyEndAllowThreads(__tstate
);
4229 if (PyErr_Occurred()) SWIG_fail
;
4232 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4248 SWIGINTERN PyObject
*_wrap_ScrolledWindow_SetScrollbars(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4249 PyObject
*resultobj
= 0;
4250 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
4255 int arg6
= (int) 0 ;
4256 int arg7
= (int) 0 ;
4257 bool arg8
= (bool) false ;
4274 PyObject
* obj0
= 0 ;
4275 PyObject
* obj1
= 0 ;
4276 PyObject
* obj2
= 0 ;
4277 PyObject
* obj3
= 0 ;
4278 PyObject
* obj4
= 0 ;
4279 PyObject
* obj5
= 0 ;
4280 PyObject
* obj6
= 0 ;
4281 PyObject
* obj7
= 0 ;
4282 char * kwnames
[] = {
4283 (char *) "self",(char *) "pixelsPerUnitX",(char *) "pixelsPerUnitY",(char *) "noUnitsX",(char *) "noUnitsY",(char *) "xPos",(char *) "yPos",(char *) "noRefresh", NULL
4286 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|OOO:ScrolledWindow_SetScrollbars",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
4287 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxScrolledWindow
, 0 | 0 );
4288 if (!SWIG_IsOK(res1
)) {
4289 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrolledWindow_SetScrollbars" "', expected argument " "1"" of type '" "wxScrolledWindow *""'");
4291 arg1
= reinterpret_cast< wxScrolledWindow
* >(argp1
);
4292 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
4293 if (!SWIG_IsOK(ecode2
)) {
4294 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ScrolledWindow_SetScrollbars" "', expected argument " "2"" of type '" "int""'");
4296 arg2
= static_cast< int >(val2
);
4297 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
4298 if (!SWIG_IsOK(ecode3
)) {
4299 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ScrolledWindow_SetScrollbars" "', expected argument " "3"" of type '" "int""'");
4301 arg3
= static_cast< int >(val3
);
4302 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
4303 if (!SWIG_IsOK(ecode4
)) {
4304 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "ScrolledWindow_SetScrollbars" "', expected argument " "4"" of type '" "int""'");
4306 arg4
= static_cast< int >(val4
);
4307 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
4308 if (!SWIG_IsOK(ecode5
)) {
4309 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "ScrolledWindow_SetScrollbars" "', expected argument " "5"" of type '" "int""'");
4311 arg5
= static_cast< int >(val5
);
4313 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
4314 if (!SWIG_IsOK(ecode6
)) {
4315 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "ScrolledWindow_SetScrollbars" "', expected argument " "6"" of type '" "int""'");
4317 arg6
= static_cast< int >(val6
);
4320 ecode7
= SWIG_AsVal_int(obj6
, &val7
);
4321 if (!SWIG_IsOK(ecode7
)) {
4322 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "ScrolledWindow_SetScrollbars" "', expected argument " "7"" of type '" "int""'");
4324 arg7
= static_cast< int >(val7
);
4327 ecode8
= SWIG_AsVal_bool(obj7
, &val8
);
4328 if (!SWIG_IsOK(ecode8
)) {
4329 SWIG_exception_fail(SWIG_ArgError(ecode8
), "in method '" "ScrolledWindow_SetScrollbars" "', expected argument " "8"" of type '" "bool""'");
4331 arg8
= static_cast< bool >(val8
);
4334 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4335 (arg1
)->SetScrollbars(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
,arg8
);
4336 wxPyEndAllowThreads(__tstate
);
4337 if (PyErr_Occurred()) SWIG_fail
;
4339 resultobj
= SWIG_Py_Void();
4346 SWIGINTERN PyObject
*_wrap_ScrolledWindow_Scroll(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4347 PyObject
*resultobj
= 0;
4348 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
4357 PyObject
* obj0
= 0 ;
4358 PyObject
* obj1
= 0 ;
4359 PyObject
* obj2
= 0 ;
4360 char * kwnames
[] = {
4361 (char *) "self",(char *) "x",(char *) "y", NULL
4364 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ScrolledWindow_Scroll",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
4365 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxScrolledWindow
, 0 | 0 );
4366 if (!SWIG_IsOK(res1
)) {
4367 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrolledWindow_Scroll" "', expected argument " "1"" of type '" "wxScrolledWindow *""'");
4369 arg1
= reinterpret_cast< wxScrolledWindow
* >(argp1
);
4370 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
4371 if (!SWIG_IsOK(ecode2
)) {
4372 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ScrolledWindow_Scroll" "', expected argument " "2"" of type '" "int""'");
4374 arg2
= static_cast< int >(val2
);
4375 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
4376 if (!SWIG_IsOK(ecode3
)) {
4377 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ScrolledWindow_Scroll" "', expected argument " "3"" of type '" "int""'");
4379 arg3
= static_cast< int >(val3
);
4381 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4382 (arg1
)->Scroll(arg2
,arg3
);
4383 wxPyEndAllowThreads(__tstate
);
4384 if (PyErr_Occurred()) SWIG_fail
;
4386 resultobj
= SWIG_Py_Void();
4393 SWIGINTERN PyObject
*_wrap_ScrolledWindow_GetScrollPageSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4394 PyObject
*resultobj
= 0;
4395 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
4402 PyObject
* obj0
= 0 ;
4403 PyObject
* obj1
= 0 ;
4404 char * kwnames
[] = {
4405 (char *) "self",(char *) "orient", NULL
4408 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ScrolledWindow_GetScrollPageSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4409 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxScrolledWindow
, 0 | 0 );
4410 if (!SWIG_IsOK(res1
)) {
4411 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrolledWindow_GetScrollPageSize" "', expected argument " "1"" of type '" "wxScrolledWindow const *""'");
4413 arg1
= reinterpret_cast< wxScrolledWindow
* >(argp1
);
4414 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
4415 if (!SWIG_IsOK(ecode2
)) {
4416 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ScrolledWindow_GetScrollPageSize" "', expected argument " "2"" of type '" "int""'");
4418 arg2
= static_cast< int >(val2
);
4420 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4421 result
= (int)((wxScrolledWindow
const *)arg1
)->GetScrollPageSize(arg2
);
4422 wxPyEndAllowThreads(__tstate
);
4423 if (PyErr_Occurred()) SWIG_fail
;
4425 resultobj
= SWIG_From_int(static_cast< int >(result
));
4432 SWIGINTERN PyObject
*_wrap_ScrolledWindow_SetScrollPageSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4433 PyObject
*resultobj
= 0;
4434 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
4443 PyObject
* obj0
= 0 ;
4444 PyObject
* obj1
= 0 ;
4445 PyObject
* obj2
= 0 ;
4446 char * kwnames
[] = {
4447 (char *) "self",(char *) "orient",(char *) "pageSize", NULL
4450 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ScrolledWindow_SetScrollPageSize",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
4451 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxScrolledWindow
, 0 | 0 );
4452 if (!SWIG_IsOK(res1
)) {
4453 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrolledWindow_SetScrollPageSize" "', expected argument " "1"" of type '" "wxScrolledWindow *""'");
4455 arg1
= reinterpret_cast< wxScrolledWindow
* >(argp1
);
4456 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
4457 if (!SWIG_IsOK(ecode2
)) {
4458 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ScrolledWindow_SetScrollPageSize" "', expected argument " "2"" of type '" "int""'");
4460 arg2
= static_cast< int >(val2
);
4461 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
4462 if (!SWIG_IsOK(ecode3
)) {
4463 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ScrolledWindow_SetScrollPageSize" "', expected argument " "3"" of type '" "int""'");
4465 arg3
= static_cast< int >(val3
);
4467 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4468 (arg1
)->SetScrollPageSize(arg2
,arg3
);
4469 wxPyEndAllowThreads(__tstate
);
4470 if (PyErr_Occurred()) SWIG_fail
;
4472 resultobj
= SWIG_Py_Void();
4479 SWIGINTERN PyObject
*_wrap_ScrolledWindow_SetScrollRate(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4480 PyObject
*resultobj
= 0;
4481 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
4490 PyObject
* obj0
= 0 ;
4491 PyObject
* obj1
= 0 ;
4492 PyObject
* obj2
= 0 ;
4493 char * kwnames
[] = {
4494 (char *) "self",(char *) "xstep",(char *) "ystep", NULL
4497 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ScrolledWindow_SetScrollRate",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
4498 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxScrolledWindow
, 0 | 0 );
4499 if (!SWIG_IsOK(res1
)) {
4500 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrolledWindow_SetScrollRate" "', expected argument " "1"" of type '" "wxScrolledWindow *""'");
4502 arg1
= reinterpret_cast< wxScrolledWindow
* >(argp1
);
4503 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
4504 if (!SWIG_IsOK(ecode2
)) {
4505 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ScrolledWindow_SetScrollRate" "', expected argument " "2"" of type '" "int""'");
4507 arg2
= static_cast< int >(val2
);
4508 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
4509 if (!SWIG_IsOK(ecode3
)) {
4510 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ScrolledWindow_SetScrollRate" "', expected argument " "3"" of type '" "int""'");
4512 arg3
= static_cast< int >(val3
);
4514 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4515 (arg1
)->SetScrollRate(arg2
,arg3
);
4516 wxPyEndAllowThreads(__tstate
);
4517 if (PyErr_Occurred()) SWIG_fail
;
4519 resultobj
= SWIG_Py_Void();
4526 SWIGINTERN PyObject
*_wrap_ScrolledWindow_GetScrollPixelsPerUnit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4527 PyObject
*resultobj
= 0;
4528 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
4529 int *arg2
= (int *) 0 ;
4530 int *arg3
= (int *) 0 ;
4534 int res2
= SWIG_TMPOBJ
;
4536 int res3
= SWIG_TMPOBJ
;
4537 PyObject
*swig_obj
[1] ;
4541 if (!args
) SWIG_fail
;
4543 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxScrolledWindow
, 0 | 0 );
4544 if (!SWIG_IsOK(res1
)) {
4545 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrolledWindow_GetScrollPixelsPerUnit" "', expected argument " "1"" of type '" "wxScrolledWindow const *""'");
4547 arg1
= reinterpret_cast< wxScrolledWindow
* >(argp1
);
4549 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4550 ((wxScrolledWindow
const *)arg1
)->GetScrollPixelsPerUnit(arg2
,arg3
);
4551 wxPyEndAllowThreads(__tstate
);
4552 if (PyErr_Occurred()) SWIG_fail
;
4554 resultobj
= SWIG_Py_Void();
4555 if (SWIG_IsTmpObj(res2
)) {
4556 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
4558 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
4559 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
4561 if (SWIG_IsTmpObj(res3
)) {
4562 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
4564 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
4565 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
4573 SWIGINTERN PyObject
*_wrap_ScrolledWindow_EnableScrolling(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4574 PyObject
*resultobj
= 0;
4575 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
4584 PyObject
* obj0
= 0 ;
4585 PyObject
* obj1
= 0 ;
4586 PyObject
* obj2
= 0 ;
4587 char * kwnames
[] = {
4588 (char *) "self",(char *) "x_scrolling",(char *) "y_scrolling", NULL
4591 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ScrolledWindow_EnableScrolling",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
4592 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxScrolledWindow
, 0 | 0 );
4593 if (!SWIG_IsOK(res1
)) {
4594 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrolledWindow_EnableScrolling" "', expected argument " "1"" of type '" "wxScrolledWindow *""'");
4596 arg1
= reinterpret_cast< wxScrolledWindow
* >(argp1
);
4597 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
4598 if (!SWIG_IsOK(ecode2
)) {
4599 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ScrolledWindow_EnableScrolling" "', expected argument " "2"" of type '" "bool""'");
4601 arg2
= static_cast< bool >(val2
);
4602 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
4603 if (!SWIG_IsOK(ecode3
)) {
4604 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ScrolledWindow_EnableScrolling" "', expected argument " "3"" of type '" "bool""'");
4606 arg3
= static_cast< bool >(val3
);
4608 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4609 (arg1
)->EnableScrolling(arg2
,arg3
);
4610 wxPyEndAllowThreads(__tstate
);
4611 if (PyErr_Occurred()) SWIG_fail
;
4613 resultobj
= SWIG_Py_Void();
4620 SWIGINTERN PyObject
*_wrap_ScrolledWindow_GetViewStart(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4621 PyObject
*resultobj
= 0;
4622 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
4623 int *arg2
= (int *) 0 ;
4624 int *arg3
= (int *) 0 ;
4628 int res2
= SWIG_TMPOBJ
;
4630 int res3
= SWIG_TMPOBJ
;
4631 PyObject
*swig_obj
[1] ;
4635 if (!args
) SWIG_fail
;
4637 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxScrolledWindow
, 0 | 0 );
4638 if (!SWIG_IsOK(res1
)) {
4639 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrolledWindow_GetViewStart" "', expected argument " "1"" of type '" "wxScrolledWindow const *""'");
4641 arg1
= reinterpret_cast< wxScrolledWindow
* >(argp1
);
4643 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4644 ((wxScrolledWindow
const *)arg1
)->GetViewStart(arg2
,arg3
);
4645 wxPyEndAllowThreads(__tstate
);
4646 if (PyErr_Occurred()) SWIG_fail
;
4648 resultobj
= SWIG_Py_Void();
4649 if (SWIG_IsTmpObj(res2
)) {
4650 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
4652 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
4653 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
4655 if (SWIG_IsTmpObj(res3
)) {
4656 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
4658 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
4659 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
4667 SWIGINTERN PyObject
*_wrap_ScrolledWindow_SetScale(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4668 PyObject
*resultobj
= 0;
4669 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
4678 PyObject
* obj0
= 0 ;
4679 PyObject
* obj1
= 0 ;
4680 PyObject
* obj2
= 0 ;
4681 char * kwnames
[] = {
4682 (char *) "self",(char *) "xs",(char *) "ys", NULL
4685 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ScrolledWindow_SetScale",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
4686 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxScrolledWindow
, 0 | 0 );
4687 if (!SWIG_IsOK(res1
)) {
4688 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrolledWindow_SetScale" "', expected argument " "1"" of type '" "wxScrolledWindow *""'");
4690 arg1
= reinterpret_cast< wxScrolledWindow
* >(argp1
);
4691 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
4692 if (!SWIG_IsOK(ecode2
)) {
4693 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ScrolledWindow_SetScale" "', expected argument " "2"" of type '" "double""'");
4695 arg2
= static_cast< double >(val2
);
4696 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
4697 if (!SWIG_IsOK(ecode3
)) {
4698 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ScrolledWindow_SetScale" "', expected argument " "3"" of type '" "double""'");
4700 arg3
= static_cast< double >(val3
);
4702 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4703 (arg1
)->SetScale(arg2
,arg3
);
4704 wxPyEndAllowThreads(__tstate
);
4705 if (PyErr_Occurred()) SWIG_fail
;
4707 resultobj
= SWIG_Py_Void();
4714 SWIGINTERN PyObject
*_wrap_ScrolledWindow_GetScaleX(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4715 PyObject
*resultobj
= 0;
4716 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
4720 PyObject
*swig_obj
[1] ;
4722 if (!args
) SWIG_fail
;
4724 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxScrolledWindow
, 0 | 0 );
4725 if (!SWIG_IsOK(res1
)) {
4726 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrolledWindow_GetScaleX" "', expected argument " "1"" of type '" "wxScrolledWindow const *""'");
4728 arg1
= reinterpret_cast< wxScrolledWindow
* >(argp1
);
4730 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4731 result
= (double)((wxScrolledWindow
const *)arg1
)->GetScaleX();
4732 wxPyEndAllowThreads(__tstate
);
4733 if (PyErr_Occurred()) SWIG_fail
;
4735 resultobj
= SWIG_From_double(static_cast< double >(result
));
4742 SWIGINTERN PyObject
*_wrap_ScrolledWindow_GetScaleY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4743 PyObject
*resultobj
= 0;
4744 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
4748 PyObject
*swig_obj
[1] ;
4750 if (!args
) SWIG_fail
;
4752 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxScrolledWindow
, 0 | 0 );
4753 if (!SWIG_IsOK(res1
)) {
4754 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrolledWindow_GetScaleY" "', expected argument " "1"" of type '" "wxScrolledWindow const *""'");
4756 arg1
= reinterpret_cast< wxScrolledWindow
* >(argp1
);
4758 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4759 result
= (double)((wxScrolledWindow
const *)arg1
)->GetScaleY();
4760 wxPyEndAllowThreads(__tstate
);
4761 if (PyErr_Occurred()) SWIG_fail
;
4763 resultobj
= SWIG_From_double(static_cast< double >(result
));
4770 SWIGINTERN PyObject
*_wrap_ScrolledWindow_CalcScrolledPosition__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
4771 PyObject
*resultobj
= 0;
4772 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
4779 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
4780 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxScrolledWindow
, 0 | 0 );
4781 if (!SWIG_IsOK(res1
)) {
4782 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrolledWindow_CalcScrolledPosition" "', expected argument " "1"" of type '" "wxScrolledWindow const *""'");
4784 arg1
= reinterpret_cast< wxScrolledWindow
* >(argp1
);
4787 if ( ! wxPoint_helper(swig_obj
[1], &arg2
)) SWIG_fail
;
4790 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4791 result
= ((wxScrolledWindow
const *)arg1
)->CalcScrolledPosition((wxPoint
const &)*arg2
);
4792 wxPyEndAllowThreads(__tstate
);
4793 if (PyErr_Occurred()) SWIG_fail
;
4795 resultobj
= SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint
& >(result
))), SWIGTYPE_p_wxPoint
, SWIG_POINTER_OWN
| 0 );
4802 SWIGINTERN PyObject
*_wrap_ScrolledWindow_CalcScrolledPosition__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
4803 PyObject
*resultobj
= 0;
4804 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
4807 int *arg4
= (int *) 0 ;
4808 int *arg5
= (int *) 0 ;
4816 int res4
= SWIG_TMPOBJ
;
4818 int res5
= SWIG_TMPOBJ
;
4822 if ((nobjs
< 3) || (nobjs
> 3)) SWIG_fail
;
4823 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxScrolledWindow
, 0 | 0 );
4824 if (!SWIG_IsOK(res1
)) {
4825 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrolledWindow_CalcScrolledPosition" "', expected argument " "1"" of type '" "wxScrolledWindow const *""'");
4827 arg1
= reinterpret_cast< wxScrolledWindow
* >(argp1
);
4828 ecode2
= SWIG_AsVal_int(swig_obj
[1], &val2
);
4829 if (!SWIG_IsOK(ecode2
)) {
4830 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ScrolledWindow_CalcScrolledPosition" "', expected argument " "2"" of type '" "int""'");
4832 arg2
= static_cast< int >(val2
);
4833 ecode3
= SWIG_AsVal_int(swig_obj
[2], &val3
);
4834 if (!SWIG_IsOK(ecode3
)) {
4835 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ScrolledWindow_CalcScrolledPosition" "', expected argument " "3"" of type '" "int""'");
4837 arg3
= static_cast< int >(val3
);
4839 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4840 ((wxScrolledWindow
const *)arg1
)->CalcScrolledPosition(arg2
,arg3
,arg4
,arg5
);
4841 wxPyEndAllowThreads(__tstate
);
4842 if (PyErr_Occurred()) SWIG_fail
;
4844 resultobj
= SWIG_Py_Void();
4845 if (SWIG_IsTmpObj(res4
)) {
4846 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg4
)));
4848 int new_flags
= SWIG_IsNewObj(res4
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
4849 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_int
, new_flags
));
4851 if (SWIG_IsTmpObj(res5
)) {
4852 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg5
)));
4854 int new_flags
= SWIG_IsNewObj(res5
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
4855 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg5
), SWIGTYPE_p_int
, new_flags
));
4863 SWIGINTERN PyObject
*_wrap_ScrolledWindow_CalcScrolledPosition(PyObject
*self
, PyObject
*args
) {
4867 if (!(argc
= SWIG_Python_UnpackTuple(args
,"ScrolledWindow_CalcScrolledPosition",0,3,argv
))) SWIG_fail
;
4870 return _wrap_ScrolledWindow_CalcScrolledPosition__SWIG_0(self
, argc
, argv
);
4873 return _wrap_ScrolledWindow_CalcScrolledPosition__SWIG_1(self
, argc
, argv
);
4877 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'ScrolledWindow_CalcScrolledPosition'");
4882 SWIGINTERN PyObject
*_wrap_ScrolledWindow_CalcUnscrolledPosition__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
4883 PyObject
*resultobj
= 0;
4884 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
4891 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
4892 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxScrolledWindow
, 0 | 0 );
4893 if (!SWIG_IsOK(res1
)) {
4894 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrolledWindow_CalcUnscrolledPosition" "', expected argument " "1"" of type '" "wxScrolledWindow const *""'");
4896 arg1
= reinterpret_cast< wxScrolledWindow
* >(argp1
);
4899 if ( ! wxPoint_helper(swig_obj
[1], &arg2
)) SWIG_fail
;
4902 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4903 result
= ((wxScrolledWindow
const *)arg1
)->CalcUnscrolledPosition((wxPoint
const &)*arg2
);
4904 wxPyEndAllowThreads(__tstate
);
4905 if (PyErr_Occurred()) SWIG_fail
;
4907 resultobj
= SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint
& >(result
))), SWIGTYPE_p_wxPoint
, SWIG_POINTER_OWN
| 0 );
4914 SWIGINTERN PyObject
*_wrap_ScrolledWindow_CalcUnscrolledPosition__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
4915 PyObject
*resultobj
= 0;
4916 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
4919 int *arg4
= (int *) 0 ;
4920 int *arg5
= (int *) 0 ;
4928 int res4
= SWIG_TMPOBJ
;
4930 int res5
= SWIG_TMPOBJ
;
4934 if ((nobjs
< 3) || (nobjs
> 3)) SWIG_fail
;
4935 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxScrolledWindow
, 0 | 0 );
4936 if (!SWIG_IsOK(res1
)) {
4937 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrolledWindow_CalcUnscrolledPosition" "', expected argument " "1"" of type '" "wxScrolledWindow const *""'");
4939 arg1
= reinterpret_cast< wxScrolledWindow
* >(argp1
);
4940 ecode2
= SWIG_AsVal_int(swig_obj
[1], &val2
);
4941 if (!SWIG_IsOK(ecode2
)) {
4942 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ScrolledWindow_CalcUnscrolledPosition" "', expected argument " "2"" of type '" "int""'");
4944 arg2
= static_cast< int >(val2
);
4945 ecode3
= SWIG_AsVal_int(swig_obj
[2], &val3
);
4946 if (!SWIG_IsOK(ecode3
)) {
4947 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ScrolledWindow_CalcUnscrolledPosition" "', expected argument " "3"" of type '" "int""'");
4949 arg3
= static_cast< int >(val3
);
4951 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4952 ((wxScrolledWindow
const *)arg1
)->CalcUnscrolledPosition(arg2
,arg3
,arg4
,arg5
);
4953 wxPyEndAllowThreads(__tstate
);
4954 if (PyErr_Occurred()) SWIG_fail
;
4956 resultobj
= SWIG_Py_Void();
4957 if (SWIG_IsTmpObj(res4
)) {
4958 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg4
)));
4960 int new_flags
= SWIG_IsNewObj(res4
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
4961 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_int
, new_flags
));
4963 if (SWIG_IsTmpObj(res5
)) {
4964 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg5
)));
4966 int new_flags
= SWIG_IsNewObj(res5
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
4967 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg5
), SWIGTYPE_p_int
, new_flags
));
4975 SWIGINTERN PyObject
*_wrap_ScrolledWindow_CalcUnscrolledPosition(PyObject
*self
, PyObject
*args
) {
4979 if (!(argc
= SWIG_Python_UnpackTuple(args
,"ScrolledWindow_CalcUnscrolledPosition",0,3,argv
))) SWIG_fail
;
4982 return _wrap_ScrolledWindow_CalcUnscrolledPosition__SWIG_0(self
, argc
, argv
);
4985 return _wrap_ScrolledWindow_CalcUnscrolledPosition__SWIG_1(self
, argc
, argv
);
4989 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'ScrolledWindow_CalcUnscrolledPosition'");
4994 SWIGINTERN PyObject
*_wrap_ScrolledWindow_AdjustScrollbars(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4995 PyObject
*resultobj
= 0;
4996 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
4999 PyObject
*swig_obj
[1] ;
5001 if (!args
) SWIG_fail
;
5003 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxScrolledWindow
, 0 | 0 );
5004 if (!SWIG_IsOK(res1
)) {
5005 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrolledWindow_AdjustScrollbars" "', expected argument " "1"" of type '" "wxScrolledWindow *""'");
5007 arg1
= reinterpret_cast< wxScrolledWindow
* >(argp1
);
5009 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5010 (arg1
)->AdjustScrollbars();
5011 wxPyEndAllowThreads(__tstate
);
5012 if (PyErr_Occurred()) SWIG_fail
;
5014 resultobj
= SWIG_Py_Void();
5021 SWIGINTERN PyObject
*_wrap_ScrolledWindow_CalcScrollInc(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5022 PyObject
*resultobj
= 0;
5023 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
5024 wxScrollWinEvent
*arg2
= 0 ;
5030 PyObject
* obj0
= 0 ;
5031 PyObject
* obj1
= 0 ;
5032 char * kwnames
[] = {
5033 (char *) "self",(char *) "event", NULL
5036 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ScrolledWindow_CalcScrollInc",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5037 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxScrolledWindow
, 0 | 0 );
5038 if (!SWIG_IsOK(res1
)) {
5039 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrolledWindow_CalcScrollInc" "', expected argument " "1"" of type '" "wxScrolledWindow *""'");
5041 arg1
= reinterpret_cast< wxScrolledWindow
* >(argp1
);
5042 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxScrollWinEvent
, 0 );
5043 if (!SWIG_IsOK(res2
)) {
5044 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ScrolledWindow_CalcScrollInc" "', expected argument " "2"" of type '" "wxScrollWinEvent &""'");
5047 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ScrolledWindow_CalcScrollInc" "', expected argument " "2"" of type '" "wxScrollWinEvent &""'");
5049 arg2
= reinterpret_cast< wxScrollWinEvent
* >(argp2
);
5051 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5052 result
= (int)(arg1
)->CalcScrollInc(*arg2
);
5053 wxPyEndAllowThreads(__tstate
);
5054 if (PyErr_Occurred()) SWIG_fail
;
5056 resultobj
= SWIG_From_int(static_cast< int >(result
));
5063 SWIGINTERN PyObject
*_wrap_ScrolledWindow_SetTargetWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5064 PyObject
*resultobj
= 0;
5065 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
5066 wxWindow
*arg2
= (wxWindow
*) 0 ;
5071 PyObject
* obj0
= 0 ;
5072 PyObject
* obj1
= 0 ;
5073 char * kwnames
[] = {
5074 (char *) "self",(char *) "target", NULL
5077 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ScrolledWindow_SetTargetWindow",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5078 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxScrolledWindow
, 0 | 0 );
5079 if (!SWIG_IsOK(res1
)) {
5080 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrolledWindow_SetTargetWindow" "', expected argument " "1"" of type '" "wxScrolledWindow *""'");
5082 arg1
= reinterpret_cast< wxScrolledWindow
* >(argp1
);
5083 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
5084 if (!SWIG_IsOK(res2
)) {
5085 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ScrolledWindow_SetTargetWindow" "', expected argument " "2"" of type '" "wxWindow *""'");
5087 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
5089 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5090 (arg1
)->SetTargetWindow(arg2
);
5091 wxPyEndAllowThreads(__tstate
);
5092 if (PyErr_Occurred()) SWIG_fail
;
5094 resultobj
= SWIG_Py_Void();
5101 SWIGINTERN PyObject
*_wrap_ScrolledWindow_GetTargetWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5102 PyObject
*resultobj
= 0;
5103 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
5104 wxWindow
*result
= 0 ;
5107 PyObject
*swig_obj
[1] ;
5109 if (!args
) SWIG_fail
;
5111 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxScrolledWindow
, 0 | 0 );
5112 if (!SWIG_IsOK(res1
)) {
5113 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrolledWindow_GetTargetWindow" "', expected argument " "1"" of type '" "wxScrolledWindow const *""'");
5115 arg1
= reinterpret_cast< wxScrolledWindow
* >(argp1
);
5117 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5118 result
= (wxWindow
*)((wxScrolledWindow
const *)arg1
)->GetTargetWindow();
5119 wxPyEndAllowThreads(__tstate
);
5120 if (PyErr_Occurred()) SWIG_fail
;
5123 resultobj
= wxPyMake_wxObject(result
, 0);
5131 SWIGINTERN PyObject
*_wrap_ScrolledWindow_DoPrepareDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5132 PyObject
*resultobj
= 0;
5133 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
5139 PyObject
* obj0
= 0 ;
5140 PyObject
* obj1
= 0 ;
5141 char * kwnames
[] = {
5142 (char *) "self",(char *) "dc", NULL
5145 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ScrolledWindow_DoPrepareDC",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5146 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxScrolledWindow
, 0 | 0 );
5147 if (!SWIG_IsOK(res1
)) {
5148 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrolledWindow_DoPrepareDC" "', expected argument " "1"" of type '" "wxScrolledWindow *""'");
5150 arg1
= reinterpret_cast< wxScrolledWindow
* >(argp1
);
5151 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxDC
, 0 );
5152 if (!SWIG_IsOK(res2
)) {
5153 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ScrolledWindow_DoPrepareDC" "', expected argument " "2"" of type '" "wxDC &""'");
5156 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ScrolledWindow_DoPrepareDC" "', expected argument " "2"" of type '" "wxDC &""'");
5158 arg2
= reinterpret_cast< wxDC
* >(argp2
);
5160 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5161 (arg1
)->DoPrepareDC(*arg2
);
5162 wxPyEndAllowThreads(__tstate
);
5163 if (PyErr_Occurred()) SWIG_fail
;
5165 resultobj
= SWIG_Py_Void();
5172 SWIGINTERN PyObject
*_wrap_ScrolledWindow_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5173 PyObject
*resultobj
= 0;
5174 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
5175 SwigValueWrapper
<wxVisualAttributes
> result
;
5178 PyObject
* obj0
= 0 ;
5179 char * kwnames
[] = {
5180 (char *) "variant", NULL
5183 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:ScrolledWindow_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
5185 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
5186 if (!SWIG_IsOK(ecode1
)) {
5187 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "ScrolledWindow_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
5189 arg1
= static_cast< wxWindowVariant
>(val1
);
5192 if (!wxPyCheckForApp()) SWIG_fail
;
5193 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5194 result
= wxScrolledWindow::GetClassDefaultAttributes(arg1
);
5195 wxPyEndAllowThreads(__tstate
);
5196 if (PyErr_Occurred()) SWIG_fail
;
5198 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
5205 SWIGINTERN PyObject
*ScrolledWindow_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5207 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
5208 SWIG_TypeNewClientData(SWIGTYPE_p_wxScrolledWindow
, SWIG_NewClientData(obj
));
5209 return SWIG_Py_Void();
5212 SWIGINTERN PyObject
*ScrolledWindow_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5213 return SWIG_Python_InitShadowInstance(args
);
5216 SWIGINTERN
int FrameNameStr_set(PyObject
*) {
5217 SWIG_Error(SWIG_AttributeError
,"Variable FrameNameStr is read-only.");
5222 SWIGINTERN PyObject
*FrameNameStr_get(void) {
5223 PyObject
*pyobj
= 0;
5227 pyobj
= PyUnicode_FromWideChar((&wxPyFrameNameStr
)->c_str(), (&wxPyFrameNameStr
)->Len());
5229 pyobj
= PyString_FromStringAndSize((&wxPyFrameNameStr
)->c_str(), (&wxPyFrameNameStr
)->Len());
5236 SWIGINTERN
int DialogNameStr_set(PyObject
*) {
5237 SWIG_Error(SWIG_AttributeError
,"Variable DialogNameStr is read-only.");
5242 SWIGINTERN PyObject
*DialogNameStr_get(void) {
5243 PyObject
*pyobj
= 0;
5247 pyobj
= PyUnicode_FromWideChar((&wxPyDialogNameStr
)->c_str(), (&wxPyDialogNameStr
)->Len());
5249 pyobj
= PyString_FromStringAndSize((&wxPyDialogNameStr
)->c_str(), (&wxPyDialogNameStr
)->Len());
5256 SWIGINTERN
int StatusLineNameStr_set(PyObject
*) {
5257 SWIG_Error(SWIG_AttributeError
,"Variable StatusLineNameStr is read-only.");
5262 SWIGINTERN PyObject
*StatusLineNameStr_get(void) {
5263 PyObject
*pyobj
= 0;
5267 pyobj
= PyUnicode_FromWideChar((&wxPyStatusLineNameStr
)->c_str(), (&wxPyStatusLineNameStr
)->Len());
5269 pyobj
= PyString_FromStringAndSize((&wxPyStatusLineNameStr
)->c_str(), (&wxPyStatusLineNameStr
)->Len());
5276 SWIGINTERN
int ToolBarNameStr_set(PyObject
*) {
5277 SWIG_Error(SWIG_AttributeError
,"Variable ToolBarNameStr is read-only.");
5282 SWIGINTERN PyObject
*ToolBarNameStr_get(void) {
5283 PyObject
*pyobj
= 0;
5287 pyobj
= PyUnicode_FromWideChar((&wxPyToolBarNameStr
)->c_str(), (&wxPyToolBarNameStr
)->Len());
5289 pyobj
= PyString_FromStringAndSize((&wxPyToolBarNameStr
)->c_str(), (&wxPyToolBarNameStr
)->Len());
5296 SWIGINTERN PyObject
*_wrap_TopLevelWindow_Maximize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5297 PyObject
*resultobj
= 0;
5298 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
5299 bool arg2
= (bool) true ;
5304 PyObject
* obj0
= 0 ;
5305 PyObject
* obj1
= 0 ;
5306 char * kwnames
[] = {
5307 (char *) "self",(char *) "maximize", NULL
5310 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:TopLevelWindow_Maximize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5311 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTopLevelWindow
, 0 | 0 );
5312 if (!SWIG_IsOK(res1
)) {
5313 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TopLevelWindow_Maximize" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
5315 arg1
= reinterpret_cast< wxTopLevelWindow
* >(argp1
);
5317 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
5318 if (!SWIG_IsOK(ecode2
)) {
5319 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TopLevelWindow_Maximize" "', expected argument " "2"" of type '" "bool""'");
5321 arg2
= static_cast< bool >(val2
);
5324 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5325 (arg1
)->Maximize(arg2
);
5326 wxPyEndAllowThreads(__tstate
);
5327 if (PyErr_Occurred()) SWIG_fail
;
5329 resultobj
= SWIG_Py_Void();
5336 SWIGINTERN PyObject
*_wrap_TopLevelWindow_Restore(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5337 PyObject
*resultobj
= 0;
5338 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
5341 PyObject
*swig_obj
[1] ;
5343 if (!args
) SWIG_fail
;
5345 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTopLevelWindow
, 0 | 0 );
5346 if (!SWIG_IsOK(res1
)) {
5347 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TopLevelWindow_Restore" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
5349 arg1
= reinterpret_cast< wxTopLevelWindow
* >(argp1
);
5351 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5353 wxPyEndAllowThreads(__tstate
);
5354 if (PyErr_Occurred()) SWIG_fail
;
5356 resultobj
= SWIG_Py_Void();
5363 SWIGINTERN PyObject
*_wrap_TopLevelWindow_Iconize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5364 PyObject
*resultobj
= 0;
5365 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
5366 bool arg2
= (bool) true ;
5371 PyObject
* obj0
= 0 ;
5372 PyObject
* obj1
= 0 ;
5373 char * kwnames
[] = {
5374 (char *) "self",(char *) "iconize", NULL
5377 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:TopLevelWindow_Iconize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5378 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTopLevelWindow
, 0 | 0 );
5379 if (!SWIG_IsOK(res1
)) {
5380 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TopLevelWindow_Iconize" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
5382 arg1
= reinterpret_cast< wxTopLevelWindow
* >(argp1
);
5384 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
5385 if (!SWIG_IsOK(ecode2
)) {
5386 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TopLevelWindow_Iconize" "', expected argument " "2"" of type '" "bool""'");
5388 arg2
= static_cast< bool >(val2
);
5391 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5392 (arg1
)->Iconize(arg2
);
5393 wxPyEndAllowThreads(__tstate
);
5394 if (PyErr_Occurred()) SWIG_fail
;
5396 resultobj
= SWIG_Py_Void();
5403 SWIGINTERN PyObject
*_wrap_TopLevelWindow_IsMaximized(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5404 PyObject
*resultobj
= 0;
5405 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
5409 PyObject
*swig_obj
[1] ;
5411 if (!args
) SWIG_fail
;
5413 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTopLevelWindow
, 0 | 0 );
5414 if (!SWIG_IsOK(res1
)) {
5415 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TopLevelWindow_IsMaximized" "', expected argument " "1"" of type '" "wxTopLevelWindow const *""'");
5417 arg1
= reinterpret_cast< wxTopLevelWindow
* >(argp1
);
5419 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5420 result
= (bool)((wxTopLevelWindow
const *)arg1
)->IsMaximized();
5421 wxPyEndAllowThreads(__tstate
);
5422 if (PyErr_Occurred()) SWIG_fail
;
5425 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5433 SWIGINTERN PyObject
*_wrap_TopLevelWindow_IsAlwaysMaximized(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5434 PyObject
*resultobj
= 0;
5435 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
5439 PyObject
*swig_obj
[1] ;
5441 if (!args
) SWIG_fail
;
5443 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTopLevelWindow
, 0 | 0 );
5444 if (!SWIG_IsOK(res1
)) {
5445 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TopLevelWindow_IsAlwaysMaximized" "', expected argument " "1"" of type '" "wxTopLevelWindow const *""'");
5447 arg1
= reinterpret_cast< wxTopLevelWindow
* >(argp1
);
5449 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5450 result
= (bool)((wxTopLevelWindow
const *)arg1
)->IsAlwaysMaximized();
5451 wxPyEndAllowThreads(__tstate
);
5452 if (PyErr_Occurred()) SWIG_fail
;
5455 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5463 SWIGINTERN PyObject
*_wrap_TopLevelWindow_IsIconized(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5464 PyObject
*resultobj
= 0;
5465 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
5469 PyObject
*swig_obj
[1] ;
5471 if (!args
) SWIG_fail
;
5473 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTopLevelWindow
, 0 | 0 );
5474 if (!SWIG_IsOK(res1
)) {
5475 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TopLevelWindow_IsIconized" "', expected argument " "1"" of type '" "wxTopLevelWindow const *""'");
5477 arg1
= reinterpret_cast< wxTopLevelWindow
* >(argp1
);
5479 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5480 result
= (bool)((wxTopLevelWindow
const *)arg1
)->IsIconized();
5481 wxPyEndAllowThreads(__tstate
);
5482 if (PyErr_Occurred()) SWIG_fail
;
5485 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5493 SWIGINTERN PyObject
*_wrap_TopLevelWindow_GetIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5494 PyObject
*resultobj
= 0;
5495 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
5499 PyObject
*swig_obj
[1] ;
5501 if (!args
) SWIG_fail
;
5503 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTopLevelWindow
, 0 | 0 );
5504 if (!SWIG_IsOK(res1
)) {
5505 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TopLevelWindow_GetIcon" "', expected argument " "1"" of type '" "wxTopLevelWindow const *""'");
5507 arg1
= reinterpret_cast< wxTopLevelWindow
* >(argp1
);
5509 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5510 result
= ((wxTopLevelWindow
const *)arg1
)->GetIcon();
5511 wxPyEndAllowThreads(__tstate
);
5512 if (PyErr_Occurred()) SWIG_fail
;
5514 resultobj
= SWIG_NewPointerObj((new wxIcon(static_cast< const wxIcon
& >(result
))), SWIGTYPE_p_wxIcon
, SWIG_POINTER_OWN
| 0 );
5521 SWIGINTERN PyObject
*_wrap_TopLevelWindow_SetIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5522 PyObject
*resultobj
= 0;
5523 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
5529 PyObject
* obj0
= 0 ;
5530 PyObject
* obj1
= 0 ;
5531 char * kwnames
[] = {
5532 (char *) "self",(char *) "icon", NULL
5535 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TopLevelWindow_SetIcon",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5536 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTopLevelWindow
, 0 | 0 );
5537 if (!SWIG_IsOK(res1
)) {
5538 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TopLevelWindow_SetIcon" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
5540 arg1
= reinterpret_cast< wxTopLevelWindow
* >(argp1
);
5541 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxIcon
, 0 | 0);
5542 if (!SWIG_IsOK(res2
)) {
5543 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TopLevelWindow_SetIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
5546 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TopLevelWindow_SetIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
5548 arg2
= reinterpret_cast< wxIcon
* >(argp2
);
5550 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5551 (arg1
)->SetIcon((wxIcon
const &)*arg2
);
5552 wxPyEndAllowThreads(__tstate
);
5553 if (PyErr_Occurred()) SWIG_fail
;
5555 resultobj
= SWIG_Py_Void();
5562 SWIGINTERN PyObject
*_wrap_TopLevelWindow_SetIcons(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5563 PyObject
*resultobj
= 0;
5564 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
5565 wxIconBundle
*arg2
= 0 ;
5570 PyObject
* obj0
= 0 ;
5571 PyObject
* obj1
= 0 ;
5572 char * kwnames
[] = {
5573 (char *) "self",(char *) "icons", NULL
5576 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TopLevelWindow_SetIcons",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5577 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTopLevelWindow
, 0 | 0 );
5578 if (!SWIG_IsOK(res1
)) {
5579 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TopLevelWindow_SetIcons" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
5581 arg1
= reinterpret_cast< wxTopLevelWindow
* >(argp1
);
5582 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxIconBundle
, 0 | 0);
5583 if (!SWIG_IsOK(res2
)) {
5584 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TopLevelWindow_SetIcons" "', expected argument " "2"" of type '" "wxIconBundle const &""'");
5587 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TopLevelWindow_SetIcons" "', expected argument " "2"" of type '" "wxIconBundle const &""'");
5589 arg2
= reinterpret_cast< wxIconBundle
* >(argp2
);
5591 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5592 (arg1
)->SetIcons((wxIconBundle
const &)*arg2
);
5593 wxPyEndAllowThreads(__tstate
);
5594 if (PyErr_Occurred()) SWIG_fail
;
5596 resultobj
= SWIG_Py_Void();
5603 SWIGINTERN PyObject
*_wrap_TopLevelWindow_ShowFullScreen(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5604 PyObject
*resultobj
= 0;
5605 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
5607 long arg3
= (long) wxFULLSCREEN_ALL
;
5615 PyObject
* obj0
= 0 ;
5616 PyObject
* obj1
= 0 ;
5617 PyObject
* obj2
= 0 ;
5618 char * kwnames
[] = {
5619 (char *) "self",(char *) "show",(char *) "style", NULL
5622 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TopLevelWindow_ShowFullScreen",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
5623 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTopLevelWindow
, 0 | 0 );
5624 if (!SWIG_IsOK(res1
)) {
5625 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TopLevelWindow_ShowFullScreen" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
5627 arg1
= reinterpret_cast< wxTopLevelWindow
* >(argp1
);
5628 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
5629 if (!SWIG_IsOK(ecode2
)) {
5630 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TopLevelWindow_ShowFullScreen" "', expected argument " "2"" of type '" "bool""'");
5632 arg2
= static_cast< bool >(val2
);
5634 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
5635 if (!SWIG_IsOK(ecode3
)) {
5636 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TopLevelWindow_ShowFullScreen" "', expected argument " "3"" of type '" "long""'");
5638 arg3
= static_cast< long >(val3
);
5641 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5642 result
= (bool)(arg1
)->ShowFullScreen(arg2
,arg3
);
5643 wxPyEndAllowThreads(__tstate
);
5644 if (PyErr_Occurred()) SWIG_fail
;
5647 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5655 SWIGINTERN PyObject
*_wrap_TopLevelWindow_IsFullScreen(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5656 PyObject
*resultobj
= 0;
5657 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
5661 PyObject
*swig_obj
[1] ;
5663 if (!args
) SWIG_fail
;
5665 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTopLevelWindow
, 0 | 0 );
5666 if (!SWIG_IsOK(res1
)) {
5667 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TopLevelWindow_IsFullScreen" "', expected argument " "1"" of type '" "wxTopLevelWindow const *""'");
5669 arg1
= reinterpret_cast< wxTopLevelWindow
* >(argp1
);
5671 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5672 result
= (bool)((wxTopLevelWindow
const *)arg1
)->IsFullScreen();
5673 wxPyEndAllowThreads(__tstate
);
5674 if (PyErr_Occurred()) SWIG_fail
;
5677 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5685 SWIGINTERN PyObject
*_wrap_TopLevelWindow_SetTitle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5686 PyObject
*resultobj
= 0;
5687 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
5688 wxString
*arg2
= 0 ;
5691 bool temp2
= false ;
5692 PyObject
* obj0
= 0 ;
5693 PyObject
* obj1
= 0 ;
5694 char * kwnames
[] = {
5695 (char *) "self",(char *) "title", NULL
5698 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TopLevelWindow_SetTitle",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5699 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTopLevelWindow
, 0 | 0 );
5700 if (!SWIG_IsOK(res1
)) {
5701 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TopLevelWindow_SetTitle" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
5703 arg1
= reinterpret_cast< wxTopLevelWindow
* >(argp1
);
5705 arg2
= wxString_in_helper(obj1
);
5706 if (arg2
== NULL
) SWIG_fail
;
5710 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5711 (arg1
)->SetTitle((wxString
const &)*arg2
);
5712 wxPyEndAllowThreads(__tstate
);
5713 if (PyErr_Occurred()) SWIG_fail
;
5715 resultobj
= SWIG_Py_Void();
5730 SWIGINTERN PyObject
*_wrap_TopLevelWindow_GetTitle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5731 PyObject
*resultobj
= 0;
5732 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
5736 PyObject
*swig_obj
[1] ;
5738 if (!args
) SWIG_fail
;
5740 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTopLevelWindow
, 0 | 0 );
5741 if (!SWIG_IsOK(res1
)) {
5742 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TopLevelWindow_GetTitle" "', expected argument " "1"" of type '" "wxTopLevelWindow const *""'");
5744 arg1
= reinterpret_cast< wxTopLevelWindow
* >(argp1
);
5746 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5747 result
= ((wxTopLevelWindow
const *)arg1
)->GetTitle();
5748 wxPyEndAllowThreads(__tstate
);
5749 if (PyErr_Occurred()) SWIG_fail
;
5753 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
5755 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
5764 SWIGINTERN PyObject
*_wrap_TopLevelWindow_SetShape(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5765 PyObject
*resultobj
= 0;
5766 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
5767 wxRegion
*arg2
= 0 ;
5773 PyObject
* obj0
= 0 ;
5774 PyObject
* obj1
= 0 ;
5775 char * kwnames
[] = {
5776 (char *) "self",(char *) "region", NULL
5779 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TopLevelWindow_SetShape",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5780 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTopLevelWindow
, 0 | 0 );
5781 if (!SWIG_IsOK(res1
)) {
5782 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TopLevelWindow_SetShape" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
5784 arg1
= reinterpret_cast< wxTopLevelWindow
* >(argp1
);
5785 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxRegion
, 0 | 0);
5786 if (!SWIG_IsOK(res2
)) {
5787 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TopLevelWindow_SetShape" "', expected argument " "2"" of type '" "wxRegion const &""'");
5790 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TopLevelWindow_SetShape" "', expected argument " "2"" of type '" "wxRegion const &""'");
5792 arg2
= reinterpret_cast< wxRegion
* >(argp2
);
5794 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5795 result
= (bool)(arg1
)->SetShape((wxRegion
const &)*arg2
);
5796 wxPyEndAllowThreads(__tstate
);
5797 if (PyErr_Occurred()) SWIG_fail
;
5800 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5808 SWIGINTERN PyObject
*_wrap_TopLevelWindow_RequestUserAttention(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5809 PyObject
*resultobj
= 0;
5810 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
5811 int arg2
= (int) wxUSER_ATTENTION_INFO
;
5816 PyObject
* obj0
= 0 ;
5817 PyObject
* obj1
= 0 ;
5818 char * kwnames
[] = {
5819 (char *) "self",(char *) "flags", NULL
5822 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:TopLevelWindow_RequestUserAttention",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5823 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTopLevelWindow
, 0 | 0 );
5824 if (!SWIG_IsOK(res1
)) {
5825 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TopLevelWindow_RequestUserAttention" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
5827 arg1
= reinterpret_cast< wxTopLevelWindow
* >(argp1
);
5829 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
5830 if (!SWIG_IsOK(ecode2
)) {
5831 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TopLevelWindow_RequestUserAttention" "', expected argument " "2"" of type '" "int""'");
5833 arg2
= static_cast< int >(val2
);
5836 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5837 (arg1
)->RequestUserAttention(arg2
);
5838 wxPyEndAllowThreads(__tstate
);
5839 if (PyErr_Occurred()) SWIG_fail
;
5841 resultobj
= SWIG_Py_Void();
5848 SWIGINTERN PyObject
*_wrap_TopLevelWindow_IsActive(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5849 PyObject
*resultobj
= 0;
5850 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
5854 PyObject
*swig_obj
[1] ;
5856 if (!args
) SWIG_fail
;
5858 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTopLevelWindow
, 0 | 0 );
5859 if (!SWIG_IsOK(res1
)) {
5860 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TopLevelWindow_IsActive" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
5862 arg1
= reinterpret_cast< wxTopLevelWindow
* >(argp1
);
5864 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5865 result
= (bool)(arg1
)->IsActive();
5866 wxPyEndAllowThreads(__tstate
);
5867 if (PyErr_Occurred()) SWIG_fail
;
5870 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5878 SWIGINTERN PyObject
*_wrap_TopLevelWindow_MacSetMetalAppearance(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5879 PyObject
*resultobj
= 0;
5880 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
5886 PyObject
* obj0
= 0 ;
5887 PyObject
* obj1
= 0 ;
5888 char * kwnames
[] = {
5889 (char *) "self",(char *) "on", NULL
5892 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TopLevelWindow_MacSetMetalAppearance",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5893 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTopLevelWindow
, 0 | 0 );
5894 if (!SWIG_IsOK(res1
)) {
5895 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TopLevelWindow_MacSetMetalAppearance" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
5897 arg1
= reinterpret_cast< wxTopLevelWindow
* >(argp1
);
5898 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
5899 if (!SWIG_IsOK(ecode2
)) {
5900 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TopLevelWindow_MacSetMetalAppearance" "', expected argument " "2"" of type '" "bool""'");
5902 arg2
= static_cast< bool >(val2
);
5904 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5905 wxTopLevelWindow_MacSetMetalAppearance(arg1
,arg2
);
5906 wxPyEndAllowThreads(__tstate
);
5907 if (PyErr_Occurred()) SWIG_fail
;
5909 resultobj
= SWIG_Py_Void();
5916 SWIGINTERN PyObject
*_wrap_TopLevelWindow_MacGetMetalAppearance(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5917 PyObject
*resultobj
= 0;
5918 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
5922 PyObject
*swig_obj
[1] ;
5924 if (!args
) SWIG_fail
;
5926 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTopLevelWindow
, 0 | 0 );
5927 if (!SWIG_IsOK(res1
)) {
5928 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TopLevelWindow_MacGetMetalAppearance" "', expected argument " "1"" of type '" "wxTopLevelWindow const *""'");
5930 arg1
= reinterpret_cast< wxTopLevelWindow
* >(argp1
);
5932 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5933 result
= (bool)wxTopLevelWindow_MacGetMetalAppearance((wxTopLevelWindow
const *)arg1
);
5934 wxPyEndAllowThreads(__tstate
);
5935 if (PyErr_Occurred()) SWIG_fail
;
5938 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5946 SWIGINTERN PyObject
*_wrap_TopLevelWindow_CenterOnScreen(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5947 PyObject
*resultobj
= 0;
5948 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
5949 int arg2
= (int) wxBOTH
;
5954 PyObject
* obj0
= 0 ;
5955 PyObject
* obj1
= 0 ;
5956 char * kwnames
[] = {
5957 (char *) "self",(char *) "dir", NULL
5960 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:TopLevelWindow_CenterOnScreen",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5961 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTopLevelWindow
, 0 | 0 );
5962 if (!SWIG_IsOK(res1
)) {
5963 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TopLevelWindow_CenterOnScreen" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
5965 arg1
= reinterpret_cast< wxTopLevelWindow
* >(argp1
);
5967 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
5968 if (!SWIG_IsOK(ecode2
)) {
5969 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TopLevelWindow_CenterOnScreen" "', expected argument " "2"" of type '" "int""'");
5971 arg2
= static_cast< int >(val2
);
5974 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5975 (arg1
)->CenterOnScreen(arg2
);
5976 wxPyEndAllowThreads(__tstate
);
5977 if (PyErr_Occurred()) SWIG_fail
;
5979 resultobj
= SWIG_Py_Void();
5986 SWIGINTERN PyObject
*_wrap_TopLevelWindow_EnableCloseButton(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5987 PyObject
*resultobj
= 0;
5988 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
5989 bool arg2
= (bool) true ;
5995 PyObject
* obj0
= 0 ;
5996 PyObject
* obj1
= 0 ;
5997 char * kwnames
[] = {
5998 (char *) "self",(char *) "enable", NULL
6001 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:TopLevelWindow_EnableCloseButton",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6002 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTopLevelWindow
, 0 | 0 );
6003 if (!SWIG_IsOK(res1
)) {
6004 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TopLevelWindow_EnableCloseButton" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
6006 arg1
= reinterpret_cast< wxTopLevelWindow
* >(argp1
);
6008 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
6009 if (!SWIG_IsOK(ecode2
)) {
6010 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TopLevelWindow_EnableCloseButton" "', expected argument " "2"" of type '" "bool""'");
6012 arg2
= static_cast< bool >(val2
);
6015 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6016 result
= (bool)wxTopLevelWindow_EnableCloseButton(arg1
,arg2
);
6017 wxPyEndAllowThreads(__tstate
);
6018 if (PyErr_Occurred()) SWIG_fail
;
6021 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6029 SWIGINTERN PyObject
*_wrap_TopLevelWindow_GetDefaultItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6030 PyObject
*resultobj
= 0;
6031 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
6032 wxWindow
*result
= 0 ;
6035 PyObject
*swig_obj
[1] ;
6037 if (!args
) SWIG_fail
;
6039 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTopLevelWindow
, 0 | 0 );
6040 if (!SWIG_IsOK(res1
)) {
6041 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TopLevelWindow_GetDefaultItem" "', expected argument " "1"" of type '" "wxTopLevelWindow const *""'");
6043 arg1
= reinterpret_cast< wxTopLevelWindow
* >(argp1
);
6045 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6046 result
= (wxWindow
*)((wxTopLevelWindow
const *)arg1
)->GetDefaultItem();
6047 wxPyEndAllowThreads(__tstate
);
6048 if (PyErr_Occurred()) SWIG_fail
;
6051 resultobj
= wxPyMake_wxObject(result
, 0);
6059 SWIGINTERN PyObject
*_wrap_TopLevelWindow_SetDefaultItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6060 PyObject
*resultobj
= 0;
6061 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
6062 wxWindow
*arg2
= (wxWindow
*) 0 ;
6063 wxWindow
*result
= 0 ;
6068 PyObject
* obj0
= 0 ;
6069 PyObject
* obj1
= 0 ;
6070 char * kwnames
[] = {
6071 (char *) "self",(char *) "child", NULL
6074 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TopLevelWindow_SetDefaultItem",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6075 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTopLevelWindow
, 0 | 0 );
6076 if (!SWIG_IsOK(res1
)) {
6077 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TopLevelWindow_SetDefaultItem" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
6079 arg1
= reinterpret_cast< wxTopLevelWindow
* >(argp1
);
6080 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
6081 if (!SWIG_IsOK(res2
)) {
6082 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TopLevelWindow_SetDefaultItem" "', expected argument " "2"" of type '" "wxWindow *""'");
6084 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
6086 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6087 result
= (wxWindow
*)(arg1
)->SetDefaultItem(arg2
);
6088 wxPyEndAllowThreads(__tstate
);
6089 if (PyErr_Occurred()) SWIG_fail
;
6092 resultobj
= wxPyMake_wxObject(result
, 0);
6100 SWIGINTERN PyObject
*_wrap_TopLevelWindow_SetTmpDefaultItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6101 PyObject
*resultobj
= 0;
6102 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
6103 wxWindow
*arg2
= (wxWindow
*) 0 ;
6108 PyObject
* obj0
= 0 ;
6109 PyObject
* obj1
= 0 ;
6110 char * kwnames
[] = {
6111 (char *) "self",(char *) "win", NULL
6114 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TopLevelWindow_SetTmpDefaultItem",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6115 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTopLevelWindow
, 0 | 0 );
6116 if (!SWIG_IsOK(res1
)) {
6117 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TopLevelWindow_SetTmpDefaultItem" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
6119 arg1
= reinterpret_cast< wxTopLevelWindow
* >(argp1
);
6120 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
6121 if (!SWIG_IsOK(res2
)) {
6122 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TopLevelWindow_SetTmpDefaultItem" "', expected argument " "2"" of type '" "wxWindow *""'");
6124 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
6126 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6127 (arg1
)->SetTmpDefaultItem(arg2
);
6128 wxPyEndAllowThreads(__tstate
);
6129 if (PyErr_Occurred()) SWIG_fail
;
6131 resultobj
= SWIG_Py_Void();
6138 SWIGINTERN PyObject
*_wrap_TopLevelWindow_GetTmpDefaultItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6139 PyObject
*resultobj
= 0;
6140 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
6141 wxWindow
*result
= 0 ;
6144 PyObject
*swig_obj
[1] ;
6146 if (!args
) SWIG_fail
;
6148 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTopLevelWindow
, 0 | 0 );
6149 if (!SWIG_IsOK(res1
)) {
6150 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TopLevelWindow_GetTmpDefaultItem" "', expected argument " "1"" of type '" "wxTopLevelWindow const *""'");
6152 arg1
= reinterpret_cast< wxTopLevelWindow
* >(argp1
);
6154 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6155 result
= (wxWindow
*)((wxTopLevelWindow
const *)arg1
)->GetTmpDefaultItem();
6156 wxPyEndAllowThreads(__tstate
);
6157 if (PyErr_Occurred()) SWIG_fail
;
6160 resultobj
= wxPyMake_wxObject(result
, 0);
6168 SWIGINTERN PyObject
*TopLevelWindow_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6170 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
6171 SWIG_TypeNewClientData(SWIGTYPE_p_wxTopLevelWindow
, SWIG_NewClientData(obj
));
6172 return SWIG_Py_Void();
6175 SWIGINTERN PyObject
*_wrap_new_Frame(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6176 PyObject
*resultobj
= 0;
6177 wxWindow
*arg1
= (wxWindow
*) 0 ;
6178 int arg2
= (int) (int)-1 ;
6179 wxString
const &arg3_defvalue
= wxPyEmptyString
;
6180 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
6181 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
6182 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
6183 wxSize
const &arg5_defvalue
= wxDefaultSize
;
6184 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
6185 long arg6
= (long) wxDEFAULT_FRAME_STYLE
;
6186 wxString
const &arg7_defvalue
= wxPyFrameNameStr
;
6187 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
6188 wxFrame
*result
= 0 ;
6193 bool temp3
= false ;
6198 bool temp7
= false ;
6199 PyObject
* obj0
= 0 ;
6200 PyObject
* obj1
= 0 ;
6201 PyObject
* obj2
= 0 ;
6202 PyObject
* obj3
= 0 ;
6203 PyObject
* obj4
= 0 ;
6204 PyObject
* obj5
= 0 ;
6205 PyObject
* obj6
= 0 ;
6206 char * kwnames
[] = {
6207 (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
6210 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_Frame",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
6211 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
6212 if (!SWIG_IsOK(res1
)) {
6213 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_Frame" "', expected argument " "1"" of type '" "wxWindow *""'");
6215 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
6217 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
6218 if (!SWIG_IsOK(ecode2
)) {
6219 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Frame" "', expected argument " "2"" of type '" "int""'");
6221 arg2
= static_cast< int >(val2
);
6225 arg3
= wxString_in_helper(obj2
);
6226 if (arg3
== NULL
) SWIG_fail
;
6233 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
6239 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
6243 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
6244 if (!SWIG_IsOK(ecode6
)) {
6245 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_Frame" "', expected argument " "6"" of type '" "long""'");
6247 arg6
= static_cast< long >(val6
);
6251 arg7
= wxString_in_helper(obj6
);
6252 if (arg7
== NULL
) SWIG_fail
;
6257 if (!wxPyCheckForApp()) SWIG_fail
;
6258 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6259 result
= (wxFrame
*)new wxFrame(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
6260 wxPyEndAllowThreads(__tstate
);
6261 if (PyErr_Occurred()) SWIG_fail
;
6263 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFrame
, SWIG_POINTER_NEW
| 0 );
6286 SWIGINTERN PyObject
*_wrap_new_PreFrame(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6287 PyObject
*resultobj
= 0;
6288 wxFrame
*result
= 0 ;
6290 if (!SWIG_Python_UnpackTuple(args
,"new_PreFrame",0,0,0)) SWIG_fail
;
6292 if (!wxPyCheckForApp()) SWIG_fail
;
6293 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6294 result
= (wxFrame
*)new wxFrame();
6295 wxPyEndAllowThreads(__tstate
);
6296 if (PyErr_Occurred()) SWIG_fail
;
6298 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFrame
, SWIG_POINTER_OWN
| 0 );
6305 SWIGINTERN PyObject
*_wrap_Frame_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6306 PyObject
*resultobj
= 0;
6307 wxFrame
*arg1
= (wxFrame
*) 0 ;
6308 wxWindow
*arg2
= (wxWindow
*) 0 ;
6309 int arg3
= (int) (int)-1 ;
6310 wxString
const &arg4_defvalue
= wxPyEmptyString
;
6311 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
6312 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
6313 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
6314 wxSize
const &arg6_defvalue
= wxDefaultSize
;
6315 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
6316 long arg7
= (long) wxDEFAULT_FRAME_STYLE
;
6317 wxString
const &arg8_defvalue
= wxPyFrameNameStr
;
6318 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
6326 bool temp4
= false ;
6331 bool temp8
= false ;
6332 PyObject
* obj0
= 0 ;
6333 PyObject
* obj1
= 0 ;
6334 PyObject
* obj2
= 0 ;
6335 PyObject
* obj3
= 0 ;
6336 PyObject
* obj4
= 0 ;
6337 PyObject
* obj5
= 0 ;
6338 PyObject
* obj6
= 0 ;
6339 PyObject
* obj7
= 0 ;
6340 char * kwnames
[] = {
6341 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
6344 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:Frame_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
6345 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFrame
, 0 | 0 );
6346 if (!SWIG_IsOK(res1
)) {
6347 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Frame_Create" "', expected argument " "1"" of type '" "wxFrame *""'");
6349 arg1
= reinterpret_cast< wxFrame
* >(argp1
);
6350 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
6351 if (!SWIG_IsOK(res2
)) {
6352 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Frame_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
6354 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
6356 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
6357 if (!SWIG_IsOK(ecode3
)) {
6358 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Frame_Create" "', expected argument " "3"" of type '" "int""'");
6360 arg3
= static_cast< int >(val3
);
6364 arg4
= wxString_in_helper(obj3
);
6365 if (arg4
== NULL
) SWIG_fail
;
6372 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
6378 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
6382 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
6383 if (!SWIG_IsOK(ecode7
)) {
6384 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "Frame_Create" "', expected argument " "7"" of type '" "long""'");
6386 arg7
= static_cast< long >(val7
);
6390 arg8
= wxString_in_helper(obj7
);
6391 if (arg8
== NULL
) SWIG_fail
;
6396 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6397 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxString
const &)*arg8
);
6398 wxPyEndAllowThreads(__tstate
);
6399 if (PyErr_Occurred()) SWIG_fail
;
6402 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6426 SWIGINTERN PyObject
*_wrap_Frame_SendSizeEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6427 PyObject
*resultobj
= 0;
6428 wxFrame
*arg1
= (wxFrame
*) 0 ;
6431 PyObject
*swig_obj
[1] ;
6433 if (!args
) SWIG_fail
;
6435 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFrame
, 0 | 0 );
6436 if (!SWIG_IsOK(res1
)) {
6437 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Frame_SendSizeEvent" "', expected argument " "1"" of type '" "wxFrame *""'");
6439 arg1
= reinterpret_cast< wxFrame
* >(argp1
);
6441 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6442 (arg1
)->SendSizeEvent();
6443 wxPyEndAllowThreads(__tstate
);
6444 if (PyErr_Occurred()) SWIG_fail
;
6446 resultobj
= SWIG_Py_Void();
6453 SWIGINTERN PyObject
*_wrap_Frame_SetMenuBar(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6454 PyObject
*resultobj
= 0;
6455 wxFrame
*arg1
= (wxFrame
*) 0 ;
6456 wxMenuBar
*arg2
= (wxMenuBar
*) 0 ;
6461 PyObject
* obj0
= 0 ;
6462 PyObject
* obj1
= 0 ;
6463 char * kwnames
[] = {
6464 (char *) "self",(char *) "menubar", NULL
6467 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Frame_SetMenuBar",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6468 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFrame
, 0 | 0 );
6469 if (!SWIG_IsOK(res1
)) {
6470 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Frame_SetMenuBar" "', expected argument " "1"" of type '" "wxFrame *""'");
6472 arg1
= reinterpret_cast< wxFrame
* >(argp1
);
6473 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxMenuBar
, 0 | 0 );
6474 if (!SWIG_IsOK(res2
)) {
6475 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Frame_SetMenuBar" "', expected argument " "2"" of type '" "wxMenuBar *""'");
6477 arg2
= reinterpret_cast< wxMenuBar
* >(argp2
);
6479 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6480 (arg1
)->SetMenuBar(arg2
);
6481 wxPyEndAllowThreads(__tstate
);
6482 if (PyErr_Occurred()) SWIG_fail
;
6484 resultobj
= SWIG_Py_Void();
6491 SWIGINTERN PyObject
*_wrap_Frame_GetMenuBar(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6492 PyObject
*resultobj
= 0;
6493 wxFrame
*arg1
= (wxFrame
*) 0 ;
6494 wxMenuBar
*result
= 0 ;
6497 PyObject
*swig_obj
[1] ;
6499 if (!args
) SWIG_fail
;
6501 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFrame
, 0 | 0 );
6502 if (!SWIG_IsOK(res1
)) {
6503 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Frame_GetMenuBar" "', expected argument " "1"" of type '" "wxFrame const *""'");
6505 arg1
= reinterpret_cast< wxFrame
* >(argp1
);
6507 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6508 result
= (wxMenuBar
*)((wxFrame
const *)arg1
)->GetMenuBar();
6509 wxPyEndAllowThreads(__tstate
);
6510 if (PyErr_Occurred()) SWIG_fail
;
6513 resultobj
= wxPyMake_wxObject(result
, 0);
6521 SWIGINTERN PyObject
*_wrap_Frame_ProcessCommand(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6522 PyObject
*resultobj
= 0;
6523 wxFrame
*arg1
= (wxFrame
*) 0 ;
6530 PyObject
* obj0
= 0 ;
6531 PyObject
* obj1
= 0 ;
6532 char * kwnames
[] = {
6533 (char *) "self",(char *) "winid", NULL
6536 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Frame_ProcessCommand",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6537 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFrame
, 0 | 0 );
6538 if (!SWIG_IsOK(res1
)) {
6539 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Frame_ProcessCommand" "', expected argument " "1"" of type '" "wxFrame *""'");
6541 arg1
= reinterpret_cast< wxFrame
* >(argp1
);
6542 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
6543 if (!SWIG_IsOK(ecode2
)) {
6544 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Frame_ProcessCommand" "', expected argument " "2"" of type '" "int""'");
6546 arg2
= static_cast< int >(val2
);
6548 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6549 result
= (bool)(arg1
)->ProcessCommand(arg2
);
6550 wxPyEndAllowThreads(__tstate
);
6551 if (PyErr_Occurred()) SWIG_fail
;
6554 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6562 SWIGINTERN PyObject
*_wrap_Frame_CreateStatusBar(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6563 PyObject
*resultobj
= 0;
6564 wxFrame
*arg1
= (wxFrame
*) 0 ;
6565 int arg2
= (int) 1 ;
6566 long arg3
= (long) wxDEFAULT_STATUSBAR_STYLE
;
6567 int arg4
= (int) 0 ;
6568 wxString
const &arg5_defvalue
= wxPyStatusLineNameStr
;
6569 wxString
*arg5
= (wxString
*) &arg5_defvalue
;
6570 wxStatusBar
*result
= 0 ;
6579 bool temp5
= false ;
6580 PyObject
* obj0
= 0 ;
6581 PyObject
* obj1
= 0 ;
6582 PyObject
* obj2
= 0 ;
6583 PyObject
* obj3
= 0 ;
6584 PyObject
* obj4
= 0 ;
6585 char * kwnames
[] = {
6586 (char *) "self",(char *) "number",(char *) "style",(char *) "winid",(char *) "name", NULL
6589 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOO:Frame_CreateStatusBar",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
6590 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFrame
, 0 | 0 );
6591 if (!SWIG_IsOK(res1
)) {
6592 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Frame_CreateStatusBar" "', expected argument " "1"" of type '" "wxFrame *""'");
6594 arg1
= reinterpret_cast< wxFrame
* >(argp1
);
6596 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
6597 if (!SWIG_IsOK(ecode2
)) {
6598 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Frame_CreateStatusBar" "', expected argument " "2"" of type '" "int""'");
6600 arg2
= static_cast< int >(val2
);
6603 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
6604 if (!SWIG_IsOK(ecode3
)) {
6605 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Frame_CreateStatusBar" "', expected argument " "3"" of type '" "long""'");
6607 arg3
= static_cast< long >(val3
);
6610 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
6611 if (!SWIG_IsOK(ecode4
)) {
6612 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Frame_CreateStatusBar" "', expected argument " "4"" of type '" "int""'");
6614 arg4
= static_cast< int >(val4
);
6618 arg5
= wxString_in_helper(obj4
);
6619 if (arg5
== NULL
) SWIG_fail
;
6624 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6625 result
= (wxStatusBar
*)(arg1
)->CreateStatusBar(arg2
,arg3
,arg4
,(wxString
const &)*arg5
);
6626 wxPyEndAllowThreads(__tstate
);
6627 if (PyErr_Occurred()) SWIG_fail
;
6630 resultobj
= wxPyMake_wxObject(result
, (bool)0);
6646 SWIGINTERN PyObject
*_wrap_Frame_GetStatusBar(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6647 PyObject
*resultobj
= 0;
6648 wxFrame
*arg1
= (wxFrame
*) 0 ;
6649 wxStatusBar
*result
= 0 ;
6652 PyObject
*swig_obj
[1] ;
6654 if (!args
) SWIG_fail
;
6656 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFrame
, 0 | 0 );
6657 if (!SWIG_IsOK(res1
)) {
6658 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Frame_GetStatusBar" "', expected argument " "1"" of type '" "wxFrame const *""'");
6660 arg1
= reinterpret_cast< wxFrame
* >(argp1
);
6662 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6663 result
= (wxStatusBar
*)((wxFrame
const *)arg1
)->GetStatusBar();
6664 wxPyEndAllowThreads(__tstate
);
6665 if (PyErr_Occurred()) SWIG_fail
;
6668 resultobj
= wxPyMake_wxObject(result
, (bool)0);
6676 SWIGINTERN PyObject
*_wrap_Frame_SetStatusBar(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6677 PyObject
*resultobj
= 0;
6678 wxFrame
*arg1
= (wxFrame
*) 0 ;
6679 wxStatusBar
*arg2
= (wxStatusBar
*) 0 ;
6684 PyObject
* obj0
= 0 ;
6685 PyObject
* obj1
= 0 ;
6686 char * kwnames
[] = {
6687 (char *) "self",(char *) "statBar", NULL
6690 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Frame_SetStatusBar",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6691 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFrame
, 0 | 0 );
6692 if (!SWIG_IsOK(res1
)) {
6693 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Frame_SetStatusBar" "', expected argument " "1"" of type '" "wxFrame *""'");
6695 arg1
= reinterpret_cast< wxFrame
* >(argp1
);
6696 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxStatusBar
, 0 | 0 );
6697 if (!SWIG_IsOK(res2
)) {
6698 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Frame_SetStatusBar" "', expected argument " "2"" of type '" "wxStatusBar *""'");
6700 arg2
= reinterpret_cast< wxStatusBar
* >(argp2
);
6702 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6703 (arg1
)->SetStatusBar(arg2
);
6704 wxPyEndAllowThreads(__tstate
);
6705 if (PyErr_Occurred()) SWIG_fail
;
6707 resultobj
= SWIG_Py_Void();
6714 SWIGINTERN PyObject
*_wrap_Frame_SetStatusText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6715 PyObject
*resultobj
= 0;
6716 wxFrame
*arg1
= (wxFrame
*) 0 ;
6717 wxString
*arg2
= 0 ;
6718 int arg3
= (int) 0 ;
6721 bool temp2
= false ;
6724 PyObject
* obj0
= 0 ;
6725 PyObject
* obj1
= 0 ;
6726 PyObject
* obj2
= 0 ;
6727 char * kwnames
[] = {
6728 (char *) "self",(char *) "text",(char *) "number", NULL
6731 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Frame_SetStatusText",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
6732 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFrame
, 0 | 0 );
6733 if (!SWIG_IsOK(res1
)) {
6734 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Frame_SetStatusText" "', expected argument " "1"" of type '" "wxFrame *""'");
6736 arg1
= reinterpret_cast< wxFrame
* >(argp1
);
6738 arg2
= wxString_in_helper(obj1
);
6739 if (arg2
== NULL
) SWIG_fail
;
6743 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
6744 if (!SWIG_IsOK(ecode3
)) {
6745 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Frame_SetStatusText" "', expected argument " "3"" of type '" "int""'");
6747 arg3
= static_cast< int >(val3
);
6750 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6751 (arg1
)->SetStatusText((wxString
const &)*arg2
,arg3
);
6752 wxPyEndAllowThreads(__tstate
);
6753 if (PyErr_Occurred()) SWIG_fail
;
6755 resultobj
= SWIG_Py_Void();
6770 SWIGINTERN PyObject
*_wrap_Frame_SetStatusWidths(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6771 PyObject
*resultobj
= 0;
6772 wxFrame
*arg1
= (wxFrame
*) 0 ;
6774 int *arg3
= (int *) 0 ;
6777 PyObject
* obj0
= 0 ;
6778 PyObject
* obj1
= 0 ;
6779 char * kwnames
[] = {
6780 (char *) "self",(char *) "widths", NULL
6783 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Frame_SetStatusWidths",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6784 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFrame
, 0 | 0 );
6785 if (!SWIG_IsOK(res1
)) {
6786 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Frame_SetStatusWidths" "', expected argument " "1"" of type '" "wxFrame *""'");
6788 arg1
= reinterpret_cast< wxFrame
* >(argp1
);
6790 arg2
= PyList_Size(obj1
);
6791 arg3
= int_LIST_helper(obj1
);
6792 if (arg3
== NULL
) SWIG_fail
;
6795 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6796 (arg1
)->SetStatusWidths(arg2
,(int const *)arg3
);
6797 wxPyEndAllowThreads(__tstate
);
6798 if (PyErr_Occurred()) SWIG_fail
;
6800 resultobj
= SWIG_Py_Void();
6802 if (arg3
) delete [] arg3
;
6807 if (arg3
) delete [] arg3
;
6813 SWIGINTERN PyObject
*_wrap_Frame_PushStatusText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6814 PyObject
*resultobj
= 0;
6815 wxFrame
*arg1
= (wxFrame
*) 0 ;
6816 wxString
*arg2
= 0 ;
6817 int arg3
= (int) 0 ;
6820 bool temp2
= false ;
6823 PyObject
* obj0
= 0 ;
6824 PyObject
* obj1
= 0 ;
6825 PyObject
* obj2
= 0 ;
6826 char * kwnames
[] = {
6827 (char *) "self",(char *) "text",(char *) "number", NULL
6830 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Frame_PushStatusText",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
6831 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFrame
, 0 | 0 );
6832 if (!SWIG_IsOK(res1
)) {
6833 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Frame_PushStatusText" "', expected argument " "1"" of type '" "wxFrame *""'");
6835 arg1
= reinterpret_cast< wxFrame
* >(argp1
);
6837 arg2
= wxString_in_helper(obj1
);
6838 if (arg2
== NULL
) SWIG_fail
;
6842 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
6843 if (!SWIG_IsOK(ecode3
)) {
6844 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Frame_PushStatusText" "', expected argument " "3"" of type '" "int""'");
6846 arg3
= static_cast< int >(val3
);
6849 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6850 (arg1
)->PushStatusText((wxString
const &)*arg2
,arg3
);
6851 wxPyEndAllowThreads(__tstate
);
6852 if (PyErr_Occurred()) SWIG_fail
;
6854 resultobj
= SWIG_Py_Void();
6869 SWIGINTERN PyObject
*_wrap_Frame_PopStatusText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6870 PyObject
*resultobj
= 0;
6871 wxFrame
*arg1
= (wxFrame
*) 0 ;
6872 int arg2
= (int) 0 ;
6877 PyObject
* obj0
= 0 ;
6878 PyObject
* obj1
= 0 ;
6879 char * kwnames
[] = {
6880 (char *) "self",(char *) "number", NULL
6883 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Frame_PopStatusText",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6884 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFrame
, 0 | 0 );
6885 if (!SWIG_IsOK(res1
)) {
6886 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Frame_PopStatusText" "', expected argument " "1"" of type '" "wxFrame *""'");
6888 arg1
= reinterpret_cast< wxFrame
* >(argp1
);
6890 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
6891 if (!SWIG_IsOK(ecode2
)) {
6892 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Frame_PopStatusText" "', expected argument " "2"" of type '" "int""'");
6894 arg2
= static_cast< int >(val2
);
6897 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6898 (arg1
)->PopStatusText(arg2
);
6899 wxPyEndAllowThreads(__tstate
);
6900 if (PyErr_Occurred()) SWIG_fail
;
6902 resultobj
= SWIG_Py_Void();
6909 SWIGINTERN PyObject
*_wrap_Frame_SetStatusBarPane(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6910 PyObject
*resultobj
= 0;
6911 wxFrame
*arg1
= (wxFrame
*) 0 ;
6917 PyObject
* obj0
= 0 ;
6918 PyObject
* obj1
= 0 ;
6919 char * kwnames
[] = {
6920 (char *) "self",(char *) "n", NULL
6923 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Frame_SetStatusBarPane",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6924 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFrame
, 0 | 0 );
6925 if (!SWIG_IsOK(res1
)) {
6926 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Frame_SetStatusBarPane" "', expected argument " "1"" of type '" "wxFrame *""'");
6928 arg1
= reinterpret_cast< wxFrame
* >(argp1
);
6929 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
6930 if (!SWIG_IsOK(ecode2
)) {
6931 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Frame_SetStatusBarPane" "', expected argument " "2"" of type '" "int""'");
6933 arg2
= static_cast< int >(val2
);
6935 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6936 (arg1
)->SetStatusBarPane(arg2
);
6937 wxPyEndAllowThreads(__tstate
);
6938 if (PyErr_Occurred()) SWIG_fail
;
6940 resultobj
= SWIG_Py_Void();
6947 SWIGINTERN PyObject
*_wrap_Frame_GetStatusBarPane(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6948 PyObject
*resultobj
= 0;
6949 wxFrame
*arg1
= (wxFrame
*) 0 ;
6953 PyObject
*swig_obj
[1] ;
6955 if (!args
) SWIG_fail
;
6957 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFrame
, 0 | 0 );
6958 if (!SWIG_IsOK(res1
)) {
6959 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Frame_GetStatusBarPane" "', expected argument " "1"" of type '" "wxFrame const *""'");
6961 arg1
= reinterpret_cast< wxFrame
* >(argp1
);
6963 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6964 result
= (int)((wxFrame
const *)arg1
)->GetStatusBarPane();
6965 wxPyEndAllowThreads(__tstate
);
6966 if (PyErr_Occurred()) SWIG_fail
;
6968 resultobj
= SWIG_From_int(static_cast< int >(result
));
6975 SWIGINTERN PyObject
*_wrap_Frame_CreateToolBar(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6976 PyObject
*resultobj
= 0;
6977 wxFrame
*arg1
= (wxFrame
*) 0 ;
6978 long arg2
= (long) -1 ;
6979 int arg3
= (int) -1 ;
6980 wxString
const &arg4_defvalue
= wxPyToolBarNameStr
;
6981 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
6982 wxToolBar
*result
= 0 ;
6989 bool temp4
= false ;
6990 PyObject
* obj0
= 0 ;
6991 PyObject
* obj1
= 0 ;
6992 PyObject
* obj2
= 0 ;
6993 PyObject
* obj3
= 0 ;
6994 char * kwnames
[] = {
6995 (char *) "self",(char *) "style",(char *) "winid",(char *) "name", NULL
6998 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOO:Frame_CreateToolBar",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
6999 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFrame
, 0 | 0 );
7000 if (!SWIG_IsOK(res1
)) {
7001 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Frame_CreateToolBar" "', expected argument " "1"" of type '" "wxFrame *""'");
7003 arg1
= reinterpret_cast< wxFrame
* >(argp1
);
7005 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
7006 if (!SWIG_IsOK(ecode2
)) {
7007 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Frame_CreateToolBar" "', expected argument " "2"" of type '" "long""'");
7009 arg2
= static_cast< long >(val2
);
7012 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
7013 if (!SWIG_IsOK(ecode3
)) {
7014 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Frame_CreateToolBar" "', expected argument " "3"" of type '" "int""'");
7016 arg3
= static_cast< int >(val3
);
7020 arg4
= wxString_in_helper(obj3
);
7021 if (arg4
== NULL
) SWIG_fail
;
7026 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7027 result
= (wxToolBar
*)(arg1
)->CreateToolBar(arg2
,arg3
,(wxString
const &)*arg4
);
7028 wxPyEndAllowThreads(__tstate
);
7029 if (PyErr_Occurred()) SWIG_fail
;
7032 resultobj
= wxPyMake_wxObject(result
, (bool)0);
7048 SWIGINTERN PyObject
*_wrap_Frame_GetToolBar(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7049 PyObject
*resultobj
= 0;
7050 wxFrame
*arg1
= (wxFrame
*) 0 ;
7051 wxToolBar
*result
= 0 ;
7054 PyObject
*swig_obj
[1] ;
7056 if (!args
) SWIG_fail
;
7058 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFrame
, 0 | 0 );
7059 if (!SWIG_IsOK(res1
)) {
7060 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Frame_GetToolBar" "', expected argument " "1"" of type '" "wxFrame const *""'");
7062 arg1
= reinterpret_cast< wxFrame
* >(argp1
);
7064 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7065 result
= (wxToolBar
*)((wxFrame
const *)arg1
)->GetToolBar();
7066 wxPyEndAllowThreads(__tstate
);
7067 if (PyErr_Occurred()) SWIG_fail
;
7070 resultobj
= wxPyMake_wxObject(result
, (bool)0);
7078 SWIGINTERN PyObject
*_wrap_Frame_SetToolBar(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7079 PyObject
*resultobj
= 0;
7080 wxFrame
*arg1
= (wxFrame
*) 0 ;
7081 wxToolBar
*arg2
= (wxToolBar
*) 0 ;
7086 PyObject
* obj0
= 0 ;
7087 PyObject
* obj1
= 0 ;
7088 char * kwnames
[] = {
7089 (char *) "self",(char *) "toolbar", NULL
7092 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Frame_SetToolBar",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7093 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFrame
, 0 | 0 );
7094 if (!SWIG_IsOK(res1
)) {
7095 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Frame_SetToolBar" "', expected argument " "1"" of type '" "wxFrame *""'");
7097 arg1
= reinterpret_cast< wxFrame
* >(argp1
);
7098 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxToolBar
, 0 | 0 );
7099 if (!SWIG_IsOK(res2
)) {
7100 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Frame_SetToolBar" "', expected argument " "2"" of type '" "wxToolBar *""'");
7102 arg2
= reinterpret_cast< wxToolBar
* >(argp2
);
7104 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7105 (arg1
)->SetToolBar(arg2
);
7106 wxPyEndAllowThreads(__tstate
);
7107 if (PyErr_Occurred()) SWIG_fail
;
7109 resultobj
= SWIG_Py_Void();
7116 SWIGINTERN PyObject
*_wrap_Frame_DoGiveHelp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7117 PyObject
*resultobj
= 0;
7118 wxFrame
*arg1
= (wxFrame
*) 0 ;
7119 wxString
*arg2
= 0 ;
7123 bool temp2
= false ;
7126 PyObject
* obj0
= 0 ;
7127 PyObject
* obj1
= 0 ;
7128 PyObject
* obj2
= 0 ;
7129 char * kwnames
[] = {
7130 (char *) "self",(char *) "text",(char *) "show", NULL
7133 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Frame_DoGiveHelp",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
7134 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFrame
, 0 | 0 );
7135 if (!SWIG_IsOK(res1
)) {
7136 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Frame_DoGiveHelp" "', expected argument " "1"" of type '" "wxFrame *""'");
7138 arg1
= reinterpret_cast< wxFrame
* >(argp1
);
7140 arg2
= wxString_in_helper(obj1
);
7141 if (arg2
== NULL
) SWIG_fail
;
7144 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
7145 if (!SWIG_IsOK(ecode3
)) {
7146 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Frame_DoGiveHelp" "', expected argument " "3"" of type '" "bool""'");
7148 arg3
= static_cast< bool >(val3
);
7150 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7151 (arg1
)->DoGiveHelp((wxString
const &)*arg2
,arg3
);
7152 wxPyEndAllowThreads(__tstate
);
7153 if (PyErr_Occurred()) SWIG_fail
;
7155 resultobj
= SWIG_Py_Void();
7170 SWIGINTERN PyObject
*_wrap_Frame_DoMenuUpdates(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7171 PyObject
*resultobj
= 0;
7172 wxFrame
*arg1
= (wxFrame
*) 0 ;
7173 wxMenu
*arg2
= (wxMenu
*) NULL
;
7178 PyObject
* obj0
= 0 ;
7179 PyObject
* obj1
= 0 ;
7180 char * kwnames
[] = {
7181 (char *) "self",(char *) "menu", NULL
7184 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Frame_DoMenuUpdates",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7185 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFrame
, 0 | 0 );
7186 if (!SWIG_IsOK(res1
)) {
7187 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Frame_DoMenuUpdates" "', expected argument " "1"" of type '" "wxFrame *""'");
7189 arg1
= reinterpret_cast< wxFrame
* >(argp1
);
7191 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxMenu
, 0 | 0 );
7192 if (!SWIG_IsOK(res2
)) {
7193 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Frame_DoMenuUpdates" "', expected argument " "2"" of type '" "wxMenu *""'");
7195 arg2
= reinterpret_cast< wxMenu
* >(argp2
);
7198 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7199 (arg1
)->DoMenuUpdates(arg2
);
7200 wxPyEndAllowThreads(__tstate
);
7201 if (PyErr_Occurred()) SWIG_fail
;
7203 resultobj
= SWIG_Py_Void();
7210 SWIGINTERN PyObject
*_wrap_Frame_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7211 PyObject
*resultobj
= 0;
7212 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
7213 SwigValueWrapper
<wxVisualAttributes
> result
;
7216 PyObject
* obj0
= 0 ;
7217 char * kwnames
[] = {
7218 (char *) "variant", NULL
7221 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Frame_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
7223 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
7224 if (!SWIG_IsOK(ecode1
)) {
7225 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "Frame_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
7227 arg1
= static_cast< wxWindowVariant
>(val1
);
7230 if (!wxPyCheckForApp()) SWIG_fail
;
7231 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7232 result
= wxFrame::GetClassDefaultAttributes(arg1
);
7233 wxPyEndAllowThreads(__tstate
);
7234 if (PyErr_Occurred()) SWIG_fail
;
7236 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
7243 SWIGINTERN PyObject
*Frame_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7245 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
7246 SWIG_TypeNewClientData(SWIGTYPE_p_wxFrame
, SWIG_NewClientData(obj
));
7247 return SWIG_Py_Void();
7250 SWIGINTERN PyObject
*Frame_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7251 return SWIG_Python_InitShadowInstance(args
);
7254 SWIGINTERN PyObject
*_wrap_new_Dialog(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7255 PyObject
*resultobj
= 0;
7256 wxWindow
*arg1
= (wxWindow
*) 0 ;
7257 int arg2
= (int) (int)-1 ;
7258 wxString
const &arg3_defvalue
= wxPyEmptyString
;
7259 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
7260 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
7261 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
7262 wxSize
const &arg5_defvalue
= wxDefaultSize
;
7263 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
7264 long arg6
= (long) wxDEFAULT_DIALOG_STYLE
;
7265 wxString
const &arg7_defvalue
= wxPyDialogNameStr
;
7266 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
7267 wxDialog
*result
= 0 ;
7272 bool temp3
= false ;
7277 bool temp7
= false ;
7278 PyObject
* obj0
= 0 ;
7279 PyObject
* obj1
= 0 ;
7280 PyObject
* obj2
= 0 ;
7281 PyObject
* obj3
= 0 ;
7282 PyObject
* obj4
= 0 ;
7283 PyObject
* obj5
= 0 ;
7284 PyObject
* obj6
= 0 ;
7285 char * kwnames
[] = {
7286 (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
7289 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_Dialog",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
7290 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
7291 if (!SWIG_IsOK(res1
)) {
7292 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_Dialog" "', expected argument " "1"" of type '" "wxWindow *""'");
7294 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
7296 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
7297 if (!SWIG_IsOK(ecode2
)) {
7298 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Dialog" "', expected argument " "2"" of type '" "int""'");
7300 arg2
= static_cast< int >(val2
);
7304 arg3
= wxString_in_helper(obj2
);
7305 if (arg3
== NULL
) SWIG_fail
;
7312 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
7318 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
7322 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
7323 if (!SWIG_IsOK(ecode6
)) {
7324 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_Dialog" "', expected argument " "6"" of type '" "long""'");
7326 arg6
= static_cast< long >(val6
);
7330 arg7
= wxString_in_helper(obj6
);
7331 if (arg7
== NULL
) SWIG_fail
;
7336 if (!wxPyCheckForApp()) SWIG_fail
;
7337 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7338 result
= (wxDialog
*)new wxDialog(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
7339 wxPyEndAllowThreads(__tstate
);
7340 if (PyErr_Occurred()) SWIG_fail
;
7342 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDialog
, SWIG_POINTER_NEW
| 0 );
7365 SWIGINTERN PyObject
*_wrap_new_PreDialog(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7366 PyObject
*resultobj
= 0;
7367 wxDialog
*result
= 0 ;
7369 if (!SWIG_Python_UnpackTuple(args
,"new_PreDialog",0,0,0)) SWIG_fail
;
7371 if (!wxPyCheckForApp()) SWIG_fail
;
7372 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7373 result
= (wxDialog
*)new wxDialog();
7374 wxPyEndAllowThreads(__tstate
);
7375 if (PyErr_Occurred()) SWIG_fail
;
7377 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDialog
, SWIG_POINTER_OWN
| 0 );
7384 SWIGINTERN PyObject
*_wrap_Dialog_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7385 PyObject
*resultobj
= 0;
7386 wxDialog
*arg1
= (wxDialog
*) 0 ;
7387 wxWindow
*arg2
= (wxWindow
*) 0 ;
7388 int arg3
= (int) (int)-1 ;
7389 wxString
const &arg4_defvalue
= wxPyEmptyString
;
7390 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
7391 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
7392 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
7393 wxSize
const &arg6_defvalue
= wxDefaultSize
;
7394 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
7395 long arg7
= (long) wxDEFAULT_DIALOG_STYLE
;
7396 wxString
const &arg8_defvalue
= wxPyDialogNameStr
;
7397 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
7405 bool temp4
= false ;
7410 bool temp8
= false ;
7411 PyObject
* obj0
= 0 ;
7412 PyObject
* obj1
= 0 ;
7413 PyObject
* obj2
= 0 ;
7414 PyObject
* obj3
= 0 ;
7415 PyObject
* obj4
= 0 ;
7416 PyObject
* obj5
= 0 ;
7417 PyObject
* obj6
= 0 ;
7418 PyObject
* obj7
= 0 ;
7419 char * kwnames
[] = {
7420 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
7423 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:Dialog_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
7424 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDialog
, 0 | 0 );
7425 if (!SWIG_IsOK(res1
)) {
7426 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Dialog_Create" "', expected argument " "1"" of type '" "wxDialog *""'");
7428 arg1
= reinterpret_cast< wxDialog
* >(argp1
);
7429 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
7430 if (!SWIG_IsOK(res2
)) {
7431 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Dialog_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
7433 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
7435 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
7436 if (!SWIG_IsOK(ecode3
)) {
7437 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Dialog_Create" "', expected argument " "3"" of type '" "int""'");
7439 arg3
= static_cast< int >(val3
);
7443 arg4
= wxString_in_helper(obj3
);
7444 if (arg4
== NULL
) SWIG_fail
;
7451 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
7457 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
7461 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
7462 if (!SWIG_IsOK(ecode7
)) {
7463 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "Dialog_Create" "', expected argument " "7"" of type '" "long""'");
7465 arg7
= static_cast< long >(val7
);
7469 arg8
= wxString_in_helper(obj7
);
7470 if (arg8
== NULL
) SWIG_fail
;
7475 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7476 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxString
const &)*arg8
);
7477 wxPyEndAllowThreads(__tstate
);
7478 if (PyErr_Occurred()) SWIG_fail
;
7481 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7505 SWIGINTERN PyObject
*_wrap_Dialog_SetReturnCode(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7506 PyObject
*resultobj
= 0;
7507 wxDialog
*arg1
= (wxDialog
*) 0 ;
7513 PyObject
* obj0
= 0 ;
7514 PyObject
* obj1
= 0 ;
7515 char * kwnames
[] = {
7516 (char *) "self",(char *) "returnCode", NULL
7519 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Dialog_SetReturnCode",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7520 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDialog
, 0 | 0 );
7521 if (!SWIG_IsOK(res1
)) {
7522 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Dialog_SetReturnCode" "', expected argument " "1"" of type '" "wxDialog *""'");
7524 arg1
= reinterpret_cast< wxDialog
* >(argp1
);
7525 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
7526 if (!SWIG_IsOK(ecode2
)) {
7527 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Dialog_SetReturnCode" "', expected argument " "2"" of type '" "int""'");
7529 arg2
= static_cast< int >(val2
);
7531 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7532 (arg1
)->SetReturnCode(arg2
);
7533 wxPyEndAllowThreads(__tstate
);
7534 if (PyErr_Occurred()) SWIG_fail
;
7536 resultobj
= SWIG_Py_Void();
7543 SWIGINTERN PyObject
*_wrap_Dialog_GetReturnCode(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7544 PyObject
*resultobj
= 0;
7545 wxDialog
*arg1
= (wxDialog
*) 0 ;
7549 PyObject
*swig_obj
[1] ;
7551 if (!args
) SWIG_fail
;
7553 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDialog
, 0 | 0 );
7554 if (!SWIG_IsOK(res1
)) {
7555 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Dialog_GetReturnCode" "', expected argument " "1"" of type '" "wxDialog const *""'");
7557 arg1
= reinterpret_cast< wxDialog
* >(argp1
);
7559 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7560 result
= (int)((wxDialog
const *)arg1
)->GetReturnCode();
7561 wxPyEndAllowThreads(__tstate
);
7562 if (PyErr_Occurred()) SWIG_fail
;
7564 resultobj
= SWIG_From_int(static_cast< int >(result
));
7571 SWIGINTERN PyObject
*_wrap_Dialog_SetAffirmativeId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7572 PyObject
*resultobj
= 0;
7573 wxDialog
*arg1
= (wxDialog
*) 0 ;
7579 PyObject
* obj0
= 0 ;
7580 PyObject
* obj1
= 0 ;
7581 char * kwnames
[] = {
7582 (char *) "self",(char *) "affirmativeId", NULL
7585 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Dialog_SetAffirmativeId",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7586 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDialog
, 0 | 0 );
7587 if (!SWIG_IsOK(res1
)) {
7588 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Dialog_SetAffirmativeId" "', expected argument " "1"" of type '" "wxDialog *""'");
7590 arg1
= reinterpret_cast< wxDialog
* >(argp1
);
7591 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
7592 if (!SWIG_IsOK(ecode2
)) {
7593 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Dialog_SetAffirmativeId" "', expected argument " "2"" of type '" "int""'");
7595 arg2
= static_cast< int >(val2
);
7597 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7598 (arg1
)->SetAffirmativeId(arg2
);
7599 wxPyEndAllowThreads(__tstate
);
7600 if (PyErr_Occurred()) SWIG_fail
;
7602 resultobj
= SWIG_Py_Void();
7609 SWIGINTERN PyObject
*_wrap_Dialog_GetAffirmativeId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7610 PyObject
*resultobj
= 0;
7611 wxDialog
*arg1
= (wxDialog
*) 0 ;
7615 PyObject
*swig_obj
[1] ;
7617 if (!args
) SWIG_fail
;
7619 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDialog
, 0 | 0 );
7620 if (!SWIG_IsOK(res1
)) {
7621 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Dialog_GetAffirmativeId" "', expected argument " "1"" of type '" "wxDialog const *""'");
7623 arg1
= reinterpret_cast< wxDialog
* >(argp1
);
7625 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7626 result
= (int)((wxDialog
const *)arg1
)->GetAffirmativeId();
7627 wxPyEndAllowThreads(__tstate
);
7628 if (PyErr_Occurred()) SWIG_fail
;
7630 resultobj
= SWIG_From_int(static_cast< int >(result
));
7637 SWIGINTERN PyObject
*_wrap_Dialog_SetEscapeId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7638 PyObject
*resultobj
= 0;
7639 wxDialog
*arg1
= (wxDialog
*) 0 ;
7645 PyObject
* obj0
= 0 ;
7646 PyObject
* obj1
= 0 ;
7647 char * kwnames
[] = {
7648 (char *) "self",(char *) "escapeId", NULL
7651 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Dialog_SetEscapeId",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7652 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDialog
, 0 | 0 );
7653 if (!SWIG_IsOK(res1
)) {
7654 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Dialog_SetEscapeId" "', expected argument " "1"" of type '" "wxDialog *""'");
7656 arg1
= reinterpret_cast< wxDialog
* >(argp1
);
7657 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
7658 if (!SWIG_IsOK(ecode2
)) {
7659 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Dialog_SetEscapeId" "', expected argument " "2"" of type '" "int""'");
7661 arg2
= static_cast< int >(val2
);
7663 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7664 (arg1
)->SetEscapeId(arg2
);
7665 wxPyEndAllowThreads(__tstate
);
7666 if (PyErr_Occurred()) SWIG_fail
;
7668 resultobj
= SWIG_Py_Void();
7675 SWIGINTERN PyObject
*_wrap_Dialog_GetEscapeId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7676 PyObject
*resultobj
= 0;
7677 wxDialog
*arg1
= (wxDialog
*) 0 ;
7681 PyObject
*swig_obj
[1] ;
7683 if (!args
) SWIG_fail
;
7685 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDialog
, 0 | 0 );
7686 if (!SWIG_IsOK(res1
)) {
7687 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Dialog_GetEscapeId" "', expected argument " "1"" of type '" "wxDialog const *""'");
7689 arg1
= reinterpret_cast< wxDialog
* >(argp1
);
7691 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7692 result
= (int)((wxDialog
const *)arg1
)->GetEscapeId();
7693 wxPyEndAllowThreads(__tstate
);
7694 if (PyErr_Occurred()) SWIG_fail
;
7696 resultobj
= SWIG_From_int(static_cast< int >(result
));
7703 SWIGINTERN PyObject
*_wrap_Dialog_CreateTextSizer(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7704 PyObject
*resultobj
= 0;
7705 wxDialog
*arg1
= (wxDialog
*) 0 ;
7706 wxString
*arg2
= 0 ;
7707 wxSizer
*result
= 0 ;
7710 bool temp2
= false ;
7711 PyObject
* obj0
= 0 ;
7712 PyObject
* obj1
= 0 ;
7713 char * kwnames
[] = {
7714 (char *) "self",(char *) "message", NULL
7717 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Dialog_CreateTextSizer",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7718 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDialog
, 0 | 0 );
7719 if (!SWIG_IsOK(res1
)) {
7720 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Dialog_CreateTextSizer" "', expected argument " "1"" of type '" "wxDialog *""'");
7722 arg1
= reinterpret_cast< wxDialog
* >(argp1
);
7724 arg2
= wxString_in_helper(obj1
);
7725 if (arg2
== NULL
) SWIG_fail
;
7729 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7730 result
= (wxSizer
*)(arg1
)->CreateTextSizer((wxString
const &)*arg2
);
7731 wxPyEndAllowThreads(__tstate
);
7732 if (PyErr_Occurred()) SWIG_fail
;
7735 resultobj
= wxPyMake_wxObject(result
, (bool)0);
7751 SWIGINTERN PyObject
*_wrap_Dialog__CreateButtonSizer(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7752 PyObject
*resultobj
= 0;
7753 wxDialog
*arg1
= (wxDialog
*) 0 ;
7755 wxSizer
*result
= 0 ;
7760 PyObject
* obj0
= 0 ;
7761 PyObject
* obj1
= 0 ;
7762 char * kwnames
[] = {
7763 (char *) "self",(char *) "flags", NULL
7766 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Dialog__CreateButtonSizer",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7767 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDialog
, 0 | 0 );
7768 if (!SWIG_IsOK(res1
)) {
7769 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Dialog__CreateButtonSizer" "', expected argument " "1"" of type '" "wxDialog *""'");
7771 arg1
= reinterpret_cast< wxDialog
* >(argp1
);
7772 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
7773 if (!SWIG_IsOK(ecode2
)) {
7774 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Dialog__CreateButtonSizer" "', expected argument " "2"" of type '" "long""'");
7776 arg2
= static_cast< long >(val2
);
7778 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7779 result
= (wxSizer
*)(arg1
)->CreateButtonSizer(arg2
);
7780 wxPyEndAllowThreads(__tstate
);
7781 if (PyErr_Occurred()) SWIG_fail
;
7784 resultobj
= wxPyMake_wxObject(result
, (bool)0);
7792 SWIGINTERN PyObject
*_wrap_Dialog_CreateSeparatedButtonSizer(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7793 PyObject
*resultobj
= 0;
7794 wxDialog
*arg1
= (wxDialog
*) 0 ;
7796 wxSizer
*result
= 0 ;
7801 PyObject
* obj0
= 0 ;
7802 PyObject
* obj1
= 0 ;
7803 char * kwnames
[] = {
7804 (char *) "self",(char *) "flags", NULL
7807 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Dialog_CreateSeparatedButtonSizer",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7808 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDialog
, 0 | 0 );
7809 if (!SWIG_IsOK(res1
)) {
7810 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Dialog_CreateSeparatedButtonSizer" "', expected argument " "1"" of type '" "wxDialog *""'");
7812 arg1
= reinterpret_cast< wxDialog
* >(argp1
);
7813 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
7814 if (!SWIG_IsOK(ecode2
)) {
7815 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Dialog_CreateSeparatedButtonSizer" "', expected argument " "2"" of type '" "long""'");
7817 arg2
= static_cast< long >(val2
);
7819 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7820 result
= (wxSizer
*)(arg1
)->CreateSeparatedButtonSizer(arg2
);
7821 wxPyEndAllowThreads(__tstate
);
7822 if (PyErr_Occurred()) SWIG_fail
;
7825 resultobj
= wxPyMake_wxObject(result
, (bool)0);
7833 SWIGINTERN PyObject
*_wrap_Dialog_CreateStdDialogButtonSizer(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7834 PyObject
*resultobj
= 0;
7835 wxDialog
*arg1
= (wxDialog
*) 0 ;
7837 wxStdDialogButtonSizer
*result
= 0 ;
7842 PyObject
* obj0
= 0 ;
7843 PyObject
* obj1
= 0 ;
7844 char * kwnames
[] = {
7845 (char *) "self",(char *) "flags", NULL
7848 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Dialog_CreateStdDialogButtonSizer",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7849 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDialog
, 0 | 0 );
7850 if (!SWIG_IsOK(res1
)) {
7851 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Dialog_CreateStdDialogButtonSizer" "', expected argument " "1"" of type '" "wxDialog *""'");
7853 arg1
= reinterpret_cast< wxDialog
* >(argp1
);
7854 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
7855 if (!SWIG_IsOK(ecode2
)) {
7856 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Dialog_CreateStdDialogButtonSizer" "', expected argument " "2"" of type '" "long""'");
7858 arg2
= static_cast< long >(val2
);
7860 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7861 result
= (wxStdDialogButtonSizer
*)(arg1
)->CreateStdDialogButtonSizer(arg2
);
7862 wxPyEndAllowThreads(__tstate
);
7863 if (PyErr_Occurred()) SWIG_fail
;
7865 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxStdDialogButtonSizer
, 0 | 0 );
7872 SWIGINTERN PyObject
*_wrap_Dialog_IsModal(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7873 PyObject
*resultobj
= 0;
7874 wxDialog
*arg1
= (wxDialog
*) 0 ;
7878 PyObject
*swig_obj
[1] ;
7880 if (!args
) SWIG_fail
;
7882 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDialog
, 0 | 0 );
7883 if (!SWIG_IsOK(res1
)) {
7884 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Dialog_IsModal" "', expected argument " "1"" of type '" "wxDialog const *""'");
7886 arg1
= reinterpret_cast< wxDialog
* >(argp1
);
7888 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7889 result
= (bool)((wxDialog
const *)arg1
)->IsModal();
7890 wxPyEndAllowThreads(__tstate
);
7891 if (PyErr_Occurred()) SWIG_fail
;
7894 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7902 SWIGINTERN PyObject
*_wrap_Dialog_ShowModal(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7903 PyObject
*resultobj
= 0;
7904 wxDialog
*arg1
= (wxDialog
*) 0 ;
7908 PyObject
*swig_obj
[1] ;
7910 if (!args
) SWIG_fail
;
7912 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDialog
, 0 | 0 );
7913 if (!SWIG_IsOK(res1
)) {
7914 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Dialog_ShowModal" "', expected argument " "1"" of type '" "wxDialog *""'");
7916 arg1
= reinterpret_cast< wxDialog
* >(argp1
);
7918 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7919 result
= (int)(arg1
)->ShowModal();
7920 wxPyEndAllowThreads(__tstate
);
7921 if (PyErr_Occurred()) SWIG_fail
;
7923 resultobj
= SWIG_From_int(static_cast< int >(result
));
7930 SWIGINTERN PyObject
*_wrap_Dialog_EndModal(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7931 PyObject
*resultobj
= 0;
7932 wxDialog
*arg1
= (wxDialog
*) 0 ;
7938 PyObject
* obj0
= 0 ;
7939 PyObject
* obj1
= 0 ;
7940 char * kwnames
[] = {
7941 (char *) "self",(char *) "retCode", NULL
7944 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Dialog_EndModal",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7945 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDialog
, 0 | 0 );
7946 if (!SWIG_IsOK(res1
)) {
7947 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Dialog_EndModal" "', expected argument " "1"" of type '" "wxDialog *""'");
7949 arg1
= reinterpret_cast< wxDialog
* >(argp1
);
7950 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
7951 if (!SWIG_IsOK(ecode2
)) {
7952 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Dialog_EndModal" "', expected argument " "2"" of type '" "int""'");
7954 arg2
= static_cast< int >(val2
);
7956 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7957 (arg1
)->EndModal(arg2
);
7958 wxPyEndAllowThreads(__tstate
);
7959 if (PyErr_Occurred()) SWIG_fail
;
7961 resultobj
= SWIG_Py_Void();
7968 SWIGINTERN PyObject
*_wrap_Dialog_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7969 PyObject
*resultobj
= 0;
7970 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
7971 SwigValueWrapper
<wxVisualAttributes
> result
;
7974 PyObject
* obj0
= 0 ;
7975 char * kwnames
[] = {
7976 (char *) "variant", NULL
7979 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Dialog_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
7981 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
7982 if (!SWIG_IsOK(ecode1
)) {
7983 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "Dialog_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
7985 arg1
= static_cast< wxWindowVariant
>(val1
);
7988 if (!wxPyCheckForApp()) SWIG_fail
;
7989 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7990 result
= wxDialog::GetClassDefaultAttributes(arg1
);
7991 wxPyEndAllowThreads(__tstate
);
7992 if (PyErr_Occurred()) SWIG_fail
;
7994 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
8001 SWIGINTERN PyObject
*Dialog_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8003 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
8004 SWIG_TypeNewClientData(SWIGTYPE_p_wxDialog
, SWIG_NewClientData(obj
));
8005 return SWIG_Py_Void();
8008 SWIGINTERN PyObject
*Dialog_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8009 return SWIG_Python_InitShadowInstance(args
);
8012 SWIGINTERN PyObject
*_wrap_new_MiniFrame(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8013 PyObject
*resultobj
= 0;
8014 wxWindow
*arg1
= (wxWindow
*) 0 ;
8015 int arg2
= (int) (int)-1 ;
8016 wxString
const &arg3_defvalue
= wxPyEmptyString
;
8017 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
8018 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
8019 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
8020 wxSize
const &arg5_defvalue
= wxDefaultSize
;
8021 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
8022 long arg6
= (long) wxDEFAULT_FRAME_STYLE
;
8023 wxString
const &arg7_defvalue
= wxPyFrameNameStr
;
8024 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
8025 wxMiniFrame
*result
= 0 ;
8030 bool temp3
= false ;
8035 bool temp7
= false ;
8036 PyObject
* obj0
= 0 ;
8037 PyObject
* obj1
= 0 ;
8038 PyObject
* obj2
= 0 ;
8039 PyObject
* obj3
= 0 ;
8040 PyObject
* obj4
= 0 ;
8041 PyObject
* obj5
= 0 ;
8042 PyObject
* obj6
= 0 ;
8043 char * kwnames
[] = {
8044 (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
8047 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_MiniFrame",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
8048 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
8049 if (!SWIG_IsOK(res1
)) {
8050 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_MiniFrame" "', expected argument " "1"" of type '" "wxWindow *""'");
8052 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
8054 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
8055 if (!SWIG_IsOK(ecode2
)) {
8056 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_MiniFrame" "', expected argument " "2"" of type '" "int""'");
8058 arg2
= static_cast< int >(val2
);
8062 arg3
= wxString_in_helper(obj2
);
8063 if (arg3
== NULL
) SWIG_fail
;
8070 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
8076 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
8080 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
8081 if (!SWIG_IsOK(ecode6
)) {
8082 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_MiniFrame" "', expected argument " "6"" of type '" "long""'");
8084 arg6
= static_cast< long >(val6
);
8088 arg7
= wxString_in_helper(obj6
);
8089 if (arg7
== NULL
) SWIG_fail
;
8094 if (!wxPyCheckForApp()) SWIG_fail
;
8095 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8096 result
= (wxMiniFrame
*)new wxMiniFrame(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
8097 wxPyEndAllowThreads(__tstate
);
8098 if (PyErr_Occurred()) SWIG_fail
;
8100 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMiniFrame
, SWIG_POINTER_NEW
| 0 );
8123 SWIGINTERN PyObject
*_wrap_new_PreMiniFrame(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8124 PyObject
*resultobj
= 0;
8125 wxMiniFrame
*result
= 0 ;
8127 if (!SWIG_Python_UnpackTuple(args
,"new_PreMiniFrame",0,0,0)) SWIG_fail
;
8129 if (!wxPyCheckForApp()) SWIG_fail
;
8130 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8131 result
= (wxMiniFrame
*)new wxMiniFrame();
8132 wxPyEndAllowThreads(__tstate
);
8133 if (PyErr_Occurred()) SWIG_fail
;
8135 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMiniFrame
, SWIG_POINTER_OWN
| 0 );
8142 SWIGINTERN PyObject
*_wrap_MiniFrame_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8143 PyObject
*resultobj
= 0;
8144 wxMiniFrame
*arg1
= (wxMiniFrame
*) 0 ;
8145 wxWindow
*arg2
= (wxWindow
*) 0 ;
8146 int arg3
= (int) (int)-1 ;
8147 wxString
const &arg4_defvalue
= wxPyEmptyString
;
8148 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
8149 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
8150 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
8151 wxSize
const &arg6_defvalue
= wxDefaultSize
;
8152 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
8153 long arg7
= (long) wxDEFAULT_FRAME_STYLE
;
8154 wxString
const &arg8_defvalue
= wxPyFrameNameStr
;
8155 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
8163 bool temp4
= false ;
8168 bool temp8
= false ;
8169 PyObject
* obj0
= 0 ;
8170 PyObject
* obj1
= 0 ;
8171 PyObject
* obj2
= 0 ;
8172 PyObject
* obj3
= 0 ;
8173 PyObject
* obj4
= 0 ;
8174 PyObject
* obj5
= 0 ;
8175 PyObject
* obj6
= 0 ;
8176 PyObject
* obj7
= 0 ;
8177 char * kwnames
[] = {
8178 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
8181 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:MiniFrame_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
8182 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMiniFrame
, 0 | 0 );
8183 if (!SWIG_IsOK(res1
)) {
8184 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MiniFrame_Create" "', expected argument " "1"" of type '" "wxMiniFrame *""'");
8186 arg1
= reinterpret_cast< wxMiniFrame
* >(argp1
);
8187 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
8188 if (!SWIG_IsOK(res2
)) {
8189 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "MiniFrame_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
8191 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
8193 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
8194 if (!SWIG_IsOK(ecode3
)) {
8195 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "MiniFrame_Create" "', expected argument " "3"" of type '" "int""'");
8197 arg3
= static_cast< int >(val3
);
8201 arg4
= wxString_in_helper(obj3
);
8202 if (arg4
== NULL
) SWIG_fail
;
8209 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
8215 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
8219 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
8220 if (!SWIG_IsOK(ecode7
)) {
8221 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "MiniFrame_Create" "', expected argument " "7"" of type '" "long""'");
8223 arg7
= static_cast< long >(val7
);
8227 arg8
= wxString_in_helper(obj7
);
8228 if (arg8
== NULL
) SWIG_fail
;
8233 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8234 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxString
const &)*arg8
);
8235 wxPyEndAllowThreads(__tstate
);
8236 if (PyErr_Occurred()) SWIG_fail
;
8239 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8263 SWIGINTERN PyObject
*MiniFrame_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8265 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
8266 SWIG_TypeNewClientData(SWIGTYPE_p_wxMiniFrame
, SWIG_NewClientData(obj
));
8267 return SWIG_Py_Void();
8270 SWIGINTERN PyObject
*MiniFrame_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8271 return SWIG_Python_InitShadowInstance(args
);
8274 SWIGINTERN PyObject
*_wrap_new_SplashScreenWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8275 PyObject
*resultobj
= 0;
8276 wxBitmap
*arg1
= 0 ;
8277 wxWindow
*arg2
= (wxWindow
*) 0 ;
8279 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
8280 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
8281 wxSize
const &arg5_defvalue
= wxDefaultSize
;
8282 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
8283 long arg6
= (long) wxNO_BORDER
;
8284 wxSplashScreenWindow
*result
= 0 ;
8295 PyObject
* obj0
= 0 ;
8296 PyObject
* obj1
= 0 ;
8297 PyObject
* obj2
= 0 ;
8298 PyObject
* obj3
= 0 ;
8299 PyObject
* obj4
= 0 ;
8300 PyObject
* obj5
= 0 ;
8301 char * kwnames
[] = {
8302 (char *) "bitmap",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
8305 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOO:new_SplashScreenWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
8306 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxBitmap
, 0 | 0);
8307 if (!SWIG_IsOK(res1
)) {
8308 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_SplashScreenWindow" "', expected argument " "1"" of type '" "wxBitmap const &""'");
8311 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_SplashScreenWindow" "', expected argument " "1"" of type '" "wxBitmap const &""'");
8313 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
8314 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
8315 if (!SWIG_IsOK(res2
)) {
8316 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_SplashScreenWindow" "', expected argument " "2"" of type '" "wxWindow *""'");
8318 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
8319 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
8320 if (!SWIG_IsOK(ecode3
)) {
8321 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_SplashScreenWindow" "', expected argument " "3"" of type '" "int""'");
8323 arg3
= static_cast< int >(val3
);
8327 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
8333 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
8337 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
8338 if (!SWIG_IsOK(ecode6
)) {
8339 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_SplashScreenWindow" "', expected argument " "6"" of type '" "long""'");
8341 arg6
= static_cast< long >(val6
);
8344 if (!wxPyCheckForApp()) SWIG_fail
;
8345 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8346 result
= (wxSplashScreenWindow
*)new wxSplashScreenWindow((wxBitmap
const &)*arg1
,arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
);
8347 wxPyEndAllowThreads(__tstate
);
8348 if (PyErr_Occurred()) SWIG_fail
;
8350 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSplashScreenWindow
, SWIG_POINTER_NEW
| 0 );
8357 SWIGINTERN PyObject
*_wrap_SplashScreenWindow_SetBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8358 PyObject
*resultobj
= 0;
8359 wxSplashScreenWindow
*arg1
= (wxSplashScreenWindow
*) 0 ;
8360 wxBitmap
*arg2
= 0 ;
8365 PyObject
* obj0
= 0 ;
8366 PyObject
* obj1
= 0 ;
8367 char * kwnames
[] = {
8368 (char *) "self",(char *) "bitmap", NULL
8371 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SplashScreenWindow_SetBitmap",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
8372 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSplashScreenWindow
, 0 | 0 );
8373 if (!SWIG_IsOK(res1
)) {
8374 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplashScreenWindow_SetBitmap" "', expected argument " "1"" of type '" "wxSplashScreenWindow *""'");
8376 arg1
= reinterpret_cast< wxSplashScreenWindow
* >(argp1
);
8377 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
8378 if (!SWIG_IsOK(res2
)) {
8379 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "SplashScreenWindow_SetBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
8382 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "SplashScreenWindow_SetBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
8384 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
8386 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8387 (arg1
)->SetBitmap((wxBitmap
const &)*arg2
);
8388 wxPyEndAllowThreads(__tstate
);
8389 if (PyErr_Occurred()) SWIG_fail
;
8391 resultobj
= SWIG_Py_Void();
8398 SWIGINTERN PyObject
*_wrap_SplashScreenWindow_GetBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8399 PyObject
*resultobj
= 0;
8400 wxSplashScreenWindow
*arg1
= (wxSplashScreenWindow
*) 0 ;
8401 wxBitmap
*result
= 0 ;
8404 PyObject
*swig_obj
[1] ;
8406 if (!args
) SWIG_fail
;
8408 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSplashScreenWindow
, 0 | 0 );
8409 if (!SWIG_IsOK(res1
)) {
8410 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplashScreenWindow_GetBitmap" "', expected argument " "1"" of type '" "wxSplashScreenWindow *""'");
8412 arg1
= reinterpret_cast< wxSplashScreenWindow
* >(argp1
);
8414 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8416 wxBitmap
&_result_ref
= (arg1
)->GetBitmap();
8417 result
= (wxBitmap
*) &_result_ref
;
8419 wxPyEndAllowThreads(__tstate
);
8420 if (PyErr_Occurred()) SWIG_fail
;
8423 wxBitmap
* resultptr
= new wxBitmap(*result
);
8424 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxBitmap
, 1);
8432 SWIGINTERN PyObject
*SplashScreenWindow_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8434 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
8435 SWIG_TypeNewClientData(SWIGTYPE_p_wxSplashScreenWindow
, SWIG_NewClientData(obj
));
8436 return SWIG_Py_Void();
8439 SWIGINTERN PyObject
*SplashScreenWindow_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8440 return SWIG_Python_InitShadowInstance(args
);
8443 SWIGINTERN PyObject
*_wrap_new_SplashScreen(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8444 PyObject
*resultobj
= 0;
8445 wxBitmap
*arg1
= 0 ;
8448 wxWindow
*arg4
= (wxWindow
*) 0 ;
8449 int arg5
= (int) -1 ;
8450 wxPoint
const &arg6_defvalue
= wxDefaultPosition
;
8451 wxPoint
*arg6
= (wxPoint
*) &arg6_defvalue
;
8452 wxSize
const &arg7_defvalue
= wxDefaultSize
;
8453 wxSize
*arg7
= (wxSize
*) &arg7_defvalue
;
8454 long arg8
= (long) wxSIMPLE_BORDER
|wxFRAME_NO_TASKBAR
|wxSTAY_ON_TOP
;
8455 wxSplashScreen
*result
= 0 ;
8470 PyObject
* obj0
= 0 ;
8471 PyObject
* obj1
= 0 ;
8472 PyObject
* obj2
= 0 ;
8473 PyObject
* obj3
= 0 ;
8474 PyObject
* obj4
= 0 ;
8475 PyObject
* obj5
= 0 ;
8476 PyObject
* obj6
= 0 ;
8477 PyObject
* obj7
= 0 ;
8478 char * kwnames
[] = {
8479 (char *) "bitmap",(char *) "splashStyle",(char *) "milliseconds",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
8482 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOOO:new_SplashScreen",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
8483 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxBitmap
, 0 | 0);
8484 if (!SWIG_IsOK(res1
)) {
8485 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_SplashScreen" "', expected argument " "1"" of type '" "wxBitmap const &""'");
8488 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_SplashScreen" "', expected argument " "1"" of type '" "wxBitmap const &""'");
8490 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
8491 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
8492 if (!SWIG_IsOK(ecode2
)) {
8493 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_SplashScreen" "', expected argument " "2"" of type '" "long""'");
8495 arg2
= static_cast< long >(val2
);
8496 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
8497 if (!SWIG_IsOK(ecode3
)) {
8498 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_SplashScreen" "', expected argument " "3"" of type '" "int""'");
8500 arg3
= static_cast< int >(val3
);
8501 res4
= SWIG_ConvertPtr(obj3
, &argp4
,SWIGTYPE_p_wxWindow
, 0 | 0 );
8502 if (!SWIG_IsOK(res4
)) {
8503 SWIG_exception_fail(SWIG_ArgError(res4
), "in method '" "new_SplashScreen" "', expected argument " "4"" of type '" "wxWindow *""'");
8505 arg4
= reinterpret_cast< wxWindow
* >(argp4
);
8507 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
8508 if (!SWIG_IsOK(ecode5
)) {
8509 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_SplashScreen" "', expected argument " "5"" of type '" "int""'");
8511 arg5
= static_cast< int >(val5
);
8516 if ( ! wxPoint_helper(obj5
, &arg6
)) SWIG_fail
;
8522 if ( ! wxSize_helper(obj6
, &arg7
)) SWIG_fail
;
8526 ecode8
= SWIG_AsVal_long(obj7
, &val8
);
8527 if (!SWIG_IsOK(ecode8
)) {
8528 SWIG_exception_fail(SWIG_ArgError(ecode8
), "in method '" "new_SplashScreen" "', expected argument " "8"" of type '" "long""'");
8530 arg8
= static_cast< long >(val8
);
8533 if (!wxPyCheckForApp()) SWIG_fail
;
8534 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8535 result
= (wxSplashScreen
*)new wxSplashScreen((wxBitmap
const &)*arg1
,arg2
,arg3
,arg4
,arg5
,(wxPoint
const &)*arg6
,(wxSize
const &)*arg7
,arg8
);
8536 wxPyEndAllowThreads(__tstate
);
8537 if (PyErr_Occurred()) SWIG_fail
;
8539 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSplashScreen
, SWIG_POINTER_NEW
| 0 );
8546 SWIGINTERN PyObject
*_wrap_SplashScreen_GetSplashStyle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8547 PyObject
*resultobj
= 0;
8548 wxSplashScreen
*arg1
= (wxSplashScreen
*) 0 ;
8552 PyObject
*swig_obj
[1] ;
8554 if (!args
) SWIG_fail
;
8556 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSplashScreen
, 0 | 0 );
8557 if (!SWIG_IsOK(res1
)) {
8558 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplashScreen_GetSplashStyle" "', expected argument " "1"" of type '" "wxSplashScreen const *""'");
8560 arg1
= reinterpret_cast< wxSplashScreen
* >(argp1
);
8562 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8563 result
= (long)((wxSplashScreen
const *)arg1
)->GetSplashStyle();
8564 wxPyEndAllowThreads(__tstate
);
8565 if (PyErr_Occurred()) SWIG_fail
;
8567 resultobj
= SWIG_From_long(static_cast< long >(result
));
8574 SWIGINTERN PyObject
*_wrap_SplashScreen_GetSplashWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8575 PyObject
*resultobj
= 0;
8576 wxSplashScreen
*arg1
= (wxSplashScreen
*) 0 ;
8577 wxSplashScreenWindow
*result
= 0 ;
8580 PyObject
*swig_obj
[1] ;
8582 if (!args
) SWIG_fail
;
8584 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSplashScreen
, 0 | 0 );
8585 if (!SWIG_IsOK(res1
)) {
8586 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplashScreen_GetSplashWindow" "', expected argument " "1"" of type '" "wxSplashScreen const *""'");
8588 arg1
= reinterpret_cast< wxSplashScreen
* >(argp1
);
8590 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8591 result
= (wxSplashScreenWindow
*)((wxSplashScreen
const *)arg1
)->GetSplashWindow();
8592 wxPyEndAllowThreads(__tstate
);
8593 if (PyErr_Occurred()) SWIG_fail
;
8595 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSplashScreenWindow
, 0 | 0 );
8602 SWIGINTERN PyObject
*_wrap_SplashScreen_GetTimeout(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8603 PyObject
*resultobj
= 0;
8604 wxSplashScreen
*arg1
= (wxSplashScreen
*) 0 ;
8608 PyObject
*swig_obj
[1] ;
8610 if (!args
) SWIG_fail
;
8612 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSplashScreen
, 0 | 0 );
8613 if (!SWIG_IsOK(res1
)) {
8614 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplashScreen_GetTimeout" "', expected argument " "1"" of type '" "wxSplashScreen const *""'");
8616 arg1
= reinterpret_cast< wxSplashScreen
* >(argp1
);
8618 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8619 result
= (int)((wxSplashScreen
const *)arg1
)->GetTimeout();
8620 wxPyEndAllowThreads(__tstate
);
8621 if (PyErr_Occurred()) SWIG_fail
;
8623 resultobj
= SWIG_From_int(static_cast< int >(result
));
8630 SWIGINTERN PyObject
*SplashScreen_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8632 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
8633 SWIG_TypeNewClientData(SWIGTYPE_p_wxSplashScreen
, SWIG_NewClientData(obj
));
8634 return SWIG_Py_Void();
8637 SWIGINTERN PyObject
*SplashScreen_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8638 return SWIG_Python_InitShadowInstance(args
);
8641 SWIGINTERN PyObject
*_wrap_new_StatusBar(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8642 PyObject
*resultobj
= 0;
8643 wxWindow
*arg1
= (wxWindow
*) 0 ;
8644 int arg2
= (int) -1 ;
8645 long arg3
= (long) wxDEFAULT_STATUSBAR_STYLE
;
8646 wxString
const &arg4_defvalue
= wxPyStatusLineNameStr
;
8647 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
8648 wxStatusBar
*result
= 0 ;
8655 bool temp4
= false ;
8656 PyObject
* obj0
= 0 ;
8657 PyObject
* obj1
= 0 ;
8658 PyObject
* obj2
= 0 ;
8659 PyObject
* obj3
= 0 ;
8660 char * kwnames
[] = {
8661 (char *) "parent",(char *) "id",(char *) "style",(char *) "name", NULL
8664 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOO:new_StatusBar",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
8665 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
8666 if (!SWIG_IsOK(res1
)) {
8667 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_StatusBar" "', expected argument " "1"" of type '" "wxWindow *""'");
8669 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
8671 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
8672 if (!SWIG_IsOK(ecode2
)) {
8673 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_StatusBar" "', expected argument " "2"" of type '" "int""'");
8675 arg2
= static_cast< int >(val2
);
8678 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
8679 if (!SWIG_IsOK(ecode3
)) {
8680 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_StatusBar" "', expected argument " "3"" of type '" "long""'");
8682 arg3
= static_cast< long >(val3
);
8686 arg4
= wxString_in_helper(obj3
);
8687 if (arg4
== NULL
) SWIG_fail
;
8692 if (!wxPyCheckForApp()) SWIG_fail
;
8693 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8694 result
= (wxStatusBar
*)new wxStatusBar(arg1
,arg2
,arg3
,(wxString
const &)*arg4
);
8695 wxPyEndAllowThreads(__tstate
);
8696 if (PyErr_Occurred()) SWIG_fail
;
8698 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxStatusBar
, SWIG_POINTER_NEW
| 0 );
8713 SWIGINTERN PyObject
*_wrap_new_PreStatusBar(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8714 PyObject
*resultobj
= 0;
8715 wxStatusBar
*result
= 0 ;
8717 if (!SWIG_Python_UnpackTuple(args
,"new_PreStatusBar",0,0,0)) SWIG_fail
;
8719 if (!wxPyCheckForApp()) SWIG_fail
;
8720 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8721 result
= (wxStatusBar
*)new wxStatusBar();
8722 wxPyEndAllowThreads(__tstate
);
8723 if (PyErr_Occurred()) SWIG_fail
;
8725 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxStatusBar
, SWIG_POINTER_OWN
| 0 );
8732 SWIGINTERN PyObject
*_wrap_StatusBar_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8733 PyObject
*resultobj
= 0;
8734 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
8735 wxWindow
*arg2
= (wxWindow
*) 0 ;
8736 int arg3
= (int) -1 ;
8737 long arg4
= (long) wxST_SIZEGRIP
;
8738 wxString
const &arg5_defvalue
= wxPyStatusLineNameStr
;
8739 wxString
*arg5
= (wxString
*) &arg5_defvalue
;
8749 bool temp5
= false ;
8750 PyObject
* obj0
= 0 ;
8751 PyObject
* obj1
= 0 ;
8752 PyObject
* obj2
= 0 ;
8753 PyObject
* obj3
= 0 ;
8754 PyObject
* obj4
= 0 ;
8755 char * kwnames
[] = {
8756 (char *) "self",(char *) "parent",(char *) "id",(char *) "style",(char *) "name", NULL
8759 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOO:StatusBar_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
8760 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxStatusBar
, 0 | 0 );
8761 if (!SWIG_IsOK(res1
)) {
8762 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StatusBar_Create" "', expected argument " "1"" of type '" "wxStatusBar *""'");
8764 arg1
= reinterpret_cast< wxStatusBar
* >(argp1
);
8765 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
8766 if (!SWIG_IsOK(res2
)) {
8767 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "StatusBar_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
8769 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
8771 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
8772 if (!SWIG_IsOK(ecode3
)) {
8773 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "StatusBar_Create" "', expected argument " "3"" of type '" "int""'");
8775 arg3
= static_cast< int >(val3
);
8778 ecode4
= SWIG_AsVal_long(obj3
, &val4
);
8779 if (!SWIG_IsOK(ecode4
)) {
8780 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "StatusBar_Create" "', expected argument " "4"" of type '" "long""'");
8782 arg4
= static_cast< long >(val4
);
8786 arg5
= wxString_in_helper(obj4
);
8787 if (arg5
== NULL
) SWIG_fail
;
8792 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8793 result
= (bool)(arg1
)->Create(arg2
,arg3
,arg4
,(wxString
const &)*arg5
);
8794 wxPyEndAllowThreads(__tstate
);
8795 if (PyErr_Occurred()) SWIG_fail
;
8798 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8814 SWIGINTERN PyObject
*_wrap_StatusBar_SetFieldsCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8815 PyObject
*resultobj
= 0;
8816 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
8817 int arg2
= (int) 1 ;
8822 PyObject
* obj0
= 0 ;
8823 PyObject
* obj1
= 0 ;
8824 char * kwnames
[] = {
8825 (char *) "self",(char *) "number", NULL
8828 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:StatusBar_SetFieldsCount",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
8829 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxStatusBar
, 0 | 0 );
8830 if (!SWIG_IsOK(res1
)) {
8831 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StatusBar_SetFieldsCount" "', expected argument " "1"" of type '" "wxStatusBar *""'");
8833 arg1
= reinterpret_cast< wxStatusBar
* >(argp1
);
8835 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
8836 if (!SWIG_IsOK(ecode2
)) {
8837 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "StatusBar_SetFieldsCount" "', expected argument " "2"" of type '" "int""'");
8839 arg2
= static_cast< int >(val2
);
8842 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8843 (arg1
)->SetFieldsCount(arg2
);
8844 wxPyEndAllowThreads(__tstate
);
8845 if (PyErr_Occurred()) SWIG_fail
;
8847 resultobj
= SWIG_Py_Void();
8854 SWIGINTERN PyObject
*_wrap_StatusBar_GetFieldsCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8855 PyObject
*resultobj
= 0;
8856 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
8860 PyObject
*swig_obj
[1] ;
8862 if (!args
) SWIG_fail
;
8864 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxStatusBar
, 0 | 0 );
8865 if (!SWIG_IsOK(res1
)) {
8866 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StatusBar_GetFieldsCount" "', expected argument " "1"" of type '" "wxStatusBar const *""'");
8868 arg1
= reinterpret_cast< wxStatusBar
* >(argp1
);
8870 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8871 result
= (int)((wxStatusBar
const *)arg1
)->GetFieldsCount();
8872 wxPyEndAllowThreads(__tstate
);
8873 if (PyErr_Occurred()) SWIG_fail
;
8875 resultobj
= SWIG_From_int(static_cast< int >(result
));
8882 SWIGINTERN PyObject
*_wrap_StatusBar_SetStatusText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8883 PyObject
*resultobj
= 0;
8884 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
8885 wxString
*arg2
= 0 ;
8886 int arg3
= (int) 0 ;
8889 bool temp2
= false ;
8892 PyObject
* obj0
= 0 ;
8893 PyObject
* obj1
= 0 ;
8894 PyObject
* obj2
= 0 ;
8895 char * kwnames
[] = {
8896 (char *) "self",(char *) "text",(char *) "number", NULL
8899 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:StatusBar_SetStatusText",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
8900 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxStatusBar
, 0 | 0 );
8901 if (!SWIG_IsOK(res1
)) {
8902 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StatusBar_SetStatusText" "', expected argument " "1"" of type '" "wxStatusBar *""'");
8904 arg1
= reinterpret_cast< wxStatusBar
* >(argp1
);
8906 arg2
= wxString_in_helper(obj1
);
8907 if (arg2
== NULL
) SWIG_fail
;
8911 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
8912 if (!SWIG_IsOK(ecode3
)) {
8913 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "StatusBar_SetStatusText" "', expected argument " "3"" of type '" "int""'");
8915 arg3
= static_cast< int >(val3
);
8918 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8919 (arg1
)->SetStatusText((wxString
const &)*arg2
,arg3
);
8920 wxPyEndAllowThreads(__tstate
);
8921 if (PyErr_Occurred()) SWIG_fail
;
8923 resultobj
= SWIG_Py_Void();
8938 SWIGINTERN PyObject
*_wrap_StatusBar_GetStatusText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8939 PyObject
*resultobj
= 0;
8940 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
8941 int arg2
= (int) 0 ;
8947 PyObject
* obj0
= 0 ;
8948 PyObject
* obj1
= 0 ;
8949 char * kwnames
[] = {
8950 (char *) "self",(char *) "number", NULL
8953 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:StatusBar_GetStatusText",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
8954 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxStatusBar
, 0 | 0 );
8955 if (!SWIG_IsOK(res1
)) {
8956 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StatusBar_GetStatusText" "', expected argument " "1"" of type '" "wxStatusBar const *""'");
8958 arg1
= reinterpret_cast< wxStatusBar
* >(argp1
);
8960 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
8961 if (!SWIG_IsOK(ecode2
)) {
8962 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "StatusBar_GetStatusText" "', expected argument " "2"" of type '" "int""'");
8964 arg2
= static_cast< int >(val2
);
8967 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8968 result
= ((wxStatusBar
const *)arg1
)->GetStatusText(arg2
);
8969 wxPyEndAllowThreads(__tstate
);
8970 if (PyErr_Occurred()) SWIG_fail
;
8974 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
8976 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
8985 SWIGINTERN PyObject
*_wrap_StatusBar_PushStatusText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8986 PyObject
*resultobj
= 0;
8987 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
8988 wxString
*arg2
= 0 ;
8989 int arg3
= (int) 0 ;
8992 bool temp2
= false ;
8995 PyObject
* obj0
= 0 ;
8996 PyObject
* obj1
= 0 ;
8997 PyObject
* obj2
= 0 ;
8998 char * kwnames
[] = {
8999 (char *) "self",(char *) "text",(char *) "number", NULL
9002 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:StatusBar_PushStatusText",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
9003 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxStatusBar
, 0 | 0 );
9004 if (!SWIG_IsOK(res1
)) {
9005 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StatusBar_PushStatusText" "', expected argument " "1"" of type '" "wxStatusBar *""'");
9007 arg1
= reinterpret_cast< wxStatusBar
* >(argp1
);
9009 arg2
= wxString_in_helper(obj1
);
9010 if (arg2
== NULL
) SWIG_fail
;
9014 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
9015 if (!SWIG_IsOK(ecode3
)) {
9016 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "StatusBar_PushStatusText" "', expected argument " "3"" of type '" "int""'");
9018 arg3
= static_cast< int >(val3
);
9021 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9022 (arg1
)->PushStatusText((wxString
const &)*arg2
,arg3
);
9023 wxPyEndAllowThreads(__tstate
);
9024 if (PyErr_Occurred()) SWIG_fail
;
9026 resultobj
= SWIG_Py_Void();
9041 SWIGINTERN PyObject
*_wrap_StatusBar_PopStatusText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9042 PyObject
*resultobj
= 0;
9043 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
9044 int arg2
= (int) 0 ;
9049 PyObject
* obj0
= 0 ;
9050 PyObject
* obj1
= 0 ;
9051 char * kwnames
[] = {
9052 (char *) "self",(char *) "number", NULL
9055 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:StatusBar_PopStatusText",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9056 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxStatusBar
, 0 | 0 );
9057 if (!SWIG_IsOK(res1
)) {
9058 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StatusBar_PopStatusText" "', expected argument " "1"" of type '" "wxStatusBar *""'");
9060 arg1
= reinterpret_cast< wxStatusBar
* >(argp1
);
9062 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9063 if (!SWIG_IsOK(ecode2
)) {
9064 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "StatusBar_PopStatusText" "', expected argument " "2"" of type '" "int""'");
9066 arg2
= static_cast< int >(val2
);
9069 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9070 (arg1
)->PopStatusText(arg2
);
9071 wxPyEndAllowThreads(__tstate
);
9072 if (PyErr_Occurred()) SWIG_fail
;
9074 resultobj
= SWIG_Py_Void();
9081 SWIGINTERN PyObject
*_wrap_StatusBar_SetStatusWidths(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9082 PyObject
*resultobj
= 0;
9083 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
9085 int *arg3
= (int *) 0 ;
9088 PyObject
* obj0
= 0 ;
9089 PyObject
* obj1
= 0 ;
9090 char * kwnames
[] = {
9091 (char *) "self",(char *) "widths", NULL
9094 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StatusBar_SetStatusWidths",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9095 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxStatusBar
, 0 | 0 );
9096 if (!SWIG_IsOK(res1
)) {
9097 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StatusBar_SetStatusWidths" "', expected argument " "1"" of type '" "wxStatusBar *""'");
9099 arg1
= reinterpret_cast< wxStatusBar
* >(argp1
);
9101 arg2
= PyList_Size(obj1
);
9102 arg3
= int_LIST_helper(obj1
);
9103 if (arg3
== NULL
) SWIG_fail
;
9106 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9107 (arg1
)->SetStatusWidths(arg2
,(int const *)arg3
);
9108 wxPyEndAllowThreads(__tstate
);
9109 if (PyErr_Occurred()) SWIG_fail
;
9111 resultobj
= SWIG_Py_Void();
9113 if (arg3
) delete [] arg3
;
9118 if (arg3
) delete [] arg3
;
9124 SWIGINTERN PyObject
*_wrap_StatusBar_SetStatusStyles(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9125 PyObject
*resultobj
= 0;
9126 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
9128 int *arg3
= (int *) 0 ;
9131 PyObject
* obj0
= 0 ;
9132 PyObject
* obj1
= 0 ;
9133 char * kwnames
[] = {
9134 (char *) "self",(char *) "styles", NULL
9137 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StatusBar_SetStatusStyles",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9138 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxStatusBar
, 0 | 0 );
9139 if (!SWIG_IsOK(res1
)) {
9140 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StatusBar_SetStatusStyles" "', expected argument " "1"" of type '" "wxStatusBar *""'");
9142 arg1
= reinterpret_cast< wxStatusBar
* >(argp1
);
9144 arg2
= PyList_Size(obj1
);
9145 arg3
= int_LIST_helper(obj1
);
9146 if (arg3
== NULL
) SWIG_fail
;
9149 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9150 (arg1
)->SetStatusStyles(arg2
,(int const *)arg3
);
9151 wxPyEndAllowThreads(__tstate
);
9152 if (PyErr_Occurred()) SWIG_fail
;
9154 resultobj
= SWIG_Py_Void();
9156 if (arg3
) delete [] arg3
;
9161 if (arg3
) delete [] arg3
;
9167 SWIGINTERN PyObject
*_wrap_StatusBar_GetFieldRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9168 PyObject
*resultobj
= 0;
9169 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
9176 PyObject
* obj0
= 0 ;
9177 PyObject
* obj1
= 0 ;
9178 char * kwnames
[] = {
9179 (char *) "self",(char *) "i", NULL
9182 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StatusBar_GetFieldRect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9183 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxStatusBar
, 0 | 0 );
9184 if (!SWIG_IsOK(res1
)) {
9185 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StatusBar_GetFieldRect" "', expected argument " "1"" of type '" "wxStatusBar *""'");
9187 arg1
= reinterpret_cast< wxStatusBar
* >(argp1
);
9188 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9189 if (!SWIG_IsOK(ecode2
)) {
9190 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "StatusBar_GetFieldRect" "', expected argument " "2"" of type '" "int""'");
9192 arg2
= static_cast< int >(val2
);
9194 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9195 result
= wxStatusBar_GetFieldRect(arg1
,arg2
);
9196 wxPyEndAllowThreads(__tstate
);
9197 if (PyErr_Occurred()) SWIG_fail
;
9199 resultobj
= SWIG_NewPointerObj((new wxRect(static_cast< const wxRect
& >(result
))), SWIGTYPE_p_wxRect
, SWIG_POINTER_OWN
| 0 );
9206 SWIGINTERN PyObject
*_wrap_StatusBar_SetMinHeight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9207 PyObject
*resultobj
= 0;
9208 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
9214 PyObject
* obj0
= 0 ;
9215 PyObject
* obj1
= 0 ;
9216 char * kwnames
[] = {
9217 (char *) "self",(char *) "height", NULL
9220 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StatusBar_SetMinHeight",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9221 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxStatusBar
, 0 | 0 );
9222 if (!SWIG_IsOK(res1
)) {
9223 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StatusBar_SetMinHeight" "', expected argument " "1"" of type '" "wxStatusBar *""'");
9225 arg1
= reinterpret_cast< wxStatusBar
* >(argp1
);
9226 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9227 if (!SWIG_IsOK(ecode2
)) {
9228 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "StatusBar_SetMinHeight" "', expected argument " "2"" of type '" "int""'");
9230 arg2
= static_cast< int >(val2
);
9232 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9233 (arg1
)->SetMinHeight(arg2
);
9234 wxPyEndAllowThreads(__tstate
);
9235 if (PyErr_Occurred()) SWIG_fail
;
9237 resultobj
= SWIG_Py_Void();
9244 SWIGINTERN PyObject
*_wrap_StatusBar_GetBorderX(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9245 PyObject
*resultobj
= 0;
9246 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
9250 PyObject
*swig_obj
[1] ;
9252 if (!args
) SWIG_fail
;
9254 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxStatusBar
, 0 | 0 );
9255 if (!SWIG_IsOK(res1
)) {
9256 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StatusBar_GetBorderX" "', expected argument " "1"" of type '" "wxStatusBar const *""'");
9258 arg1
= reinterpret_cast< wxStatusBar
* >(argp1
);
9260 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9261 result
= (int)((wxStatusBar
const *)arg1
)->GetBorderX();
9262 wxPyEndAllowThreads(__tstate
);
9263 if (PyErr_Occurred()) SWIG_fail
;
9265 resultobj
= SWIG_From_int(static_cast< int >(result
));
9272 SWIGINTERN PyObject
*_wrap_StatusBar_GetBorderY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9273 PyObject
*resultobj
= 0;
9274 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
9278 PyObject
*swig_obj
[1] ;
9280 if (!args
) SWIG_fail
;
9282 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxStatusBar
, 0 | 0 );
9283 if (!SWIG_IsOK(res1
)) {
9284 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StatusBar_GetBorderY" "', expected argument " "1"" of type '" "wxStatusBar const *""'");
9286 arg1
= reinterpret_cast< wxStatusBar
* >(argp1
);
9288 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9289 result
= (int)((wxStatusBar
const *)arg1
)->GetBorderY();
9290 wxPyEndAllowThreads(__tstate
);
9291 if (PyErr_Occurred()) SWIG_fail
;
9293 resultobj
= SWIG_From_int(static_cast< int >(result
));
9300 SWIGINTERN PyObject
*_wrap_StatusBar_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9301 PyObject
*resultobj
= 0;
9302 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
9303 SwigValueWrapper
<wxVisualAttributes
> result
;
9306 PyObject
* obj0
= 0 ;
9307 char * kwnames
[] = {
9308 (char *) "variant", NULL
9311 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:StatusBar_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
9313 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
9314 if (!SWIG_IsOK(ecode1
)) {
9315 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "StatusBar_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
9317 arg1
= static_cast< wxWindowVariant
>(val1
);
9320 if (!wxPyCheckForApp()) SWIG_fail
;
9321 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9322 result
= wxStatusBar::GetClassDefaultAttributes(arg1
);
9323 wxPyEndAllowThreads(__tstate
);
9324 if (PyErr_Occurred()) SWIG_fail
;
9326 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
9333 SWIGINTERN PyObject
*StatusBar_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9335 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
9336 SWIG_TypeNewClientData(SWIGTYPE_p_wxStatusBar
, SWIG_NewClientData(obj
));
9337 return SWIG_Py_Void();
9340 SWIGINTERN PyObject
*StatusBar_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9341 return SWIG_Python_InitShadowInstance(args
);
9344 SWIGINTERN
int SplitterNameStr_set(PyObject
*) {
9345 SWIG_Error(SWIG_AttributeError
,"Variable SplitterNameStr is read-only.");
9350 SWIGINTERN PyObject
*SplitterNameStr_get(void) {
9351 PyObject
*pyobj
= 0;
9355 pyobj
= PyUnicode_FromWideChar((&wxPySplitterNameStr
)->c_str(), (&wxPySplitterNameStr
)->Len());
9357 pyobj
= PyString_FromStringAndSize((&wxPySplitterNameStr
)->c_str(), (&wxPySplitterNameStr
)->Len());
9364 SWIGINTERN PyObject
*_wrap_new_SplitterWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9365 PyObject
*resultobj
= 0;
9366 wxWindow
*arg1
= (wxWindow
*) 0 ;
9367 int arg2
= (int) -1 ;
9368 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
9369 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
9370 wxSize
const &arg4_defvalue
= wxDefaultSize
;
9371 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
9372 long arg5
= (long) wxSP_3D
;
9373 wxString
const &arg6_defvalue
= wxPySplitterNameStr
;
9374 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
9375 wxSplitterWindow
*result
= 0 ;
9384 bool temp6
= false ;
9385 PyObject
* obj0
= 0 ;
9386 PyObject
* obj1
= 0 ;
9387 PyObject
* obj2
= 0 ;
9388 PyObject
* obj3
= 0 ;
9389 PyObject
* obj4
= 0 ;
9390 PyObject
* obj5
= 0 ;
9391 char * kwnames
[] = {
9392 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
9395 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_SplitterWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
9396 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
9397 if (!SWIG_IsOK(res1
)) {
9398 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_SplitterWindow" "', expected argument " "1"" of type '" "wxWindow *""'");
9400 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
9402 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9403 if (!SWIG_IsOK(ecode2
)) {
9404 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_SplitterWindow" "', expected argument " "2"" of type '" "int""'");
9406 arg2
= static_cast< int >(val2
);
9411 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
9417 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
9421 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
9422 if (!SWIG_IsOK(ecode5
)) {
9423 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_SplitterWindow" "', expected argument " "5"" of type '" "long""'");
9425 arg5
= static_cast< long >(val5
);
9429 arg6
= wxString_in_helper(obj5
);
9430 if (arg6
== NULL
) SWIG_fail
;
9435 if (!wxPyCheckForApp()) SWIG_fail
;
9436 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9437 result
= (wxSplitterWindow
*)new wxSplitterWindow(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
9438 wxPyEndAllowThreads(__tstate
);
9439 if (PyErr_Occurred()) SWIG_fail
;
9441 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSplitterWindow
, SWIG_POINTER_NEW
| 0 );
9456 SWIGINTERN PyObject
*_wrap_new_PreSplitterWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9457 PyObject
*resultobj
= 0;
9458 wxSplitterWindow
*result
= 0 ;
9460 if (!SWIG_Python_UnpackTuple(args
,"new_PreSplitterWindow",0,0,0)) SWIG_fail
;
9462 if (!wxPyCheckForApp()) SWIG_fail
;
9463 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9464 result
= (wxSplitterWindow
*)new wxSplitterWindow();
9465 wxPyEndAllowThreads(__tstate
);
9466 if (PyErr_Occurred()) SWIG_fail
;
9468 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSplitterWindow
, SWIG_POINTER_OWN
| 0 );
9475 SWIGINTERN PyObject
*_wrap_SplitterWindow_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9476 PyObject
*resultobj
= 0;
9477 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
9478 wxWindow
*arg2
= (wxWindow
*) 0 ;
9479 int arg3
= (int) -1 ;
9480 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
9481 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
9482 wxSize
const &arg5_defvalue
= wxDefaultSize
;
9483 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
9484 long arg6
= (long) wxSP_3D
;
9485 wxString
const &arg7_defvalue
= wxPySplitterNameStr
;
9486 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
9498 bool temp7
= false ;
9499 PyObject
* obj0
= 0 ;
9500 PyObject
* obj1
= 0 ;
9501 PyObject
* obj2
= 0 ;
9502 PyObject
* obj3
= 0 ;
9503 PyObject
* obj4
= 0 ;
9504 PyObject
* obj5
= 0 ;
9505 PyObject
* obj6
= 0 ;
9506 char * kwnames
[] = {
9507 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
9510 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:SplitterWindow_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
9511 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSplitterWindow
, 0 | 0 );
9512 if (!SWIG_IsOK(res1
)) {
9513 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterWindow_Create" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
9515 arg1
= reinterpret_cast< wxSplitterWindow
* >(argp1
);
9516 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
9517 if (!SWIG_IsOK(res2
)) {
9518 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "SplitterWindow_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
9520 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
9522 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
9523 if (!SWIG_IsOK(ecode3
)) {
9524 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "SplitterWindow_Create" "', expected argument " "3"" of type '" "int""'");
9526 arg3
= static_cast< int >(val3
);
9531 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
9537 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
9541 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
9542 if (!SWIG_IsOK(ecode6
)) {
9543 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "SplitterWindow_Create" "', expected argument " "6"" of type '" "long""'");
9545 arg6
= static_cast< long >(val6
);
9549 arg7
= wxString_in_helper(obj6
);
9550 if (arg7
== NULL
) SWIG_fail
;
9555 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9556 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
9557 wxPyEndAllowThreads(__tstate
);
9558 if (PyErr_Occurred()) SWIG_fail
;
9561 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9577 SWIGINTERN PyObject
*_wrap_SplitterWindow_GetWindow1(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9578 PyObject
*resultobj
= 0;
9579 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
9580 wxWindow
*result
= 0 ;
9583 PyObject
*swig_obj
[1] ;
9585 if (!args
) SWIG_fail
;
9587 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSplitterWindow
, 0 | 0 );
9588 if (!SWIG_IsOK(res1
)) {
9589 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterWindow_GetWindow1" "', expected argument " "1"" of type '" "wxSplitterWindow const *""'");
9591 arg1
= reinterpret_cast< wxSplitterWindow
* >(argp1
);
9593 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9594 result
= (wxWindow
*)((wxSplitterWindow
const *)arg1
)->GetWindow1();
9595 wxPyEndAllowThreads(__tstate
);
9596 if (PyErr_Occurred()) SWIG_fail
;
9599 resultobj
= wxPyMake_wxObject(result
, 0);
9607 SWIGINTERN PyObject
*_wrap_SplitterWindow_GetWindow2(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9608 PyObject
*resultobj
= 0;
9609 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
9610 wxWindow
*result
= 0 ;
9613 PyObject
*swig_obj
[1] ;
9615 if (!args
) SWIG_fail
;
9617 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSplitterWindow
, 0 | 0 );
9618 if (!SWIG_IsOK(res1
)) {
9619 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterWindow_GetWindow2" "', expected argument " "1"" of type '" "wxSplitterWindow const *""'");
9621 arg1
= reinterpret_cast< wxSplitterWindow
* >(argp1
);
9623 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9624 result
= (wxWindow
*)((wxSplitterWindow
const *)arg1
)->GetWindow2();
9625 wxPyEndAllowThreads(__tstate
);
9626 if (PyErr_Occurred()) SWIG_fail
;
9629 resultobj
= wxPyMake_wxObject(result
, 0);
9637 SWIGINTERN PyObject
*_wrap_SplitterWindow_SetSplitMode(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9638 PyObject
*resultobj
= 0;
9639 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
9645 PyObject
* obj0
= 0 ;
9646 PyObject
* obj1
= 0 ;
9647 char * kwnames
[] = {
9648 (char *) "self",(char *) "mode", NULL
9651 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SplitterWindow_SetSplitMode",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9652 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSplitterWindow
, 0 | 0 );
9653 if (!SWIG_IsOK(res1
)) {
9654 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterWindow_SetSplitMode" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
9656 arg1
= reinterpret_cast< wxSplitterWindow
* >(argp1
);
9657 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9658 if (!SWIG_IsOK(ecode2
)) {
9659 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SplitterWindow_SetSplitMode" "', expected argument " "2"" of type '" "int""'");
9661 arg2
= static_cast< int >(val2
);
9663 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9664 (arg1
)->SetSplitMode(arg2
);
9665 wxPyEndAllowThreads(__tstate
);
9666 if (PyErr_Occurred()) SWIG_fail
;
9668 resultobj
= SWIG_Py_Void();
9675 SWIGINTERN PyObject
*_wrap_SplitterWindow_GetSplitMode(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9676 PyObject
*resultobj
= 0;
9677 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
9681 PyObject
*swig_obj
[1] ;
9683 if (!args
) SWIG_fail
;
9685 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSplitterWindow
, 0 | 0 );
9686 if (!SWIG_IsOK(res1
)) {
9687 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterWindow_GetSplitMode" "', expected argument " "1"" of type '" "wxSplitterWindow const *""'");
9689 arg1
= reinterpret_cast< wxSplitterWindow
* >(argp1
);
9691 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9692 result
= (wxSplitMode
)((wxSplitterWindow
const *)arg1
)->GetSplitMode();
9693 wxPyEndAllowThreads(__tstate
);
9694 if (PyErr_Occurred()) SWIG_fail
;
9696 resultobj
= SWIG_From_int(static_cast< int >(result
));
9703 SWIGINTERN PyObject
*_wrap_SplitterWindow_Initialize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9704 PyObject
*resultobj
= 0;
9705 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
9706 wxWindow
*arg2
= (wxWindow
*) 0 ;
9711 PyObject
* obj0
= 0 ;
9712 PyObject
* obj1
= 0 ;
9713 char * kwnames
[] = {
9714 (char *) "self",(char *) "window", NULL
9717 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SplitterWindow_Initialize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9718 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSplitterWindow
, 0 | 0 );
9719 if (!SWIG_IsOK(res1
)) {
9720 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterWindow_Initialize" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
9722 arg1
= reinterpret_cast< wxSplitterWindow
* >(argp1
);
9723 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
9724 if (!SWIG_IsOK(res2
)) {
9725 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "SplitterWindow_Initialize" "', expected argument " "2"" of type '" "wxWindow *""'");
9727 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
9729 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9730 (arg1
)->Initialize(arg2
);
9731 wxPyEndAllowThreads(__tstate
);
9732 if (PyErr_Occurred()) SWIG_fail
;
9734 resultobj
= SWIG_Py_Void();
9741 SWIGINTERN PyObject
*_wrap_SplitterWindow_SplitVertically(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9742 PyObject
*resultobj
= 0;
9743 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
9744 wxWindow
*arg2
= (wxWindow
*) 0 ;
9745 wxWindow
*arg3
= (wxWindow
*) 0 ;
9746 int arg4
= (int) 0 ;
9756 PyObject
* obj0
= 0 ;
9757 PyObject
* obj1
= 0 ;
9758 PyObject
* obj2
= 0 ;
9759 PyObject
* obj3
= 0 ;
9760 char * kwnames
[] = {
9761 (char *) "self",(char *) "window1",(char *) "window2",(char *) "sashPosition", NULL
9764 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:SplitterWindow_SplitVertically",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
9765 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSplitterWindow
, 0 | 0 );
9766 if (!SWIG_IsOK(res1
)) {
9767 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterWindow_SplitVertically" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
9769 arg1
= reinterpret_cast< wxSplitterWindow
* >(argp1
);
9770 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
9771 if (!SWIG_IsOK(res2
)) {
9772 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "SplitterWindow_SplitVertically" "', expected argument " "2"" of type '" "wxWindow *""'");
9774 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
9775 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxWindow
, 0 | 0 );
9776 if (!SWIG_IsOK(res3
)) {
9777 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "SplitterWindow_SplitVertically" "', expected argument " "3"" of type '" "wxWindow *""'");
9779 arg3
= reinterpret_cast< wxWindow
* >(argp3
);
9781 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
9782 if (!SWIG_IsOK(ecode4
)) {
9783 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "SplitterWindow_SplitVertically" "', expected argument " "4"" of type '" "int""'");
9785 arg4
= static_cast< int >(val4
);
9788 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9789 result
= (bool)(arg1
)->SplitVertically(arg2
,arg3
,arg4
);
9790 wxPyEndAllowThreads(__tstate
);
9791 if (PyErr_Occurred()) SWIG_fail
;
9794 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9802 SWIGINTERN PyObject
*_wrap_SplitterWindow_SplitHorizontally(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9803 PyObject
*resultobj
= 0;
9804 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
9805 wxWindow
*arg2
= (wxWindow
*) 0 ;
9806 wxWindow
*arg3
= (wxWindow
*) 0 ;
9807 int arg4
= (int) 0 ;
9817 PyObject
* obj0
= 0 ;
9818 PyObject
* obj1
= 0 ;
9819 PyObject
* obj2
= 0 ;
9820 PyObject
* obj3
= 0 ;
9821 char * kwnames
[] = {
9822 (char *) "self",(char *) "window1",(char *) "window2",(char *) "sashPosition", NULL
9825 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:SplitterWindow_SplitHorizontally",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
9826 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSplitterWindow
, 0 | 0 );
9827 if (!SWIG_IsOK(res1
)) {
9828 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterWindow_SplitHorizontally" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
9830 arg1
= reinterpret_cast< wxSplitterWindow
* >(argp1
);
9831 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
9832 if (!SWIG_IsOK(res2
)) {
9833 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "SplitterWindow_SplitHorizontally" "', expected argument " "2"" of type '" "wxWindow *""'");
9835 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
9836 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxWindow
, 0 | 0 );
9837 if (!SWIG_IsOK(res3
)) {
9838 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "SplitterWindow_SplitHorizontally" "', expected argument " "3"" of type '" "wxWindow *""'");
9840 arg3
= reinterpret_cast< wxWindow
* >(argp3
);
9842 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
9843 if (!SWIG_IsOK(ecode4
)) {
9844 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "SplitterWindow_SplitHorizontally" "', expected argument " "4"" of type '" "int""'");
9846 arg4
= static_cast< int >(val4
);
9849 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9850 result
= (bool)(arg1
)->SplitHorizontally(arg2
,arg3
,arg4
);
9851 wxPyEndAllowThreads(__tstate
);
9852 if (PyErr_Occurred()) SWIG_fail
;
9855 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9863 SWIGINTERN PyObject
*_wrap_SplitterWindow_Unsplit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9864 PyObject
*resultobj
= 0;
9865 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
9866 wxWindow
*arg2
= (wxWindow
*) NULL
;
9872 PyObject
* obj0
= 0 ;
9873 PyObject
* obj1
= 0 ;
9874 char * kwnames
[] = {
9875 (char *) "self",(char *) "toRemove", NULL
9878 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:SplitterWindow_Unsplit",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9879 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSplitterWindow
, 0 | 0 );
9880 if (!SWIG_IsOK(res1
)) {
9881 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterWindow_Unsplit" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
9883 arg1
= reinterpret_cast< wxSplitterWindow
* >(argp1
);
9885 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
9886 if (!SWIG_IsOK(res2
)) {
9887 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "SplitterWindow_Unsplit" "', expected argument " "2"" of type '" "wxWindow *""'");
9889 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
9892 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9893 result
= (bool)(arg1
)->Unsplit(arg2
);
9894 wxPyEndAllowThreads(__tstate
);
9895 if (PyErr_Occurred()) SWIG_fail
;
9898 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9906 SWIGINTERN PyObject
*_wrap_SplitterWindow_ReplaceWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9907 PyObject
*resultobj
= 0;
9908 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
9909 wxWindow
*arg2
= (wxWindow
*) 0 ;
9910 wxWindow
*arg3
= (wxWindow
*) 0 ;
9918 PyObject
* obj0
= 0 ;
9919 PyObject
* obj1
= 0 ;
9920 PyObject
* obj2
= 0 ;
9921 char * kwnames
[] = {
9922 (char *) "self",(char *) "winOld",(char *) "winNew", NULL
9925 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:SplitterWindow_ReplaceWindow",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
9926 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSplitterWindow
, 0 | 0 );
9927 if (!SWIG_IsOK(res1
)) {
9928 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterWindow_ReplaceWindow" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
9930 arg1
= reinterpret_cast< wxSplitterWindow
* >(argp1
);
9931 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
9932 if (!SWIG_IsOK(res2
)) {
9933 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "SplitterWindow_ReplaceWindow" "', expected argument " "2"" of type '" "wxWindow *""'");
9935 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
9936 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxWindow
, 0 | 0 );
9937 if (!SWIG_IsOK(res3
)) {
9938 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "SplitterWindow_ReplaceWindow" "', expected argument " "3"" of type '" "wxWindow *""'");
9940 arg3
= reinterpret_cast< wxWindow
* >(argp3
);
9942 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9943 result
= (bool)(arg1
)->ReplaceWindow(arg2
,arg3
);
9944 wxPyEndAllowThreads(__tstate
);
9945 if (PyErr_Occurred()) SWIG_fail
;
9948 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9956 SWIGINTERN PyObject
*_wrap_SplitterWindow_UpdateSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9957 PyObject
*resultobj
= 0;
9958 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
9961 PyObject
*swig_obj
[1] ;
9963 if (!args
) SWIG_fail
;
9965 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSplitterWindow
, 0 | 0 );
9966 if (!SWIG_IsOK(res1
)) {
9967 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterWindow_UpdateSize" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
9969 arg1
= reinterpret_cast< wxSplitterWindow
* >(argp1
);
9971 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9972 (arg1
)->UpdateSize();
9973 wxPyEndAllowThreads(__tstate
);
9974 if (PyErr_Occurred()) SWIG_fail
;
9976 resultobj
= SWIG_Py_Void();
9983 SWIGINTERN PyObject
*_wrap_SplitterWindow_IsSplit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9984 PyObject
*resultobj
= 0;
9985 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
9989 PyObject
*swig_obj
[1] ;
9991 if (!args
) SWIG_fail
;
9993 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSplitterWindow
, 0 | 0 );
9994 if (!SWIG_IsOK(res1
)) {
9995 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterWindow_IsSplit" "', expected argument " "1"" of type '" "wxSplitterWindow const *""'");
9997 arg1
= reinterpret_cast< wxSplitterWindow
* >(argp1
);
9999 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10000 result
= (bool)((wxSplitterWindow
const *)arg1
)->IsSplit();
10001 wxPyEndAllowThreads(__tstate
);
10002 if (PyErr_Occurred()) SWIG_fail
;
10005 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10013 SWIGINTERN PyObject
*_wrap_SplitterWindow_SetSashSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10014 PyObject
*resultobj
= 0;
10015 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
10021 PyObject
* obj0
= 0 ;
10022 PyObject
* obj1
= 0 ;
10023 char * kwnames
[] = {
10024 (char *) "self",(char *) "width", NULL
10027 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SplitterWindow_SetSashSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10028 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSplitterWindow
, 0 | 0 );
10029 if (!SWIG_IsOK(res1
)) {
10030 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterWindow_SetSashSize" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
10032 arg1
= reinterpret_cast< wxSplitterWindow
* >(argp1
);
10033 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
10034 if (!SWIG_IsOK(ecode2
)) {
10035 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SplitterWindow_SetSashSize" "', expected argument " "2"" of type '" "int""'");
10037 arg2
= static_cast< int >(val2
);
10039 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10040 (arg1
)->SetSashSize(arg2
);
10041 wxPyEndAllowThreads(__tstate
);
10042 if (PyErr_Occurred()) SWIG_fail
;
10044 resultobj
= SWIG_Py_Void();
10051 SWIGINTERN PyObject
*_wrap_SplitterWindow_SetBorderSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10052 PyObject
*resultobj
= 0;
10053 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
10059 PyObject
* obj0
= 0 ;
10060 PyObject
* obj1
= 0 ;
10061 char * kwnames
[] = {
10062 (char *) "self",(char *) "width", NULL
10065 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SplitterWindow_SetBorderSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10066 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSplitterWindow
, 0 | 0 );
10067 if (!SWIG_IsOK(res1
)) {
10068 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterWindow_SetBorderSize" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
10070 arg1
= reinterpret_cast< wxSplitterWindow
* >(argp1
);
10071 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
10072 if (!SWIG_IsOK(ecode2
)) {
10073 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SplitterWindow_SetBorderSize" "', expected argument " "2"" of type '" "int""'");
10075 arg2
= static_cast< int >(val2
);
10077 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10078 (arg1
)->SetBorderSize(arg2
);
10079 wxPyEndAllowThreads(__tstate
);
10080 if (PyErr_Occurred()) SWIG_fail
;
10082 resultobj
= SWIG_Py_Void();
10089 SWIGINTERN PyObject
*_wrap_SplitterWindow_GetSashSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10090 PyObject
*resultobj
= 0;
10091 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
10095 PyObject
*swig_obj
[1] ;
10097 if (!args
) SWIG_fail
;
10098 swig_obj
[0] = args
;
10099 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSplitterWindow
, 0 | 0 );
10100 if (!SWIG_IsOK(res1
)) {
10101 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterWindow_GetSashSize" "', expected argument " "1"" of type '" "wxSplitterWindow const *""'");
10103 arg1
= reinterpret_cast< wxSplitterWindow
* >(argp1
);
10105 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10106 result
= (int)((wxSplitterWindow
const *)arg1
)->GetSashSize();
10107 wxPyEndAllowThreads(__tstate
);
10108 if (PyErr_Occurred()) SWIG_fail
;
10110 resultobj
= SWIG_From_int(static_cast< int >(result
));
10117 SWIGINTERN PyObject
*_wrap_SplitterWindow_GetBorderSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10118 PyObject
*resultobj
= 0;
10119 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
10123 PyObject
*swig_obj
[1] ;
10125 if (!args
) SWIG_fail
;
10126 swig_obj
[0] = args
;
10127 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSplitterWindow
, 0 | 0 );
10128 if (!SWIG_IsOK(res1
)) {
10129 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterWindow_GetBorderSize" "', expected argument " "1"" of type '" "wxSplitterWindow const *""'");
10131 arg1
= reinterpret_cast< wxSplitterWindow
* >(argp1
);
10133 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10134 result
= (int)((wxSplitterWindow
const *)arg1
)->GetBorderSize();
10135 wxPyEndAllowThreads(__tstate
);
10136 if (PyErr_Occurred()) SWIG_fail
;
10138 resultobj
= SWIG_From_int(static_cast< int >(result
));
10145 SWIGINTERN PyObject
*_wrap_SplitterWindow_SetSashPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10146 PyObject
*resultobj
= 0;
10147 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
10149 bool arg3
= (bool) true ;
10156 PyObject
* obj0
= 0 ;
10157 PyObject
* obj1
= 0 ;
10158 PyObject
* obj2
= 0 ;
10159 char * kwnames
[] = {
10160 (char *) "self",(char *) "position",(char *) "redraw", NULL
10163 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:SplitterWindow_SetSashPosition",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
10164 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSplitterWindow
, 0 | 0 );
10165 if (!SWIG_IsOK(res1
)) {
10166 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterWindow_SetSashPosition" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
10168 arg1
= reinterpret_cast< wxSplitterWindow
* >(argp1
);
10169 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
10170 if (!SWIG_IsOK(ecode2
)) {
10171 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SplitterWindow_SetSashPosition" "', expected argument " "2"" of type '" "int""'");
10173 arg2
= static_cast< int >(val2
);
10175 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
10176 if (!SWIG_IsOK(ecode3
)) {
10177 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "SplitterWindow_SetSashPosition" "', expected argument " "3"" of type '" "bool""'");
10179 arg3
= static_cast< bool >(val3
);
10182 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10183 (arg1
)->SetSashPosition(arg2
,arg3
);
10184 wxPyEndAllowThreads(__tstate
);
10185 if (PyErr_Occurred()) SWIG_fail
;
10187 resultobj
= SWIG_Py_Void();
10194 SWIGINTERN PyObject
*_wrap_SplitterWindow_GetSashPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10195 PyObject
*resultobj
= 0;
10196 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
10200 PyObject
*swig_obj
[1] ;
10202 if (!args
) SWIG_fail
;
10203 swig_obj
[0] = args
;
10204 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSplitterWindow
, 0 | 0 );
10205 if (!SWIG_IsOK(res1
)) {
10206 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterWindow_GetSashPosition" "', expected argument " "1"" of type '" "wxSplitterWindow const *""'");
10208 arg1
= reinterpret_cast< wxSplitterWindow
* >(argp1
);
10210 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10211 result
= (int)((wxSplitterWindow
const *)arg1
)->GetSashPosition();
10212 wxPyEndAllowThreads(__tstate
);
10213 if (PyErr_Occurred()) SWIG_fail
;
10215 resultobj
= SWIG_From_int(static_cast< int >(result
));
10222 SWIGINTERN PyObject
*_wrap_SplitterWindow_SetSashGravity(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10223 PyObject
*resultobj
= 0;
10224 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
10230 PyObject
* obj0
= 0 ;
10231 PyObject
* obj1
= 0 ;
10232 char * kwnames
[] = {
10233 (char *) "self",(char *) "gravity", NULL
10236 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SplitterWindow_SetSashGravity",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10237 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSplitterWindow
, 0 | 0 );
10238 if (!SWIG_IsOK(res1
)) {
10239 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterWindow_SetSashGravity" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
10241 arg1
= reinterpret_cast< wxSplitterWindow
* >(argp1
);
10242 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
10243 if (!SWIG_IsOK(ecode2
)) {
10244 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SplitterWindow_SetSashGravity" "', expected argument " "2"" of type '" "double""'");
10246 arg2
= static_cast< double >(val2
);
10248 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10249 (arg1
)->SetSashGravity(arg2
);
10250 wxPyEndAllowThreads(__tstate
);
10251 if (PyErr_Occurred()) SWIG_fail
;
10253 resultobj
= SWIG_Py_Void();
10260 SWIGINTERN PyObject
*_wrap_SplitterWindow_GetSashGravity(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10261 PyObject
*resultobj
= 0;
10262 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
10266 PyObject
*swig_obj
[1] ;
10268 if (!args
) SWIG_fail
;
10269 swig_obj
[0] = args
;
10270 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSplitterWindow
, 0 | 0 );
10271 if (!SWIG_IsOK(res1
)) {
10272 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterWindow_GetSashGravity" "', expected argument " "1"" of type '" "wxSplitterWindow const *""'");
10274 arg1
= reinterpret_cast< wxSplitterWindow
* >(argp1
);
10276 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10277 result
= (double)((wxSplitterWindow
const *)arg1
)->GetSashGravity();
10278 wxPyEndAllowThreads(__tstate
);
10279 if (PyErr_Occurred()) SWIG_fail
;
10281 resultobj
= SWIG_From_double(static_cast< double >(result
));
10288 SWIGINTERN PyObject
*_wrap_SplitterWindow_SetMinimumPaneSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10289 PyObject
*resultobj
= 0;
10290 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
10296 PyObject
* obj0
= 0 ;
10297 PyObject
* obj1
= 0 ;
10298 char * kwnames
[] = {
10299 (char *) "self",(char *) "min", NULL
10302 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SplitterWindow_SetMinimumPaneSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10303 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSplitterWindow
, 0 | 0 );
10304 if (!SWIG_IsOK(res1
)) {
10305 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterWindow_SetMinimumPaneSize" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
10307 arg1
= reinterpret_cast< wxSplitterWindow
* >(argp1
);
10308 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
10309 if (!SWIG_IsOK(ecode2
)) {
10310 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SplitterWindow_SetMinimumPaneSize" "', expected argument " "2"" of type '" "int""'");
10312 arg2
= static_cast< int >(val2
);
10314 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10315 (arg1
)->SetMinimumPaneSize(arg2
);
10316 wxPyEndAllowThreads(__tstate
);
10317 if (PyErr_Occurred()) SWIG_fail
;
10319 resultobj
= SWIG_Py_Void();
10326 SWIGINTERN PyObject
*_wrap_SplitterWindow_GetMinimumPaneSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10327 PyObject
*resultobj
= 0;
10328 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
10332 PyObject
*swig_obj
[1] ;
10334 if (!args
) SWIG_fail
;
10335 swig_obj
[0] = args
;
10336 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSplitterWindow
, 0 | 0 );
10337 if (!SWIG_IsOK(res1
)) {
10338 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterWindow_GetMinimumPaneSize" "', expected argument " "1"" of type '" "wxSplitterWindow const *""'");
10340 arg1
= reinterpret_cast< wxSplitterWindow
* >(argp1
);
10342 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10343 result
= (int)((wxSplitterWindow
const *)arg1
)->GetMinimumPaneSize();
10344 wxPyEndAllowThreads(__tstate
);
10345 if (PyErr_Occurred()) SWIG_fail
;
10347 resultobj
= SWIG_From_int(static_cast< int >(result
));
10354 SWIGINTERN PyObject
*_wrap_SplitterWindow_SashHitTest(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10355 PyObject
*resultobj
= 0;
10356 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
10359 int arg4
= (int) 5 ;
10369 PyObject
* obj0
= 0 ;
10370 PyObject
* obj1
= 0 ;
10371 PyObject
* obj2
= 0 ;
10372 PyObject
* obj3
= 0 ;
10373 char * kwnames
[] = {
10374 (char *) "self",(char *) "x",(char *) "y",(char *) "tolerance", NULL
10377 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:SplitterWindow_SashHitTest",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
10378 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSplitterWindow
, 0 | 0 );
10379 if (!SWIG_IsOK(res1
)) {
10380 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterWindow_SashHitTest" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
10382 arg1
= reinterpret_cast< wxSplitterWindow
* >(argp1
);
10383 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
10384 if (!SWIG_IsOK(ecode2
)) {
10385 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SplitterWindow_SashHitTest" "', expected argument " "2"" of type '" "int""'");
10387 arg2
= static_cast< int >(val2
);
10388 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
10389 if (!SWIG_IsOK(ecode3
)) {
10390 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "SplitterWindow_SashHitTest" "', expected argument " "3"" of type '" "int""'");
10392 arg3
= static_cast< int >(val3
);
10394 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
10395 if (!SWIG_IsOK(ecode4
)) {
10396 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "SplitterWindow_SashHitTest" "', expected argument " "4"" of type '" "int""'");
10398 arg4
= static_cast< int >(val4
);
10401 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10402 result
= (bool)(arg1
)->SashHitTest(arg2
,arg3
,arg4
);
10403 wxPyEndAllowThreads(__tstate
);
10404 if (PyErr_Occurred()) SWIG_fail
;
10407 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10415 SWIGINTERN PyObject
*_wrap_SplitterWindow_SizeWindows(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10416 PyObject
*resultobj
= 0;
10417 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
10420 PyObject
*swig_obj
[1] ;
10422 if (!args
) SWIG_fail
;
10423 swig_obj
[0] = args
;
10424 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSplitterWindow
, 0 | 0 );
10425 if (!SWIG_IsOK(res1
)) {
10426 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterWindow_SizeWindows" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
10428 arg1
= reinterpret_cast< wxSplitterWindow
* >(argp1
);
10430 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10431 (arg1
)->SizeWindows();
10432 wxPyEndAllowThreads(__tstate
);
10433 if (PyErr_Occurred()) SWIG_fail
;
10435 resultobj
= SWIG_Py_Void();
10442 SWIGINTERN PyObject
*_wrap_SplitterWindow_SetNeedUpdating(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10443 PyObject
*resultobj
= 0;
10444 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
10450 PyObject
* obj0
= 0 ;
10451 PyObject
* obj1
= 0 ;
10452 char * kwnames
[] = {
10453 (char *) "self",(char *) "needUpdating", NULL
10456 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SplitterWindow_SetNeedUpdating",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10457 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSplitterWindow
, 0 | 0 );
10458 if (!SWIG_IsOK(res1
)) {
10459 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterWindow_SetNeedUpdating" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
10461 arg1
= reinterpret_cast< wxSplitterWindow
* >(argp1
);
10462 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
10463 if (!SWIG_IsOK(ecode2
)) {
10464 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SplitterWindow_SetNeedUpdating" "', expected argument " "2"" of type '" "bool""'");
10466 arg2
= static_cast< bool >(val2
);
10468 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10469 (arg1
)->SetNeedUpdating(arg2
);
10470 wxPyEndAllowThreads(__tstate
);
10471 if (PyErr_Occurred()) SWIG_fail
;
10473 resultobj
= SWIG_Py_Void();
10480 SWIGINTERN PyObject
*_wrap_SplitterWindow_GetNeedUpdating(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10481 PyObject
*resultobj
= 0;
10482 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
10486 PyObject
*swig_obj
[1] ;
10488 if (!args
) SWIG_fail
;
10489 swig_obj
[0] = args
;
10490 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSplitterWindow
, 0 | 0 );
10491 if (!SWIG_IsOK(res1
)) {
10492 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterWindow_GetNeedUpdating" "', expected argument " "1"" of type '" "wxSplitterWindow const *""'");
10494 arg1
= reinterpret_cast< wxSplitterWindow
* >(argp1
);
10496 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10497 result
= (bool)((wxSplitterWindow
const *)arg1
)->GetNeedUpdating();
10498 wxPyEndAllowThreads(__tstate
);
10499 if (PyErr_Occurred()) SWIG_fail
;
10502 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10510 SWIGINTERN PyObject
*_wrap_SplitterWindow_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10511 PyObject
*resultobj
= 0;
10512 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
10513 SwigValueWrapper
<wxVisualAttributes
> result
;
10516 PyObject
* obj0
= 0 ;
10517 char * kwnames
[] = {
10518 (char *) "variant", NULL
10521 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:SplitterWindow_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
10523 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
10524 if (!SWIG_IsOK(ecode1
)) {
10525 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "SplitterWindow_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
10527 arg1
= static_cast< wxWindowVariant
>(val1
);
10530 if (!wxPyCheckForApp()) SWIG_fail
;
10531 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10532 result
= wxSplitterWindow::GetClassDefaultAttributes(arg1
);
10533 wxPyEndAllowThreads(__tstate
);
10534 if (PyErr_Occurred()) SWIG_fail
;
10536 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
10543 SWIGINTERN PyObject
*SplitterWindow_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10545 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
10546 SWIG_TypeNewClientData(SWIGTYPE_p_wxSplitterWindow
, SWIG_NewClientData(obj
));
10547 return SWIG_Py_Void();
10550 SWIGINTERN PyObject
*SplitterWindow_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10551 return SWIG_Python_InitShadowInstance(args
);
10554 SWIGINTERN PyObject
*_wrap_new_SplitterEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10555 PyObject
*resultobj
= 0;
10556 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
10557 wxSplitterWindow
*arg2
= (wxSplitterWindow
*) (wxSplitterWindow
*) NULL
;
10558 wxSplitterEvent
*result
= 0 ;
10563 PyObject
* obj0
= 0 ;
10564 PyObject
* obj1
= 0 ;
10565 char * kwnames
[] = {
10566 (char *) "type",(char *) "splitter", NULL
10569 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_SplitterEvent",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10571 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
10572 if (!SWIG_IsOK(ecode1
)) {
10573 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_SplitterEvent" "', expected argument " "1"" of type '" "wxEventType""'");
10575 arg1
= static_cast< wxEventType
>(val1
);
10578 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxSplitterWindow
, 0 | 0 );
10579 if (!SWIG_IsOK(res2
)) {
10580 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_SplitterEvent" "', expected argument " "2"" of type '" "wxSplitterWindow *""'");
10582 arg2
= reinterpret_cast< wxSplitterWindow
* >(argp2
);
10585 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10586 result
= (wxSplitterEvent
*)new wxSplitterEvent(arg1
,arg2
);
10587 wxPyEndAllowThreads(__tstate
);
10588 if (PyErr_Occurred()) SWIG_fail
;
10590 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSplitterEvent
, SWIG_POINTER_NEW
| 0 );
10597 SWIGINTERN PyObject
*_wrap_SplitterEvent_SetSashPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10598 PyObject
*resultobj
= 0;
10599 wxSplitterEvent
*arg1
= (wxSplitterEvent
*) 0 ;
10605 PyObject
* obj0
= 0 ;
10606 PyObject
* obj1
= 0 ;
10607 char * kwnames
[] = {
10608 (char *) "self",(char *) "pos", NULL
10611 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SplitterEvent_SetSashPosition",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10612 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSplitterEvent
, 0 | 0 );
10613 if (!SWIG_IsOK(res1
)) {
10614 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterEvent_SetSashPosition" "', expected argument " "1"" of type '" "wxSplitterEvent *""'");
10616 arg1
= reinterpret_cast< wxSplitterEvent
* >(argp1
);
10617 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
10618 if (!SWIG_IsOK(ecode2
)) {
10619 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SplitterEvent_SetSashPosition" "', expected argument " "2"" of type '" "int""'");
10621 arg2
= static_cast< int >(val2
);
10623 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10624 (arg1
)->SetSashPosition(arg2
);
10625 wxPyEndAllowThreads(__tstate
);
10626 if (PyErr_Occurred()) SWIG_fail
;
10628 resultobj
= SWIG_Py_Void();
10635 SWIGINTERN PyObject
*_wrap_SplitterEvent_GetSashPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10636 PyObject
*resultobj
= 0;
10637 wxSplitterEvent
*arg1
= (wxSplitterEvent
*) 0 ;
10641 PyObject
*swig_obj
[1] ;
10643 if (!args
) SWIG_fail
;
10644 swig_obj
[0] = args
;
10645 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSplitterEvent
, 0 | 0 );
10646 if (!SWIG_IsOK(res1
)) {
10647 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterEvent_GetSashPosition" "', expected argument " "1"" of type '" "wxSplitterEvent const *""'");
10649 arg1
= reinterpret_cast< wxSplitterEvent
* >(argp1
);
10651 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10652 result
= (int)((wxSplitterEvent
const *)arg1
)->GetSashPosition();
10653 wxPyEndAllowThreads(__tstate
);
10654 if (PyErr_Occurred()) SWIG_fail
;
10656 resultobj
= SWIG_From_int(static_cast< int >(result
));
10663 SWIGINTERN PyObject
*_wrap_SplitterEvent_GetWindowBeingRemoved(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10664 PyObject
*resultobj
= 0;
10665 wxSplitterEvent
*arg1
= (wxSplitterEvent
*) 0 ;
10666 wxWindow
*result
= 0 ;
10669 PyObject
*swig_obj
[1] ;
10671 if (!args
) SWIG_fail
;
10672 swig_obj
[0] = args
;
10673 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSplitterEvent
, 0 | 0 );
10674 if (!SWIG_IsOK(res1
)) {
10675 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterEvent_GetWindowBeingRemoved" "', expected argument " "1"" of type '" "wxSplitterEvent const *""'");
10677 arg1
= reinterpret_cast< wxSplitterEvent
* >(argp1
);
10679 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10680 result
= (wxWindow
*)((wxSplitterEvent
const *)arg1
)->GetWindowBeingRemoved();
10681 wxPyEndAllowThreads(__tstate
);
10682 if (PyErr_Occurred()) SWIG_fail
;
10685 resultobj
= wxPyMake_wxObject(result
, 0);
10693 SWIGINTERN PyObject
*_wrap_SplitterEvent_GetX(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10694 PyObject
*resultobj
= 0;
10695 wxSplitterEvent
*arg1
= (wxSplitterEvent
*) 0 ;
10699 PyObject
*swig_obj
[1] ;
10701 if (!args
) SWIG_fail
;
10702 swig_obj
[0] = args
;
10703 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSplitterEvent
, 0 | 0 );
10704 if (!SWIG_IsOK(res1
)) {
10705 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterEvent_GetX" "', expected argument " "1"" of type '" "wxSplitterEvent const *""'");
10707 arg1
= reinterpret_cast< wxSplitterEvent
* >(argp1
);
10709 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10710 result
= (int)((wxSplitterEvent
const *)arg1
)->GetX();
10711 wxPyEndAllowThreads(__tstate
);
10712 if (PyErr_Occurred()) SWIG_fail
;
10714 resultobj
= SWIG_From_int(static_cast< int >(result
));
10721 SWIGINTERN PyObject
*_wrap_SplitterEvent_GetY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10722 PyObject
*resultobj
= 0;
10723 wxSplitterEvent
*arg1
= (wxSplitterEvent
*) 0 ;
10727 PyObject
*swig_obj
[1] ;
10729 if (!args
) SWIG_fail
;
10730 swig_obj
[0] = args
;
10731 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSplitterEvent
, 0 | 0 );
10732 if (!SWIG_IsOK(res1
)) {
10733 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterEvent_GetY" "', expected argument " "1"" of type '" "wxSplitterEvent const *""'");
10735 arg1
= reinterpret_cast< wxSplitterEvent
* >(argp1
);
10737 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10738 result
= (int)((wxSplitterEvent
const *)arg1
)->GetY();
10739 wxPyEndAllowThreads(__tstate
);
10740 if (PyErr_Occurred()) SWIG_fail
;
10742 resultobj
= SWIG_From_int(static_cast< int >(result
));
10749 SWIGINTERN PyObject
*SplitterEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10751 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
10752 SWIG_TypeNewClientData(SWIGTYPE_p_wxSplitterEvent
, SWIG_NewClientData(obj
));
10753 return SWIG_Py_Void();
10756 SWIGINTERN PyObject
*SplitterEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10757 return SWIG_Python_InitShadowInstance(args
);
10760 SWIGINTERN
int SashNameStr_set(PyObject
*) {
10761 SWIG_Error(SWIG_AttributeError
,"Variable SashNameStr is read-only.");
10766 SWIGINTERN PyObject
*SashNameStr_get(void) {
10767 PyObject
*pyobj
= 0;
10771 pyobj
= PyUnicode_FromWideChar((&wxPySashNameStr
)->c_str(), (&wxPySashNameStr
)->Len());
10773 pyobj
= PyString_FromStringAndSize((&wxPySashNameStr
)->c_str(), (&wxPySashNameStr
)->Len());
10780 SWIGINTERN
int SashLayoutNameStr_set(PyObject
*) {
10781 SWIG_Error(SWIG_AttributeError
,"Variable SashLayoutNameStr is read-only.");
10786 SWIGINTERN PyObject
*SashLayoutNameStr_get(void) {
10787 PyObject
*pyobj
= 0;
10791 pyobj
= PyUnicode_FromWideChar((&wxPySashLayoutNameStr
)->c_str(), (&wxPySashLayoutNameStr
)->Len());
10793 pyobj
= PyString_FromStringAndSize((&wxPySashLayoutNameStr
)->c_str(), (&wxPySashLayoutNameStr
)->Len());
10800 SWIGINTERN PyObject
*_wrap_new_SashWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10801 PyObject
*resultobj
= 0;
10802 wxWindow
*arg1
= (wxWindow
*) 0 ;
10803 int arg2
= (int) -1 ;
10804 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
10805 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
10806 wxSize
const &arg4_defvalue
= wxDefaultSize
;
10807 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
10808 long arg5
= (long) wxCLIP_CHILDREN
|wxSW_3D
;
10809 wxString
const &arg6_defvalue
= wxPySashNameStr
;
10810 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
10811 wxSashWindow
*result
= 0 ;
10820 bool temp6
= false ;
10821 PyObject
* obj0
= 0 ;
10822 PyObject
* obj1
= 0 ;
10823 PyObject
* obj2
= 0 ;
10824 PyObject
* obj3
= 0 ;
10825 PyObject
* obj4
= 0 ;
10826 PyObject
* obj5
= 0 ;
10827 char * kwnames
[] = {
10828 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
10831 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_SashWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
10832 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
10833 if (!SWIG_IsOK(res1
)) {
10834 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_SashWindow" "', expected argument " "1"" of type '" "wxWindow *""'");
10836 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
10838 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
10839 if (!SWIG_IsOK(ecode2
)) {
10840 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_SashWindow" "', expected argument " "2"" of type '" "int""'");
10842 arg2
= static_cast< int >(val2
);
10847 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
10853 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
10857 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
10858 if (!SWIG_IsOK(ecode5
)) {
10859 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_SashWindow" "', expected argument " "5"" of type '" "long""'");
10861 arg5
= static_cast< long >(val5
);
10865 arg6
= wxString_in_helper(obj5
);
10866 if (arg6
== NULL
) SWIG_fail
;
10871 if (!wxPyCheckForApp()) SWIG_fail
;
10872 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10873 result
= (wxSashWindow
*)new wxSashWindow(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
10874 wxPyEndAllowThreads(__tstate
);
10875 if (PyErr_Occurred()) SWIG_fail
;
10877 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSashWindow
, SWIG_POINTER_NEW
| 0 );
10892 SWIGINTERN PyObject
*_wrap_new_PreSashWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10893 PyObject
*resultobj
= 0;
10894 wxSashWindow
*result
= 0 ;
10896 if (!SWIG_Python_UnpackTuple(args
,"new_PreSashWindow",0,0,0)) SWIG_fail
;
10898 if (!wxPyCheckForApp()) SWIG_fail
;
10899 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10900 result
= (wxSashWindow
*)new wxSashWindow();
10901 wxPyEndAllowThreads(__tstate
);
10902 if (PyErr_Occurred()) SWIG_fail
;
10904 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSashWindow
, SWIG_POINTER_OWN
| 0 );
10911 SWIGINTERN PyObject
*_wrap_SashWindow_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10912 PyObject
*resultobj
= 0;
10913 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
10914 wxWindow
*arg2
= (wxWindow
*) 0 ;
10915 int arg3
= (int) -1 ;
10916 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
10917 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
10918 wxSize
const &arg5_defvalue
= wxDefaultSize
;
10919 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
10920 long arg6
= (long) wxCLIP_CHILDREN
|wxSW_3D
;
10921 wxString
const &arg7_defvalue
= wxPySashNameStr
;
10922 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
10934 bool temp7
= false ;
10935 PyObject
* obj0
= 0 ;
10936 PyObject
* obj1
= 0 ;
10937 PyObject
* obj2
= 0 ;
10938 PyObject
* obj3
= 0 ;
10939 PyObject
* obj4
= 0 ;
10940 PyObject
* obj5
= 0 ;
10941 PyObject
* obj6
= 0 ;
10942 char * kwnames
[] = {
10943 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
10946 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:SashWindow_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
10947 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSashWindow
, 0 | 0 );
10948 if (!SWIG_IsOK(res1
)) {
10949 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashWindow_Create" "', expected argument " "1"" of type '" "wxSashWindow *""'");
10951 arg1
= reinterpret_cast< wxSashWindow
* >(argp1
);
10952 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
10953 if (!SWIG_IsOK(res2
)) {
10954 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "SashWindow_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
10956 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
10958 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
10959 if (!SWIG_IsOK(ecode3
)) {
10960 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "SashWindow_Create" "', expected argument " "3"" of type '" "int""'");
10962 arg3
= static_cast< int >(val3
);
10967 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
10973 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
10977 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
10978 if (!SWIG_IsOK(ecode6
)) {
10979 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "SashWindow_Create" "', expected argument " "6"" of type '" "long""'");
10981 arg6
= static_cast< long >(val6
);
10985 arg7
= wxString_in_helper(obj6
);
10986 if (arg7
== NULL
) SWIG_fail
;
10991 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10992 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
10993 wxPyEndAllowThreads(__tstate
);
10994 if (PyErr_Occurred()) SWIG_fail
;
10997 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11013 SWIGINTERN PyObject
*_wrap_SashWindow_SetSashVisible(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11014 PyObject
*resultobj
= 0;
11015 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
11016 wxSashEdgePosition arg2
;
11024 PyObject
* obj0
= 0 ;
11025 PyObject
* obj1
= 0 ;
11026 PyObject
* obj2
= 0 ;
11027 char * kwnames
[] = {
11028 (char *) "self",(char *) "edge",(char *) "sash", NULL
11031 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:SashWindow_SetSashVisible",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
11032 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSashWindow
, 0 | 0 );
11033 if (!SWIG_IsOK(res1
)) {
11034 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashWindow_SetSashVisible" "', expected argument " "1"" of type '" "wxSashWindow *""'");
11036 arg1
= reinterpret_cast< wxSashWindow
* >(argp1
);
11037 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
11038 if (!SWIG_IsOK(ecode2
)) {
11039 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SashWindow_SetSashVisible" "', expected argument " "2"" of type '" "wxSashEdgePosition""'");
11041 arg2
= static_cast< wxSashEdgePosition
>(val2
);
11042 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
11043 if (!SWIG_IsOK(ecode3
)) {
11044 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "SashWindow_SetSashVisible" "', expected argument " "3"" of type '" "bool""'");
11046 arg3
= static_cast< bool >(val3
);
11048 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11049 (arg1
)->SetSashVisible(arg2
,arg3
);
11050 wxPyEndAllowThreads(__tstate
);
11051 if (PyErr_Occurred()) SWIG_fail
;
11053 resultobj
= SWIG_Py_Void();
11060 SWIGINTERN PyObject
*_wrap_SashWindow_GetSashVisible(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11061 PyObject
*resultobj
= 0;
11062 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
11063 wxSashEdgePosition arg2
;
11069 PyObject
* obj0
= 0 ;
11070 PyObject
* obj1
= 0 ;
11071 char * kwnames
[] = {
11072 (char *) "self",(char *) "edge", NULL
11075 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashWindow_GetSashVisible",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11076 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSashWindow
, 0 | 0 );
11077 if (!SWIG_IsOK(res1
)) {
11078 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashWindow_GetSashVisible" "', expected argument " "1"" of type '" "wxSashWindow const *""'");
11080 arg1
= reinterpret_cast< wxSashWindow
* >(argp1
);
11081 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
11082 if (!SWIG_IsOK(ecode2
)) {
11083 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SashWindow_GetSashVisible" "', expected argument " "2"" of type '" "wxSashEdgePosition""'");
11085 arg2
= static_cast< wxSashEdgePosition
>(val2
);
11087 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11088 result
= (bool)((wxSashWindow
const *)arg1
)->GetSashVisible(arg2
);
11089 wxPyEndAllowThreads(__tstate
);
11090 if (PyErr_Occurred()) SWIG_fail
;
11093 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11101 SWIGINTERN PyObject
*_wrap_SashWindow_SetSashBorder(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11102 PyObject
*resultobj
= 0;
11103 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
11104 wxSashEdgePosition arg2
;
11112 PyObject
* obj0
= 0 ;
11113 PyObject
* obj1
= 0 ;
11114 PyObject
* obj2
= 0 ;
11115 char * kwnames
[] = {
11116 (char *) "self",(char *) "edge",(char *) "border", NULL
11119 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:SashWindow_SetSashBorder",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
11120 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSashWindow
, 0 | 0 );
11121 if (!SWIG_IsOK(res1
)) {
11122 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashWindow_SetSashBorder" "', expected argument " "1"" of type '" "wxSashWindow *""'");
11124 arg1
= reinterpret_cast< wxSashWindow
* >(argp1
);
11125 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
11126 if (!SWIG_IsOK(ecode2
)) {
11127 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SashWindow_SetSashBorder" "', expected argument " "2"" of type '" "wxSashEdgePosition""'");
11129 arg2
= static_cast< wxSashEdgePosition
>(val2
);
11130 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
11131 if (!SWIG_IsOK(ecode3
)) {
11132 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "SashWindow_SetSashBorder" "', expected argument " "3"" of type '" "bool""'");
11134 arg3
= static_cast< bool >(val3
);
11136 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11137 (arg1
)->SetSashBorder(arg2
,arg3
);
11138 wxPyEndAllowThreads(__tstate
);
11139 if (PyErr_Occurred()) SWIG_fail
;
11141 resultobj
= SWIG_Py_Void();
11148 SWIGINTERN PyObject
*_wrap_SashWindow_HasBorder(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11149 PyObject
*resultobj
= 0;
11150 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
11151 wxSashEdgePosition arg2
;
11157 PyObject
* obj0
= 0 ;
11158 PyObject
* obj1
= 0 ;
11159 char * kwnames
[] = {
11160 (char *) "self",(char *) "edge", NULL
11163 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashWindow_HasBorder",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11164 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSashWindow
, 0 | 0 );
11165 if (!SWIG_IsOK(res1
)) {
11166 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashWindow_HasBorder" "', expected argument " "1"" of type '" "wxSashWindow const *""'");
11168 arg1
= reinterpret_cast< wxSashWindow
* >(argp1
);
11169 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
11170 if (!SWIG_IsOK(ecode2
)) {
11171 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SashWindow_HasBorder" "', expected argument " "2"" of type '" "wxSashEdgePosition""'");
11173 arg2
= static_cast< wxSashEdgePosition
>(val2
);
11175 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11176 result
= (bool)((wxSashWindow
const *)arg1
)->HasBorder(arg2
);
11177 wxPyEndAllowThreads(__tstate
);
11178 if (PyErr_Occurred()) SWIG_fail
;
11181 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11189 SWIGINTERN PyObject
*_wrap_SashWindow_GetEdgeMargin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11190 PyObject
*resultobj
= 0;
11191 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
11192 wxSashEdgePosition arg2
;
11198 PyObject
* obj0
= 0 ;
11199 PyObject
* obj1
= 0 ;
11200 char * kwnames
[] = {
11201 (char *) "self",(char *) "edge", NULL
11204 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashWindow_GetEdgeMargin",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11205 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSashWindow
, 0 | 0 );
11206 if (!SWIG_IsOK(res1
)) {
11207 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashWindow_GetEdgeMargin" "', expected argument " "1"" of type '" "wxSashWindow const *""'");
11209 arg1
= reinterpret_cast< wxSashWindow
* >(argp1
);
11210 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
11211 if (!SWIG_IsOK(ecode2
)) {
11212 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SashWindow_GetEdgeMargin" "', expected argument " "2"" of type '" "wxSashEdgePosition""'");
11214 arg2
= static_cast< wxSashEdgePosition
>(val2
);
11216 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11217 result
= (int)((wxSashWindow
const *)arg1
)->GetEdgeMargin(arg2
);
11218 wxPyEndAllowThreads(__tstate
);
11219 if (PyErr_Occurred()) SWIG_fail
;
11221 resultobj
= SWIG_From_int(static_cast< int >(result
));
11228 SWIGINTERN PyObject
*_wrap_SashWindow_SetDefaultBorderSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11229 PyObject
*resultobj
= 0;
11230 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
11236 PyObject
* obj0
= 0 ;
11237 PyObject
* obj1
= 0 ;
11238 char * kwnames
[] = {
11239 (char *) "self",(char *) "width", NULL
11242 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashWindow_SetDefaultBorderSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11243 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSashWindow
, 0 | 0 );
11244 if (!SWIG_IsOK(res1
)) {
11245 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashWindow_SetDefaultBorderSize" "', expected argument " "1"" of type '" "wxSashWindow *""'");
11247 arg1
= reinterpret_cast< wxSashWindow
* >(argp1
);
11248 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
11249 if (!SWIG_IsOK(ecode2
)) {
11250 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SashWindow_SetDefaultBorderSize" "', expected argument " "2"" of type '" "int""'");
11252 arg2
= static_cast< int >(val2
);
11254 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11255 (arg1
)->SetDefaultBorderSize(arg2
);
11256 wxPyEndAllowThreads(__tstate
);
11257 if (PyErr_Occurred()) SWIG_fail
;
11259 resultobj
= SWIG_Py_Void();
11266 SWIGINTERN PyObject
*_wrap_SashWindow_GetDefaultBorderSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11267 PyObject
*resultobj
= 0;
11268 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
11272 PyObject
*swig_obj
[1] ;
11274 if (!args
) SWIG_fail
;
11275 swig_obj
[0] = args
;
11276 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSashWindow
, 0 | 0 );
11277 if (!SWIG_IsOK(res1
)) {
11278 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashWindow_GetDefaultBorderSize" "', expected argument " "1"" of type '" "wxSashWindow const *""'");
11280 arg1
= reinterpret_cast< wxSashWindow
* >(argp1
);
11282 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11283 result
= (int)((wxSashWindow
const *)arg1
)->GetDefaultBorderSize();
11284 wxPyEndAllowThreads(__tstate
);
11285 if (PyErr_Occurred()) SWIG_fail
;
11287 resultobj
= SWIG_From_int(static_cast< int >(result
));
11294 SWIGINTERN PyObject
*_wrap_SashWindow_SetExtraBorderSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11295 PyObject
*resultobj
= 0;
11296 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
11302 PyObject
* obj0
= 0 ;
11303 PyObject
* obj1
= 0 ;
11304 char * kwnames
[] = {
11305 (char *) "self",(char *) "width", NULL
11308 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashWindow_SetExtraBorderSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11309 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSashWindow
, 0 | 0 );
11310 if (!SWIG_IsOK(res1
)) {
11311 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashWindow_SetExtraBorderSize" "', expected argument " "1"" of type '" "wxSashWindow *""'");
11313 arg1
= reinterpret_cast< wxSashWindow
* >(argp1
);
11314 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
11315 if (!SWIG_IsOK(ecode2
)) {
11316 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SashWindow_SetExtraBorderSize" "', expected argument " "2"" of type '" "int""'");
11318 arg2
= static_cast< int >(val2
);
11320 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11321 (arg1
)->SetExtraBorderSize(arg2
);
11322 wxPyEndAllowThreads(__tstate
);
11323 if (PyErr_Occurred()) SWIG_fail
;
11325 resultobj
= SWIG_Py_Void();
11332 SWIGINTERN PyObject
*_wrap_SashWindow_GetExtraBorderSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11333 PyObject
*resultobj
= 0;
11334 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
11338 PyObject
*swig_obj
[1] ;
11340 if (!args
) SWIG_fail
;
11341 swig_obj
[0] = args
;
11342 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSashWindow
, 0 | 0 );
11343 if (!SWIG_IsOK(res1
)) {
11344 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashWindow_GetExtraBorderSize" "', expected argument " "1"" of type '" "wxSashWindow const *""'");
11346 arg1
= reinterpret_cast< wxSashWindow
* >(argp1
);
11348 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11349 result
= (int)((wxSashWindow
const *)arg1
)->GetExtraBorderSize();
11350 wxPyEndAllowThreads(__tstate
);
11351 if (PyErr_Occurred()) SWIG_fail
;
11353 resultobj
= SWIG_From_int(static_cast< int >(result
));
11360 SWIGINTERN PyObject
*_wrap_SashWindow_SetMinimumSizeX(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11361 PyObject
*resultobj
= 0;
11362 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
11368 PyObject
* obj0
= 0 ;
11369 PyObject
* obj1
= 0 ;
11370 char * kwnames
[] = {
11371 (char *) "self",(char *) "min", NULL
11374 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashWindow_SetMinimumSizeX",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11375 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSashWindow
, 0 | 0 );
11376 if (!SWIG_IsOK(res1
)) {
11377 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashWindow_SetMinimumSizeX" "', expected argument " "1"" of type '" "wxSashWindow *""'");
11379 arg1
= reinterpret_cast< wxSashWindow
* >(argp1
);
11380 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
11381 if (!SWIG_IsOK(ecode2
)) {
11382 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SashWindow_SetMinimumSizeX" "', expected argument " "2"" of type '" "int""'");
11384 arg2
= static_cast< int >(val2
);
11386 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11387 (arg1
)->SetMinimumSizeX(arg2
);
11388 wxPyEndAllowThreads(__tstate
);
11389 if (PyErr_Occurred()) SWIG_fail
;
11391 resultobj
= SWIG_Py_Void();
11398 SWIGINTERN PyObject
*_wrap_SashWindow_SetMinimumSizeY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11399 PyObject
*resultobj
= 0;
11400 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
11406 PyObject
* obj0
= 0 ;
11407 PyObject
* obj1
= 0 ;
11408 char * kwnames
[] = {
11409 (char *) "self",(char *) "min", NULL
11412 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashWindow_SetMinimumSizeY",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11413 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSashWindow
, 0 | 0 );
11414 if (!SWIG_IsOK(res1
)) {
11415 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashWindow_SetMinimumSizeY" "', expected argument " "1"" of type '" "wxSashWindow *""'");
11417 arg1
= reinterpret_cast< wxSashWindow
* >(argp1
);
11418 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
11419 if (!SWIG_IsOK(ecode2
)) {
11420 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SashWindow_SetMinimumSizeY" "', expected argument " "2"" of type '" "int""'");
11422 arg2
= static_cast< int >(val2
);
11424 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11425 (arg1
)->SetMinimumSizeY(arg2
);
11426 wxPyEndAllowThreads(__tstate
);
11427 if (PyErr_Occurred()) SWIG_fail
;
11429 resultobj
= SWIG_Py_Void();
11436 SWIGINTERN PyObject
*_wrap_SashWindow_GetMinimumSizeX(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11437 PyObject
*resultobj
= 0;
11438 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
11442 PyObject
*swig_obj
[1] ;
11444 if (!args
) SWIG_fail
;
11445 swig_obj
[0] = args
;
11446 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSashWindow
, 0 | 0 );
11447 if (!SWIG_IsOK(res1
)) {
11448 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashWindow_GetMinimumSizeX" "', expected argument " "1"" of type '" "wxSashWindow const *""'");
11450 arg1
= reinterpret_cast< wxSashWindow
* >(argp1
);
11452 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11453 result
= (int)((wxSashWindow
const *)arg1
)->GetMinimumSizeX();
11454 wxPyEndAllowThreads(__tstate
);
11455 if (PyErr_Occurred()) SWIG_fail
;
11457 resultobj
= SWIG_From_int(static_cast< int >(result
));
11464 SWIGINTERN PyObject
*_wrap_SashWindow_GetMinimumSizeY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11465 PyObject
*resultobj
= 0;
11466 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
11470 PyObject
*swig_obj
[1] ;
11472 if (!args
) SWIG_fail
;
11473 swig_obj
[0] = args
;
11474 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSashWindow
, 0 | 0 );
11475 if (!SWIG_IsOK(res1
)) {
11476 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashWindow_GetMinimumSizeY" "', expected argument " "1"" of type '" "wxSashWindow const *""'");
11478 arg1
= reinterpret_cast< wxSashWindow
* >(argp1
);
11480 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11481 result
= (int)((wxSashWindow
const *)arg1
)->GetMinimumSizeY();
11482 wxPyEndAllowThreads(__tstate
);
11483 if (PyErr_Occurred()) SWIG_fail
;
11485 resultobj
= SWIG_From_int(static_cast< int >(result
));
11492 SWIGINTERN PyObject
*_wrap_SashWindow_SetMaximumSizeX(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11493 PyObject
*resultobj
= 0;
11494 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
11500 PyObject
* obj0
= 0 ;
11501 PyObject
* obj1
= 0 ;
11502 char * kwnames
[] = {
11503 (char *) "self",(char *) "max", NULL
11506 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashWindow_SetMaximumSizeX",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11507 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSashWindow
, 0 | 0 );
11508 if (!SWIG_IsOK(res1
)) {
11509 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashWindow_SetMaximumSizeX" "', expected argument " "1"" of type '" "wxSashWindow *""'");
11511 arg1
= reinterpret_cast< wxSashWindow
* >(argp1
);
11512 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
11513 if (!SWIG_IsOK(ecode2
)) {
11514 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SashWindow_SetMaximumSizeX" "', expected argument " "2"" of type '" "int""'");
11516 arg2
= static_cast< int >(val2
);
11518 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11519 (arg1
)->SetMaximumSizeX(arg2
);
11520 wxPyEndAllowThreads(__tstate
);
11521 if (PyErr_Occurred()) SWIG_fail
;
11523 resultobj
= SWIG_Py_Void();
11530 SWIGINTERN PyObject
*_wrap_SashWindow_SetMaximumSizeY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11531 PyObject
*resultobj
= 0;
11532 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
11538 PyObject
* obj0
= 0 ;
11539 PyObject
* obj1
= 0 ;
11540 char * kwnames
[] = {
11541 (char *) "self",(char *) "max", NULL
11544 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashWindow_SetMaximumSizeY",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11545 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSashWindow
, 0 | 0 );
11546 if (!SWIG_IsOK(res1
)) {
11547 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashWindow_SetMaximumSizeY" "', expected argument " "1"" of type '" "wxSashWindow *""'");
11549 arg1
= reinterpret_cast< wxSashWindow
* >(argp1
);
11550 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
11551 if (!SWIG_IsOK(ecode2
)) {
11552 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SashWindow_SetMaximumSizeY" "', expected argument " "2"" of type '" "int""'");
11554 arg2
= static_cast< int >(val2
);
11556 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11557 (arg1
)->SetMaximumSizeY(arg2
);
11558 wxPyEndAllowThreads(__tstate
);
11559 if (PyErr_Occurred()) SWIG_fail
;
11561 resultobj
= SWIG_Py_Void();
11568 SWIGINTERN PyObject
*_wrap_SashWindow_GetMaximumSizeX(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11569 PyObject
*resultobj
= 0;
11570 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
11574 PyObject
*swig_obj
[1] ;
11576 if (!args
) SWIG_fail
;
11577 swig_obj
[0] = args
;
11578 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSashWindow
, 0 | 0 );
11579 if (!SWIG_IsOK(res1
)) {
11580 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashWindow_GetMaximumSizeX" "', expected argument " "1"" of type '" "wxSashWindow const *""'");
11582 arg1
= reinterpret_cast< wxSashWindow
* >(argp1
);
11584 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11585 result
= (int)((wxSashWindow
const *)arg1
)->GetMaximumSizeX();
11586 wxPyEndAllowThreads(__tstate
);
11587 if (PyErr_Occurred()) SWIG_fail
;
11589 resultobj
= SWIG_From_int(static_cast< int >(result
));
11596 SWIGINTERN PyObject
*_wrap_SashWindow_GetMaximumSizeY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11597 PyObject
*resultobj
= 0;
11598 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
11602 PyObject
*swig_obj
[1] ;
11604 if (!args
) SWIG_fail
;
11605 swig_obj
[0] = args
;
11606 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSashWindow
, 0 | 0 );
11607 if (!SWIG_IsOK(res1
)) {
11608 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashWindow_GetMaximumSizeY" "', expected argument " "1"" of type '" "wxSashWindow const *""'");
11610 arg1
= reinterpret_cast< wxSashWindow
* >(argp1
);
11612 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11613 result
= (int)((wxSashWindow
const *)arg1
)->GetMaximumSizeY();
11614 wxPyEndAllowThreads(__tstate
);
11615 if (PyErr_Occurred()) SWIG_fail
;
11617 resultobj
= SWIG_From_int(static_cast< int >(result
));
11624 SWIGINTERN PyObject
*_wrap_SashWindow_SashHitTest(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11625 PyObject
*resultobj
= 0;
11626 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
11629 int arg4
= (int) 2 ;
11630 wxSashEdgePosition result
;
11639 PyObject
* obj0
= 0 ;
11640 PyObject
* obj1
= 0 ;
11641 PyObject
* obj2
= 0 ;
11642 PyObject
* obj3
= 0 ;
11643 char * kwnames
[] = {
11644 (char *) "self",(char *) "x",(char *) "y",(char *) "tolerance", NULL
11647 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:SashWindow_SashHitTest",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
11648 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSashWindow
, 0 | 0 );
11649 if (!SWIG_IsOK(res1
)) {
11650 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashWindow_SashHitTest" "', expected argument " "1"" of type '" "wxSashWindow *""'");
11652 arg1
= reinterpret_cast< wxSashWindow
* >(argp1
);
11653 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
11654 if (!SWIG_IsOK(ecode2
)) {
11655 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SashWindow_SashHitTest" "', expected argument " "2"" of type '" "int""'");
11657 arg2
= static_cast< int >(val2
);
11658 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
11659 if (!SWIG_IsOK(ecode3
)) {
11660 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "SashWindow_SashHitTest" "', expected argument " "3"" of type '" "int""'");
11662 arg3
= static_cast< int >(val3
);
11664 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
11665 if (!SWIG_IsOK(ecode4
)) {
11666 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "SashWindow_SashHitTest" "', expected argument " "4"" of type '" "int""'");
11668 arg4
= static_cast< int >(val4
);
11671 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11672 result
= (wxSashEdgePosition
)(arg1
)->SashHitTest(arg2
,arg3
,arg4
);
11673 wxPyEndAllowThreads(__tstate
);
11674 if (PyErr_Occurred()) SWIG_fail
;
11676 resultobj
= SWIG_From_int(static_cast< int >(result
));
11683 SWIGINTERN PyObject
*_wrap_SashWindow_SizeWindows(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11684 PyObject
*resultobj
= 0;
11685 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
11688 PyObject
*swig_obj
[1] ;
11690 if (!args
) SWIG_fail
;
11691 swig_obj
[0] = args
;
11692 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSashWindow
, 0 | 0 );
11693 if (!SWIG_IsOK(res1
)) {
11694 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashWindow_SizeWindows" "', expected argument " "1"" of type '" "wxSashWindow *""'");
11696 arg1
= reinterpret_cast< wxSashWindow
* >(argp1
);
11698 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11699 (arg1
)->SizeWindows();
11700 wxPyEndAllowThreads(__tstate
);
11701 if (PyErr_Occurred()) SWIG_fail
;
11703 resultobj
= SWIG_Py_Void();
11710 SWIGINTERN PyObject
*SashWindow_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11712 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
11713 SWIG_TypeNewClientData(SWIGTYPE_p_wxSashWindow
, SWIG_NewClientData(obj
));
11714 return SWIG_Py_Void();
11717 SWIGINTERN PyObject
*SashWindow_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11718 return SWIG_Python_InitShadowInstance(args
);
11721 SWIGINTERN PyObject
*_wrap_new_SashEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11722 PyObject
*resultobj
= 0;
11723 int arg1
= (int) 0 ;
11724 wxSashEdgePosition arg2
= (wxSashEdgePosition
) wxSASH_NONE
;
11725 wxSashEvent
*result
= 0 ;
11730 PyObject
* obj0
= 0 ;
11731 PyObject
* obj1
= 0 ;
11732 char * kwnames
[] = {
11733 (char *) "id",(char *) "edge", NULL
11736 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_SashEvent",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11738 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
11739 if (!SWIG_IsOK(ecode1
)) {
11740 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_SashEvent" "', expected argument " "1"" of type '" "int""'");
11742 arg1
= static_cast< int >(val1
);
11745 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
11746 if (!SWIG_IsOK(ecode2
)) {
11747 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_SashEvent" "', expected argument " "2"" of type '" "wxSashEdgePosition""'");
11749 arg2
= static_cast< wxSashEdgePosition
>(val2
);
11752 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11753 result
= (wxSashEvent
*)new wxSashEvent(arg1
,arg2
);
11754 wxPyEndAllowThreads(__tstate
);
11755 if (PyErr_Occurred()) SWIG_fail
;
11757 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSashEvent
, SWIG_POINTER_NEW
| 0 );
11764 SWIGINTERN PyObject
*_wrap_SashEvent_SetEdge(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11765 PyObject
*resultobj
= 0;
11766 wxSashEvent
*arg1
= (wxSashEvent
*) 0 ;
11767 wxSashEdgePosition arg2
;
11772 PyObject
* obj0
= 0 ;
11773 PyObject
* obj1
= 0 ;
11774 char * kwnames
[] = {
11775 (char *) "self",(char *) "edge", NULL
11778 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashEvent_SetEdge",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11779 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSashEvent
, 0 | 0 );
11780 if (!SWIG_IsOK(res1
)) {
11781 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashEvent_SetEdge" "', expected argument " "1"" of type '" "wxSashEvent *""'");
11783 arg1
= reinterpret_cast< wxSashEvent
* >(argp1
);
11784 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
11785 if (!SWIG_IsOK(ecode2
)) {
11786 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SashEvent_SetEdge" "', expected argument " "2"" of type '" "wxSashEdgePosition""'");
11788 arg2
= static_cast< wxSashEdgePosition
>(val2
);
11790 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11791 (arg1
)->SetEdge(arg2
);
11792 wxPyEndAllowThreads(__tstate
);
11793 if (PyErr_Occurred()) SWIG_fail
;
11795 resultobj
= SWIG_Py_Void();
11802 SWIGINTERN PyObject
*_wrap_SashEvent_GetEdge(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11803 PyObject
*resultobj
= 0;
11804 wxSashEvent
*arg1
= (wxSashEvent
*) 0 ;
11805 wxSashEdgePosition result
;
11808 PyObject
*swig_obj
[1] ;
11810 if (!args
) SWIG_fail
;
11811 swig_obj
[0] = args
;
11812 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSashEvent
, 0 | 0 );
11813 if (!SWIG_IsOK(res1
)) {
11814 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashEvent_GetEdge" "', expected argument " "1"" of type '" "wxSashEvent const *""'");
11816 arg1
= reinterpret_cast< wxSashEvent
* >(argp1
);
11818 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11819 result
= (wxSashEdgePosition
)((wxSashEvent
const *)arg1
)->GetEdge();
11820 wxPyEndAllowThreads(__tstate
);
11821 if (PyErr_Occurred()) SWIG_fail
;
11823 resultobj
= SWIG_From_int(static_cast< int >(result
));
11830 SWIGINTERN PyObject
*_wrap_SashEvent_SetDragRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11831 PyObject
*resultobj
= 0;
11832 wxSashEvent
*arg1
= (wxSashEvent
*) 0 ;
11837 PyObject
* obj0
= 0 ;
11838 PyObject
* obj1
= 0 ;
11839 char * kwnames
[] = {
11840 (char *) "self",(char *) "rect", NULL
11843 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashEvent_SetDragRect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11844 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSashEvent
, 0 | 0 );
11845 if (!SWIG_IsOK(res1
)) {
11846 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashEvent_SetDragRect" "', expected argument " "1"" of type '" "wxSashEvent *""'");
11848 arg1
= reinterpret_cast< wxSashEvent
* >(argp1
);
11851 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
11854 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11855 (arg1
)->SetDragRect((wxRect
const &)*arg2
);
11856 wxPyEndAllowThreads(__tstate
);
11857 if (PyErr_Occurred()) SWIG_fail
;
11859 resultobj
= SWIG_Py_Void();
11866 SWIGINTERN PyObject
*_wrap_SashEvent_GetDragRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11867 PyObject
*resultobj
= 0;
11868 wxSashEvent
*arg1
= (wxSashEvent
*) 0 ;
11872 PyObject
*swig_obj
[1] ;
11874 if (!args
) SWIG_fail
;
11875 swig_obj
[0] = args
;
11876 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSashEvent
, 0 | 0 );
11877 if (!SWIG_IsOK(res1
)) {
11878 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashEvent_GetDragRect" "', expected argument " "1"" of type '" "wxSashEvent const *""'");
11880 arg1
= reinterpret_cast< wxSashEvent
* >(argp1
);
11882 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11883 result
= ((wxSashEvent
const *)arg1
)->GetDragRect();
11884 wxPyEndAllowThreads(__tstate
);
11885 if (PyErr_Occurred()) SWIG_fail
;
11887 resultobj
= SWIG_NewPointerObj((new wxRect(static_cast< const wxRect
& >(result
))), SWIGTYPE_p_wxRect
, SWIG_POINTER_OWN
| 0 );
11894 SWIGINTERN PyObject
*_wrap_SashEvent_SetDragStatus(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11895 PyObject
*resultobj
= 0;
11896 wxSashEvent
*arg1
= (wxSashEvent
*) 0 ;
11897 wxSashDragStatus arg2
;
11902 PyObject
* obj0
= 0 ;
11903 PyObject
* obj1
= 0 ;
11904 char * kwnames
[] = {
11905 (char *) "self",(char *) "status", NULL
11908 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashEvent_SetDragStatus",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11909 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSashEvent
, 0 | 0 );
11910 if (!SWIG_IsOK(res1
)) {
11911 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashEvent_SetDragStatus" "', expected argument " "1"" of type '" "wxSashEvent *""'");
11913 arg1
= reinterpret_cast< wxSashEvent
* >(argp1
);
11914 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
11915 if (!SWIG_IsOK(ecode2
)) {
11916 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SashEvent_SetDragStatus" "', expected argument " "2"" of type '" "wxSashDragStatus""'");
11918 arg2
= static_cast< wxSashDragStatus
>(val2
);
11920 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11921 (arg1
)->SetDragStatus(arg2
);
11922 wxPyEndAllowThreads(__tstate
);
11923 if (PyErr_Occurred()) SWIG_fail
;
11925 resultobj
= SWIG_Py_Void();
11932 SWIGINTERN PyObject
*_wrap_SashEvent_GetDragStatus(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11933 PyObject
*resultobj
= 0;
11934 wxSashEvent
*arg1
= (wxSashEvent
*) 0 ;
11935 wxSashDragStatus result
;
11938 PyObject
*swig_obj
[1] ;
11940 if (!args
) SWIG_fail
;
11941 swig_obj
[0] = args
;
11942 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSashEvent
, 0 | 0 );
11943 if (!SWIG_IsOK(res1
)) {
11944 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashEvent_GetDragStatus" "', expected argument " "1"" of type '" "wxSashEvent const *""'");
11946 arg1
= reinterpret_cast< wxSashEvent
* >(argp1
);
11948 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11949 result
= (wxSashDragStatus
)((wxSashEvent
const *)arg1
)->GetDragStatus();
11950 wxPyEndAllowThreads(__tstate
);
11951 if (PyErr_Occurred()) SWIG_fail
;
11953 resultobj
= SWIG_From_int(static_cast< int >(result
));
11960 SWIGINTERN PyObject
*SashEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11962 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
11963 SWIG_TypeNewClientData(SWIGTYPE_p_wxSashEvent
, SWIG_NewClientData(obj
));
11964 return SWIG_Py_Void();
11967 SWIGINTERN PyObject
*SashEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11968 return SWIG_Python_InitShadowInstance(args
);
11971 SWIGINTERN PyObject
*_wrap_new_QueryLayoutInfoEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11972 PyObject
*resultobj
= 0;
11973 int arg1
= (int) 0 ;
11974 wxQueryLayoutInfoEvent
*result
= 0 ;
11977 PyObject
* obj0
= 0 ;
11978 char * kwnames
[] = {
11979 (char *) "id", NULL
11982 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_QueryLayoutInfoEvent",kwnames
,&obj0
)) SWIG_fail
;
11984 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
11985 if (!SWIG_IsOK(ecode1
)) {
11986 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_QueryLayoutInfoEvent" "', expected argument " "1"" of type '" "int""'");
11988 arg1
= static_cast< int >(val1
);
11991 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11992 result
= (wxQueryLayoutInfoEvent
*)new wxQueryLayoutInfoEvent(arg1
);
11993 wxPyEndAllowThreads(__tstate
);
11994 if (PyErr_Occurred()) SWIG_fail
;
11996 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxQueryLayoutInfoEvent
, SWIG_POINTER_NEW
| 0 );
12003 SWIGINTERN PyObject
*_wrap_QueryLayoutInfoEvent_SetRequestedLength(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12004 PyObject
*resultobj
= 0;
12005 wxQueryLayoutInfoEvent
*arg1
= (wxQueryLayoutInfoEvent
*) 0 ;
12011 PyObject
* obj0
= 0 ;
12012 PyObject
* obj1
= 0 ;
12013 char * kwnames
[] = {
12014 (char *) "self",(char *) "length", NULL
12017 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:QueryLayoutInfoEvent_SetRequestedLength",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12018 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxQueryLayoutInfoEvent
, 0 | 0 );
12019 if (!SWIG_IsOK(res1
)) {
12020 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "QueryLayoutInfoEvent_SetRequestedLength" "', expected argument " "1"" of type '" "wxQueryLayoutInfoEvent *""'");
12022 arg1
= reinterpret_cast< wxQueryLayoutInfoEvent
* >(argp1
);
12023 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
12024 if (!SWIG_IsOK(ecode2
)) {
12025 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "QueryLayoutInfoEvent_SetRequestedLength" "', expected argument " "2"" of type '" "int""'");
12027 arg2
= static_cast< int >(val2
);
12029 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12030 (arg1
)->SetRequestedLength(arg2
);
12031 wxPyEndAllowThreads(__tstate
);
12032 if (PyErr_Occurred()) SWIG_fail
;
12034 resultobj
= SWIG_Py_Void();
12041 SWIGINTERN PyObject
*_wrap_QueryLayoutInfoEvent_GetRequestedLength(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12042 PyObject
*resultobj
= 0;
12043 wxQueryLayoutInfoEvent
*arg1
= (wxQueryLayoutInfoEvent
*) 0 ;
12047 PyObject
*swig_obj
[1] ;
12049 if (!args
) SWIG_fail
;
12050 swig_obj
[0] = args
;
12051 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxQueryLayoutInfoEvent
, 0 | 0 );
12052 if (!SWIG_IsOK(res1
)) {
12053 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "QueryLayoutInfoEvent_GetRequestedLength" "', expected argument " "1"" of type '" "wxQueryLayoutInfoEvent const *""'");
12055 arg1
= reinterpret_cast< wxQueryLayoutInfoEvent
* >(argp1
);
12057 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12058 result
= (int)((wxQueryLayoutInfoEvent
const *)arg1
)->GetRequestedLength();
12059 wxPyEndAllowThreads(__tstate
);
12060 if (PyErr_Occurred()) SWIG_fail
;
12062 resultobj
= SWIG_From_int(static_cast< int >(result
));
12069 SWIGINTERN PyObject
*_wrap_QueryLayoutInfoEvent_SetFlags(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12070 PyObject
*resultobj
= 0;
12071 wxQueryLayoutInfoEvent
*arg1
= (wxQueryLayoutInfoEvent
*) 0 ;
12077 PyObject
* obj0
= 0 ;
12078 PyObject
* obj1
= 0 ;
12079 char * kwnames
[] = {
12080 (char *) "self",(char *) "flags", NULL
12083 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:QueryLayoutInfoEvent_SetFlags",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12084 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxQueryLayoutInfoEvent
, 0 | 0 );
12085 if (!SWIG_IsOK(res1
)) {
12086 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "QueryLayoutInfoEvent_SetFlags" "', expected argument " "1"" of type '" "wxQueryLayoutInfoEvent *""'");
12088 arg1
= reinterpret_cast< wxQueryLayoutInfoEvent
* >(argp1
);
12089 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
12090 if (!SWIG_IsOK(ecode2
)) {
12091 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "QueryLayoutInfoEvent_SetFlags" "', expected argument " "2"" of type '" "int""'");
12093 arg2
= static_cast< int >(val2
);
12095 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12096 (arg1
)->SetFlags(arg2
);
12097 wxPyEndAllowThreads(__tstate
);
12098 if (PyErr_Occurred()) SWIG_fail
;
12100 resultobj
= SWIG_Py_Void();
12107 SWIGINTERN PyObject
*_wrap_QueryLayoutInfoEvent_GetFlags(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12108 PyObject
*resultobj
= 0;
12109 wxQueryLayoutInfoEvent
*arg1
= (wxQueryLayoutInfoEvent
*) 0 ;
12113 PyObject
*swig_obj
[1] ;
12115 if (!args
) SWIG_fail
;
12116 swig_obj
[0] = args
;
12117 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxQueryLayoutInfoEvent
, 0 | 0 );
12118 if (!SWIG_IsOK(res1
)) {
12119 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "QueryLayoutInfoEvent_GetFlags" "', expected argument " "1"" of type '" "wxQueryLayoutInfoEvent const *""'");
12121 arg1
= reinterpret_cast< wxQueryLayoutInfoEvent
* >(argp1
);
12123 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12124 result
= (int)((wxQueryLayoutInfoEvent
const *)arg1
)->GetFlags();
12125 wxPyEndAllowThreads(__tstate
);
12126 if (PyErr_Occurred()) SWIG_fail
;
12128 resultobj
= SWIG_From_int(static_cast< int >(result
));
12135 SWIGINTERN PyObject
*_wrap_QueryLayoutInfoEvent_SetSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12136 PyObject
*resultobj
= 0;
12137 wxQueryLayoutInfoEvent
*arg1
= (wxQueryLayoutInfoEvent
*) 0 ;
12142 PyObject
* obj0
= 0 ;
12143 PyObject
* obj1
= 0 ;
12144 char * kwnames
[] = {
12145 (char *) "self",(char *) "size", NULL
12148 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:QueryLayoutInfoEvent_SetSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12149 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxQueryLayoutInfoEvent
, 0 | 0 );
12150 if (!SWIG_IsOK(res1
)) {
12151 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "QueryLayoutInfoEvent_SetSize" "', expected argument " "1"" of type '" "wxQueryLayoutInfoEvent *""'");
12153 arg1
= reinterpret_cast< wxQueryLayoutInfoEvent
* >(argp1
);
12156 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
12159 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12160 (arg1
)->SetSize((wxSize
const &)*arg2
);
12161 wxPyEndAllowThreads(__tstate
);
12162 if (PyErr_Occurred()) SWIG_fail
;
12164 resultobj
= SWIG_Py_Void();
12171 SWIGINTERN PyObject
*_wrap_QueryLayoutInfoEvent_GetSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12172 PyObject
*resultobj
= 0;
12173 wxQueryLayoutInfoEvent
*arg1
= (wxQueryLayoutInfoEvent
*) 0 ;
12177 PyObject
*swig_obj
[1] ;
12179 if (!args
) SWIG_fail
;
12180 swig_obj
[0] = args
;
12181 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxQueryLayoutInfoEvent
, 0 | 0 );
12182 if (!SWIG_IsOK(res1
)) {
12183 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "QueryLayoutInfoEvent_GetSize" "', expected argument " "1"" of type '" "wxQueryLayoutInfoEvent const *""'");
12185 arg1
= reinterpret_cast< wxQueryLayoutInfoEvent
* >(argp1
);
12187 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12188 result
= ((wxQueryLayoutInfoEvent
const *)arg1
)->GetSize();
12189 wxPyEndAllowThreads(__tstate
);
12190 if (PyErr_Occurred()) SWIG_fail
;
12192 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
12199 SWIGINTERN PyObject
*_wrap_QueryLayoutInfoEvent_SetOrientation(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12200 PyObject
*resultobj
= 0;
12201 wxQueryLayoutInfoEvent
*arg1
= (wxQueryLayoutInfoEvent
*) 0 ;
12202 wxLayoutOrientation arg2
;
12207 PyObject
* obj0
= 0 ;
12208 PyObject
* obj1
= 0 ;
12209 char * kwnames
[] = {
12210 (char *) "self",(char *) "orient", NULL
12213 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:QueryLayoutInfoEvent_SetOrientation",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12214 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxQueryLayoutInfoEvent
, 0 | 0 );
12215 if (!SWIG_IsOK(res1
)) {
12216 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "QueryLayoutInfoEvent_SetOrientation" "', expected argument " "1"" of type '" "wxQueryLayoutInfoEvent *""'");
12218 arg1
= reinterpret_cast< wxQueryLayoutInfoEvent
* >(argp1
);
12219 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
12220 if (!SWIG_IsOK(ecode2
)) {
12221 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "QueryLayoutInfoEvent_SetOrientation" "', expected argument " "2"" of type '" "wxLayoutOrientation""'");
12223 arg2
= static_cast< wxLayoutOrientation
>(val2
);
12225 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12226 (arg1
)->SetOrientation(arg2
);
12227 wxPyEndAllowThreads(__tstate
);
12228 if (PyErr_Occurred()) SWIG_fail
;
12230 resultobj
= SWIG_Py_Void();
12237 SWIGINTERN PyObject
*_wrap_QueryLayoutInfoEvent_GetOrientation(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12238 PyObject
*resultobj
= 0;
12239 wxQueryLayoutInfoEvent
*arg1
= (wxQueryLayoutInfoEvent
*) 0 ;
12240 wxLayoutOrientation result
;
12243 PyObject
*swig_obj
[1] ;
12245 if (!args
) SWIG_fail
;
12246 swig_obj
[0] = args
;
12247 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxQueryLayoutInfoEvent
, 0 | 0 );
12248 if (!SWIG_IsOK(res1
)) {
12249 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "QueryLayoutInfoEvent_GetOrientation" "', expected argument " "1"" of type '" "wxQueryLayoutInfoEvent const *""'");
12251 arg1
= reinterpret_cast< wxQueryLayoutInfoEvent
* >(argp1
);
12253 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12254 result
= (wxLayoutOrientation
)((wxQueryLayoutInfoEvent
const *)arg1
)->GetOrientation();
12255 wxPyEndAllowThreads(__tstate
);
12256 if (PyErr_Occurred()) SWIG_fail
;
12258 resultobj
= SWIG_From_int(static_cast< int >(result
));
12265 SWIGINTERN PyObject
*_wrap_QueryLayoutInfoEvent_SetAlignment(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12266 PyObject
*resultobj
= 0;
12267 wxQueryLayoutInfoEvent
*arg1
= (wxQueryLayoutInfoEvent
*) 0 ;
12268 wxLayoutAlignment arg2
;
12273 PyObject
* obj0
= 0 ;
12274 PyObject
* obj1
= 0 ;
12275 char * kwnames
[] = {
12276 (char *) "self",(char *) "align", NULL
12279 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:QueryLayoutInfoEvent_SetAlignment",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12280 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxQueryLayoutInfoEvent
, 0 | 0 );
12281 if (!SWIG_IsOK(res1
)) {
12282 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "QueryLayoutInfoEvent_SetAlignment" "', expected argument " "1"" of type '" "wxQueryLayoutInfoEvent *""'");
12284 arg1
= reinterpret_cast< wxQueryLayoutInfoEvent
* >(argp1
);
12285 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
12286 if (!SWIG_IsOK(ecode2
)) {
12287 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "QueryLayoutInfoEvent_SetAlignment" "', expected argument " "2"" of type '" "wxLayoutAlignment""'");
12289 arg2
= static_cast< wxLayoutAlignment
>(val2
);
12291 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12292 (arg1
)->SetAlignment(arg2
);
12293 wxPyEndAllowThreads(__tstate
);
12294 if (PyErr_Occurred()) SWIG_fail
;
12296 resultobj
= SWIG_Py_Void();
12303 SWIGINTERN PyObject
*_wrap_QueryLayoutInfoEvent_GetAlignment(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12304 PyObject
*resultobj
= 0;
12305 wxQueryLayoutInfoEvent
*arg1
= (wxQueryLayoutInfoEvent
*) 0 ;
12306 wxLayoutAlignment result
;
12309 PyObject
*swig_obj
[1] ;
12311 if (!args
) SWIG_fail
;
12312 swig_obj
[0] = args
;
12313 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxQueryLayoutInfoEvent
, 0 | 0 );
12314 if (!SWIG_IsOK(res1
)) {
12315 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "QueryLayoutInfoEvent_GetAlignment" "', expected argument " "1"" of type '" "wxQueryLayoutInfoEvent const *""'");
12317 arg1
= reinterpret_cast< wxQueryLayoutInfoEvent
* >(argp1
);
12319 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12320 result
= (wxLayoutAlignment
)((wxQueryLayoutInfoEvent
const *)arg1
)->GetAlignment();
12321 wxPyEndAllowThreads(__tstate
);
12322 if (PyErr_Occurred()) SWIG_fail
;
12324 resultobj
= SWIG_From_int(static_cast< int >(result
));
12331 SWIGINTERN PyObject
*QueryLayoutInfoEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12333 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
12334 SWIG_TypeNewClientData(SWIGTYPE_p_wxQueryLayoutInfoEvent
, SWIG_NewClientData(obj
));
12335 return SWIG_Py_Void();
12338 SWIGINTERN PyObject
*QueryLayoutInfoEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12339 return SWIG_Python_InitShadowInstance(args
);
12342 SWIGINTERN PyObject
*_wrap_new_CalculateLayoutEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12343 PyObject
*resultobj
= 0;
12344 int arg1
= (int) 0 ;
12345 wxCalculateLayoutEvent
*result
= 0 ;
12348 PyObject
* obj0
= 0 ;
12349 char * kwnames
[] = {
12350 (char *) "id", NULL
12353 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_CalculateLayoutEvent",kwnames
,&obj0
)) SWIG_fail
;
12355 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
12356 if (!SWIG_IsOK(ecode1
)) {
12357 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_CalculateLayoutEvent" "', expected argument " "1"" of type '" "int""'");
12359 arg1
= static_cast< int >(val1
);
12362 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12363 result
= (wxCalculateLayoutEvent
*)new wxCalculateLayoutEvent(arg1
);
12364 wxPyEndAllowThreads(__tstate
);
12365 if (PyErr_Occurred()) SWIG_fail
;
12367 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxCalculateLayoutEvent
, SWIG_POINTER_NEW
| 0 );
12374 SWIGINTERN PyObject
*_wrap_CalculateLayoutEvent_SetFlags(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12375 PyObject
*resultobj
= 0;
12376 wxCalculateLayoutEvent
*arg1
= (wxCalculateLayoutEvent
*) 0 ;
12382 PyObject
* obj0
= 0 ;
12383 PyObject
* obj1
= 0 ;
12384 char * kwnames
[] = {
12385 (char *) "self",(char *) "flags", NULL
12388 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CalculateLayoutEvent_SetFlags",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12389 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxCalculateLayoutEvent
, 0 | 0 );
12390 if (!SWIG_IsOK(res1
)) {
12391 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "CalculateLayoutEvent_SetFlags" "', expected argument " "1"" of type '" "wxCalculateLayoutEvent *""'");
12393 arg1
= reinterpret_cast< wxCalculateLayoutEvent
* >(argp1
);
12394 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
12395 if (!SWIG_IsOK(ecode2
)) {
12396 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "CalculateLayoutEvent_SetFlags" "', expected argument " "2"" of type '" "int""'");
12398 arg2
= static_cast< int >(val2
);
12400 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12401 (arg1
)->SetFlags(arg2
);
12402 wxPyEndAllowThreads(__tstate
);
12403 if (PyErr_Occurred()) SWIG_fail
;
12405 resultobj
= SWIG_Py_Void();
12412 SWIGINTERN PyObject
*_wrap_CalculateLayoutEvent_GetFlags(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12413 PyObject
*resultobj
= 0;
12414 wxCalculateLayoutEvent
*arg1
= (wxCalculateLayoutEvent
*) 0 ;
12418 PyObject
*swig_obj
[1] ;
12420 if (!args
) SWIG_fail
;
12421 swig_obj
[0] = args
;
12422 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxCalculateLayoutEvent
, 0 | 0 );
12423 if (!SWIG_IsOK(res1
)) {
12424 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "CalculateLayoutEvent_GetFlags" "', expected argument " "1"" of type '" "wxCalculateLayoutEvent const *""'");
12426 arg1
= reinterpret_cast< wxCalculateLayoutEvent
* >(argp1
);
12428 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12429 result
= (int)((wxCalculateLayoutEvent
const *)arg1
)->GetFlags();
12430 wxPyEndAllowThreads(__tstate
);
12431 if (PyErr_Occurred()) SWIG_fail
;
12433 resultobj
= SWIG_From_int(static_cast< int >(result
));
12440 SWIGINTERN PyObject
*_wrap_CalculateLayoutEvent_SetRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12441 PyObject
*resultobj
= 0;
12442 wxCalculateLayoutEvent
*arg1
= (wxCalculateLayoutEvent
*) 0 ;
12447 PyObject
* obj0
= 0 ;
12448 PyObject
* obj1
= 0 ;
12449 char * kwnames
[] = {
12450 (char *) "self",(char *) "rect", NULL
12453 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CalculateLayoutEvent_SetRect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12454 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxCalculateLayoutEvent
, 0 | 0 );
12455 if (!SWIG_IsOK(res1
)) {
12456 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "CalculateLayoutEvent_SetRect" "', expected argument " "1"" of type '" "wxCalculateLayoutEvent *""'");
12458 arg1
= reinterpret_cast< wxCalculateLayoutEvent
* >(argp1
);
12461 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
12464 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12465 (arg1
)->SetRect((wxRect
const &)*arg2
);
12466 wxPyEndAllowThreads(__tstate
);
12467 if (PyErr_Occurred()) SWIG_fail
;
12469 resultobj
= SWIG_Py_Void();
12476 SWIGINTERN PyObject
*_wrap_CalculateLayoutEvent_GetRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12477 PyObject
*resultobj
= 0;
12478 wxCalculateLayoutEvent
*arg1
= (wxCalculateLayoutEvent
*) 0 ;
12482 PyObject
*swig_obj
[1] ;
12484 if (!args
) SWIG_fail
;
12485 swig_obj
[0] = args
;
12486 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxCalculateLayoutEvent
, 0 | 0 );
12487 if (!SWIG_IsOK(res1
)) {
12488 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "CalculateLayoutEvent_GetRect" "', expected argument " "1"" of type '" "wxCalculateLayoutEvent const *""'");
12490 arg1
= reinterpret_cast< wxCalculateLayoutEvent
* >(argp1
);
12492 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12493 result
= ((wxCalculateLayoutEvent
const *)arg1
)->GetRect();
12494 wxPyEndAllowThreads(__tstate
);
12495 if (PyErr_Occurred()) SWIG_fail
;
12497 resultobj
= SWIG_NewPointerObj((new wxRect(static_cast< const wxRect
& >(result
))), SWIGTYPE_p_wxRect
, SWIG_POINTER_OWN
| 0 );
12504 SWIGINTERN PyObject
*CalculateLayoutEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12506 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
12507 SWIG_TypeNewClientData(SWIGTYPE_p_wxCalculateLayoutEvent
, SWIG_NewClientData(obj
));
12508 return SWIG_Py_Void();
12511 SWIGINTERN PyObject
*CalculateLayoutEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12512 return SWIG_Python_InitShadowInstance(args
);
12515 SWIGINTERN PyObject
*_wrap_new_SashLayoutWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12516 PyObject
*resultobj
= 0;
12517 wxWindow
*arg1
= (wxWindow
*) 0 ;
12518 int arg2
= (int) -1 ;
12519 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
12520 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
12521 wxSize
const &arg4_defvalue
= wxDefaultSize
;
12522 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
12523 long arg5
= (long) wxCLIP_CHILDREN
|wxSW_3D
;
12524 wxString
const &arg6_defvalue
= wxPySashLayoutNameStr
;
12525 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
12526 wxSashLayoutWindow
*result
= 0 ;
12535 bool temp6
= false ;
12536 PyObject
* obj0
= 0 ;
12537 PyObject
* obj1
= 0 ;
12538 PyObject
* obj2
= 0 ;
12539 PyObject
* obj3
= 0 ;
12540 PyObject
* obj4
= 0 ;
12541 PyObject
* obj5
= 0 ;
12542 char * kwnames
[] = {
12543 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
12546 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_SashLayoutWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
12547 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
12548 if (!SWIG_IsOK(res1
)) {
12549 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_SashLayoutWindow" "', expected argument " "1"" of type '" "wxWindow *""'");
12551 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
12553 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
12554 if (!SWIG_IsOK(ecode2
)) {
12555 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_SashLayoutWindow" "', expected argument " "2"" of type '" "int""'");
12557 arg2
= static_cast< int >(val2
);
12562 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
12568 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
12572 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
12573 if (!SWIG_IsOK(ecode5
)) {
12574 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_SashLayoutWindow" "', expected argument " "5"" of type '" "long""'");
12576 arg5
= static_cast< long >(val5
);
12580 arg6
= wxString_in_helper(obj5
);
12581 if (arg6
== NULL
) SWIG_fail
;
12586 if (!wxPyCheckForApp()) SWIG_fail
;
12587 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12588 result
= (wxSashLayoutWindow
*)new wxSashLayoutWindow(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
12589 wxPyEndAllowThreads(__tstate
);
12590 if (PyErr_Occurred()) SWIG_fail
;
12592 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSashLayoutWindow
, SWIG_POINTER_NEW
| 0 );
12607 SWIGINTERN PyObject
*_wrap_new_PreSashLayoutWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12608 PyObject
*resultobj
= 0;
12609 wxSashLayoutWindow
*result
= 0 ;
12611 if (!SWIG_Python_UnpackTuple(args
,"new_PreSashLayoutWindow",0,0,0)) SWIG_fail
;
12613 if (!wxPyCheckForApp()) SWIG_fail
;
12614 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12615 result
= (wxSashLayoutWindow
*)new wxSashLayoutWindow();
12616 wxPyEndAllowThreads(__tstate
);
12617 if (PyErr_Occurred()) SWIG_fail
;
12619 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSashLayoutWindow
, SWIG_POINTER_OWN
| 0 );
12626 SWIGINTERN PyObject
*_wrap_SashLayoutWindow_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12627 PyObject
*resultobj
= 0;
12628 wxSashLayoutWindow
*arg1
= (wxSashLayoutWindow
*) 0 ;
12629 wxWindow
*arg2
= (wxWindow
*) 0 ;
12630 int arg3
= (int) -1 ;
12631 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
12632 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
12633 wxSize
const &arg5_defvalue
= wxDefaultSize
;
12634 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
12635 long arg6
= (long) wxCLIP_CHILDREN
|wxSW_3D
;
12636 wxString
const &arg7_defvalue
= wxPySashLayoutNameStr
;
12637 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
12649 bool temp7
= false ;
12650 PyObject
* obj0
= 0 ;
12651 PyObject
* obj1
= 0 ;
12652 PyObject
* obj2
= 0 ;
12653 PyObject
* obj3
= 0 ;
12654 PyObject
* obj4
= 0 ;
12655 PyObject
* obj5
= 0 ;
12656 PyObject
* obj6
= 0 ;
12657 char * kwnames
[] = {
12658 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
12661 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:SashLayoutWindow_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
12662 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSashLayoutWindow
, 0 | 0 );
12663 if (!SWIG_IsOK(res1
)) {
12664 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashLayoutWindow_Create" "', expected argument " "1"" of type '" "wxSashLayoutWindow *""'");
12666 arg1
= reinterpret_cast< wxSashLayoutWindow
* >(argp1
);
12667 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
12668 if (!SWIG_IsOK(res2
)) {
12669 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "SashLayoutWindow_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
12671 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
12673 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
12674 if (!SWIG_IsOK(ecode3
)) {
12675 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "SashLayoutWindow_Create" "', expected argument " "3"" of type '" "int""'");
12677 arg3
= static_cast< int >(val3
);
12682 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
12688 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
12692 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
12693 if (!SWIG_IsOK(ecode6
)) {
12694 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "SashLayoutWindow_Create" "', expected argument " "6"" of type '" "long""'");
12696 arg6
= static_cast< long >(val6
);
12700 arg7
= wxString_in_helper(obj6
);
12701 if (arg7
== NULL
) SWIG_fail
;
12706 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12707 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
12708 wxPyEndAllowThreads(__tstate
);
12709 if (PyErr_Occurred()) SWIG_fail
;
12712 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12728 SWIGINTERN PyObject
*_wrap_SashLayoutWindow_GetAlignment(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12729 PyObject
*resultobj
= 0;
12730 wxSashLayoutWindow
*arg1
= (wxSashLayoutWindow
*) 0 ;
12731 wxLayoutAlignment result
;
12734 PyObject
*swig_obj
[1] ;
12736 if (!args
) SWIG_fail
;
12737 swig_obj
[0] = args
;
12738 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSashLayoutWindow
, 0 | 0 );
12739 if (!SWIG_IsOK(res1
)) {
12740 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashLayoutWindow_GetAlignment" "', expected argument " "1"" of type '" "wxSashLayoutWindow *""'");
12742 arg1
= reinterpret_cast< wxSashLayoutWindow
* >(argp1
);
12744 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12745 result
= (wxLayoutAlignment
)(arg1
)->GetAlignment();
12746 wxPyEndAllowThreads(__tstate
);
12747 if (PyErr_Occurred()) SWIG_fail
;
12749 resultobj
= SWIG_From_int(static_cast< int >(result
));
12756 SWIGINTERN PyObject
*_wrap_SashLayoutWindow_GetOrientation(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12757 PyObject
*resultobj
= 0;
12758 wxSashLayoutWindow
*arg1
= (wxSashLayoutWindow
*) 0 ;
12759 wxLayoutOrientation result
;
12762 PyObject
*swig_obj
[1] ;
12764 if (!args
) SWIG_fail
;
12765 swig_obj
[0] = args
;
12766 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSashLayoutWindow
, 0 | 0 );
12767 if (!SWIG_IsOK(res1
)) {
12768 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashLayoutWindow_GetOrientation" "', expected argument " "1"" of type '" "wxSashLayoutWindow *""'");
12770 arg1
= reinterpret_cast< wxSashLayoutWindow
* >(argp1
);
12772 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12773 result
= (wxLayoutOrientation
)(arg1
)->GetOrientation();
12774 wxPyEndAllowThreads(__tstate
);
12775 if (PyErr_Occurred()) SWIG_fail
;
12777 resultobj
= SWIG_From_int(static_cast< int >(result
));
12784 SWIGINTERN PyObject
*_wrap_SashLayoutWindow_SetAlignment(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12785 PyObject
*resultobj
= 0;
12786 wxSashLayoutWindow
*arg1
= (wxSashLayoutWindow
*) 0 ;
12787 wxLayoutAlignment arg2
;
12792 PyObject
* obj0
= 0 ;
12793 PyObject
* obj1
= 0 ;
12794 char * kwnames
[] = {
12795 (char *) "self",(char *) "alignment", NULL
12798 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashLayoutWindow_SetAlignment",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12799 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSashLayoutWindow
, 0 | 0 );
12800 if (!SWIG_IsOK(res1
)) {
12801 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashLayoutWindow_SetAlignment" "', expected argument " "1"" of type '" "wxSashLayoutWindow *""'");
12803 arg1
= reinterpret_cast< wxSashLayoutWindow
* >(argp1
);
12804 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
12805 if (!SWIG_IsOK(ecode2
)) {
12806 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SashLayoutWindow_SetAlignment" "', expected argument " "2"" of type '" "wxLayoutAlignment""'");
12808 arg2
= static_cast< wxLayoutAlignment
>(val2
);
12810 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12811 (arg1
)->SetAlignment(arg2
);
12812 wxPyEndAllowThreads(__tstate
);
12813 if (PyErr_Occurred()) SWIG_fail
;
12815 resultobj
= SWIG_Py_Void();
12822 SWIGINTERN PyObject
*_wrap_SashLayoutWindow_SetDefaultSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12823 PyObject
*resultobj
= 0;
12824 wxSashLayoutWindow
*arg1
= (wxSashLayoutWindow
*) 0 ;
12829 PyObject
* obj0
= 0 ;
12830 PyObject
* obj1
= 0 ;
12831 char * kwnames
[] = {
12832 (char *) "self",(char *) "size", NULL
12835 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashLayoutWindow_SetDefaultSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12836 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSashLayoutWindow
, 0 | 0 );
12837 if (!SWIG_IsOK(res1
)) {
12838 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashLayoutWindow_SetDefaultSize" "', expected argument " "1"" of type '" "wxSashLayoutWindow *""'");
12840 arg1
= reinterpret_cast< wxSashLayoutWindow
* >(argp1
);
12843 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
12846 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12847 (arg1
)->SetDefaultSize((wxSize
const &)*arg2
);
12848 wxPyEndAllowThreads(__tstate
);
12849 if (PyErr_Occurred()) SWIG_fail
;
12851 resultobj
= SWIG_Py_Void();
12858 SWIGINTERN PyObject
*_wrap_SashLayoutWindow_SetOrientation(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12859 PyObject
*resultobj
= 0;
12860 wxSashLayoutWindow
*arg1
= (wxSashLayoutWindow
*) 0 ;
12861 wxLayoutOrientation arg2
;
12866 PyObject
* obj0
= 0 ;
12867 PyObject
* obj1
= 0 ;
12868 char * kwnames
[] = {
12869 (char *) "self",(char *) "orientation", NULL
12872 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashLayoutWindow_SetOrientation",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12873 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSashLayoutWindow
, 0 | 0 );
12874 if (!SWIG_IsOK(res1
)) {
12875 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashLayoutWindow_SetOrientation" "', expected argument " "1"" of type '" "wxSashLayoutWindow *""'");
12877 arg1
= reinterpret_cast< wxSashLayoutWindow
* >(argp1
);
12878 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
12879 if (!SWIG_IsOK(ecode2
)) {
12880 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SashLayoutWindow_SetOrientation" "', expected argument " "2"" of type '" "wxLayoutOrientation""'");
12882 arg2
= static_cast< wxLayoutOrientation
>(val2
);
12884 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12885 (arg1
)->SetOrientation(arg2
);
12886 wxPyEndAllowThreads(__tstate
);
12887 if (PyErr_Occurred()) SWIG_fail
;
12889 resultobj
= SWIG_Py_Void();
12896 SWIGINTERN PyObject
*SashLayoutWindow_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12898 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
12899 SWIG_TypeNewClientData(SWIGTYPE_p_wxSashLayoutWindow
, SWIG_NewClientData(obj
));
12900 return SWIG_Py_Void();
12903 SWIGINTERN PyObject
*SashLayoutWindow_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12904 return SWIG_Python_InitShadowInstance(args
);
12907 SWIGINTERN PyObject
*_wrap_new_LayoutAlgorithm(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12908 PyObject
*resultobj
= 0;
12909 wxLayoutAlgorithm
*result
= 0 ;
12911 if (!SWIG_Python_UnpackTuple(args
,"new_LayoutAlgorithm",0,0,0)) SWIG_fail
;
12913 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12914 result
= (wxLayoutAlgorithm
*)new wxLayoutAlgorithm();
12915 wxPyEndAllowThreads(__tstate
);
12916 if (PyErr_Occurred()) SWIG_fail
;
12918 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxLayoutAlgorithm
, SWIG_POINTER_NEW
| 0 );
12925 SWIGINTERN PyObject
*_wrap_delete_LayoutAlgorithm(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12926 PyObject
*resultobj
= 0;
12927 wxLayoutAlgorithm
*arg1
= (wxLayoutAlgorithm
*) 0 ;
12930 PyObject
*swig_obj
[1] ;
12932 if (!args
) SWIG_fail
;
12933 swig_obj
[0] = args
;
12934 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLayoutAlgorithm
, SWIG_POINTER_DISOWN
| 0 );
12935 if (!SWIG_IsOK(res1
)) {
12936 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_LayoutAlgorithm" "', expected argument " "1"" of type '" "wxLayoutAlgorithm *""'");
12938 arg1
= reinterpret_cast< wxLayoutAlgorithm
* >(argp1
);
12940 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12943 wxPyEndAllowThreads(__tstate
);
12944 if (PyErr_Occurred()) SWIG_fail
;
12946 resultobj
= SWIG_Py_Void();
12953 SWIGINTERN PyObject
*_wrap_LayoutAlgorithm_LayoutMDIFrame(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12954 PyObject
*resultobj
= 0;
12955 wxLayoutAlgorithm
*arg1
= (wxLayoutAlgorithm
*) 0 ;
12956 wxMDIParentFrame
*arg2
= (wxMDIParentFrame
*) 0 ;
12957 wxRect
*arg3
= (wxRect
*) NULL
;
12965 PyObject
* obj0
= 0 ;
12966 PyObject
* obj1
= 0 ;
12967 PyObject
* obj2
= 0 ;
12968 char * kwnames
[] = {
12969 (char *) "self",(char *) "frame",(char *) "rect", NULL
12972 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:LayoutAlgorithm_LayoutMDIFrame",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
12973 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxLayoutAlgorithm
, 0 | 0 );
12974 if (!SWIG_IsOK(res1
)) {
12975 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "LayoutAlgorithm_LayoutMDIFrame" "', expected argument " "1"" of type '" "wxLayoutAlgorithm *""'");
12977 arg1
= reinterpret_cast< wxLayoutAlgorithm
* >(argp1
);
12978 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxMDIParentFrame
, 0 | 0 );
12979 if (!SWIG_IsOK(res2
)) {
12980 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "LayoutAlgorithm_LayoutMDIFrame" "', expected argument " "2"" of type '" "wxMDIParentFrame *""'");
12982 arg2
= reinterpret_cast< wxMDIParentFrame
* >(argp2
);
12984 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxRect
, 0 | 0 );
12985 if (!SWIG_IsOK(res3
)) {
12986 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "LayoutAlgorithm_LayoutMDIFrame" "', expected argument " "3"" of type '" "wxRect *""'");
12988 arg3
= reinterpret_cast< wxRect
* >(argp3
);
12991 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12992 result
= (bool)(arg1
)->LayoutMDIFrame(arg2
,arg3
);
12993 wxPyEndAllowThreads(__tstate
);
12994 if (PyErr_Occurred()) SWIG_fail
;
12997 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13005 SWIGINTERN PyObject
*_wrap_LayoutAlgorithm_LayoutFrame(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13006 PyObject
*resultobj
= 0;
13007 wxLayoutAlgorithm
*arg1
= (wxLayoutAlgorithm
*) 0 ;
13008 wxFrame
*arg2
= (wxFrame
*) 0 ;
13009 wxWindow
*arg3
= (wxWindow
*) NULL
;
13017 PyObject
* obj0
= 0 ;
13018 PyObject
* obj1
= 0 ;
13019 PyObject
* obj2
= 0 ;
13020 char * kwnames
[] = {
13021 (char *) "self",(char *) "frame",(char *) "mainWindow", NULL
13024 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:LayoutAlgorithm_LayoutFrame",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
13025 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxLayoutAlgorithm
, 0 | 0 );
13026 if (!SWIG_IsOK(res1
)) {
13027 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "LayoutAlgorithm_LayoutFrame" "', expected argument " "1"" of type '" "wxLayoutAlgorithm *""'");
13029 arg1
= reinterpret_cast< wxLayoutAlgorithm
* >(argp1
);
13030 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxFrame
, 0 | 0 );
13031 if (!SWIG_IsOK(res2
)) {
13032 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "LayoutAlgorithm_LayoutFrame" "', expected argument " "2"" of type '" "wxFrame *""'");
13034 arg2
= reinterpret_cast< wxFrame
* >(argp2
);
13036 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxWindow
, 0 | 0 );
13037 if (!SWIG_IsOK(res3
)) {
13038 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "LayoutAlgorithm_LayoutFrame" "', expected argument " "3"" of type '" "wxWindow *""'");
13040 arg3
= reinterpret_cast< wxWindow
* >(argp3
);
13043 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13044 result
= (bool)(arg1
)->LayoutFrame(arg2
,arg3
);
13045 wxPyEndAllowThreads(__tstate
);
13046 if (PyErr_Occurred()) SWIG_fail
;
13049 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13057 SWIGINTERN PyObject
*_wrap_LayoutAlgorithm_LayoutWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13058 PyObject
*resultobj
= 0;
13059 wxLayoutAlgorithm
*arg1
= (wxLayoutAlgorithm
*) 0 ;
13060 wxWindow
*arg2
= (wxWindow
*) 0 ;
13061 wxWindow
*arg3
= (wxWindow
*) NULL
;
13069 PyObject
* obj0
= 0 ;
13070 PyObject
* obj1
= 0 ;
13071 PyObject
* obj2
= 0 ;
13072 char * kwnames
[] = {
13073 (char *) "self",(char *) "parent",(char *) "mainWindow", NULL
13076 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:LayoutAlgorithm_LayoutWindow",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
13077 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxLayoutAlgorithm
, 0 | 0 );
13078 if (!SWIG_IsOK(res1
)) {
13079 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "LayoutAlgorithm_LayoutWindow" "', expected argument " "1"" of type '" "wxLayoutAlgorithm *""'");
13081 arg1
= reinterpret_cast< wxLayoutAlgorithm
* >(argp1
);
13082 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
13083 if (!SWIG_IsOK(res2
)) {
13084 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "LayoutAlgorithm_LayoutWindow" "', expected argument " "2"" of type '" "wxWindow *""'");
13086 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
13088 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxWindow
, 0 | 0 );
13089 if (!SWIG_IsOK(res3
)) {
13090 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "LayoutAlgorithm_LayoutWindow" "', expected argument " "3"" of type '" "wxWindow *""'");
13092 arg3
= reinterpret_cast< wxWindow
* >(argp3
);
13095 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13096 result
= (bool)(arg1
)->LayoutWindow(arg2
,arg3
);
13097 wxPyEndAllowThreads(__tstate
);
13098 if (PyErr_Occurred()) SWIG_fail
;
13101 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13109 SWIGINTERN PyObject
*LayoutAlgorithm_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13111 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
13112 SWIG_TypeNewClientData(SWIGTYPE_p_wxLayoutAlgorithm
, SWIG_NewClientData(obj
));
13113 return SWIG_Py_Void();
13116 SWIGINTERN PyObject
*LayoutAlgorithm_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13117 return SWIG_Python_InitShadowInstance(args
);
13120 SWIGINTERN PyObject
*_wrap_new_PopupWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13121 PyObject
*resultobj
= 0;
13122 wxWindow
*arg1
= (wxWindow
*) 0 ;
13123 int arg2
= (int) wxBORDER_NONE
;
13124 wxPopupWindow
*result
= 0 ;
13129 PyObject
* obj0
= 0 ;
13130 PyObject
* obj1
= 0 ;
13131 char * kwnames
[] = {
13132 (char *) "parent",(char *) "flags", NULL
13135 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_PopupWindow",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13136 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
13137 if (!SWIG_IsOK(res1
)) {
13138 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PopupWindow" "', expected argument " "1"" of type '" "wxWindow *""'");
13140 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
13142 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
13143 if (!SWIG_IsOK(ecode2
)) {
13144 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_PopupWindow" "', expected argument " "2"" of type '" "int""'");
13146 arg2
= static_cast< int >(val2
);
13149 if (!wxPyCheckForApp()) SWIG_fail
;
13150 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13151 result
= (wxPopupWindow
*)new wxPopupWindow(arg1
,arg2
);
13152 wxPyEndAllowThreads(__tstate
);
13153 if (PyErr_Occurred()) SWIG_fail
;
13155 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPopupWindow
, SWIG_POINTER_NEW
| 0 );
13162 SWIGINTERN PyObject
*_wrap_new_PrePopupWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13163 PyObject
*resultobj
= 0;
13164 wxPopupWindow
*result
= 0 ;
13166 if (!SWIG_Python_UnpackTuple(args
,"new_PrePopupWindow",0,0,0)) SWIG_fail
;
13168 if (!wxPyCheckForApp()) SWIG_fail
;
13169 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13170 result
= (wxPopupWindow
*)new wxPopupWindow();
13171 wxPyEndAllowThreads(__tstate
);
13172 if (PyErr_Occurred()) SWIG_fail
;
13174 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPopupWindow
, SWIG_POINTER_OWN
| 0 );
13181 SWIGINTERN PyObject
*_wrap_PopupWindow_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13182 PyObject
*resultobj
= 0;
13183 wxPopupWindow
*arg1
= (wxPopupWindow
*) 0 ;
13184 wxWindow
*arg2
= (wxWindow
*) 0 ;
13185 int arg3
= (int) wxBORDER_NONE
;
13193 PyObject
* obj0
= 0 ;
13194 PyObject
* obj1
= 0 ;
13195 PyObject
* obj2
= 0 ;
13196 char * kwnames
[] = {
13197 (char *) "self",(char *) "parent",(char *) "flags", NULL
13200 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:PopupWindow_Create",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
13201 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPopupWindow
, 0 | 0 );
13202 if (!SWIG_IsOK(res1
)) {
13203 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PopupWindow_Create" "', expected argument " "1"" of type '" "wxPopupWindow *""'");
13205 arg1
= reinterpret_cast< wxPopupWindow
* >(argp1
);
13206 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
13207 if (!SWIG_IsOK(res2
)) {
13208 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PopupWindow_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
13210 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
13212 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
13213 if (!SWIG_IsOK(ecode3
)) {
13214 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PopupWindow_Create" "', expected argument " "3"" of type '" "int""'");
13216 arg3
= static_cast< int >(val3
);
13219 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13220 result
= (bool)(arg1
)->Create(arg2
,arg3
);
13221 wxPyEndAllowThreads(__tstate
);
13222 if (PyErr_Occurred()) SWIG_fail
;
13225 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13233 SWIGINTERN PyObject
*_wrap_PopupWindow_Position(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13234 PyObject
*resultobj
= 0;
13235 wxPopupWindow
*arg1
= (wxPopupWindow
*) 0 ;
13236 wxPoint
*arg2
= 0 ;
13242 PyObject
* obj0
= 0 ;
13243 PyObject
* obj1
= 0 ;
13244 PyObject
* obj2
= 0 ;
13245 char * kwnames
[] = {
13246 (char *) "self",(char *) "ptOrigin",(char *) "size", NULL
13249 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PopupWindow_Position",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
13250 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPopupWindow
, 0 | 0 );
13251 if (!SWIG_IsOK(res1
)) {
13252 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PopupWindow_Position" "', expected argument " "1"" of type '" "wxPopupWindow *""'");
13254 arg1
= reinterpret_cast< wxPopupWindow
* >(argp1
);
13257 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
13261 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
13264 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13265 (arg1
)->Position((wxPoint
const &)*arg2
,(wxSize
const &)*arg3
);
13266 wxPyEndAllowThreads(__tstate
);
13267 if (PyErr_Occurred()) SWIG_fail
;
13269 resultobj
= SWIG_Py_Void();
13276 SWIGINTERN PyObject
*PopupWindow_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13278 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
13279 SWIG_TypeNewClientData(SWIGTYPE_p_wxPopupWindow
, SWIG_NewClientData(obj
));
13280 return SWIG_Py_Void();
13283 SWIGINTERN PyObject
*PopupWindow_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13284 return SWIG_Python_InitShadowInstance(args
);
13287 SWIGINTERN PyObject
*_wrap_new_PopupTransientWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13288 PyObject
*resultobj
= 0;
13289 wxWindow
*arg1
= (wxWindow
*) 0 ;
13290 int arg2
= (int) wxBORDER_NONE
;
13291 wxPyPopupTransientWindow
*result
= 0 ;
13296 PyObject
* obj0
= 0 ;
13297 PyObject
* obj1
= 0 ;
13298 char * kwnames
[] = {
13299 (char *) "parent",(char *) "style", NULL
13302 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_PopupTransientWindow",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13303 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
13304 if (!SWIG_IsOK(res1
)) {
13305 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PopupTransientWindow" "', expected argument " "1"" of type '" "wxWindow *""'");
13307 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
13309 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
13310 if (!SWIG_IsOK(ecode2
)) {
13311 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_PopupTransientWindow" "', expected argument " "2"" of type '" "int""'");
13313 arg2
= static_cast< int >(val2
);
13316 if (!wxPyCheckForApp()) SWIG_fail
;
13317 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13318 result
= (wxPyPopupTransientWindow
*)new wxPyPopupTransientWindow(arg1
,arg2
);
13319 wxPyEndAllowThreads(__tstate
);
13320 if (PyErr_Occurred()) SWIG_fail
;
13322 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyPopupTransientWindow
, SWIG_POINTER_NEW
| 0 );
13329 SWIGINTERN PyObject
*_wrap_new_PrePopupTransientWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13330 PyObject
*resultobj
= 0;
13331 wxPyPopupTransientWindow
*result
= 0 ;
13333 if (!SWIG_Python_UnpackTuple(args
,"new_PrePopupTransientWindow",0,0,0)) SWIG_fail
;
13335 if (!wxPyCheckForApp()) SWIG_fail
;
13336 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13337 result
= (wxPyPopupTransientWindow
*)new wxPyPopupTransientWindow();
13338 wxPyEndAllowThreads(__tstate
);
13339 if (PyErr_Occurred()) SWIG_fail
;
13341 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyPopupTransientWindow
, SWIG_POINTER_OWN
| 0 );
13348 SWIGINTERN PyObject
*_wrap_PopupTransientWindow__setCallbackInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13349 PyObject
*resultobj
= 0;
13350 wxPyPopupTransientWindow
*arg1
= (wxPyPopupTransientWindow
*) 0 ;
13351 PyObject
*arg2
= (PyObject
*) 0 ;
13352 PyObject
*arg3
= (PyObject
*) 0 ;
13355 PyObject
* obj0
= 0 ;
13356 PyObject
* obj1
= 0 ;
13357 PyObject
* obj2
= 0 ;
13358 char * kwnames
[] = {
13359 (char *) "self",(char *) "self",(char *) "_class", NULL
13362 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PopupTransientWindow__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
13363 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPopupTransientWindow
, 0 | 0 );
13364 if (!SWIG_IsOK(res1
)) {
13365 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PopupTransientWindow__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyPopupTransientWindow *""'");
13367 arg1
= reinterpret_cast< wxPyPopupTransientWindow
* >(argp1
);
13371 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13372 (arg1
)->_setCallbackInfo(arg2
,arg3
);
13373 wxPyEndAllowThreads(__tstate
);
13374 if (PyErr_Occurred()) SWIG_fail
;
13376 resultobj
= SWIG_Py_Void();
13383 SWIGINTERN PyObject
*_wrap_PopupTransientWindow_Popup(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13384 PyObject
*resultobj
= 0;
13385 wxPyPopupTransientWindow
*arg1
= (wxPyPopupTransientWindow
*) 0 ;
13386 wxWindow
*arg2
= (wxWindow
*) NULL
;
13391 PyObject
* obj0
= 0 ;
13392 PyObject
* obj1
= 0 ;
13393 char * kwnames
[] = {
13394 (char *) "self",(char *) "focus", NULL
13397 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:PopupTransientWindow_Popup",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13398 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPopupTransientWindow
, 0 | 0 );
13399 if (!SWIG_IsOK(res1
)) {
13400 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PopupTransientWindow_Popup" "', expected argument " "1"" of type '" "wxPyPopupTransientWindow *""'");
13402 arg1
= reinterpret_cast< wxPyPopupTransientWindow
* >(argp1
);
13404 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
13405 if (!SWIG_IsOK(res2
)) {
13406 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PopupTransientWindow_Popup" "', expected argument " "2"" of type '" "wxWindow *""'");
13408 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
13411 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13412 (arg1
)->Popup(arg2
);
13413 wxPyEndAllowThreads(__tstate
);
13414 if (PyErr_Occurred()) SWIG_fail
;
13416 resultobj
= SWIG_Py_Void();
13423 SWIGINTERN PyObject
*_wrap_PopupTransientWindow_Dismiss(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13424 PyObject
*resultobj
= 0;
13425 wxPyPopupTransientWindow
*arg1
= (wxPyPopupTransientWindow
*) 0 ;
13428 PyObject
*swig_obj
[1] ;
13430 if (!args
) SWIG_fail
;
13431 swig_obj
[0] = args
;
13432 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPopupTransientWindow
, 0 | 0 );
13433 if (!SWIG_IsOK(res1
)) {
13434 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PopupTransientWindow_Dismiss" "', expected argument " "1"" of type '" "wxPyPopupTransientWindow *""'");
13436 arg1
= reinterpret_cast< wxPyPopupTransientWindow
* >(argp1
);
13438 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13440 wxPyEndAllowThreads(__tstate
);
13441 if (PyErr_Occurred()) SWIG_fail
;
13443 resultobj
= SWIG_Py_Void();
13450 SWIGINTERN PyObject
*PopupTransientWindow_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13452 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
13453 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyPopupTransientWindow
, SWIG_NewClientData(obj
));
13454 return SWIG_Py_Void();
13457 SWIGINTERN PyObject
*PopupTransientWindow_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13458 return SWIG_Python_InitShadowInstance(args
);
13461 SWIGINTERN PyObject
*_wrap_new_TipWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13462 PyObject
*resultobj
= 0;
13463 wxWindow
*arg1
= (wxWindow
*) 0 ;
13464 wxString
*arg2
= 0 ;
13465 int arg3
= (int) 100 ;
13466 wxRect
*arg4
= (wxRect
*) NULL
;
13467 wxTipWindow
*result
= 0 ;
13470 bool temp2
= false ;
13475 PyObject
* obj0
= 0 ;
13476 PyObject
* obj1
= 0 ;
13477 PyObject
* obj2
= 0 ;
13478 PyObject
* obj3
= 0 ;
13479 char * kwnames
[] = {
13480 (char *) "parent",(char *) "text",(char *) "maxLength",(char *) "rectBound", NULL
13483 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:new_TipWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
13484 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
13485 if (!SWIG_IsOK(res1
)) {
13486 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_TipWindow" "', expected argument " "1"" of type '" "wxWindow *""'");
13488 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
13490 arg2
= wxString_in_helper(obj1
);
13491 if (arg2
== NULL
) SWIG_fail
;
13495 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
13496 if (!SWIG_IsOK(ecode3
)) {
13497 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_TipWindow" "', expected argument " "3"" of type '" "int""'");
13499 arg3
= static_cast< int >(val3
);
13502 res4
= SWIG_ConvertPtr(obj3
, &argp4
,SWIGTYPE_p_wxRect
, 0 | 0 );
13503 if (!SWIG_IsOK(res4
)) {
13504 SWIG_exception_fail(SWIG_ArgError(res4
), "in method '" "new_TipWindow" "', expected argument " "4"" of type '" "wxRect *""'");
13506 arg4
= reinterpret_cast< wxRect
* >(argp4
);
13509 if (!wxPyCheckForApp()) SWIG_fail
;
13510 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13511 result
= (wxTipWindow
*)new_wxTipWindow(arg1
,(wxString
const &)*arg2
,arg3
,arg4
);
13512 wxPyEndAllowThreads(__tstate
);
13513 if (PyErr_Occurred()) SWIG_fail
;
13515 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxTipWindow
, SWIG_POINTER_NEW
| 0 );
13530 SWIGINTERN PyObject
*_wrap_TipWindow_SetBoundingRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13531 PyObject
*resultobj
= 0;
13532 wxTipWindow
*arg1
= (wxTipWindow
*) 0 ;
13537 PyObject
* obj0
= 0 ;
13538 PyObject
* obj1
= 0 ;
13539 char * kwnames
[] = {
13540 (char *) "self",(char *) "rectBound", NULL
13543 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TipWindow_SetBoundingRect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13544 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTipWindow
, 0 | 0 );
13545 if (!SWIG_IsOK(res1
)) {
13546 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TipWindow_SetBoundingRect" "', expected argument " "1"" of type '" "wxTipWindow *""'");
13548 arg1
= reinterpret_cast< wxTipWindow
* >(argp1
);
13551 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
13554 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13555 (arg1
)->SetBoundingRect((wxRect
const &)*arg2
);
13556 wxPyEndAllowThreads(__tstate
);
13557 if (PyErr_Occurred()) SWIG_fail
;
13559 resultobj
= SWIG_Py_Void();
13566 SWIGINTERN PyObject
*_wrap_TipWindow_Close(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13567 PyObject
*resultobj
= 0;
13568 wxTipWindow
*arg1
= (wxTipWindow
*) 0 ;
13571 PyObject
*swig_obj
[1] ;
13573 if (!args
) SWIG_fail
;
13574 swig_obj
[0] = args
;
13575 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTipWindow
, 0 | 0 );
13576 if (!SWIG_IsOK(res1
)) {
13577 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TipWindow_Close" "', expected argument " "1"" of type '" "wxTipWindow *""'");
13579 arg1
= reinterpret_cast< wxTipWindow
* >(argp1
);
13581 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13583 wxPyEndAllowThreads(__tstate
);
13584 if (PyErr_Occurred()) SWIG_fail
;
13586 resultobj
= SWIG_Py_Void();
13593 SWIGINTERN PyObject
*TipWindow_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13595 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
13596 SWIG_TypeNewClientData(SWIGTYPE_p_wxTipWindow
, SWIG_NewClientData(obj
));
13597 return SWIG_Py_Void();
13600 SWIGINTERN PyObject
*TipWindow_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13601 return SWIG_Python_InitShadowInstance(args
);
13604 SWIGINTERN PyObject
*_wrap_new_VScrolledWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13605 PyObject
*resultobj
= 0;
13606 wxWindow
*arg1
= (wxWindow
*) 0 ;
13607 int arg2
= (int) wxID_ANY
;
13608 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
13609 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
13610 wxSize
const &arg4_defvalue
= wxDefaultSize
;
13611 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
13612 long arg5
= (long) 0 ;
13613 wxString
const &arg6_defvalue
= wxPyPanelNameStr
;
13614 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
13615 wxPyVScrolledWindow
*result
= 0 ;
13624 bool temp6
= false ;
13625 PyObject
* obj0
= 0 ;
13626 PyObject
* obj1
= 0 ;
13627 PyObject
* obj2
= 0 ;
13628 PyObject
* obj3
= 0 ;
13629 PyObject
* obj4
= 0 ;
13630 PyObject
* obj5
= 0 ;
13631 char * kwnames
[] = {
13632 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
13635 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_VScrolledWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
13636 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
13637 if (!SWIG_IsOK(res1
)) {
13638 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_VScrolledWindow" "', expected argument " "1"" of type '" "wxWindow *""'");
13640 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
13642 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
13643 if (!SWIG_IsOK(ecode2
)) {
13644 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_VScrolledWindow" "', expected argument " "2"" of type '" "int""'");
13646 arg2
= static_cast< int >(val2
);
13651 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
13657 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
13661 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
13662 if (!SWIG_IsOK(ecode5
)) {
13663 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_VScrolledWindow" "', expected argument " "5"" of type '" "long""'");
13665 arg5
= static_cast< long >(val5
);
13669 arg6
= wxString_in_helper(obj5
);
13670 if (arg6
== NULL
) SWIG_fail
;
13675 if (!wxPyCheckForApp()) SWIG_fail
;
13676 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13677 result
= (wxPyVScrolledWindow
*)new wxPyVScrolledWindow(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
13678 wxPyEndAllowThreads(__tstate
);
13679 if (PyErr_Occurred()) SWIG_fail
;
13681 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyVScrolledWindow
, SWIG_POINTER_NEW
| 0 );
13696 SWIGINTERN PyObject
*_wrap_new_PreVScrolledWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13697 PyObject
*resultobj
= 0;
13698 wxPyVScrolledWindow
*result
= 0 ;
13700 if (!SWIG_Python_UnpackTuple(args
,"new_PreVScrolledWindow",0,0,0)) SWIG_fail
;
13702 if (!wxPyCheckForApp()) SWIG_fail
;
13703 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13704 result
= (wxPyVScrolledWindow
*)new wxPyVScrolledWindow();
13705 wxPyEndAllowThreads(__tstate
);
13706 if (PyErr_Occurred()) SWIG_fail
;
13708 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyVScrolledWindow
, SWIG_POINTER_OWN
| 0 );
13715 SWIGINTERN PyObject
*_wrap_VScrolledWindow__setCallbackInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13716 PyObject
*resultobj
= 0;
13717 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
13718 PyObject
*arg2
= (PyObject
*) 0 ;
13719 PyObject
*arg3
= (PyObject
*) 0 ;
13722 PyObject
* obj0
= 0 ;
13723 PyObject
* obj1
= 0 ;
13724 PyObject
* obj2
= 0 ;
13725 char * kwnames
[] = {
13726 (char *) "self",(char *) "self",(char *) "_class", NULL
13729 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:VScrolledWindow__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
13730 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyVScrolledWindow
, 0 | 0 );
13731 if (!SWIG_IsOK(res1
)) {
13732 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VScrolledWindow__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyVScrolledWindow *""'");
13734 arg1
= reinterpret_cast< wxPyVScrolledWindow
* >(argp1
);
13738 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13739 (arg1
)->_setCallbackInfo(arg2
,arg3
);
13740 wxPyEndAllowThreads(__tstate
);
13741 if (PyErr_Occurred()) SWIG_fail
;
13743 resultobj
= SWIG_Py_Void();
13750 SWIGINTERN PyObject
*_wrap_VScrolledWindow_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13751 PyObject
*resultobj
= 0;
13752 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
13753 wxWindow
*arg2
= (wxWindow
*) 0 ;
13754 int arg3
= (int) wxID_ANY
;
13755 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
13756 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
13757 wxSize
const &arg5_defvalue
= wxDefaultSize
;
13758 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
13759 long arg6
= (long) 0 ;
13760 wxString
const &arg7_defvalue
= wxPyPanelNameStr
;
13761 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
13773 bool temp7
= false ;
13774 PyObject
* obj0
= 0 ;
13775 PyObject
* obj1
= 0 ;
13776 PyObject
* obj2
= 0 ;
13777 PyObject
* obj3
= 0 ;
13778 PyObject
* obj4
= 0 ;
13779 PyObject
* obj5
= 0 ;
13780 PyObject
* obj6
= 0 ;
13781 char * kwnames
[] = {
13782 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
13785 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:VScrolledWindow_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
13786 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyVScrolledWindow
, 0 | 0 );
13787 if (!SWIG_IsOK(res1
)) {
13788 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VScrolledWindow_Create" "', expected argument " "1"" of type '" "wxPyVScrolledWindow *""'");
13790 arg1
= reinterpret_cast< wxPyVScrolledWindow
* >(argp1
);
13791 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
13792 if (!SWIG_IsOK(res2
)) {
13793 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "VScrolledWindow_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
13795 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
13797 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
13798 if (!SWIG_IsOK(ecode3
)) {
13799 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "VScrolledWindow_Create" "', expected argument " "3"" of type '" "int""'");
13801 arg3
= static_cast< int >(val3
);
13806 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
13812 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
13816 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
13817 if (!SWIG_IsOK(ecode6
)) {
13818 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "VScrolledWindow_Create" "', expected argument " "6"" of type '" "long""'");
13820 arg6
= static_cast< long >(val6
);
13824 arg7
= wxString_in_helper(obj6
);
13825 if (arg7
== NULL
) SWIG_fail
;
13830 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13831 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
13832 wxPyEndAllowThreads(__tstate
);
13833 if (PyErr_Occurred()) SWIG_fail
;
13836 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13852 SWIGINTERN PyObject
*_wrap_VScrolledWindow_SetLineCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13853 PyObject
*resultobj
= 0;
13854 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
13860 PyObject
* obj0
= 0 ;
13861 PyObject
* obj1
= 0 ;
13862 char * kwnames
[] = {
13863 (char *) "self",(char *) "count", NULL
13866 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VScrolledWindow_SetLineCount",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13867 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyVScrolledWindow
, 0 | 0 );
13868 if (!SWIG_IsOK(res1
)) {
13869 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VScrolledWindow_SetLineCount" "', expected argument " "1"" of type '" "wxPyVScrolledWindow *""'");
13871 arg1
= reinterpret_cast< wxPyVScrolledWindow
* >(argp1
);
13872 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
13873 if (!SWIG_IsOK(ecode2
)) {
13874 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "VScrolledWindow_SetLineCount" "', expected argument " "2"" of type '" "size_t""'");
13876 arg2
= static_cast< size_t >(val2
);
13878 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13879 (arg1
)->SetLineCount(arg2
);
13880 wxPyEndAllowThreads(__tstate
);
13881 if (PyErr_Occurred()) SWIG_fail
;
13883 resultobj
= SWIG_Py_Void();
13890 SWIGINTERN PyObject
*_wrap_VScrolledWindow_ScrollToLine(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13891 PyObject
*resultobj
= 0;
13892 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
13899 PyObject
* obj0
= 0 ;
13900 PyObject
* obj1
= 0 ;
13901 char * kwnames
[] = {
13902 (char *) "self",(char *) "line", NULL
13905 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VScrolledWindow_ScrollToLine",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13906 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyVScrolledWindow
, 0 | 0 );
13907 if (!SWIG_IsOK(res1
)) {
13908 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VScrolledWindow_ScrollToLine" "', expected argument " "1"" of type '" "wxPyVScrolledWindow *""'");
13910 arg1
= reinterpret_cast< wxPyVScrolledWindow
* >(argp1
);
13911 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
13912 if (!SWIG_IsOK(ecode2
)) {
13913 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "VScrolledWindow_ScrollToLine" "', expected argument " "2"" of type '" "size_t""'");
13915 arg2
= static_cast< size_t >(val2
);
13917 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13918 result
= (bool)(arg1
)->ScrollToLine(arg2
);
13919 wxPyEndAllowThreads(__tstate
);
13920 if (PyErr_Occurred()) SWIG_fail
;
13923 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13931 SWIGINTERN PyObject
*_wrap_VScrolledWindow_RefreshLine(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13932 PyObject
*resultobj
= 0;
13933 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
13939 PyObject
* obj0
= 0 ;
13940 PyObject
* obj1
= 0 ;
13941 char * kwnames
[] = {
13942 (char *) "self",(char *) "line", NULL
13945 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VScrolledWindow_RefreshLine",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13946 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyVScrolledWindow
, 0 | 0 );
13947 if (!SWIG_IsOK(res1
)) {
13948 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VScrolledWindow_RefreshLine" "', expected argument " "1"" of type '" "wxPyVScrolledWindow *""'");
13950 arg1
= reinterpret_cast< wxPyVScrolledWindow
* >(argp1
);
13951 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
13952 if (!SWIG_IsOK(ecode2
)) {
13953 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "VScrolledWindow_RefreshLine" "', expected argument " "2"" of type '" "size_t""'");
13955 arg2
= static_cast< size_t >(val2
);
13957 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13958 (arg1
)->RefreshLine(arg2
);
13959 wxPyEndAllowThreads(__tstate
);
13960 if (PyErr_Occurred()) SWIG_fail
;
13962 resultobj
= SWIG_Py_Void();
13969 SWIGINTERN PyObject
*_wrap_VScrolledWindow_RefreshLines(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13970 PyObject
*resultobj
= 0;
13971 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
13980 PyObject
* obj0
= 0 ;
13981 PyObject
* obj1
= 0 ;
13982 PyObject
* obj2
= 0 ;
13983 char * kwnames
[] = {
13984 (char *) "self",(char *) "from",(char *) "to", NULL
13987 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:VScrolledWindow_RefreshLines",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
13988 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyVScrolledWindow
, 0 | 0 );
13989 if (!SWIG_IsOK(res1
)) {
13990 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VScrolledWindow_RefreshLines" "', expected argument " "1"" of type '" "wxPyVScrolledWindow *""'");
13992 arg1
= reinterpret_cast< wxPyVScrolledWindow
* >(argp1
);
13993 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
13994 if (!SWIG_IsOK(ecode2
)) {
13995 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "VScrolledWindow_RefreshLines" "', expected argument " "2"" of type '" "size_t""'");
13997 arg2
= static_cast< size_t >(val2
);
13998 ecode3
= SWIG_AsVal_size_t(obj2
, &val3
);
13999 if (!SWIG_IsOK(ecode3
)) {
14000 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "VScrolledWindow_RefreshLines" "', expected argument " "3"" of type '" "size_t""'");
14002 arg3
= static_cast< size_t >(val3
);
14004 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14005 (arg1
)->RefreshLines(arg2
,arg3
);
14006 wxPyEndAllowThreads(__tstate
);
14007 if (PyErr_Occurred()) SWIG_fail
;
14009 resultobj
= SWIG_Py_Void();
14016 SWIGINTERN PyObject
*_wrap_VScrolledWindow_HitTestXY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14017 PyObject
*resultobj
= 0;
14018 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
14028 PyObject
* obj0
= 0 ;
14029 PyObject
* obj1
= 0 ;
14030 PyObject
* obj2
= 0 ;
14031 char * kwnames
[] = {
14032 (char *) "self",(char *) "x",(char *) "y", NULL
14035 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:VScrolledWindow_HitTestXY",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
14036 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyVScrolledWindow
, 0 | 0 );
14037 if (!SWIG_IsOK(res1
)) {
14038 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VScrolledWindow_HitTestXY" "', expected argument " "1"" of type '" "wxPyVScrolledWindow const *""'");
14040 arg1
= reinterpret_cast< wxPyVScrolledWindow
* >(argp1
);
14041 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
14042 if (!SWIG_IsOK(ecode2
)) {
14043 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "VScrolledWindow_HitTestXY" "', expected argument " "2"" of type '" "int""'");
14045 arg2
= static_cast< int >(val2
);
14046 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
14047 if (!SWIG_IsOK(ecode3
)) {
14048 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "VScrolledWindow_HitTestXY" "', expected argument " "3"" of type '" "int""'");
14050 arg3
= static_cast< int >(val3
);
14052 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14053 result
= (int)((wxPyVScrolledWindow
const *)arg1
)->HitTest(arg2
,arg3
);
14054 wxPyEndAllowThreads(__tstate
);
14055 if (PyErr_Occurred()) SWIG_fail
;
14057 resultobj
= SWIG_From_int(static_cast< int >(result
));
14064 SWIGINTERN PyObject
*_wrap_VScrolledWindow_HitTest(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14065 PyObject
*resultobj
= 0;
14066 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
14067 wxPoint
*arg2
= 0 ;
14072 PyObject
* obj0
= 0 ;
14073 PyObject
* obj1
= 0 ;
14074 char * kwnames
[] = {
14075 (char *) "self",(char *) "pt", NULL
14078 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VScrolledWindow_HitTest",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
14079 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyVScrolledWindow
, 0 | 0 );
14080 if (!SWIG_IsOK(res1
)) {
14081 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VScrolledWindow_HitTest" "', expected argument " "1"" of type '" "wxPyVScrolledWindow const *""'");
14083 arg1
= reinterpret_cast< wxPyVScrolledWindow
* >(argp1
);
14086 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
14089 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14090 result
= (int)((wxPyVScrolledWindow
const *)arg1
)->HitTest((wxPoint
const &)*arg2
);
14091 wxPyEndAllowThreads(__tstate
);
14092 if (PyErr_Occurred()) SWIG_fail
;
14094 resultobj
= SWIG_From_int(static_cast< int >(result
));
14101 SWIGINTERN PyObject
*_wrap_VScrolledWindow_RefreshAll(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14102 PyObject
*resultobj
= 0;
14103 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
14106 PyObject
*swig_obj
[1] ;
14108 if (!args
) SWIG_fail
;
14109 swig_obj
[0] = args
;
14110 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyVScrolledWindow
, 0 | 0 );
14111 if (!SWIG_IsOK(res1
)) {
14112 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VScrolledWindow_RefreshAll" "', expected argument " "1"" of type '" "wxPyVScrolledWindow *""'");
14114 arg1
= reinterpret_cast< wxPyVScrolledWindow
* >(argp1
);
14116 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14117 (arg1
)->RefreshAll();
14118 wxPyEndAllowThreads(__tstate
);
14119 if (PyErr_Occurred()) SWIG_fail
;
14121 resultobj
= SWIG_Py_Void();
14128 SWIGINTERN PyObject
*_wrap_VScrolledWindow_GetLineCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14129 PyObject
*resultobj
= 0;
14130 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
14134 PyObject
*swig_obj
[1] ;
14136 if (!args
) SWIG_fail
;
14137 swig_obj
[0] = args
;
14138 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyVScrolledWindow
, 0 | 0 );
14139 if (!SWIG_IsOK(res1
)) {
14140 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VScrolledWindow_GetLineCount" "', expected argument " "1"" of type '" "wxPyVScrolledWindow const *""'");
14142 arg1
= reinterpret_cast< wxPyVScrolledWindow
* >(argp1
);
14144 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14145 result
= (size_t)((wxPyVScrolledWindow
const *)arg1
)->GetLineCount();
14146 wxPyEndAllowThreads(__tstate
);
14147 if (PyErr_Occurred()) SWIG_fail
;
14149 resultobj
= SWIG_From_size_t(static_cast< size_t >(result
));
14156 SWIGINTERN PyObject
*_wrap_VScrolledWindow_GetVisibleBegin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14157 PyObject
*resultobj
= 0;
14158 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
14162 PyObject
*swig_obj
[1] ;
14164 if (!args
) SWIG_fail
;
14165 swig_obj
[0] = args
;
14166 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyVScrolledWindow
, 0 | 0 );
14167 if (!SWIG_IsOK(res1
)) {
14168 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VScrolledWindow_GetVisibleBegin" "', expected argument " "1"" of type '" "wxPyVScrolledWindow const *""'");
14170 arg1
= reinterpret_cast< wxPyVScrolledWindow
* >(argp1
);
14172 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14173 result
= (size_t)((wxPyVScrolledWindow
const *)arg1
)->GetVisibleBegin();
14174 wxPyEndAllowThreads(__tstate
);
14175 if (PyErr_Occurred()) SWIG_fail
;
14177 resultobj
= SWIG_From_size_t(static_cast< size_t >(result
));
14184 SWIGINTERN PyObject
*_wrap_VScrolledWindow_GetVisibleEnd(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14185 PyObject
*resultobj
= 0;
14186 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
14190 PyObject
*swig_obj
[1] ;
14192 if (!args
) SWIG_fail
;
14193 swig_obj
[0] = args
;
14194 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyVScrolledWindow
, 0 | 0 );
14195 if (!SWIG_IsOK(res1
)) {
14196 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VScrolledWindow_GetVisibleEnd" "', expected argument " "1"" of type '" "wxPyVScrolledWindow const *""'");
14198 arg1
= reinterpret_cast< wxPyVScrolledWindow
* >(argp1
);
14200 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14201 result
= (size_t)((wxPyVScrolledWindow
const *)arg1
)->GetVisibleEnd();
14202 wxPyEndAllowThreads(__tstate
);
14203 if (PyErr_Occurred()) SWIG_fail
;
14205 resultobj
= SWIG_From_size_t(static_cast< size_t >(result
));
14212 SWIGINTERN PyObject
*_wrap_VScrolledWindow_IsVisible(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14213 PyObject
*resultobj
= 0;
14214 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
14221 PyObject
* obj0
= 0 ;
14222 PyObject
* obj1
= 0 ;
14223 char * kwnames
[] = {
14224 (char *) "self",(char *) "line", NULL
14227 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VScrolledWindow_IsVisible",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
14228 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyVScrolledWindow
, 0 | 0 );
14229 if (!SWIG_IsOK(res1
)) {
14230 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VScrolledWindow_IsVisible" "', expected argument " "1"" of type '" "wxPyVScrolledWindow const *""'");
14232 arg1
= reinterpret_cast< wxPyVScrolledWindow
* >(argp1
);
14233 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
14234 if (!SWIG_IsOK(ecode2
)) {
14235 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "VScrolledWindow_IsVisible" "', expected argument " "2"" of type '" "size_t""'");
14237 arg2
= static_cast< size_t >(val2
);
14239 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14240 result
= (bool)((wxPyVScrolledWindow
const *)arg1
)->IsVisible(arg2
);
14241 wxPyEndAllowThreads(__tstate
);
14242 if (PyErr_Occurred()) SWIG_fail
;
14245 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14253 SWIGINTERN PyObject
*_wrap_VScrolledWindow_GetFirstVisibleLine(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14254 PyObject
*resultobj
= 0;
14255 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
14259 PyObject
*swig_obj
[1] ;
14261 if (!args
) SWIG_fail
;
14262 swig_obj
[0] = args
;
14263 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyVScrolledWindow
, 0 | 0 );
14264 if (!SWIG_IsOK(res1
)) {
14265 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VScrolledWindow_GetFirstVisibleLine" "', expected argument " "1"" of type '" "wxPyVScrolledWindow const *""'");
14267 arg1
= reinterpret_cast< wxPyVScrolledWindow
* >(argp1
);
14269 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14270 result
= (size_t)((wxPyVScrolledWindow
const *)arg1
)->GetFirstVisibleLine();
14271 wxPyEndAllowThreads(__tstate
);
14272 if (PyErr_Occurred()) SWIG_fail
;
14274 resultobj
= SWIG_From_size_t(static_cast< size_t >(result
));
14281 SWIGINTERN PyObject
*_wrap_VScrolledWindow_GetLastVisibleLine(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14282 PyObject
*resultobj
= 0;
14283 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
14287 PyObject
*swig_obj
[1] ;
14289 if (!args
) SWIG_fail
;
14290 swig_obj
[0] = args
;
14291 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyVScrolledWindow
, 0 | 0 );
14292 if (!SWIG_IsOK(res1
)) {
14293 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VScrolledWindow_GetLastVisibleLine" "', expected argument " "1"" of type '" "wxPyVScrolledWindow const *""'");
14295 arg1
= reinterpret_cast< wxPyVScrolledWindow
* >(argp1
);
14297 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14298 result
= (size_t)((wxPyVScrolledWindow
const *)arg1
)->GetLastVisibleLine();
14299 wxPyEndAllowThreads(__tstate
);
14300 if (PyErr_Occurred()) SWIG_fail
;
14302 resultobj
= SWIG_From_size_t(static_cast< size_t >(result
));
14309 SWIGINTERN PyObject
*_wrap_VScrolledWindow_FindFirstFromBottom(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14310 PyObject
*resultobj
= 0;
14311 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
14313 bool arg3
= (bool) false ;
14321 PyObject
* obj0
= 0 ;
14322 PyObject
* obj1
= 0 ;
14323 PyObject
* obj2
= 0 ;
14324 char * kwnames
[] = {
14325 (char *) "self",(char *) "lineLast",(char *) "fullyVisible", NULL
14328 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:VScrolledWindow_FindFirstFromBottom",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
14329 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyVScrolledWindow
, 0 | 0 );
14330 if (!SWIG_IsOK(res1
)) {
14331 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VScrolledWindow_FindFirstFromBottom" "', expected argument " "1"" of type '" "wxPyVScrolledWindow *""'");
14333 arg1
= reinterpret_cast< wxPyVScrolledWindow
* >(argp1
);
14334 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
14335 if (!SWIG_IsOK(ecode2
)) {
14336 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "VScrolledWindow_FindFirstFromBottom" "', expected argument " "2"" of type '" "size_t""'");
14338 arg2
= static_cast< size_t >(val2
);
14340 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
14341 if (!SWIG_IsOK(ecode3
)) {
14342 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "VScrolledWindow_FindFirstFromBottom" "', expected argument " "3"" of type '" "bool""'");
14344 arg3
= static_cast< bool >(val3
);
14347 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14348 result
= (size_t)(arg1
)->FindFirstFromBottom(arg2
,arg3
);
14349 wxPyEndAllowThreads(__tstate
);
14350 if (PyErr_Occurred()) SWIG_fail
;
14352 resultobj
= SWIG_From_size_t(static_cast< size_t >(result
));
14359 SWIGINTERN PyObject
*_wrap_VScrolledWindow_GetLinesHeight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14360 PyObject
*resultobj
= 0;
14361 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
14371 PyObject
* obj0
= 0 ;
14372 PyObject
* obj1
= 0 ;
14373 PyObject
* obj2
= 0 ;
14374 char * kwnames
[] = {
14375 (char *) "self",(char *) "lineMin",(char *) "lineMax", NULL
14378 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:VScrolledWindow_GetLinesHeight",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
14379 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyVScrolledWindow
, 0 | 0 );
14380 if (!SWIG_IsOK(res1
)) {
14381 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VScrolledWindow_GetLinesHeight" "', expected argument " "1"" of type '" "wxPyVScrolledWindow const *""'");
14383 arg1
= reinterpret_cast< wxPyVScrolledWindow
* >(argp1
);
14384 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
14385 if (!SWIG_IsOK(ecode2
)) {
14386 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "VScrolledWindow_GetLinesHeight" "', expected argument " "2"" of type '" "size_t""'");
14388 arg2
= static_cast< size_t >(val2
);
14389 ecode3
= SWIG_AsVal_size_t(obj2
, &val3
);
14390 if (!SWIG_IsOK(ecode3
)) {
14391 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "VScrolledWindow_GetLinesHeight" "', expected argument " "3"" of type '" "size_t""'");
14393 arg3
= static_cast< size_t >(val3
);
14395 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14396 result
= (int)((wxPyVScrolledWindow
const *)arg1
)->GetLinesHeight(arg2
,arg3
);
14397 wxPyEndAllowThreads(__tstate
);
14398 if (PyErr_Occurred()) SWIG_fail
;
14400 resultobj
= SWIG_From_int(static_cast< int >(result
));
14407 SWIGINTERN PyObject
*VScrolledWindow_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14409 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
14410 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyVScrolledWindow
, SWIG_NewClientData(obj
));
14411 return SWIG_Py_Void();
14414 SWIGINTERN PyObject
*VScrolledWindow_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14415 return SWIG_Python_InitShadowInstance(args
);
14418 SWIGINTERN
int VListBoxNameStr_set(PyObject
*) {
14419 SWIG_Error(SWIG_AttributeError
,"Variable VListBoxNameStr is read-only.");
14424 SWIGINTERN PyObject
*VListBoxNameStr_get(void) {
14425 PyObject
*pyobj
= 0;
14429 pyobj
= PyUnicode_FromWideChar((&wxPyVListBoxNameStr
)->c_str(), (&wxPyVListBoxNameStr
)->Len());
14431 pyobj
= PyString_FromStringAndSize((&wxPyVListBoxNameStr
)->c_str(), (&wxPyVListBoxNameStr
)->Len());
14438 SWIGINTERN PyObject
*_wrap_new_VListBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14439 PyObject
*resultobj
= 0;
14440 wxWindow
*arg1
= (wxWindow
*) 0 ;
14441 int arg2
= (int) wxID_ANY
;
14442 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
14443 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
14444 wxSize
const &arg4_defvalue
= wxDefaultSize
;
14445 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
14446 long arg5
= (long) 0 ;
14447 wxString
const &arg6_defvalue
= wxPyVListBoxNameStr
;
14448 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
14449 wxPyVListBox
*result
= 0 ;
14458 bool temp6
= false ;
14459 PyObject
* obj0
= 0 ;
14460 PyObject
* obj1
= 0 ;
14461 PyObject
* obj2
= 0 ;
14462 PyObject
* obj3
= 0 ;
14463 PyObject
* obj4
= 0 ;
14464 PyObject
* obj5
= 0 ;
14465 char * kwnames
[] = {
14466 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
14469 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_VListBox",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
14470 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
14471 if (!SWIG_IsOK(res1
)) {
14472 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_VListBox" "', expected argument " "1"" of type '" "wxWindow *""'");
14474 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
14476 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
14477 if (!SWIG_IsOK(ecode2
)) {
14478 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_VListBox" "', expected argument " "2"" of type '" "int""'");
14480 arg2
= static_cast< int >(val2
);
14485 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
14491 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
14495 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
14496 if (!SWIG_IsOK(ecode5
)) {
14497 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_VListBox" "', expected argument " "5"" of type '" "long""'");
14499 arg5
= static_cast< long >(val5
);
14503 arg6
= wxString_in_helper(obj5
);
14504 if (arg6
== NULL
) SWIG_fail
;
14509 if (!wxPyCheckForApp()) SWIG_fail
;
14510 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14511 result
= (wxPyVListBox
*)new wxPyVListBox(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
14512 wxPyEndAllowThreads(__tstate
);
14513 if (PyErr_Occurred()) SWIG_fail
;
14515 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyVListBox
, SWIG_POINTER_NEW
| 0 );
14530 SWIGINTERN PyObject
*_wrap_new_PreVListBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14531 PyObject
*resultobj
= 0;
14532 wxPyVListBox
*result
= 0 ;
14534 if (!SWIG_Python_UnpackTuple(args
,"new_PreVListBox",0,0,0)) SWIG_fail
;
14536 if (!wxPyCheckForApp()) SWIG_fail
;
14537 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14538 result
= (wxPyVListBox
*)new wxPyVListBox();
14539 wxPyEndAllowThreads(__tstate
);
14540 if (PyErr_Occurred()) SWIG_fail
;
14542 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyVListBox
, SWIG_POINTER_OWN
| 0 );
14549 SWIGINTERN PyObject
*_wrap_VListBox__setCallbackInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14550 PyObject
*resultobj
= 0;
14551 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
14552 PyObject
*arg2
= (PyObject
*) 0 ;
14553 PyObject
*arg3
= (PyObject
*) 0 ;
14556 PyObject
* obj0
= 0 ;
14557 PyObject
* obj1
= 0 ;
14558 PyObject
* obj2
= 0 ;
14559 char * kwnames
[] = {
14560 (char *) "self",(char *) "self",(char *) "_class", NULL
14563 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:VListBox__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
14564 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyVListBox
, 0 | 0 );
14565 if (!SWIG_IsOK(res1
)) {
14566 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VListBox__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
14568 arg1
= reinterpret_cast< wxPyVListBox
* >(argp1
);
14572 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14573 (arg1
)->_setCallbackInfo(arg2
,arg3
);
14574 wxPyEndAllowThreads(__tstate
);
14575 if (PyErr_Occurred()) SWIG_fail
;
14577 resultobj
= SWIG_Py_Void();
14584 SWIGINTERN PyObject
*_wrap_VListBox_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14585 PyObject
*resultobj
= 0;
14586 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
14587 wxWindow
*arg2
= (wxWindow
*) 0 ;
14588 int arg3
= (int) wxID_ANY
;
14589 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
14590 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
14591 wxSize
const &arg5_defvalue
= wxDefaultSize
;
14592 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
14593 long arg6
= (long) 0 ;
14594 wxString
const &arg7_defvalue
= wxPyVListBoxNameStr
;
14595 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
14607 bool temp7
= false ;
14608 PyObject
* obj0
= 0 ;
14609 PyObject
* obj1
= 0 ;
14610 PyObject
* obj2
= 0 ;
14611 PyObject
* obj3
= 0 ;
14612 PyObject
* obj4
= 0 ;
14613 PyObject
* obj5
= 0 ;
14614 PyObject
* obj6
= 0 ;
14615 char * kwnames
[] = {
14616 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
14619 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:VListBox_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
14620 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyVListBox
, 0 | 0 );
14621 if (!SWIG_IsOK(res1
)) {
14622 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VListBox_Create" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
14624 arg1
= reinterpret_cast< wxPyVListBox
* >(argp1
);
14625 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
14626 if (!SWIG_IsOK(res2
)) {
14627 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "VListBox_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
14629 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
14631 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
14632 if (!SWIG_IsOK(ecode3
)) {
14633 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "VListBox_Create" "', expected argument " "3"" of type '" "int""'");
14635 arg3
= static_cast< int >(val3
);
14640 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
14646 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
14650 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
14651 if (!SWIG_IsOK(ecode6
)) {
14652 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "VListBox_Create" "', expected argument " "6"" of type '" "long""'");
14654 arg6
= static_cast< long >(val6
);
14658 arg7
= wxString_in_helper(obj6
);
14659 if (arg7
== NULL
) SWIG_fail
;
14664 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14665 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
14666 wxPyEndAllowThreads(__tstate
);
14667 if (PyErr_Occurred()) SWIG_fail
;
14670 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14686 SWIGINTERN PyObject
*_wrap_VListBox_GetItemCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14687 PyObject
*resultobj
= 0;
14688 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
14692 PyObject
*swig_obj
[1] ;
14694 if (!args
) SWIG_fail
;
14695 swig_obj
[0] = args
;
14696 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyVListBox
, 0 | 0 );
14697 if (!SWIG_IsOK(res1
)) {
14698 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VListBox_GetItemCount" "', expected argument " "1"" of type '" "wxPyVListBox const *""'");
14700 arg1
= reinterpret_cast< wxPyVListBox
* >(argp1
);
14702 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14703 result
= (size_t)((wxPyVListBox
const *)arg1
)->GetItemCount();
14704 wxPyEndAllowThreads(__tstate
);
14705 if (PyErr_Occurred()) SWIG_fail
;
14707 resultobj
= SWIG_From_size_t(static_cast< size_t >(result
));
14714 SWIGINTERN PyObject
*_wrap_VListBox_HasMultipleSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14715 PyObject
*resultobj
= 0;
14716 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
14720 PyObject
*swig_obj
[1] ;
14722 if (!args
) SWIG_fail
;
14723 swig_obj
[0] = args
;
14724 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyVListBox
, 0 | 0 );
14725 if (!SWIG_IsOK(res1
)) {
14726 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VListBox_HasMultipleSelection" "', expected argument " "1"" of type '" "wxPyVListBox const *""'");
14728 arg1
= reinterpret_cast< wxPyVListBox
* >(argp1
);
14730 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14731 result
= (bool)((wxPyVListBox
const *)arg1
)->HasMultipleSelection();
14732 wxPyEndAllowThreads(__tstate
);
14733 if (PyErr_Occurred()) SWIG_fail
;
14736 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14744 SWIGINTERN PyObject
*_wrap_VListBox_GetSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14745 PyObject
*resultobj
= 0;
14746 wxPyVListBox
*arg1
= (wxPyVListBox
*) 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_GetSelection" "', expected argument " "1"" of type '" "wxPyVListBox const *""'");
14758 arg1
= reinterpret_cast< wxPyVListBox
* >(argp1
);
14760 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14761 result
= (int)((wxPyVListBox
const *)arg1
)->GetSelection();
14762 wxPyEndAllowThreads(__tstate
);
14763 if (PyErr_Occurred()) SWIG_fail
;
14765 resultobj
= SWIG_From_int(static_cast< int >(result
));
14772 SWIGINTERN PyObject
*_wrap_VListBox_IsCurrent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14773 PyObject
*resultobj
= 0;
14774 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
14781 PyObject
* obj0
= 0 ;
14782 PyObject
* obj1
= 0 ;
14783 char * kwnames
[] = {
14784 (char *) "self",(char *) "item", NULL
14787 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VListBox_IsCurrent",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_IsCurrent" "', expected argument " "1"" of type '" "wxPyVListBox const *""'");
14792 arg1
= reinterpret_cast< wxPyVListBox
* >(argp1
);
14793 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
14794 if (!SWIG_IsOK(ecode2
)) {
14795 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "VListBox_IsCurrent" "', expected argument " "2"" of type '" "size_t""'");
14797 arg2
= static_cast< size_t >(val2
);
14799 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14800 result
= (bool)((wxPyVListBox
const *)arg1
)->IsCurrent(arg2
);
14801 wxPyEndAllowThreads(__tstate
);
14802 if (PyErr_Occurred()) SWIG_fail
;
14805 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14813 SWIGINTERN PyObject
*_wrap_VListBox_IsSelected(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14814 PyObject
*resultobj
= 0;
14815 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
14822 PyObject
* obj0
= 0 ;
14823 PyObject
* obj1
= 0 ;
14824 char * kwnames
[] = {
14825 (char *) "self",(char *) "item", NULL
14828 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VListBox_IsSelected",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
14829 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyVListBox
, 0 | 0 );
14830 if (!SWIG_IsOK(res1
)) {
14831 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VListBox_IsSelected" "', expected argument " "1"" of type '" "wxPyVListBox const *""'");
14833 arg1
= reinterpret_cast< wxPyVListBox
* >(argp1
);
14834 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
14835 if (!SWIG_IsOK(ecode2
)) {
14836 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "VListBox_IsSelected" "', expected argument " "2"" of type '" "size_t""'");
14838 arg2
= static_cast< size_t >(val2
);
14840 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14841 result
= (bool)((wxPyVListBox
const *)arg1
)->IsSelected(arg2
);
14842 wxPyEndAllowThreads(__tstate
);
14843 if (PyErr_Occurred()) SWIG_fail
;
14846 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14854 SWIGINTERN PyObject
*_wrap_VListBox_GetSelectedCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14855 PyObject
*resultobj
= 0;
14856 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
14860 PyObject
*swig_obj
[1] ;
14862 if (!args
) SWIG_fail
;
14863 swig_obj
[0] = args
;
14864 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyVListBox
, 0 | 0 );
14865 if (!SWIG_IsOK(res1
)) {
14866 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VListBox_GetSelectedCount" "', expected argument " "1"" of type '" "wxPyVListBox const *""'");
14868 arg1
= reinterpret_cast< wxPyVListBox
* >(argp1
);
14870 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14871 result
= (size_t)((wxPyVListBox
const *)arg1
)->GetSelectedCount();
14872 wxPyEndAllowThreads(__tstate
);
14873 if (PyErr_Occurred()) SWIG_fail
;
14875 resultobj
= SWIG_From_size_t(static_cast< size_t >(result
));
14882 SWIGINTERN PyObject
*_wrap_VListBox_GetFirstSelected(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14883 PyObject
*resultobj
= 0;
14884 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
14885 PyObject
*result
= 0 ;
14888 PyObject
*swig_obj
[1] ;
14890 if (!args
) SWIG_fail
;
14891 swig_obj
[0] = args
;
14892 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyVListBox
, 0 | 0 );
14893 if (!SWIG_IsOK(res1
)) {
14894 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VListBox_GetFirstSelected" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
14896 arg1
= reinterpret_cast< wxPyVListBox
* >(argp1
);
14898 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14899 result
= (PyObject
*)wxPyVListBox_GetFirstSelected(arg1
);
14900 wxPyEndAllowThreads(__tstate
);
14901 if (PyErr_Occurred()) SWIG_fail
;
14903 resultobj
= result
;
14910 SWIGINTERN PyObject
*_wrap_VListBox_GetNextSelected(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14911 PyObject
*resultobj
= 0;
14912 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
14913 unsigned long arg2
;
14914 PyObject
*result
= 0 ;
14917 unsigned long val2
;
14919 PyObject
* obj0
= 0 ;
14920 PyObject
* obj1
= 0 ;
14921 char * kwnames
[] = {
14922 (char *) "self",(char *) "cookie", NULL
14925 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VListBox_GetNextSelected",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
14926 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyVListBox
, 0 | 0 );
14927 if (!SWIG_IsOK(res1
)) {
14928 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VListBox_GetNextSelected" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
14930 arg1
= reinterpret_cast< wxPyVListBox
* >(argp1
);
14931 ecode2
= SWIG_AsVal_unsigned_SS_long(obj1
, &val2
);
14932 if (!SWIG_IsOK(ecode2
)) {
14933 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "VListBox_GetNextSelected" "', expected argument " "2"" of type '" "unsigned long""'");
14935 arg2
= static_cast< unsigned long >(val2
);
14937 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14938 result
= (PyObject
*)wxPyVListBox_GetNextSelected(arg1
,arg2
);
14939 wxPyEndAllowThreads(__tstate
);
14940 if (PyErr_Occurred()) SWIG_fail
;
14942 resultobj
= result
;
14949 SWIGINTERN PyObject
*_wrap_VListBox_GetMargins(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14950 PyObject
*resultobj
= 0;
14951 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
14955 PyObject
*swig_obj
[1] ;
14957 if (!args
) SWIG_fail
;
14958 swig_obj
[0] = args
;
14959 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyVListBox
, 0 | 0 );
14960 if (!SWIG_IsOK(res1
)) {
14961 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VListBox_GetMargins" "', expected argument " "1"" of type '" "wxPyVListBox const *""'");
14963 arg1
= reinterpret_cast< wxPyVListBox
* >(argp1
);
14965 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14966 result
= ((wxPyVListBox
const *)arg1
)->GetMargins();
14967 wxPyEndAllowThreads(__tstate
);
14968 if (PyErr_Occurred()) SWIG_fail
;
14970 resultobj
= SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint
& >(result
))), SWIGTYPE_p_wxPoint
, SWIG_POINTER_OWN
| 0 );
14977 SWIGINTERN PyObject
*_wrap_VListBox_GetSelectionBackground(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14978 PyObject
*resultobj
= 0;
14979 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
14980 wxColour
*result
= 0 ;
14983 PyObject
*swig_obj
[1] ;
14985 if (!args
) SWIG_fail
;
14986 swig_obj
[0] = args
;
14987 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyVListBox
, 0 | 0 );
14988 if (!SWIG_IsOK(res1
)) {
14989 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VListBox_GetSelectionBackground" "', expected argument " "1"" of type '" "wxPyVListBox const *""'");
14991 arg1
= reinterpret_cast< wxPyVListBox
* >(argp1
);
14993 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14995 wxColour
const &_result_ref
= ((wxPyVListBox
const *)arg1
)->GetSelectionBackground();
14996 result
= (wxColour
*) &_result_ref
;
14998 wxPyEndAllowThreads(__tstate
);
14999 if (PyErr_Occurred()) SWIG_fail
;
15001 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxColour
, 0 | 0 );
15008 SWIGINTERN PyObject
*_wrap_VListBox_SetItemCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15009 PyObject
*resultobj
= 0;
15010 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
15016 PyObject
* obj0
= 0 ;
15017 PyObject
* obj1
= 0 ;
15018 char * kwnames
[] = {
15019 (char *) "self",(char *) "count", NULL
15022 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VListBox_SetItemCount",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
15023 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyVListBox
, 0 | 0 );
15024 if (!SWIG_IsOK(res1
)) {
15025 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VListBox_SetItemCount" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
15027 arg1
= reinterpret_cast< wxPyVListBox
* >(argp1
);
15028 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
15029 if (!SWIG_IsOK(ecode2
)) {
15030 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "VListBox_SetItemCount" "', expected argument " "2"" of type '" "size_t""'");
15032 arg2
= static_cast< size_t >(val2
);
15034 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15035 (arg1
)->SetItemCount(arg2
);
15036 wxPyEndAllowThreads(__tstate
);
15037 if (PyErr_Occurred()) SWIG_fail
;
15039 resultobj
= SWIG_Py_Void();
15046 SWIGINTERN PyObject
*_wrap_VListBox_Clear(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15047 PyObject
*resultobj
= 0;
15048 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
15051 PyObject
*swig_obj
[1] ;
15053 if (!args
) SWIG_fail
;
15054 swig_obj
[0] = args
;
15055 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyVListBox
, 0 | 0 );
15056 if (!SWIG_IsOK(res1
)) {
15057 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VListBox_Clear" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
15059 arg1
= reinterpret_cast< wxPyVListBox
* >(argp1
);
15061 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15063 wxPyEndAllowThreads(__tstate
);
15064 if (PyErr_Occurred()) SWIG_fail
;
15066 resultobj
= SWIG_Py_Void();
15073 SWIGINTERN PyObject
*_wrap_VListBox_SetSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15074 PyObject
*resultobj
= 0;
15075 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
15081 PyObject
* obj0
= 0 ;
15082 PyObject
* obj1
= 0 ;
15083 char * kwnames
[] = {
15084 (char *) "self",(char *) "selection", NULL
15087 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VListBox_SetSelection",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
15088 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyVListBox
, 0 | 0 );
15089 if (!SWIG_IsOK(res1
)) {
15090 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VListBox_SetSelection" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
15092 arg1
= reinterpret_cast< wxPyVListBox
* >(argp1
);
15093 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
15094 if (!SWIG_IsOK(ecode2
)) {
15095 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "VListBox_SetSelection" "', expected argument " "2"" of type '" "int""'");
15097 arg2
= static_cast< int >(val2
);
15099 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15100 (arg1
)->SetSelection(arg2
);
15101 wxPyEndAllowThreads(__tstate
);
15102 if (PyErr_Occurred()) SWIG_fail
;
15104 resultobj
= SWIG_Py_Void();
15111 SWIGINTERN PyObject
*_wrap_VListBox_Select(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15112 PyObject
*resultobj
= 0;
15113 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
15115 bool arg3
= (bool) true ;
15123 PyObject
* obj0
= 0 ;
15124 PyObject
* obj1
= 0 ;
15125 PyObject
* obj2
= 0 ;
15126 char * kwnames
[] = {
15127 (char *) "self",(char *) "item",(char *) "select", NULL
15130 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:VListBox_Select",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
15131 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyVListBox
, 0 | 0 );
15132 if (!SWIG_IsOK(res1
)) {
15133 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VListBox_Select" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
15135 arg1
= reinterpret_cast< wxPyVListBox
* >(argp1
);
15136 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
15137 if (!SWIG_IsOK(ecode2
)) {
15138 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "VListBox_Select" "', expected argument " "2"" of type '" "size_t""'");
15140 arg2
= static_cast< size_t >(val2
);
15142 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
15143 if (!SWIG_IsOK(ecode3
)) {
15144 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "VListBox_Select" "', expected argument " "3"" of type '" "bool""'");
15146 arg3
= static_cast< bool >(val3
);
15149 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15150 result
= (bool)(arg1
)->Select(arg2
,arg3
);
15151 wxPyEndAllowThreads(__tstate
);
15152 if (PyErr_Occurred()) SWIG_fail
;
15155 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15163 SWIGINTERN PyObject
*_wrap_VListBox_SelectRange(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15164 PyObject
*resultobj
= 0;
15165 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
15175 PyObject
* obj0
= 0 ;
15176 PyObject
* obj1
= 0 ;
15177 PyObject
* obj2
= 0 ;
15178 char * kwnames
[] = {
15179 (char *) "self",(char *) "from",(char *) "to", NULL
15182 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:VListBox_SelectRange",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
15183 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyVListBox
, 0 | 0 );
15184 if (!SWIG_IsOK(res1
)) {
15185 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VListBox_SelectRange" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
15187 arg1
= reinterpret_cast< wxPyVListBox
* >(argp1
);
15188 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
15189 if (!SWIG_IsOK(ecode2
)) {
15190 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "VListBox_SelectRange" "', expected argument " "2"" of type '" "size_t""'");
15192 arg2
= static_cast< size_t >(val2
);
15193 ecode3
= SWIG_AsVal_size_t(obj2
, &val3
);
15194 if (!SWIG_IsOK(ecode3
)) {
15195 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "VListBox_SelectRange" "', expected argument " "3"" of type '" "size_t""'");
15197 arg3
= static_cast< size_t >(val3
);
15199 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15200 result
= (bool)(arg1
)->SelectRange(arg2
,arg3
);
15201 wxPyEndAllowThreads(__tstate
);
15202 if (PyErr_Occurred()) SWIG_fail
;
15205 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15213 SWIGINTERN PyObject
*_wrap_VListBox_Toggle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15214 PyObject
*resultobj
= 0;
15215 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
15221 PyObject
* obj0
= 0 ;
15222 PyObject
* obj1
= 0 ;
15223 char * kwnames
[] = {
15224 (char *) "self",(char *) "item", NULL
15227 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VListBox_Toggle",kwnames
,&obj0
,&obj1
)) 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_Toggle" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
15232 arg1
= reinterpret_cast< wxPyVListBox
* >(argp1
);
15233 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
15234 if (!SWIG_IsOK(ecode2
)) {
15235 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "VListBox_Toggle" "', expected argument " "2"" of type '" "size_t""'");
15237 arg2
= static_cast< size_t >(val2
);
15239 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15240 (arg1
)->Toggle(arg2
);
15241 wxPyEndAllowThreads(__tstate
);
15242 if (PyErr_Occurred()) SWIG_fail
;
15244 resultobj
= SWIG_Py_Void();
15251 SWIGINTERN PyObject
*_wrap_VListBox_SelectAll(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15252 PyObject
*resultobj
= 0;
15253 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
15257 PyObject
*swig_obj
[1] ;
15259 if (!args
) SWIG_fail
;
15260 swig_obj
[0] = args
;
15261 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyVListBox
, 0 | 0 );
15262 if (!SWIG_IsOK(res1
)) {
15263 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VListBox_SelectAll" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
15265 arg1
= reinterpret_cast< wxPyVListBox
* >(argp1
);
15267 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15268 result
= (bool)(arg1
)->SelectAll();
15269 wxPyEndAllowThreads(__tstate
);
15270 if (PyErr_Occurred()) SWIG_fail
;
15273 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15281 SWIGINTERN PyObject
*_wrap_VListBox_DeselectAll(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15282 PyObject
*resultobj
= 0;
15283 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
15287 PyObject
*swig_obj
[1] ;
15289 if (!args
) SWIG_fail
;
15290 swig_obj
[0] = args
;
15291 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyVListBox
, 0 | 0 );
15292 if (!SWIG_IsOK(res1
)) {
15293 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VListBox_DeselectAll" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
15295 arg1
= reinterpret_cast< wxPyVListBox
* >(argp1
);
15297 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15298 result
= (bool)(arg1
)->DeselectAll();
15299 wxPyEndAllowThreads(__tstate
);
15300 if (PyErr_Occurred()) SWIG_fail
;
15303 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15311 SWIGINTERN PyObject
*_wrap_VListBox_SetMargins(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15312 PyObject
*resultobj
= 0;
15313 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
15314 wxPoint
*arg2
= 0 ;
15318 PyObject
* obj0
= 0 ;
15319 PyObject
* obj1
= 0 ;
15320 char * kwnames
[] = {
15321 (char *) "self",(char *) "pt", NULL
15324 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VListBox_SetMargins",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
15325 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyVListBox
, 0 | 0 );
15326 if (!SWIG_IsOK(res1
)) {
15327 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VListBox_SetMargins" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
15329 arg1
= reinterpret_cast< wxPyVListBox
* >(argp1
);
15332 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
15335 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15336 (arg1
)->SetMargins((wxPoint
const &)*arg2
);
15337 wxPyEndAllowThreads(__tstate
);
15338 if (PyErr_Occurred()) SWIG_fail
;
15340 resultobj
= SWIG_Py_Void();
15347 SWIGINTERN PyObject
*_wrap_VListBox_SetMarginsXY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15348 PyObject
*resultobj
= 0;
15349 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
15358 PyObject
* obj0
= 0 ;
15359 PyObject
* obj1
= 0 ;
15360 PyObject
* obj2
= 0 ;
15361 char * kwnames
[] = {
15362 (char *) "self",(char *) "x",(char *) "y", NULL
15365 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:VListBox_SetMarginsXY",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
15366 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyVListBox
, 0 | 0 );
15367 if (!SWIG_IsOK(res1
)) {
15368 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VListBox_SetMarginsXY" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
15370 arg1
= reinterpret_cast< wxPyVListBox
* >(argp1
);
15371 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
15372 if (!SWIG_IsOK(ecode2
)) {
15373 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "VListBox_SetMarginsXY" "', expected argument " "2"" of type '" "int""'");
15375 arg2
= static_cast< int >(val2
);
15376 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
15377 if (!SWIG_IsOK(ecode3
)) {
15378 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "VListBox_SetMarginsXY" "', expected argument " "3"" of type '" "int""'");
15380 arg3
= static_cast< int >(val3
);
15382 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15383 (arg1
)->SetMargins(arg2
,arg3
);
15384 wxPyEndAllowThreads(__tstate
);
15385 if (PyErr_Occurred()) SWIG_fail
;
15387 resultobj
= SWIG_Py_Void();
15394 SWIGINTERN PyObject
*_wrap_VListBox_SetSelectionBackground(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15395 PyObject
*resultobj
= 0;
15396 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
15397 wxColour
*arg2
= 0 ;
15401 PyObject
* obj0
= 0 ;
15402 PyObject
* obj1
= 0 ;
15403 char * kwnames
[] = {
15404 (char *) "self",(char *) "col", NULL
15407 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VListBox_SetSelectionBackground",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
15408 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyVListBox
, 0 | 0 );
15409 if (!SWIG_IsOK(res1
)) {
15410 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VListBox_SetSelectionBackground" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
15412 arg1
= reinterpret_cast< wxPyVListBox
* >(argp1
);
15415 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
15418 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15419 (arg1
)->SetSelectionBackground((wxColour
const &)*arg2
);
15420 wxPyEndAllowThreads(__tstate
);
15421 if (PyErr_Occurred()) SWIG_fail
;
15423 resultobj
= SWIG_Py_Void();
15430 SWIGINTERN PyObject
*_wrap_VListBox_OnDrawSeparator(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15431 PyObject
*resultobj
= 0;
15432 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
15443 PyObject
* obj0
= 0 ;
15444 PyObject
* obj1
= 0 ;
15445 PyObject
* obj2
= 0 ;
15446 PyObject
* obj3
= 0 ;
15447 char * kwnames
[] = {
15448 (char *) "self",(char *) "dc",(char *) "rect",(char *) "n", NULL
15451 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:VListBox_OnDrawSeparator",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
15452 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyVListBox
, 0 | 0 );
15453 if (!SWIG_IsOK(res1
)) {
15454 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VListBox_OnDrawSeparator" "', expected argument " "1"" of type '" "wxPyVListBox const *""'");
15456 arg1
= reinterpret_cast< wxPyVListBox
* >(argp1
);
15457 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxDC
, 0 );
15458 if (!SWIG_IsOK(res2
)) {
15459 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "VListBox_OnDrawSeparator" "', expected argument " "2"" of type '" "wxDC &""'");
15462 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "VListBox_OnDrawSeparator" "', expected argument " "2"" of type '" "wxDC &""'");
15464 arg2
= reinterpret_cast< wxDC
* >(argp2
);
15467 if ( ! wxRect_helper(obj2
, &arg3
)) SWIG_fail
;
15469 ecode4
= SWIG_AsVal_size_t(obj3
, &val4
);
15470 if (!SWIG_IsOK(ecode4
)) {
15471 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "VListBox_OnDrawSeparator" "', expected argument " "4"" of type '" "size_t""'");
15473 arg4
= static_cast< size_t >(val4
);
15475 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15476 ((wxPyVListBox
const *)arg1
)->OnDrawSeparator(*arg2
,*arg3
,arg4
);
15477 wxPyEndAllowThreads(__tstate
);
15478 if (PyErr_Occurred()) SWIG_fail
;
15480 resultobj
= SWIG_Py_Void();
15487 SWIGINTERN PyObject
*_wrap_VListBox_OnDrawBackground(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15488 PyObject
*resultobj
= 0;
15489 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
15500 PyObject
* obj0
= 0 ;
15501 PyObject
* obj1
= 0 ;
15502 PyObject
* obj2
= 0 ;
15503 PyObject
* obj3
= 0 ;
15504 char * kwnames
[] = {
15505 (char *) "self",(char *) "dc",(char *) "rect",(char *) "n", NULL
15508 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:VListBox_OnDrawBackground",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
15509 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyVListBox
, 0 | 0 );
15510 if (!SWIG_IsOK(res1
)) {
15511 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VListBox_OnDrawBackground" "', expected argument " "1"" of type '" "wxPyVListBox const *""'");
15513 arg1
= reinterpret_cast< wxPyVListBox
* >(argp1
);
15514 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxDC
, 0 );
15515 if (!SWIG_IsOK(res2
)) {
15516 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "VListBox_OnDrawBackground" "', expected argument " "2"" of type '" "wxDC &""'");
15519 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "VListBox_OnDrawBackground" "', expected argument " "2"" of type '" "wxDC &""'");
15521 arg2
= reinterpret_cast< wxDC
* >(argp2
);
15524 if ( ! wxRect_helper(obj2
, &arg3
)) SWIG_fail
;
15526 ecode4
= SWIG_AsVal_size_t(obj3
, &val4
);
15527 if (!SWIG_IsOK(ecode4
)) {
15528 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "VListBox_OnDrawBackground" "', expected argument " "4"" of type '" "size_t""'");
15530 arg4
= static_cast< size_t >(val4
);
15532 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15533 ((wxPyVListBox
const *)arg1
)->OnDrawBackground(*arg2
,(wxRect
const &)*arg3
,arg4
);
15534 wxPyEndAllowThreads(__tstate
);
15535 if (PyErr_Occurred()) SWIG_fail
;
15537 resultobj
= SWIG_Py_Void();
15544 SWIGINTERN PyObject
*VListBox_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15546 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
15547 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyVListBox
, SWIG_NewClientData(obj
));
15548 return SWIG_Py_Void();
15551 SWIGINTERN PyObject
*VListBox_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15552 return SWIG_Python_InitShadowInstance(args
);
15555 SWIGINTERN PyObject
*_wrap_new_HtmlListBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15556 PyObject
*resultobj
= 0;
15557 wxWindow
*arg1
= (wxWindow
*) 0 ;
15558 int arg2
= (int) wxID_ANY
;
15559 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
15560 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
15561 wxSize
const &arg4_defvalue
= wxDefaultSize
;
15562 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
15563 long arg5
= (long) 0 ;
15564 wxString
const &arg6_defvalue
= wxPyVListBoxNameStr
;
15565 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
15566 wxPyHtmlListBox
*result
= 0 ;
15575 bool temp6
= false ;
15576 PyObject
* obj0
= 0 ;
15577 PyObject
* obj1
= 0 ;
15578 PyObject
* obj2
= 0 ;
15579 PyObject
* obj3
= 0 ;
15580 PyObject
* obj4
= 0 ;
15581 PyObject
* obj5
= 0 ;
15582 char * kwnames
[] = {
15583 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
15586 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_HtmlListBox",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
15587 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
15588 if (!SWIG_IsOK(res1
)) {
15589 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_HtmlListBox" "', expected argument " "1"" of type '" "wxWindow *""'");
15591 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
15593 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
15594 if (!SWIG_IsOK(ecode2
)) {
15595 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_HtmlListBox" "', expected argument " "2"" of type '" "int""'");
15597 arg2
= static_cast< int >(val2
);
15602 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
15608 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
15612 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
15613 if (!SWIG_IsOK(ecode5
)) {
15614 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_HtmlListBox" "', expected argument " "5"" of type '" "long""'");
15616 arg5
= static_cast< long >(val5
);
15620 arg6
= wxString_in_helper(obj5
);
15621 if (arg6
== NULL
) SWIG_fail
;
15626 if (!wxPyCheckForApp()) SWIG_fail
;
15627 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15628 result
= (wxPyHtmlListBox
*)new wxPyHtmlListBox(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
15629 wxPyEndAllowThreads(__tstate
);
15630 if (PyErr_Occurred()) SWIG_fail
;
15632 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyHtmlListBox
, SWIG_POINTER_NEW
| 0 );
15647 SWIGINTERN PyObject
*_wrap_new_PreHtmlListBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15648 PyObject
*resultobj
= 0;
15649 wxPyHtmlListBox
*result
= 0 ;
15651 if (!SWIG_Python_UnpackTuple(args
,"new_PreHtmlListBox",0,0,0)) SWIG_fail
;
15653 if (!wxPyCheckForApp()) SWIG_fail
;
15654 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15655 result
= (wxPyHtmlListBox
*)new wxPyHtmlListBox();
15656 wxPyEndAllowThreads(__tstate
);
15657 if (PyErr_Occurred()) SWIG_fail
;
15659 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyHtmlListBox
, SWIG_POINTER_OWN
| 0 );
15666 SWIGINTERN PyObject
*_wrap_HtmlListBox__setCallbackInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15667 PyObject
*resultobj
= 0;
15668 wxPyHtmlListBox
*arg1
= (wxPyHtmlListBox
*) 0 ;
15669 PyObject
*arg2
= (PyObject
*) 0 ;
15670 PyObject
*arg3
= (PyObject
*) 0 ;
15673 PyObject
* obj0
= 0 ;
15674 PyObject
* obj1
= 0 ;
15675 PyObject
* obj2
= 0 ;
15676 char * kwnames
[] = {
15677 (char *) "self",(char *) "self",(char *) "_class", NULL
15680 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:HtmlListBox__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
15681 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyHtmlListBox
, 0 | 0 );
15682 if (!SWIG_IsOK(res1
)) {
15683 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlListBox__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyHtmlListBox *""'");
15685 arg1
= reinterpret_cast< wxPyHtmlListBox
* >(argp1
);
15689 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15690 (arg1
)->_setCallbackInfo(arg2
,arg3
);
15691 wxPyEndAllowThreads(__tstate
);
15692 if (PyErr_Occurred()) SWIG_fail
;
15694 resultobj
= SWIG_Py_Void();
15701 SWIGINTERN PyObject
*_wrap_HtmlListBox_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15702 PyObject
*resultobj
= 0;
15703 wxPyHtmlListBox
*arg1
= (wxPyHtmlListBox
*) 0 ;
15704 wxWindow
*arg2
= (wxWindow
*) 0 ;
15705 int arg3
= (int) wxID_ANY
;
15706 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
15707 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
15708 wxSize
const &arg5_defvalue
= wxDefaultSize
;
15709 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
15710 long arg6
= (long) 0 ;
15711 wxString
const &arg7_defvalue
= wxPyVListBoxNameStr
;
15712 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
15724 bool temp7
= false ;
15725 PyObject
* obj0
= 0 ;
15726 PyObject
* obj1
= 0 ;
15727 PyObject
* obj2
= 0 ;
15728 PyObject
* obj3
= 0 ;
15729 PyObject
* obj4
= 0 ;
15730 PyObject
* obj5
= 0 ;
15731 PyObject
* obj6
= 0 ;
15732 char * kwnames
[] = {
15733 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
15736 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:HtmlListBox_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
15737 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyHtmlListBox
, 0 | 0 );
15738 if (!SWIG_IsOK(res1
)) {
15739 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlListBox_Create" "', expected argument " "1"" of type '" "wxPyHtmlListBox *""'");
15741 arg1
= reinterpret_cast< wxPyHtmlListBox
* >(argp1
);
15742 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
15743 if (!SWIG_IsOK(res2
)) {
15744 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "HtmlListBox_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
15746 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
15748 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
15749 if (!SWIG_IsOK(ecode3
)) {
15750 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "HtmlListBox_Create" "', expected argument " "3"" of type '" "int""'");
15752 arg3
= static_cast< int >(val3
);
15757 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
15763 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
15767 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
15768 if (!SWIG_IsOK(ecode6
)) {
15769 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "HtmlListBox_Create" "', expected argument " "6"" of type '" "long""'");
15771 arg6
= static_cast< long >(val6
);
15775 arg7
= wxString_in_helper(obj6
);
15776 if (arg7
== NULL
) SWIG_fail
;
15781 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15782 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
15783 wxPyEndAllowThreads(__tstate
);
15784 if (PyErr_Occurred()) SWIG_fail
;
15787 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15803 SWIGINTERN PyObject
*_wrap_HtmlListBox_SetItemCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15804 PyObject
*resultobj
= 0;
15805 wxPyHtmlListBox
*arg1
= (wxPyHtmlListBox
*) 0 ;
15811 PyObject
* obj0
= 0 ;
15812 PyObject
* obj1
= 0 ;
15813 char * kwnames
[] = {
15814 (char *) "self",(char *) "count", NULL
15817 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlListBox_SetItemCount",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
15818 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyHtmlListBox
, 0 | 0 );
15819 if (!SWIG_IsOK(res1
)) {
15820 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlListBox_SetItemCount" "', expected argument " "1"" of type '" "wxPyHtmlListBox *""'");
15822 arg1
= reinterpret_cast< wxPyHtmlListBox
* >(argp1
);
15823 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
15824 if (!SWIG_IsOK(ecode2
)) {
15825 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "HtmlListBox_SetItemCount" "', expected argument " "2"" of type '" "size_t""'");
15827 arg2
= static_cast< size_t >(val2
);
15829 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15830 (arg1
)->SetItemCount(arg2
);
15831 wxPyEndAllowThreads(__tstate
);
15832 if (PyErr_Occurred()) SWIG_fail
;
15834 resultobj
= SWIG_Py_Void();
15841 SWIGINTERN PyObject
*_wrap_HtmlListBox_GetFileSystem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15842 PyObject
*resultobj
= 0;
15843 wxPyHtmlListBox
*arg1
= (wxPyHtmlListBox
*) 0 ;
15844 wxFileSystem
*result
= 0 ;
15847 PyObject
*swig_obj
[1] ;
15849 if (!args
) SWIG_fail
;
15850 swig_obj
[0] = args
;
15851 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyHtmlListBox
, 0 | 0 );
15852 if (!SWIG_IsOK(res1
)) {
15853 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlListBox_GetFileSystem" "', expected argument " "1"" of type '" "wxPyHtmlListBox *""'");
15855 arg1
= reinterpret_cast< wxPyHtmlListBox
* >(argp1
);
15857 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15859 wxFileSystem
&_result_ref
= (arg1
)->GetFileSystem();
15860 result
= (wxFileSystem
*) &_result_ref
;
15862 wxPyEndAllowThreads(__tstate
);
15863 if (PyErr_Occurred()) SWIG_fail
;
15865 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFileSystem
, 0 | 0 );
15872 SWIGINTERN PyObject
*_wrap_HtmlListBox_OnLinkClicked(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15873 PyObject
*resultobj
= 0;
15874 wxPyHtmlListBox
*arg1
= (wxPyHtmlListBox
*) 0 ;
15876 wxHtmlLinkInfo
*arg3
= 0 ;
15883 PyObject
* obj0
= 0 ;
15884 PyObject
* obj1
= 0 ;
15885 PyObject
* obj2
= 0 ;
15886 char * kwnames
[] = {
15887 (char *) "self",(char *) "n",(char *) "link", NULL
15890 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:HtmlListBox_OnLinkClicked",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
15891 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyHtmlListBox
, 0 | 0 );
15892 if (!SWIG_IsOK(res1
)) {
15893 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlListBox_OnLinkClicked" "', expected argument " "1"" of type '" "wxPyHtmlListBox *""'");
15895 arg1
= reinterpret_cast< wxPyHtmlListBox
* >(argp1
);
15896 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
15897 if (!SWIG_IsOK(ecode2
)) {
15898 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "HtmlListBox_OnLinkClicked" "', expected argument " "2"" of type '" "size_t""'");
15900 arg2
= static_cast< size_t >(val2
);
15901 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxHtmlLinkInfo
, 0 | 0);
15902 if (!SWIG_IsOK(res3
)) {
15903 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "HtmlListBox_OnLinkClicked" "', expected argument " "3"" of type '" "wxHtmlLinkInfo const &""'");
15906 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "HtmlListBox_OnLinkClicked" "', expected argument " "3"" of type '" "wxHtmlLinkInfo const &""'");
15908 arg3
= reinterpret_cast< wxHtmlLinkInfo
* >(argp3
);
15910 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15911 (arg1
)->OnLinkClicked(arg2
,(wxHtmlLinkInfo
const &)*arg3
);
15912 wxPyEndAllowThreads(__tstate
);
15913 if (PyErr_Occurred()) SWIG_fail
;
15915 resultobj
= SWIG_Py_Void();
15922 SWIGINTERN PyObject
*HtmlListBox_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15924 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
15925 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyHtmlListBox
, SWIG_NewClientData(obj
));
15926 return SWIG_Py_Void();
15929 SWIGINTERN PyObject
*HtmlListBox_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15930 return SWIG_Python_InitShadowInstance(args
);
15933 SWIGINTERN PyObject
*_wrap_new_TaskBarIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15934 PyObject
*resultobj
= 0;
15935 wxPyTaskBarIcon
*result
= 0 ;
15937 if (!SWIG_Python_UnpackTuple(args
,"new_TaskBarIcon",0,0,0)) SWIG_fail
;
15939 if (!wxPyCheckForApp()) SWIG_fail
;
15940 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15941 result
= (wxPyTaskBarIcon
*)new wxPyTaskBarIcon();
15942 wxPyEndAllowThreads(__tstate
);
15943 if (PyErr_Occurred()) SWIG_fail
;
15945 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyTaskBarIcon
, SWIG_POINTER_NEW
| 0 );
15952 SWIGINTERN PyObject
*_wrap_delete_TaskBarIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15953 PyObject
*resultobj
= 0;
15954 wxPyTaskBarIcon
*arg1
= (wxPyTaskBarIcon
*) 0 ;
15957 PyObject
*swig_obj
[1] ;
15959 if (!args
) SWIG_fail
;
15960 swig_obj
[0] = args
;
15961 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTaskBarIcon
, SWIG_POINTER_DISOWN
| 0 );
15962 if (!SWIG_IsOK(res1
)) {
15963 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_TaskBarIcon" "', expected argument " "1"" of type '" "wxPyTaskBarIcon *""'");
15965 arg1
= reinterpret_cast< wxPyTaskBarIcon
* >(argp1
);
15967 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15970 wxPyEndAllowThreads(__tstate
);
15971 if (PyErr_Occurred()) SWIG_fail
;
15973 resultobj
= SWIG_Py_Void();
15980 SWIGINTERN PyObject
*_wrap_TaskBarIcon__setCallbackInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15981 PyObject
*resultobj
= 0;
15982 wxPyTaskBarIcon
*arg1
= (wxPyTaskBarIcon
*) 0 ;
15983 PyObject
*arg2
= (PyObject
*) 0 ;
15984 PyObject
*arg3
= (PyObject
*) 0 ;
15990 PyObject
* obj0
= 0 ;
15991 PyObject
* obj1
= 0 ;
15992 PyObject
* obj2
= 0 ;
15993 PyObject
* obj3
= 0 ;
15994 char * kwnames
[] = {
15995 (char *) "self",(char *) "self",(char *) "_class",(char *) "incref", NULL
15998 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:TaskBarIcon__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
15999 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTaskBarIcon
, 0 | 0 );
16000 if (!SWIG_IsOK(res1
)) {
16001 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TaskBarIcon__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyTaskBarIcon *""'");
16003 arg1
= reinterpret_cast< wxPyTaskBarIcon
* >(argp1
);
16006 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
16007 if (!SWIG_IsOK(ecode4
)) {
16008 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "TaskBarIcon__setCallbackInfo" "', expected argument " "4"" of type '" "int""'");
16010 arg4
= static_cast< int >(val4
);
16012 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16013 (arg1
)->_setCallbackInfo(arg2
,arg3
,arg4
);
16014 wxPyEndAllowThreads(__tstate
);
16015 if (PyErr_Occurred()) SWIG_fail
;
16017 resultobj
= SWIG_Py_Void();
16024 SWIGINTERN PyObject
*_wrap_TaskBarIcon_Destroy(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16025 PyObject
*resultobj
= 0;
16026 wxPyTaskBarIcon
*arg1
= (wxPyTaskBarIcon
*) 0 ;
16029 PyObject
*swig_obj
[1] ;
16031 if (!args
) SWIG_fail
;
16032 swig_obj
[0] = args
;
16033 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTaskBarIcon
, 0 | 0 );
16034 if (!SWIG_IsOK(res1
)) {
16035 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TaskBarIcon_Destroy" "', expected argument " "1"" of type '" "wxPyTaskBarIcon *""'");
16037 arg1
= reinterpret_cast< wxPyTaskBarIcon
* >(argp1
);
16039 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16040 wxPyTaskBarIcon_Destroy(arg1
);
16041 wxPyEndAllowThreads(__tstate
);
16042 if (PyErr_Occurred()) SWIG_fail
;
16044 resultobj
= SWIG_Py_Void();
16051 SWIGINTERN PyObject
*_wrap_TaskBarIcon_IsOk(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16052 PyObject
*resultobj
= 0;
16053 wxPyTaskBarIcon
*arg1
= (wxPyTaskBarIcon
*) 0 ;
16057 PyObject
*swig_obj
[1] ;
16059 if (!args
) SWIG_fail
;
16060 swig_obj
[0] = args
;
16061 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTaskBarIcon
, 0 | 0 );
16062 if (!SWIG_IsOK(res1
)) {
16063 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TaskBarIcon_IsOk" "', expected argument " "1"" of type '" "wxPyTaskBarIcon const *""'");
16065 arg1
= reinterpret_cast< wxPyTaskBarIcon
* >(argp1
);
16067 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16068 result
= (bool)((wxPyTaskBarIcon
const *)arg1
)->IsOk();
16069 wxPyEndAllowThreads(__tstate
);
16070 if (PyErr_Occurred()) SWIG_fail
;
16073 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16081 SWIGINTERN PyObject
*_wrap_TaskBarIcon_IsIconInstalled(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16082 PyObject
*resultobj
= 0;
16083 wxPyTaskBarIcon
*arg1
= (wxPyTaskBarIcon
*) 0 ;
16087 PyObject
*swig_obj
[1] ;
16089 if (!args
) SWIG_fail
;
16090 swig_obj
[0] = args
;
16091 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTaskBarIcon
, 0 | 0 );
16092 if (!SWIG_IsOK(res1
)) {
16093 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TaskBarIcon_IsIconInstalled" "', expected argument " "1"" of type '" "wxPyTaskBarIcon const *""'");
16095 arg1
= reinterpret_cast< wxPyTaskBarIcon
* >(argp1
);
16097 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16098 result
= (bool)((wxPyTaskBarIcon
const *)arg1
)->IsIconInstalled();
16099 wxPyEndAllowThreads(__tstate
);
16100 if (PyErr_Occurred()) SWIG_fail
;
16103 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16111 SWIGINTERN PyObject
*_wrap_TaskBarIcon_SetIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16112 PyObject
*resultobj
= 0;
16113 wxPyTaskBarIcon
*arg1
= (wxPyTaskBarIcon
*) 0 ;
16115 wxString
const &arg3_defvalue
= wxPyEmptyString
;
16116 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
16122 bool temp3
= false ;
16123 PyObject
* obj0
= 0 ;
16124 PyObject
* obj1
= 0 ;
16125 PyObject
* obj2
= 0 ;
16126 char * kwnames
[] = {
16127 (char *) "self",(char *) "icon",(char *) "tooltip", NULL
16130 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TaskBarIcon_SetIcon",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
16131 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTaskBarIcon
, 0 | 0 );
16132 if (!SWIG_IsOK(res1
)) {
16133 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TaskBarIcon_SetIcon" "', expected argument " "1"" of type '" "wxPyTaskBarIcon *""'");
16135 arg1
= reinterpret_cast< wxPyTaskBarIcon
* >(argp1
);
16136 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxIcon
, 0 | 0);
16137 if (!SWIG_IsOK(res2
)) {
16138 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TaskBarIcon_SetIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
16141 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TaskBarIcon_SetIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
16143 arg2
= reinterpret_cast< wxIcon
* >(argp2
);
16146 arg3
= wxString_in_helper(obj2
);
16147 if (arg3
== NULL
) SWIG_fail
;
16152 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16153 result
= (bool)(arg1
)->SetIcon((wxIcon
const &)*arg2
,(wxString
const &)*arg3
);
16154 wxPyEndAllowThreads(__tstate
);
16155 if (PyErr_Occurred()) SWIG_fail
;
16158 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16174 SWIGINTERN PyObject
*_wrap_TaskBarIcon_RemoveIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16175 PyObject
*resultobj
= 0;
16176 wxPyTaskBarIcon
*arg1
= (wxPyTaskBarIcon
*) 0 ;
16180 PyObject
*swig_obj
[1] ;
16182 if (!args
) SWIG_fail
;
16183 swig_obj
[0] = args
;
16184 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTaskBarIcon
, 0 | 0 );
16185 if (!SWIG_IsOK(res1
)) {
16186 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TaskBarIcon_RemoveIcon" "', expected argument " "1"" of type '" "wxPyTaskBarIcon *""'");
16188 arg1
= reinterpret_cast< wxPyTaskBarIcon
* >(argp1
);
16190 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16191 result
= (bool)(arg1
)->RemoveIcon();
16192 wxPyEndAllowThreads(__tstate
);
16193 if (PyErr_Occurred()) SWIG_fail
;
16196 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16204 SWIGINTERN PyObject
*_wrap_TaskBarIcon_PopupMenu(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16205 PyObject
*resultobj
= 0;
16206 wxPyTaskBarIcon
*arg1
= (wxPyTaskBarIcon
*) 0 ;
16207 wxMenu
*arg2
= (wxMenu
*) 0 ;
16213 PyObject
* obj0
= 0 ;
16214 PyObject
* obj1
= 0 ;
16215 char * kwnames
[] = {
16216 (char *) "self",(char *) "menu", NULL
16219 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TaskBarIcon_PopupMenu",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
16220 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTaskBarIcon
, 0 | 0 );
16221 if (!SWIG_IsOK(res1
)) {
16222 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TaskBarIcon_PopupMenu" "', expected argument " "1"" of type '" "wxPyTaskBarIcon *""'");
16224 arg1
= reinterpret_cast< wxPyTaskBarIcon
* >(argp1
);
16225 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxMenu
, 0 | 0 );
16226 if (!SWIG_IsOK(res2
)) {
16227 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TaskBarIcon_PopupMenu" "', expected argument " "2"" of type '" "wxMenu *""'");
16229 arg2
= reinterpret_cast< wxMenu
* >(argp2
);
16231 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16232 result
= (bool)(arg1
)->PopupMenu(arg2
);
16233 wxPyEndAllowThreads(__tstate
);
16234 if (PyErr_Occurred()) SWIG_fail
;
16237 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16245 SWIGINTERN PyObject
*TaskBarIcon_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16247 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
16248 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyTaskBarIcon
, SWIG_NewClientData(obj
));
16249 return SWIG_Py_Void();
16252 SWIGINTERN PyObject
*TaskBarIcon_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16253 return SWIG_Python_InitShadowInstance(args
);
16256 SWIGINTERN PyObject
*_wrap_new_TaskBarIconEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16257 PyObject
*resultobj
= 0;
16259 wxTaskBarIcon
*arg2
= (wxTaskBarIcon
*) 0 ;
16260 wxTaskBarIconEvent
*result
= 0 ;
16265 PyObject
* obj0
= 0 ;
16266 PyObject
* obj1
= 0 ;
16267 char * kwnames
[] = {
16268 (char *) "evtType",(char *) "tbIcon", NULL
16271 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_TaskBarIconEvent",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
16272 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
16273 if (!SWIG_IsOK(ecode1
)) {
16274 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_TaskBarIconEvent" "', expected argument " "1"" of type '" "wxEventType""'");
16276 arg1
= static_cast< wxEventType
>(val1
);
16277 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxTaskBarIcon
, 0 | 0 );
16278 if (!SWIG_IsOK(res2
)) {
16279 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_TaskBarIconEvent" "', expected argument " "2"" of type '" "wxTaskBarIcon *""'");
16281 arg2
= reinterpret_cast< wxTaskBarIcon
* >(argp2
);
16283 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16284 result
= (wxTaskBarIconEvent
*)new wxTaskBarIconEvent(arg1
,arg2
);
16285 wxPyEndAllowThreads(__tstate
);
16286 if (PyErr_Occurred()) SWIG_fail
;
16288 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxTaskBarIconEvent
, SWIG_POINTER_NEW
| 0 );
16295 SWIGINTERN PyObject
*TaskBarIconEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16297 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
16298 SWIG_TypeNewClientData(SWIGTYPE_p_wxTaskBarIconEvent
, SWIG_NewClientData(obj
));
16299 return SWIG_Py_Void();
16302 SWIGINTERN PyObject
*TaskBarIconEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16303 return SWIG_Python_InitShadowInstance(args
);
16306 SWIGINTERN
int FileSelectorPromptStr_set(PyObject
*) {
16307 SWIG_Error(SWIG_AttributeError
,"Variable FileSelectorPromptStr is read-only.");
16312 SWIGINTERN PyObject
*FileSelectorPromptStr_get(void) {
16313 PyObject
*pyobj
= 0;
16317 pyobj
= PyUnicode_FromWideChar((&wxPyFileSelectorPromptStr
)->c_str(), (&wxPyFileSelectorPromptStr
)->Len());
16319 pyobj
= PyString_FromStringAndSize((&wxPyFileSelectorPromptStr
)->c_str(), (&wxPyFileSelectorPromptStr
)->Len());
16326 SWIGINTERN
int DirSelectorPromptStr_set(PyObject
*) {
16327 SWIG_Error(SWIG_AttributeError
,"Variable DirSelectorPromptStr is read-only.");
16332 SWIGINTERN PyObject
*DirSelectorPromptStr_get(void) {
16333 PyObject
*pyobj
= 0;
16337 pyobj
= PyUnicode_FromWideChar((&wxPyDirSelectorPromptStr
)->c_str(), (&wxPyDirSelectorPromptStr
)->Len());
16339 pyobj
= PyString_FromStringAndSize((&wxPyDirSelectorPromptStr
)->c_str(), (&wxPyDirSelectorPromptStr
)->Len());
16346 SWIGINTERN
int DirDialogNameStr_set(PyObject
*) {
16347 SWIG_Error(SWIG_AttributeError
,"Variable DirDialogNameStr is read-only.");
16352 SWIGINTERN PyObject
*DirDialogNameStr_get(void) {
16353 PyObject
*pyobj
= 0;
16357 pyobj
= PyUnicode_FromWideChar((&wxPyDirDialogNameStr
)->c_str(), (&wxPyDirDialogNameStr
)->Len());
16359 pyobj
= PyString_FromStringAndSize((&wxPyDirDialogNameStr
)->c_str(), (&wxPyDirDialogNameStr
)->Len());
16366 SWIGINTERN
int FileSelectorDefaultWildcardStr_set(PyObject
*) {
16367 SWIG_Error(SWIG_AttributeError
,"Variable FileSelectorDefaultWildcardStr is read-only.");
16372 SWIGINTERN PyObject
*FileSelectorDefaultWildcardStr_get(void) {
16373 PyObject
*pyobj
= 0;
16377 pyobj
= PyUnicode_FromWideChar((&wxPyFileSelectorDefaultWildcardStr
)->c_str(), (&wxPyFileSelectorDefaultWildcardStr
)->Len());
16379 pyobj
= PyString_FromStringAndSize((&wxPyFileSelectorDefaultWildcardStr
)->c_str(), (&wxPyFileSelectorDefaultWildcardStr
)->Len());
16386 SWIGINTERN
int GetTextFromUserPromptStr_set(PyObject
*) {
16387 SWIG_Error(SWIG_AttributeError
,"Variable GetTextFromUserPromptStr is read-only.");
16392 SWIGINTERN PyObject
*GetTextFromUserPromptStr_get(void) {
16393 PyObject
*pyobj
= 0;
16397 pyobj
= PyUnicode_FromWideChar((&wxPyGetTextFromUserPromptStr
)->c_str(), (&wxPyGetTextFromUserPromptStr
)->Len());
16399 pyobj
= PyString_FromStringAndSize((&wxPyGetTextFromUserPromptStr
)->c_str(), (&wxPyGetTextFromUserPromptStr
)->Len());
16406 SWIGINTERN
int MessageBoxCaptionStr_set(PyObject
*) {
16407 SWIG_Error(SWIG_AttributeError
,"Variable MessageBoxCaptionStr is read-only.");
16412 SWIGINTERN PyObject
*MessageBoxCaptionStr_get(void) {
16413 PyObject
*pyobj
= 0;
16417 pyobj
= PyUnicode_FromWideChar((&wxPyMessageBoxCaptionStr
)->c_str(), (&wxPyMessageBoxCaptionStr
)->Len());
16419 pyobj
= PyString_FromStringAndSize((&wxPyMessageBoxCaptionStr
)->c_str(), (&wxPyMessageBoxCaptionStr
)->Len());
16426 SWIGINTERN PyObject
*_wrap_new_ColourData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16427 PyObject
*resultobj
= 0;
16428 wxColourData
*result
= 0 ;
16430 if (!SWIG_Python_UnpackTuple(args
,"new_ColourData",0,0,0)) SWIG_fail
;
16432 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16433 result
= (wxColourData
*)new wxColourData();
16434 wxPyEndAllowThreads(__tstate
);
16435 if (PyErr_Occurred()) SWIG_fail
;
16437 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxColourData
, SWIG_POINTER_NEW
| 0 );
16444 SWIGINTERN PyObject
*_wrap_delete_ColourData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16445 PyObject
*resultobj
= 0;
16446 wxColourData
*arg1
= (wxColourData
*) 0 ;
16449 PyObject
*swig_obj
[1] ;
16451 if (!args
) SWIG_fail
;
16452 swig_obj
[0] = args
;
16453 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxColourData
, SWIG_POINTER_DISOWN
| 0 );
16454 if (!SWIG_IsOK(res1
)) {
16455 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_ColourData" "', expected argument " "1"" of type '" "wxColourData *""'");
16457 arg1
= reinterpret_cast< wxColourData
* >(argp1
);
16459 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16462 wxPyEndAllowThreads(__tstate
);
16463 if (PyErr_Occurred()) SWIG_fail
;
16465 resultobj
= SWIG_Py_Void();
16472 SWIGINTERN PyObject
*_wrap_ColourData_GetChooseFull(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16473 PyObject
*resultobj
= 0;
16474 wxColourData
*arg1
= (wxColourData
*) 0 ;
16478 PyObject
*swig_obj
[1] ;
16480 if (!args
) SWIG_fail
;
16481 swig_obj
[0] = args
;
16482 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxColourData
, 0 | 0 );
16483 if (!SWIG_IsOK(res1
)) {
16484 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ColourData_GetChooseFull" "', expected argument " "1"" of type '" "wxColourData *""'");
16486 arg1
= reinterpret_cast< wxColourData
* >(argp1
);
16488 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16489 result
= (bool)(arg1
)->GetChooseFull();
16490 wxPyEndAllowThreads(__tstate
);
16491 if (PyErr_Occurred()) SWIG_fail
;
16494 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16502 SWIGINTERN PyObject
*_wrap_ColourData_GetColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16503 PyObject
*resultobj
= 0;
16504 wxColourData
*arg1
= (wxColourData
*) 0 ;
16508 PyObject
*swig_obj
[1] ;
16510 if (!args
) SWIG_fail
;
16511 swig_obj
[0] = args
;
16512 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxColourData
, 0 | 0 );
16513 if (!SWIG_IsOK(res1
)) {
16514 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ColourData_GetColour" "', expected argument " "1"" of type '" "wxColourData *""'");
16516 arg1
= reinterpret_cast< wxColourData
* >(argp1
);
16518 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16519 result
= (arg1
)->GetColour();
16520 wxPyEndAllowThreads(__tstate
);
16521 if (PyErr_Occurred()) SWIG_fail
;
16523 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
16530 SWIGINTERN PyObject
*_wrap_ColourData_GetCustomColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16531 PyObject
*resultobj
= 0;
16532 wxColourData
*arg1
= (wxColourData
*) 0 ;
16539 PyObject
* obj0
= 0 ;
16540 PyObject
* obj1
= 0 ;
16541 char * kwnames
[] = {
16542 (char *) "self",(char *) "i", NULL
16545 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ColourData_GetCustomColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
16546 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxColourData
, 0 | 0 );
16547 if (!SWIG_IsOK(res1
)) {
16548 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ColourData_GetCustomColour" "', expected argument " "1"" of type '" "wxColourData *""'");
16550 arg1
= reinterpret_cast< wxColourData
* >(argp1
);
16551 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
16552 if (!SWIG_IsOK(ecode2
)) {
16553 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ColourData_GetCustomColour" "', expected argument " "2"" of type '" "int""'");
16555 arg2
= static_cast< int >(val2
);
16557 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16558 result
= (arg1
)->GetCustomColour(arg2
);
16559 wxPyEndAllowThreads(__tstate
);
16560 if (PyErr_Occurred()) SWIG_fail
;
16562 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
16569 SWIGINTERN PyObject
*_wrap_ColourData_SetChooseFull(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16570 PyObject
*resultobj
= 0;
16571 wxColourData
*arg1
= (wxColourData
*) 0 ;
16577 PyObject
* obj0
= 0 ;
16578 PyObject
* obj1
= 0 ;
16579 char * kwnames
[] = {
16580 (char *) "self",(char *) "flag", NULL
16583 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ColourData_SetChooseFull",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
16584 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxColourData
, 0 | 0 );
16585 if (!SWIG_IsOK(res1
)) {
16586 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ColourData_SetChooseFull" "', expected argument " "1"" of type '" "wxColourData *""'");
16588 arg1
= reinterpret_cast< wxColourData
* >(argp1
);
16589 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
16590 if (!SWIG_IsOK(ecode2
)) {
16591 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ColourData_SetChooseFull" "', expected argument " "2"" of type '" "int""'");
16593 arg2
= static_cast< int >(val2
);
16595 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16596 (arg1
)->SetChooseFull(arg2
);
16597 wxPyEndAllowThreads(__tstate
);
16598 if (PyErr_Occurred()) SWIG_fail
;
16600 resultobj
= SWIG_Py_Void();
16607 SWIGINTERN PyObject
*_wrap_ColourData_SetColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16608 PyObject
*resultobj
= 0;
16609 wxColourData
*arg1
= (wxColourData
*) 0 ;
16610 wxColour
*arg2
= 0 ;
16614 PyObject
* obj0
= 0 ;
16615 PyObject
* obj1
= 0 ;
16616 char * kwnames
[] = {
16617 (char *) "self",(char *) "colour", NULL
16620 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ColourData_SetColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
16621 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxColourData
, 0 | 0 );
16622 if (!SWIG_IsOK(res1
)) {
16623 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ColourData_SetColour" "', expected argument " "1"" of type '" "wxColourData *""'");
16625 arg1
= reinterpret_cast< wxColourData
* >(argp1
);
16628 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
16631 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16632 (arg1
)->SetColour((wxColour
const &)*arg2
);
16633 wxPyEndAllowThreads(__tstate
);
16634 if (PyErr_Occurred()) SWIG_fail
;
16636 resultobj
= SWIG_Py_Void();
16643 SWIGINTERN PyObject
*_wrap_ColourData_SetCustomColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16644 PyObject
*resultobj
= 0;
16645 wxColourData
*arg1
= (wxColourData
*) 0 ;
16647 wxColour
*arg3
= 0 ;
16653 PyObject
* obj0
= 0 ;
16654 PyObject
* obj1
= 0 ;
16655 PyObject
* obj2
= 0 ;
16656 char * kwnames
[] = {
16657 (char *) "self",(char *) "i",(char *) "colour", NULL
16660 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ColourData_SetCustomColour",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
16661 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxColourData
, 0 | 0 );
16662 if (!SWIG_IsOK(res1
)) {
16663 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ColourData_SetCustomColour" "', expected argument " "1"" of type '" "wxColourData *""'");
16665 arg1
= reinterpret_cast< wxColourData
* >(argp1
);
16666 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
16667 if (!SWIG_IsOK(ecode2
)) {
16668 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ColourData_SetCustomColour" "', expected argument " "2"" of type '" "int""'");
16670 arg2
= static_cast< int >(val2
);
16673 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
16676 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16677 (arg1
)->SetCustomColour(arg2
,(wxColour
const &)*arg3
);
16678 wxPyEndAllowThreads(__tstate
);
16679 if (PyErr_Occurred()) SWIG_fail
;
16681 resultobj
= SWIG_Py_Void();
16688 SWIGINTERN PyObject
*ColourData_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16690 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
16691 SWIG_TypeNewClientData(SWIGTYPE_p_wxColourData
, SWIG_NewClientData(obj
));
16692 return SWIG_Py_Void();
16695 SWIGINTERN PyObject
*ColourData_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16696 return SWIG_Python_InitShadowInstance(args
);
16699 SWIGINTERN PyObject
*_wrap_new_ColourDialog(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16700 PyObject
*resultobj
= 0;
16701 wxWindow
*arg1
= (wxWindow
*) 0 ;
16702 wxColourData
*arg2
= (wxColourData
*) NULL
;
16703 wxColourDialog
*result
= 0 ;
16708 PyObject
* obj0
= 0 ;
16709 PyObject
* obj1
= 0 ;
16710 char * kwnames
[] = {
16711 (char *) "parent",(char *) "data", NULL
16714 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_ColourDialog",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
16715 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
16716 if (!SWIG_IsOK(res1
)) {
16717 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_ColourDialog" "', expected argument " "1"" of type '" "wxWindow *""'");
16719 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
16721 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxColourData
, 0 | 0 );
16722 if (!SWIG_IsOK(res2
)) {
16723 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_ColourDialog" "', expected argument " "2"" of type '" "wxColourData *""'");
16725 arg2
= reinterpret_cast< wxColourData
* >(argp2
);
16728 if (!wxPyCheckForApp()) SWIG_fail
;
16729 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16730 result
= (wxColourDialog
*)new wxColourDialog(arg1
,arg2
);
16731 wxPyEndAllowThreads(__tstate
);
16732 if (PyErr_Occurred()) SWIG_fail
;
16734 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxColourDialog
, SWIG_POINTER_NEW
| 0 );
16741 SWIGINTERN PyObject
*_wrap_ColourDialog_GetColourData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16742 PyObject
*resultobj
= 0;
16743 wxColourDialog
*arg1
= (wxColourDialog
*) 0 ;
16744 wxColourData
*result
= 0 ;
16747 PyObject
*swig_obj
[1] ;
16749 if (!args
) SWIG_fail
;
16750 swig_obj
[0] = args
;
16751 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxColourDialog
, 0 | 0 );
16752 if (!SWIG_IsOK(res1
)) {
16753 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ColourDialog_GetColourData" "', expected argument " "1"" of type '" "wxColourDialog *""'");
16755 arg1
= reinterpret_cast< wxColourDialog
* >(argp1
);
16757 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16759 wxColourData
&_result_ref
= (arg1
)->GetColourData();
16760 result
= (wxColourData
*) &_result_ref
;
16762 wxPyEndAllowThreads(__tstate
);
16763 if (PyErr_Occurred()) SWIG_fail
;
16765 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxColourData
, 0 | 0 );
16772 SWIGINTERN PyObject
*ColourDialog_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16774 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
16775 SWIG_TypeNewClientData(SWIGTYPE_p_wxColourDialog
, SWIG_NewClientData(obj
));
16776 return SWIG_Py_Void();
16779 SWIGINTERN PyObject
*ColourDialog_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16780 return SWIG_Python_InitShadowInstance(args
);
16783 SWIGINTERN PyObject
*_wrap_GetColourFromUser(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16784 PyObject
*resultobj
= 0;
16785 wxWindow
*arg1
= (wxWindow
*) (wxWindow
*) NULL
;
16786 wxColour
const &arg2_defvalue
= wxNullColour
;
16787 wxColour
*arg2
= (wxColour
*) &arg2_defvalue
;
16788 wxString
const &arg3_defvalue
= wxPyEmptyString
;
16789 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
16794 bool temp3
= false ;
16795 PyObject
* obj0
= 0 ;
16796 PyObject
* obj1
= 0 ;
16797 PyObject
* obj2
= 0 ;
16798 char * kwnames
[] = {
16799 (char *) "parent",(char *) "colInit",(char *) "caption", NULL
16802 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOO:GetColourFromUser",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
16804 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
16805 if (!SWIG_IsOK(res1
)) {
16806 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GetColourFromUser" "', expected argument " "1"" of type '" "wxWindow *""'");
16808 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
16813 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
16818 arg3
= wxString_in_helper(obj2
);
16819 if (arg3
== NULL
) SWIG_fail
;
16824 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16825 result
= wxGetColourFromUser(arg1
,(wxColour
const &)*arg2
,(wxString
const &)*arg3
);
16826 wxPyEndAllowThreads(__tstate
);
16827 if (PyErr_Occurred()) SWIG_fail
;
16829 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
16844 SWIGINTERN PyObject
*_wrap_new_DirDialog(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16845 PyObject
*resultobj
= 0;
16846 wxWindow
*arg1
= (wxWindow
*) 0 ;
16847 wxString
const &arg2_defvalue
= wxPyDirSelectorPromptStr
;
16848 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
16849 wxString
const &arg3_defvalue
= wxPyEmptyString
;
16850 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
16851 long arg4
= (long) wxDD_DEFAULT_STYLE
;
16852 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
16853 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
16854 wxSize
const &arg6_defvalue
= wxDefaultSize
;
16855 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
16856 wxString
const &arg7_defvalue
= wxPyDirDialogNameStr
;
16857 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
16858 wxDirDialog
*result
= 0 ;
16861 bool temp2
= false ;
16862 bool temp3
= false ;
16867 bool temp7
= false ;
16868 PyObject
* obj0
= 0 ;
16869 PyObject
* obj1
= 0 ;
16870 PyObject
* obj2
= 0 ;
16871 PyObject
* obj3
= 0 ;
16872 PyObject
* obj4
= 0 ;
16873 PyObject
* obj5
= 0 ;
16874 PyObject
* obj6
= 0 ;
16875 char * kwnames
[] = {
16876 (char *) "parent",(char *) "message",(char *) "defaultPath",(char *) "style",(char *) "pos",(char *) "size",(char *) "name", NULL
16879 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_DirDialog",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
16880 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
16881 if (!SWIG_IsOK(res1
)) {
16882 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_DirDialog" "', expected argument " "1"" of type '" "wxWindow *""'");
16884 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
16887 arg2
= wxString_in_helper(obj1
);
16888 if (arg2
== NULL
) SWIG_fail
;
16894 arg3
= wxString_in_helper(obj2
);
16895 if (arg3
== NULL
) SWIG_fail
;
16900 ecode4
= SWIG_AsVal_long(obj3
, &val4
);
16901 if (!SWIG_IsOK(ecode4
)) {
16902 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_DirDialog" "', expected argument " "4"" of type '" "long""'");
16904 arg4
= static_cast< long >(val4
);
16909 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
16915 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
16920 arg7
= wxString_in_helper(obj6
);
16921 if (arg7
== NULL
) SWIG_fail
;
16926 if (!wxPyCheckForApp()) SWIG_fail
;
16927 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16928 result
= (wxDirDialog
*)new wxDirDialog(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,(wxString
const &)*arg7
);
16929 wxPyEndAllowThreads(__tstate
);
16930 if (PyErr_Occurred()) SWIG_fail
;
16932 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDirDialog
, SWIG_POINTER_NEW
| 0 );
16963 SWIGINTERN PyObject
*_wrap_DirDialog_GetPath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16964 PyObject
*resultobj
= 0;
16965 wxDirDialog
*arg1
= (wxDirDialog
*) 0 ;
16969 PyObject
*swig_obj
[1] ;
16971 if (!args
) SWIG_fail
;
16972 swig_obj
[0] = args
;
16973 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDirDialog
, 0 | 0 );
16974 if (!SWIG_IsOK(res1
)) {
16975 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DirDialog_GetPath" "', expected argument " "1"" of type '" "wxDirDialog *""'");
16977 arg1
= reinterpret_cast< wxDirDialog
* >(argp1
);
16979 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16980 result
= (arg1
)->GetPath();
16981 wxPyEndAllowThreads(__tstate
);
16982 if (PyErr_Occurred()) SWIG_fail
;
16986 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
16988 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
16997 SWIGINTERN PyObject
*_wrap_DirDialog_GetMessage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16998 PyObject
*resultobj
= 0;
16999 wxDirDialog
*arg1
= (wxDirDialog
*) 0 ;
17003 PyObject
*swig_obj
[1] ;
17005 if (!args
) SWIG_fail
;
17006 swig_obj
[0] = args
;
17007 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDirDialog
, 0 | 0 );
17008 if (!SWIG_IsOK(res1
)) {
17009 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DirDialog_GetMessage" "', expected argument " "1"" of type '" "wxDirDialog *""'");
17011 arg1
= reinterpret_cast< wxDirDialog
* >(argp1
);
17013 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17014 result
= (arg1
)->GetMessage();
17015 wxPyEndAllowThreads(__tstate
);
17016 if (PyErr_Occurred()) SWIG_fail
;
17020 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
17022 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
17031 SWIGINTERN PyObject
*_wrap_DirDialog_SetMessage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17032 PyObject
*resultobj
= 0;
17033 wxDirDialog
*arg1
= (wxDirDialog
*) 0 ;
17034 wxString
*arg2
= 0 ;
17037 bool temp2
= false ;
17038 PyObject
* obj0
= 0 ;
17039 PyObject
* obj1
= 0 ;
17040 char * kwnames
[] = {
17041 (char *) "self",(char *) "message", NULL
17044 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DirDialog_SetMessage",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
17045 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDirDialog
, 0 | 0 );
17046 if (!SWIG_IsOK(res1
)) {
17047 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DirDialog_SetMessage" "', expected argument " "1"" of type '" "wxDirDialog *""'");
17049 arg1
= reinterpret_cast< wxDirDialog
* >(argp1
);
17051 arg2
= wxString_in_helper(obj1
);
17052 if (arg2
== NULL
) SWIG_fail
;
17056 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17057 (arg1
)->SetMessage((wxString
const &)*arg2
);
17058 wxPyEndAllowThreads(__tstate
);
17059 if (PyErr_Occurred()) SWIG_fail
;
17061 resultobj
= SWIG_Py_Void();
17076 SWIGINTERN PyObject
*_wrap_DirDialog_SetPath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17077 PyObject
*resultobj
= 0;
17078 wxDirDialog
*arg1
= (wxDirDialog
*) 0 ;
17079 wxString
*arg2
= 0 ;
17082 bool temp2
= false ;
17083 PyObject
* obj0
= 0 ;
17084 PyObject
* obj1
= 0 ;
17085 char * kwnames
[] = {
17086 (char *) "self",(char *) "path", NULL
17089 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DirDialog_SetPath",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
17090 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDirDialog
, 0 | 0 );
17091 if (!SWIG_IsOK(res1
)) {
17092 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DirDialog_SetPath" "', expected argument " "1"" of type '" "wxDirDialog *""'");
17094 arg1
= reinterpret_cast< wxDirDialog
* >(argp1
);
17096 arg2
= wxString_in_helper(obj1
);
17097 if (arg2
== NULL
) SWIG_fail
;
17101 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17102 (arg1
)->SetPath((wxString
const &)*arg2
);
17103 wxPyEndAllowThreads(__tstate
);
17104 if (PyErr_Occurred()) SWIG_fail
;
17106 resultobj
= SWIG_Py_Void();
17121 SWIGINTERN PyObject
*DirDialog_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17123 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
17124 SWIG_TypeNewClientData(SWIGTYPE_p_wxDirDialog
, SWIG_NewClientData(obj
));
17125 return SWIG_Py_Void();
17128 SWIGINTERN PyObject
*DirDialog_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17129 return SWIG_Python_InitShadowInstance(args
);
17132 SWIGINTERN PyObject
*_wrap_new_FileDialog(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17133 PyObject
*resultobj
= 0;
17134 wxWindow
*arg1
= (wxWindow
*) 0 ;
17135 wxString
const &arg2_defvalue
= wxPyFileSelectorPromptStr
;
17136 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
17137 wxString
const &arg3_defvalue
= wxPyEmptyString
;
17138 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
17139 wxString
const &arg4_defvalue
= wxPyEmptyString
;
17140 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
17141 wxString
const &arg5_defvalue
= wxPyFileSelectorDefaultWildcardStr
;
17142 wxString
*arg5
= (wxString
*) &arg5_defvalue
;
17143 long arg6
= (long) wxFD_DEFAULT_STYLE
;
17144 wxPoint
const &arg7_defvalue
= wxDefaultPosition
;
17145 wxPoint
*arg7
= (wxPoint
*) &arg7_defvalue
;
17146 wxFileDialog
*result
= 0 ;
17149 bool temp2
= false ;
17150 bool temp3
= false ;
17151 bool temp4
= false ;
17152 bool temp5
= false ;
17156 PyObject
* obj0
= 0 ;
17157 PyObject
* obj1
= 0 ;
17158 PyObject
* obj2
= 0 ;
17159 PyObject
* obj3
= 0 ;
17160 PyObject
* obj4
= 0 ;
17161 PyObject
* obj5
= 0 ;
17162 PyObject
* obj6
= 0 ;
17163 char * kwnames
[] = {
17164 (char *) "parent",(char *) "message",(char *) "defaultDir",(char *) "defaultFile",(char *) "wildcard",(char *) "style",(char *) "pos", NULL
17167 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_FileDialog",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
17168 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
17169 if (!SWIG_IsOK(res1
)) {
17170 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_FileDialog" "', expected argument " "1"" of type '" "wxWindow *""'");
17172 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
17175 arg2
= wxString_in_helper(obj1
);
17176 if (arg2
== NULL
) SWIG_fail
;
17182 arg3
= wxString_in_helper(obj2
);
17183 if (arg3
== NULL
) SWIG_fail
;
17189 arg4
= wxString_in_helper(obj3
);
17190 if (arg4
== NULL
) SWIG_fail
;
17196 arg5
= wxString_in_helper(obj4
);
17197 if (arg5
== NULL
) SWIG_fail
;
17202 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
17203 if (!SWIG_IsOK(ecode6
)) {
17204 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_FileDialog" "', expected argument " "6"" of type '" "long""'");
17206 arg6
= static_cast< long >(val6
);
17211 if ( ! wxPoint_helper(obj6
, &arg7
)) SWIG_fail
;
17215 if (!wxPyCheckForApp()) SWIG_fail
;
17216 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17217 result
= (wxFileDialog
*)new wxFileDialog(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
,(wxString
const &)*arg5
,arg6
,(wxPoint
const &)*arg7
);
17218 wxPyEndAllowThreads(__tstate
);
17219 if (PyErr_Occurred()) SWIG_fail
;
17221 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFileDialog
, SWIG_POINTER_NEW
| 0 );
17260 SWIGINTERN PyObject
*_wrap_FileDialog_SetMessage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17261 PyObject
*resultobj
= 0;
17262 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
17263 wxString
*arg2
= 0 ;
17266 bool temp2
= false ;
17267 PyObject
* obj0
= 0 ;
17268 PyObject
* obj1
= 0 ;
17269 char * kwnames
[] = {
17270 (char *) "self",(char *) "message", NULL
17273 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileDialog_SetMessage",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
17274 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFileDialog
, 0 | 0 );
17275 if (!SWIG_IsOK(res1
)) {
17276 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileDialog_SetMessage" "', expected argument " "1"" of type '" "wxFileDialog *""'");
17278 arg1
= reinterpret_cast< wxFileDialog
* >(argp1
);
17280 arg2
= wxString_in_helper(obj1
);
17281 if (arg2
== NULL
) SWIG_fail
;
17285 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17286 (arg1
)->SetMessage((wxString
const &)*arg2
);
17287 wxPyEndAllowThreads(__tstate
);
17288 if (PyErr_Occurred()) SWIG_fail
;
17290 resultobj
= SWIG_Py_Void();
17305 SWIGINTERN PyObject
*_wrap_FileDialog_SetPath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17306 PyObject
*resultobj
= 0;
17307 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
17308 wxString
*arg2
= 0 ;
17311 bool temp2
= false ;
17312 PyObject
* obj0
= 0 ;
17313 PyObject
* obj1
= 0 ;
17314 char * kwnames
[] = {
17315 (char *) "self",(char *) "path", NULL
17318 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileDialog_SetPath",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
17319 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFileDialog
, 0 | 0 );
17320 if (!SWIG_IsOK(res1
)) {
17321 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileDialog_SetPath" "', expected argument " "1"" of type '" "wxFileDialog *""'");
17323 arg1
= reinterpret_cast< wxFileDialog
* >(argp1
);
17325 arg2
= wxString_in_helper(obj1
);
17326 if (arg2
== NULL
) SWIG_fail
;
17330 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17331 (arg1
)->SetPath((wxString
const &)*arg2
);
17332 wxPyEndAllowThreads(__tstate
);
17333 if (PyErr_Occurred()) SWIG_fail
;
17335 resultobj
= SWIG_Py_Void();
17350 SWIGINTERN PyObject
*_wrap_FileDialog_SetDirectory(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17351 PyObject
*resultobj
= 0;
17352 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
17353 wxString
*arg2
= 0 ;
17356 bool temp2
= false ;
17357 PyObject
* obj0
= 0 ;
17358 PyObject
* obj1
= 0 ;
17359 char * kwnames
[] = {
17360 (char *) "self",(char *) "dir", NULL
17363 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileDialog_SetDirectory",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
17364 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFileDialog
, 0 | 0 );
17365 if (!SWIG_IsOK(res1
)) {
17366 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileDialog_SetDirectory" "', expected argument " "1"" of type '" "wxFileDialog *""'");
17368 arg1
= reinterpret_cast< wxFileDialog
* >(argp1
);
17370 arg2
= wxString_in_helper(obj1
);
17371 if (arg2
== NULL
) SWIG_fail
;
17375 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17376 (arg1
)->SetDirectory((wxString
const &)*arg2
);
17377 wxPyEndAllowThreads(__tstate
);
17378 if (PyErr_Occurred()) SWIG_fail
;
17380 resultobj
= SWIG_Py_Void();
17395 SWIGINTERN PyObject
*_wrap_FileDialog_SetFilename(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17396 PyObject
*resultobj
= 0;
17397 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
17398 wxString
*arg2
= 0 ;
17401 bool temp2
= false ;
17402 PyObject
* obj0
= 0 ;
17403 PyObject
* obj1
= 0 ;
17404 char * kwnames
[] = {
17405 (char *) "self",(char *) "name", NULL
17408 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileDialog_SetFilename",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
17409 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFileDialog
, 0 | 0 );
17410 if (!SWIG_IsOK(res1
)) {
17411 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileDialog_SetFilename" "', expected argument " "1"" of type '" "wxFileDialog *""'");
17413 arg1
= reinterpret_cast< wxFileDialog
* >(argp1
);
17415 arg2
= wxString_in_helper(obj1
);
17416 if (arg2
== NULL
) SWIG_fail
;
17420 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17421 (arg1
)->SetFilename((wxString
const &)*arg2
);
17422 wxPyEndAllowThreads(__tstate
);
17423 if (PyErr_Occurred()) SWIG_fail
;
17425 resultobj
= SWIG_Py_Void();
17440 SWIGINTERN PyObject
*_wrap_FileDialog_SetWildcard(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17441 PyObject
*resultobj
= 0;
17442 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
17443 wxString
*arg2
= 0 ;
17446 bool temp2
= false ;
17447 PyObject
* obj0
= 0 ;
17448 PyObject
* obj1
= 0 ;
17449 char * kwnames
[] = {
17450 (char *) "self",(char *) "wildCard", NULL
17453 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileDialog_SetWildcard",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
17454 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFileDialog
, 0 | 0 );
17455 if (!SWIG_IsOK(res1
)) {
17456 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileDialog_SetWildcard" "', expected argument " "1"" of type '" "wxFileDialog *""'");
17458 arg1
= reinterpret_cast< wxFileDialog
* >(argp1
);
17460 arg2
= wxString_in_helper(obj1
);
17461 if (arg2
== NULL
) SWIG_fail
;
17465 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17466 (arg1
)->SetWildcard((wxString
const &)*arg2
);
17467 wxPyEndAllowThreads(__tstate
);
17468 if (PyErr_Occurred()) SWIG_fail
;
17470 resultobj
= SWIG_Py_Void();
17485 SWIGINTERN PyObject
*_wrap_FileDialog_SetFilterIndex(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17486 PyObject
*resultobj
= 0;
17487 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
17493 PyObject
* obj0
= 0 ;
17494 PyObject
* obj1
= 0 ;
17495 char * kwnames
[] = {
17496 (char *) "self",(char *) "filterIndex", NULL
17499 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileDialog_SetFilterIndex",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
17500 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFileDialog
, 0 | 0 );
17501 if (!SWIG_IsOK(res1
)) {
17502 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileDialog_SetFilterIndex" "', expected argument " "1"" of type '" "wxFileDialog *""'");
17504 arg1
= reinterpret_cast< wxFileDialog
* >(argp1
);
17505 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
17506 if (!SWIG_IsOK(ecode2
)) {
17507 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "FileDialog_SetFilterIndex" "', expected argument " "2"" of type '" "int""'");
17509 arg2
= static_cast< int >(val2
);
17511 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17512 (arg1
)->SetFilterIndex(arg2
);
17513 wxPyEndAllowThreads(__tstate
);
17514 if (PyErr_Occurred()) SWIG_fail
;
17516 resultobj
= SWIG_Py_Void();
17523 SWIGINTERN PyObject
*_wrap_FileDialog_GetMessage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17524 PyObject
*resultobj
= 0;
17525 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
17529 PyObject
*swig_obj
[1] ;
17531 if (!args
) SWIG_fail
;
17532 swig_obj
[0] = args
;
17533 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFileDialog
, 0 | 0 );
17534 if (!SWIG_IsOK(res1
)) {
17535 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileDialog_GetMessage" "', expected argument " "1"" of type '" "wxFileDialog const *""'");
17537 arg1
= reinterpret_cast< wxFileDialog
* >(argp1
);
17539 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17540 result
= ((wxFileDialog
const *)arg1
)->GetMessage();
17541 wxPyEndAllowThreads(__tstate
);
17542 if (PyErr_Occurred()) SWIG_fail
;
17546 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
17548 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
17557 SWIGINTERN PyObject
*_wrap_FileDialog_GetPath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17558 PyObject
*resultobj
= 0;
17559 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
17563 PyObject
*swig_obj
[1] ;
17565 if (!args
) SWIG_fail
;
17566 swig_obj
[0] = args
;
17567 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFileDialog
, 0 | 0 );
17568 if (!SWIG_IsOK(res1
)) {
17569 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileDialog_GetPath" "', expected argument " "1"" of type '" "wxFileDialog const *""'");
17571 arg1
= reinterpret_cast< wxFileDialog
* >(argp1
);
17573 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17574 result
= ((wxFileDialog
const *)arg1
)->GetPath();
17575 wxPyEndAllowThreads(__tstate
);
17576 if (PyErr_Occurred()) SWIG_fail
;
17580 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
17582 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
17591 SWIGINTERN PyObject
*_wrap_FileDialog_GetDirectory(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17592 PyObject
*resultobj
= 0;
17593 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
17597 PyObject
*swig_obj
[1] ;
17599 if (!args
) SWIG_fail
;
17600 swig_obj
[0] = args
;
17601 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFileDialog
, 0 | 0 );
17602 if (!SWIG_IsOK(res1
)) {
17603 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileDialog_GetDirectory" "', expected argument " "1"" of type '" "wxFileDialog const *""'");
17605 arg1
= reinterpret_cast< wxFileDialog
* >(argp1
);
17607 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17608 result
= ((wxFileDialog
const *)arg1
)->GetDirectory();
17609 wxPyEndAllowThreads(__tstate
);
17610 if (PyErr_Occurred()) SWIG_fail
;
17614 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
17616 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
17625 SWIGINTERN PyObject
*_wrap_FileDialog_GetFilename(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17626 PyObject
*resultobj
= 0;
17627 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
17631 PyObject
*swig_obj
[1] ;
17633 if (!args
) SWIG_fail
;
17634 swig_obj
[0] = args
;
17635 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFileDialog
, 0 | 0 );
17636 if (!SWIG_IsOK(res1
)) {
17637 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileDialog_GetFilename" "', expected argument " "1"" of type '" "wxFileDialog const *""'");
17639 arg1
= reinterpret_cast< wxFileDialog
* >(argp1
);
17641 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17642 result
= ((wxFileDialog
const *)arg1
)->GetFilename();
17643 wxPyEndAllowThreads(__tstate
);
17644 if (PyErr_Occurred()) SWIG_fail
;
17648 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
17650 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
17659 SWIGINTERN PyObject
*_wrap_FileDialog_GetWildcard(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17660 PyObject
*resultobj
= 0;
17661 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
17665 PyObject
*swig_obj
[1] ;
17667 if (!args
) SWIG_fail
;
17668 swig_obj
[0] = args
;
17669 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFileDialog
, 0 | 0 );
17670 if (!SWIG_IsOK(res1
)) {
17671 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileDialog_GetWildcard" "', expected argument " "1"" of type '" "wxFileDialog const *""'");
17673 arg1
= reinterpret_cast< wxFileDialog
* >(argp1
);
17675 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17676 result
= ((wxFileDialog
const *)arg1
)->GetWildcard();
17677 wxPyEndAllowThreads(__tstate
);
17678 if (PyErr_Occurred()) SWIG_fail
;
17682 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
17684 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
17693 SWIGINTERN PyObject
*_wrap_FileDialog_GetFilterIndex(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17694 PyObject
*resultobj
= 0;
17695 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
17699 PyObject
*swig_obj
[1] ;
17701 if (!args
) SWIG_fail
;
17702 swig_obj
[0] = args
;
17703 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFileDialog
, 0 | 0 );
17704 if (!SWIG_IsOK(res1
)) {
17705 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileDialog_GetFilterIndex" "', expected argument " "1"" of type '" "wxFileDialog const *""'");
17707 arg1
= reinterpret_cast< wxFileDialog
* >(argp1
);
17709 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17710 result
= (int)((wxFileDialog
const *)arg1
)->GetFilterIndex();
17711 wxPyEndAllowThreads(__tstate
);
17712 if (PyErr_Occurred()) SWIG_fail
;
17714 resultobj
= SWIG_From_int(static_cast< int >(result
));
17721 SWIGINTERN PyObject
*_wrap_FileDialog_GetFilenames(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17722 PyObject
*resultobj
= 0;
17723 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
17724 PyObject
*result
= 0 ;
17727 PyObject
*swig_obj
[1] ;
17729 if (!args
) SWIG_fail
;
17730 swig_obj
[0] = args
;
17731 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFileDialog
, 0 | 0 );
17732 if (!SWIG_IsOK(res1
)) {
17733 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileDialog_GetFilenames" "', expected argument " "1"" of type '" "wxFileDialog *""'");
17735 arg1
= reinterpret_cast< wxFileDialog
* >(argp1
);
17737 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17738 result
= (PyObject
*)wxFileDialog_GetFilenames(arg1
);
17739 wxPyEndAllowThreads(__tstate
);
17740 if (PyErr_Occurred()) SWIG_fail
;
17742 resultobj
= result
;
17749 SWIGINTERN PyObject
*_wrap_FileDialog_GetPaths(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17750 PyObject
*resultobj
= 0;
17751 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
17752 PyObject
*result
= 0 ;
17755 PyObject
*swig_obj
[1] ;
17757 if (!args
) SWIG_fail
;
17758 swig_obj
[0] = args
;
17759 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFileDialog
, 0 | 0 );
17760 if (!SWIG_IsOK(res1
)) {
17761 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileDialog_GetPaths" "', expected argument " "1"" of type '" "wxFileDialog *""'");
17763 arg1
= reinterpret_cast< wxFileDialog
* >(argp1
);
17765 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17766 result
= (PyObject
*)wxFileDialog_GetPaths(arg1
);
17767 wxPyEndAllowThreads(__tstate
);
17768 if (PyErr_Occurred()) SWIG_fail
;
17770 resultobj
= result
;
17777 SWIGINTERN PyObject
*FileDialog_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17779 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
17780 SWIG_TypeNewClientData(SWIGTYPE_p_wxFileDialog
, SWIG_NewClientData(obj
));
17781 return SWIG_Py_Void();
17784 SWIGINTERN PyObject
*FileDialog_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17785 return SWIG_Python_InitShadowInstance(args
);
17788 SWIGINTERN PyObject
*_wrap_new_MultiChoiceDialog(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17789 PyObject
*resultobj
= 0;
17790 wxWindow
*arg1
= (wxWindow
*) 0 ;
17791 wxString
*arg2
= 0 ;
17792 wxString
*arg3
= 0 ;
17793 int arg4
= (int) 0 ;
17794 wxString
*arg5
= (wxString
*) NULL
;
17795 long arg6
= (long) wxCHOICEDLG_STYLE
;
17796 wxPoint
const &arg7_defvalue
= wxDefaultPosition
;
17797 wxPoint
*arg7
= (wxPoint
*) &arg7_defvalue
;
17798 wxMultiChoiceDialog
*result
= 0 ;
17801 bool temp2
= false ;
17802 bool temp3
= false ;
17806 PyObject
* obj0
= 0 ;
17807 PyObject
* obj1
= 0 ;
17808 PyObject
* obj2
= 0 ;
17809 PyObject
* obj3
= 0 ;
17810 PyObject
* obj4
= 0 ;
17811 PyObject
* obj5
= 0 ;
17812 char * kwnames
[] = {
17813 (char *) "parent",(char *) "message",(char *) "caption",(char *) "choices",(char *) "style",(char *) "pos", NULL
17816 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOO:new_MultiChoiceDialog",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
17817 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
17818 if (!SWIG_IsOK(res1
)) {
17819 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_MultiChoiceDialog" "', expected argument " "1"" of type '" "wxWindow *""'");
17821 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
17823 arg2
= wxString_in_helper(obj1
);
17824 if (arg2
== NULL
) SWIG_fail
;
17828 arg3
= wxString_in_helper(obj2
);
17829 if (arg3
== NULL
) SWIG_fail
;
17834 arg4
= PyList_Size(obj3
);
17835 arg5
= wxString_LIST_helper(obj3
);
17836 if (arg5
== NULL
) SWIG_fail
;
17840 ecode6
= SWIG_AsVal_long(obj4
, &val6
);
17841 if (!SWIG_IsOK(ecode6
)) {
17842 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_MultiChoiceDialog" "', expected argument " "6"" of type '" "long""'");
17844 arg6
= static_cast< long >(val6
);
17849 if ( ! wxPoint_helper(obj5
, &arg7
)) SWIG_fail
;
17853 if (!wxPyCheckForApp()) SWIG_fail
;
17854 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17855 result
= (wxMultiChoiceDialog
*)new wxMultiChoiceDialog(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,arg4
,arg5
,arg6
,(wxPoint
const &)*arg7
);
17856 wxPyEndAllowThreads(__tstate
);
17857 if (PyErr_Occurred()) SWIG_fail
;
17859 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMultiChoiceDialog
, SWIG_POINTER_NEW
| 0 );
17869 if (arg5
) delete [] arg5
;
17882 if (arg5
) delete [] arg5
;
17888 SWIGINTERN PyObject
*_wrap_MultiChoiceDialog_SetSelections(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17889 PyObject
*resultobj
= 0;
17890 wxMultiChoiceDialog
*arg1
= (wxMultiChoiceDialog
*) 0 ;
17891 wxArrayInt
*arg2
= 0 ;
17894 bool temp2
= false ;
17895 PyObject
* obj0
= 0 ;
17896 PyObject
* obj1
= 0 ;
17897 char * kwnames
[] = {
17898 (char *) "self",(char *) "selections", NULL
17901 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MultiChoiceDialog_SetSelections",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
17902 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMultiChoiceDialog
, 0 | 0 );
17903 if (!SWIG_IsOK(res1
)) {
17904 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MultiChoiceDialog_SetSelections" "', expected argument " "1"" of type '" "wxMultiChoiceDialog *""'");
17906 arg1
= reinterpret_cast< wxMultiChoiceDialog
* >(argp1
);
17908 if (! PySequence_Check(obj1
)) {
17909 PyErr_SetString(PyExc_TypeError
, "Sequence of integers expected.");
17912 arg2
= new wxArrayInt
;
17914 int i
, len
=PySequence_Length(obj1
);
17915 for (i
=0; i
<len
; i
++) {
17916 PyObject
* item
= PySequence_GetItem(obj1
, i
);
17917 PyObject
* number
= PyNumber_Int(item
);
17918 arg2
->Add(PyInt_AS_LONG(number
));
17924 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17925 (arg1
)->SetSelections((wxArrayInt
const &)*arg2
);
17926 wxPyEndAllowThreads(__tstate
);
17927 if (PyErr_Occurred()) SWIG_fail
;
17929 resultobj
= SWIG_Py_Void();
17931 if (temp2
) delete arg2
;
17936 if (temp2
) delete arg2
;
17942 SWIGINTERN PyObject
*_wrap_MultiChoiceDialog_GetSelections(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17943 PyObject
*resultobj
= 0;
17944 wxMultiChoiceDialog
*arg1
= (wxMultiChoiceDialog
*) 0 ;
17945 PyObject
*result
= 0 ;
17948 PyObject
*swig_obj
[1] ;
17950 if (!args
) SWIG_fail
;
17951 swig_obj
[0] = args
;
17952 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMultiChoiceDialog
, 0 | 0 );
17953 if (!SWIG_IsOK(res1
)) {
17954 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MultiChoiceDialog_GetSelections" "', expected argument " "1"" of type '" "wxMultiChoiceDialog *""'");
17956 arg1
= reinterpret_cast< wxMultiChoiceDialog
* >(argp1
);
17958 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17959 result
= (PyObject
*)wxMultiChoiceDialog_GetSelections(arg1
);
17960 wxPyEndAllowThreads(__tstate
);
17961 if (PyErr_Occurred()) SWIG_fail
;
17963 resultobj
= result
;
17970 SWIGINTERN PyObject
*MultiChoiceDialog_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17972 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
17973 SWIG_TypeNewClientData(SWIGTYPE_p_wxMultiChoiceDialog
, SWIG_NewClientData(obj
));
17974 return SWIG_Py_Void();
17977 SWIGINTERN PyObject
*MultiChoiceDialog_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17978 return SWIG_Python_InitShadowInstance(args
);
17981 SWIGINTERN PyObject
*_wrap_new_SingleChoiceDialog(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17982 PyObject
*resultobj
= 0;
17983 wxWindow
*arg1
= (wxWindow
*) 0 ;
17984 wxString
*arg2
= 0 ;
17985 wxString
*arg3
= 0 ;
17987 wxString
*arg5
= (wxString
*) 0 ;
17988 long arg6
= (long) wxCHOICEDLG_STYLE
;
17989 wxPoint
const &arg7_defvalue
= wxDefaultPosition
;
17990 wxPoint
*arg7
= (wxPoint
*) &arg7_defvalue
;
17991 wxSingleChoiceDialog
*result
= 0 ;
17994 bool temp2
= false ;
17995 bool temp3
= false ;
17999 PyObject
* obj0
= 0 ;
18000 PyObject
* obj1
= 0 ;
18001 PyObject
* obj2
= 0 ;
18002 PyObject
* obj3
= 0 ;
18003 PyObject
* obj4
= 0 ;
18004 PyObject
* obj5
= 0 ;
18005 char * kwnames
[] = {
18006 (char *) "parent",(char *) "message",(char *) "caption",(char *) "choices",(char *) "style",(char *) "pos", NULL
18009 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OO:new_SingleChoiceDialog",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
18010 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
18011 if (!SWIG_IsOK(res1
)) {
18012 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_SingleChoiceDialog" "', expected argument " "1"" of type '" "wxWindow *""'");
18014 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
18016 arg2
= wxString_in_helper(obj1
);
18017 if (arg2
== NULL
) SWIG_fail
;
18021 arg3
= wxString_in_helper(obj2
);
18022 if (arg3
== NULL
) SWIG_fail
;
18026 arg4
= PyList_Size(obj3
);
18027 arg5
= wxString_LIST_helper(obj3
);
18028 if (arg5
== NULL
) SWIG_fail
;
18031 ecode6
= SWIG_AsVal_long(obj4
, &val6
);
18032 if (!SWIG_IsOK(ecode6
)) {
18033 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_SingleChoiceDialog" "', expected argument " "6"" of type '" "long""'");
18035 arg6
= static_cast< long >(val6
);
18040 if ( ! wxPoint_helper(obj5
, &arg7
)) SWIG_fail
;
18044 if (!wxPyCheckForApp()) SWIG_fail
;
18045 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18046 result
= (wxSingleChoiceDialog
*)new_wxSingleChoiceDialog(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,arg4
,arg5
,arg6
,(wxPoint
const &)*arg7
);
18047 wxPyEndAllowThreads(__tstate
);
18048 if (PyErr_Occurred()) SWIG_fail
;
18050 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSingleChoiceDialog
, SWIG_POINTER_NEW
| 0 );
18060 if (arg5
) delete [] arg5
;
18073 if (arg5
) delete [] arg5
;
18079 SWIGINTERN PyObject
*_wrap_SingleChoiceDialog_GetSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18080 PyObject
*resultobj
= 0;
18081 wxSingleChoiceDialog
*arg1
= (wxSingleChoiceDialog
*) 0 ;
18085 PyObject
*swig_obj
[1] ;
18087 if (!args
) SWIG_fail
;
18088 swig_obj
[0] = args
;
18089 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSingleChoiceDialog
, 0 | 0 );
18090 if (!SWIG_IsOK(res1
)) {
18091 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SingleChoiceDialog_GetSelection" "', expected argument " "1"" of type '" "wxSingleChoiceDialog *""'");
18093 arg1
= reinterpret_cast< wxSingleChoiceDialog
* >(argp1
);
18095 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18096 result
= (int)(arg1
)->GetSelection();
18097 wxPyEndAllowThreads(__tstate
);
18098 if (PyErr_Occurred()) SWIG_fail
;
18100 resultobj
= SWIG_From_int(static_cast< int >(result
));
18107 SWIGINTERN PyObject
*_wrap_SingleChoiceDialog_GetStringSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18108 PyObject
*resultobj
= 0;
18109 wxSingleChoiceDialog
*arg1
= (wxSingleChoiceDialog
*) 0 ;
18113 PyObject
*swig_obj
[1] ;
18115 if (!args
) SWIG_fail
;
18116 swig_obj
[0] = args
;
18117 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSingleChoiceDialog
, 0 | 0 );
18118 if (!SWIG_IsOK(res1
)) {
18119 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SingleChoiceDialog_GetStringSelection" "', expected argument " "1"" of type '" "wxSingleChoiceDialog *""'");
18121 arg1
= reinterpret_cast< wxSingleChoiceDialog
* >(argp1
);
18123 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18124 result
= (arg1
)->GetStringSelection();
18125 wxPyEndAllowThreads(__tstate
);
18126 if (PyErr_Occurred()) SWIG_fail
;
18130 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
18132 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
18141 SWIGINTERN PyObject
*_wrap_SingleChoiceDialog_SetSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18142 PyObject
*resultobj
= 0;
18143 wxSingleChoiceDialog
*arg1
= (wxSingleChoiceDialog
*) 0 ;
18149 PyObject
* obj0
= 0 ;
18150 PyObject
* obj1
= 0 ;
18151 char * kwnames
[] = {
18152 (char *) "self",(char *) "sel", NULL
18155 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SingleChoiceDialog_SetSelection",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
18156 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSingleChoiceDialog
, 0 | 0 );
18157 if (!SWIG_IsOK(res1
)) {
18158 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SingleChoiceDialog_SetSelection" "', expected argument " "1"" of type '" "wxSingleChoiceDialog *""'");
18160 arg1
= reinterpret_cast< wxSingleChoiceDialog
* >(argp1
);
18161 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
18162 if (!SWIG_IsOK(ecode2
)) {
18163 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SingleChoiceDialog_SetSelection" "', expected argument " "2"" of type '" "int""'");
18165 arg2
= static_cast< int >(val2
);
18167 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18168 (arg1
)->SetSelection(arg2
);
18169 wxPyEndAllowThreads(__tstate
);
18170 if (PyErr_Occurred()) SWIG_fail
;
18172 resultobj
= SWIG_Py_Void();
18179 SWIGINTERN PyObject
*SingleChoiceDialog_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18181 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
18182 SWIG_TypeNewClientData(SWIGTYPE_p_wxSingleChoiceDialog
, SWIG_NewClientData(obj
));
18183 return SWIG_Py_Void();
18186 SWIGINTERN PyObject
*SingleChoiceDialog_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18187 return SWIG_Python_InitShadowInstance(args
);
18190 SWIGINTERN PyObject
*_wrap_new_TextEntryDialog(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18191 PyObject
*resultobj
= 0;
18192 wxWindow
*arg1
= (wxWindow
*) 0 ;
18193 wxString
*arg2
= 0 ;
18194 wxString
const &arg3_defvalue
= wxPyGetTextFromUserPromptStr
;
18195 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
18196 wxString
const &arg4_defvalue
= wxPyEmptyString
;
18197 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
18198 long arg5
= (long) wxTextEntryDialogStyle
;
18199 wxPoint
const &arg6_defvalue
= wxDefaultPosition
;
18200 wxPoint
*arg6
= (wxPoint
*) &arg6_defvalue
;
18201 wxTextEntryDialog
*result
= 0 ;
18204 bool temp2
= false ;
18205 bool temp3
= false ;
18206 bool temp4
= false ;
18210 PyObject
* obj0
= 0 ;
18211 PyObject
* obj1
= 0 ;
18212 PyObject
* obj2
= 0 ;
18213 PyObject
* obj3
= 0 ;
18214 PyObject
* obj4
= 0 ;
18215 PyObject
* obj5
= 0 ;
18216 char * kwnames
[] = {
18217 (char *) "parent",(char *) "message",(char *) "caption",(char *) "defaultValue",(char *) "style",(char *) "pos", NULL
18220 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOO:new_TextEntryDialog",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
18221 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
18222 if (!SWIG_IsOK(res1
)) {
18223 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_TextEntryDialog" "', expected argument " "1"" of type '" "wxWindow *""'");
18225 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
18227 arg2
= wxString_in_helper(obj1
);
18228 if (arg2
== NULL
) SWIG_fail
;
18233 arg3
= wxString_in_helper(obj2
);
18234 if (arg3
== NULL
) SWIG_fail
;
18240 arg4
= wxString_in_helper(obj3
);
18241 if (arg4
== NULL
) SWIG_fail
;
18246 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
18247 if (!SWIG_IsOK(ecode5
)) {
18248 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_TextEntryDialog" "', expected argument " "5"" of type '" "long""'");
18250 arg5
= static_cast< long >(val5
);
18255 if ( ! wxPoint_helper(obj5
, &arg6
)) SWIG_fail
;
18259 if (!wxPyCheckForApp()) SWIG_fail
;
18260 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18261 result
= (wxTextEntryDialog
*)new wxTextEntryDialog(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
,arg5
,(wxPoint
const &)*arg6
);
18262 wxPyEndAllowThreads(__tstate
);
18263 if (PyErr_Occurred()) SWIG_fail
;
18265 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxTextEntryDialog
, SWIG_POINTER_NEW
| 0 );
18296 SWIGINTERN PyObject
*_wrap_TextEntryDialog_GetValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18297 PyObject
*resultobj
= 0;
18298 wxTextEntryDialog
*arg1
= (wxTextEntryDialog
*) 0 ;
18302 PyObject
*swig_obj
[1] ;
18304 if (!args
) SWIG_fail
;
18305 swig_obj
[0] = args
;
18306 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextEntryDialog
, 0 | 0 );
18307 if (!SWIG_IsOK(res1
)) {
18308 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextEntryDialog_GetValue" "', expected argument " "1"" of type '" "wxTextEntryDialog *""'");
18310 arg1
= reinterpret_cast< wxTextEntryDialog
* >(argp1
);
18312 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18313 result
= (arg1
)->GetValue();
18314 wxPyEndAllowThreads(__tstate
);
18315 if (PyErr_Occurred()) SWIG_fail
;
18319 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
18321 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
18330 SWIGINTERN PyObject
*_wrap_TextEntryDialog_SetValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18331 PyObject
*resultobj
= 0;
18332 wxTextEntryDialog
*arg1
= (wxTextEntryDialog
*) 0 ;
18333 wxString
*arg2
= 0 ;
18336 bool temp2
= false ;
18337 PyObject
* obj0
= 0 ;
18338 PyObject
* obj1
= 0 ;
18339 char * kwnames
[] = {
18340 (char *) "self",(char *) "value", NULL
18343 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextEntryDialog_SetValue",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
18344 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextEntryDialog
, 0 | 0 );
18345 if (!SWIG_IsOK(res1
)) {
18346 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextEntryDialog_SetValue" "', expected argument " "1"" of type '" "wxTextEntryDialog *""'");
18348 arg1
= reinterpret_cast< wxTextEntryDialog
* >(argp1
);
18350 arg2
= wxString_in_helper(obj1
);
18351 if (arg2
== NULL
) SWIG_fail
;
18355 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18356 (arg1
)->SetValue((wxString
const &)*arg2
);
18357 wxPyEndAllowThreads(__tstate
);
18358 if (PyErr_Occurred()) SWIG_fail
;
18360 resultobj
= SWIG_Py_Void();
18375 SWIGINTERN PyObject
*TextEntryDialog_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18377 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
18378 SWIG_TypeNewClientData(SWIGTYPE_p_wxTextEntryDialog
, SWIG_NewClientData(obj
));
18379 return SWIG_Py_Void();
18382 SWIGINTERN PyObject
*TextEntryDialog_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18383 return SWIG_Python_InitShadowInstance(args
);
18386 SWIGINTERN
int GetPasswordFromUserPromptStr_set(PyObject
*) {
18387 SWIG_Error(SWIG_AttributeError
,"Variable GetPasswordFromUserPromptStr is read-only.");
18392 SWIGINTERN PyObject
*GetPasswordFromUserPromptStr_get(void) {
18393 PyObject
*pyobj
= 0;
18397 pyobj
= PyUnicode_FromWideChar((&wxPyGetPasswordFromUserPromptStr
)->c_str(), (&wxPyGetPasswordFromUserPromptStr
)->Len());
18399 pyobj
= PyString_FromStringAndSize((&wxPyGetPasswordFromUserPromptStr
)->c_str(), (&wxPyGetPasswordFromUserPromptStr
)->Len());
18406 SWIGINTERN PyObject
*_wrap_new_PasswordEntryDialog(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18407 PyObject
*resultobj
= 0;
18408 wxWindow
*arg1
= (wxWindow
*) 0 ;
18409 wxString
*arg2
= 0 ;
18410 wxString
const &arg3_defvalue
= wxPyGetPasswordFromUserPromptStr
;
18411 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
18412 wxString
const &arg4_defvalue
= wxPyEmptyString
;
18413 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
18414 long arg5
= (long) wxTextEntryDialogStyle
;
18415 wxPoint
const &arg6_defvalue
= wxDefaultPosition
;
18416 wxPoint
*arg6
= (wxPoint
*) &arg6_defvalue
;
18417 wxPasswordEntryDialog
*result
= 0 ;
18420 bool temp2
= false ;
18421 bool temp3
= false ;
18422 bool temp4
= false ;
18426 PyObject
* obj0
= 0 ;
18427 PyObject
* obj1
= 0 ;
18428 PyObject
* obj2
= 0 ;
18429 PyObject
* obj3
= 0 ;
18430 PyObject
* obj4
= 0 ;
18431 PyObject
* obj5
= 0 ;
18432 char * kwnames
[] = {
18433 (char *) "parent",(char *) "message",(char *) "caption",(char *) "value",(char *) "style",(char *) "pos", NULL
18436 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOO:new_PasswordEntryDialog",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
18437 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
18438 if (!SWIG_IsOK(res1
)) {
18439 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PasswordEntryDialog" "', expected argument " "1"" of type '" "wxWindow *""'");
18441 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
18443 arg2
= wxString_in_helper(obj1
);
18444 if (arg2
== NULL
) SWIG_fail
;
18449 arg3
= wxString_in_helper(obj2
);
18450 if (arg3
== NULL
) SWIG_fail
;
18456 arg4
= wxString_in_helper(obj3
);
18457 if (arg4
== NULL
) SWIG_fail
;
18462 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
18463 if (!SWIG_IsOK(ecode5
)) {
18464 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_PasswordEntryDialog" "', expected argument " "5"" of type '" "long""'");
18466 arg5
= static_cast< long >(val5
);
18471 if ( ! wxPoint_helper(obj5
, &arg6
)) SWIG_fail
;
18475 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18476 result
= (wxPasswordEntryDialog
*)new wxPasswordEntryDialog(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
,arg5
,(wxPoint
const &)*arg6
);
18477 wxPyEndAllowThreads(__tstate
);
18478 if (PyErr_Occurred()) SWIG_fail
;
18480 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPasswordEntryDialog
, SWIG_POINTER_NEW
| 0 );
18511 SWIGINTERN PyObject
*PasswordEntryDialog_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18513 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
18514 SWIG_TypeNewClientData(SWIGTYPE_p_wxPasswordEntryDialog
, SWIG_NewClientData(obj
));
18515 return SWIG_Py_Void();
18518 SWIGINTERN PyObject
*PasswordEntryDialog_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18519 return SWIG_Python_InitShadowInstance(args
);
18522 SWIGINTERN PyObject
*_wrap_new_NumberEntryDialog(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18523 PyObject
*resultobj
= 0;
18524 wxWindow
*arg1
= (wxWindow
*) 0 ;
18525 wxString
*arg2
= 0 ;
18526 wxString
*arg3
= 0 ;
18527 wxString
*arg4
= 0 ;
18531 wxPoint
const &arg8_defvalue
= wxDefaultPosition
;
18532 wxPoint
*arg8
= (wxPoint
*) &arg8_defvalue
;
18533 wxNumberEntryDialog
*result
= 0 ;
18536 bool temp2
= false ;
18537 bool temp3
= false ;
18538 bool temp4
= false ;
18546 PyObject
* obj0
= 0 ;
18547 PyObject
* obj1
= 0 ;
18548 PyObject
* obj2
= 0 ;
18549 PyObject
* obj3
= 0 ;
18550 PyObject
* obj4
= 0 ;
18551 PyObject
* obj5
= 0 ;
18552 PyObject
* obj6
= 0 ;
18553 PyObject
* obj7
= 0 ;
18554 char * kwnames
[] = {
18555 (char *) "parent",(char *) "message",(char *) "prompt",(char *) "caption",(char *) "value",(char *) "min",(char *) "max",(char *) "pos", NULL
18558 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOOO|O:new_NumberEntryDialog",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
18559 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
18560 if (!SWIG_IsOK(res1
)) {
18561 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_NumberEntryDialog" "', expected argument " "1"" of type '" "wxWindow *""'");
18563 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
18565 arg2
= wxString_in_helper(obj1
);
18566 if (arg2
== NULL
) SWIG_fail
;
18570 arg3
= wxString_in_helper(obj2
);
18571 if (arg3
== NULL
) SWIG_fail
;
18575 arg4
= wxString_in_helper(obj3
);
18576 if (arg4
== NULL
) SWIG_fail
;
18579 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
18580 if (!SWIG_IsOK(ecode5
)) {
18581 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_NumberEntryDialog" "', expected argument " "5"" of type '" "long""'");
18583 arg5
= static_cast< long >(val5
);
18584 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
18585 if (!SWIG_IsOK(ecode6
)) {
18586 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_NumberEntryDialog" "', expected argument " "6"" of type '" "long""'");
18588 arg6
= static_cast< long >(val6
);
18589 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
18590 if (!SWIG_IsOK(ecode7
)) {
18591 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "new_NumberEntryDialog" "', expected argument " "7"" of type '" "long""'");
18593 arg7
= static_cast< long >(val7
);
18597 if ( ! wxPoint_helper(obj7
, &arg8
)) SWIG_fail
;
18601 if (!wxPyCheckForApp()) SWIG_fail
;
18602 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18603 result
= (wxNumberEntryDialog
*)new wxNumberEntryDialog(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
,arg5
,arg6
,arg7
,(wxPoint
const &)*arg8
);
18604 wxPyEndAllowThreads(__tstate
);
18605 if (PyErr_Occurred()) SWIG_fail
;
18607 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxNumberEntryDialog
, SWIG_POINTER_NEW
| 0 );
18638 SWIGINTERN PyObject
*_wrap_NumberEntryDialog_GetValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18639 PyObject
*resultobj
= 0;
18640 wxNumberEntryDialog
*arg1
= (wxNumberEntryDialog
*) 0 ;
18644 PyObject
*swig_obj
[1] ;
18646 if (!args
) SWIG_fail
;
18647 swig_obj
[0] = args
;
18648 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNumberEntryDialog
, 0 | 0 );
18649 if (!SWIG_IsOK(res1
)) {
18650 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NumberEntryDialog_GetValue" "', expected argument " "1"" of type '" "wxNumberEntryDialog *""'");
18652 arg1
= reinterpret_cast< wxNumberEntryDialog
* >(argp1
);
18654 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18655 result
= (long)(arg1
)->GetValue();
18656 wxPyEndAllowThreads(__tstate
);
18657 if (PyErr_Occurred()) SWIG_fail
;
18659 resultobj
= SWIG_From_long(static_cast< long >(result
));
18666 SWIGINTERN PyObject
*NumberEntryDialog_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18668 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
18669 SWIG_TypeNewClientData(SWIGTYPE_p_wxNumberEntryDialog
, SWIG_NewClientData(obj
));
18670 return SWIG_Py_Void();
18673 SWIGINTERN PyObject
*NumberEntryDialog_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18674 return SWIG_Python_InitShadowInstance(args
);
18677 SWIGINTERN PyObject
*_wrap_new_FontData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18678 PyObject
*resultobj
= 0;
18679 wxFontData
*result
= 0 ;
18681 if (!SWIG_Python_UnpackTuple(args
,"new_FontData",0,0,0)) SWIG_fail
;
18683 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18684 result
= (wxFontData
*)new wxFontData();
18685 wxPyEndAllowThreads(__tstate
);
18686 if (PyErr_Occurred()) SWIG_fail
;
18688 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFontData
, SWIG_POINTER_NEW
| 0 );
18695 SWIGINTERN PyObject
*_wrap_delete_FontData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18696 PyObject
*resultobj
= 0;
18697 wxFontData
*arg1
= (wxFontData
*) 0 ;
18700 PyObject
*swig_obj
[1] ;
18702 if (!args
) SWIG_fail
;
18703 swig_obj
[0] = args
;
18704 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFontData
, SWIG_POINTER_DISOWN
| 0 );
18705 if (!SWIG_IsOK(res1
)) {
18706 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_FontData" "', expected argument " "1"" of type '" "wxFontData *""'");
18708 arg1
= reinterpret_cast< wxFontData
* >(argp1
);
18710 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18713 wxPyEndAllowThreads(__tstate
);
18714 if (PyErr_Occurred()) SWIG_fail
;
18716 resultobj
= SWIG_Py_Void();
18723 SWIGINTERN PyObject
*_wrap_FontData_EnableEffects(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18724 PyObject
*resultobj
= 0;
18725 wxFontData
*arg1
= (wxFontData
*) 0 ;
18731 PyObject
* obj0
= 0 ;
18732 PyObject
* obj1
= 0 ;
18733 char * kwnames
[] = {
18734 (char *) "self",(char *) "enable", NULL
18737 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontData_EnableEffects",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
18738 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFontData
, 0 | 0 );
18739 if (!SWIG_IsOK(res1
)) {
18740 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontData_EnableEffects" "', expected argument " "1"" of type '" "wxFontData *""'");
18742 arg1
= reinterpret_cast< wxFontData
* >(argp1
);
18743 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
18744 if (!SWIG_IsOK(ecode2
)) {
18745 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "FontData_EnableEffects" "', expected argument " "2"" of type '" "bool""'");
18747 arg2
= static_cast< bool >(val2
);
18749 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18750 (arg1
)->EnableEffects(arg2
);
18751 wxPyEndAllowThreads(__tstate
);
18752 if (PyErr_Occurred()) SWIG_fail
;
18754 resultobj
= SWIG_Py_Void();
18761 SWIGINTERN PyObject
*_wrap_FontData_GetAllowSymbols(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18762 PyObject
*resultobj
= 0;
18763 wxFontData
*arg1
= (wxFontData
*) 0 ;
18767 PyObject
*swig_obj
[1] ;
18769 if (!args
) SWIG_fail
;
18770 swig_obj
[0] = args
;
18771 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFontData
, 0 | 0 );
18772 if (!SWIG_IsOK(res1
)) {
18773 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontData_GetAllowSymbols" "', expected argument " "1"" of type '" "wxFontData *""'");
18775 arg1
= reinterpret_cast< wxFontData
* >(argp1
);
18777 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18778 result
= (bool)(arg1
)->GetAllowSymbols();
18779 wxPyEndAllowThreads(__tstate
);
18780 if (PyErr_Occurred()) SWIG_fail
;
18783 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18791 SWIGINTERN PyObject
*_wrap_FontData_GetColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18792 PyObject
*resultobj
= 0;
18793 wxFontData
*arg1
= (wxFontData
*) 0 ;
18797 PyObject
*swig_obj
[1] ;
18799 if (!args
) SWIG_fail
;
18800 swig_obj
[0] = args
;
18801 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFontData
, 0 | 0 );
18802 if (!SWIG_IsOK(res1
)) {
18803 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontData_GetColour" "', expected argument " "1"" of type '" "wxFontData *""'");
18805 arg1
= reinterpret_cast< wxFontData
* >(argp1
);
18807 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18808 result
= (arg1
)->GetColour();
18809 wxPyEndAllowThreads(__tstate
);
18810 if (PyErr_Occurred()) SWIG_fail
;
18812 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
18819 SWIGINTERN PyObject
*_wrap_FontData_GetChosenFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18820 PyObject
*resultobj
= 0;
18821 wxFontData
*arg1
= (wxFontData
*) 0 ;
18825 PyObject
*swig_obj
[1] ;
18827 if (!args
) SWIG_fail
;
18828 swig_obj
[0] = args
;
18829 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFontData
, 0 | 0 );
18830 if (!SWIG_IsOK(res1
)) {
18831 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontData_GetChosenFont" "', expected argument " "1"" of type '" "wxFontData *""'");
18833 arg1
= reinterpret_cast< wxFontData
* >(argp1
);
18835 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18836 result
= (arg1
)->GetChosenFont();
18837 wxPyEndAllowThreads(__tstate
);
18838 if (PyErr_Occurred()) SWIG_fail
;
18840 resultobj
= SWIG_NewPointerObj((new wxFont(static_cast< const wxFont
& >(result
))), SWIGTYPE_p_wxFont
, SWIG_POINTER_OWN
| 0 );
18847 SWIGINTERN PyObject
*_wrap_FontData_GetEnableEffects(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18848 PyObject
*resultobj
= 0;
18849 wxFontData
*arg1
= (wxFontData
*) 0 ;
18853 PyObject
*swig_obj
[1] ;
18855 if (!args
) SWIG_fail
;
18856 swig_obj
[0] = args
;
18857 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFontData
, 0 | 0 );
18858 if (!SWIG_IsOK(res1
)) {
18859 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontData_GetEnableEffects" "', expected argument " "1"" of type '" "wxFontData *""'");
18861 arg1
= reinterpret_cast< wxFontData
* >(argp1
);
18863 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18864 result
= (bool)(arg1
)->GetEnableEffects();
18865 wxPyEndAllowThreads(__tstate
);
18866 if (PyErr_Occurred()) SWIG_fail
;
18869 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18877 SWIGINTERN PyObject
*_wrap_FontData_GetInitialFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18878 PyObject
*resultobj
= 0;
18879 wxFontData
*arg1
= (wxFontData
*) 0 ;
18883 PyObject
*swig_obj
[1] ;
18885 if (!args
) SWIG_fail
;
18886 swig_obj
[0] = args
;
18887 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFontData
, 0 | 0 );
18888 if (!SWIG_IsOK(res1
)) {
18889 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontData_GetInitialFont" "', expected argument " "1"" of type '" "wxFontData *""'");
18891 arg1
= reinterpret_cast< wxFontData
* >(argp1
);
18893 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18894 result
= (arg1
)->GetInitialFont();
18895 wxPyEndAllowThreads(__tstate
);
18896 if (PyErr_Occurred()) SWIG_fail
;
18898 resultobj
= SWIG_NewPointerObj((new wxFont(static_cast< const wxFont
& >(result
))), SWIGTYPE_p_wxFont
, SWIG_POINTER_OWN
| 0 );
18905 SWIGINTERN PyObject
*_wrap_FontData_GetShowHelp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18906 PyObject
*resultobj
= 0;
18907 wxFontData
*arg1
= (wxFontData
*) 0 ;
18911 PyObject
*swig_obj
[1] ;
18913 if (!args
) SWIG_fail
;
18914 swig_obj
[0] = args
;
18915 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFontData
, 0 | 0 );
18916 if (!SWIG_IsOK(res1
)) {
18917 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontData_GetShowHelp" "', expected argument " "1"" of type '" "wxFontData *""'");
18919 arg1
= reinterpret_cast< wxFontData
* >(argp1
);
18921 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18922 result
= (bool)(arg1
)->GetShowHelp();
18923 wxPyEndAllowThreads(__tstate
);
18924 if (PyErr_Occurred()) SWIG_fail
;
18927 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18935 SWIGINTERN PyObject
*_wrap_FontData_SetAllowSymbols(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18936 PyObject
*resultobj
= 0;
18937 wxFontData
*arg1
= (wxFontData
*) 0 ;
18943 PyObject
* obj0
= 0 ;
18944 PyObject
* obj1
= 0 ;
18945 char * kwnames
[] = {
18946 (char *) "self",(char *) "allowSymbols", NULL
18949 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontData_SetAllowSymbols",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
18950 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFontData
, 0 | 0 );
18951 if (!SWIG_IsOK(res1
)) {
18952 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontData_SetAllowSymbols" "', expected argument " "1"" of type '" "wxFontData *""'");
18954 arg1
= reinterpret_cast< wxFontData
* >(argp1
);
18955 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
18956 if (!SWIG_IsOK(ecode2
)) {
18957 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "FontData_SetAllowSymbols" "', expected argument " "2"" of type '" "bool""'");
18959 arg2
= static_cast< bool >(val2
);
18961 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18962 (arg1
)->SetAllowSymbols(arg2
);
18963 wxPyEndAllowThreads(__tstate
);
18964 if (PyErr_Occurred()) SWIG_fail
;
18966 resultobj
= SWIG_Py_Void();
18973 SWIGINTERN PyObject
*_wrap_FontData_SetChosenFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18974 PyObject
*resultobj
= 0;
18975 wxFontData
*arg1
= (wxFontData
*) 0 ;
18981 PyObject
* obj0
= 0 ;
18982 PyObject
* obj1
= 0 ;
18983 char * kwnames
[] = {
18984 (char *) "self",(char *) "font", NULL
18987 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontData_SetChosenFont",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
18988 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFontData
, 0 | 0 );
18989 if (!SWIG_IsOK(res1
)) {
18990 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontData_SetChosenFont" "', expected argument " "1"" of type '" "wxFontData *""'");
18992 arg1
= reinterpret_cast< wxFontData
* >(argp1
);
18993 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxFont
, 0 | 0);
18994 if (!SWIG_IsOK(res2
)) {
18995 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "FontData_SetChosenFont" "', expected argument " "2"" of type '" "wxFont const &""'");
18998 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "FontData_SetChosenFont" "', expected argument " "2"" of type '" "wxFont const &""'");
19000 arg2
= reinterpret_cast< wxFont
* >(argp2
);
19002 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19003 (arg1
)->SetChosenFont((wxFont
const &)*arg2
);
19004 wxPyEndAllowThreads(__tstate
);
19005 if (PyErr_Occurred()) SWIG_fail
;
19007 resultobj
= SWIG_Py_Void();
19014 SWIGINTERN PyObject
*_wrap_FontData_SetColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19015 PyObject
*resultobj
= 0;
19016 wxFontData
*arg1
= (wxFontData
*) 0 ;
19017 wxColour
*arg2
= 0 ;
19021 PyObject
* obj0
= 0 ;
19022 PyObject
* obj1
= 0 ;
19023 char * kwnames
[] = {
19024 (char *) "self",(char *) "colour", NULL
19027 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontData_SetColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19028 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFontData
, 0 | 0 );
19029 if (!SWIG_IsOK(res1
)) {
19030 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontData_SetColour" "', expected argument " "1"" of type '" "wxFontData *""'");
19032 arg1
= reinterpret_cast< wxFontData
* >(argp1
);
19035 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
19038 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19039 (arg1
)->SetColour((wxColour
const &)*arg2
);
19040 wxPyEndAllowThreads(__tstate
);
19041 if (PyErr_Occurred()) SWIG_fail
;
19043 resultobj
= SWIG_Py_Void();
19050 SWIGINTERN PyObject
*_wrap_FontData_SetInitialFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19051 PyObject
*resultobj
= 0;
19052 wxFontData
*arg1
= (wxFontData
*) 0 ;
19058 PyObject
* obj0
= 0 ;
19059 PyObject
* obj1
= 0 ;
19060 char * kwnames
[] = {
19061 (char *) "self",(char *) "font", NULL
19064 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontData_SetInitialFont",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19065 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFontData
, 0 | 0 );
19066 if (!SWIG_IsOK(res1
)) {
19067 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontData_SetInitialFont" "', expected argument " "1"" of type '" "wxFontData *""'");
19069 arg1
= reinterpret_cast< wxFontData
* >(argp1
);
19070 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxFont
, 0 | 0);
19071 if (!SWIG_IsOK(res2
)) {
19072 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "FontData_SetInitialFont" "', expected argument " "2"" of type '" "wxFont const &""'");
19075 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "FontData_SetInitialFont" "', expected argument " "2"" of type '" "wxFont const &""'");
19077 arg2
= reinterpret_cast< wxFont
* >(argp2
);
19079 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19080 (arg1
)->SetInitialFont((wxFont
const &)*arg2
);
19081 wxPyEndAllowThreads(__tstate
);
19082 if (PyErr_Occurred()) SWIG_fail
;
19084 resultobj
= SWIG_Py_Void();
19091 SWIGINTERN PyObject
*_wrap_FontData_SetRange(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19092 PyObject
*resultobj
= 0;
19093 wxFontData
*arg1
= (wxFontData
*) 0 ;
19102 PyObject
* obj0
= 0 ;
19103 PyObject
* obj1
= 0 ;
19104 PyObject
* obj2
= 0 ;
19105 char * kwnames
[] = {
19106 (char *) "self",(char *) "min",(char *) "max", NULL
19109 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:FontData_SetRange",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
19110 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFontData
, 0 | 0 );
19111 if (!SWIG_IsOK(res1
)) {
19112 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontData_SetRange" "', expected argument " "1"" of type '" "wxFontData *""'");
19114 arg1
= reinterpret_cast< wxFontData
* >(argp1
);
19115 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
19116 if (!SWIG_IsOK(ecode2
)) {
19117 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "FontData_SetRange" "', expected argument " "2"" of type '" "int""'");
19119 arg2
= static_cast< int >(val2
);
19120 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
19121 if (!SWIG_IsOK(ecode3
)) {
19122 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "FontData_SetRange" "', expected argument " "3"" of type '" "int""'");
19124 arg3
= static_cast< int >(val3
);
19126 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19127 (arg1
)->SetRange(arg2
,arg3
);
19128 wxPyEndAllowThreads(__tstate
);
19129 if (PyErr_Occurred()) SWIG_fail
;
19131 resultobj
= SWIG_Py_Void();
19138 SWIGINTERN PyObject
*_wrap_FontData_SetShowHelp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19139 PyObject
*resultobj
= 0;
19140 wxFontData
*arg1
= (wxFontData
*) 0 ;
19146 PyObject
* obj0
= 0 ;
19147 PyObject
* obj1
= 0 ;
19148 char * kwnames
[] = {
19149 (char *) "self",(char *) "showHelp", NULL
19152 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontData_SetShowHelp",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19153 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFontData
, 0 | 0 );
19154 if (!SWIG_IsOK(res1
)) {
19155 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontData_SetShowHelp" "', expected argument " "1"" of type '" "wxFontData *""'");
19157 arg1
= reinterpret_cast< wxFontData
* >(argp1
);
19158 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
19159 if (!SWIG_IsOK(ecode2
)) {
19160 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "FontData_SetShowHelp" "', expected argument " "2"" of type '" "bool""'");
19162 arg2
= static_cast< bool >(val2
);
19164 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19165 (arg1
)->SetShowHelp(arg2
);
19166 wxPyEndAllowThreads(__tstate
);
19167 if (PyErr_Occurred()) SWIG_fail
;
19169 resultobj
= SWIG_Py_Void();
19176 SWIGINTERN PyObject
*FontData_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19178 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
19179 SWIG_TypeNewClientData(SWIGTYPE_p_wxFontData
, SWIG_NewClientData(obj
));
19180 return SWIG_Py_Void();
19183 SWIGINTERN PyObject
*FontData_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19184 return SWIG_Python_InitShadowInstance(args
);
19187 SWIGINTERN PyObject
*_wrap_new_FontDialog(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19188 PyObject
*resultobj
= 0;
19189 wxWindow
*arg1
= (wxWindow
*) 0 ;
19190 wxFontData
*arg2
= 0 ;
19191 wxFontDialog
*result
= 0 ;
19196 PyObject
* obj0
= 0 ;
19197 PyObject
* obj1
= 0 ;
19198 char * kwnames
[] = {
19199 (char *) "parent",(char *) "data", NULL
19202 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_FontDialog",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19203 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
19204 if (!SWIG_IsOK(res1
)) {
19205 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_FontDialog" "', expected argument " "1"" of type '" "wxWindow *""'");
19207 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
19208 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxFontData
, 0 | 0);
19209 if (!SWIG_IsOK(res2
)) {
19210 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_FontDialog" "', expected argument " "2"" of type '" "wxFontData const &""'");
19213 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_FontDialog" "', expected argument " "2"" of type '" "wxFontData const &""'");
19215 arg2
= reinterpret_cast< wxFontData
* >(argp2
);
19217 if (!wxPyCheckForApp()) SWIG_fail
;
19218 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19219 result
= (wxFontDialog
*)new wxFontDialog(arg1
,(wxFontData
const &)*arg2
);
19220 wxPyEndAllowThreads(__tstate
);
19221 if (PyErr_Occurred()) SWIG_fail
;
19223 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFontDialog
, SWIG_POINTER_NEW
| 0 );
19230 SWIGINTERN PyObject
*_wrap_FontDialog_GetFontData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19231 PyObject
*resultobj
= 0;
19232 wxFontDialog
*arg1
= (wxFontDialog
*) 0 ;
19233 wxFontData
*result
= 0 ;
19236 PyObject
*swig_obj
[1] ;
19238 if (!args
) SWIG_fail
;
19239 swig_obj
[0] = args
;
19240 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFontDialog
, 0 | 0 );
19241 if (!SWIG_IsOK(res1
)) {
19242 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontDialog_GetFontData" "', expected argument " "1"" of type '" "wxFontDialog *""'");
19244 arg1
= reinterpret_cast< wxFontDialog
* >(argp1
);
19246 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19248 wxFontData
&_result_ref
= (arg1
)->GetFontData();
19249 result
= (wxFontData
*) &_result_ref
;
19251 wxPyEndAllowThreads(__tstate
);
19252 if (PyErr_Occurred()) SWIG_fail
;
19254 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFontData
, 0 | 0 );
19261 SWIGINTERN PyObject
*FontDialog_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19263 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
19264 SWIG_TypeNewClientData(SWIGTYPE_p_wxFontDialog
, SWIG_NewClientData(obj
));
19265 return SWIG_Py_Void();
19268 SWIGINTERN PyObject
*FontDialog_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19269 return SWIG_Python_InitShadowInstance(args
);
19272 SWIGINTERN PyObject
*_wrap_GetFontFromUser(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19273 PyObject
*resultobj
= 0;
19274 wxWindow
*arg1
= (wxWindow
*) NULL
;
19275 wxFont
const &arg2_defvalue
= wxNullFont
;
19276 wxFont
*arg2
= (wxFont
*) &arg2_defvalue
;
19277 wxString
const &arg3_defvalue
= wxPyEmptyString
;
19278 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
19284 bool temp3
= false ;
19285 PyObject
* obj0
= 0 ;
19286 PyObject
* obj1
= 0 ;
19287 PyObject
* obj2
= 0 ;
19288 char * kwnames
[] = {
19289 (char *) "parent",(char *) "fontInit",(char *) "caption", NULL
19292 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOO:GetFontFromUser",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
19294 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
19295 if (!SWIG_IsOK(res1
)) {
19296 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GetFontFromUser" "', expected argument " "1"" of type '" "wxWindow *""'");
19298 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
19301 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxFont
, 0 | 0);
19302 if (!SWIG_IsOK(res2
)) {
19303 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GetFontFromUser" "', expected argument " "2"" of type '" "wxFont const &""'");
19306 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GetFontFromUser" "', expected argument " "2"" of type '" "wxFont const &""'");
19308 arg2
= reinterpret_cast< wxFont
* >(argp2
);
19312 arg3
= wxString_in_helper(obj2
);
19313 if (arg3
== NULL
) SWIG_fail
;
19318 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19319 result
= wxGetFontFromUser(arg1
,(wxFont
const &)*arg2
,(wxString
const &)*arg3
);
19320 wxPyEndAllowThreads(__tstate
);
19321 if (PyErr_Occurred()) SWIG_fail
;
19323 resultobj
= SWIG_NewPointerObj((new wxFont(static_cast< const wxFont
& >(result
))), SWIGTYPE_p_wxFont
, SWIG_POINTER_OWN
| 0 );
19338 SWIGINTERN PyObject
*_wrap_new_MessageDialog(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19339 PyObject
*resultobj
= 0;
19340 wxWindow
*arg1
= (wxWindow
*) 0 ;
19341 wxString
*arg2
= 0 ;
19342 wxString
const &arg3_defvalue
= wxPyMessageBoxCaptionStr
;
19343 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
19344 long arg4
= (long) wxOK
|wxCANCEL
|wxCENTRE
;
19345 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
19346 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
19347 wxMessageDialog
*result
= 0 ;
19350 bool temp2
= false ;
19351 bool temp3
= false ;
19355 PyObject
* obj0
= 0 ;
19356 PyObject
* obj1
= 0 ;
19357 PyObject
* obj2
= 0 ;
19358 PyObject
* obj3
= 0 ;
19359 PyObject
* obj4
= 0 ;
19360 char * kwnames
[] = {
19361 (char *) "parent",(char *) "message",(char *) "caption",(char *) "style",(char *) "pos", NULL
19364 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOO:new_MessageDialog",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
19365 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
19366 if (!SWIG_IsOK(res1
)) {
19367 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_MessageDialog" "', expected argument " "1"" of type '" "wxWindow *""'");
19369 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
19371 arg2
= wxString_in_helper(obj1
);
19372 if (arg2
== NULL
) SWIG_fail
;
19377 arg3
= wxString_in_helper(obj2
);
19378 if (arg3
== NULL
) SWIG_fail
;
19383 ecode4
= SWIG_AsVal_long(obj3
, &val4
);
19384 if (!SWIG_IsOK(ecode4
)) {
19385 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_MessageDialog" "', expected argument " "4"" of type '" "long""'");
19387 arg4
= static_cast< long >(val4
);
19392 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
19396 if (!wxPyCheckForApp()) SWIG_fail
;
19397 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19398 result
= (wxMessageDialog
*)new wxMessageDialog(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,arg4
,(wxPoint
const &)*arg5
);
19399 wxPyEndAllowThreads(__tstate
);
19400 if (PyErr_Occurred()) SWIG_fail
;
19402 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMessageDialog
, SWIG_POINTER_NEW
| 0 );
19425 SWIGINTERN PyObject
*MessageDialog_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19427 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
19428 SWIG_TypeNewClientData(SWIGTYPE_p_wxMessageDialog
, SWIG_NewClientData(obj
));
19429 return SWIG_Py_Void();
19432 SWIGINTERN PyObject
*MessageDialog_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19433 return SWIG_Python_InitShadowInstance(args
);
19436 SWIGINTERN PyObject
*_wrap_new_ProgressDialog(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19437 PyObject
*resultobj
= 0;
19438 wxString
*arg1
= 0 ;
19439 wxString
*arg2
= 0 ;
19440 int arg3
= (int) 100 ;
19441 wxWindow
*arg4
= (wxWindow
*) NULL
;
19442 int arg5
= (int) wxPD_AUTO_HIDE
|wxPD_APP_MODAL
;
19443 wxProgressDialog
*result
= 0 ;
19444 bool temp1
= false ;
19445 bool temp2
= false ;
19452 PyObject
* obj0
= 0 ;
19453 PyObject
* obj1
= 0 ;
19454 PyObject
* obj2
= 0 ;
19455 PyObject
* obj3
= 0 ;
19456 PyObject
* obj4
= 0 ;
19457 char * kwnames
[] = {
19458 (char *) "title",(char *) "message",(char *) "maximum",(char *) "parent",(char *) "style", NULL
19461 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOO:new_ProgressDialog",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
19463 arg1
= wxString_in_helper(obj0
);
19464 if (arg1
== NULL
) SWIG_fail
;
19468 arg2
= wxString_in_helper(obj1
);
19469 if (arg2
== NULL
) SWIG_fail
;
19473 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
19474 if (!SWIG_IsOK(ecode3
)) {
19475 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_ProgressDialog" "', expected argument " "3"" of type '" "int""'");
19477 arg3
= static_cast< int >(val3
);
19480 res4
= SWIG_ConvertPtr(obj3
, &argp4
,SWIGTYPE_p_wxWindow
, 0 | 0 );
19481 if (!SWIG_IsOK(res4
)) {
19482 SWIG_exception_fail(SWIG_ArgError(res4
), "in method '" "new_ProgressDialog" "', expected argument " "4"" of type '" "wxWindow *""'");
19484 arg4
= reinterpret_cast< wxWindow
* >(argp4
);
19487 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
19488 if (!SWIG_IsOK(ecode5
)) {
19489 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_ProgressDialog" "', expected argument " "5"" of type '" "int""'");
19491 arg5
= static_cast< int >(val5
);
19494 if (!wxPyCheckForApp()) SWIG_fail
;
19495 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19496 result
= (wxProgressDialog
*)new wxProgressDialog((wxString
const &)*arg1
,(wxString
const &)*arg2
,arg3
,arg4
,arg5
);
19497 wxPyEndAllowThreads(__tstate
);
19498 if (PyErr_Occurred()) SWIG_fail
;
19500 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxProgressDialog
, SWIG_POINTER_NEW
| 0 );
19523 SWIGINTERN PyObject
*_wrap_ProgressDialog_Update(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19524 PyObject
*resultobj
= 0;
19525 wxProgressDialog
*arg1
= (wxProgressDialog
*) 0 ;
19527 wxString
const &arg3_defvalue
= wxPyEmptyString
;
19528 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
19529 bool *arg4
= (bool *) 0 ;
19535 bool temp3
= false ;
19537 int res4
= SWIG_TMPOBJ
;
19538 PyObject
* obj0
= 0 ;
19539 PyObject
* obj1
= 0 ;
19540 PyObject
* obj2
= 0 ;
19541 char * kwnames
[] = {
19542 (char *) "self",(char *) "value",(char *) "newmsg", NULL
19546 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ProgressDialog_Update",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
19547 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxProgressDialog
, 0 | 0 );
19548 if (!SWIG_IsOK(res1
)) {
19549 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ProgressDialog_Update" "', expected argument " "1"" of type '" "wxProgressDialog *""'");
19551 arg1
= reinterpret_cast< wxProgressDialog
* >(argp1
);
19552 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
19553 if (!SWIG_IsOK(ecode2
)) {
19554 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ProgressDialog_Update" "', expected argument " "2"" of type '" "int""'");
19556 arg2
= static_cast< int >(val2
);
19559 arg3
= wxString_in_helper(obj2
);
19560 if (arg3
== NULL
) SWIG_fail
;
19565 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19566 result
= (bool)(arg1
)->Update(arg2
,(wxString
const &)*arg3
,arg4
);
19567 wxPyEndAllowThreads(__tstate
);
19568 if (PyErr_Occurred()) SWIG_fail
;
19571 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19573 if (SWIG_IsTmpObj(res4
)) {
19574 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_bool((*arg4
)));
19576 int new_flags
= SWIG_IsNewObj(res4
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
19577 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_bool
, new_flags
));
19593 SWIGINTERN PyObject
*_wrap_ProgressDialog_UpdatePulse(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19594 PyObject
*resultobj
= 0;
19595 wxProgressDialog
*arg1
= (wxProgressDialog
*) 0 ;
19596 wxString
const &arg2_defvalue
= wxPyEmptyString
;
19597 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
19598 bool *arg3
= (bool *) 0 ;
19602 bool temp2
= false ;
19604 int res3
= SWIG_TMPOBJ
;
19605 PyObject
* obj0
= 0 ;
19606 PyObject
* obj1
= 0 ;
19607 char * kwnames
[] = {
19608 (char *) "self",(char *) "newmsg", NULL
19612 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:ProgressDialog_UpdatePulse",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19613 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxProgressDialog
, 0 | 0 );
19614 if (!SWIG_IsOK(res1
)) {
19615 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ProgressDialog_UpdatePulse" "', expected argument " "1"" of type '" "wxProgressDialog *""'");
19617 arg1
= reinterpret_cast< wxProgressDialog
* >(argp1
);
19620 arg2
= wxString_in_helper(obj1
);
19621 if (arg2
== NULL
) SWIG_fail
;
19626 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19627 result
= (bool)(arg1
)->UpdatePulse((wxString
const &)*arg2
,arg3
);
19628 wxPyEndAllowThreads(__tstate
);
19629 if (PyErr_Occurred()) SWIG_fail
;
19632 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19634 if (SWIG_IsTmpObj(res3
)) {
19635 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_bool((*arg3
)));
19637 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
19638 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_bool
, new_flags
));
19654 SWIGINTERN PyObject
*_wrap_ProgressDialog_Resume(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19655 PyObject
*resultobj
= 0;
19656 wxProgressDialog
*arg1
= (wxProgressDialog
*) 0 ;
19659 PyObject
*swig_obj
[1] ;
19661 if (!args
) SWIG_fail
;
19662 swig_obj
[0] = args
;
19663 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxProgressDialog
, 0 | 0 );
19664 if (!SWIG_IsOK(res1
)) {
19665 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ProgressDialog_Resume" "', expected argument " "1"" of type '" "wxProgressDialog *""'");
19667 arg1
= reinterpret_cast< wxProgressDialog
* >(argp1
);
19669 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19671 wxPyEndAllowThreads(__tstate
);
19672 if (PyErr_Occurred()) SWIG_fail
;
19674 resultobj
= SWIG_Py_Void();
19681 SWIGINTERN PyObject
*ProgressDialog_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19683 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
19684 SWIG_TypeNewClientData(SWIGTYPE_p_wxProgressDialog
, SWIG_NewClientData(obj
));
19685 return SWIG_Py_Void();
19688 SWIGINTERN PyObject
*ProgressDialog_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19689 return SWIG_Python_InitShadowInstance(args
);
19692 SWIGINTERN PyObject
*_wrap_new_FindDialogEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19693 PyObject
*resultobj
= 0;
19694 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
19695 int arg2
= (int) 0 ;
19696 wxFindDialogEvent
*result
= 0 ;
19701 PyObject
* obj0
= 0 ;
19702 PyObject
* obj1
= 0 ;
19703 char * kwnames
[] = {
19704 (char *) "commandType",(char *) "id", NULL
19707 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_FindDialogEvent",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19709 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
19710 if (!SWIG_IsOK(ecode1
)) {
19711 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_FindDialogEvent" "', expected argument " "1"" of type '" "wxEventType""'");
19713 arg1
= static_cast< wxEventType
>(val1
);
19716 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
19717 if (!SWIG_IsOK(ecode2
)) {
19718 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_FindDialogEvent" "', expected argument " "2"" of type '" "int""'");
19720 arg2
= static_cast< int >(val2
);
19723 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19724 result
= (wxFindDialogEvent
*)new wxFindDialogEvent(arg1
,arg2
);
19725 wxPyEndAllowThreads(__tstate
);
19726 if (PyErr_Occurred()) SWIG_fail
;
19728 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFindDialogEvent
, SWIG_POINTER_NEW
| 0 );
19735 SWIGINTERN PyObject
*_wrap_FindDialogEvent_GetFlags(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19736 PyObject
*resultobj
= 0;
19737 wxFindDialogEvent
*arg1
= (wxFindDialogEvent
*) 0 ;
19741 PyObject
*swig_obj
[1] ;
19743 if (!args
) SWIG_fail
;
19744 swig_obj
[0] = args
;
19745 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFindDialogEvent
, 0 | 0 );
19746 if (!SWIG_IsOK(res1
)) {
19747 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FindDialogEvent_GetFlags" "', expected argument " "1"" of type '" "wxFindDialogEvent *""'");
19749 arg1
= reinterpret_cast< wxFindDialogEvent
* >(argp1
);
19751 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19752 result
= (int)(arg1
)->GetFlags();
19753 wxPyEndAllowThreads(__tstate
);
19754 if (PyErr_Occurred()) SWIG_fail
;
19756 resultobj
= SWIG_From_int(static_cast< int >(result
));
19763 SWIGINTERN PyObject
*_wrap_FindDialogEvent_GetFindString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19764 PyObject
*resultobj
= 0;
19765 wxFindDialogEvent
*arg1
= (wxFindDialogEvent
*) 0 ;
19766 wxString
*result
= 0 ;
19769 PyObject
*swig_obj
[1] ;
19771 if (!args
) SWIG_fail
;
19772 swig_obj
[0] = args
;
19773 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFindDialogEvent
, 0 | 0 );
19774 if (!SWIG_IsOK(res1
)) {
19775 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FindDialogEvent_GetFindString" "', expected argument " "1"" of type '" "wxFindDialogEvent *""'");
19777 arg1
= reinterpret_cast< wxFindDialogEvent
* >(argp1
);
19779 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19781 wxString
const &_result_ref
= (arg1
)->GetFindString();
19782 result
= (wxString
*) &_result_ref
;
19784 wxPyEndAllowThreads(__tstate
);
19785 if (PyErr_Occurred()) SWIG_fail
;
19789 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
19791 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
19800 SWIGINTERN PyObject
*_wrap_FindDialogEvent_GetReplaceString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19801 PyObject
*resultobj
= 0;
19802 wxFindDialogEvent
*arg1
= (wxFindDialogEvent
*) 0 ;
19803 wxString
*result
= 0 ;
19806 PyObject
*swig_obj
[1] ;
19808 if (!args
) SWIG_fail
;
19809 swig_obj
[0] = args
;
19810 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFindDialogEvent
, 0 | 0 );
19811 if (!SWIG_IsOK(res1
)) {
19812 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FindDialogEvent_GetReplaceString" "', expected argument " "1"" of type '" "wxFindDialogEvent *""'");
19814 arg1
= reinterpret_cast< wxFindDialogEvent
* >(argp1
);
19816 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19818 wxString
const &_result_ref
= (arg1
)->GetReplaceString();
19819 result
= (wxString
*) &_result_ref
;
19821 wxPyEndAllowThreads(__tstate
);
19822 if (PyErr_Occurred()) SWIG_fail
;
19826 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
19828 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
19837 SWIGINTERN PyObject
*_wrap_FindDialogEvent_GetDialog(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19838 PyObject
*resultobj
= 0;
19839 wxFindDialogEvent
*arg1
= (wxFindDialogEvent
*) 0 ;
19840 wxFindReplaceDialog
*result
= 0 ;
19843 PyObject
*swig_obj
[1] ;
19845 if (!args
) SWIG_fail
;
19846 swig_obj
[0] = args
;
19847 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFindDialogEvent
, 0 | 0 );
19848 if (!SWIG_IsOK(res1
)) {
19849 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FindDialogEvent_GetDialog" "', expected argument " "1"" of type '" "wxFindDialogEvent *""'");
19851 arg1
= reinterpret_cast< wxFindDialogEvent
* >(argp1
);
19853 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19854 result
= (wxFindReplaceDialog
*)(arg1
)->GetDialog();
19855 wxPyEndAllowThreads(__tstate
);
19856 if (PyErr_Occurred()) SWIG_fail
;
19858 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFindReplaceDialog
, 0 | 0 );
19865 SWIGINTERN PyObject
*_wrap_FindDialogEvent_SetFlags(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19866 PyObject
*resultobj
= 0;
19867 wxFindDialogEvent
*arg1
= (wxFindDialogEvent
*) 0 ;
19873 PyObject
* obj0
= 0 ;
19874 PyObject
* obj1
= 0 ;
19875 char * kwnames
[] = {
19876 (char *) "self",(char *) "flags", NULL
19879 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FindDialogEvent_SetFlags",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19880 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFindDialogEvent
, 0 | 0 );
19881 if (!SWIG_IsOK(res1
)) {
19882 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FindDialogEvent_SetFlags" "', expected argument " "1"" of type '" "wxFindDialogEvent *""'");
19884 arg1
= reinterpret_cast< wxFindDialogEvent
* >(argp1
);
19885 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
19886 if (!SWIG_IsOK(ecode2
)) {
19887 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "FindDialogEvent_SetFlags" "', expected argument " "2"" of type '" "int""'");
19889 arg2
= static_cast< int >(val2
);
19891 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19892 (arg1
)->SetFlags(arg2
);
19893 wxPyEndAllowThreads(__tstate
);
19894 if (PyErr_Occurred()) SWIG_fail
;
19896 resultobj
= SWIG_Py_Void();
19903 SWIGINTERN PyObject
*_wrap_FindDialogEvent_SetFindString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19904 PyObject
*resultobj
= 0;
19905 wxFindDialogEvent
*arg1
= (wxFindDialogEvent
*) 0 ;
19906 wxString
*arg2
= 0 ;
19909 bool temp2
= false ;
19910 PyObject
* obj0
= 0 ;
19911 PyObject
* obj1
= 0 ;
19912 char * kwnames
[] = {
19913 (char *) "self",(char *) "str", NULL
19916 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FindDialogEvent_SetFindString",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19917 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFindDialogEvent
, 0 | 0 );
19918 if (!SWIG_IsOK(res1
)) {
19919 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FindDialogEvent_SetFindString" "', expected argument " "1"" of type '" "wxFindDialogEvent *""'");
19921 arg1
= reinterpret_cast< wxFindDialogEvent
* >(argp1
);
19923 arg2
= wxString_in_helper(obj1
);
19924 if (arg2
== NULL
) SWIG_fail
;
19928 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19929 (arg1
)->SetFindString((wxString
const &)*arg2
);
19930 wxPyEndAllowThreads(__tstate
);
19931 if (PyErr_Occurred()) SWIG_fail
;
19933 resultobj
= SWIG_Py_Void();
19948 SWIGINTERN PyObject
*_wrap_FindDialogEvent_SetReplaceString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19949 PyObject
*resultobj
= 0;
19950 wxFindDialogEvent
*arg1
= (wxFindDialogEvent
*) 0 ;
19951 wxString
*arg2
= 0 ;
19954 bool temp2
= false ;
19955 PyObject
* obj0
= 0 ;
19956 PyObject
* obj1
= 0 ;
19957 char * kwnames
[] = {
19958 (char *) "self",(char *) "str", NULL
19961 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FindDialogEvent_SetReplaceString",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19962 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFindDialogEvent
, 0 | 0 );
19963 if (!SWIG_IsOK(res1
)) {
19964 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FindDialogEvent_SetReplaceString" "', expected argument " "1"" of type '" "wxFindDialogEvent *""'");
19966 arg1
= reinterpret_cast< wxFindDialogEvent
* >(argp1
);
19968 arg2
= wxString_in_helper(obj1
);
19969 if (arg2
== NULL
) SWIG_fail
;
19973 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19974 (arg1
)->SetReplaceString((wxString
const &)*arg2
);
19975 wxPyEndAllowThreads(__tstate
);
19976 if (PyErr_Occurred()) SWIG_fail
;
19978 resultobj
= SWIG_Py_Void();
19993 SWIGINTERN PyObject
*FindDialogEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19995 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
19996 SWIG_TypeNewClientData(SWIGTYPE_p_wxFindDialogEvent
, SWIG_NewClientData(obj
));
19997 return SWIG_Py_Void();
20000 SWIGINTERN PyObject
*FindDialogEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20001 return SWIG_Python_InitShadowInstance(args
);
20004 SWIGINTERN PyObject
*_wrap_new_FindReplaceData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20005 PyObject
*resultobj
= 0;
20006 int arg1
= (int) 0 ;
20007 wxFindReplaceData
*result
= 0 ;
20010 PyObject
* obj0
= 0 ;
20011 char * kwnames
[] = {
20012 (char *) "flags", NULL
20015 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_FindReplaceData",kwnames
,&obj0
)) SWIG_fail
;
20017 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
20018 if (!SWIG_IsOK(ecode1
)) {
20019 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_FindReplaceData" "', expected argument " "1"" of type '" "int""'");
20021 arg1
= static_cast< int >(val1
);
20024 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20025 result
= (wxFindReplaceData
*)new wxFindReplaceData(arg1
);
20026 wxPyEndAllowThreads(__tstate
);
20027 if (PyErr_Occurred()) SWIG_fail
;
20029 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFindReplaceData
, SWIG_POINTER_NEW
| 0 );
20036 SWIGINTERN PyObject
*_wrap_delete_FindReplaceData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20037 PyObject
*resultobj
= 0;
20038 wxFindReplaceData
*arg1
= (wxFindReplaceData
*) 0 ;
20041 PyObject
*swig_obj
[1] ;
20043 if (!args
) SWIG_fail
;
20044 swig_obj
[0] = args
;
20045 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFindReplaceData
, SWIG_POINTER_DISOWN
| 0 );
20046 if (!SWIG_IsOK(res1
)) {
20047 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_FindReplaceData" "', expected argument " "1"" of type '" "wxFindReplaceData *""'");
20049 arg1
= reinterpret_cast< wxFindReplaceData
* >(argp1
);
20051 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20054 wxPyEndAllowThreads(__tstate
);
20055 if (PyErr_Occurred()) SWIG_fail
;
20057 resultobj
= SWIG_Py_Void();
20064 SWIGINTERN PyObject
*_wrap_FindReplaceData_GetFindString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20065 PyObject
*resultobj
= 0;
20066 wxFindReplaceData
*arg1
= (wxFindReplaceData
*) 0 ;
20067 wxString
*result
= 0 ;
20070 PyObject
*swig_obj
[1] ;
20072 if (!args
) SWIG_fail
;
20073 swig_obj
[0] = args
;
20074 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFindReplaceData
, 0 | 0 );
20075 if (!SWIG_IsOK(res1
)) {
20076 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FindReplaceData_GetFindString" "', expected argument " "1"" of type '" "wxFindReplaceData *""'");
20078 arg1
= reinterpret_cast< wxFindReplaceData
* >(argp1
);
20080 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20082 wxString
const &_result_ref
= (arg1
)->GetFindString();
20083 result
= (wxString
*) &_result_ref
;
20085 wxPyEndAllowThreads(__tstate
);
20086 if (PyErr_Occurred()) SWIG_fail
;
20090 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
20092 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
20101 SWIGINTERN PyObject
*_wrap_FindReplaceData_GetReplaceString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20102 PyObject
*resultobj
= 0;
20103 wxFindReplaceData
*arg1
= (wxFindReplaceData
*) 0 ;
20104 wxString
*result
= 0 ;
20107 PyObject
*swig_obj
[1] ;
20109 if (!args
) SWIG_fail
;
20110 swig_obj
[0] = args
;
20111 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFindReplaceData
, 0 | 0 );
20112 if (!SWIG_IsOK(res1
)) {
20113 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FindReplaceData_GetReplaceString" "', expected argument " "1"" of type '" "wxFindReplaceData *""'");
20115 arg1
= reinterpret_cast< wxFindReplaceData
* >(argp1
);
20117 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20119 wxString
const &_result_ref
= (arg1
)->GetReplaceString();
20120 result
= (wxString
*) &_result_ref
;
20122 wxPyEndAllowThreads(__tstate
);
20123 if (PyErr_Occurred()) SWIG_fail
;
20127 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
20129 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
20138 SWIGINTERN PyObject
*_wrap_FindReplaceData_GetFlags(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20139 PyObject
*resultobj
= 0;
20140 wxFindReplaceData
*arg1
= (wxFindReplaceData
*) 0 ;
20144 PyObject
*swig_obj
[1] ;
20146 if (!args
) SWIG_fail
;
20147 swig_obj
[0] = args
;
20148 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFindReplaceData
, 0 | 0 );
20149 if (!SWIG_IsOK(res1
)) {
20150 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FindReplaceData_GetFlags" "', expected argument " "1"" of type '" "wxFindReplaceData *""'");
20152 arg1
= reinterpret_cast< wxFindReplaceData
* >(argp1
);
20154 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20155 result
= (int)(arg1
)->GetFlags();
20156 wxPyEndAllowThreads(__tstate
);
20157 if (PyErr_Occurred()) SWIG_fail
;
20159 resultobj
= SWIG_From_int(static_cast< int >(result
));
20166 SWIGINTERN PyObject
*_wrap_FindReplaceData_SetFlags(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20167 PyObject
*resultobj
= 0;
20168 wxFindReplaceData
*arg1
= (wxFindReplaceData
*) 0 ;
20174 PyObject
* obj0
= 0 ;
20175 PyObject
* obj1
= 0 ;
20176 char * kwnames
[] = {
20177 (char *) "self",(char *) "flags", NULL
20180 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FindReplaceData_SetFlags",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20181 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFindReplaceData
, 0 | 0 );
20182 if (!SWIG_IsOK(res1
)) {
20183 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FindReplaceData_SetFlags" "', expected argument " "1"" of type '" "wxFindReplaceData *""'");
20185 arg1
= reinterpret_cast< wxFindReplaceData
* >(argp1
);
20186 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
20187 if (!SWIG_IsOK(ecode2
)) {
20188 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "FindReplaceData_SetFlags" "', expected argument " "2"" of type '" "int""'");
20190 arg2
= static_cast< int >(val2
);
20192 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20193 (arg1
)->SetFlags(arg2
);
20194 wxPyEndAllowThreads(__tstate
);
20195 if (PyErr_Occurred()) SWIG_fail
;
20197 resultobj
= SWIG_Py_Void();
20204 SWIGINTERN PyObject
*_wrap_FindReplaceData_SetFindString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20205 PyObject
*resultobj
= 0;
20206 wxFindReplaceData
*arg1
= (wxFindReplaceData
*) 0 ;
20207 wxString
*arg2
= 0 ;
20210 bool temp2
= false ;
20211 PyObject
* obj0
= 0 ;
20212 PyObject
* obj1
= 0 ;
20213 char * kwnames
[] = {
20214 (char *) "self",(char *) "str", NULL
20217 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FindReplaceData_SetFindString",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20218 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFindReplaceData
, 0 | 0 );
20219 if (!SWIG_IsOK(res1
)) {
20220 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FindReplaceData_SetFindString" "', expected argument " "1"" of type '" "wxFindReplaceData *""'");
20222 arg1
= reinterpret_cast< wxFindReplaceData
* >(argp1
);
20224 arg2
= wxString_in_helper(obj1
);
20225 if (arg2
== NULL
) SWIG_fail
;
20229 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20230 (arg1
)->SetFindString((wxString
const &)*arg2
);
20231 wxPyEndAllowThreads(__tstate
);
20232 if (PyErr_Occurred()) SWIG_fail
;
20234 resultobj
= SWIG_Py_Void();
20249 SWIGINTERN PyObject
*_wrap_FindReplaceData_SetReplaceString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20250 PyObject
*resultobj
= 0;
20251 wxFindReplaceData
*arg1
= (wxFindReplaceData
*) 0 ;
20252 wxString
*arg2
= 0 ;
20255 bool temp2
= false ;
20256 PyObject
* obj0
= 0 ;
20257 PyObject
* obj1
= 0 ;
20258 char * kwnames
[] = {
20259 (char *) "self",(char *) "str", NULL
20262 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FindReplaceData_SetReplaceString",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20263 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFindReplaceData
, 0 | 0 );
20264 if (!SWIG_IsOK(res1
)) {
20265 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FindReplaceData_SetReplaceString" "', expected argument " "1"" of type '" "wxFindReplaceData *""'");
20267 arg1
= reinterpret_cast< wxFindReplaceData
* >(argp1
);
20269 arg2
= wxString_in_helper(obj1
);
20270 if (arg2
== NULL
) SWIG_fail
;
20274 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20275 (arg1
)->SetReplaceString((wxString
const &)*arg2
);
20276 wxPyEndAllowThreads(__tstate
);
20277 if (PyErr_Occurred()) SWIG_fail
;
20279 resultobj
= SWIG_Py_Void();
20294 SWIGINTERN PyObject
*FindReplaceData_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20296 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
20297 SWIG_TypeNewClientData(SWIGTYPE_p_wxFindReplaceData
, SWIG_NewClientData(obj
));
20298 return SWIG_Py_Void();
20301 SWIGINTERN PyObject
*FindReplaceData_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20302 return SWIG_Python_InitShadowInstance(args
);
20305 SWIGINTERN PyObject
*_wrap_new_FindReplaceDialog(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20306 PyObject
*resultobj
= 0;
20307 wxWindow
*arg1
= (wxWindow
*) 0 ;
20308 wxFindReplaceData
*arg2
= (wxFindReplaceData
*) 0 ;
20309 wxString
*arg3
= 0 ;
20310 int arg4
= (int) 0 ;
20311 wxFindReplaceDialog
*result
= 0 ;
20316 bool temp3
= false ;
20319 PyObject
* obj0
= 0 ;
20320 PyObject
* obj1
= 0 ;
20321 PyObject
* obj2
= 0 ;
20322 PyObject
* obj3
= 0 ;
20323 char * kwnames
[] = {
20324 (char *) "parent",(char *) "data",(char *) "title",(char *) "style", NULL
20327 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:new_FindReplaceDialog",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
20328 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
20329 if (!SWIG_IsOK(res1
)) {
20330 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_FindReplaceDialog" "', expected argument " "1"" of type '" "wxWindow *""'");
20332 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
20333 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxFindReplaceData
, 0 | 0 );
20334 if (!SWIG_IsOK(res2
)) {
20335 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_FindReplaceDialog" "', expected argument " "2"" of type '" "wxFindReplaceData *""'");
20337 arg2
= reinterpret_cast< wxFindReplaceData
* >(argp2
);
20339 arg3
= wxString_in_helper(obj2
);
20340 if (arg3
== NULL
) SWIG_fail
;
20344 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
20345 if (!SWIG_IsOK(ecode4
)) {
20346 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_FindReplaceDialog" "', expected argument " "4"" of type '" "int""'");
20348 arg4
= static_cast< int >(val4
);
20351 if (!wxPyCheckForApp()) SWIG_fail
;
20352 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20353 result
= (wxFindReplaceDialog
*)new wxFindReplaceDialog(arg1
,arg2
,(wxString
const &)*arg3
,arg4
);
20354 wxPyEndAllowThreads(__tstate
);
20355 if (PyErr_Occurred()) SWIG_fail
;
20357 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFindReplaceDialog
, SWIG_POINTER_NEW
| 0 );
20372 SWIGINTERN PyObject
*_wrap_new_PreFindReplaceDialog(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20373 PyObject
*resultobj
= 0;
20374 wxFindReplaceDialog
*result
= 0 ;
20376 if (!SWIG_Python_UnpackTuple(args
,"new_PreFindReplaceDialog",0,0,0)) SWIG_fail
;
20378 if (!wxPyCheckForApp()) SWIG_fail
;
20379 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20380 result
= (wxFindReplaceDialog
*)new wxFindReplaceDialog();
20381 wxPyEndAllowThreads(__tstate
);
20382 if (PyErr_Occurred()) SWIG_fail
;
20384 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFindReplaceDialog
, SWIG_POINTER_OWN
| 0 );
20391 SWIGINTERN PyObject
*_wrap_FindReplaceDialog_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20392 PyObject
*resultobj
= 0;
20393 wxFindReplaceDialog
*arg1
= (wxFindReplaceDialog
*) 0 ;
20394 wxWindow
*arg2
= (wxWindow
*) 0 ;
20395 wxFindReplaceData
*arg3
= (wxFindReplaceData
*) 0 ;
20396 wxString
*arg4
= 0 ;
20397 int arg5
= (int) 0 ;
20405 bool temp4
= false ;
20408 PyObject
* obj0
= 0 ;
20409 PyObject
* obj1
= 0 ;
20410 PyObject
* obj2
= 0 ;
20411 PyObject
* obj3
= 0 ;
20412 PyObject
* obj4
= 0 ;
20413 char * kwnames
[] = {
20414 (char *) "self",(char *) "parent",(char *) "data",(char *) "title",(char *) "style", NULL
20417 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:FindReplaceDialog_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
20418 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFindReplaceDialog
, 0 | 0 );
20419 if (!SWIG_IsOK(res1
)) {
20420 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FindReplaceDialog_Create" "', expected argument " "1"" of type '" "wxFindReplaceDialog *""'");
20422 arg1
= reinterpret_cast< wxFindReplaceDialog
* >(argp1
);
20423 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
20424 if (!SWIG_IsOK(res2
)) {
20425 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "FindReplaceDialog_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
20427 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
20428 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxFindReplaceData
, 0 | 0 );
20429 if (!SWIG_IsOK(res3
)) {
20430 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "FindReplaceDialog_Create" "', expected argument " "3"" of type '" "wxFindReplaceData *""'");
20432 arg3
= reinterpret_cast< wxFindReplaceData
* >(argp3
);
20434 arg4
= wxString_in_helper(obj3
);
20435 if (arg4
== NULL
) SWIG_fail
;
20439 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
20440 if (!SWIG_IsOK(ecode5
)) {
20441 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "FindReplaceDialog_Create" "', expected argument " "5"" of type '" "int""'");
20443 arg5
= static_cast< int >(val5
);
20446 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20447 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,arg5
);
20448 wxPyEndAllowThreads(__tstate
);
20449 if (PyErr_Occurred()) SWIG_fail
;
20452 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20468 SWIGINTERN PyObject
*_wrap_FindReplaceDialog_GetData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20469 PyObject
*resultobj
= 0;
20470 wxFindReplaceDialog
*arg1
= (wxFindReplaceDialog
*) 0 ;
20471 wxFindReplaceData
*result
= 0 ;
20474 PyObject
*swig_obj
[1] ;
20476 if (!args
) SWIG_fail
;
20477 swig_obj
[0] = args
;
20478 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFindReplaceDialog
, 0 | 0 );
20479 if (!SWIG_IsOK(res1
)) {
20480 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FindReplaceDialog_GetData" "', expected argument " "1"" of type '" "wxFindReplaceDialog *""'");
20482 arg1
= reinterpret_cast< wxFindReplaceDialog
* >(argp1
);
20484 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20485 result
= (wxFindReplaceData
*)(arg1
)->GetData();
20486 wxPyEndAllowThreads(__tstate
);
20487 if (PyErr_Occurred()) SWIG_fail
;
20489 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFindReplaceData
, 0 | 0 );
20496 SWIGINTERN PyObject
*_wrap_FindReplaceDialog_SetData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20497 PyObject
*resultobj
= 0;
20498 wxFindReplaceDialog
*arg1
= (wxFindReplaceDialog
*) 0 ;
20499 wxFindReplaceData
*arg2
= (wxFindReplaceData
*) 0 ;
20504 PyObject
* obj0
= 0 ;
20505 PyObject
* obj1
= 0 ;
20506 char * kwnames
[] = {
20507 (char *) "self",(char *) "data", NULL
20510 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FindReplaceDialog_SetData",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20511 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFindReplaceDialog
, 0 | 0 );
20512 if (!SWIG_IsOK(res1
)) {
20513 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FindReplaceDialog_SetData" "', expected argument " "1"" of type '" "wxFindReplaceDialog *""'");
20515 arg1
= reinterpret_cast< wxFindReplaceDialog
* >(argp1
);
20516 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxFindReplaceData
, 0 | 0 );
20517 if (!SWIG_IsOK(res2
)) {
20518 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "FindReplaceDialog_SetData" "', expected argument " "2"" of type '" "wxFindReplaceData *""'");
20520 arg2
= reinterpret_cast< wxFindReplaceData
* >(argp2
);
20522 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20523 (arg1
)->SetData(arg2
);
20524 wxPyEndAllowThreads(__tstate
);
20525 if (PyErr_Occurred()) SWIG_fail
;
20527 resultobj
= SWIG_Py_Void();
20534 SWIGINTERN PyObject
*FindReplaceDialog_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20536 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
20537 SWIG_TypeNewClientData(SWIGTYPE_p_wxFindReplaceDialog
, SWIG_NewClientData(obj
));
20538 return SWIG_Py_Void();
20541 SWIGINTERN PyObject
*FindReplaceDialog_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20542 return SWIG_Python_InitShadowInstance(args
);
20545 SWIGINTERN PyObject
*_wrap_new_MDIParentFrame(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20546 PyObject
*resultobj
= 0;
20547 wxWindow
*arg1
= (wxWindow
*) 0 ;
20548 int arg2
= (int) (int)-1 ;
20549 wxString
const &arg3_defvalue
= wxPyEmptyString
;
20550 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
20551 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
20552 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
20553 wxSize
const &arg5_defvalue
= wxDefaultSize
;
20554 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
20555 long arg6
= (long) wxDEFAULT_FRAME_STYLE
|wxVSCROLL
|wxHSCROLL
;
20556 wxString
const &arg7_defvalue
= wxPyFrameNameStr
;
20557 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
20558 wxMDIParentFrame
*result
= 0 ;
20563 bool temp3
= false ;
20568 bool temp7
= false ;
20569 PyObject
* obj0
= 0 ;
20570 PyObject
* obj1
= 0 ;
20571 PyObject
* obj2
= 0 ;
20572 PyObject
* obj3
= 0 ;
20573 PyObject
* obj4
= 0 ;
20574 PyObject
* obj5
= 0 ;
20575 PyObject
* obj6
= 0 ;
20576 char * kwnames
[] = {
20577 (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
20580 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_MDIParentFrame",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
20581 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
20582 if (!SWIG_IsOK(res1
)) {
20583 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_MDIParentFrame" "', expected argument " "1"" of type '" "wxWindow *""'");
20585 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
20587 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
20588 if (!SWIG_IsOK(ecode2
)) {
20589 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_MDIParentFrame" "', expected argument " "2"" of type '" "int""'");
20591 arg2
= static_cast< int >(val2
);
20595 arg3
= wxString_in_helper(obj2
);
20596 if (arg3
== NULL
) SWIG_fail
;
20603 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
20609 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
20613 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
20614 if (!SWIG_IsOK(ecode6
)) {
20615 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_MDIParentFrame" "', expected argument " "6"" of type '" "long""'");
20617 arg6
= static_cast< long >(val6
);
20621 arg7
= wxString_in_helper(obj6
);
20622 if (arg7
== NULL
) SWIG_fail
;
20627 if (!wxPyCheckForApp()) SWIG_fail
;
20628 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20629 result
= (wxMDIParentFrame
*)new wxMDIParentFrame(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
20630 wxPyEndAllowThreads(__tstate
);
20631 if (PyErr_Occurred()) SWIG_fail
;
20633 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMDIParentFrame
, SWIG_POINTER_NEW
| 0 );
20656 SWIGINTERN PyObject
*_wrap_new_PreMDIParentFrame(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20657 PyObject
*resultobj
= 0;
20658 wxMDIParentFrame
*result
= 0 ;
20660 if (!SWIG_Python_UnpackTuple(args
,"new_PreMDIParentFrame",0,0,0)) SWIG_fail
;
20662 if (!wxPyCheckForApp()) SWIG_fail
;
20663 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20664 result
= (wxMDIParentFrame
*)new wxMDIParentFrame();
20665 wxPyEndAllowThreads(__tstate
);
20666 if (PyErr_Occurred()) SWIG_fail
;
20668 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMDIParentFrame
, SWIG_POINTER_OWN
| 0 );
20675 SWIGINTERN PyObject
*_wrap_MDIParentFrame_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20676 PyObject
*resultobj
= 0;
20677 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
20678 wxWindow
*arg2
= (wxWindow
*) 0 ;
20679 int arg3
= (int) (int)-1 ;
20680 wxString
const &arg4_defvalue
= wxPyEmptyString
;
20681 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
20682 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
20683 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
20684 wxSize
const &arg6_defvalue
= wxDefaultSize
;
20685 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
20686 long arg7
= (long) wxDEFAULT_FRAME_STYLE
|wxVSCROLL
|wxHSCROLL
;
20687 wxString
const &arg8_defvalue
= wxPyFrameNameStr
;
20688 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
20696 bool temp4
= false ;
20701 bool temp8
= false ;
20702 PyObject
* obj0
= 0 ;
20703 PyObject
* obj1
= 0 ;
20704 PyObject
* obj2
= 0 ;
20705 PyObject
* obj3
= 0 ;
20706 PyObject
* obj4
= 0 ;
20707 PyObject
* obj5
= 0 ;
20708 PyObject
* obj6
= 0 ;
20709 PyObject
* obj7
= 0 ;
20710 char * kwnames
[] = {
20711 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
20714 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:MDIParentFrame_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
20715 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMDIParentFrame
, 0 | 0 );
20716 if (!SWIG_IsOK(res1
)) {
20717 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MDIParentFrame_Create" "', expected argument " "1"" of type '" "wxMDIParentFrame *""'");
20719 arg1
= reinterpret_cast< wxMDIParentFrame
* >(argp1
);
20720 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
20721 if (!SWIG_IsOK(res2
)) {
20722 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "MDIParentFrame_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
20724 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
20726 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
20727 if (!SWIG_IsOK(ecode3
)) {
20728 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "MDIParentFrame_Create" "', expected argument " "3"" of type '" "int""'");
20730 arg3
= static_cast< int >(val3
);
20734 arg4
= wxString_in_helper(obj3
);
20735 if (arg4
== NULL
) SWIG_fail
;
20742 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
20748 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
20752 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
20753 if (!SWIG_IsOK(ecode7
)) {
20754 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "MDIParentFrame_Create" "', expected argument " "7"" of type '" "long""'");
20756 arg7
= static_cast< long >(val7
);
20760 arg8
= wxString_in_helper(obj7
);
20761 if (arg8
== NULL
) SWIG_fail
;
20766 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20767 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxString
const &)*arg8
);
20768 wxPyEndAllowThreads(__tstate
);
20769 if (PyErr_Occurred()) SWIG_fail
;
20772 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20796 SWIGINTERN PyObject
*_wrap_MDIParentFrame_ActivateNext(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20797 PyObject
*resultobj
= 0;
20798 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
20801 PyObject
*swig_obj
[1] ;
20803 if (!args
) SWIG_fail
;
20804 swig_obj
[0] = args
;
20805 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMDIParentFrame
, 0 | 0 );
20806 if (!SWIG_IsOK(res1
)) {
20807 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MDIParentFrame_ActivateNext" "', expected argument " "1"" of type '" "wxMDIParentFrame *""'");
20809 arg1
= reinterpret_cast< wxMDIParentFrame
* >(argp1
);
20811 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20812 (arg1
)->ActivateNext();
20813 wxPyEndAllowThreads(__tstate
);
20814 if (PyErr_Occurred()) SWIG_fail
;
20816 resultobj
= SWIG_Py_Void();
20823 SWIGINTERN PyObject
*_wrap_MDIParentFrame_ActivatePrevious(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20824 PyObject
*resultobj
= 0;
20825 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
20828 PyObject
*swig_obj
[1] ;
20830 if (!args
) SWIG_fail
;
20831 swig_obj
[0] = args
;
20832 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMDIParentFrame
, 0 | 0 );
20833 if (!SWIG_IsOK(res1
)) {
20834 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MDIParentFrame_ActivatePrevious" "', expected argument " "1"" of type '" "wxMDIParentFrame *""'");
20836 arg1
= reinterpret_cast< wxMDIParentFrame
* >(argp1
);
20838 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20839 (arg1
)->ActivatePrevious();
20840 wxPyEndAllowThreads(__tstate
);
20841 if (PyErr_Occurred()) SWIG_fail
;
20843 resultobj
= SWIG_Py_Void();
20850 SWIGINTERN PyObject
*_wrap_MDIParentFrame_ArrangeIcons(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20851 PyObject
*resultobj
= 0;
20852 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
20855 PyObject
*swig_obj
[1] ;
20857 if (!args
) SWIG_fail
;
20858 swig_obj
[0] = args
;
20859 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMDIParentFrame
, 0 | 0 );
20860 if (!SWIG_IsOK(res1
)) {
20861 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MDIParentFrame_ArrangeIcons" "', expected argument " "1"" of type '" "wxMDIParentFrame *""'");
20863 arg1
= reinterpret_cast< wxMDIParentFrame
* >(argp1
);
20865 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20866 (arg1
)->ArrangeIcons();
20867 wxPyEndAllowThreads(__tstate
);
20868 if (PyErr_Occurred()) SWIG_fail
;
20870 resultobj
= SWIG_Py_Void();
20877 SWIGINTERN PyObject
*_wrap_MDIParentFrame_Cascade(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20878 PyObject
*resultobj
= 0;
20879 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
20882 PyObject
*swig_obj
[1] ;
20884 if (!args
) SWIG_fail
;
20885 swig_obj
[0] = args
;
20886 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMDIParentFrame
, 0 | 0 );
20887 if (!SWIG_IsOK(res1
)) {
20888 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MDIParentFrame_Cascade" "', expected argument " "1"" of type '" "wxMDIParentFrame *""'");
20890 arg1
= reinterpret_cast< wxMDIParentFrame
* >(argp1
);
20892 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20894 wxPyEndAllowThreads(__tstate
);
20895 if (PyErr_Occurred()) SWIG_fail
;
20897 resultobj
= SWIG_Py_Void();
20904 SWIGINTERN PyObject
*_wrap_MDIParentFrame_GetActiveChild(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20905 PyObject
*resultobj
= 0;
20906 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
20907 wxMDIChildFrame
*result
= 0 ;
20910 PyObject
*swig_obj
[1] ;
20912 if (!args
) SWIG_fail
;
20913 swig_obj
[0] = args
;
20914 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMDIParentFrame
, 0 | 0 );
20915 if (!SWIG_IsOK(res1
)) {
20916 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MDIParentFrame_GetActiveChild" "', expected argument " "1"" of type '" "wxMDIParentFrame *""'");
20918 arg1
= reinterpret_cast< wxMDIParentFrame
* >(argp1
);
20920 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20921 result
= (wxMDIChildFrame
*)(arg1
)->GetActiveChild();
20922 wxPyEndAllowThreads(__tstate
);
20923 if (PyErr_Occurred()) SWIG_fail
;
20926 resultobj
= wxPyMake_wxObject(result
, (bool)0);
20934 SWIGINTERN PyObject
*_wrap_MDIParentFrame_GetClientWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20935 PyObject
*resultobj
= 0;
20936 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
20937 wxMDIClientWindow
*result
= 0 ;
20940 PyObject
*swig_obj
[1] ;
20942 if (!args
) SWIG_fail
;
20943 swig_obj
[0] = args
;
20944 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMDIParentFrame
, 0 | 0 );
20945 if (!SWIG_IsOK(res1
)) {
20946 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MDIParentFrame_GetClientWindow" "', expected argument " "1"" of type '" "wxMDIParentFrame *""'");
20948 arg1
= reinterpret_cast< wxMDIParentFrame
* >(argp1
);
20950 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20951 result
= (wxMDIClientWindow
*)(arg1
)->GetClientWindow();
20952 wxPyEndAllowThreads(__tstate
);
20953 if (PyErr_Occurred()) SWIG_fail
;
20956 resultobj
= wxPyMake_wxObject(result
, (bool)0);
20964 SWIGINTERN PyObject
*_wrap_MDIParentFrame_Tile(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20965 PyObject
*resultobj
= 0;
20966 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
20967 wxOrientation arg2
= (wxOrientation
) wxHORIZONTAL
;
20972 PyObject
* obj0
= 0 ;
20973 PyObject
* obj1
= 0 ;
20974 char * kwnames
[] = {
20975 (char *) "self",(char *) "orient", NULL
20978 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:MDIParentFrame_Tile",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20979 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMDIParentFrame
, 0 | 0 );
20980 if (!SWIG_IsOK(res1
)) {
20981 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MDIParentFrame_Tile" "', expected argument " "1"" of type '" "wxMDIParentFrame *""'");
20983 arg1
= reinterpret_cast< wxMDIParentFrame
* >(argp1
);
20985 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
20986 if (!SWIG_IsOK(ecode2
)) {
20987 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "MDIParentFrame_Tile" "', expected argument " "2"" of type '" "wxOrientation""'");
20989 arg2
= static_cast< wxOrientation
>(val2
);
20992 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20993 (arg1
)->Tile(arg2
);
20994 wxPyEndAllowThreads(__tstate
);
20995 if (PyErr_Occurred()) SWIG_fail
;
20997 resultobj
= SWIG_Py_Void();
21004 SWIGINTERN PyObject
*MDIParentFrame_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21006 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
21007 SWIG_TypeNewClientData(SWIGTYPE_p_wxMDIParentFrame
, SWIG_NewClientData(obj
));
21008 return SWIG_Py_Void();
21011 SWIGINTERN PyObject
*MDIParentFrame_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21012 return SWIG_Python_InitShadowInstance(args
);
21015 SWIGINTERN PyObject
*_wrap_new_MDIChildFrame(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21016 PyObject
*resultobj
= 0;
21017 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
21018 int arg2
= (int) (int)-1 ;
21019 wxString
const &arg3_defvalue
= wxPyEmptyString
;
21020 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
21021 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
21022 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
21023 wxSize
const &arg5_defvalue
= wxDefaultSize
;
21024 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
21025 long arg6
= (long) wxDEFAULT_FRAME_STYLE
;
21026 wxString
const &arg7_defvalue
= wxPyFrameNameStr
;
21027 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
21028 wxMDIChildFrame
*result
= 0 ;
21033 bool temp3
= false ;
21038 bool temp7
= false ;
21039 PyObject
* obj0
= 0 ;
21040 PyObject
* obj1
= 0 ;
21041 PyObject
* obj2
= 0 ;
21042 PyObject
* obj3
= 0 ;
21043 PyObject
* obj4
= 0 ;
21044 PyObject
* obj5
= 0 ;
21045 PyObject
* obj6
= 0 ;
21046 char * kwnames
[] = {
21047 (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
21050 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_MDIChildFrame",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
21051 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMDIParentFrame
, 0 | 0 );
21052 if (!SWIG_IsOK(res1
)) {
21053 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_MDIChildFrame" "', expected argument " "1"" of type '" "wxMDIParentFrame *""'");
21055 arg1
= reinterpret_cast< wxMDIParentFrame
* >(argp1
);
21057 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
21058 if (!SWIG_IsOK(ecode2
)) {
21059 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_MDIChildFrame" "', expected argument " "2"" of type '" "int""'");
21061 arg2
= static_cast< int >(val2
);
21065 arg3
= wxString_in_helper(obj2
);
21066 if (arg3
== NULL
) SWIG_fail
;
21073 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
21079 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
21083 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
21084 if (!SWIG_IsOK(ecode6
)) {
21085 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_MDIChildFrame" "', expected argument " "6"" of type '" "long""'");
21087 arg6
= static_cast< long >(val6
);
21091 arg7
= wxString_in_helper(obj6
);
21092 if (arg7
== NULL
) SWIG_fail
;
21097 if (!wxPyCheckForApp()) SWIG_fail
;
21098 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21099 result
= (wxMDIChildFrame
*)new wxMDIChildFrame(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
21100 wxPyEndAllowThreads(__tstate
);
21101 if (PyErr_Occurred()) SWIG_fail
;
21103 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMDIChildFrame
, SWIG_POINTER_NEW
| 0 );
21126 SWIGINTERN PyObject
*_wrap_new_PreMDIChildFrame(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21127 PyObject
*resultobj
= 0;
21128 wxMDIChildFrame
*result
= 0 ;
21130 if (!SWIG_Python_UnpackTuple(args
,"new_PreMDIChildFrame",0,0,0)) SWIG_fail
;
21132 if (!wxPyCheckForApp()) SWIG_fail
;
21133 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21134 result
= (wxMDIChildFrame
*)new wxMDIChildFrame();
21135 wxPyEndAllowThreads(__tstate
);
21136 if (PyErr_Occurred()) SWIG_fail
;
21138 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMDIChildFrame
, SWIG_POINTER_OWN
| 0 );
21145 SWIGINTERN PyObject
*_wrap_MDIChildFrame_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21146 PyObject
*resultobj
= 0;
21147 wxMDIChildFrame
*arg1
= (wxMDIChildFrame
*) 0 ;
21148 wxMDIParentFrame
*arg2
= (wxMDIParentFrame
*) 0 ;
21149 int arg3
= (int) (int)-1 ;
21150 wxString
const &arg4_defvalue
= wxPyEmptyString
;
21151 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
21152 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
21153 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
21154 wxSize
const &arg6_defvalue
= wxDefaultSize
;
21155 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
21156 long arg7
= (long) wxDEFAULT_FRAME_STYLE
;
21157 wxString
const &arg8_defvalue
= wxPyFrameNameStr
;
21158 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
21166 bool temp4
= false ;
21171 bool temp8
= false ;
21172 PyObject
* obj0
= 0 ;
21173 PyObject
* obj1
= 0 ;
21174 PyObject
* obj2
= 0 ;
21175 PyObject
* obj3
= 0 ;
21176 PyObject
* obj4
= 0 ;
21177 PyObject
* obj5
= 0 ;
21178 PyObject
* obj6
= 0 ;
21179 PyObject
* obj7
= 0 ;
21180 char * kwnames
[] = {
21181 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
21184 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:MDIChildFrame_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
21185 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMDIChildFrame
, 0 | 0 );
21186 if (!SWIG_IsOK(res1
)) {
21187 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MDIChildFrame_Create" "', expected argument " "1"" of type '" "wxMDIChildFrame *""'");
21189 arg1
= reinterpret_cast< wxMDIChildFrame
* >(argp1
);
21190 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxMDIParentFrame
, 0 | 0 );
21191 if (!SWIG_IsOK(res2
)) {
21192 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "MDIChildFrame_Create" "', expected argument " "2"" of type '" "wxMDIParentFrame *""'");
21194 arg2
= reinterpret_cast< wxMDIParentFrame
* >(argp2
);
21196 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
21197 if (!SWIG_IsOK(ecode3
)) {
21198 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "MDIChildFrame_Create" "', expected argument " "3"" of type '" "int""'");
21200 arg3
= static_cast< int >(val3
);
21204 arg4
= wxString_in_helper(obj3
);
21205 if (arg4
== NULL
) SWIG_fail
;
21212 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
21218 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
21222 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
21223 if (!SWIG_IsOK(ecode7
)) {
21224 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "MDIChildFrame_Create" "', expected argument " "7"" of type '" "long""'");
21226 arg7
= static_cast< long >(val7
);
21230 arg8
= wxString_in_helper(obj7
);
21231 if (arg8
== NULL
) SWIG_fail
;
21236 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21237 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxString
const &)*arg8
);
21238 wxPyEndAllowThreads(__tstate
);
21239 if (PyErr_Occurred()) SWIG_fail
;
21242 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21266 SWIGINTERN PyObject
*_wrap_MDIChildFrame_Activate(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21267 PyObject
*resultobj
= 0;
21268 wxMDIChildFrame
*arg1
= (wxMDIChildFrame
*) 0 ;
21271 PyObject
*swig_obj
[1] ;
21273 if (!args
) SWIG_fail
;
21274 swig_obj
[0] = args
;
21275 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMDIChildFrame
, 0 | 0 );
21276 if (!SWIG_IsOK(res1
)) {
21277 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MDIChildFrame_Activate" "', expected argument " "1"" of type '" "wxMDIChildFrame *""'");
21279 arg1
= reinterpret_cast< wxMDIChildFrame
* >(argp1
);
21281 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21282 (arg1
)->Activate();
21283 wxPyEndAllowThreads(__tstate
);
21284 if (PyErr_Occurred()) SWIG_fail
;
21286 resultobj
= SWIG_Py_Void();
21293 SWIGINTERN PyObject
*MDIChildFrame_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21295 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
21296 SWIG_TypeNewClientData(SWIGTYPE_p_wxMDIChildFrame
, SWIG_NewClientData(obj
));
21297 return SWIG_Py_Void();
21300 SWIGINTERN PyObject
*MDIChildFrame_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21301 return SWIG_Python_InitShadowInstance(args
);
21304 SWIGINTERN PyObject
*_wrap_new_MDIClientWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21305 PyObject
*resultobj
= 0;
21306 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
21307 long arg2
= (long) 0 ;
21308 wxMDIClientWindow
*result
= 0 ;
21313 PyObject
* obj0
= 0 ;
21314 PyObject
* obj1
= 0 ;
21315 char * kwnames
[] = {
21316 (char *) "parent",(char *) "style", NULL
21319 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_MDIClientWindow",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
21320 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMDIParentFrame
, 0 | 0 );
21321 if (!SWIG_IsOK(res1
)) {
21322 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_MDIClientWindow" "', expected argument " "1"" of type '" "wxMDIParentFrame *""'");
21324 arg1
= reinterpret_cast< wxMDIParentFrame
* >(argp1
);
21326 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
21327 if (!SWIG_IsOK(ecode2
)) {
21328 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_MDIClientWindow" "', expected argument " "2"" of type '" "long""'");
21330 arg2
= static_cast< long >(val2
);
21333 if (!wxPyCheckForApp()) SWIG_fail
;
21334 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21335 result
= (wxMDIClientWindow
*)new wxMDIClientWindow(arg1
,arg2
);
21336 wxPyEndAllowThreads(__tstate
);
21337 if (PyErr_Occurred()) SWIG_fail
;
21339 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMDIClientWindow
, SWIG_POINTER_NEW
| 0 );
21346 SWIGINTERN PyObject
*_wrap_new_PreMDIClientWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21347 PyObject
*resultobj
= 0;
21348 wxMDIClientWindow
*result
= 0 ;
21350 if (!SWIG_Python_UnpackTuple(args
,"new_PreMDIClientWindow",0,0,0)) SWIG_fail
;
21352 if (!wxPyCheckForApp()) SWIG_fail
;
21353 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21354 result
= (wxMDIClientWindow
*)new wxMDIClientWindow();
21355 wxPyEndAllowThreads(__tstate
);
21356 if (PyErr_Occurred()) SWIG_fail
;
21358 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMDIClientWindow
, SWIG_POINTER_OWN
| 0 );
21365 SWIGINTERN PyObject
*_wrap_MDIClientWindow_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21366 PyObject
*resultobj
= 0;
21367 wxMDIClientWindow
*arg1
= (wxMDIClientWindow
*) 0 ;
21368 wxMDIParentFrame
*arg2
= (wxMDIParentFrame
*) 0 ;
21369 long arg3
= (long) 0 ;
21377 PyObject
* obj0
= 0 ;
21378 PyObject
* obj1
= 0 ;
21379 PyObject
* obj2
= 0 ;
21380 char * kwnames
[] = {
21381 (char *) "self",(char *) "parent",(char *) "style", NULL
21384 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:MDIClientWindow_Create",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
21385 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMDIClientWindow
, 0 | 0 );
21386 if (!SWIG_IsOK(res1
)) {
21387 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MDIClientWindow_Create" "', expected argument " "1"" of type '" "wxMDIClientWindow *""'");
21389 arg1
= reinterpret_cast< wxMDIClientWindow
* >(argp1
);
21390 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxMDIParentFrame
, 0 | 0 );
21391 if (!SWIG_IsOK(res2
)) {
21392 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "MDIClientWindow_Create" "', expected argument " "2"" of type '" "wxMDIParentFrame *""'");
21394 arg2
= reinterpret_cast< wxMDIParentFrame
* >(argp2
);
21396 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
21397 if (!SWIG_IsOK(ecode3
)) {
21398 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "MDIClientWindow_Create" "', expected argument " "3"" of type '" "long""'");
21400 arg3
= static_cast< long >(val3
);
21403 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21404 result
= (bool)(arg1
)->Create(arg2
,arg3
);
21405 wxPyEndAllowThreads(__tstate
);
21406 if (PyErr_Occurred()) SWIG_fail
;
21409 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21417 SWIGINTERN PyObject
*MDIClientWindow_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21419 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
21420 SWIG_TypeNewClientData(SWIGTYPE_p_wxMDIClientWindow
, SWIG_NewClientData(obj
));
21421 return SWIG_Py_Void();
21424 SWIGINTERN PyObject
*MDIClientWindow_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21425 return SWIG_Python_InitShadowInstance(args
);
21428 SWIGINTERN PyObject
*_wrap_new_PyWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21429 PyObject
*resultobj
= 0;
21430 wxWindow
*arg1
= (wxWindow
*) 0 ;
21431 int arg2
= (int) (int)-1 ;
21432 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
21433 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
21434 wxSize
const &arg4_defvalue
= wxDefaultSize
;
21435 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
21436 long arg5
= (long) 0 ;
21437 wxString
const &arg6_defvalue
= wxPyPanelNameStr
;
21438 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
21439 wxPyWindow
*result
= 0 ;
21448 bool temp6
= false ;
21449 PyObject
* obj0
= 0 ;
21450 PyObject
* obj1
= 0 ;
21451 PyObject
* obj2
= 0 ;
21452 PyObject
* obj3
= 0 ;
21453 PyObject
* obj4
= 0 ;
21454 PyObject
* obj5
= 0 ;
21455 char * kwnames
[] = {
21456 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
21459 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_PyWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
21460 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
21461 if (!SWIG_IsOK(res1
)) {
21462 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PyWindow" "', expected argument " "1"" of type '" "wxWindow *""'");
21464 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
21466 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
21467 if (!SWIG_IsOK(ecode2
)) {
21468 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_PyWindow" "', expected argument " "2"" of type '" "int""'");
21470 arg2
= static_cast< int >(val2
);
21475 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
21481 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
21485 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
21486 if (!SWIG_IsOK(ecode5
)) {
21487 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_PyWindow" "', expected argument " "5"" of type '" "long""'");
21489 arg5
= static_cast< long >(val5
);
21493 arg6
= wxString_in_helper(obj5
);
21494 if (arg6
== NULL
) SWIG_fail
;
21499 if (!wxPyCheckForApp()) SWIG_fail
;
21500 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21501 result
= (wxPyWindow
*)new wxPyWindow(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
21502 wxPyEndAllowThreads(__tstate
);
21503 if (PyErr_Occurred()) SWIG_fail
;
21505 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyWindow
, SWIG_POINTER_NEW
| 0 );
21520 SWIGINTERN PyObject
*_wrap_new_PrePyWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21521 PyObject
*resultobj
= 0;
21522 wxPyWindow
*result
= 0 ;
21524 if (!SWIG_Python_UnpackTuple(args
,"new_PrePyWindow",0,0,0)) SWIG_fail
;
21526 if (!wxPyCheckForApp()) SWIG_fail
;
21527 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21528 result
= (wxPyWindow
*)new wxPyWindow();
21529 wxPyEndAllowThreads(__tstate
);
21530 if (PyErr_Occurred()) SWIG_fail
;
21532 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyWindow
, SWIG_POINTER_OWN
| 0 );
21539 SWIGINTERN PyObject
*_wrap_PyWindow__setCallbackInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21540 PyObject
*resultobj
= 0;
21541 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
21542 PyObject
*arg2
= (PyObject
*) 0 ;
21543 PyObject
*arg3
= (PyObject
*) 0 ;
21546 PyObject
* obj0
= 0 ;
21547 PyObject
* obj1
= 0 ;
21548 PyObject
* obj2
= 0 ;
21549 char * kwnames
[] = {
21550 (char *) "self",(char *) "self",(char *) "_class", NULL
21553 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyWindow__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
21554 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyWindow
, 0 | 0 );
21555 if (!SWIG_IsOK(res1
)) {
21556 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyWindow__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyWindow *""'");
21558 arg1
= reinterpret_cast< wxPyWindow
* >(argp1
);
21562 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21563 (arg1
)->_setCallbackInfo(arg2
,arg3
);
21564 wxPyEndAllowThreads(__tstate
);
21565 if (PyErr_Occurred()) SWIG_fail
;
21567 resultobj
= SWIG_Py_Void();
21574 SWIGINTERN PyObject
*_wrap_PyWindow_SetBestSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21575 PyObject
*resultobj
= 0;
21576 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
21581 PyObject
* obj0
= 0 ;
21582 PyObject
* obj1
= 0 ;
21583 char * kwnames
[] = {
21584 (char *) "self",(char *) "size", NULL
21587 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyWindow_SetBestSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
21588 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyWindow
, 0 | 0 );
21589 if (!SWIG_IsOK(res1
)) {
21590 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyWindow_SetBestSize" "', expected argument " "1"" of type '" "wxPyWindow *""'");
21592 arg1
= reinterpret_cast< wxPyWindow
* >(argp1
);
21595 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
21598 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21599 (arg1
)->SetBestSize((wxSize
const &)*arg2
);
21600 wxPyEndAllowThreads(__tstate
);
21601 if (PyErr_Occurred()) SWIG_fail
;
21603 resultobj
= SWIG_Py_Void();
21610 SWIGINTERN PyObject
*_wrap_PyWindow_DoEraseBackground(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21611 PyObject
*resultobj
= 0;
21612 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
21613 wxDC
*arg2
= (wxDC
*) 0 ;
21619 PyObject
* obj0
= 0 ;
21620 PyObject
* obj1
= 0 ;
21621 char * kwnames
[] = {
21622 (char *) "self",(char *) "dc", NULL
21625 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyWindow_DoEraseBackground",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
21626 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyWindow
, 0 | 0 );
21627 if (!SWIG_IsOK(res1
)) {
21628 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyWindow_DoEraseBackground" "', expected argument " "1"" of type '" "wxPyWindow *""'");
21630 arg1
= reinterpret_cast< wxPyWindow
* >(argp1
);
21631 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxDC
, 0 | 0 );
21632 if (!SWIG_IsOK(res2
)) {
21633 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PyWindow_DoEraseBackground" "', expected argument " "2"" of type '" "wxDC *""'");
21635 arg2
= reinterpret_cast< wxDC
* >(argp2
);
21637 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21638 result
= (bool)(arg1
)->DoEraseBackground(arg2
);
21639 wxPyEndAllowThreads(__tstate
);
21640 if (PyErr_Occurred()) SWIG_fail
;
21643 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21651 SWIGINTERN PyObject
*_wrap_PyWindow_DoMoveWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21652 PyObject
*resultobj
= 0;
21653 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
21668 PyObject
* obj0
= 0 ;
21669 PyObject
* obj1
= 0 ;
21670 PyObject
* obj2
= 0 ;
21671 PyObject
* obj3
= 0 ;
21672 PyObject
* obj4
= 0 ;
21673 char * kwnames
[] = {
21674 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
21677 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:PyWindow_DoMoveWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
21678 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyWindow
, 0 | 0 );
21679 if (!SWIG_IsOK(res1
)) {
21680 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyWindow_DoMoveWindow" "', expected argument " "1"" of type '" "wxPyWindow *""'");
21682 arg1
= reinterpret_cast< wxPyWindow
* >(argp1
);
21683 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
21684 if (!SWIG_IsOK(ecode2
)) {
21685 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PyWindow_DoMoveWindow" "', expected argument " "2"" of type '" "int""'");
21687 arg2
= static_cast< int >(val2
);
21688 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
21689 if (!SWIG_IsOK(ecode3
)) {
21690 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PyWindow_DoMoveWindow" "', expected argument " "3"" of type '" "int""'");
21692 arg3
= static_cast< int >(val3
);
21693 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
21694 if (!SWIG_IsOK(ecode4
)) {
21695 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PyWindow_DoMoveWindow" "', expected argument " "4"" of type '" "int""'");
21697 arg4
= static_cast< int >(val4
);
21698 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
21699 if (!SWIG_IsOK(ecode5
)) {
21700 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PyWindow_DoMoveWindow" "', expected argument " "5"" of type '" "int""'");
21702 arg5
= static_cast< int >(val5
);
21704 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21705 (arg1
)->DoMoveWindow(arg2
,arg3
,arg4
,arg5
);
21706 wxPyEndAllowThreads(__tstate
);
21707 if (PyErr_Occurred()) SWIG_fail
;
21709 resultobj
= SWIG_Py_Void();
21716 SWIGINTERN PyObject
*_wrap_PyWindow_DoSetSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21717 PyObject
*resultobj
= 0;
21718 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
21723 int arg6
= (int) wxSIZE_AUTO
;
21736 PyObject
* obj0
= 0 ;
21737 PyObject
* obj1
= 0 ;
21738 PyObject
* obj2
= 0 ;
21739 PyObject
* obj3
= 0 ;
21740 PyObject
* obj4
= 0 ;
21741 PyObject
* obj5
= 0 ;
21742 char * kwnames
[] = {
21743 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "sizeFlags", NULL
21746 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|O:PyWindow_DoSetSize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
21747 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyWindow
, 0 | 0 );
21748 if (!SWIG_IsOK(res1
)) {
21749 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyWindow_DoSetSize" "', expected argument " "1"" of type '" "wxPyWindow *""'");
21751 arg1
= reinterpret_cast< wxPyWindow
* >(argp1
);
21752 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
21753 if (!SWIG_IsOK(ecode2
)) {
21754 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PyWindow_DoSetSize" "', expected argument " "2"" of type '" "int""'");
21756 arg2
= static_cast< int >(val2
);
21757 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
21758 if (!SWIG_IsOK(ecode3
)) {
21759 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PyWindow_DoSetSize" "', expected argument " "3"" of type '" "int""'");
21761 arg3
= static_cast< int >(val3
);
21762 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
21763 if (!SWIG_IsOK(ecode4
)) {
21764 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PyWindow_DoSetSize" "', expected argument " "4"" of type '" "int""'");
21766 arg4
= static_cast< int >(val4
);
21767 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
21768 if (!SWIG_IsOK(ecode5
)) {
21769 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PyWindow_DoSetSize" "', expected argument " "5"" of type '" "int""'");
21771 arg5
= static_cast< int >(val5
);
21773 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
21774 if (!SWIG_IsOK(ecode6
)) {
21775 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "PyWindow_DoSetSize" "', expected argument " "6"" of type '" "int""'");
21777 arg6
= static_cast< int >(val6
);
21780 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21781 (arg1
)->DoSetSize(arg2
,arg3
,arg4
,arg5
,arg6
);
21782 wxPyEndAllowThreads(__tstate
);
21783 if (PyErr_Occurred()) SWIG_fail
;
21785 resultobj
= SWIG_Py_Void();
21792 SWIGINTERN PyObject
*_wrap_PyWindow_DoSetClientSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21793 PyObject
*resultobj
= 0;
21794 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
21803 PyObject
* obj0
= 0 ;
21804 PyObject
* obj1
= 0 ;
21805 PyObject
* obj2
= 0 ;
21806 char * kwnames
[] = {
21807 (char *) "self",(char *) "width",(char *) "height", NULL
21810 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyWindow_DoSetClientSize",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
21811 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyWindow
, 0 | 0 );
21812 if (!SWIG_IsOK(res1
)) {
21813 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyWindow_DoSetClientSize" "', expected argument " "1"" of type '" "wxPyWindow *""'");
21815 arg1
= reinterpret_cast< wxPyWindow
* >(argp1
);
21816 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
21817 if (!SWIG_IsOK(ecode2
)) {
21818 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PyWindow_DoSetClientSize" "', expected argument " "2"" of type '" "int""'");
21820 arg2
= static_cast< int >(val2
);
21821 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
21822 if (!SWIG_IsOK(ecode3
)) {
21823 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PyWindow_DoSetClientSize" "', expected argument " "3"" of type '" "int""'");
21825 arg3
= static_cast< int >(val3
);
21827 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21828 (arg1
)->DoSetClientSize(arg2
,arg3
);
21829 wxPyEndAllowThreads(__tstate
);
21830 if (PyErr_Occurred()) SWIG_fail
;
21832 resultobj
= SWIG_Py_Void();
21839 SWIGINTERN PyObject
*_wrap_PyWindow_DoSetVirtualSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21840 PyObject
*resultobj
= 0;
21841 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
21850 PyObject
* obj0
= 0 ;
21851 PyObject
* obj1
= 0 ;
21852 PyObject
* obj2
= 0 ;
21853 char * kwnames
[] = {
21854 (char *) "self",(char *) "x",(char *) "y", NULL
21857 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyWindow_DoSetVirtualSize",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
21858 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyWindow
, 0 | 0 );
21859 if (!SWIG_IsOK(res1
)) {
21860 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyWindow_DoSetVirtualSize" "', expected argument " "1"" of type '" "wxPyWindow *""'");
21862 arg1
= reinterpret_cast< wxPyWindow
* >(argp1
);
21863 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
21864 if (!SWIG_IsOK(ecode2
)) {
21865 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PyWindow_DoSetVirtualSize" "', expected argument " "2"" of type '" "int""'");
21867 arg2
= static_cast< int >(val2
);
21868 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
21869 if (!SWIG_IsOK(ecode3
)) {
21870 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PyWindow_DoSetVirtualSize" "', expected argument " "3"" of type '" "int""'");
21872 arg3
= static_cast< int >(val3
);
21874 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21875 (arg1
)->DoSetVirtualSize(arg2
,arg3
);
21876 wxPyEndAllowThreads(__tstate
);
21877 if (PyErr_Occurred()) SWIG_fail
;
21879 resultobj
= SWIG_Py_Void();
21886 SWIGINTERN PyObject
*_wrap_PyWindow_DoGetSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21887 PyObject
*resultobj
= 0;
21888 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
21889 int *arg2
= (int *) 0 ;
21890 int *arg3
= (int *) 0 ;
21894 int res2
= SWIG_TMPOBJ
;
21896 int res3
= SWIG_TMPOBJ
;
21897 PyObject
*swig_obj
[1] ;
21901 if (!args
) SWIG_fail
;
21902 swig_obj
[0] = args
;
21903 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyWindow
, 0 | 0 );
21904 if (!SWIG_IsOK(res1
)) {
21905 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyWindow_DoGetSize" "', expected argument " "1"" of type '" "wxPyWindow const *""'");
21907 arg1
= reinterpret_cast< wxPyWindow
* >(argp1
);
21909 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21910 ((wxPyWindow
const *)arg1
)->DoGetSize(arg2
,arg3
);
21911 wxPyEndAllowThreads(__tstate
);
21912 if (PyErr_Occurred()) SWIG_fail
;
21914 resultobj
= SWIG_Py_Void();
21915 if (SWIG_IsTmpObj(res2
)) {
21916 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
21918 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
21919 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
21921 if (SWIG_IsTmpObj(res3
)) {
21922 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
21924 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
21925 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
21933 SWIGINTERN PyObject
*_wrap_PyWindow_DoGetClientSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21934 PyObject
*resultobj
= 0;
21935 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
21936 int *arg2
= (int *) 0 ;
21937 int *arg3
= (int *) 0 ;
21941 int res2
= SWIG_TMPOBJ
;
21943 int res3
= SWIG_TMPOBJ
;
21944 PyObject
*swig_obj
[1] ;
21948 if (!args
) SWIG_fail
;
21949 swig_obj
[0] = args
;
21950 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyWindow
, 0 | 0 );
21951 if (!SWIG_IsOK(res1
)) {
21952 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyWindow_DoGetClientSize" "', expected argument " "1"" of type '" "wxPyWindow const *""'");
21954 arg1
= reinterpret_cast< wxPyWindow
* >(argp1
);
21956 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21957 ((wxPyWindow
const *)arg1
)->DoGetClientSize(arg2
,arg3
);
21958 wxPyEndAllowThreads(__tstate
);
21959 if (PyErr_Occurred()) SWIG_fail
;
21961 resultobj
= SWIG_Py_Void();
21962 if (SWIG_IsTmpObj(res2
)) {
21963 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
21965 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
21966 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
21968 if (SWIG_IsTmpObj(res3
)) {
21969 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
21971 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
21972 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
21980 SWIGINTERN PyObject
*_wrap_PyWindow_DoGetPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21981 PyObject
*resultobj
= 0;
21982 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
21983 int *arg2
= (int *) 0 ;
21984 int *arg3
= (int *) 0 ;
21988 int res2
= SWIG_TMPOBJ
;
21990 int res3
= SWIG_TMPOBJ
;
21991 PyObject
*swig_obj
[1] ;
21995 if (!args
) SWIG_fail
;
21996 swig_obj
[0] = args
;
21997 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyWindow
, 0 | 0 );
21998 if (!SWIG_IsOK(res1
)) {
21999 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyWindow_DoGetPosition" "', expected argument " "1"" of type '" "wxPyWindow const *""'");
22001 arg1
= reinterpret_cast< wxPyWindow
* >(argp1
);
22003 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22004 ((wxPyWindow
const *)arg1
)->DoGetPosition(arg2
,arg3
);
22005 wxPyEndAllowThreads(__tstate
);
22006 if (PyErr_Occurred()) SWIG_fail
;
22008 resultobj
= SWIG_Py_Void();
22009 if (SWIG_IsTmpObj(res2
)) {
22010 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
22012 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
22013 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
22015 if (SWIG_IsTmpObj(res3
)) {
22016 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
22018 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
22019 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
22027 SWIGINTERN PyObject
*_wrap_PyWindow_DoGetVirtualSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22028 PyObject
*resultobj
= 0;
22029 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
22033 PyObject
*swig_obj
[1] ;
22035 if (!args
) SWIG_fail
;
22036 swig_obj
[0] = args
;
22037 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyWindow
, 0 | 0 );
22038 if (!SWIG_IsOK(res1
)) {
22039 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyWindow_DoGetVirtualSize" "', expected argument " "1"" of type '" "wxPyWindow const *""'");
22041 arg1
= reinterpret_cast< wxPyWindow
* >(argp1
);
22043 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22044 result
= ((wxPyWindow
const *)arg1
)->DoGetVirtualSize();
22045 wxPyEndAllowThreads(__tstate
);
22046 if (PyErr_Occurred()) SWIG_fail
;
22048 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
22055 SWIGINTERN PyObject
*_wrap_PyWindow_DoGetBestSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22056 PyObject
*resultobj
= 0;
22057 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
22061 PyObject
*swig_obj
[1] ;
22063 if (!args
) SWIG_fail
;
22064 swig_obj
[0] = args
;
22065 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyWindow
, 0 | 0 );
22066 if (!SWIG_IsOK(res1
)) {
22067 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyWindow_DoGetBestSize" "', expected argument " "1"" of type '" "wxPyWindow const *""'");
22069 arg1
= reinterpret_cast< wxPyWindow
* >(argp1
);
22071 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22072 result
= ((wxPyWindow
const *)arg1
)->DoGetBestSize();
22073 wxPyEndAllowThreads(__tstate
);
22074 if (PyErr_Occurred()) SWIG_fail
;
22076 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
22083 SWIGINTERN PyObject
*_wrap_PyWindow_GetDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22084 PyObject
*resultobj
= 0;
22085 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
22086 SwigValueWrapper
<wxVisualAttributes
> result
;
22089 PyObject
*swig_obj
[1] ;
22091 if (!args
) SWIG_fail
;
22092 swig_obj
[0] = args
;
22093 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyWindow
, 0 | 0 );
22094 if (!SWIG_IsOK(res1
)) {
22095 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyWindow_GetDefaultAttributes" "', expected argument " "1"" of type '" "wxPyWindow *""'");
22097 arg1
= reinterpret_cast< wxPyWindow
* >(argp1
);
22099 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22100 result
= (arg1
)->GetDefaultAttributes();
22101 wxPyEndAllowThreads(__tstate
);
22102 if (PyErr_Occurred()) SWIG_fail
;
22104 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
22111 SWIGINTERN PyObject
*_wrap_PyWindow_OnInternalIdle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22112 PyObject
*resultobj
= 0;
22113 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
22116 PyObject
*swig_obj
[1] ;
22118 if (!args
) SWIG_fail
;
22119 swig_obj
[0] = args
;
22120 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyWindow
, 0 | 0 );
22121 if (!SWIG_IsOK(res1
)) {
22122 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyWindow_OnInternalIdle" "', expected argument " "1"" of type '" "wxPyWindow *""'");
22124 arg1
= reinterpret_cast< wxPyWindow
* >(argp1
);
22126 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22127 (arg1
)->OnInternalIdle();
22128 wxPyEndAllowThreads(__tstate
);
22129 if (PyErr_Occurred()) SWIG_fail
;
22131 resultobj
= SWIG_Py_Void();
22138 SWIGINTERN PyObject
*PyWindow_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22140 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
22141 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyWindow
, SWIG_NewClientData(obj
));
22142 return SWIG_Py_Void();
22145 SWIGINTERN PyObject
*PyWindow_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22146 return SWIG_Python_InitShadowInstance(args
);
22149 SWIGINTERN PyObject
*_wrap_new_PyPanel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22150 PyObject
*resultobj
= 0;
22151 wxWindow
*arg1
= (wxWindow
*) 0 ;
22152 int arg2
= (int) (int)-1 ;
22153 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
22154 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
22155 wxSize
const &arg4_defvalue
= wxDefaultSize
;
22156 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
22157 long arg5
= (long) 0 ;
22158 wxString
const &arg6_defvalue
= wxPyPanelNameStr
;
22159 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
22160 wxPyPanel
*result
= 0 ;
22169 bool temp6
= false ;
22170 PyObject
* obj0
= 0 ;
22171 PyObject
* obj1
= 0 ;
22172 PyObject
* obj2
= 0 ;
22173 PyObject
* obj3
= 0 ;
22174 PyObject
* obj4
= 0 ;
22175 PyObject
* obj5
= 0 ;
22176 char * kwnames
[] = {
22177 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
22180 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_PyPanel",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
22181 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
22182 if (!SWIG_IsOK(res1
)) {
22183 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PyPanel" "', expected argument " "1"" of type '" "wxWindow *""'");
22185 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
22187 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
22188 if (!SWIG_IsOK(ecode2
)) {
22189 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_PyPanel" "', expected argument " "2"" of type '" "int""'");
22191 arg2
= static_cast< int >(val2
);
22196 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
22202 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
22206 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
22207 if (!SWIG_IsOK(ecode5
)) {
22208 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_PyPanel" "', expected argument " "5"" of type '" "long""'");
22210 arg5
= static_cast< long >(val5
);
22214 arg6
= wxString_in_helper(obj5
);
22215 if (arg6
== NULL
) SWIG_fail
;
22220 if (!wxPyCheckForApp()) SWIG_fail
;
22221 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22222 result
= (wxPyPanel
*)new wxPyPanel(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
22223 wxPyEndAllowThreads(__tstate
);
22224 if (PyErr_Occurred()) SWIG_fail
;
22226 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyPanel
, SWIG_POINTER_NEW
| 0 );
22241 SWIGINTERN PyObject
*_wrap_new_PrePyPanel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22242 PyObject
*resultobj
= 0;
22243 wxPyPanel
*result
= 0 ;
22245 if (!SWIG_Python_UnpackTuple(args
,"new_PrePyPanel",0,0,0)) SWIG_fail
;
22247 if (!wxPyCheckForApp()) SWIG_fail
;
22248 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22249 result
= (wxPyPanel
*)new wxPyPanel();
22250 wxPyEndAllowThreads(__tstate
);
22251 if (PyErr_Occurred()) SWIG_fail
;
22253 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyPanel
, SWIG_POINTER_OWN
| 0 );
22260 SWIGINTERN PyObject
*_wrap_PyPanel__setCallbackInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22261 PyObject
*resultobj
= 0;
22262 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
22263 PyObject
*arg2
= (PyObject
*) 0 ;
22264 PyObject
*arg3
= (PyObject
*) 0 ;
22267 PyObject
* obj0
= 0 ;
22268 PyObject
* obj1
= 0 ;
22269 PyObject
* obj2
= 0 ;
22270 char * kwnames
[] = {
22271 (char *) "self",(char *) "self",(char *) "_class", NULL
22274 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyPanel__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
22275 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPanel
, 0 | 0 );
22276 if (!SWIG_IsOK(res1
)) {
22277 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyPanel__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyPanel *""'");
22279 arg1
= reinterpret_cast< wxPyPanel
* >(argp1
);
22283 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22284 (arg1
)->_setCallbackInfo(arg2
,arg3
);
22285 wxPyEndAllowThreads(__tstate
);
22286 if (PyErr_Occurred()) SWIG_fail
;
22288 resultobj
= SWIG_Py_Void();
22295 SWIGINTERN PyObject
*_wrap_PyPanel_SetBestSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22296 PyObject
*resultobj
= 0;
22297 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
22302 PyObject
* obj0
= 0 ;
22303 PyObject
* obj1
= 0 ;
22304 char * kwnames
[] = {
22305 (char *) "self",(char *) "size", NULL
22308 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyPanel_SetBestSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
22309 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPanel
, 0 | 0 );
22310 if (!SWIG_IsOK(res1
)) {
22311 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyPanel_SetBestSize" "', expected argument " "1"" of type '" "wxPyPanel *""'");
22313 arg1
= reinterpret_cast< wxPyPanel
* >(argp1
);
22316 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
22319 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22320 (arg1
)->SetBestSize((wxSize
const &)*arg2
);
22321 wxPyEndAllowThreads(__tstate
);
22322 if (PyErr_Occurred()) SWIG_fail
;
22324 resultobj
= SWIG_Py_Void();
22331 SWIGINTERN PyObject
*_wrap_PyPanel_DoEraseBackground(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22332 PyObject
*resultobj
= 0;
22333 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
22334 wxDC
*arg2
= (wxDC
*) 0 ;
22340 PyObject
* obj0
= 0 ;
22341 PyObject
* obj1
= 0 ;
22342 char * kwnames
[] = {
22343 (char *) "self",(char *) "dc", NULL
22346 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyPanel_DoEraseBackground",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
22347 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPanel
, 0 | 0 );
22348 if (!SWIG_IsOK(res1
)) {
22349 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyPanel_DoEraseBackground" "', expected argument " "1"" of type '" "wxPyPanel *""'");
22351 arg1
= reinterpret_cast< wxPyPanel
* >(argp1
);
22352 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxDC
, 0 | 0 );
22353 if (!SWIG_IsOK(res2
)) {
22354 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PyPanel_DoEraseBackground" "', expected argument " "2"" of type '" "wxDC *""'");
22356 arg2
= reinterpret_cast< wxDC
* >(argp2
);
22358 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22359 result
= (bool)(arg1
)->DoEraseBackground(arg2
);
22360 wxPyEndAllowThreads(__tstate
);
22361 if (PyErr_Occurred()) SWIG_fail
;
22364 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22372 SWIGINTERN PyObject
*_wrap_PyPanel_DoMoveWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22373 PyObject
*resultobj
= 0;
22374 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
22389 PyObject
* obj0
= 0 ;
22390 PyObject
* obj1
= 0 ;
22391 PyObject
* obj2
= 0 ;
22392 PyObject
* obj3
= 0 ;
22393 PyObject
* obj4
= 0 ;
22394 char * kwnames
[] = {
22395 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
22398 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:PyPanel_DoMoveWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
22399 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPanel
, 0 | 0 );
22400 if (!SWIG_IsOK(res1
)) {
22401 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyPanel_DoMoveWindow" "', expected argument " "1"" of type '" "wxPyPanel *""'");
22403 arg1
= reinterpret_cast< wxPyPanel
* >(argp1
);
22404 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
22405 if (!SWIG_IsOK(ecode2
)) {
22406 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PyPanel_DoMoveWindow" "', expected argument " "2"" of type '" "int""'");
22408 arg2
= static_cast< int >(val2
);
22409 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
22410 if (!SWIG_IsOK(ecode3
)) {
22411 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PyPanel_DoMoveWindow" "', expected argument " "3"" of type '" "int""'");
22413 arg3
= static_cast< int >(val3
);
22414 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
22415 if (!SWIG_IsOK(ecode4
)) {
22416 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PyPanel_DoMoveWindow" "', expected argument " "4"" of type '" "int""'");
22418 arg4
= static_cast< int >(val4
);
22419 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
22420 if (!SWIG_IsOK(ecode5
)) {
22421 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PyPanel_DoMoveWindow" "', expected argument " "5"" of type '" "int""'");
22423 arg5
= static_cast< int >(val5
);
22425 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22426 (arg1
)->DoMoveWindow(arg2
,arg3
,arg4
,arg5
);
22427 wxPyEndAllowThreads(__tstate
);
22428 if (PyErr_Occurred()) SWIG_fail
;
22430 resultobj
= SWIG_Py_Void();
22437 SWIGINTERN PyObject
*_wrap_PyPanel_DoSetSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22438 PyObject
*resultobj
= 0;
22439 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
22444 int arg6
= (int) wxSIZE_AUTO
;
22457 PyObject
* obj0
= 0 ;
22458 PyObject
* obj1
= 0 ;
22459 PyObject
* obj2
= 0 ;
22460 PyObject
* obj3
= 0 ;
22461 PyObject
* obj4
= 0 ;
22462 PyObject
* obj5
= 0 ;
22463 char * kwnames
[] = {
22464 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "sizeFlags", NULL
22467 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|O:PyPanel_DoSetSize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
22468 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPanel
, 0 | 0 );
22469 if (!SWIG_IsOK(res1
)) {
22470 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyPanel_DoSetSize" "', expected argument " "1"" of type '" "wxPyPanel *""'");
22472 arg1
= reinterpret_cast< wxPyPanel
* >(argp1
);
22473 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
22474 if (!SWIG_IsOK(ecode2
)) {
22475 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PyPanel_DoSetSize" "', expected argument " "2"" of type '" "int""'");
22477 arg2
= static_cast< int >(val2
);
22478 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
22479 if (!SWIG_IsOK(ecode3
)) {
22480 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PyPanel_DoSetSize" "', expected argument " "3"" of type '" "int""'");
22482 arg3
= static_cast< int >(val3
);
22483 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
22484 if (!SWIG_IsOK(ecode4
)) {
22485 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PyPanel_DoSetSize" "', expected argument " "4"" of type '" "int""'");
22487 arg4
= static_cast< int >(val4
);
22488 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
22489 if (!SWIG_IsOK(ecode5
)) {
22490 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PyPanel_DoSetSize" "', expected argument " "5"" of type '" "int""'");
22492 arg5
= static_cast< int >(val5
);
22494 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
22495 if (!SWIG_IsOK(ecode6
)) {
22496 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "PyPanel_DoSetSize" "', expected argument " "6"" of type '" "int""'");
22498 arg6
= static_cast< int >(val6
);
22501 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22502 (arg1
)->DoSetSize(arg2
,arg3
,arg4
,arg5
,arg6
);
22503 wxPyEndAllowThreads(__tstate
);
22504 if (PyErr_Occurred()) SWIG_fail
;
22506 resultobj
= SWIG_Py_Void();
22513 SWIGINTERN PyObject
*_wrap_PyPanel_DoSetClientSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22514 PyObject
*resultobj
= 0;
22515 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
22524 PyObject
* obj0
= 0 ;
22525 PyObject
* obj1
= 0 ;
22526 PyObject
* obj2
= 0 ;
22527 char * kwnames
[] = {
22528 (char *) "self",(char *) "width",(char *) "height", NULL
22531 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyPanel_DoSetClientSize",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
22532 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPanel
, 0 | 0 );
22533 if (!SWIG_IsOK(res1
)) {
22534 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyPanel_DoSetClientSize" "', expected argument " "1"" of type '" "wxPyPanel *""'");
22536 arg1
= reinterpret_cast< wxPyPanel
* >(argp1
);
22537 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
22538 if (!SWIG_IsOK(ecode2
)) {
22539 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PyPanel_DoSetClientSize" "', expected argument " "2"" of type '" "int""'");
22541 arg2
= static_cast< int >(val2
);
22542 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
22543 if (!SWIG_IsOK(ecode3
)) {
22544 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PyPanel_DoSetClientSize" "', expected argument " "3"" of type '" "int""'");
22546 arg3
= static_cast< int >(val3
);
22548 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22549 (arg1
)->DoSetClientSize(arg2
,arg3
);
22550 wxPyEndAllowThreads(__tstate
);
22551 if (PyErr_Occurred()) SWIG_fail
;
22553 resultobj
= SWIG_Py_Void();
22560 SWIGINTERN PyObject
*_wrap_PyPanel_DoSetVirtualSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22561 PyObject
*resultobj
= 0;
22562 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
22571 PyObject
* obj0
= 0 ;
22572 PyObject
* obj1
= 0 ;
22573 PyObject
* obj2
= 0 ;
22574 char * kwnames
[] = {
22575 (char *) "self",(char *) "x",(char *) "y", NULL
22578 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyPanel_DoSetVirtualSize",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
22579 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPanel
, 0 | 0 );
22580 if (!SWIG_IsOK(res1
)) {
22581 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyPanel_DoSetVirtualSize" "', expected argument " "1"" of type '" "wxPyPanel *""'");
22583 arg1
= reinterpret_cast< wxPyPanel
* >(argp1
);
22584 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
22585 if (!SWIG_IsOK(ecode2
)) {
22586 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PyPanel_DoSetVirtualSize" "', expected argument " "2"" of type '" "int""'");
22588 arg2
= static_cast< int >(val2
);
22589 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
22590 if (!SWIG_IsOK(ecode3
)) {
22591 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PyPanel_DoSetVirtualSize" "', expected argument " "3"" of type '" "int""'");
22593 arg3
= static_cast< int >(val3
);
22595 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22596 (arg1
)->DoSetVirtualSize(arg2
,arg3
);
22597 wxPyEndAllowThreads(__tstate
);
22598 if (PyErr_Occurred()) SWIG_fail
;
22600 resultobj
= SWIG_Py_Void();
22607 SWIGINTERN PyObject
*_wrap_PyPanel_DoGetSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22608 PyObject
*resultobj
= 0;
22609 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
22610 int *arg2
= (int *) 0 ;
22611 int *arg3
= (int *) 0 ;
22615 int res2
= SWIG_TMPOBJ
;
22617 int res3
= SWIG_TMPOBJ
;
22618 PyObject
*swig_obj
[1] ;
22622 if (!args
) SWIG_fail
;
22623 swig_obj
[0] = args
;
22624 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPanel
, 0 | 0 );
22625 if (!SWIG_IsOK(res1
)) {
22626 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyPanel_DoGetSize" "', expected argument " "1"" of type '" "wxPyPanel const *""'");
22628 arg1
= reinterpret_cast< wxPyPanel
* >(argp1
);
22630 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22631 ((wxPyPanel
const *)arg1
)->DoGetSize(arg2
,arg3
);
22632 wxPyEndAllowThreads(__tstate
);
22633 if (PyErr_Occurred()) SWIG_fail
;
22635 resultobj
= SWIG_Py_Void();
22636 if (SWIG_IsTmpObj(res2
)) {
22637 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
22639 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
22640 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
22642 if (SWIG_IsTmpObj(res3
)) {
22643 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
22645 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
22646 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
22654 SWIGINTERN PyObject
*_wrap_PyPanel_DoGetClientSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22655 PyObject
*resultobj
= 0;
22656 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
22657 int *arg2
= (int *) 0 ;
22658 int *arg3
= (int *) 0 ;
22662 int res2
= SWIG_TMPOBJ
;
22664 int res3
= SWIG_TMPOBJ
;
22665 PyObject
*swig_obj
[1] ;
22669 if (!args
) SWIG_fail
;
22670 swig_obj
[0] = args
;
22671 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPanel
, 0 | 0 );
22672 if (!SWIG_IsOK(res1
)) {
22673 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyPanel_DoGetClientSize" "', expected argument " "1"" of type '" "wxPyPanel const *""'");
22675 arg1
= reinterpret_cast< wxPyPanel
* >(argp1
);
22677 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22678 ((wxPyPanel
const *)arg1
)->DoGetClientSize(arg2
,arg3
);
22679 wxPyEndAllowThreads(__tstate
);
22680 if (PyErr_Occurred()) SWIG_fail
;
22682 resultobj
= SWIG_Py_Void();
22683 if (SWIG_IsTmpObj(res2
)) {
22684 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
22686 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
22687 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
22689 if (SWIG_IsTmpObj(res3
)) {
22690 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
22692 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
22693 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
22701 SWIGINTERN PyObject
*_wrap_PyPanel_DoGetPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22702 PyObject
*resultobj
= 0;
22703 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
22704 int *arg2
= (int *) 0 ;
22705 int *arg3
= (int *) 0 ;
22709 int res2
= SWIG_TMPOBJ
;
22711 int res3
= SWIG_TMPOBJ
;
22712 PyObject
*swig_obj
[1] ;
22716 if (!args
) SWIG_fail
;
22717 swig_obj
[0] = args
;
22718 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPanel
, 0 | 0 );
22719 if (!SWIG_IsOK(res1
)) {
22720 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyPanel_DoGetPosition" "', expected argument " "1"" of type '" "wxPyPanel const *""'");
22722 arg1
= reinterpret_cast< wxPyPanel
* >(argp1
);
22724 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22725 ((wxPyPanel
const *)arg1
)->DoGetPosition(arg2
,arg3
);
22726 wxPyEndAllowThreads(__tstate
);
22727 if (PyErr_Occurred()) SWIG_fail
;
22729 resultobj
= SWIG_Py_Void();
22730 if (SWIG_IsTmpObj(res2
)) {
22731 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
22733 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
22734 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
22736 if (SWIG_IsTmpObj(res3
)) {
22737 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
22739 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
22740 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
22748 SWIGINTERN PyObject
*_wrap_PyPanel_DoGetVirtualSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22749 PyObject
*resultobj
= 0;
22750 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
22754 PyObject
*swig_obj
[1] ;
22756 if (!args
) SWIG_fail
;
22757 swig_obj
[0] = args
;
22758 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPanel
, 0 | 0 );
22759 if (!SWIG_IsOK(res1
)) {
22760 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyPanel_DoGetVirtualSize" "', expected argument " "1"" of type '" "wxPyPanel const *""'");
22762 arg1
= reinterpret_cast< wxPyPanel
* >(argp1
);
22764 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22765 result
= ((wxPyPanel
const *)arg1
)->DoGetVirtualSize();
22766 wxPyEndAllowThreads(__tstate
);
22767 if (PyErr_Occurred()) SWIG_fail
;
22769 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
22776 SWIGINTERN PyObject
*_wrap_PyPanel_DoGetBestSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22777 PyObject
*resultobj
= 0;
22778 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
22782 PyObject
*swig_obj
[1] ;
22784 if (!args
) SWIG_fail
;
22785 swig_obj
[0] = args
;
22786 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPanel
, 0 | 0 );
22787 if (!SWIG_IsOK(res1
)) {
22788 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyPanel_DoGetBestSize" "', expected argument " "1"" of type '" "wxPyPanel const *""'");
22790 arg1
= reinterpret_cast< wxPyPanel
* >(argp1
);
22792 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22793 result
= ((wxPyPanel
const *)arg1
)->DoGetBestSize();
22794 wxPyEndAllowThreads(__tstate
);
22795 if (PyErr_Occurred()) SWIG_fail
;
22797 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
22804 SWIGINTERN PyObject
*_wrap_PyPanel_GetDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22805 PyObject
*resultobj
= 0;
22806 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
22807 SwigValueWrapper
<wxVisualAttributes
> result
;
22810 PyObject
*swig_obj
[1] ;
22812 if (!args
) SWIG_fail
;
22813 swig_obj
[0] = args
;
22814 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPanel
, 0 | 0 );
22815 if (!SWIG_IsOK(res1
)) {
22816 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyPanel_GetDefaultAttributes" "', expected argument " "1"" of type '" "wxPyPanel *""'");
22818 arg1
= reinterpret_cast< wxPyPanel
* >(argp1
);
22820 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22821 result
= (arg1
)->GetDefaultAttributes();
22822 wxPyEndAllowThreads(__tstate
);
22823 if (PyErr_Occurred()) SWIG_fail
;
22825 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
22832 SWIGINTERN PyObject
*_wrap_PyPanel_OnInternalIdle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22833 PyObject
*resultobj
= 0;
22834 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
22837 PyObject
*swig_obj
[1] ;
22839 if (!args
) SWIG_fail
;
22840 swig_obj
[0] = args
;
22841 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPanel
, 0 | 0 );
22842 if (!SWIG_IsOK(res1
)) {
22843 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyPanel_OnInternalIdle" "', expected argument " "1"" of type '" "wxPyPanel *""'");
22845 arg1
= reinterpret_cast< wxPyPanel
* >(argp1
);
22847 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22848 (arg1
)->OnInternalIdle();
22849 wxPyEndAllowThreads(__tstate
);
22850 if (PyErr_Occurred()) SWIG_fail
;
22852 resultobj
= SWIG_Py_Void();
22859 SWIGINTERN PyObject
*PyPanel_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22861 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
22862 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyPanel
, SWIG_NewClientData(obj
));
22863 return SWIG_Py_Void();
22866 SWIGINTERN PyObject
*PyPanel_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22867 return SWIG_Python_InitShadowInstance(args
);
22870 SWIGINTERN PyObject
*_wrap_new_PyScrolledWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22871 PyObject
*resultobj
= 0;
22872 wxWindow
*arg1
= (wxWindow
*) 0 ;
22873 int arg2
= (int) (int)-1 ;
22874 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
22875 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
22876 wxSize
const &arg4_defvalue
= wxDefaultSize
;
22877 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
22878 long arg5
= (long) 0 ;
22879 wxString
const &arg6_defvalue
= wxPyPanelNameStr
;
22880 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
22881 wxPyScrolledWindow
*result
= 0 ;
22890 bool temp6
= false ;
22891 PyObject
* obj0
= 0 ;
22892 PyObject
* obj1
= 0 ;
22893 PyObject
* obj2
= 0 ;
22894 PyObject
* obj3
= 0 ;
22895 PyObject
* obj4
= 0 ;
22896 PyObject
* obj5
= 0 ;
22897 char * kwnames
[] = {
22898 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
22901 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_PyScrolledWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
22902 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
22903 if (!SWIG_IsOK(res1
)) {
22904 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PyScrolledWindow" "', expected argument " "1"" of type '" "wxWindow *""'");
22906 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
22908 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
22909 if (!SWIG_IsOK(ecode2
)) {
22910 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_PyScrolledWindow" "', expected argument " "2"" of type '" "int""'");
22912 arg2
= static_cast< int >(val2
);
22917 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
22923 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
22927 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
22928 if (!SWIG_IsOK(ecode5
)) {
22929 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_PyScrolledWindow" "', expected argument " "5"" of type '" "long""'");
22931 arg5
= static_cast< long >(val5
);
22935 arg6
= wxString_in_helper(obj5
);
22936 if (arg6
== NULL
) SWIG_fail
;
22941 if (!wxPyCheckForApp()) SWIG_fail
;
22942 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22943 result
= (wxPyScrolledWindow
*)new wxPyScrolledWindow(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
22944 wxPyEndAllowThreads(__tstate
);
22945 if (PyErr_Occurred()) SWIG_fail
;
22947 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyScrolledWindow
, SWIG_POINTER_NEW
| 0 );
22962 SWIGINTERN PyObject
*_wrap_new_PrePyScrolledWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22963 PyObject
*resultobj
= 0;
22964 wxPyScrolledWindow
*result
= 0 ;
22966 if (!SWIG_Python_UnpackTuple(args
,"new_PrePyScrolledWindow",0,0,0)) SWIG_fail
;
22968 if (!wxPyCheckForApp()) SWIG_fail
;
22969 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22970 result
= (wxPyScrolledWindow
*)new wxPyScrolledWindow();
22971 wxPyEndAllowThreads(__tstate
);
22972 if (PyErr_Occurred()) SWIG_fail
;
22974 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyScrolledWindow
, SWIG_POINTER_OWN
| 0 );
22981 SWIGINTERN PyObject
*_wrap_PyScrolledWindow__setCallbackInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22982 PyObject
*resultobj
= 0;
22983 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
22984 PyObject
*arg2
= (PyObject
*) 0 ;
22985 PyObject
*arg3
= (PyObject
*) 0 ;
22988 PyObject
* obj0
= 0 ;
22989 PyObject
* obj1
= 0 ;
22990 PyObject
* obj2
= 0 ;
22991 char * kwnames
[] = {
22992 (char *) "self",(char *) "self",(char *) "_class", NULL
22995 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyScrolledWindow__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
22996 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyScrolledWindow
, 0 | 0 );
22997 if (!SWIG_IsOK(res1
)) {
22998 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyScrolledWindow__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyScrolledWindow *""'");
23000 arg1
= reinterpret_cast< wxPyScrolledWindow
* >(argp1
);
23004 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23005 (arg1
)->_setCallbackInfo(arg2
,arg3
);
23006 wxPyEndAllowThreads(__tstate
);
23007 if (PyErr_Occurred()) SWIG_fail
;
23009 resultobj
= SWIG_Py_Void();
23016 SWIGINTERN PyObject
*_wrap_PyScrolledWindow_SetBestSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23017 PyObject
*resultobj
= 0;
23018 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
23023 PyObject
* obj0
= 0 ;
23024 PyObject
* obj1
= 0 ;
23025 char * kwnames
[] = {
23026 (char *) "self",(char *) "size", NULL
23029 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyScrolledWindow_SetBestSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23030 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyScrolledWindow
, 0 | 0 );
23031 if (!SWIG_IsOK(res1
)) {
23032 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyScrolledWindow_SetBestSize" "', expected argument " "1"" of type '" "wxPyScrolledWindow *""'");
23034 arg1
= reinterpret_cast< wxPyScrolledWindow
* >(argp1
);
23037 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
23040 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23041 (arg1
)->SetBestSize((wxSize
const &)*arg2
);
23042 wxPyEndAllowThreads(__tstate
);
23043 if (PyErr_Occurred()) SWIG_fail
;
23045 resultobj
= SWIG_Py_Void();
23052 SWIGINTERN PyObject
*_wrap_PyScrolledWindow_DoEraseBackground(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23053 PyObject
*resultobj
= 0;
23054 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
23055 wxDC
*arg2
= (wxDC
*) 0 ;
23061 PyObject
* obj0
= 0 ;
23062 PyObject
* obj1
= 0 ;
23063 char * kwnames
[] = {
23064 (char *) "self",(char *) "dc", NULL
23067 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyScrolledWindow_DoEraseBackground",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23068 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyScrolledWindow
, 0 | 0 );
23069 if (!SWIG_IsOK(res1
)) {
23070 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyScrolledWindow_DoEraseBackground" "', expected argument " "1"" of type '" "wxPyScrolledWindow *""'");
23072 arg1
= reinterpret_cast< wxPyScrolledWindow
* >(argp1
);
23073 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxDC
, 0 | 0 );
23074 if (!SWIG_IsOK(res2
)) {
23075 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PyScrolledWindow_DoEraseBackground" "', expected argument " "2"" of type '" "wxDC *""'");
23077 arg2
= reinterpret_cast< wxDC
* >(argp2
);
23079 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23080 result
= (bool)(arg1
)->DoEraseBackground(arg2
);
23081 wxPyEndAllowThreads(__tstate
);
23082 if (PyErr_Occurred()) SWIG_fail
;
23085 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23093 SWIGINTERN PyObject
*_wrap_PyScrolledWindow_DoMoveWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23094 PyObject
*resultobj
= 0;
23095 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
23110 PyObject
* obj0
= 0 ;
23111 PyObject
* obj1
= 0 ;
23112 PyObject
* obj2
= 0 ;
23113 PyObject
* obj3
= 0 ;
23114 PyObject
* obj4
= 0 ;
23115 char * kwnames
[] = {
23116 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
23119 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:PyScrolledWindow_DoMoveWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
23120 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyScrolledWindow
, 0 | 0 );
23121 if (!SWIG_IsOK(res1
)) {
23122 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyScrolledWindow_DoMoveWindow" "', expected argument " "1"" of type '" "wxPyScrolledWindow *""'");
23124 arg1
= reinterpret_cast< wxPyScrolledWindow
* >(argp1
);
23125 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
23126 if (!SWIG_IsOK(ecode2
)) {
23127 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PyScrolledWindow_DoMoveWindow" "', expected argument " "2"" of type '" "int""'");
23129 arg2
= static_cast< int >(val2
);
23130 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
23131 if (!SWIG_IsOK(ecode3
)) {
23132 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PyScrolledWindow_DoMoveWindow" "', expected argument " "3"" of type '" "int""'");
23134 arg3
= static_cast< int >(val3
);
23135 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
23136 if (!SWIG_IsOK(ecode4
)) {
23137 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PyScrolledWindow_DoMoveWindow" "', expected argument " "4"" of type '" "int""'");
23139 arg4
= static_cast< int >(val4
);
23140 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
23141 if (!SWIG_IsOK(ecode5
)) {
23142 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PyScrolledWindow_DoMoveWindow" "', expected argument " "5"" of type '" "int""'");
23144 arg5
= static_cast< int >(val5
);
23146 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23147 (arg1
)->DoMoveWindow(arg2
,arg3
,arg4
,arg5
);
23148 wxPyEndAllowThreads(__tstate
);
23149 if (PyErr_Occurred()) SWIG_fail
;
23151 resultobj
= SWIG_Py_Void();
23158 SWIGINTERN PyObject
*_wrap_PyScrolledWindow_DoSetSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23159 PyObject
*resultobj
= 0;
23160 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
23165 int arg6
= (int) wxSIZE_AUTO
;
23178 PyObject
* obj0
= 0 ;
23179 PyObject
* obj1
= 0 ;
23180 PyObject
* obj2
= 0 ;
23181 PyObject
* obj3
= 0 ;
23182 PyObject
* obj4
= 0 ;
23183 PyObject
* obj5
= 0 ;
23184 char * kwnames
[] = {
23185 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "sizeFlags", NULL
23188 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|O:PyScrolledWindow_DoSetSize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
23189 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyScrolledWindow
, 0 | 0 );
23190 if (!SWIG_IsOK(res1
)) {
23191 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyScrolledWindow_DoSetSize" "', expected argument " "1"" of type '" "wxPyScrolledWindow *""'");
23193 arg1
= reinterpret_cast< wxPyScrolledWindow
* >(argp1
);
23194 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
23195 if (!SWIG_IsOK(ecode2
)) {
23196 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PyScrolledWindow_DoSetSize" "', expected argument " "2"" of type '" "int""'");
23198 arg2
= static_cast< int >(val2
);
23199 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
23200 if (!SWIG_IsOK(ecode3
)) {
23201 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PyScrolledWindow_DoSetSize" "', expected argument " "3"" of type '" "int""'");
23203 arg3
= static_cast< int >(val3
);
23204 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
23205 if (!SWIG_IsOK(ecode4
)) {
23206 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PyScrolledWindow_DoSetSize" "', expected argument " "4"" of type '" "int""'");
23208 arg4
= static_cast< int >(val4
);
23209 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
23210 if (!SWIG_IsOK(ecode5
)) {
23211 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PyScrolledWindow_DoSetSize" "', expected argument " "5"" of type '" "int""'");
23213 arg5
= static_cast< int >(val5
);
23215 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
23216 if (!SWIG_IsOK(ecode6
)) {
23217 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "PyScrolledWindow_DoSetSize" "', expected argument " "6"" of type '" "int""'");
23219 arg6
= static_cast< int >(val6
);
23222 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23223 (arg1
)->DoSetSize(arg2
,arg3
,arg4
,arg5
,arg6
);
23224 wxPyEndAllowThreads(__tstate
);
23225 if (PyErr_Occurred()) SWIG_fail
;
23227 resultobj
= SWIG_Py_Void();
23234 SWIGINTERN PyObject
*_wrap_PyScrolledWindow_DoSetClientSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23235 PyObject
*resultobj
= 0;
23236 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
23245 PyObject
* obj0
= 0 ;
23246 PyObject
* obj1
= 0 ;
23247 PyObject
* obj2
= 0 ;
23248 char * kwnames
[] = {
23249 (char *) "self",(char *) "width",(char *) "height", NULL
23252 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyScrolledWindow_DoSetClientSize",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
23253 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyScrolledWindow
, 0 | 0 );
23254 if (!SWIG_IsOK(res1
)) {
23255 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyScrolledWindow_DoSetClientSize" "', expected argument " "1"" of type '" "wxPyScrolledWindow *""'");
23257 arg1
= reinterpret_cast< wxPyScrolledWindow
* >(argp1
);
23258 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
23259 if (!SWIG_IsOK(ecode2
)) {
23260 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PyScrolledWindow_DoSetClientSize" "', expected argument " "2"" of type '" "int""'");
23262 arg2
= static_cast< int >(val2
);
23263 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
23264 if (!SWIG_IsOK(ecode3
)) {
23265 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PyScrolledWindow_DoSetClientSize" "', expected argument " "3"" of type '" "int""'");
23267 arg3
= static_cast< int >(val3
);
23269 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23270 (arg1
)->DoSetClientSize(arg2
,arg3
);
23271 wxPyEndAllowThreads(__tstate
);
23272 if (PyErr_Occurred()) SWIG_fail
;
23274 resultobj
= SWIG_Py_Void();
23281 SWIGINTERN PyObject
*_wrap_PyScrolledWindow_DoSetVirtualSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23282 PyObject
*resultobj
= 0;
23283 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
23292 PyObject
* obj0
= 0 ;
23293 PyObject
* obj1
= 0 ;
23294 PyObject
* obj2
= 0 ;
23295 char * kwnames
[] = {
23296 (char *) "self",(char *) "x",(char *) "y", NULL
23299 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyScrolledWindow_DoSetVirtualSize",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
23300 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyScrolledWindow
, 0 | 0 );
23301 if (!SWIG_IsOK(res1
)) {
23302 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyScrolledWindow_DoSetVirtualSize" "', expected argument " "1"" of type '" "wxPyScrolledWindow *""'");
23304 arg1
= reinterpret_cast< wxPyScrolledWindow
* >(argp1
);
23305 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
23306 if (!SWIG_IsOK(ecode2
)) {
23307 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PyScrolledWindow_DoSetVirtualSize" "', expected argument " "2"" of type '" "int""'");
23309 arg2
= static_cast< int >(val2
);
23310 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
23311 if (!SWIG_IsOK(ecode3
)) {
23312 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PyScrolledWindow_DoSetVirtualSize" "', expected argument " "3"" of type '" "int""'");
23314 arg3
= static_cast< int >(val3
);
23316 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23317 (arg1
)->DoSetVirtualSize(arg2
,arg3
);
23318 wxPyEndAllowThreads(__tstate
);
23319 if (PyErr_Occurred()) SWIG_fail
;
23321 resultobj
= SWIG_Py_Void();
23328 SWIGINTERN PyObject
*_wrap_PyScrolledWindow_DoGetSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23329 PyObject
*resultobj
= 0;
23330 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
23331 int *arg2
= (int *) 0 ;
23332 int *arg3
= (int *) 0 ;
23336 int res2
= SWIG_TMPOBJ
;
23338 int res3
= SWIG_TMPOBJ
;
23339 PyObject
*swig_obj
[1] ;
23343 if (!args
) SWIG_fail
;
23344 swig_obj
[0] = args
;
23345 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyScrolledWindow
, 0 | 0 );
23346 if (!SWIG_IsOK(res1
)) {
23347 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyScrolledWindow_DoGetSize" "', expected argument " "1"" of type '" "wxPyScrolledWindow const *""'");
23349 arg1
= reinterpret_cast< wxPyScrolledWindow
* >(argp1
);
23351 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23352 ((wxPyScrolledWindow
const *)arg1
)->DoGetSize(arg2
,arg3
);
23353 wxPyEndAllowThreads(__tstate
);
23354 if (PyErr_Occurred()) SWIG_fail
;
23356 resultobj
= SWIG_Py_Void();
23357 if (SWIG_IsTmpObj(res2
)) {
23358 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
23360 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
23361 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
23363 if (SWIG_IsTmpObj(res3
)) {
23364 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
23366 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
23367 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
23375 SWIGINTERN PyObject
*_wrap_PyScrolledWindow_DoGetClientSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23376 PyObject
*resultobj
= 0;
23377 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
23378 int *arg2
= (int *) 0 ;
23379 int *arg3
= (int *) 0 ;
23383 int res2
= SWIG_TMPOBJ
;
23385 int res3
= SWIG_TMPOBJ
;
23386 PyObject
*swig_obj
[1] ;
23390 if (!args
) SWIG_fail
;
23391 swig_obj
[0] = args
;
23392 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyScrolledWindow
, 0 | 0 );
23393 if (!SWIG_IsOK(res1
)) {
23394 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyScrolledWindow_DoGetClientSize" "', expected argument " "1"" of type '" "wxPyScrolledWindow const *""'");
23396 arg1
= reinterpret_cast< wxPyScrolledWindow
* >(argp1
);
23398 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23399 ((wxPyScrolledWindow
const *)arg1
)->DoGetClientSize(arg2
,arg3
);
23400 wxPyEndAllowThreads(__tstate
);
23401 if (PyErr_Occurred()) SWIG_fail
;
23403 resultobj
= SWIG_Py_Void();
23404 if (SWIG_IsTmpObj(res2
)) {
23405 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
23407 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
23408 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
23410 if (SWIG_IsTmpObj(res3
)) {
23411 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
23413 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
23414 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
23422 SWIGINTERN PyObject
*_wrap_PyScrolledWindow_DoGetPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23423 PyObject
*resultobj
= 0;
23424 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
23425 int *arg2
= (int *) 0 ;
23426 int *arg3
= (int *) 0 ;
23430 int res2
= SWIG_TMPOBJ
;
23432 int res3
= SWIG_TMPOBJ
;
23433 PyObject
*swig_obj
[1] ;
23437 if (!args
) SWIG_fail
;
23438 swig_obj
[0] = args
;
23439 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyScrolledWindow
, 0 | 0 );
23440 if (!SWIG_IsOK(res1
)) {
23441 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyScrolledWindow_DoGetPosition" "', expected argument " "1"" of type '" "wxPyScrolledWindow const *""'");
23443 arg1
= reinterpret_cast< wxPyScrolledWindow
* >(argp1
);
23445 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23446 ((wxPyScrolledWindow
const *)arg1
)->DoGetPosition(arg2
,arg3
);
23447 wxPyEndAllowThreads(__tstate
);
23448 if (PyErr_Occurred()) SWIG_fail
;
23450 resultobj
= SWIG_Py_Void();
23451 if (SWIG_IsTmpObj(res2
)) {
23452 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
23454 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
23455 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
23457 if (SWIG_IsTmpObj(res3
)) {
23458 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
23460 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
23461 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
23469 SWIGINTERN PyObject
*_wrap_PyScrolledWindow_DoGetVirtualSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23470 PyObject
*resultobj
= 0;
23471 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
23475 PyObject
*swig_obj
[1] ;
23477 if (!args
) SWIG_fail
;
23478 swig_obj
[0] = args
;
23479 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyScrolledWindow
, 0 | 0 );
23480 if (!SWIG_IsOK(res1
)) {
23481 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyScrolledWindow_DoGetVirtualSize" "', expected argument " "1"" of type '" "wxPyScrolledWindow const *""'");
23483 arg1
= reinterpret_cast< wxPyScrolledWindow
* >(argp1
);
23485 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23486 result
= ((wxPyScrolledWindow
const *)arg1
)->DoGetVirtualSize();
23487 wxPyEndAllowThreads(__tstate
);
23488 if (PyErr_Occurred()) SWIG_fail
;
23490 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
23497 SWIGINTERN PyObject
*_wrap_PyScrolledWindow_DoGetBestSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23498 PyObject
*resultobj
= 0;
23499 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
23503 PyObject
*swig_obj
[1] ;
23505 if (!args
) SWIG_fail
;
23506 swig_obj
[0] = args
;
23507 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyScrolledWindow
, 0 | 0 );
23508 if (!SWIG_IsOK(res1
)) {
23509 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyScrolledWindow_DoGetBestSize" "', expected argument " "1"" of type '" "wxPyScrolledWindow const *""'");
23511 arg1
= reinterpret_cast< wxPyScrolledWindow
* >(argp1
);
23513 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23514 result
= ((wxPyScrolledWindow
const *)arg1
)->DoGetBestSize();
23515 wxPyEndAllowThreads(__tstate
);
23516 if (PyErr_Occurred()) SWIG_fail
;
23518 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
23525 SWIGINTERN PyObject
*_wrap_PyScrolledWindow_GetDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23526 PyObject
*resultobj
= 0;
23527 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
23528 SwigValueWrapper
<wxVisualAttributes
> result
;
23531 PyObject
*swig_obj
[1] ;
23533 if (!args
) SWIG_fail
;
23534 swig_obj
[0] = args
;
23535 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyScrolledWindow
, 0 | 0 );
23536 if (!SWIG_IsOK(res1
)) {
23537 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyScrolledWindow_GetDefaultAttributes" "', expected argument " "1"" of type '" "wxPyScrolledWindow *""'");
23539 arg1
= reinterpret_cast< wxPyScrolledWindow
* >(argp1
);
23541 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23542 result
= (arg1
)->GetDefaultAttributes();
23543 wxPyEndAllowThreads(__tstate
);
23544 if (PyErr_Occurred()) SWIG_fail
;
23546 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
23553 SWIGINTERN PyObject
*_wrap_PyScrolledWindow_OnInternalIdle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23554 PyObject
*resultobj
= 0;
23555 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
23558 PyObject
*swig_obj
[1] ;
23560 if (!args
) SWIG_fail
;
23561 swig_obj
[0] = args
;
23562 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyScrolledWindow
, 0 | 0 );
23563 if (!SWIG_IsOK(res1
)) {
23564 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyScrolledWindow_OnInternalIdle" "', expected argument " "1"" of type '" "wxPyScrolledWindow *""'");
23566 arg1
= reinterpret_cast< wxPyScrolledWindow
* >(argp1
);
23568 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23569 (arg1
)->OnInternalIdle();
23570 wxPyEndAllowThreads(__tstate
);
23571 if (PyErr_Occurred()) SWIG_fail
;
23573 resultobj
= SWIG_Py_Void();
23580 SWIGINTERN PyObject
*PyScrolledWindow_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23582 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
23583 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyScrolledWindow
, SWIG_NewClientData(obj
));
23584 return SWIG_Py_Void();
23587 SWIGINTERN PyObject
*PyScrolledWindow_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23588 return SWIG_Python_InitShadowInstance(args
);
23591 SWIGINTERN
int PrintoutTitleStr_set(PyObject
*) {
23592 SWIG_Error(SWIG_AttributeError
,"Variable PrintoutTitleStr is read-only.");
23597 SWIGINTERN PyObject
*PrintoutTitleStr_get(void) {
23598 PyObject
*pyobj
= 0;
23602 pyobj
= PyUnicode_FromWideChar((&wxPyPrintoutTitleStr
)->c_str(), (&wxPyPrintoutTitleStr
)->Len());
23604 pyobj
= PyString_FromStringAndSize((&wxPyPrintoutTitleStr
)->c_str(), (&wxPyPrintoutTitleStr
)->Len());
23611 SWIGINTERN
int PreviewCanvasNameStr_set(PyObject
*) {
23612 SWIG_Error(SWIG_AttributeError
,"Variable PreviewCanvasNameStr is read-only.");
23617 SWIGINTERN PyObject
*PreviewCanvasNameStr_get(void) {
23618 PyObject
*pyobj
= 0;
23622 pyobj
= PyUnicode_FromWideChar((&wxPyPreviewCanvasNameStr
)->c_str(), (&wxPyPreviewCanvasNameStr
)->Len());
23624 pyobj
= PyString_FromStringAndSize((&wxPyPreviewCanvasNameStr
)->c_str(), (&wxPyPreviewCanvasNameStr
)->Len());
23631 SWIGINTERN PyObject
*_wrap_new_PrintData__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**SWIGUNUSEDPARM(swig_obj
)) {
23632 PyObject
*resultobj
= 0;
23633 wxPrintData
*result
= 0 ;
23635 if ((nobjs
< 0) || (nobjs
> 0)) SWIG_fail
;
23637 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23638 result
= (wxPrintData
*)new wxPrintData();
23639 wxPyEndAllowThreads(__tstate
);
23640 if (PyErr_Occurred()) SWIG_fail
;
23642 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPrintData
, SWIG_POINTER_NEW
| 0 );
23649 SWIGINTERN PyObject
*_wrap_new_PrintData__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
23650 PyObject
*resultobj
= 0;
23651 wxPrintData
*arg1
= 0 ;
23652 wxPrintData
*result
= 0 ;
23656 if ((nobjs
< 1) || (nobjs
> 1)) SWIG_fail
;
23657 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
, SWIGTYPE_p_wxPrintData
, 0 | 0);
23658 if (!SWIG_IsOK(res1
)) {
23659 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PrintData" "', expected argument " "1"" of type '" "wxPrintData const &""'");
23662 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_PrintData" "', expected argument " "1"" of type '" "wxPrintData const &""'");
23664 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
23666 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23667 result
= (wxPrintData
*)new wxPrintData((wxPrintData
const &)*arg1
);
23668 wxPyEndAllowThreads(__tstate
);
23669 if (PyErr_Occurred()) SWIG_fail
;
23671 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPrintData
, SWIG_POINTER_NEW
| 0 );
23678 SWIGINTERN PyObject
*_wrap_new_PrintData(PyObject
*self
, PyObject
*args
) {
23682 if (!(argc
= SWIG_Python_UnpackTuple(args
,"new_PrintData",0,1,argv
))) SWIG_fail
;
23685 return _wrap_new_PrintData__SWIG_0(self
, argc
, argv
);
23688 return _wrap_new_PrintData__SWIG_1(self
, argc
, argv
);
23692 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'new_PrintData'");
23697 SWIGINTERN PyObject
*_wrap_delete_PrintData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23698 PyObject
*resultobj
= 0;
23699 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
23702 PyObject
*swig_obj
[1] ;
23704 if (!args
) SWIG_fail
;
23705 swig_obj
[0] = args
;
23706 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintData
, SWIG_POINTER_DISOWN
| 0 );
23707 if (!SWIG_IsOK(res1
)) {
23708 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_PrintData" "', expected argument " "1"" of type '" "wxPrintData *""'");
23710 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
23712 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23715 wxPyEndAllowThreads(__tstate
);
23716 if (PyErr_Occurred()) SWIG_fail
;
23718 resultobj
= SWIG_Py_Void();
23725 SWIGINTERN PyObject
*_wrap_PrintData_GetNoCopies(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23726 PyObject
*resultobj
= 0;
23727 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
23731 PyObject
*swig_obj
[1] ;
23733 if (!args
) SWIG_fail
;
23734 swig_obj
[0] = args
;
23735 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
23736 if (!SWIG_IsOK(res1
)) {
23737 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_GetNoCopies" "', expected argument " "1"" of type '" "wxPrintData *""'");
23739 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
23741 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23742 result
= (int)(arg1
)->GetNoCopies();
23743 wxPyEndAllowThreads(__tstate
);
23744 if (PyErr_Occurred()) SWIG_fail
;
23746 resultobj
= SWIG_From_int(static_cast< int >(result
));
23753 SWIGINTERN PyObject
*_wrap_PrintData_GetCollate(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23754 PyObject
*resultobj
= 0;
23755 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
23759 PyObject
*swig_obj
[1] ;
23761 if (!args
) SWIG_fail
;
23762 swig_obj
[0] = args
;
23763 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
23764 if (!SWIG_IsOK(res1
)) {
23765 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_GetCollate" "', expected argument " "1"" of type '" "wxPrintData *""'");
23767 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
23769 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23770 result
= (bool)(arg1
)->GetCollate();
23771 wxPyEndAllowThreads(__tstate
);
23772 if (PyErr_Occurred()) SWIG_fail
;
23775 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23783 SWIGINTERN PyObject
*_wrap_PrintData_GetOrientation(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23784 PyObject
*resultobj
= 0;
23785 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
23789 PyObject
*swig_obj
[1] ;
23791 if (!args
) SWIG_fail
;
23792 swig_obj
[0] = args
;
23793 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
23794 if (!SWIG_IsOK(res1
)) {
23795 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_GetOrientation" "', expected argument " "1"" of type '" "wxPrintData *""'");
23797 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
23799 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23800 result
= (int)(arg1
)->GetOrientation();
23801 wxPyEndAllowThreads(__tstate
);
23802 if (PyErr_Occurred()) SWIG_fail
;
23804 resultobj
= SWIG_From_int(static_cast< int >(result
));
23811 SWIGINTERN PyObject
*_wrap_PrintData_IsOk(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23812 PyObject
*resultobj
= 0;
23813 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
23817 PyObject
*swig_obj
[1] ;
23819 if (!args
) SWIG_fail
;
23820 swig_obj
[0] = args
;
23821 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
23822 if (!SWIG_IsOK(res1
)) {
23823 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_IsOk" "', expected argument " "1"" of type '" "wxPrintData *""'");
23825 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
23827 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23828 result
= (bool)(arg1
)->IsOk();
23829 wxPyEndAllowThreads(__tstate
);
23830 if (PyErr_Occurred()) SWIG_fail
;
23833 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23841 SWIGINTERN PyObject
*_wrap_PrintData_GetPrinterName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23842 PyObject
*resultobj
= 0;
23843 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
23844 wxString
*result
= 0 ;
23847 PyObject
*swig_obj
[1] ;
23849 if (!args
) SWIG_fail
;
23850 swig_obj
[0] = args
;
23851 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
23852 if (!SWIG_IsOK(res1
)) {
23853 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_GetPrinterName" "', expected argument " "1"" of type '" "wxPrintData *""'");
23855 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
23857 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23859 wxString
const &_result_ref
= (arg1
)->GetPrinterName();
23860 result
= (wxString
*) &_result_ref
;
23862 wxPyEndAllowThreads(__tstate
);
23863 if (PyErr_Occurred()) SWIG_fail
;
23867 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
23869 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
23878 SWIGINTERN PyObject
*_wrap_PrintData_GetColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23879 PyObject
*resultobj
= 0;
23880 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
23884 PyObject
*swig_obj
[1] ;
23886 if (!args
) SWIG_fail
;
23887 swig_obj
[0] = args
;
23888 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
23889 if (!SWIG_IsOK(res1
)) {
23890 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_GetColour" "', expected argument " "1"" of type '" "wxPrintData *""'");
23892 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
23894 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23895 result
= (bool)(arg1
)->GetColour();
23896 wxPyEndAllowThreads(__tstate
);
23897 if (PyErr_Occurred()) SWIG_fail
;
23900 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23908 SWIGINTERN PyObject
*_wrap_PrintData_GetDuplex(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23909 PyObject
*resultobj
= 0;
23910 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
23911 wxDuplexMode result
;
23914 PyObject
*swig_obj
[1] ;
23916 if (!args
) SWIG_fail
;
23917 swig_obj
[0] = args
;
23918 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
23919 if (!SWIG_IsOK(res1
)) {
23920 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_GetDuplex" "', expected argument " "1"" of type '" "wxPrintData *""'");
23922 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
23924 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23925 result
= (wxDuplexMode
)(arg1
)->GetDuplex();
23926 wxPyEndAllowThreads(__tstate
);
23927 if (PyErr_Occurred()) SWIG_fail
;
23929 resultobj
= SWIG_From_int(static_cast< int >(result
));
23936 SWIGINTERN PyObject
*_wrap_PrintData_GetPaperId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23937 PyObject
*resultobj
= 0;
23938 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
23939 wxPaperSize result
;
23942 PyObject
*swig_obj
[1] ;
23944 if (!args
) SWIG_fail
;
23945 swig_obj
[0] = args
;
23946 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
23947 if (!SWIG_IsOK(res1
)) {
23948 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_GetPaperId" "', expected argument " "1"" of type '" "wxPrintData *""'");
23950 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
23952 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23953 result
= (wxPaperSize
)(arg1
)->GetPaperId();
23954 wxPyEndAllowThreads(__tstate
);
23955 if (PyErr_Occurred()) SWIG_fail
;
23957 resultobj
= SWIG_From_int(static_cast< int >(result
));
23964 SWIGINTERN PyObject
*_wrap_PrintData_GetPaperSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23965 PyObject
*resultobj
= 0;
23966 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
23967 wxSize
*result
= 0 ;
23970 PyObject
*swig_obj
[1] ;
23972 if (!args
) SWIG_fail
;
23973 swig_obj
[0] = args
;
23974 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
23975 if (!SWIG_IsOK(res1
)) {
23976 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_GetPaperSize" "', expected argument " "1"" of type '" "wxPrintData *""'");
23978 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
23980 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23982 wxSize
const &_result_ref
= (arg1
)->GetPaperSize();
23983 result
= (wxSize
*) &_result_ref
;
23985 wxPyEndAllowThreads(__tstate
);
23986 if (PyErr_Occurred()) SWIG_fail
;
23988 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSize
, 0 | 0 );
23995 SWIGINTERN PyObject
*_wrap_PrintData_GetQuality(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23996 PyObject
*resultobj
= 0;
23997 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
24001 PyObject
*swig_obj
[1] ;
24003 if (!args
) SWIG_fail
;
24004 swig_obj
[0] = args
;
24005 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
24006 if (!SWIG_IsOK(res1
)) {
24007 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_GetQuality" "', expected argument " "1"" of type '" "wxPrintData *""'");
24009 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
24011 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24012 result
= (int)(arg1
)->GetQuality();
24013 wxPyEndAllowThreads(__tstate
);
24014 if (PyErr_Occurred()) SWIG_fail
;
24016 resultobj
= SWIG_From_int(static_cast< int >(result
));
24023 SWIGINTERN PyObject
*_wrap_PrintData_GetBin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24024 PyObject
*resultobj
= 0;
24025 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
24029 PyObject
*swig_obj
[1] ;
24031 if (!args
) SWIG_fail
;
24032 swig_obj
[0] = args
;
24033 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
24034 if (!SWIG_IsOK(res1
)) {
24035 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_GetBin" "', expected argument " "1"" of type '" "wxPrintData *""'");
24037 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
24039 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24040 result
= (wxPrintBin
)(arg1
)->GetBin();
24041 wxPyEndAllowThreads(__tstate
);
24042 if (PyErr_Occurred()) SWIG_fail
;
24044 resultobj
= SWIG_From_int(static_cast< int >(result
));
24051 SWIGINTERN PyObject
*_wrap_PrintData_GetPrintMode(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24052 PyObject
*resultobj
= 0;
24053 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
24054 wxPrintMode result
;
24057 PyObject
*swig_obj
[1] ;
24059 if (!args
) SWIG_fail
;
24060 swig_obj
[0] = args
;
24061 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
24062 if (!SWIG_IsOK(res1
)) {
24063 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_GetPrintMode" "', expected argument " "1"" of type '" "wxPrintData const *""'");
24065 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
24067 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24068 result
= (wxPrintMode
)((wxPrintData
const *)arg1
)->GetPrintMode();
24069 wxPyEndAllowThreads(__tstate
);
24070 if (PyErr_Occurred()) SWIG_fail
;
24072 resultobj
= SWIG_From_int(static_cast< int >(result
));
24079 SWIGINTERN PyObject
*_wrap_PrintData_SetNoCopies(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24080 PyObject
*resultobj
= 0;
24081 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
24087 PyObject
* obj0
= 0 ;
24088 PyObject
* obj1
= 0 ;
24089 char * kwnames
[] = {
24090 (char *) "self",(char *) "v", NULL
24093 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetNoCopies",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24094 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
24095 if (!SWIG_IsOK(res1
)) {
24096 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_SetNoCopies" "', expected argument " "1"" of type '" "wxPrintData *""'");
24098 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
24099 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24100 if (!SWIG_IsOK(ecode2
)) {
24101 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintData_SetNoCopies" "', expected argument " "2"" of type '" "int""'");
24103 arg2
= static_cast< int >(val2
);
24105 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24106 (arg1
)->SetNoCopies(arg2
);
24107 wxPyEndAllowThreads(__tstate
);
24108 if (PyErr_Occurred()) SWIG_fail
;
24110 resultobj
= SWIG_Py_Void();
24117 SWIGINTERN PyObject
*_wrap_PrintData_SetCollate(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24118 PyObject
*resultobj
= 0;
24119 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
24125 PyObject
* obj0
= 0 ;
24126 PyObject
* obj1
= 0 ;
24127 char * kwnames
[] = {
24128 (char *) "self",(char *) "flag", NULL
24131 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetCollate",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24132 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
24133 if (!SWIG_IsOK(res1
)) {
24134 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_SetCollate" "', expected argument " "1"" of type '" "wxPrintData *""'");
24136 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
24137 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
24138 if (!SWIG_IsOK(ecode2
)) {
24139 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintData_SetCollate" "', expected argument " "2"" of type '" "bool""'");
24141 arg2
= static_cast< bool >(val2
);
24143 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24144 (arg1
)->SetCollate(arg2
);
24145 wxPyEndAllowThreads(__tstate
);
24146 if (PyErr_Occurred()) SWIG_fail
;
24148 resultobj
= SWIG_Py_Void();
24155 SWIGINTERN PyObject
*_wrap_PrintData_SetOrientation(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24156 PyObject
*resultobj
= 0;
24157 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
24163 PyObject
* obj0
= 0 ;
24164 PyObject
* obj1
= 0 ;
24165 char * kwnames
[] = {
24166 (char *) "self",(char *) "orient", NULL
24169 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetOrientation",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24170 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
24171 if (!SWIG_IsOK(res1
)) {
24172 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_SetOrientation" "', expected argument " "1"" of type '" "wxPrintData *""'");
24174 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
24175 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24176 if (!SWIG_IsOK(ecode2
)) {
24177 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintData_SetOrientation" "', expected argument " "2"" of type '" "int""'");
24179 arg2
= static_cast< int >(val2
);
24181 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24182 (arg1
)->SetOrientation(arg2
);
24183 wxPyEndAllowThreads(__tstate
);
24184 if (PyErr_Occurred()) SWIG_fail
;
24186 resultobj
= SWIG_Py_Void();
24193 SWIGINTERN PyObject
*_wrap_PrintData_SetPrinterName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24194 PyObject
*resultobj
= 0;
24195 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
24196 wxString
*arg2
= 0 ;
24199 bool temp2
= false ;
24200 PyObject
* obj0
= 0 ;
24201 PyObject
* obj1
= 0 ;
24202 char * kwnames
[] = {
24203 (char *) "self",(char *) "name", NULL
24206 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetPrinterName",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24207 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
24208 if (!SWIG_IsOK(res1
)) {
24209 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_SetPrinterName" "', expected argument " "1"" of type '" "wxPrintData *""'");
24211 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
24213 arg2
= wxString_in_helper(obj1
);
24214 if (arg2
== NULL
) SWIG_fail
;
24218 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24219 (arg1
)->SetPrinterName((wxString
const &)*arg2
);
24220 wxPyEndAllowThreads(__tstate
);
24221 if (PyErr_Occurred()) SWIG_fail
;
24223 resultobj
= SWIG_Py_Void();
24238 SWIGINTERN PyObject
*_wrap_PrintData_SetColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24239 PyObject
*resultobj
= 0;
24240 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
24246 PyObject
* obj0
= 0 ;
24247 PyObject
* obj1
= 0 ;
24248 char * kwnames
[] = {
24249 (char *) "self",(char *) "colour", NULL
24252 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24253 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
24254 if (!SWIG_IsOK(res1
)) {
24255 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_SetColour" "', expected argument " "1"" of type '" "wxPrintData *""'");
24257 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
24258 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
24259 if (!SWIG_IsOK(ecode2
)) {
24260 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintData_SetColour" "', expected argument " "2"" of type '" "bool""'");
24262 arg2
= static_cast< bool >(val2
);
24264 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24265 (arg1
)->SetColour(arg2
);
24266 wxPyEndAllowThreads(__tstate
);
24267 if (PyErr_Occurred()) SWIG_fail
;
24269 resultobj
= SWIG_Py_Void();
24276 SWIGINTERN PyObject
*_wrap_PrintData_SetDuplex(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24277 PyObject
*resultobj
= 0;
24278 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
24279 wxDuplexMode arg2
;
24284 PyObject
* obj0
= 0 ;
24285 PyObject
* obj1
= 0 ;
24286 char * kwnames
[] = {
24287 (char *) "self",(char *) "duplex", NULL
24290 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetDuplex",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24291 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
24292 if (!SWIG_IsOK(res1
)) {
24293 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_SetDuplex" "', expected argument " "1"" of type '" "wxPrintData *""'");
24295 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
24296 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24297 if (!SWIG_IsOK(ecode2
)) {
24298 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintData_SetDuplex" "', expected argument " "2"" of type '" "wxDuplexMode""'");
24300 arg2
= static_cast< wxDuplexMode
>(val2
);
24302 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24303 (arg1
)->SetDuplex(arg2
);
24304 wxPyEndAllowThreads(__tstate
);
24305 if (PyErr_Occurred()) SWIG_fail
;
24307 resultobj
= SWIG_Py_Void();
24314 SWIGINTERN PyObject
*_wrap_PrintData_SetPaperId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24315 PyObject
*resultobj
= 0;
24316 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
24322 PyObject
* obj0
= 0 ;
24323 PyObject
* obj1
= 0 ;
24324 char * kwnames
[] = {
24325 (char *) "self",(char *) "sizeId", NULL
24328 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetPaperId",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24329 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
24330 if (!SWIG_IsOK(res1
)) {
24331 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_SetPaperId" "', expected argument " "1"" of type '" "wxPrintData *""'");
24333 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
24334 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24335 if (!SWIG_IsOK(ecode2
)) {
24336 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintData_SetPaperId" "', expected argument " "2"" of type '" "wxPaperSize""'");
24338 arg2
= static_cast< wxPaperSize
>(val2
);
24340 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24341 (arg1
)->SetPaperId(arg2
);
24342 wxPyEndAllowThreads(__tstate
);
24343 if (PyErr_Occurred()) SWIG_fail
;
24345 resultobj
= SWIG_Py_Void();
24352 SWIGINTERN PyObject
*_wrap_PrintData_SetPaperSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24353 PyObject
*resultobj
= 0;
24354 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
24359 PyObject
* obj0
= 0 ;
24360 PyObject
* obj1
= 0 ;
24361 char * kwnames
[] = {
24362 (char *) "self",(char *) "sz", NULL
24365 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetPaperSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24366 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
24367 if (!SWIG_IsOK(res1
)) {
24368 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_SetPaperSize" "', expected argument " "1"" of type '" "wxPrintData *""'");
24370 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
24373 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
24376 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24377 (arg1
)->SetPaperSize((wxSize
const &)*arg2
);
24378 wxPyEndAllowThreads(__tstate
);
24379 if (PyErr_Occurred()) SWIG_fail
;
24381 resultobj
= SWIG_Py_Void();
24388 SWIGINTERN PyObject
*_wrap_PrintData_SetQuality(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24389 PyObject
*resultobj
= 0;
24390 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
24396 PyObject
* obj0
= 0 ;
24397 PyObject
* obj1
= 0 ;
24398 char * kwnames
[] = {
24399 (char *) "self",(char *) "quality", NULL
24402 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetQuality",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24403 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
24404 if (!SWIG_IsOK(res1
)) {
24405 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_SetQuality" "', expected argument " "1"" of type '" "wxPrintData *""'");
24407 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
24408 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24409 if (!SWIG_IsOK(ecode2
)) {
24410 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintData_SetQuality" "', expected argument " "2"" of type '" "int""'");
24412 arg2
= static_cast< int >(val2
);
24414 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24415 (arg1
)->SetQuality(arg2
);
24416 wxPyEndAllowThreads(__tstate
);
24417 if (PyErr_Occurred()) SWIG_fail
;
24419 resultobj
= SWIG_Py_Void();
24426 SWIGINTERN PyObject
*_wrap_PrintData_SetBin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24427 PyObject
*resultobj
= 0;
24428 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
24434 PyObject
* obj0
= 0 ;
24435 PyObject
* obj1
= 0 ;
24436 char * kwnames
[] = {
24437 (char *) "self",(char *) "bin", NULL
24440 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetBin",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24441 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
24442 if (!SWIG_IsOK(res1
)) {
24443 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_SetBin" "', expected argument " "1"" of type '" "wxPrintData *""'");
24445 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
24446 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24447 if (!SWIG_IsOK(ecode2
)) {
24448 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintData_SetBin" "', expected argument " "2"" of type '" "wxPrintBin""'");
24450 arg2
= static_cast< wxPrintBin
>(val2
);
24452 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24453 (arg1
)->SetBin(arg2
);
24454 wxPyEndAllowThreads(__tstate
);
24455 if (PyErr_Occurred()) SWIG_fail
;
24457 resultobj
= SWIG_Py_Void();
24464 SWIGINTERN PyObject
*_wrap_PrintData_SetPrintMode(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24465 PyObject
*resultobj
= 0;
24466 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
24472 PyObject
* obj0
= 0 ;
24473 PyObject
* obj1
= 0 ;
24474 char * kwnames
[] = {
24475 (char *) "self",(char *) "printMode", NULL
24478 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetPrintMode",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24479 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
24480 if (!SWIG_IsOK(res1
)) {
24481 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_SetPrintMode" "', expected argument " "1"" of type '" "wxPrintData *""'");
24483 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
24484 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24485 if (!SWIG_IsOK(ecode2
)) {
24486 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintData_SetPrintMode" "', expected argument " "2"" of type '" "wxPrintMode""'");
24488 arg2
= static_cast< wxPrintMode
>(val2
);
24490 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24491 (arg1
)->SetPrintMode(arg2
);
24492 wxPyEndAllowThreads(__tstate
);
24493 if (PyErr_Occurred()) SWIG_fail
;
24495 resultobj
= SWIG_Py_Void();
24502 SWIGINTERN PyObject
*_wrap_PrintData_GetFilename(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24503 PyObject
*resultobj
= 0;
24504 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
24508 PyObject
*swig_obj
[1] ;
24510 if (!args
) SWIG_fail
;
24511 swig_obj
[0] = args
;
24512 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
24513 if (!SWIG_IsOK(res1
)) {
24514 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_GetFilename" "', expected argument " "1"" of type '" "wxPrintData const *""'");
24516 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
24518 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24519 result
= ((wxPrintData
const *)arg1
)->GetFilename();
24520 wxPyEndAllowThreads(__tstate
);
24521 if (PyErr_Occurred()) SWIG_fail
;
24525 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
24527 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
24536 SWIGINTERN PyObject
*_wrap_PrintData_SetFilename(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24537 PyObject
*resultobj
= 0;
24538 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
24539 wxString
*arg2
= 0 ;
24542 bool temp2
= false ;
24543 PyObject
* obj0
= 0 ;
24544 PyObject
* obj1
= 0 ;
24545 char * kwnames
[] = {
24546 (char *) "self",(char *) "filename", NULL
24549 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetFilename",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24550 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
24551 if (!SWIG_IsOK(res1
)) {
24552 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_SetFilename" "', expected argument " "1"" of type '" "wxPrintData *""'");
24554 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
24556 arg2
= wxString_in_helper(obj1
);
24557 if (arg2
== NULL
) SWIG_fail
;
24561 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24562 (arg1
)->SetFilename((wxString
const &)*arg2
);
24563 wxPyEndAllowThreads(__tstate
);
24564 if (PyErr_Occurred()) SWIG_fail
;
24566 resultobj
= SWIG_Py_Void();
24581 SWIGINTERN PyObject
*_wrap_PrintData_GetPrivData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24582 PyObject
*resultobj
= 0;
24583 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
24584 PyObject
*result
= 0 ;
24587 PyObject
*swig_obj
[1] ;
24589 if (!args
) SWIG_fail
;
24590 swig_obj
[0] = args
;
24591 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
24592 if (!SWIG_IsOK(res1
)) {
24593 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_GetPrivData" "', expected argument " "1"" of type '" "wxPrintData *""'");
24595 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
24597 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24598 result
= (PyObject
*)wxPrintData_GetPrivData(arg1
);
24599 wxPyEndAllowThreads(__tstate
);
24600 if (PyErr_Occurred()) SWIG_fail
;
24602 resultobj
= result
;
24609 SWIGINTERN PyObject
*_wrap_PrintData_SetPrivData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24610 PyObject
*resultobj
= 0;
24611 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
24612 PyObject
*arg2
= (PyObject
*) 0 ;
24615 PyObject
* obj0
= 0 ;
24616 PyObject
* obj1
= 0 ;
24617 char * kwnames
[] = {
24618 (char *) "self",(char *) "data", NULL
24621 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetPrivData",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24622 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
24623 if (!SWIG_IsOK(res1
)) {
24624 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_SetPrivData" "', expected argument " "1"" of type '" "wxPrintData *""'");
24626 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
24629 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24630 wxPrintData_SetPrivData(arg1
,arg2
);
24631 wxPyEndAllowThreads(__tstate
);
24632 if (PyErr_Occurred()) SWIG_fail
;
24634 resultobj
= SWIG_Py_Void();
24641 SWIGINTERN PyObject
*PrintData_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24643 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
24644 SWIG_TypeNewClientData(SWIGTYPE_p_wxPrintData
, SWIG_NewClientData(obj
));
24645 return SWIG_Py_Void();
24648 SWIGINTERN PyObject
*PrintData_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24649 return SWIG_Python_InitShadowInstance(args
);
24652 SWIGINTERN PyObject
*_wrap_new_PageSetupDialogData__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**SWIGUNUSEDPARM(swig_obj
)) {
24653 PyObject
*resultobj
= 0;
24654 wxPageSetupDialogData
*result
= 0 ;
24656 if ((nobjs
< 0) || (nobjs
> 0)) SWIG_fail
;
24658 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24659 result
= (wxPageSetupDialogData
*)new wxPageSetupDialogData();
24660 wxPyEndAllowThreads(__tstate
);
24661 if (PyErr_Occurred()) SWIG_fail
;
24663 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPageSetupDialogData
, SWIG_POINTER_NEW
| 0 );
24670 SWIGINTERN PyObject
*_wrap_new_PageSetupDialogData__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
24671 PyObject
*resultobj
= 0;
24672 wxPageSetupDialogData
*arg1
= 0 ;
24673 wxPageSetupDialogData
*result
= 0 ;
24677 if ((nobjs
< 1) || (nobjs
> 1)) SWIG_fail
;
24678 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
, SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0);
24679 if (!SWIG_IsOK(res1
)) {
24680 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PageSetupDialogData" "', expected argument " "1"" of type '" "wxPageSetupDialogData const &""'");
24683 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_PageSetupDialogData" "', expected argument " "1"" of type '" "wxPageSetupDialogData const &""'");
24685 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
24687 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24688 result
= (wxPageSetupDialogData
*)new wxPageSetupDialogData((wxPageSetupDialogData
const &)*arg1
);
24689 wxPyEndAllowThreads(__tstate
);
24690 if (PyErr_Occurred()) SWIG_fail
;
24692 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPageSetupDialogData
, SWIG_POINTER_NEW
| 0 );
24699 SWIGINTERN PyObject
*_wrap_new_PageSetupDialogData__SWIG_2(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
24700 PyObject
*resultobj
= 0;
24701 wxPrintData
*arg1
= 0 ;
24702 wxPageSetupDialogData
*result
= 0 ;
24706 if ((nobjs
< 1) || (nobjs
> 1)) SWIG_fail
;
24707 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
, SWIGTYPE_p_wxPrintData
, 0 | 0);
24708 if (!SWIG_IsOK(res1
)) {
24709 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PageSetupDialogData" "', expected argument " "1"" of type '" "wxPrintData const &""'");
24712 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_PageSetupDialogData" "', expected argument " "1"" of type '" "wxPrintData const &""'");
24714 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
24716 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24717 result
= (wxPageSetupDialogData
*)new wxPageSetupDialogData((wxPrintData
const &)*arg1
);
24718 wxPyEndAllowThreads(__tstate
);
24719 if (PyErr_Occurred()) SWIG_fail
;
24721 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPageSetupDialogData
, SWIG_POINTER_NEW
| 0 );
24728 SWIGINTERN PyObject
*_wrap_new_PageSetupDialogData(PyObject
*self
, PyObject
*args
) {
24732 if (!(argc
= SWIG_Python_UnpackTuple(args
,"new_PageSetupDialogData",0,1,argv
))) SWIG_fail
;
24735 return _wrap_new_PageSetupDialogData__SWIG_0(self
, argc
, argv
);
24740 int res
= SWIG_ConvertPtr(argv
[0], 0, SWIGTYPE_p_wxPageSetupDialogData
, 0);
24741 _v
= SWIG_CheckState(res
);
24743 if (!_v
) goto check_2
;
24744 return _wrap_new_PageSetupDialogData__SWIG_1(self
, argc
, argv
);
24749 return _wrap_new_PageSetupDialogData__SWIG_2(self
, argc
, argv
);
24753 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'new_PageSetupDialogData'");
24758 SWIGINTERN PyObject
*_wrap_delete_PageSetupDialogData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24759 PyObject
*resultobj
= 0;
24760 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
24763 PyObject
*swig_obj
[1] ;
24765 if (!args
) SWIG_fail
;
24766 swig_obj
[0] = args
;
24767 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, SWIG_POINTER_DISOWN
| 0 );
24768 if (!SWIG_IsOK(res1
)) {
24769 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_PageSetupDialogData" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
24771 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
24773 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24776 wxPyEndAllowThreads(__tstate
);
24777 if (PyErr_Occurred()) SWIG_fail
;
24779 resultobj
= SWIG_Py_Void();
24786 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_EnableHelp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24787 PyObject
*resultobj
= 0;
24788 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
24794 PyObject
* obj0
= 0 ;
24795 PyObject
* obj1
= 0 ;
24796 char * kwnames
[] = {
24797 (char *) "self",(char *) "flag", NULL
24800 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_EnableHelp",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24801 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
24802 if (!SWIG_IsOK(res1
)) {
24803 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_EnableHelp" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
24805 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
24806 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
24807 if (!SWIG_IsOK(ecode2
)) {
24808 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PageSetupDialogData_EnableHelp" "', expected argument " "2"" of type '" "bool""'");
24810 arg2
= static_cast< bool >(val2
);
24812 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24813 (arg1
)->EnableHelp(arg2
);
24814 wxPyEndAllowThreads(__tstate
);
24815 if (PyErr_Occurred()) SWIG_fail
;
24817 resultobj
= SWIG_Py_Void();
24824 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_EnableMargins(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24825 PyObject
*resultobj
= 0;
24826 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
24832 PyObject
* obj0
= 0 ;
24833 PyObject
* obj1
= 0 ;
24834 char * kwnames
[] = {
24835 (char *) "self",(char *) "flag", NULL
24838 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_EnableMargins",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24839 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
24840 if (!SWIG_IsOK(res1
)) {
24841 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_EnableMargins" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
24843 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
24844 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
24845 if (!SWIG_IsOK(ecode2
)) {
24846 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PageSetupDialogData_EnableMargins" "', expected argument " "2"" of type '" "bool""'");
24848 arg2
= static_cast< bool >(val2
);
24850 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24851 (arg1
)->EnableMargins(arg2
);
24852 wxPyEndAllowThreads(__tstate
);
24853 if (PyErr_Occurred()) SWIG_fail
;
24855 resultobj
= SWIG_Py_Void();
24862 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_EnableOrientation(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24863 PyObject
*resultobj
= 0;
24864 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
24870 PyObject
* obj0
= 0 ;
24871 PyObject
* obj1
= 0 ;
24872 char * kwnames
[] = {
24873 (char *) "self",(char *) "flag", NULL
24876 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_EnableOrientation",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24877 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
24878 if (!SWIG_IsOK(res1
)) {
24879 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_EnableOrientation" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
24881 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
24882 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
24883 if (!SWIG_IsOK(ecode2
)) {
24884 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PageSetupDialogData_EnableOrientation" "', expected argument " "2"" of type '" "bool""'");
24886 arg2
= static_cast< bool >(val2
);
24888 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24889 (arg1
)->EnableOrientation(arg2
);
24890 wxPyEndAllowThreads(__tstate
);
24891 if (PyErr_Occurred()) SWIG_fail
;
24893 resultobj
= SWIG_Py_Void();
24900 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_EnablePaper(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24901 PyObject
*resultobj
= 0;
24902 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
24908 PyObject
* obj0
= 0 ;
24909 PyObject
* obj1
= 0 ;
24910 char * kwnames
[] = {
24911 (char *) "self",(char *) "flag", NULL
24914 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_EnablePaper",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24915 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
24916 if (!SWIG_IsOK(res1
)) {
24917 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_EnablePaper" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
24919 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
24920 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
24921 if (!SWIG_IsOK(ecode2
)) {
24922 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PageSetupDialogData_EnablePaper" "', expected argument " "2"" of type '" "bool""'");
24924 arg2
= static_cast< bool >(val2
);
24926 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24927 (arg1
)->EnablePaper(arg2
);
24928 wxPyEndAllowThreads(__tstate
);
24929 if (PyErr_Occurred()) SWIG_fail
;
24931 resultobj
= SWIG_Py_Void();
24938 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_EnablePrinter(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24939 PyObject
*resultobj
= 0;
24940 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
24946 PyObject
* obj0
= 0 ;
24947 PyObject
* obj1
= 0 ;
24948 char * kwnames
[] = {
24949 (char *) "self",(char *) "flag", NULL
24952 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_EnablePrinter",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24953 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
24954 if (!SWIG_IsOK(res1
)) {
24955 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_EnablePrinter" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
24957 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
24958 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
24959 if (!SWIG_IsOK(ecode2
)) {
24960 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PageSetupDialogData_EnablePrinter" "', expected argument " "2"" of type '" "bool""'");
24962 arg2
= static_cast< bool >(val2
);
24964 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24965 (arg1
)->EnablePrinter(arg2
);
24966 wxPyEndAllowThreads(__tstate
);
24967 if (PyErr_Occurred()) SWIG_fail
;
24969 resultobj
= SWIG_Py_Void();
24976 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_GetDefaultMinMargins(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_GetDefaultMinMargins" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
24990 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
24992 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24993 result
= (bool)(arg1
)->GetDefaultMinMargins();
24994 wxPyEndAllowThreads(__tstate
);
24995 if (PyErr_Occurred()) SWIG_fail
;
24998 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25006 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_GetEnableMargins(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_GetEnableMargins" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25020 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
25022 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25023 result
= (bool)(arg1
)->GetEnableMargins();
25024 wxPyEndAllowThreads(__tstate
);
25025 if (PyErr_Occurred()) SWIG_fail
;
25028 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25036 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_GetEnableOrientation(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25037 PyObject
*resultobj
= 0;
25038 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
25042 PyObject
*swig_obj
[1] ;
25044 if (!args
) SWIG_fail
;
25045 swig_obj
[0] = args
;
25046 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
25047 if (!SWIG_IsOK(res1
)) {
25048 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_GetEnableOrientation" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25050 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
25052 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25053 result
= (bool)(arg1
)->GetEnableOrientation();
25054 wxPyEndAllowThreads(__tstate
);
25055 if (PyErr_Occurred()) SWIG_fail
;
25058 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25066 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_GetEnablePaper(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25067 PyObject
*resultobj
= 0;
25068 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
25072 PyObject
*swig_obj
[1] ;
25074 if (!args
) SWIG_fail
;
25075 swig_obj
[0] = args
;
25076 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
25077 if (!SWIG_IsOK(res1
)) {
25078 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_GetEnablePaper" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25080 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
25082 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25083 result
= (bool)(arg1
)->GetEnablePaper();
25084 wxPyEndAllowThreads(__tstate
);
25085 if (PyErr_Occurred()) SWIG_fail
;
25088 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25096 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_GetEnablePrinter(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25097 PyObject
*resultobj
= 0;
25098 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
25102 PyObject
*swig_obj
[1] ;
25104 if (!args
) SWIG_fail
;
25105 swig_obj
[0] = args
;
25106 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
25107 if (!SWIG_IsOK(res1
)) {
25108 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_GetEnablePrinter" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25110 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
25112 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25113 result
= (bool)(arg1
)->GetEnablePrinter();
25114 wxPyEndAllowThreads(__tstate
);
25115 if (PyErr_Occurred()) SWIG_fail
;
25118 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25126 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_GetEnableHelp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25127 PyObject
*resultobj
= 0;
25128 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
25132 PyObject
*swig_obj
[1] ;
25134 if (!args
) SWIG_fail
;
25135 swig_obj
[0] = args
;
25136 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
25137 if (!SWIG_IsOK(res1
)) {
25138 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_GetEnableHelp" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25140 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
25142 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25143 result
= (bool)(arg1
)->GetEnableHelp();
25144 wxPyEndAllowThreads(__tstate
);
25145 if (PyErr_Occurred()) SWIG_fail
;
25148 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25156 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_GetDefaultInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25157 PyObject
*resultobj
= 0;
25158 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
25162 PyObject
*swig_obj
[1] ;
25164 if (!args
) SWIG_fail
;
25165 swig_obj
[0] = args
;
25166 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
25167 if (!SWIG_IsOK(res1
)) {
25168 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_GetDefaultInfo" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25170 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
25172 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25173 result
= (bool)(arg1
)->GetDefaultInfo();
25174 wxPyEndAllowThreads(__tstate
);
25175 if (PyErr_Occurred()) SWIG_fail
;
25178 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25186 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_GetMarginTopLeft(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25187 PyObject
*resultobj
= 0;
25188 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
25192 PyObject
*swig_obj
[1] ;
25194 if (!args
) SWIG_fail
;
25195 swig_obj
[0] = args
;
25196 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
25197 if (!SWIG_IsOK(res1
)) {
25198 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_GetMarginTopLeft" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25200 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
25202 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25203 result
= (arg1
)->GetMarginTopLeft();
25204 wxPyEndAllowThreads(__tstate
);
25205 if (PyErr_Occurred()) SWIG_fail
;
25207 resultobj
= SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint
& >(result
))), SWIGTYPE_p_wxPoint
, SWIG_POINTER_OWN
| 0 );
25214 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_GetMarginBottomRight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25215 PyObject
*resultobj
= 0;
25216 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
25220 PyObject
*swig_obj
[1] ;
25222 if (!args
) SWIG_fail
;
25223 swig_obj
[0] = args
;
25224 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
25225 if (!SWIG_IsOK(res1
)) {
25226 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_GetMarginBottomRight" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25228 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
25230 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25231 result
= (arg1
)->GetMarginBottomRight();
25232 wxPyEndAllowThreads(__tstate
);
25233 if (PyErr_Occurred()) SWIG_fail
;
25235 resultobj
= SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint
& >(result
))), SWIGTYPE_p_wxPoint
, SWIG_POINTER_OWN
| 0 );
25242 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_GetMinMarginTopLeft(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25243 PyObject
*resultobj
= 0;
25244 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
25248 PyObject
*swig_obj
[1] ;
25250 if (!args
) SWIG_fail
;
25251 swig_obj
[0] = args
;
25252 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
25253 if (!SWIG_IsOK(res1
)) {
25254 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_GetMinMarginTopLeft" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25256 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
25258 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25259 result
= (arg1
)->GetMinMarginTopLeft();
25260 wxPyEndAllowThreads(__tstate
);
25261 if (PyErr_Occurred()) SWIG_fail
;
25263 resultobj
= SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint
& >(result
))), SWIGTYPE_p_wxPoint
, SWIG_POINTER_OWN
| 0 );
25270 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_GetMinMarginBottomRight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25271 PyObject
*resultobj
= 0;
25272 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
25276 PyObject
*swig_obj
[1] ;
25278 if (!args
) SWIG_fail
;
25279 swig_obj
[0] = args
;
25280 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
25281 if (!SWIG_IsOK(res1
)) {
25282 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_GetMinMarginBottomRight" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25284 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
25286 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25287 result
= (arg1
)->GetMinMarginBottomRight();
25288 wxPyEndAllowThreads(__tstate
);
25289 if (PyErr_Occurred()) SWIG_fail
;
25291 resultobj
= SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint
& >(result
))), SWIGTYPE_p_wxPoint
, SWIG_POINTER_OWN
| 0 );
25298 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_GetPaperId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25299 PyObject
*resultobj
= 0;
25300 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
25301 wxPaperSize result
;
25304 PyObject
*swig_obj
[1] ;
25306 if (!args
) SWIG_fail
;
25307 swig_obj
[0] = args
;
25308 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
25309 if (!SWIG_IsOK(res1
)) {
25310 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_GetPaperId" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25312 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
25314 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25315 result
= (wxPaperSize
)(arg1
)->GetPaperId();
25316 wxPyEndAllowThreads(__tstate
);
25317 if (PyErr_Occurred()) SWIG_fail
;
25319 resultobj
= SWIG_From_int(static_cast< int >(result
));
25326 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_GetPaperSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25327 PyObject
*resultobj
= 0;
25328 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
25332 PyObject
*swig_obj
[1] ;
25334 if (!args
) SWIG_fail
;
25335 swig_obj
[0] = args
;
25336 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
25337 if (!SWIG_IsOK(res1
)) {
25338 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_GetPaperSize" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25340 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
25342 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25343 result
= (arg1
)->GetPaperSize();
25344 wxPyEndAllowThreads(__tstate
);
25345 if (PyErr_Occurred()) SWIG_fail
;
25347 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
25354 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_GetPrintData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25355 PyObject
*resultobj
= 0;
25356 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
25357 wxPrintData
*result
= 0 ;
25360 PyObject
*swig_obj
[1] ;
25362 if (!args
) SWIG_fail
;
25363 swig_obj
[0] = args
;
25364 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
25365 if (!SWIG_IsOK(res1
)) {
25366 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_GetPrintData" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25368 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
25370 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25372 wxPrintData
&_result_ref
= (arg1
)->GetPrintData();
25373 result
= (wxPrintData
*) &_result_ref
;
25375 wxPyEndAllowThreads(__tstate
);
25376 if (PyErr_Occurred()) SWIG_fail
;
25378 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPrintData
, 0 | 0 );
25385 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_IsOk(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25386 PyObject
*resultobj
= 0;
25387 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
25391 PyObject
*swig_obj
[1] ;
25393 if (!args
) SWIG_fail
;
25394 swig_obj
[0] = args
;
25395 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
25396 if (!SWIG_IsOK(res1
)) {
25397 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_IsOk" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25399 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
25401 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25402 result
= (bool)(arg1
)->IsOk();
25403 wxPyEndAllowThreads(__tstate
);
25404 if (PyErr_Occurred()) SWIG_fail
;
25407 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25415 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_SetDefaultInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25416 PyObject
*resultobj
= 0;
25417 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
25423 PyObject
* obj0
= 0 ;
25424 PyObject
* obj1
= 0 ;
25425 char * kwnames
[] = {
25426 (char *) "self",(char *) "flag", NULL
25429 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_SetDefaultInfo",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25430 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
25431 if (!SWIG_IsOK(res1
)) {
25432 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_SetDefaultInfo" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25434 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
25435 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
25436 if (!SWIG_IsOK(ecode2
)) {
25437 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PageSetupDialogData_SetDefaultInfo" "', expected argument " "2"" of type '" "bool""'");
25439 arg2
= static_cast< bool >(val2
);
25441 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25442 (arg1
)->SetDefaultInfo(arg2
);
25443 wxPyEndAllowThreads(__tstate
);
25444 if (PyErr_Occurred()) SWIG_fail
;
25446 resultobj
= SWIG_Py_Void();
25453 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_SetDefaultMinMargins(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25454 PyObject
*resultobj
= 0;
25455 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
25461 PyObject
* obj0
= 0 ;
25462 PyObject
* obj1
= 0 ;
25463 char * kwnames
[] = {
25464 (char *) "self",(char *) "flag", NULL
25467 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_SetDefaultMinMargins",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25468 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
25469 if (!SWIG_IsOK(res1
)) {
25470 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_SetDefaultMinMargins" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25472 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
25473 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
25474 if (!SWIG_IsOK(ecode2
)) {
25475 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PageSetupDialogData_SetDefaultMinMargins" "', expected argument " "2"" of type '" "bool""'");
25477 arg2
= static_cast< bool >(val2
);
25479 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25480 (arg1
)->SetDefaultMinMargins(arg2
);
25481 wxPyEndAllowThreads(__tstate
);
25482 if (PyErr_Occurred()) SWIG_fail
;
25484 resultobj
= SWIG_Py_Void();
25491 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_SetMarginTopLeft(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25492 PyObject
*resultobj
= 0;
25493 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
25494 wxPoint
*arg2
= 0 ;
25498 PyObject
* obj0
= 0 ;
25499 PyObject
* obj1
= 0 ;
25500 char * kwnames
[] = {
25501 (char *) "self",(char *) "pt", NULL
25504 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_SetMarginTopLeft",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25505 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
25506 if (!SWIG_IsOK(res1
)) {
25507 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_SetMarginTopLeft" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25509 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
25512 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
25515 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25516 (arg1
)->SetMarginTopLeft((wxPoint
const &)*arg2
);
25517 wxPyEndAllowThreads(__tstate
);
25518 if (PyErr_Occurred()) SWIG_fail
;
25520 resultobj
= SWIG_Py_Void();
25527 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_SetMarginBottomRight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25528 PyObject
*resultobj
= 0;
25529 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
25530 wxPoint
*arg2
= 0 ;
25534 PyObject
* obj0
= 0 ;
25535 PyObject
* obj1
= 0 ;
25536 char * kwnames
[] = {
25537 (char *) "self",(char *) "pt", NULL
25540 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_SetMarginBottomRight",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25541 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
25542 if (!SWIG_IsOK(res1
)) {
25543 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_SetMarginBottomRight" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25545 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
25548 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
25551 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25552 (arg1
)->SetMarginBottomRight((wxPoint
const &)*arg2
);
25553 wxPyEndAllowThreads(__tstate
);
25554 if (PyErr_Occurred()) SWIG_fail
;
25556 resultobj
= SWIG_Py_Void();
25563 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_SetMinMarginTopLeft(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25564 PyObject
*resultobj
= 0;
25565 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
25566 wxPoint
*arg2
= 0 ;
25570 PyObject
* obj0
= 0 ;
25571 PyObject
* obj1
= 0 ;
25572 char * kwnames
[] = {
25573 (char *) "self",(char *) "pt", NULL
25576 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_SetMinMarginTopLeft",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25577 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
25578 if (!SWIG_IsOK(res1
)) {
25579 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_SetMinMarginTopLeft" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25581 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
25584 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
25587 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25588 (arg1
)->SetMinMarginTopLeft((wxPoint
const &)*arg2
);
25589 wxPyEndAllowThreads(__tstate
);
25590 if (PyErr_Occurred()) SWIG_fail
;
25592 resultobj
= SWIG_Py_Void();
25599 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_SetMinMarginBottomRight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25600 PyObject
*resultobj
= 0;
25601 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
25602 wxPoint
*arg2
= 0 ;
25606 PyObject
* obj0
= 0 ;
25607 PyObject
* obj1
= 0 ;
25608 char * kwnames
[] = {
25609 (char *) "self",(char *) "pt", NULL
25612 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_SetMinMarginBottomRight",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25613 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
25614 if (!SWIG_IsOK(res1
)) {
25615 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_SetMinMarginBottomRight" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25617 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
25620 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
25623 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25624 (arg1
)->SetMinMarginBottomRight((wxPoint
const &)*arg2
);
25625 wxPyEndAllowThreads(__tstate
);
25626 if (PyErr_Occurred()) SWIG_fail
;
25628 resultobj
= SWIG_Py_Void();
25635 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_SetPaperId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25636 PyObject
*resultobj
= 0;
25637 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
25643 PyObject
* obj0
= 0 ;
25644 PyObject
* obj1
= 0 ;
25645 char * kwnames
[] = {
25646 (char *) "self",(char *) "id", NULL
25649 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_SetPaperId",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25650 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
25651 if (!SWIG_IsOK(res1
)) {
25652 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_SetPaperId" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25654 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
25655 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
25656 if (!SWIG_IsOK(ecode2
)) {
25657 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PageSetupDialogData_SetPaperId" "', expected argument " "2"" of type '" "wxPaperSize""'");
25659 arg2
= static_cast< wxPaperSize
>(val2
);
25661 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25662 (arg1
)->SetPaperId(arg2
);
25663 wxPyEndAllowThreads(__tstate
);
25664 if (PyErr_Occurred()) SWIG_fail
;
25666 resultobj
= SWIG_Py_Void();
25673 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_SetPaperSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25674 PyObject
*resultobj
= 0;
25675 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
25680 PyObject
* obj0
= 0 ;
25681 PyObject
* obj1
= 0 ;
25682 char * kwnames
[] = {
25683 (char *) "self",(char *) "size", NULL
25686 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_SetPaperSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25687 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
25688 if (!SWIG_IsOK(res1
)) {
25689 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_SetPaperSize" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25691 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
25694 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
25697 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25698 (arg1
)->SetPaperSize((wxSize
const &)*arg2
);
25699 wxPyEndAllowThreads(__tstate
);
25700 if (PyErr_Occurred()) SWIG_fail
;
25702 resultobj
= SWIG_Py_Void();
25709 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_SetPrintData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25710 PyObject
*resultobj
= 0;
25711 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
25712 wxPrintData
*arg2
= 0 ;
25717 PyObject
* obj0
= 0 ;
25718 PyObject
* obj1
= 0 ;
25719 char * kwnames
[] = {
25720 (char *) "self",(char *) "printData", NULL
25723 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_SetPrintData",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25724 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
25725 if (!SWIG_IsOK(res1
)) {
25726 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_SetPrintData" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25728 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
25729 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxPrintData
, 0 | 0);
25730 if (!SWIG_IsOK(res2
)) {
25731 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PageSetupDialogData_SetPrintData" "', expected argument " "2"" of type '" "wxPrintData const &""'");
25734 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "PageSetupDialogData_SetPrintData" "', expected argument " "2"" of type '" "wxPrintData const &""'");
25736 arg2
= reinterpret_cast< wxPrintData
* >(argp2
);
25738 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25739 (arg1
)->SetPrintData((wxPrintData
const &)*arg2
);
25740 wxPyEndAllowThreads(__tstate
);
25741 if (PyErr_Occurred()) SWIG_fail
;
25743 resultobj
= SWIG_Py_Void();
25750 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_CalculateIdFromPaperSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25751 PyObject
*resultobj
= 0;
25752 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
25755 PyObject
*swig_obj
[1] ;
25757 if (!args
) SWIG_fail
;
25758 swig_obj
[0] = args
;
25759 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
25760 if (!SWIG_IsOK(res1
)) {
25761 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_CalculateIdFromPaperSize" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25763 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
25765 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25766 (arg1
)->CalculateIdFromPaperSize();
25767 wxPyEndAllowThreads(__tstate
);
25768 if (PyErr_Occurred()) SWIG_fail
;
25770 resultobj
= SWIG_Py_Void();
25777 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_CalculatePaperSizeFromId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25778 PyObject
*resultobj
= 0;
25779 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
25782 PyObject
*swig_obj
[1] ;
25784 if (!args
) SWIG_fail
;
25785 swig_obj
[0] = args
;
25786 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
25787 if (!SWIG_IsOK(res1
)) {
25788 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_CalculatePaperSizeFromId" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25790 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
25792 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25793 (arg1
)->CalculatePaperSizeFromId();
25794 wxPyEndAllowThreads(__tstate
);
25795 if (PyErr_Occurred()) SWIG_fail
;
25797 resultobj
= SWIG_Py_Void();
25804 SWIGINTERN PyObject
*PageSetupDialogData_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25806 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
25807 SWIG_TypeNewClientData(SWIGTYPE_p_wxPageSetupDialogData
, SWIG_NewClientData(obj
));
25808 return SWIG_Py_Void();
25811 SWIGINTERN PyObject
*PageSetupDialogData_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25812 return SWIG_Python_InitShadowInstance(args
);
25815 SWIGINTERN PyObject
*_wrap_new_PageSetupDialog(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25816 PyObject
*resultobj
= 0;
25817 wxWindow
*arg1
= (wxWindow
*) 0 ;
25818 wxPageSetupDialogData
*arg2
= (wxPageSetupDialogData
*) NULL
;
25819 wxPageSetupDialog
*result
= 0 ;
25824 PyObject
* obj0
= 0 ;
25825 PyObject
* obj1
= 0 ;
25826 char * kwnames
[] = {
25827 (char *) "parent",(char *) "data", NULL
25830 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_PageSetupDialog",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25831 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
25832 if (!SWIG_IsOK(res1
)) {
25833 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PageSetupDialog" "', expected argument " "1"" of type '" "wxWindow *""'");
25835 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
25837 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
25838 if (!SWIG_IsOK(res2
)) {
25839 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_PageSetupDialog" "', expected argument " "2"" of type '" "wxPageSetupDialogData *""'");
25841 arg2
= reinterpret_cast< wxPageSetupDialogData
* >(argp2
);
25844 if (!wxPyCheckForApp()) SWIG_fail
;
25845 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25846 result
= (wxPageSetupDialog
*)new wxPageSetupDialog(arg1
,arg2
);
25847 wxPyEndAllowThreads(__tstate
);
25848 if (PyErr_Occurred()) SWIG_fail
;
25850 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPageSetupDialog
, SWIG_POINTER_NEW
| 0 );
25857 SWIGINTERN PyObject
*_wrap_delete_PageSetupDialog(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25858 PyObject
*resultobj
= 0;
25859 wxPageSetupDialog
*arg1
= (wxPageSetupDialog
*) 0 ;
25862 PyObject
*swig_obj
[1] ;
25864 if (!args
) SWIG_fail
;
25865 swig_obj
[0] = args
;
25866 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPageSetupDialog
, SWIG_POINTER_DISOWN
| 0 );
25867 if (!SWIG_IsOK(res1
)) {
25868 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_PageSetupDialog" "', expected argument " "1"" of type '" "wxPageSetupDialog *""'");
25870 arg1
= reinterpret_cast< wxPageSetupDialog
* >(argp1
);
25872 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25875 wxPyEndAllowThreads(__tstate
);
25876 if (PyErr_Occurred()) SWIG_fail
;
25878 resultobj
= SWIG_Py_Void();
25885 SWIGINTERN PyObject
*_wrap_PageSetupDialog_GetPageSetupData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25886 PyObject
*resultobj
= 0;
25887 wxPageSetupDialog
*arg1
= (wxPageSetupDialog
*) 0 ;
25888 wxPageSetupDialogData
*result
= 0 ;
25891 PyObject
*swig_obj
[1] ;
25893 if (!args
) SWIG_fail
;
25894 swig_obj
[0] = args
;
25895 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPageSetupDialog
, 0 | 0 );
25896 if (!SWIG_IsOK(res1
)) {
25897 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialog_GetPageSetupData" "', expected argument " "1"" of type '" "wxPageSetupDialog *""'");
25899 arg1
= reinterpret_cast< wxPageSetupDialog
* >(argp1
);
25901 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25903 wxPageSetupDialogData
&_result_ref
= (arg1
)->GetPageSetupData();
25904 result
= (wxPageSetupDialogData
*) &_result_ref
;
25906 wxPyEndAllowThreads(__tstate
);
25907 if (PyErr_Occurred()) SWIG_fail
;
25909 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
25916 SWIGINTERN PyObject
*_wrap_PageSetupDialog_GetPageSetupDialogData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25917 PyObject
*resultobj
= 0;
25918 wxPageSetupDialog
*arg1
= (wxPageSetupDialog
*) 0 ;
25919 wxPageSetupDialogData
*result
= 0 ;
25922 PyObject
*swig_obj
[1] ;
25924 if (!args
) SWIG_fail
;
25925 swig_obj
[0] = args
;
25926 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPageSetupDialog
, 0 | 0 );
25927 if (!SWIG_IsOK(res1
)) {
25928 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialog_GetPageSetupDialogData" "', expected argument " "1"" of type '" "wxPageSetupDialog *""'");
25930 arg1
= reinterpret_cast< wxPageSetupDialog
* >(argp1
);
25932 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25934 wxPageSetupDialogData
&_result_ref
= (arg1
)->GetPageSetupDialogData();
25935 result
= (wxPageSetupDialogData
*) &_result_ref
;
25937 wxPyEndAllowThreads(__tstate
);
25938 if (PyErr_Occurred()) SWIG_fail
;
25940 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
25947 SWIGINTERN PyObject
*_wrap_PageSetupDialog_ShowModal(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25948 PyObject
*resultobj
= 0;
25949 wxPageSetupDialog
*arg1
= (wxPageSetupDialog
*) 0 ;
25953 PyObject
*swig_obj
[1] ;
25955 if (!args
) SWIG_fail
;
25956 swig_obj
[0] = args
;
25957 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPageSetupDialog
, 0 | 0 );
25958 if (!SWIG_IsOK(res1
)) {
25959 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialog_ShowModal" "', expected argument " "1"" of type '" "wxPageSetupDialog *""'");
25961 arg1
= reinterpret_cast< wxPageSetupDialog
* >(argp1
);
25963 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25964 result
= (int)(arg1
)->ShowModal();
25965 wxPyEndAllowThreads(__tstate
);
25966 if (PyErr_Occurred()) SWIG_fail
;
25968 resultobj
= SWIG_From_int(static_cast< int >(result
));
25975 SWIGINTERN PyObject
*PageSetupDialog_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25977 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
25978 SWIG_TypeNewClientData(SWIGTYPE_p_wxPageSetupDialog
, SWIG_NewClientData(obj
));
25979 return SWIG_Py_Void();
25982 SWIGINTERN PyObject
*PageSetupDialog_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25983 return SWIG_Python_InitShadowInstance(args
);
25986 SWIGINTERN PyObject
*_wrap_new_PrintDialogData__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**SWIGUNUSEDPARM(swig_obj
)) {
25987 PyObject
*resultobj
= 0;
25988 wxPrintDialogData
*result
= 0 ;
25990 if ((nobjs
< 0) || (nobjs
> 0)) SWIG_fail
;
25992 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25993 result
= (wxPrintDialogData
*)new wxPrintDialogData();
25994 wxPyEndAllowThreads(__tstate
);
25995 if (PyErr_Occurred()) SWIG_fail
;
25997 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPrintDialogData
, SWIG_POINTER_NEW
| 0 );
26004 SWIGINTERN PyObject
*_wrap_new_PrintDialogData__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
26005 PyObject
*resultobj
= 0;
26006 wxPrintData
*arg1
= 0 ;
26007 wxPrintDialogData
*result
= 0 ;
26011 if ((nobjs
< 1) || (nobjs
> 1)) SWIG_fail
;
26012 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
, SWIGTYPE_p_wxPrintData
, 0 | 0);
26013 if (!SWIG_IsOK(res1
)) {
26014 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PrintDialogData" "', expected argument " "1"" of type '" "wxPrintData const &""'");
26017 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_PrintDialogData" "', expected argument " "1"" of type '" "wxPrintData const &""'");
26019 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
26021 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26022 result
= (wxPrintDialogData
*)new wxPrintDialogData((wxPrintData
const &)*arg1
);
26023 wxPyEndAllowThreads(__tstate
);
26024 if (PyErr_Occurred()) SWIG_fail
;
26026 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPrintDialogData
, SWIG_POINTER_NEW
| 0 );
26033 SWIGINTERN PyObject
*_wrap_new_PrintDialogData__SWIG_2(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
26034 PyObject
*resultobj
= 0;
26035 wxPrintDialogData
*arg1
= 0 ;
26036 wxPrintDialogData
*result
= 0 ;
26040 if ((nobjs
< 1) || (nobjs
> 1)) SWIG_fail
;
26041 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
, SWIGTYPE_p_wxPrintDialogData
, 0 | 0);
26042 if (!SWIG_IsOK(res1
)) {
26043 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PrintDialogData" "', expected argument " "1"" of type '" "wxPrintDialogData const &""'");
26046 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_PrintDialogData" "', expected argument " "1"" of type '" "wxPrintDialogData const &""'");
26048 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
26050 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26051 result
= (wxPrintDialogData
*)new wxPrintDialogData((wxPrintDialogData
const &)*arg1
);
26052 wxPyEndAllowThreads(__tstate
);
26053 if (PyErr_Occurred()) SWIG_fail
;
26055 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPrintDialogData
, SWIG_POINTER_NEW
| 0 );
26062 SWIGINTERN PyObject
*_wrap_new_PrintDialogData(PyObject
*self
, PyObject
*args
) {
26066 if (!(argc
= SWIG_Python_UnpackTuple(args
,"new_PrintDialogData",0,1,argv
))) SWIG_fail
;
26069 return _wrap_new_PrintDialogData__SWIG_0(self
, argc
, argv
);
26074 int res
= SWIG_ConvertPtr(argv
[0], 0, SWIGTYPE_p_wxPrintData
, 0);
26075 _v
= SWIG_CheckState(res
);
26077 if (!_v
) goto check_2
;
26078 return _wrap_new_PrintDialogData__SWIG_1(self
, argc
, argv
);
26083 return _wrap_new_PrintDialogData__SWIG_2(self
, argc
, argv
);
26087 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'new_PrintDialogData'");
26092 SWIGINTERN PyObject
*_wrap_delete_PrintDialogData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26093 PyObject
*resultobj
= 0;
26094 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
26097 PyObject
*swig_obj
[1] ;
26099 if (!args
) SWIG_fail
;
26100 swig_obj
[0] = args
;
26101 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintDialogData
, SWIG_POINTER_DISOWN
| 0 );
26102 if (!SWIG_IsOK(res1
)) {
26103 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_PrintDialogData" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
26105 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
26107 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26110 wxPyEndAllowThreads(__tstate
);
26111 if (PyErr_Occurred()) SWIG_fail
;
26113 resultobj
= SWIG_Py_Void();
26120 SWIGINTERN PyObject
*_wrap_PrintDialogData_GetFromPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26121 PyObject
*resultobj
= 0;
26122 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
26126 PyObject
*swig_obj
[1] ;
26128 if (!args
) SWIG_fail
;
26129 swig_obj
[0] = args
;
26130 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
26131 if (!SWIG_IsOK(res1
)) {
26132 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_GetFromPage" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
26134 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
26136 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26137 result
= (int)((wxPrintDialogData
const *)arg1
)->GetFromPage();
26138 wxPyEndAllowThreads(__tstate
);
26139 if (PyErr_Occurred()) SWIG_fail
;
26141 resultobj
= SWIG_From_int(static_cast< int >(result
));
26148 SWIGINTERN PyObject
*_wrap_PrintDialogData_GetToPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26149 PyObject
*resultobj
= 0;
26150 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
26154 PyObject
*swig_obj
[1] ;
26156 if (!args
) SWIG_fail
;
26157 swig_obj
[0] = args
;
26158 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
26159 if (!SWIG_IsOK(res1
)) {
26160 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_GetToPage" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
26162 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
26164 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26165 result
= (int)((wxPrintDialogData
const *)arg1
)->GetToPage();
26166 wxPyEndAllowThreads(__tstate
);
26167 if (PyErr_Occurred()) SWIG_fail
;
26169 resultobj
= SWIG_From_int(static_cast< int >(result
));
26176 SWIGINTERN PyObject
*_wrap_PrintDialogData_GetMinPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26177 PyObject
*resultobj
= 0;
26178 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
26182 PyObject
*swig_obj
[1] ;
26184 if (!args
) SWIG_fail
;
26185 swig_obj
[0] = args
;
26186 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
26187 if (!SWIG_IsOK(res1
)) {
26188 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_GetMinPage" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
26190 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
26192 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26193 result
= (int)((wxPrintDialogData
const *)arg1
)->GetMinPage();
26194 wxPyEndAllowThreads(__tstate
);
26195 if (PyErr_Occurred()) SWIG_fail
;
26197 resultobj
= SWIG_From_int(static_cast< int >(result
));
26204 SWIGINTERN PyObject
*_wrap_PrintDialogData_GetMaxPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26205 PyObject
*resultobj
= 0;
26206 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
26210 PyObject
*swig_obj
[1] ;
26212 if (!args
) SWIG_fail
;
26213 swig_obj
[0] = args
;
26214 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
26215 if (!SWIG_IsOK(res1
)) {
26216 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_GetMaxPage" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
26218 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
26220 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26221 result
= (int)((wxPrintDialogData
const *)arg1
)->GetMaxPage();
26222 wxPyEndAllowThreads(__tstate
);
26223 if (PyErr_Occurred()) SWIG_fail
;
26225 resultobj
= SWIG_From_int(static_cast< int >(result
));
26232 SWIGINTERN PyObject
*_wrap_PrintDialogData_GetNoCopies(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26233 PyObject
*resultobj
= 0;
26234 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
26238 PyObject
*swig_obj
[1] ;
26240 if (!args
) SWIG_fail
;
26241 swig_obj
[0] = args
;
26242 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
26243 if (!SWIG_IsOK(res1
)) {
26244 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_GetNoCopies" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
26246 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
26248 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26249 result
= (int)((wxPrintDialogData
const *)arg1
)->GetNoCopies();
26250 wxPyEndAllowThreads(__tstate
);
26251 if (PyErr_Occurred()) SWIG_fail
;
26253 resultobj
= SWIG_From_int(static_cast< int >(result
));
26260 SWIGINTERN PyObject
*_wrap_PrintDialogData_GetAllPages(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26261 PyObject
*resultobj
= 0;
26262 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
26266 PyObject
*swig_obj
[1] ;
26268 if (!args
) SWIG_fail
;
26269 swig_obj
[0] = args
;
26270 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
26271 if (!SWIG_IsOK(res1
)) {
26272 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_GetAllPages" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
26274 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
26276 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26277 result
= (bool)((wxPrintDialogData
const *)arg1
)->GetAllPages();
26278 wxPyEndAllowThreads(__tstate
);
26279 if (PyErr_Occurred()) SWIG_fail
;
26282 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26290 SWIGINTERN PyObject
*_wrap_PrintDialogData_GetSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26291 PyObject
*resultobj
= 0;
26292 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
26296 PyObject
*swig_obj
[1] ;
26298 if (!args
) SWIG_fail
;
26299 swig_obj
[0] = args
;
26300 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
26301 if (!SWIG_IsOK(res1
)) {
26302 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_GetSelection" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
26304 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
26306 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26307 result
= (bool)((wxPrintDialogData
const *)arg1
)->GetSelection();
26308 wxPyEndAllowThreads(__tstate
);
26309 if (PyErr_Occurred()) SWIG_fail
;
26312 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26320 SWIGINTERN PyObject
*_wrap_PrintDialogData_GetCollate(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26321 PyObject
*resultobj
= 0;
26322 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
26326 PyObject
*swig_obj
[1] ;
26328 if (!args
) SWIG_fail
;
26329 swig_obj
[0] = args
;
26330 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
26331 if (!SWIG_IsOK(res1
)) {
26332 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_GetCollate" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
26334 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
26336 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26337 result
= (bool)((wxPrintDialogData
const *)arg1
)->GetCollate();
26338 wxPyEndAllowThreads(__tstate
);
26339 if (PyErr_Occurred()) SWIG_fail
;
26342 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26350 SWIGINTERN PyObject
*_wrap_PrintDialogData_GetPrintToFile(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26351 PyObject
*resultobj
= 0;
26352 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
26356 PyObject
*swig_obj
[1] ;
26358 if (!args
) SWIG_fail
;
26359 swig_obj
[0] = args
;
26360 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
26361 if (!SWIG_IsOK(res1
)) {
26362 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_GetPrintToFile" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
26364 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
26366 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26367 result
= (bool)((wxPrintDialogData
const *)arg1
)->GetPrintToFile();
26368 wxPyEndAllowThreads(__tstate
);
26369 if (PyErr_Occurred()) SWIG_fail
;
26372 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26380 SWIGINTERN PyObject
*_wrap_PrintDialogData_SetFromPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26381 PyObject
*resultobj
= 0;
26382 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
26388 PyObject
* obj0
= 0 ;
26389 PyObject
* obj1
= 0 ;
26390 char * kwnames
[] = {
26391 (char *) "self",(char *) "v", NULL
26394 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetFromPage",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26395 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
26396 if (!SWIG_IsOK(res1
)) {
26397 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_SetFromPage" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
26399 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
26400 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
26401 if (!SWIG_IsOK(ecode2
)) {
26402 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintDialogData_SetFromPage" "', expected argument " "2"" of type '" "int""'");
26404 arg2
= static_cast< int >(val2
);
26406 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26407 (arg1
)->SetFromPage(arg2
);
26408 wxPyEndAllowThreads(__tstate
);
26409 if (PyErr_Occurred()) SWIG_fail
;
26411 resultobj
= SWIG_Py_Void();
26418 SWIGINTERN PyObject
*_wrap_PrintDialogData_SetToPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26419 PyObject
*resultobj
= 0;
26420 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
26426 PyObject
* obj0
= 0 ;
26427 PyObject
* obj1
= 0 ;
26428 char * kwnames
[] = {
26429 (char *) "self",(char *) "v", NULL
26432 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetToPage",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26433 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
26434 if (!SWIG_IsOK(res1
)) {
26435 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_SetToPage" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
26437 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
26438 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
26439 if (!SWIG_IsOK(ecode2
)) {
26440 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintDialogData_SetToPage" "', expected argument " "2"" of type '" "int""'");
26442 arg2
= static_cast< int >(val2
);
26444 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26445 (arg1
)->SetToPage(arg2
);
26446 wxPyEndAllowThreads(__tstate
);
26447 if (PyErr_Occurred()) SWIG_fail
;
26449 resultobj
= SWIG_Py_Void();
26456 SWIGINTERN PyObject
*_wrap_PrintDialogData_SetMinPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26457 PyObject
*resultobj
= 0;
26458 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
26464 PyObject
* obj0
= 0 ;
26465 PyObject
* obj1
= 0 ;
26466 char * kwnames
[] = {
26467 (char *) "self",(char *) "v", NULL
26470 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetMinPage",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26471 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
26472 if (!SWIG_IsOK(res1
)) {
26473 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_SetMinPage" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
26475 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
26476 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
26477 if (!SWIG_IsOK(ecode2
)) {
26478 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintDialogData_SetMinPage" "', expected argument " "2"" of type '" "int""'");
26480 arg2
= static_cast< int >(val2
);
26482 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26483 (arg1
)->SetMinPage(arg2
);
26484 wxPyEndAllowThreads(__tstate
);
26485 if (PyErr_Occurred()) SWIG_fail
;
26487 resultobj
= SWIG_Py_Void();
26494 SWIGINTERN PyObject
*_wrap_PrintDialogData_SetMaxPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26495 PyObject
*resultobj
= 0;
26496 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
26502 PyObject
* obj0
= 0 ;
26503 PyObject
* obj1
= 0 ;
26504 char * kwnames
[] = {
26505 (char *) "self",(char *) "v", NULL
26508 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetMaxPage",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26509 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
26510 if (!SWIG_IsOK(res1
)) {
26511 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_SetMaxPage" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
26513 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
26514 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
26515 if (!SWIG_IsOK(ecode2
)) {
26516 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintDialogData_SetMaxPage" "', expected argument " "2"" of type '" "int""'");
26518 arg2
= static_cast< int >(val2
);
26520 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26521 (arg1
)->SetMaxPage(arg2
);
26522 wxPyEndAllowThreads(__tstate
);
26523 if (PyErr_Occurred()) SWIG_fail
;
26525 resultobj
= SWIG_Py_Void();
26532 SWIGINTERN PyObject
*_wrap_PrintDialogData_SetNoCopies(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26533 PyObject
*resultobj
= 0;
26534 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
26540 PyObject
* obj0
= 0 ;
26541 PyObject
* obj1
= 0 ;
26542 char * kwnames
[] = {
26543 (char *) "self",(char *) "v", NULL
26546 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetNoCopies",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26547 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
26548 if (!SWIG_IsOK(res1
)) {
26549 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_SetNoCopies" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
26551 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
26552 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
26553 if (!SWIG_IsOK(ecode2
)) {
26554 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintDialogData_SetNoCopies" "', expected argument " "2"" of type '" "int""'");
26556 arg2
= static_cast< int >(val2
);
26558 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26559 (arg1
)->SetNoCopies(arg2
);
26560 wxPyEndAllowThreads(__tstate
);
26561 if (PyErr_Occurred()) SWIG_fail
;
26563 resultobj
= SWIG_Py_Void();
26570 SWIGINTERN PyObject
*_wrap_PrintDialogData_SetAllPages(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26571 PyObject
*resultobj
= 0;
26572 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
26578 PyObject
* obj0
= 0 ;
26579 PyObject
* obj1
= 0 ;
26580 char * kwnames
[] = {
26581 (char *) "self",(char *) "flag", NULL
26584 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetAllPages",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26585 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
26586 if (!SWIG_IsOK(res1
)) {
26587 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_SetAllPages" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
26589 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
26590 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
26591 if (!SWIG_IsOK(ecode2
)) {
26592 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintDialogData_SetAllPages" "', expected argument " "2"" of type '" "bool""'");
26594 arg2
= static_cast< bool >(val2
);
26596 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26597 (arg1
)->SetAllPages(arg2
);
26598 wxPyEndAllowThreads(__tstate
);
26599 if (PyErr_Occurred()) SWIG_fail
;
26601 resultobj
= SWIG_Py_Void();
26608 SWIGINTERN PyObject
*_wrap_PrintDialogData_SetSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26609 PyObject
*resultobj
= 0;
26610 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
26616 PyObject
* obj0
= 0 ;
26617 PyObject
* obj1
= 0 ;
26618 char * kwnames
[] = {
26619 (char *) "self",(char *) "flag", NULL
26622 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetSelection",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26623 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
26624 if (!SWIG_IsOK(res1
)) {
26625 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_SetSelection" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
26627 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
26628 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
26629 if (!SWIG_IsOK(ecode2
)) {
26630 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintDialogData_SetSelection" "', expected argument " "2"" of type '" "bool""'");
26632 arg2
= static_cast< bool >(val2
);
26634 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26635 (arg1
)->SetSelection(arg2
);
26636 wxPyEndAllowThreads(__tstate
);
26637 if (PyErr_Occurred()) SWIG_fail
;
26639 resultobj
= SWIG_Py_Void();
26646 SWIGINTERN PyObject
*_wrap_PrintDialogData_SetCollate(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26647 PyObject
*resultobj
= 0;
26648 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
26654 PyObject
* obj0
= 0 ;
26655 PyObject
* obj1
= 0 ;
26656 char * kwnames
[] = {
26657 (char *) "self",(char *) "flag", NULL
26660 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetCollate",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26661 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
26662 if (!SWIG_IsOK(res1
)) {
26663 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_SetCollate" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
26665 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
26666 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
26667 if (!SWIG_IsOK(ecode2
)) {
26668 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintDialogData_SetCollate" "', expected argument " "2"" of type '" "bool""'");
26670 arg2
= static_cast< bool >(val2
);
26672 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26673 (arg1
)->SetCollate(arg2
);
26674 wxPyEndAllowThreads(__tstate
);
26675 if (PyErr_Occurred()) SWIG_fail
;
26677 resultobj
= SWIG_Py_Void();
26684 SWIGINTERN PyObject
*_wrap_PrintDialogData_SetPrintToFile(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26685 PyObject
*resultobj
= 0;
26686 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
26692 PyObject
* obj0
= 0 ;
26693 PyObject
* obj1
= 0 ;
26694 char * kwnames
[] = {
26695 (char *) "self",(char *) "flag", NULL
26698 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetPrintToFile",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26699 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
26700 if (!SWIG_IsOK(res1
)) {
26701 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_SetPrintToFile" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
26703 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
26704 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
26705 if (!SWIG_IsOK(ecode2
)) {
26706 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintDialogData_SetPrintToFile" "', expected argument " "2"" of type '" "bool""'");
26708 arg2
= static_cast< bool >(val2
);
26710 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26711 (arg1
)->SetPrintToFile(arg2
);
26712 wxPyEndAllowThreads(__tstate
);
26713 if (PyErr_Occurred()) SWIG_fail
;
26715 resultobj
= SWIG_Py_Void();
26722 SWIGINTERN PyObject
*_wrap_PrintDialogData_EnablePrintToFile(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26723 PyObject
*resultobj
= 0;
26724 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
26730 PyObject
* obj0
= 0 ;
26731 PyObject
* obj1
= 0 ;
26732 char * kwnames
[] = {
26733 (char *) "self",(char *) "flag", NULL
26736 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_EnablePrintToFile",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26737 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
26738 if (!SWIG_IsOK(res1
)) {
26739 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_EnablePrintToFile" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
26741 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
26742 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
26743 if (!SWIG_IsOK(ecode2
)) {
26744 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintDialogData_EnablePrintToFile" "', expected argument " "2"" of type '" "bool""'");
26746 arg2
= static_cast< bool >(val2
);
26748 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26749 (arg1
)->EnablePrintToFile(arg2
);
26750 wxPyEndAllowThreads(__tstate
);
26751 if (PyErr_Occurred()) SWIG_fail
;
26753 resultobj
= SWIG_Py_Void();
26760 SWIGINTERN PyObject
*_wrap_PrintDialogData_EnableSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26761 PyObject
*resultobj
= 0;
26762 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
26768 PyObject
* obj0
= 0 ;
26769 PyObject
* obj1
= 0 ;
26770 char * kwnames
[] = {
26771 (char *) "self",(char *) "flag", NULL
26774 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_EnableSelection",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26775 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
26776 if (!SWIG_IsOK(res1
)) {
26777 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_EnableSelection" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
26779 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
26780 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
26781 if (!SWIG_IsOK(ecode2
)) {
26782 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintDialogData_EnableSelection" "', expected argument " "2"" of type '" "bool""'");
26784 arg2
= static_cast< bool >(val2
);
26786 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26787 (arg1
)->EnableSelection(arg2
);
26788 wxPyEndAllowThreads(__tstate
);
26789 if (PyErr_Occurred()) SWIG_fail
;
26791 resultobj
= SWIG_Py_Void();
26798 SWIGINTERN PyObject
*_wrap_PrintDialogData_EnablePageNumbers(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26799 PyObject
*resultobj
= 0;
26800 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
26806 PyObject
* obj0
= 0 ;
26807 PyObject
* obj1
= 0 ;
26808 char * kwnames
[] = {
26809 (char *) "self",(char *) "flag", NULL
26812 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_EnablePageNumbers",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26813 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
26814 if (!SWIG_IsOK(res1
)) {
26815 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_EnablePageNumbers" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
26817 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
26818 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
26819 if (!SWIG_IsOK(ecode2
)) {
26820 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintDialogData_EnablePageNumbers" "', expected argument " "2"" of type '" "bool""'");
26822 arg2
= static_cast< bool >(val2
);
26824 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26825 (arg1
)->EnablePageNumbers(arg2
);
26826 wxPyEndAllowThreads(__tstate
);
26827 if (PyErr_Occurred()) SWIG_fail
;
26829 resultobj
= SWIG_Py_Void();
26836 SWIGINTERN PyObject
*_wrap_PrintDialogData_EnableHelp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26837 PyObject
*resultobj
= 0;
26838 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
26844 PyObject
* obj0
= 0 ;
26845 PyObject
* obj1
= 0 ;
26846 char * kwnames
[] = {
26847 (char *) "self",(char *) "flag", NULL
26850 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_EnableHelp",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26851 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
26852 if (!SWIG_IsOK(res1
)) {
26853 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_EnableHelp" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
26855 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
26856 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
26857 if (!SWIG_IsOK(ecode2
)) {
26858 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintDialogData_EnableHelp" "', expected argument " "2"" of type '" "bool""'");
26860 arg2
= static_cast< bool >(val2
);
26862 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26863 (arg1
)->EnableHelp(arg2
);
26864 wxPyEndAllowThreads(__tstate
);
26865 if (PyErr_Occurred()) SWIG_fail
;
26867 resultobj
= SWIG_Py_Void();
26874 SWIGINTERN PyObject
*_wrap_PrintDialogData_GetEnablePrintToFile(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26875 PyObject
*resultobj
= 0;
26876 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
26880 PyObject
*swig_obj
[1] ;
26882 if (!args
) SWIG_fail
;
26883 swig_obj
[0] = args
;
26884 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
26885 if (!SWIG_IsOK(res1
)) {
26886 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_GetEnablePrintToFile" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
26888 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
26890 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26891 result
= (bool)((wxPrintDialogData
const *)arg1
)->GetEnablePrintToFile();
26892 wxPyEndAllowThreads(__tstate
);
26893 if (PyErr_Occurred()) SWIG_fail
;
26896 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26904 SWIGINTERN PyObject
*_wrap_PrintDialogData_GetEnableSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26905 PyObject
*resultobj
= 0;
26906 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
26910 PyObject
*swig_obj
[1] ;
26912 if (!args
) SWIG_fail
;
26913 swig_obj
[0] = args
;
26914 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
26915 if (!SWIG_IsOK(res1
)) {
26916 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_GetEnableSelection" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
26918 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
26920 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26921 result
= (bool)((wxPrintDialogData
const *)arg1
)->GetEnableSelection();
26922 wxPyEndAllowThreads(__tstate
);
26923 if (PyErr_Occurred()) SWIG_fail
;
26926 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26934 SWIGINTERN PyObject
*_wrap_PrintDialogData_GetEnablePageNumbers(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26935 PyObject
*resultobj
= 0;
26936 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
26940 PyObject
*swig_obj
[1] ;
26942 if (!args
) SWIG_fail
;
26943 swig_obj
[0] = args
;
26944 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
26945 if (!SWIG_IsOK(res1
)) {
26946 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_GetEnablePageNumbers" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
26948 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
26950 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26951 result
= (bool)((wxPrintDialogData
const *)arg1
)->GetEnablePageNumbers();
26952 wxPyEndAllowThreads(__tstate
);
26953 if (PyErr_Occurred()) SWIG_fail
;
26956 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26964 SWIGINTERN PyObject
*_wrap_PrintDialogData_GetEnableHelp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26965 PyObject
*resultobj
= 0;
26966 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
26970 PyObject
*swig_obj
[1] ;
26972 if (!args
) SWIG_fail
;
26973 swig_obj
[0] = args
;
26974 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
26975 if (!SWIG_IsOK(res1
)) {
26976 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_GetEnableHelp" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
26978 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
26980 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26981 result
= (bool)((wxPrintDialogData
const *)arg1
)->GetEnableHelp();
26982 wxPyEndAllowThreads(__tstate
);
26983 if (PyErr_Occurred()) SWIG_fail
;
26986 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26994 SWIGINTERN PyObject
*_wrap_PrintDialogData_IsOk(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26995 PyObject
*resultobj
= 0;
26996 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
27000 PyObject
*swig_obj
[1] ;
27002 if (!args
) SWIG_fail
;
27003 swig_obj
[0] = args
;
27004 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
27005 if (!SWIG_IsOK(res1
)) {
27006 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_IsOk" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
27008 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
27010 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27011 result
= (bool)((wxPrintDialogData
const *)arg1
)->IsOk();
27012 wxPyEndAllowThreads(__tstate
);
27013 if (PyErr_Occurred()) SWIG_fail
;
27016 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27024 SWIGINTERN PyObject
*_wrap_PrintDialogData_GetPrintData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27025 PyObject
*resultobj
= 0;
27026 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
27027 wxPrintData
*result
= 0 ;
27030 PyObject
*swig_obj
[1] ;
27032 if (!args
) SWIG_fail
;
27033 swig_obj
[0] = args
;
27034 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
27035 if (!SWIG_IsOK(res1
)) {
27036 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_GetPrintData" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
27038 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
27040 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27042 wxPrintData
&_result_ref
= (arg1
)->GetPrintData();
27043 result
= (wxPrintData
*) &_result_ref
;
27045 wxPyEndAllowThreads(__tstate
);
27046 if (PyErr_Occurred()) SWIG_fail
;
27048 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPrintData
, 0 | 0 );
27055 SWIGINTERN PyObject
*_wrap_PrintDialogData_SetPrintData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27056 PyObject
*resultobj
= 0;
27057 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
27058 wxPrintData
*arg2
= 0 ;
27063 PyObject
* obj0
= 0 ;
27064 PyObject
* obj1
= 0 ;
27065 char * kwnames
[] = {
27066 (char *) "self",(char *) "printData", NULL
27069 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetPrintData",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
27070 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
27071 if (!SWIG_IsOK(res1
)) {
27072 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_SetPrintData" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
27074 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
27075 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxPrintData
, 0 | 0);
27076 if (!SWIG_IsOK(res2
)) {
27077 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PrintDialogData_SetPrintData" "', expected argument " "2"" of type '" "wxPrintData const &""'");
27080 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "PrintDialogData_SetPrintData" "', expected argument " "2"" of type '" "wxPrintData const &""'");
27082 arg2
= reinterpret_cast< wxPrintData
* >(argp2
);
27084 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27085 (arg1
)->SetPrintData((wxPrintData
const &)*arg2
);
27086 wxPyEndAllowThreads(__tstate
);
27087 if (PyErr_Occurred()) SWIG_fail
;
27089 resultobj
= SWIG_Py_Void();
27096 SWIGINTERN PyObject
*PrintDialogData_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27098 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
27099 SWIG_TypeNewClientData(SWIGTYPE_p_wxPrintDialogData
, SWIG_NewClientData(obj
));
27100 return SWIG_Py_Void();
27103 SWIGINTERN PyObject
*PrintDialogData_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27104 return SWIG_Python_InitShadowInstance(args
);
27107 SWIGINTERN PyObject
*_wrap_new_PrintDialog(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27108 PyObject
*resultobj
= 0;
27109 wxWindow
*arg1
= (wxWindow
*) 0 ;
27110 wxPrintDialogData
*arg2
= (wxPrintDialogData
*) NULL
;
27111 wxPrintDialog
*result
= 0 ;
27116 PyObject
* obj0
= 0 ;
27117 PyObject
* obj1
= 0 ;
27118 char * kwnames
[] = {
27119 (char *) "parent",(char *) "data", NULL
27122 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_PrintDialog",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
27123 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
27124 if (!SWIG_IsOK(res1
)) {
27125 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PrintDialog" "', expected argument " "1"" of type '" "wxWindow *""'");
27127 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
27129 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
27130 if (!SWIG_IsOK(res2
)) {
27131 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_PrintDialog" "', expected argument " "2"" of type '" "wxPrintDialogData *""'");
27133 arg2
= reinterpret_cast< wxPrintDialogData
* >(argp2
);
27136 if (!wxPyCheckForApp()) SWIG_fail
;
27137 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27138 result
= (wxPrintDialog
*)new wxPrintDialog(arg1
,arg2
);
27139 wxPyEndAllowThreads(__tstate
);
27140 if (PyErr_Occurred()) SWIG_fail
;
27142 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPrintDialog
, SWIG_POINTER_NEW
| 0 );
27149 SWIGINTERN PyObject
*_wrap_delete_PrintDialog(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27150 PyObject
*resultobj
= 0;
27151 wxPrintDialog
*arg1
= (wxPrintDialog
*) 0 ;
27154 PyObject
*swig_obj
[1] ;
27156 if (!args
) SWIG_fail
;
27157 swig_obj
[0] = args
;
27158 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintDialog
, SWIG_POINTER_DISOWN
| 0 );
27159 if (!SWIG_IsOK(res1
)) {
27160 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_PrintDialog" "', expected argument " "1"" of type '" "wxPrintDialog *""'");
27162 arg1
= reinterpret_cast< wxPrintDialog
* >(argp1
);
27164 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27167 wxPyEndAllowThreads(__tstate
);
27168 if (PyErr_Occurred()) SWIG_fail
;
27170 resultobj
= SWIG_Py_Void();
27177 SWIGINTERN PyObject
*_wrap_PrintDialog_ShowModal(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27178 PyObject
*resultobj
= 0;
27179 wxPrintDialog
*arg1
= (wxPrintDialog
*) 0 ;
27183 PyObject
*swig_obj
[1] ;
27185 if (!args
) SWIG_fail
;
27186 swig_obj
[0] = args
;
27187 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintDialog
, 0 | 0 );
27188 if (!SWIG_IsOK(res1
)) {
27189 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialog_ShowModal" "', expected argument " "1"" of type '" "wxPrintDialog *""'");
27191 arg1
= reinterpret_cast< wxPrintDialog
* >(argp1
);
27193 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27194 result
= (int)(arg1
)->ShowModal();
27195 wxPyEndAllowThreads(__tstate
);
27196 if (PyErr_Occurred()) SWIG_fail
;
27198 resultobj
= SWIG_From_int(static_cast< int >(result
));
27205 SWIGINTERN PyObject
*_wrap_PrintDialog_GetPrintDialogData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27206 PyObject
*resultobj
= 0;
27207 wxPrintDialog
*arg1
= (wxPrintDialog
*) 0 ;
27208 wxPrintDialogData
*result
= 0 ;
27211 PyObject
*swig_obj
[1] ;
27213 if (!args
) SWIG_fail
;
27214 swig_obj
[0] = args
;
27215 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintDialog
, 0 | 0 );
27216 if (!SWIG_IsOK(res1
)) {
27217 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialog_GetPrintDialogData" "', expected argument " "1"" of type '" "wxPrintDialog *""'");
27219 arg1
= reinterpret_cast< wxPrintDialog
* >(argp1
);
27221 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27223 wxPrintDialogData
&_result_ref
= (arg1
)->GetPrintDialogData();
27224 result
= (wxPrintDialogData
*) &_result_ref
;
27226 wxPyEndAllowThreads(__tstate
);
27227 if (PyErr_Occurred()) SWIG_fail
;
27229 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
27236 SWIGINTERN PyObject
*_wrap_PrintDialog_GetPrintData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27237 PyObject
*resultobj
= 0;
27238 wxPrintDialog
*arg1
= (wxPrintDialog
*) 0 ;
27239 wxPrintData
*result
= 0 ;
27242 PyObject
*swig_obj
[1] ;
27244 if (!args
) SWIG_fail
;
27245 swig_obj
[0] = args
;
27246 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintDialog
, 0 | 0 );
27247 if (!SWIG_IsOK(res1
)) {
27248 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialog_GetPrintData" "', expected argument " "1"" of type '" "wxPrintDialog *""'");
27250 arg1
= reinterpret_cast< wxPrintDialog
* >(argp1
);
27252 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27254 wxPrintData
&_result_ref
= (arg1
)->GetPrintData();
27255 result
= (wxPrintData
*) &_result_ref
;
27257 wxPyEndAllowThreads(__tstate
);
27258 if (PyErr_Occurred()) SWIG_fail
;
27260 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPrintData
, 0 | 0 );
27267 SWIGINTERN PyObject
*_wrap_PrintDialog_GetPrintDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27268 PyObject
*resultobj
= 0;
27269 wxPrintDialog
*arg1
= (wxPrintDialog
*) 0 ;
27273 PyObject
*swig_obj
[1] ;
27275 if (!args
) SWIG_fail
;
27276 swig_obj
[0] = args
;
27277 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintDialog
, 0 | 0 );
27278 if (!SWIG_IsOK(res1
)) {
27279 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialog_GetPrintDC" "', expected argument " "1"" of type '" "wxPrintDialog *""'");
27281 arg1
= reinterpret_cast< wxPrintDialog
* >(argp1
);
27283 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27284 result
= (wxDC
*)(arg1
)->GetPrintDC();
27285 wxPyEndAllowThreads(__tstate
);
27286 if (PyErr_Occurred()) SWIG_fail
;
27289 resultobj
= wxPyMake_wxObject(result
, (bool)SWIG_POINTER_OWN
);
27297 SWIGINTERN PyObject
*PrintDialog_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27299 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
27300 SWIG_TypeNewClientData(SWIGTYPE_p_wxPrintDialog
, SWIG_NewClientData(obj
));
27301 return SWIG_Py_Void();
27304 SWIGINTERN PyObject
*PrintDialog_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27305 return SWIG_Python_InitShadowInstance(args
);
27308 SWIGINTERN PyObject
*_wrap_new_Printer(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27309 PyObject
*resultobj
= 0;
27310 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) NULL
;
27311 wxPrinter
*result
= 0 ;
27314 PyObject
* obj0
= 0 ;
27315 char * kwnames
[] = {
27316 (char *) "data", NULL
27319 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_Printer",kwnames
,&obj0
)) SWIG_fail
;
27321 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
27322 if (!SWIG_IsOK(res1
)) {
27323 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_Printer" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
27325 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
27328 if (!wxPyCheckForApp()) SWIG_fail
;
27329 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27330 result
= (wxPrinter
*)new wxPrinter(arg1
);
27331 wxPyEndAllowThreads(__tstate
);
27332 if (PyErr_Occurred()) SWIG_fail
;
27334 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPrinter
, SWIG_POINTER_NEW
| 0 );
27341 SWIGINTERN PyObject
*_wrap_delete_Printer(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27342 PyObject
*resultobj
= 0;
27343 wxPrinter
*arg1
= (wxPrinter
*) 0 ;
27346 PyObject
*swig_obj
[1] ;
27348 if (!args
) SWIG_fail
;
27349 swig_obj
[0] = args
;
27350 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrinter
, SWIG_POINTER_DISOWN
| 0 );
27351 if (!SWIG_IsOK(res1
)) {
27352 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_Printer" "', expected argument " "1"" of type '" "wxPrinter *""'");
27354 arg1
= reinterpret_cast< wxPrinter
* >(argp1
);
27356 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27359 wxPyEndAllowThreads(__tstate
);
27360 if (PyErr_Occurred()) SWIG_fail
;
27362 resultobj
= SWIG_Py_Void();
27369 SWIGINTERN PyObject
*_wrap_Printer_CreateAbortWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27370 PyObject
*resultobj
= 0;
27371 wxPrinter
*arg1
= (wxPrinter
*) 0 ;
27372 wxWindow
*arg2
= (wxWindow
*) 0 ;
27373 wxPyPrintout
*arg3
= (wxPyPrintout
*) 0 ;
27374 wxWindow
*result
= 0 ;
27381 PyObject
* obj0
= 0 ;
27382 PyObject
* obj1
= 0 ;
27383 PyObject
* obj2
= 0 ;
27384 char * kwnames
[] = {
27385 (char *) "self",(char *) "parent",(char *) "printout", NULL
27388 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Printer_CreateAbortWindow",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
27389 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrinter
, 0 | 0 );
27390 if (!SWIG_IsOK(res1
)) {
27391 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printer_CreateAbortWindow" "', expected argument " "1"" of type '" "wxPrinter *""'");
27393 arg1
= reinterpret_cast< wxPrinter
* >(argp1
);
27394 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
27395 if (!SWIG_IsOK(res2
)) {
27396 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Printer_CreateAbortWindow" "', expected argument " "2"" of type '" "wxWindow *""'");
27398 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
27399 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
27400 if (!SWIG_IsOK(res3
)) {
27401 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "Printer_CreateAbortWindow" "', expected argument " "3"" of type '" "wxPyPrintout *""'");
27403 arg3
= reinterpret_cast< wxPyPrintout
* >(argp3
);
27405 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27406 result
= (wxWindow
*)(arg1
)->CreateAbortWindow(arg2
,arg3
);
27407 wxPyEndAllowThreads(__tstate
);
27408 if (PyErr_Occurred()) SWIG_fail
;
27411 resultobj
= wxPyMake_wxObject(result
, 0);
27419 SWIGINTERN PyObject
*_wrap_Printer_ReportError(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27420 PyObject
*resultobj
= 0;
27421 wxPrinter
*arg1
= (wxPrinter
*) 0 ;
27422 wxWindow
*arg2
= (wxWindow
*) 0 ;
27423 wxPyPrintout
*arg3
= (wxPyPrintout
*) 0 ;
27424 wxString
*arg4
= 0 ;
27431 bool temp4
= false ;
27432 PyObject
* obj0
= 0 ;
27433 PyObject
* obj1
= 0 ;
27434 PyObject
* obj2
= 0 ;
27435 PyObject
* obj3
= 0 ;
27436 char * kwnames
[] = {
27437 (char *) "self",(char *) "parent",(char *) "printout",(char *) "message", NULL
27440 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:Printer_ReportError",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
27441 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrinter
, 0 | 0 );
27442 if (!SWIG_IsOK(res1
)) {
27443 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printer_ReportError" "', expected argument " "1"" of type '" "wxPrinter *""'");
27445 arg1
= reinterpret_cast< wxPrinter
* >(argp1
);
27446 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
27447 if (!SWIG_IsOK(res2
)) {
27448 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Printer_ReportError" "', expected argument " "2"" of type '" "wxWindow *""'");
27450 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
27451 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
27452 if (!SWIG_IsOK(res3
)) {
27453 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "Printer_ReportError" "', expected argument " "3"" of type '" "wxPyPrintout *""'");
27455 arg3
= reinterpret_cast< wxPyPrintout
* >(argp3
);
27457 arg4
= wxString_in_helper(obj3
);
27458 if (arg4
== NULL
) SWIG_fail
;
27462 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27463 (arg1
)->ReportError(arg2
,arg3
,(wxString
const &)*arg4
);
27464 wxPyEndAllowThreads(__tstate
);
27465 if (PyErr_Occurred()) SWIG_fail
;
27467 resultobj
= SWIG_Py_Void();
27482 SWIGINTERN PyObject
*_wrap_Printer_Setup(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27483 PyObject
*resultobj
= 0;
27484 wxPrinter
*arg1
= (wxPrinter
*) 0 ;
27485 wxWindow
*arg2
= (wxWindow
*) 0 ;
27491 PyObject
* obj0
= 0 ;
27492 PyObject
* obj1
= 0 ;
27493 char * kwnames
[] = {
27494 (char *) "self",(char *) "parent", NULL
27497 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Printer_Setup",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
27498 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrinter
, 0 | 0 );
27499 if (!SWIG_IsOK(res1
)) {
27500 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printer_Setup" "', expected argument " "1"" of type '" "wxPrinter *""'");
27502 arg1
= reinterpret_cast< wxPrinter
* >(argp1
);
27503 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
27504 if (!SWIG_IsOK(res2
)) {
27505 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Printer_Setup" "', expected argument " "2"" of type '" "wxWindow *""'");
27507 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
27509 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27510 result
= (bool)(arg1
)->Setup(arg2
);
27511 wxPyEndAllowThreads(__tstate
);
27512 if (PyErr_Occurred()) SWIG_fail
;
27515 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27523 SWIGINTERN PyObject
*_wrap_Printer_Print(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27524 PyObject
*resultobj
= 0;
27525 wxPrinter
*arg1
= (wxPrinter
*) 0 ;
27526 wxWindow
*arg2
= (wxWindow
*) 0 ;
27527 wxPyPrintout
*arg3
= (wxPyPrintout
*) 0 ;
27528 bool arg4
= (bool) true ;
27538 PyObject
* obj0
= 0 ;
27539 PyObject
* obj1
= 0 ;
27540 PyObject
* obj2
= 0 ;
27541 PyObject
* obj3
= 0 ;
27542 char * kwnames
[] = {
27543 (char *) "self",(char *) "parent",(char *) "printout",(char *) "prompt", NULL
27546 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Printer_Print",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
27547 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrinter
, 0 | 0 );
27548 if (!SWIG_IsOK(res1
)) {
27549 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printer_Print" "', expected argument " "1"" of type '" "wxPrinter *""'");
27551 arg1
= reinterpret_cast< wxPrinter
* >(argp1
);
27552 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
27553 if (!SWIG_IsOK(res2
)) {
27554 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Printer_Print" "', expected argument " "2"" of type '" "wxWindow *""'");
27556 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
27557 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
27558 if (!SWIG_IsOK(res3
)) {
27559 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "Printer_Print" "', expected argument " "3"" of type '" "wxPyPrintout *""'");
27561 arg3
= reinterpret_cast< wxPyPrintout
* >(argp3
);
27563 ecode4
= SWIG_AsVal_bool(obj3
, &val4
);
27564 if (!SWIG_IsOK(ecode4
)) {
27565 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Printer_Print" "', expected argument " "4"" of type '" "bool""'");
27567 arg4
= static_cast< bool >(val4
);
27570 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27571 result
= (bool)(arg1
)->Print(arg2
,arg3
,arg4
);
27572 wxPyEndAllowThreads(__tstate
);
27573 if (PyErr_Occurred()) SWIG_fail
;
27576 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27584 SWIGINTERN PyObject
*_wrap_Printer_PrintDialog(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27585 PyObject
*resultobj
= 0;
27586 wxPrinter
*arg1
= (wxPrinter
*) 0 ;
27587 wxWindow
*arg2
= (wxWindow
*) 0 ;
27593 PyObject
* obj0
= 0 ;
27594 PyObject
* obj1
= 0 ;
27595 char * kwnames
[] = {
27596 (char *) "self",(char *) "parent", NULL
27599 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Printer_PrintDialog",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
27600 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrinter
, 0 | 0 );
27601 if (!SWIG_IsOK(res1
)) {
27602 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printer_PrintDialog" "', expected argument " "1"" of type '" "wxPrinter *""'");
27604 arg1
= reinterpret_cast< wxPrinter
* >(argp1
);
27605 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
27606 if (!SWIG_IsOK(res2
)) {
27607 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Printer_PrintDialog" "', expected argument " "2"" of type '" "wxWindow *""'");
27609 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
27611 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27612 result
= (wxDC
*)(arg1
)->PrintDialog(arg2
);
27613 wxPyEndAllowThreads(__tstate
);
27614 if (PyErr_Occurred()) SWIG_fail
;
27617 resultobj
= wxPyMake_wxObject(result
, (bool)0);
27625 SWIGINTERN PyObject
*_wrap_Printer_GetPrintDialogData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27626 PyObject
*resultobj
= 0;
27627 wxPrinter
*arg1
= (wxPrinter
*) 0 ;
27628 wxPrintDialogData
*result
= 0 ;
27631 PyObject
*swig_obj
[1] ;
27633 if (!args
) SWIG_fail
;
27634 swig_obj
[0] = args
;
27635 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrinter
, 0 | 0 );
27636 if (!SWIG_IsOK(res1
)) {
27637 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printer_GetPrintDialogData" "', expected argument " "1"" of type '" "wxPrinter const *""'");
27639 arg1
= reinterpret_cast< wxPrinter
* >(argp1
);
27641 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27643 wxPrintDialogData
&_result_ref
= ((wxPrinter
const *)arg1
)->GetPrintDialogData();
27644 result
= (wxPrintDialogData
*) &_result_ref
;
27646 wxPyEndAllowThreads(__tstate
);
27647 if (PyErr_Occurred()) SWIG_fail
;
27649 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
27656 SWIGINTERN PyObject
*_wrap_Printer_GetAbort(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27657 PyObject
*resultobj
= 0;
27658 wxPrinter
*arg1
= (wxPrinter
*) 0 ;
27662 PyObject
*swig_obj
[1] ;
27664 if (!args
) SWIG_fail
;
27665 swig_obj
[0] = args
;
27666 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrinter
, 0 | 0 );
27667 if (!SWIG_IsOK(res1
)) {
27668 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printer_GetAbort" "', expected argument " "1"" of type '" "wxPrinter *""'");
27670 arg1
= reinterpret_cast< wxPrinter
* >(argp1
);
27672 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27673 result
= (bool)(arg1
)->GetAbort();
27674 wxPyEndAllowThreads(__tstate
);
27675 if (PyErr_Occurred()) SWIG_fail
;
27678 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27686 SWIGINTERN PyObject
*_wrap_Printer_GetLastError(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27687 PyObject
*resultobj
= 0;
27688 wxPrinterError result
;
27690 if (!SWIG_Python_UnpackTuple(args
,"Printer_GetLastError",0,0,0)) SWIG_fail
;
27692 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27693 result
= (wxPrinterError
)wxPrinter::GetLastError();
27694 wxPyEndAllowThreads(__tstate
);
27695 if (PyErr_Occurred()) SWIG_fail
;
27697 resultobj
= SWIG_From_int(static_cast< int >(result
));
27704 SWIGINTERN PyObject
*Printer_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27706 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
27707 SWIG_TypeNewClientData(SWIGTYPE_p_wxPrinter
, SWIG_NewClientData(obj
));
27708 return SWIG_Py_Void();
27711 SWIGINTERN PyObject
*Printer_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27712 return SWIG_Python_InitShadowInstance(args
);
27715 SWIGINTERN PyObject
*_wrap_new_Printout(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27716 PyObject
*resultobj
= 0;
27717 wxString
const &arg1_defvalue
= wxPyPrintoutTitleStr
;
27718 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
27719 wxPyPrintout
*result
= 0 ;
27720 bool temp1
= false ;
27721 PyObject
* obj0
= 0 ;
27722 char * kwnames
[] = {
27723 (char *) "title", NULL
27726 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_Printout",kwnames
,&obj0
)) SWIG_fail
;
27729 arg1
= wxString_in_helper(obj0
);
27730 if (arg1
== NULL
) SWIG_fail
;
27735 if (!wxPyCheckForApp()) SWIG_fail
;
27736 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27737 result
= (wxPyPrintout
*)new wxPyPrintout((wxString
const &)*arg1
);
27738 wxPyEndAllowThreads(__tstate
);
27739 if (PyErr_Occurred()) SWIG_fail
;
27741 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyPrintout
, SWIG_POINTER_NEW
| 0 );
27756 SWIGINTERN PyObject
*_wrap_delete_Printout(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27757 PyObject
*resultobj
= 0;
27758 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
27761 PyObject
*swig_obj
[1] ;
27763 if (!args
) SWIG_fail
;
27764 swig_obj
[0] = args
;
27765 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPrintout
, SWIG_POINTER_DISOWN
| 0 );
27766 if (!SWIG_IsOK(res1
)) {
27767 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_Printout" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
27769 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
27771 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27774 wxPyEndAllowThreads(__tstate
);
27775 if (PyErr_Occurred()) SWIG_fail
;
27777 resultobj
= SWIG_Py_Void();
27784 SWIGINTERN PyObject
*_wrap_Printout__setCallbackInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27785 PyObject
*resultobj
= 0;
27786 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
27787 PyObject
*arg2
= (PyObject
*) 0 ;
27788 PyObject
*arg3
= (PyObject
*) 0 ;
27791 PyObject
* obj0
= 0 ;
27792 PyObject
* obj1
= 0 ;
27793 PyObject
* obj2
= 0 ;
27794 char * kwnames
[] = {
27795 (char *) "self",(char *) "self",(char *) "_class", NULL
27798 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Printout__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
27799 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
27800 if (!SWIG_IsOK(res1
)) {
27801 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
27803 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
27807 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27808 (arg1
)->_setCallbackInfo(arg2
,arg3
);
27809 wxPyEndAllowThreads(__tstate
);
27810 if (PyErr_Occurred()) SWIG_fail
;
27812 resultobj
= SWIG_Py_Void();
27819 SWIGINTERN PyObject
*_wrap_Printout_GetTitle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27820 PyObject
*resultobj
= 0;
27821 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
27825 PyObject
*swig_obj
[1] ;
27827 if (!args
) SWIG_fail
;
27828 swig_obj
[0] = args
;
27829 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
27830 if (!SWIG_IsOK(res1
)) {
27831 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout_GetTitle" "', expected argument " "1"" of type '" "wxPyPrintout const *""'");
27833 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
27835 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27836 result
= ((wxPyPrintout
const *)arg1
)->GetTitle();
27837 wxPyEndAllowThreads(__tstate
);
27838 if (PyErr_Occurred()) SWIG_fail
;
27842 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
27844 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
27853 SWIGINTERN PyObject
*_wrap_Printout_GetDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27854 PyObject
*resultobj
= 0;
27855 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
27859 PyObject
*swig_obj
[1] ;
27861 if (!args
) SWIG_fail
;
27862 swig_obj
[0] = args
;
27863 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
27864 if (!SWIG_IsOK(res1
)) {
27865 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout_GetDC" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
27867 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
27869 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27870 result
= (wxDC
*)(arg1
)->GetDC();
27871 wxPyEndAllowThreads(__tstate
);
27872 if (PyErr_Occurred()) SWIG_fail
;
27875 resultobj
= wxPyMake_wxObject(result
, (bool)0);
27883 SWIGINTERN PyObject
*_wrap_Printout_SetDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27884 PyObject
*resultobj
= 0;
27885 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
27886 wxDC
*arg2
= (wxDC
*) 0 ;
27891 PyObject
* obj0
= 0 ;
27892 PyObject
* obj1
= 0 ;
27893 char * kwnames
[] = {
27894 (char *) "self",(char *) "dc", NULL
27897 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Printout_SetDC",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
27898 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
27899 if (!SWIG_IsOK(res1
)) {
27900 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout_SetDC" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
27902 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
27903 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxDC
, 0 | 0 );
27904 if (!SWIG_IsOK(res2
)) {
27905 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Printout_SetDC" "', expected argument " "2"" of type '" "wxDC *""'");
27907 arg2
= reinterpret_cast< wxDC
* >(argp2
);
27909 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27910 (arg1
)->SetDC(arg2
);
27911 wxPyEndAllowThreads(__tstate
);
27912 if (PyErr_Occurred()) SWIG_fail
;
27914 resultobj
= SWIG_Py_Void();
27921 SWIGINTERN PyObject
*_wrap_Printout_SetPageSizePixels(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27922 PyObject
*resultobj
= 0;
27923 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
27932 PyObject
* obj0
= 0 ;
27933 PyObject
* obj1
= 0 ;
27934 PyObject
* obj2
= 0 ;
27935 char * kwnames
[] = {
27936 (char *) "self",(char *) "w",(char *) "h", NULL
27939 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Printout_SetPageSizePixels",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
27940 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
27941 if (!SWIG_IsOK(res1
)) {
27942 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout_SetPageSizePixels" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
27944 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
27945 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
27946 if (!SWIG_IsOK(ecode2
)) {
27947 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Printout_SetPageSizePixels" "', expected argument " "2"" of type '" "int""'");
27949 arg2
= static_cast< int >(val2
);
27950 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
27951 if (!SWIG_IsOK(ecode3
)) {
27952 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Printout_SetPageSizePixels" "', expected argument " "3"" of type '" "int""'");
27954 arg3
= static_cast< int >(val3
);
27956 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27957 (arg1
)->SetPageSizePixels(arg2
,arg3
);
27958 wxPyEndAllowThreads(__tstate
);
27959 if (PyErr_Occurred()) SWIG_fail
;
27961 resultobj
= SWIG_Py_Void();
27968 SWIGINTERN PyObject
*_wrap_Printout_GetPageSizePixels(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27969 PyObject
*resultobj
= 0;
27970 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
27971 int *arg2
= (int *) 0 ;
27972 int *arg3
= (int *) 0 ;
27976 int res2
= SWIG_TMPOBJ
;
27978 int res3
= SWIG_TMPOBJ
;
27979 PyObject
*swig_obj
[1] ;
27983 if (!args
) SWIG_fail
;
27984 swig_obj
[0] = args
;
27985 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
27986 if (!SWIG_IsOK(res1
)) {
27987 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout_GetPageSizePixels" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
27989 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
27991 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27992 (arg1
)->GetPageSizePixels(arg2
,arg3
);
27993 wxPyEndAllowThreads(__tstate
);
27994 if (PyErr_Occurred()) SWIG_fail
;
27996 resultobj
= SWIG_Py_Void();
27997 if (SWIG_IsTmpObj(res2
)) {
27998 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
28000 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
28001 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
28003 if (SWIG_IsTmpObj(res3
)) {
28004 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
28006 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
28007 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
28015 SWIGINTERN PyObject
*_wrap_Printout_SetPageSizeMM(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28016 PyObject
*resultobj
= 0;
28017 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
28026 PyObject
* obj0
= 0 ;
28027 PyObject
* obj1
= 0 ;
28028 PyObject
* obj2
= 0 ;
28029 char * kwnames
[] = {
28030 (char *) "self",(char *) "w",(char *) "h", NULL
28033 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Printout_SetPageSizeMM",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
28034 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
28035 if (!SWIG_IsOK(res1
)) {
28036 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout_SetPageSizeMM" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
28038 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
28039 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
28040 if (!SWIG_IsOK(ecode2
)) {
28041 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Printout_SetPageSizeMM" "', expected argument " "2"" of type '" "int""'");
28043 arg2
= static_cast< int >(val2
);
28044 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
28045 if (!SWIG_IsOK(ecode3
)) {
28046 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Printout_SetPageSizeMM" "', expected argument " "3"" of type '" "int""'");
28048 arg3
= static_cast< int >(val3
);
28050 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28051 (arg1
)->SetPageSizeMM(arg2
,arg3
);
28052 wxPyEndAllowThreads(__tstate
);
28053 if (PyErr_Occurred()) SWIG_fail
;
28055 resultobj
= SWIG_Py_Void();
28062 SWIGINTERN PyObject
*_wrap_Printout_GetPageSizeMM(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28063 PyObject
*resultobj
= 0;
28064 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
28065 int *arg2
= (int *) 0 ;
28066 int *arg3
= (int *) 0 ;
28070 int res2
= SWIG_TMPOBJ
;
28072 int res3
= SWIG_TMPOBJ
;
28073 PyObject
*swig_obj
[1] ;
28077 if (!args
) SWIG_fail
;
28078 swig_obj
[0] = args
;
28079 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
28080 if (!SWIG_IsOK(res1
)) {
28081 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout_GetPageSizeMM" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
28083 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
28085 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28086 (arg1
)->GetPageSizeMM(arg2
,arg3
);
28087 wxPyEndAllowThreads(__tstate
);
28088 if (PyErr_Occurred()) SWIG_fail
;
28090 resultobj
= SWIG_Py_Void();
28091 if (SWIG_IsTmpObj(res2
)) {
28092 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
28094 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
28095 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
28097 if (SWIG_IsTmpObj(res3
)) {
28098 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
28100 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
28101 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
28109 SWIGINTERN PyObject
*_wrap_Printout_SetPPIScreen(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28110 PyObject
*resultobj
= 0;
28111 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
28120 PyObject
* obj0
= 0 ;
28121 PyObject
* obj1
= 0 ;
28122 PyObject
* obj2
= 0 ;
28123 char * kwnames
[] = {
28124 (char *) "self",(char *) "x",(char *) "y", NULL
28127 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Printout_SetPPIScreen",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
28128 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
28129 if (!SWIG_IsOK(res1
)) {
28130 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout_SetPPIScreen" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
28132 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
28133 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
28134 if (!SWIG_IsOK(ecode2
)) {
28135 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Printout_SetPPIScreen" "', expected argument " "2"" of type '" "int""'");
28137 arg2
= static_cast< int >(val2
);
28138 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
28139 if (!SWIG_IsOK(ecode3
)) {
28140 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Printout_SetPPIScreen" "', expected argument " "3"" of type '" "int""'");
28142 arg3
= static_cast< int >(val3
);
28144 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28145 (arg1
)->SetPPIScreen(arg2
,arg3
);
28146 wxPyEndAllowThreads(__tstate
);
28147 if (PyErr_Occurred()) SWIG_fail
;
28149 resultobj
= SWIG_Py_Void();
28156 SWIGINTERN PyObject
*_wrap_Printout_GetPPIScreen(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28157 PyObject
*resultobj
= 0;
28158 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
28159 int *arg2
= (int *) 0 ;
28160 int *arg3
= (int *) 0 ;
28164 int res2
= SWIG_TMPOBJ
;
28166 int res3
= SWIG_TMPOBJ
;
28167 PyObject
*swig_obj
[1] ;
28171 if (!args
) SWIG_fail
;
28172 swig_obj
[0] = args
;
28173 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
28174 if (!SWIG_IsOK(res1
)) {
28175 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout_GetPPIScreen" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
28177 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
28179 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28180 (arg1
)->GetPPIScreen(arg2
,arg3
);
28181 wxPyEndAllowThreads(__tstate
);
28182 if (PyErr_Occurred()) SWIG_fail
;
28184 resultobj
= SWIG_Py_Void();
28185 if (SWIG_IsTmpObj(res2
)) {
28186 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
28188 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
28189 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
28191 if (SWIG_IsTmpObj(res3
)) {
28192 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
28194 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
28195 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
28203 SWIGINTERN PyObject
*_wrap_Printout_SetPPIPrinter(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28204 PyObject
*resultobj
= 0;
28205 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
28214 PyObject
* obj0
= 0 ;
28215 PyObject
* obj1
= 0 ;
28216 PyObject
* obj2
= 0 ;
28217 char * kwnames
[] = {
28218 (char *) "self",(char *) "x",(char *) "y", NULL
28221 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Printout_SetPPIPrinter",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
28222 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
28223 if (!SWIG_IsOK(res1
)) {
28224 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout_SetPPIPrinter" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
28226 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
28227 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
28228 if (!SWIG_IsOK(ecode2
)) {
28229 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Printout_SetPPIPrinter" "', expected argument " "2"" of type '" "int""'");
28231 arg2
= static_cast< int >(val2
);
28232 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
28233 if (!SWIG_IsOK(ecode3
)) {
28234 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Printout_SetPPIPrinter" "', expected argument " "3"" of type '" "int""'");
28236 arg3
= static_cast< int >(val3
);
28238 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28239 (arg1
)->SetPPIPrinter(arg2
,arg3
);
28240 wxPyEndAllowThreads(__tstate
);
28241 if (PyErr_Occurred()) SWIG_fail
;
28243 resultobj
= SWIG_Py_Void();
28250 SWIGINTERN PyObject
*_wrap_Printout_GetPPIPrinter(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28251 PyObject
*resultobj
= 0;
28252 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
28253 int *arg2
= (int *) 0 ;
28254 int *arg3
= (int *) 0 ;
28258 int res2
= SWIG_TMPOBJ
;
28260 int res3
= SWIG_TMPOBJ
;
28261 PyObject
*swig_obj
[1] ;
28265 if (!args
) SWIG_fail
;
28266 swig_obj
[0] = args
;
28267 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
28268 if (!SWIG_IsOK(res1
)) {
28269 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout_GetPPIPrinter" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
28271 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
28273 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28274 (arg1
)->GetPPIPrinter(arg2
,arg3
);
28275 wxPyEndAllowThreads(__tstate
);
28276 if (PyErr_Occurred()) SWIG_fail
;
28278 resultobj
= SWIG_Py_Void();
28279 if (SWIG_IsTmpObj(res2
)) {
28280 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
28282 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
28283 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
28285 if (SWIG_IsTmpObj(res3
)) {
28286 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
28288 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
28289 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
28297 SWIGINTERN PyObject
*_wrap_Printout_IsPreview(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28298 PyObject
*resultobj
= 0;
28299 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
28303 PyObject
*swig_obj
[1] ;
28305 if (!args
) SWIG_fail
;
28306 swig_obj
[0] = args
;
28307 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
28308 if (!SWIG_IsOK(res1
)) {
28309 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout_IsPreview" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
28311 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
28313 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28314 result
= (bool)(arg1
)->IsPreview();
28315 wxPyEndAllowThreads(__tstate
);
28316 if (PyErr_Occurred()) SWIG_fail
;
28319 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28327 SWIGINTERN PyObject
*_wrap_Printout_SetIsPreview(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28328 PyObject
*resultobj
= 0;
28329 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
28335 PyObject
* obj0
= 0 ;
28336 PyObject
* obj1
= 0 ;
28337 char * kwnames
[] = {
28338 (char *) "self",(char *) "p", NULL
28341 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Printout_SetIsPreview",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
28342 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
28343 if (!SWIG_IsOK(res1
)) {
28344 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout_SetIsPreview" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
28346 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
28347 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
28348 if (!SWIG_IsOK(ecode2
)) {
28349 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Printout_SetIsPreview" "', expected argument " "2"" of type '" "bool""'");
28351 arg2
= static_cast< bool >(val2
);
28353 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28354 (arg1
)->SetIsPreview(arg2
);
28355 wxPyEndAllowThreads(__tstate
);
28356 if (PyErr_Occurred()) SWIG_fail
;
28358 resultobj
= SWIG_Py_Void();
28365 SWIGINTERN PyObject
*_wrap_Printout_OnBeginDocument(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28366 PyObject
*resultobj
= 0;
28367 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
28377 PyObject
* obj0
= 0 ;
28378 PyObject
* obj1
= 0 ;
28379 PyObject
* obj2
= 0 ;
28380 char * kwnames
[] = {
28381 (char *) "self",(char *) "startPage",(char *) "endPage", NULL
28384 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Printout_OnBeginDocument",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
28385 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
28386 if (!SWIG_IsOK(res1
)) {
28387 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout_OnBeginDocument" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
28389 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
28390 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
28391 if (!SWIG_IsOK(ecode2
)) {
28392 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Printout_OnBeginDocument" "', expected argument " "2"" of type '" "int""'");
28394 arg2
= static_cast< int >(val2
);
28395 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
28396 if (!SWIG_IsOK(ecode3
)) {
28397 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Printout_OnBeginDocument" "', expected argument " "3"" of type '" "int""'");
28399 arg3
= static_cast< int >(val3
);
28401 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28402 result
= (bool)(arg1
)->OnBeginDocument(arg2
,arg3
);
28403 wxPyEndAllowThreads(__tstate
);
28404 if (PyErr_Occurred()) SWIG_fail
;
28407 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28415 SWIGINTERN PyObject
*_wrap_Printout_OnEndDocument(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28416 PyObject
*resultobj
= 0;
28417 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
28420 PyObject
*swig_obj
[1] ;
28422 if (!args
) SWIG_fail
;
28423 swig_obj
[0] = args
;
28424 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
28425 if (!SWIG_IsOK(res1
)) {
28426 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout_OnEndDocument" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
28428 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
28430 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28431 (arg1
)->OnEndDocument();
28432 wxPyEndAllowThreads(__tstate
);
28433 if (PyErr_Occurred()) SWIG_fail
;
28435 resultobj
= SWIG_Py_Void();
28442 SWIGINTERN PyObject
*_wrap_Printout_OnBeginPrinting(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28443 PyObject
*resultobj
= 0;
28444 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
28447 PyObject
*swig_obj
[1] ;
28449 if (!args
) SWIG_fail
;
28450 swig_obj
[0] = args
;
28451 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
28452 if (!SWIG_IsOK(res1
)) {
28453 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout_OnBeginPrinting" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
28455 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
28457 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28458 (arg1
)->OnBeginPrinting();
28459 wxPyEndAllowThreads(__tstate
);
28460 if (PyErr_Occurred()) SWIG_fail
;
28462 resultobj
= SWIG_Py_Void();
28469 SWIGINTERN PyObject
*_wrap_Printout_OnEndPrinting(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28470 PyObject
*resultobj
= 0;
28471 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
28474 PyObject
*swig_obj
[1] ;
28476 if (!args
) SWIG_fail
;
28477 swig_obj
[0] = args
;
28478 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
28479 if (!SWIG_IsOK(res1
)) {
28480 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout_OnEndPrinting" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
28482 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
28484 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28485 (arg1
)->OnEndPrinting();
28486 wxPyEndAllowThreads(__tstate
);
28487 if (PyErr_Occurred()) SWIG_fail
;
28489 resultobj
= SWIG_Py_Void();
28496 SWIGINTERN PyObject
*_wrap_Printout_OnPreparePrinting(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28497 PyObject
*resultobj
= 0;
28498 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
28501 PyObject
*swig_obj
[1] ;
28503 if (!args
) SWIG_fail
;
28504 swig_obj
[0] = args
;
28505 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
28506 if (!SWIG_IsOK(res1
)) {
28507 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout_OnPreparePrinting" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
28509 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
28511 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28512 (arg1
)->OnPreparePrinting();
28513 wxPyEndAllowThreads(__tstate
);
28514 if (PyErr_Occurred()) SWIG_fail
;
28516 resultobj
= SWIG_Py_Void();
28523 SWIGINTERN PyObject
*_wrap_Printout_HasPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28524 PyObject
*resultobj
= 0;
28525 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
28532 PyObject
* obj0
= 0 ;
28533 PyObject
* obj1
= 0 ;
28534 char * kwnames
[] = {
28535 (char *) "self",(char *) "page", NULL
28538 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Printout_HasPage",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
28539 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
28540 if (!SWIG_IsOK(res1
)) {
28541 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout_HasPage" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
28543 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
28544 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
28545 if (!SWIG_IsOK(ecode2
)) {
28546 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Printout_HasPage" "', expected argument " "2"" of type '" "int""'");
28548 arg2
= static_cast< int >(val2
);
28550 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28551 result
= (bool)(arg1
)->HasPage(arg2
);
28552 wxPyEndAllowThreads(__tstate
);
28553 if (PyErr_Occurred()) SWIG_fail
;
28556 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28564 SWIGINTERN PyObject
*_wrap_Printout_GetPageInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28565 PyObject
*resultobj
= 0;
28566 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
28567 int *arg2
= (int *) 0 ;
28568 int *arg3
= (int *) 0 ;
28569 int *arg4
= (int *) 0 ;
28570 int *arg5
= (int *) 0 ;
28574 int res2
= SWIG_TMPOBJ
;
28576 int res3
= SWIG_TMPOBJ
;
28578 int res4
= SWIG_TMPOBJ
;
28580 int res5
= SWIG_TMPOBJ
;
28581 PyObject
*swig_obj
[1] ;
28587 if (!args
) SWIG_fail
;
28588 swig_obj
[0] = args
;
28589 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
28590 if (!SWIG_IsOK(res1
)) {
28591 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout_GetPageInfo" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
28593 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
28595 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28596 (arg1
)->GetPageInfo(arg2
,arg3
,arg4
,arg5
);
28597 wxPyEndAllowThreads(__tstate
);
28598 if (PyErr_Occurred()) SWIG_fail
;
28600 resultobj
= SWIG_Py_Void();
28601 if (SWIG_IsTmpObj(res2
)) {
28602 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
28604 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
28605 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
28607 if (SWIG_IsTmpObj(res3
)) {
28608 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
28610 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
28611 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
28613 if (SWIG_IsTmpObj(res4
)) {
28614 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg4
)));
28616 int new_flags
= SWIG_IsNewObj(res4
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
28617 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_int
, new_flags
));
28619 if (SWIG_IsTmpObj(res5
)) {
28620 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg5
)));
28622 int new_flags
= SWIG_IsNewObj(res5
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
28623 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg5
), SWIGTYPE_p_int
, new_flags
));
28631 SWIGINTERN PyObject
*Printout_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28633 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
28634 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyPrintout
, SWIG_NewClientData(obj
));
28635 return SWIG_Py_Void();
28638 SWIGINTERN PyObject
*Printout_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28639 return SWIG_Python_InitShadowInstance(args
);
28642 SWIGINTERN PyObject
*_wrap_new_PreviewCanvas(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28643 PyObject
*resultobj
= 0;
28644 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
28645 wxWindow
*arg2
= (wxWindow
*) 0 ;
28646 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
28647 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
28648 wxSize
const &arg4_defvalue
= wxDefaultSize
;
28649 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
28650 long arg5
= (long) 0 ;
28651 wxString
const &arg6_defvalue
= wxPyPreviewCanvasNameStr
;
28652 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
28653 wxPreviewCanvas
*result
= 0 ;
28662 bool temp6
= false ;
28663 PyObject
* obj0
= 0 ;
28664 PyObject
* obj1
= 0 ;
28665 PyObject
* obj2
= 0 ;
28666 PyObject
* obj3
= 0 ;
28667 PyObject
* obj4
= 0 ;
28668 PyObject
* obj5
= 0 ;
28669 char * kwnames
[] = {
28670 (char *) "preview",(char *) "parent",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
28673 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOO:new_PreviewCanvas",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
28674 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintPreview
, 0 | 0 );
28675 if (!SWIG_IsOK(res1
)) {
28676 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PreviewCanvas" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
28678 arg1
= reinterpret_cast< wxPrintPreview
* >(argp1
);
28679 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
28680 if (!SWIG_IsOK(res2
)) {
28681 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_PreviewCanvas" "', expected argument " "2"" of type '" "wxWindow *""'");
28683 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
28687 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
28693 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
28697 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
28698 if (!SWIG_IsOK(ecode5
)) {
28699 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_PreviewCanvas" "', expected argument " "5"" of type '" "long""'");
28701 arg5
= static_cast< long >(val5
);
28705 arg6
= wxString_in_helper(obj5
);
28706 if (arg6
== NULL
) SWIG_fail
;
28711 if (!wxPyCheckForApp()) SWIG_fail
;
28712 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28713 result
= (wxPreviewCanvas
*)new wxPreviewCanvas(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
28714 wxPyEndAllowThreads(__tstate
);
28715 if (PyErr_Occurred()) SWIG_fail
;
28717 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPreviewCanvas
, SWIG_POINTER_NEW
| 0 );
28732 SWIGINTERN PyObject
*PreviewCanvas_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28734 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
28735 SWIG_TypeNewClientData(SWIGTYPE_p_wxPreviewCanvas
, SWIG_NewClientData(obj
));
28736 return SWIG_Py_Void();
28739 SWIGINTERN PyObject
*PreviewCanvas_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28740 return SWIG_Python_InitShadowInstance(args
);
28743 SWIGINTERN PyObject
*_wrap_new_PreviewFrame(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28744 PyObject
*resultobj
= 0;
28745 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
28746 wxFrame
*arg2
= (wxFrame
*) 0 ;
28747 wxString
*arg3
= 0 ;
28748 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
28749 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
28750 wxSize
const &arg5_defvalue
= wxDefaultSize
;
28751 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
28752 long arg6
= (long) wxDEFAULT_FRAME_STYLE
;
28753 wxString
const &arg7_defvalue
= wxPyFrameNameStr
;
28754 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
28755 wxPreviewFrame
*result
= 0 ;
28759 bool temp3
= false ;
28764 bool temp7
= false ;
28765 PyObject
* obj0
= 0 ;
28766 PyObject
* obj1
= 0 ;
28767 PyObject
* obj2
= 0 ;
28768 PyObject
* obj3
= 0 ;
28769 PyObject
* obj4
= 0 ;
28770 PyObject
* obj5
= 0 ;
28771 PyObject
* obj6
= 0 ;
28772 char * kwnames
[] = {
28773 (char *) "preview",(char *) "parent",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
28776 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:new_PreviewFrame",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
28777 res1
= SWIG_ConvertPtr(obj0
, SWIG_as_voidptrptr(&arg1
), SWIGTYPE_p_wxPrintPreview
, SWIG_POINTER_DISOWN
| 0 );
28778 if (!SWIG_IsOK(res1
)) {
28779 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PreviewFrame" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
28781 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxFrame
, 0 | 0 );
28782 if (!SWIG_IsOK(res2
)) {
28783 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_PreviewFrame" "', expected argument " "2"" of type '" "wxFrame *""'");
28785 arg2
= reinterpret_cast< wxFrame
* >(argp2
);
28787 arg3
= wxString_in_helper(obj2
);
28788 if (arg3
== NULL
) SWIG_fail
;
28794 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
28800 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
28804 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
28805 if (!SWIG_IsOK(ecode6
)) {
28806 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_PreviewFrame" "', expected argument " "6"" of type '" "long""'");
28808 arg6
= static_cast< long >(val6
);
28812 arg7
= wxString_in_helper(obj6
);
28813 if (arg7
== NULL
) SWIG_fail
;
28818 if (!wxPyCheckForApp()) SWIG_fail
;
28819 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28820 result
= (wxPreviewFrame
*)new wxPreviewFrame(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
28821 wxPyEndAllowThreads(__tstate
);
28822 if (PyErr_Occurred()) SWIG_fail
;
28824 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPreviewFrame
, SWIG_POINTER_NEW
| 0 );
28847 SWIGINTERN PyObject
*_wrap_PreviewFrame_Initialize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28848 PyObject
*resultobj
= 0;
28849 wxPreviewFrame
*arg1
= (wxPreviewFrame
*) 0 ;
28852 PyObject
*swig_obj
[1] ;
28854 if (!args
) SWIG_fail
;
28855 swig_obj
[0] = args
;
28856 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPreviewFrame
, 0 | 0 );
28857 if (!SWIG_IsOK(res1
)) {
28858 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PreviewFrame_Initialize" "', expected argument " "1"" of type '" "wxPreviewFrame *""'");
28860 arg1
= reinterpret_cast< wxPreviewFrame
* >(argp1
);
28862 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28863 (arg1
)->Initialize();
28864 wxPyEndAllowThreads(__tstate
);
28865 if (PyErr_Occurred()) SWIG_fail
;
28867 resultobj
= SWIG_Py_Void();
28874 SWIGINTERN PyObject
*_wrap_PreviewFrame_CreateControlBar(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28875 PyObject
*resultobj
= 0;
28876 wxPreviewFrame
*arg1
= (wxPreviewFrame
*) 0 ;
28879 PyObject
*swig_obj
[1] ;
28881 if (!args
) SWIG_fail
;
28882 swig_obj
[0] = args
;
28883 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPreviewFrame
, 0 | 0 );
28884 if (!SWIG_IsOK(res1
)) {
28885 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PreviewFrame_CreateControlBar" "', expected argument " "1"" of type '" "wxPreviewFrame *""'");
28887 arg1
= reinterpret_cast< wxPreviewFrame
* >(argp1
);
28889 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28890 (arg1
)->CreateControlBar();
28891 wxPyEndAllowThreads(__tstate
);
28892 if (PyErr_Occurred()) SWIG_fail
;
28894 resultobj
= SWIG_Py_Void();
28901 SWIGINTERN PyObject
*_wrap_PreviewFrame_CreateCanvas(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28902 PyObject
*resultobj
= 0;
28903 wxPreviewFrame
*arg1
= (wxPreviewFrame
*) 0 ;
28906 PyObject
*swig_obj
[1] ;
28908 if (!args
) SWIG_fail
;
28909 swig_obj
[0] = args
;
28910 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPreviewFrame
, 0 | 0 );
28911 if (!SWIG_IsOK(res1
)) {
28912 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PreviewFrame_CreateCanvas" "', expected argument " "1"" of type '" "wxPreviewFrame *""'");
28914 arg1
= reinterpret_cast< wxPreviewFrame
* >(argp1
);
28916 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28917 (arg1
)->CreateCanvas();
28918 wxPyEndAllowThreads(__tstate
);
28919 if (PyErr_Occurred()) SWIG_fail
;
28921 resultobj
= SWIG_Py_Void();
28928 SWIGINTERN PyObject
*_wrap_PreviewFrame_GetControlBar(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28929 PyObject
*resultobj
= 0;
28930 wxPreviewFrame
*arg1
= (wxPreviewFrame
*) 0 ;
28931 wxPreviewControlBar
*result
= 0 ;
28934 PyObject
*swig_obj
[1] ;
28936 if (!args
) SWIG_fail
;
28937 swig_obj
[0] = args
;
28938 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPreviewFrame
, 0 | 0 );
28939 if (!SWIG_IsOK(res1
)) {
28940 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PreviewFrame_GetControlBar" "', expected argument " "1"" of type '" "wxPreviewFrame const *""'");
28942 arg1
= reinterpret_cast< wxPreviewFrame
* >(argp1
);
28944 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28945 result
= (wxPreviewControlBar
*)((wxPreviewFrame
const *)arg1
)->GetControlBar();
28946 wxPyEndAllowThreads(__tstate
);
28947 if (PyErr_Occurred()) SWIG_fail
;
28949 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPreviewControlBar
, 0 | 0 );
28956 SWIGINTERN PyObject
*PreviewFrame_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28958 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
28959 SWIG_TypeNewClientData(SWIGTYPE_p_wxPreviewFrame
, SWIG_NewClientData(obj
));
28960 return SWIG_Py_Void();
28963 SWIGINTERN PyObject
*PreviewFrame_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28964 return SWIG_Python_InitShadowInstance(args
);
28967 SWIGINTERN PyObject
*_wrap_new_PreviewControlBar(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28968 PyObject
*resultobj
= 0;
28969 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
28971 wxWindow
*arg3
= (wxWindow
*) 0 ;
28972 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
28973 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
28974 wxSize
const &arg5_defvalue
= wxDefaultSize
;
28975 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
28976 long arg6
= (long) wxTAB_TRAVERSAL
;
28977 wxString
const &arg7_defvalue
= wxPyPanelNameStr
;
28978 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
28979 wxPreviewControlBar
*result
= 0 ;
28990 bool temp7
= false ;
28991 PyObject
* obj0
= 0 ;
28992 PyObject
* obj1
= 0 ;
28993 PyObject
* obj2
= 0 ;
28994 PyObject
* obj3
= 0 ;
28995 PyObject
* obj4
= 0 ;
28996 PyObject
* obj5
= 0 ;
28997 PyObject
* obj6
= 0 ;
28998 char * kwnames
[] = {
28999 (char *) "preview",(char *) "buttons",(char *) "parent",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
29002 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:new_PreviewControlBar",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
29003 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintPreview
, 0 | 0 );
29004 if (!SWIG_IsOK(res1
)) {
29005 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PreviewControlBar" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
29007 arg1
= reinterpret_cast< wxPrintPreview
* >(argp1
);
29008 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
29009 if (!SWIG_IsOK(ecode2
)) {
29010 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_PreviewControlBar" "', expected argument " "2"" of type '" "long""'");
29012 arg2
= static_cast< long >(val2
);
29013 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxWindow
, 0 | 0 );
29014 if (!SWIG_IsOK(res3
)) {
29015 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "new_PreviewControlBar" "', expected argument " "3"" of type '" "wxWindow *""'");
29017 arg3
= reinterpret_cast< wxWindow
* >(argp3
);
29021 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
29027 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
29031 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
29032 if (!SWIG_IsOK(ecode6
)) {
29033 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_PreviewControlBar" "', expected argument " "6"" of type '" "long""'");
29035 arg6
= static_cast< long >(val6
);
29039 arg7
= wxString_in_helper(obj6
);
29040 if (arg7
== NULL
) SWIG_fail
;
29045 if (!wxPyCheckForApp()) SWIG_fail
;
29046 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29047 result
= (wxPreviewControlBar
*)new wxPreviewControlBar(arg1
,arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
29048 wxPyEndAllowThreads(__tstate
);
29049 if (PyErr_Occurred()) SWIG_fail
;
29051 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPreviewControlBar
, SWIG_POINTER_NEW
| 0 );
29066 SWIGINTERN PyObject
*_wrap_PreviewControlBar_GetZoomControl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29067 PyObject
*resultobj
= 0;
29068 wxPreviewControlBar
*arg1
= (wxPreviewControlBar
*) 0 ;
29072 PyObject
*swig_obj
[1] ;
29074 if (!args
) SWIG_fail
;
29075 swig_obj
[0] = args
;
29076 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPreviewControlBar
, 0 | 0 );
29077 if (!SWIG_IsOK(res1
)) {
29078 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PreviewControlBar_GetZoomControl" "', expected argument " "1"" of type '" "wxPreviewControlBar *""'");
29080 arg1
= reinterpret_cast< wxPreviewControlBar
* >(argp1
);
29082 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29083 result
= (int)(arg1
)->GetZoomControl();
29084 wxPyEndAllowThreads(__tstate
);
29085 if (PyErr_Occurred()) SWIG_fail
;
29087 resultobj
= SWIG_From_int(static_cast< int >(result
));
29094 SWIGINTERN PyObject
*_wrap_PreviewControlBar_SetZoomControl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29095 PyObject
*resultobj
= 0;
29096 wxPreviewControlBar
*arg1
= (wxPreviewControlBar
*) 0 ;
29102 PyObject
* obj0
= 0 ;
29103 PyObject
* obj1
= 0 ;
29104 char * kwnames
[] = {
29105 (char *) "self",(char *) "zoom", NULL
29108 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PreviewControlBar_SetZoomControl",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
29109 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPreviewControlBar
, 0 | 0 );
29110 if (!SWIG_IsOK(res1
)) {
29111 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PreviewControlBar_SetZoomControl" "', expected argument " "1"" of type '" "wxPreviewControlBar *""'");
29113 arg1
= reinterpret_cast< wxPreviewControlBar
* >(argp1
);
29114 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
29115 if (!SWIG_IsOK(ecode2
)) {
29116 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PreviewControlBar_SetZoomControl" "', expected argument " "2"" of type '" "int""'");
29118 arg2
= static_cast< int >(val2
);
29120 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29121 (arg1
)->SetZoomControl(arg2
);
29122 wxPyEndAllowThreads(__tstate
);
29123 if (PyErr_Occurred()) SWIG_fail
;
29125 resultobj
= SWIG_Py_Void();
29132 SWIGINTERN PyObject
*_wrap_PreviewControlBar_GetPrintPreview(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29133 PyObject
*resultobj
= 0;
29134 wxPreviewControlBar
*arg1
= (wxPreviewControlBar
*) 0 ;
29135 wxPrintPreview
*result
= 0 ;
29138 PyObject
*swig_obj
[1] ;
29140 if (!args
) SWIG_fail
;
29141 swig_obj
[0] = args
;
29142 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPreviewControlBar
, 0 | 0 );
29143 if (!SWIG_IsOK(res1
)) {
29144 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PreviewControlBar_GetPrintPreview" "', expected argument " "1"" of type '" "wxPreviewControlBar *""'");
29146 arg1
= reinterpret_cast< wxPreviewControlBar
* >(argp1
);
29148 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29149 result
= (wxPrintPreview
*)(arg1
)->GetPrintPreview();
29150 wxPyEndAllowThreads(__tstate
);
29151 if (PyErr_Occurred()) SWIG_fail
;
29153 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPrintPreview
, 0 | 0 );
29160 SWIGINTERN PyObject
*_wrap_PreviewControlBar_OnNext(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29161 PyObject
*resultobj
= 0;
29162 wxPreviewControlBar
*arg1
= (wxPreviewControlBar
*) 0 ;
29165 PyObject
*swig_obj
[1] ;
29167 if (!args
) SWIG_fail
;
29168 swig_obj
[0] = args
;
29169 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPreviewControlBar
, 0 | 0 );
29170 if (!SWIG_IsOK(res1
)) {
29171 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PreviewControlBar_OnNext" "', expected argument " "1"" of type '" "wxPreviewControlBar *""'");
29173 arg1
= reinterpret_cast< wxPreviewControlBar
* >(argp1
);
29175 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29177 wxPyEndAllowThreads(__tstate
);
29178 if (PyErr_Occurred()) SWIG_fail
;
29180 resultobj
= SWIG_Py_Void();
29187 SWIGINTERN PyObject
*_wrap_PreviewControlBar_OnPrevious(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29188 PyObject
*resultobj
= 0;
29189 wxPreviewControlBar
*arg1
= (wxPreviewControlBar
*) 0 ;
29192 PyObject
*swig_obj
[1] ;
29194 if (!args
) SWIG_fail
;
29195 swig_obj
[0] = args
;
29196 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPreviewControlBar
, 0 | 0 );
29197 if (!SWIG_IsOK(res1
)) {
29198 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PreviewControlBar_OnPrevious" "', expected argument " "1"" of type '" "wxPreviewControlBar *""'");
29200 arg1
= reinterpret_cast< wxPreviewControlBar
* >(argp1
);
29202 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29203 (arg1
)->OnPrevious();
29204 wxPyEndAllowThreads(__tstate
);
29205 if (PyErr_Occurred()) SWIG_fail
;
29207 resultobj
= SWIG_Py_Void();
29214 SWIGINTERN PyObject
*_wrap_PreviewControlBar_OnFirst(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29215 PyObject
*resultobj
= 0;
29216 wxPreviewControlBar
*arg1
= (wxPreviewControlBar
*) 0 ;
29219 PyObject
*swig_obj
[1] ;
29221 if (!args
) SWIG_fail
;
29222 swig_obj
[0] = args
;
29223 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPreviewControlBar
, 0 | 0 );
29224 if (!SWIG_IsOK(res1
)) {
29225 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PreviewControlBar_OnFirst" "', expected argument " "1"" of type '" "wxPreviewControlBar *""'");
29227 arg1
= reinterpret_cast< wxPreviewControlBar
* >(argp1
);
29229 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29231 wxPyEndAllowThreads(__tstate
);
29232 if (PyErr_Occurred()) SWIG_fail
;
29234 resultobj
= SWIG_Py_Void();
29241 SWIGINTERN PyObject
*_wrap_PreviewControlBar_OnLast(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29242 PyObject
*resultobj
= 0;
29243 wxPreviewControlBar
*arg1
= (wxPreviewControlBar
*) 0 ;
29246 PyObject
*swig_obj
[1] ;
29248 if (!args
) SWIG_fail
;
29249 swig_obj
[0] = args
;
29250 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPreviewControlBar
, 0 | 0 );
29251 if (!SWIG_IsOK(res1
)) {
29252 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PreviewControlBar_OnLast" "', expected argument " "1"" of type '" "wxPreviewControlBar *""'");
29254 arg1
= reinterpret_cast< wxPreviewControlBar
* >(argp1
);
29256 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29258 wxPyEndAllowThreads(__tstate
);
29259 if (PyErr_Occurred()) SWIG_fail
;
29261 resultobj
= SWIG_Py_Void();
29268 SWIGINTERN PyObject
*_wrap_PreviewControlBar_OnGoto(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29269 PyObject
*resultobj
= 0;
29270 wxPreviewControlBar
*arg1
= (wxPreviewControlBar
*) 0 ;
29273 PyObject
*swig_obj
[1] ;
29275 if (!args
) SWIG_fail
;
29276 swig_obj
[0] = args
;
29277 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPreviewControlBar
, 0 | 0 );
29278 if (!SWIG_IsOK(res1
)) {
29279 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PreviewControlBar_OnGoto" "', expected argument " "1"" of type '" "wxPreviewControlBar *""'");
29281 arg1
= reinterpret_cast< wxPreviewControlBar
* >(argp1
);
29283 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29285 wxPyEndAllowThreads(__tstate
);
29286 if (PyErr_Occurred()) SWIG_fail
;
29288 resultobj
= SWIG_Py_Void();
29295 SWIGINTERN PyObject
*PreviewControlBar_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29297 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
29298 SWIG_TypeNewClientData(SWIGTYPE_p_wxPreviewControlBar
, SWIG_NewClientData(obj
));
29299 return SWIG_Py_Void();
29302 SWIGINTERN PyObject
*PreviewControlBar_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29303 return SWIG_Python_InitShadowInstance(args
);
29306 SWIGINTERN PyObject
*_wrap_new_PrintPreview__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
29307 PyObject
*resultobj
= 0;
29308 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
29309 wxPyPrintout
*arg2
= (wxPyPrintout
*) 0 ;
29310 wxPrintDialogData
*arg3
= (wxPrintDialogData
*) NULL
;
29311 wxPrintPreview
*result
= 0 ;
29317 if ((nobjs
< 2) || (nobjs
> 3)) SWIG_fail
;
29318 res1
= SWIG_ConvertPtr(swig_obj
[0], SWIG_as_voidptrptr(&arg1
), SWIGTYPE_p_wxPyPrintout
, SWIG_POINTER_DISOWN
| 0 );
29319 if (!SWIG_IsOK(res1
)) {
29320 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PrintPreview" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
29322 res2
= SWIG_ConvertPtr(swig_obj
[1], SWIG_as_voidptrptr(&arg2
), SWIGTYPE_p_wxPyPrintout
, SWIG_POINTER_DISOWN
| 0 );
29323 if (!SWIG_IsOK(res2
)) {
29324 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_PrintPreview" "', expected argument " "2"" of type '" "wxPyPrintout *""'");
29327 res3
= SWIG_ConvertPtr(swig_obj
[2], &argp3
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
29328 if (!SWIG_IsOK(res3
)) {
29329 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "new_PrintPreview" "', expected argument " "3"" of type '" "wxPrintDialogData *""'");
29331 arg3
= reinterpret_cast< wxPrintDialogData
* >(argp3
);
29334 if (!wxPyCheckForApp()) SWIG_fail
;
29335 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29336 result
= (wxPrintPreview
*)new wxPrintPreview(arg1
,arg2
,arg3
);
29337 wxPyEndAllowThreads(__tstate
);
29338 if (PyErr_Occurred()) SWIG_fail
;
29340 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPrintPreview
, SWIG_POINTER_NEW
| 0 );
29347 SWIGINTERN PyObject
*_wrap_new_PrintPreview__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
29348 PyObject
*resultobj
= 0;
29349 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
29350 wxPyPrintout
*arg2
= (wxPyPrintout
*) 0 ;
29351 wxPrintData
*arg3
= (wxPrintData
*) 0 ;
29352 wxPrintPreview
*result
= 0 ;
29358 if ((nobjs
< 3) || (nobjs
> 3)) SWIG_fail
;
29359 res1
= SWIG_ConvertPtr(swig_obj
[0], SWIG_as_voidptrptr(&arg1
), SWIGTYPE_p_wxPyPrintout
, SWIG_POINTER_DISOWN
| 0 );
29360 if (!SWIG_IsOK(res1
)) {
29361 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PrintPreview" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
29363 res2
= SWIG_ConvertPtr(swig_obj
[1], SWIG_as_voidptrptr(&arg2
), SWIGTYPE_p_wxPyPrintout
, SWIG_POINTER_DISOWN
| 0 );
29364 if (!SWIG_IsOK(res2
)) {
29365 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_PrintPreview" "', expected argument " "2"" of type '" "wxPyPrintout *""'");
29367 res3
= SWIG_ConvertPtr(swig_obj
[2], &argp3
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
29368 if (!SWIG_IsOK(res3
)) {
29369 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "new_PrintPreview" "', expected argument " "3"" of type '" "wxPrintData *""'");
29371 arg3
= reinterpret_cast< wxPrintData
* >(argp3
);
29373 if (!wxPyCheckForApp()) SWIG_fail
;
29374 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29375 result
= (wxPrintPreview
*)new wxPrintPreview(arg1
,arg2
,arg3
);
29376 wxPyEndAllowThreads(__tstate
);
29377 if (PyErr_Occurred()) SWIG_fail
;
29379 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPrintPreview
, SWIG_POINTER_NEW
| 0 );
29386 SWIGINTERN PyObject
*_wrap_new_PrintPreview(PyObject
*self
, PyObject
*args
) {
29390 if (!(argc
= SWIG_Python_UnpackTuple(args
,"new_PrintPreview",0,3,argv
))) SWIG_fail
;
29392 if ((argc
>= 2) && (argc
<= 3)) {
29397 int res
= SWIG_ConvertPtr(argv
[2], &vptr
, SWIGTYPE_p_wxPrintDialogData
, 0);
29398 _v
= SWIG_CheckState(res
);
29400 if (!_v
) goto check_1
;
29402 return _wrap_new_PrintPreview__SWIG_0(self
, argc
, argv
);
29407 return _wrap_new_PrintPreview__SWIG_1(self
, argc
, argv
);
29411 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'new_PrintPreview'");
29416 SWIGINTERN PyObject
*_wrap_delete_PrintPreview(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29417 PyObject
*resultobj
= 0;
29418 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
29421 PyObject
*swig_obj
[1] ;
29423 if (!args
) SWIG_fail
;
29424 swig_obj
[0] = args
;
29425 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintPreview
, SWIG_POINTER_DISOWN
| 0 );
29426 if (!SWIG_IsOK(res1
)) {
29427 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_PrintPreview" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
29429 arg1
= reinterpret_cast< wxPrintPreview
* >(argp1
);
29431 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29434 wxPyEndAllowThreads(__tstate
);
29435 if (PyErr_Occurred()) SWIG_fail
;
29437 resultobj
= SWIG_Py_Void();
29444 SWIGINTERN PyObject
*_wrap_PrintPreview_SetCurrentPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29445 PyObject
*resultobj
= 0;
29446 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
29453 PyObject
* obj0
= 0 ;
29454 PyObject
* obj1
= 0 ;
29455 char * kwnames
[] = {
29456 (char *) "self",(char *) "pageNum", NULL
29459 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintPreview_SetCurrentPage",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
29460 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintPreview
, 0 | 0 );
29461 if (!SWIG_IsOK(res1
)) {
29462 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintPreview_SetCurrentPage" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
29464 arg1
= reinterpret_cast< wxPrintPreview
* >(argp1
);
29465 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
29466 if (!SWIG_IsOK(ecode2
)) {
29467 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintPreview_SetCurrentPage" "', expected argument " "2"" of type '" "int""'");
29469 arg2
= static_cast< int >(val2
);
29471 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29472 result
= (bool)(arg1
)->SetCurrentPage(arg2
);
29473 wxPyEndAllowThreads(__tstate
);
29474 if (PyErr_Occurred()) SWIG_fail
;
29477 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29485 SWIGINTERN PyObject
*_wrap_PrintPreview_GetCurrentPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29486 PyObject
*resultobj
= 0;
29487 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
29491 PyObject
*swig_obj
[1] ;
29493 if (!args
) SWIG_fail
;
29494 swig_obj
[0] = args
;
29495 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintPreview
, 0 | 0 );
29496 if (!SWIG_IsOK(res1
)) {
29497 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintPreview_GetCurrentPage" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
29499 arg1
= reinterpret_cast< wxPrintPreview
* >(argp1
);
29501 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29502 result
= (int)(arg1
)->GetCurrentPage();
29503 wxPyEndAllowThreads(__tstate
);
29504 if (PyErr_Occurred()) SWIG_fail
;
29506 resultobj
= SWIG_From_int(static_cast< int >(result
));
29513 SWIGINTERN PyObject
*_wrap_PrintPreview_SetPrintout(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29514 PyObject
*resultobj
= 0;
29515 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
29516 wxPyPrintout
*arg2
= (wxPyPrintout
*) 0 ;
29520 PyObject
* obj0
= 0 ;
29521 PyObject
* obj1
= 0 ;
29522 char * kwnames
[] = {
29523 (char *) "self",(char *) "printout", NULL
29526 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintPreview_SetPrintout",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
29527 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintPreview
, 0 | 0 );
29528 if (!SWIG_IsOK(res1
)) {
29529 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintPreview_SetPrintout" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
29531 arg1
= reinterpret_cast< wxPrintPreview
* >(argp1
);
29532 res2
= SWIG_ConvertPtr(obj1
, SWIG_as_voidptrptr(&arg2
), SWIGTYPE_p_wxPyPrintout
, SWIG_POINTER_DISOWN
| 0 );
29533 if (!SWIG_IsOK(res2
)) {
29534 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PrintPreview_SetPrintout" "', expected argument " "2"" of type '" "wxPyPrintout *""'");
29537 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29538 (arg1
)->SetPrintout(arg2
);
29539 wxPyEndAllowThreads(__tstate
);
29540 if (PyErr_Occurred()) SWIG_fail
;
29542 resultobj
= SWIG_Py_Void();
29549 SWIGINTERN PyObject
*_wrap_PrintPreview_GetPrintout(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29550 PyObject
*resultobj
= 0;
29551 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
29552 wxPyPrintout
*result
= 0 ;
29555 PyObject
*swig_obj
[1] ;
29557 if (!args
) SWIG_fail
;
29558 swig_obj
[0] = args
;
29559 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintPreview
, 0 | 0 );
29560 if (!SWIG_IsOK(res1
)) {
29561 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintPreview_GetPrintout" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
29563 arg1
= reinterpret_cast< wxPrintPreview
* >(argp1
);
29565 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29566 result
= (wxPyPrintout
*)(arg1
)->GetPrintout();
29567 wxPyEndAllowThreads(__tstate
);
29568 if (PyErr_Occurred()) SWIG_fail
;
29571 resultobj
= wxPyMake_wxObject(result
, 0);
29579 SWIGINTERN PyObject
*_wrap_PrintPreview_GetPrintoutForPrinting(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29580 PyObject
*resultobj
= 0;
29581 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
29582 wxPyPrintout
*result
= 0 ;
29585 PyObject
*swig_obj
[1] ;
29587 if (!args
) SWIG_fail
;
29588 swig_obj
[0] = args
;
29589 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintPreview
, 0 | 0 );
29590 if (!SWIG_IsOK(res1
)) {
29591 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintPreview_GetPrintoutForPrinting" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
29593 arg1
= reinterpret_cast< wxPrintPreview
* >(argp1
);
29595 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29596 result
= (wxPyPrintout
*)(arg1
)->GetPrintoutForPrinting();
29597 wxPyEndAllowThreads(__tstate
);
29598 if (PyErr_Occurred()) SWIG_fail
;
29601 resultobj
= wxPyMake_wxObject(result
, 0);
29609 SWIGINTERN PyObject
*_wrap_PrintPreview_SetFrame(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29610 PyObject
*resultobj
= 0;
29611 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
29612 wxFrame
*arg2
= (wxFrame
*) 0 ;
29617 PyObject
* obj0
= 0 ;
29618 PyObject
* obj1
= 0 ;
29619 char * kwnames
[] = {
29620 (char *) "self",(char *) "frame", NULL
29623 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintPreview_SetFrame",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
29624 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintPreview
, 0 | 0 );
29625 if (!SWIG_IsOK(res1
)) {
29626 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintPreview_SetFrame" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
29628 arg1
= reinterpret_cast< wxPrintPreview
* >(argp1
);
29629 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxFrame
, 0 | 0 );
29630 if (!SWIG_IsOK(res2
)) {
29631 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PrintPreview_SetFrame" "', expected argument " "2"" of type '" "wxFrame *""'");
29633 arg2
= reinterpret_cast< wxFrame
* >(argp2
);
29635 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29636 (arg1
)->SetFrame(arg2
);
29637 wxPyEndAllowThreads(__tstate
);
29638 if (PyErr_Occurred()) SWIG_fail
;
29640 resultobj
= SWIG_Py_Void();
29647 SWIGINTERN PyObject
*_wrap_PrintPreview_SetCanvas(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29648 PyObject
*resultobj
= 0;
29649 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
29650 wxPreviewCanvas
*arg2
= (wxPreviewCanvas
*) 0 ;
29655 PyObject
* obj0
= 0 ;
29656 PyObject
* obj1
= 0 ;
29657 char * kwnames
[] = {
29658 (char *) "self",(char *) "canvas", NULL
29661 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintPreview_SetCanvas",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
29662 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintPreview
, 0 | 0 );
29663 if (!SWIG_IsOK(res1
)) {
29664 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintPreview_SetCanvas" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
29666 arg1
= reinterpret_cast< wxPrintPreview
* >(argp1
);
29667 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxPreviewCanvas
, 0 | 0 );
29668 if (!SWIG_IsOK(res2
)) {
29669 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PrintPreview_SetCanvas" "', expected argument " "2"" of type '" "wxPreviewCanvas *""'");
29671 arg2
= reinterpret_cast< wxPreviewCanvas
* >(argp2
);
29673 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29674 (arg1
)->SetCanvas(arg2
);
29675 wxPyEndAllowThreads(__tstate
);
29676 if (PyErr_Occurred()) SWIG_fail
;
29678 resultobj
= SWIG_Py_Void();
29685 SWIGINTERN PyObject
*_wrap_PrintPreview_GetFrame(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29686 PyObject
*resultobj
= 0;
29687 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
29688 wxFrame
*result
= 0 ;
29691 PyObject
*swig_obj
[1] ;
29693 if (!args
) SWIG_fail
;
29694 swig_obj
[0] = args
;
29695 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintPreview
, 0 | 0 );
29696 if (!SWIG_IsOK(res1
)) {
29697 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintPreview_GetFrame" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
29699 arg1
= reinterpret_cast< wxPrintPreview
* >(argp1
);
29701 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29702 result
= (wxFrame
*)(arg1
)->GetFrame();
29703 wxPyEndAllowThreads(__tstate
);
29704 if (PyErr_Occurred()) SWIG_fail
;
29707 resultobj
= wxPyMake_wxObject(result
, 0);
29715 SWIGINTERN PyObject
*_wrap_PrintPreview_GetCanvas(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29716 PyObject
*resultobj
= 0;
29717 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
29718 wxPreviewCanvas
*result
= 0 ;
29721 PyObject
*swig_obj
[1] ;
29723 if (!args
) SWIG_fail
;
29724 swig_obj
[0] = args
;
29725 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintPreview
, 0 | 0 );
29726 if (!SWIG_IsOK(res1
)) {
29727 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintPreview_GetCanvas" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
29729 arg1
= reinterpret_cast< wxPrintPreview
* >(argp1
);
29731 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29732 result
= (wxPreviewCanvas
*)(arg1
)->GetCanvas();
29733 wxPyEndAllowThreads(__tstate
);
29734 if (PyErr_Occurred()) SWIG_fail
;
29736 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPreviewCanvas
, 0 | 0 );
29743 SWIGINTERN PyObject
*_wrap_PrintPreview_PaintPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29744 PyObject
*resultobj
= 0;
29745 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
29746 wxPreviewCanvas
*arg2
= (wxPreviewCanvas
*) 0 ;
29755 PyObject
* obj0
= 0 ;
29756 PyObject
* obj1
= 0 ;
29757 PyObject
* obj2
= 0 ;
29758 char * kwnames
[] = {
29759 (char *) "self",(char *) "canvas",(char *) "dc", NULL
29762 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PrintPreview_PaintPage",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
29763 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintPreview
, 0 | 0 );
29764 if (!SWIG_IsOK(res1
)) {
29765 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintPreview_PaintPage" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
29767 arg1
= reinterpret_cast< wxPrintPreview
* >(argp1
);
29768 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxPreviewCanvas
, 0 | 0 );
29769 if (!SWIG_IsOK(res2
)) {
29770 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PrintPreview_PaintPage" "', expected argument " "2"" of type '" "wxPreviewCanvas *""'");
29772 arg2
= reinterpret_cast< wxPreviewCanvas
* >(argp2
);
29773 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxDC
, 0 );
29774 if (!SWIG_IsOK(res3
)) {
29775 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "PrintPreview_PaintPage" "', expected argument " "3"" of type '" "wxDC &""'");
29778 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "PrintPreview_PaintPage" "', expected argument " "3"" of type '" "wxDC &""'");
29780 arg3
= reinterpret_cast< wxDC
* >(argp3
);
29782 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29783 result
= (bool)(arg1
)->PaintPage(arg2
,*arg3
);
29784 wxPyEndAllowThreads(__tstate
);
29785 if (PyErr_Occurred()) SWIG_fail
;
29788 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29796 SWIGINTERN PyObject
*_wrap_PrintPreview_DrawBlankPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29797 PyObject
*resultobj
= 0;
29798 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
29799 wxPreviewCanvas
*arg2
= (wxPreviewCanvas
*) 0 ;
29808 PyObject
* obj0
= 0 ;
29809 PyObject
* obj1
= 0 ;
29810 PyObject
* obj2
= 0 ;
29811 char * kwnames
[] = {
29812 (char *) "self",(char *) "canvas",(char *) "dc", NULL
29815 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PrintPreview_DrawBlankPage",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
29816 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintPreview
, 0 | 0 );
29817 if (!SWIG_IsOK(res1
)) {
29818 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintPreview_DrawBlankPage" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
29820 arg1
= reinterpret_cast< wxPrintPreview
* >(argp1
);
29821 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxPreviewCanvas
, 0 | 0 );
29822 if (!SWIG_IsOK(res2
)) {
29823 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PrintPreview_DrawBlankPage" "', expected argument " "2"" of type '" "wxPreviewCanvas *""'");
29825 arg2
= reinterpret_cast< wxPreviewCanvas
* >(argp2
);
29826 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxDC
, 0 );
29827 if (!SWIG_IsOK(res3
)) {
29828 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "PrintPreview_DrawBlankPage" "', expected argument " "3"" of type '" "wxDC &""'");
29831 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "PrintPreview_DrawBlankPage" "', expected argument " "3"" of type '" "wxDC &""'");
29833 arg3
= reinterpret_cast< wxDC
* >(argp3
);
29835 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29836 result
= (bool)(arg1
)->DrawBlankPage(arg2
,*arg3
);
29837 wxPyEndAllowThreads(__tstate
);
29838 if (PyErr_Occurred()) SWIG_fail
;
29841 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29849 SWIGINTERN PyObject
*_wrap_PrintPreview_RenderPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29850 PyObject
*resultobj
= 0;
29851 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
29858 PyObject
* obj0
= 0 ;
29859 PyObject
* obj1
= 0 ;
29860 char * kwnames
[] = {
29861 (char *) "self",(char *) "pageNum", NULL
29864 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintPreview_RenderPage",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
29865 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintPreview
, 0 | 0 );
29866 if (!SWIG_IsOK(res1
)) {
29867 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintPreview_RenderPage" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
29869 arg1
= reinterpret_cast< wxPrintPreview
* >(argp1
);
29870 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
29871 if (!SWIG_IsOK(ecode2
)) {
29872 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintPreview_RenderPage" "', expected argument " "2"" of type '" "int""'");
29874 arg2
= static_cast< int >(val2
);
29876 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29877 result
= (bool)(arg1
)->RenderPage(arg2
);
29878 wxPyEndAllowThreads(__tstate
);
29879 if (PyErr_Occurred()) SWIG_fail
;
29882 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29890 SWIGINTERN PyObject
*_wrap_PrintPreview_AdjustScrollbars(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29891 PyObject
*resultobj
= 0;
29892 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
29893 wxPreviewCanvas
*arg2
= (wxPreviewCanvas
*) 0 ;
29898 PyObject
* obj0
= 0 ;
29899 PyObject
* obj1
= 0 ;
29900 char * kwnames
[] = {
29901 (char *) "self",(char *) "canvas", NULL
29904 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintPreview_AdjustScrollbars",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
29905 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintPreview
, 0 | 0 );
29906 if (!SWIG_IsOK(res1
)) {
29907 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintPreview_AdjustScrollbars" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
29909 arg1
= reinterpret_cast< wxPrintPreview
* >(argp1
);
29910 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxPreviewCanvas
, 0 | 0 );
29911 if (!SWIG_IsOK(res2
)) {
29912 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PrintPreview_AdjustScrollbars" "', expected argument " "2"" of type '" "wxPreviewCanvas *""'");
29914 arg2
= reinterpret_cast< wxPreviewCanvas
* >(argp2
);
29916 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29917 (arg1
)->AdjustScrollbars(arg2
);
29918 wxPyEndAllowThreads(__tstate
);
29919 if (PyErr_Occurred()) SWIG_fail
;
29921 resultobj
= SWIG_Py_Void();
29928 SWIGINTERN PyObject
*_wrap_PrintPreview_GetPrintDialogData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29929 PyObject
*resultobj
= 0;
29930 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
29931 wxPrintDialogData
*result
= 0 ;
29934 PyObject
*swig_obj
[1] ;
29936 if (!args
) SWIG_fail
;
29937 swig_obj
[0] = args
;
29938 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintPreview
, 0 | 0 );
29939 if (!SWIG_IsOK(res1
)) {
29940 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintPreview_GetPrintDialogData" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
29942 arg1
= reinterpret_cast< wxPrintPreview
* >(argp1
);
29944 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29946 wxPrintDialogData
&_result_ref
= (arg1
)->GetPrintDialogData();
29947 result
= (wxPrintDialogData
*) &_result_ref
;
29949 wxPyEndAllowThreads(__tstate
);
29950 if (PyErr_Occurred()) SWIG_fail
;
29952 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
29959 SWIGINTERN PyObject
*_wrap_PrintPreview_SetZoom(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29960 PyObject
*resultobj
= 0;
29961 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
29967 PyObject
* obj0
= 0 ;
29968 PyObject
* obj1
= 0 ;
29969 char * kwnames
[] = {
29970 (char *) "self",(char *) "percent", NULL
29973 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintPreview_SetZoom",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
29974 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintPreview
, 0 | 0 );
29975 if (!SWIG_IsOK(res1
)) {
29976 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintPreview_SetZoom" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
29978 arg1
= reinterpret_cast< wxPrintPreview
* >(argp1
);
29979 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
29980 if (!SWIG_IsOK(ecode2
)) {
29981 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintPreview_SetZoom" "', expected argument " "2"" of type '" "int""'");
29983 arg2
= static_cast< int >(val2
);
29985 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29986 (arg1
)->SetZoom(arg2
);
29987 wxPyEndAllowThreads(__tstate
);
29988 if (PyErr_Occurred()) SWIG_fail
;
29990 resultobj
= SWIG_Py_Void();
29997 SWIGINTERN PyObject
*_wrap_PrintPreview_GetZoom(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29998 PyObject
*resultobj
= 0;
29999 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
30003 PyObject
*swig_obj
[1] ;
30005 if (!args
) SWIG_fail
;
30006 swig_obj
[0] = args
;
30007 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintPreview
, 0 | 0 );
30008 if (!SWIG_IsOK(res1
)) {
30009 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintPreview_GetZoom" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
30011 arg1
= reinterpret_cast< wxPrintPreview
* >(argp1
);
30013 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30014 result
= (int)(arg1
)->GetZoom();
30015 wxPyEndAllowThreads(__tstate
);
30016 if (PyErr_Occurred()) SWIG_fail
;
30018 resultobj
= SWIG_From_int(static_cast< int >(result
));
30025 SWIGINTERN PyObject
*_wrap_PrintPreview_GetMaxPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30026 PyObject
*resultobj
= 0;
30027 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
30031 PyObject
*swig_obj
[1] ;
30033 if (!args
) SWIG_fail
;
30034 swig_obj
[0] = args
;
30035 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintPreview
, 0 | 0 );
30036 if (!SWIG_IsOK(res1
)) {
30037 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintPreview_GetMaxPage" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
30039 arg1
= reinterpret_cast< wxPrintPreview
* >(argp1
);
30041 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30042 result
= (int)(arg1
)->GetMaxPage();
30043 wxPyEndAllowThreads(__tstate
);
30044 if (PyErr_Occurred()) SWIG_fail
;
30046 resultobj
= SWIG_From_int(static_cast< int >(result
));
30053 SWIGINTERN PyObject
*_wrap_PrintPreview_GetMinPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30054 PyObject
*resultobj
= 0;
30055 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
30059 PyObject
*swig_obj
[1] ;
30061 if (!args
) SWIG_fail
;
30062 swig_obj
[0] = args
;
30063 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintPreview
, 0 | 0 );
30064 if (!SWIG_IsOK(res1
)) {
30065 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintPreview_GetMinPage" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
30067 arg1
= reinterpret_cast< wxPrintPreview
* >(argp1
);
30069 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30070 result
= (int)(arg1
)->GetMinPage();
30071 wxPyEndAllowThreads(__tstate
);
30072 if (PyErr_Occurred()) SWIG_fail
;
30074 resultobj
= SWIG_From_int(static_cast< int >(result
));
30081 SWIGINTERN PyObject
*_wrap_PrintPreview_IsOk(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30082 PyObject
*resultobj
= 0;
30083 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
30087 PyObject
*swig_obj
[1] ;
30089 if (!args
) SWIG_fail
;
30090 swig_obj
[0] = args
;
30091 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintPreview
, 0 | 0 );
30092 if (!SWIG_IsOK(res1
)) {
30093 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintPreview_IsOk" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
30095 arg1
= reinterpret_cast< wxPrintPreview
* >(argp1
);
30097 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30098 result
= (bool)(arg1
)->IsOk();
30099 wxPyEndAllowThreads(__tstate
);
30100 if (PyErr_Occurred()) SWIG_fail
;
30103 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30111 SWIGINTERN PyObject
*_wrap_PrintPreview_SetOk(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30112 PyObject
*resultobj
= 0;
30113 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
30119 PyObject
* obj0
= 0 ;
30120 PyObject
* obj1
= 0 ;
30121 char * kwnames
[] = {
30122 (char *) "self",(char *) "ok", NULL
30125 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintPreview_SetOk",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
30126 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintPreview
, 0 | 0 );
30127 if (!SWIG_IsOK(res1
)) {
30128 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintPreview_SetOk" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
30130 arg1
= reinterpret_cast< wxPrintPreview
* >(argp1
);
30131 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
30132 if (!SWIG_IsOK(ecode2
)) {
30133 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintPreview_SetOk" "', expected argument " "2"" of type '" "bool""'");
30135 arg2
= static_cast< bool >(val2
);
30137 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30138 (arg1
)->SetOk(arg2
);
30139 wxPyEndAllowThreads(__tstate
);
30140 if (PyErr_Occurred()) SWIG_fail
;
30142 resultobj
= SWIG_Py_Void();
30149 SWIGINTERN PyObject
*_wrap_PrintPreview_Print(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30150 PyObject
*resultobj
= 0;
30151 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
30158 PyObject
* obj0
= 0 ;
30159 PyObject
* obj1
= 0 ;
30160 char * kwnames
[] = {
30161 (char *) "self",(char *) "interactive", NULL
30164 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintPreview_Print",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
30165 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintPreview
, 0 | 0 );
30166 if (!SWIG_IsOK(res1
)) {
30167 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintPreview_Print" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
30169 arg1
= reinterpret_cast< wxPrintPreview
* >(argp1
);
30170 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
30171 if (!SWIG_IsOK(ecode2
)) {
30172 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintPreview_Print" "', expected argument " "2"" of type '" "bool""'");
30174 arg2
= static_cast< bool >(val2
);
30176 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30177 result
= (bool)(arg1
)->Print(arg2
);
30178 wxPyEndAllowThreads(__tstate
);
30179 if (PyErr_Occurred()) SWIG_fail
;
30182 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30190 SWIGINTERN PyObject
*_wrap_PrintPreview_DetermineScaling(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30191 PyObject
*resultobj
= 0;
30192 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
30195 PyObject
*swig_obj
[1] ;
30197 if (!args
) SWIG_fail
;
30198 swig_obj
[0] = args
;
30199 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintPreview
, 0 | 0 );
30200 if (!SWIG_IsOK(res1
)) {
30201 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintPreview_DetermineScaling" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
30203 arg1
= reinterpret_cast< wxPrintPreview
* >(argp1
);
30205 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30206 (arg1
)->DetermineScaling();
30207 wxPyEndAllowThreads(__tstate
);
30208 if (PyErr_Occurred()) SWIG_fail
;
30210 resultobj
= SWIG_Py_Void();
30217 SWIGINTERN PyObject
*PrintPreview_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30219 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
30220 SWIG_TypeNewClientData(SWIGTYPE_p_wxPrintPreview
, SWIG_NewClientData(obj
));
30221 return SWIG_Py_Void();
30224 SWIGINTERN PyObject
*PrintPreview_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30225 return SWIG_Python_InitShadowInstance(args
);
30228 SWIGINTERN PyObject
*_wrap_new_PyPrintPreview__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
30229 PyObject
*resultobj
= 0;
30230 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
30231 wxPyPrintout
*arg2
= (wxPyPrintout
*) 0 ;
30232 wxPrintDialogData
*arg3
= (wxPrintDialogData
*) NULL
;
30233 wxPyPrintPreview
*result
= 0 ;
30239 if ((nobjs
< 2) || (nobjs
> 3)) SWIG_fail
;
30240 res1
= SWIG_ConvertPtr(swig_obj
[0], SWIG_as_voidptrptr(&arg1
), SWIGTYPE_p_wxPyPrintout
, SWIG_POINTER_DISOWN
| 0 );
30241 if (!SWIG_IsOK(res1
)) {
30242 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PyPrintPreview" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
30244 res2
= SWIG_ConvertPtr(swig_obj
[1], SWIG_as_voidptrptr(&arg2
), SWIGTYPE_p_wxPyPrintout
, SWIG_POINTER_DISOWN
| 0 );
30245 if (!SWIG_IsOK(res2
)) {
30246 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_PyPrintPreview" "', expected argument " "2"" of type '" "wxPyPrintout *""'");
30249 res3
= SWIG_ConvertPtr(swig_obj
[2], &argp3
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
30250 if (!SWIG_IsOK(res3
)) {
30251 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "new_PyPrintPreview" "', expected argument " "3"" of type '" "wxPrintDialogData *""'");
30253 arg3
= reinterpret_cast< wxPrintDialogData
* >(argp3
);
30256 if (!wxPyCheckForApp()) SWIG_fail
;
30257 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30258 result
= (wxPyPrintPreview
*)new wxPyPrintPreview(arg1
,arg2
,arg3
);
30259 wxPyEndAllowThreads(__tstate
);
30260 if (PyErr_Occurred()) SWIG_fail
;
30262 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyPrintPreview
, SWIG_POINTER_NEW
| 0 );
30269 SWIGINTERN PyObject
*_wrap_new_PyPrintPreview__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
30270 PyObject
*resultobj
= 0;
30271 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
30272 wxPyPrintout
*arg2
= (wxPyPrintout
*) 0 ;
30273 wxPrintData
*arg3
= (wxPrintData
*) 0 ;
30274 wxPyPrintPreview
*result
= 0 ;
30280 if ((nobjs
< 3) || (nobjs
> 3)) SWIG_fail
;
30281 res1
= SWIG_ConvertPtr(swig_obj
[0], SWIG_as_voidptrptr(&arg1
), SWIGTYPE_p_wxPyPrintout
, SWIG_POINTER_DISOWN
| 0 );
30282 if (!SWIG_IsOK(res1
)) {
30283 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PyPrintPreview" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
30285 res2
= SWIG_ConvertPtr(swig_obj
[1], SWIG_as_voidptrptr(&arg2
), SWIGTYPE_p_wxPyPrintout
, SWIG_POINTER_DISOWN
| 0 );
30286 if (!SWIG_IsOK(res2
)) {
30287 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_PyPrintPreview" "', expected argument " "2"" of type '" "wxPyPrintout *""'");
30289 res3
= SWIG_ConvertPtr(swig_obj
[2], &argp3
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
30290 if (!SWIG_IsOK(res3
)) {
30291 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "new_PyPrintPreview" "', expected argument " "3"" of type '" "wxPrintData *""'");
30293 arg3
= reinterpret_cast< wxPrintData
* >(argp3
);
30295 if (!wxPyCheckForApp()) SWIG_fail
;
30296 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30297 result
= (wxPyPrintPreview
*)new wxPyPrintPreview(arg1
,arg2
,arg3
);
30298 wxPyEndAllowThreads(__tstate
);
30299 if (PyErr_Occurred()) SWIG_fail
;
30301 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyPrintPreview
, SWIG_POINTER_NEW
| 0 );
30308 SWIGINTERN PyObject
*_wrap_new_PyPrintPreview(PyObject
*self
, PyObject
*args
) {
30312 if (!(argc
= SWIG_Python_UnpackTuple(args
,"new_PyPrintPreview",0,3,argv
))) SWIG_fail
;
30314 if ((argc
>= 2) && (argc
<= 3)) {
30319 int res
= SWIG_ConvertPtr(argv
[2], &vptr
, SWIGTYPE_p_wxPrintDialogData
, 0);
30320 _v
= SWIG_CheckState(res
);
30322 if (!_v
) goto check_1
;
30324 return _wrap_new_PyPrintPreview__SWIG_0(self
, argc
, argv
);
30329 return _wrap_new_PyPrintPreview__SWIG_1(self
, argc
, argv
);
30333 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'new_PyPrintPreview'");
30338 SWIGINTERN PyObject
*_wrap_PyPrintPreview__setCallbackInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30339 PyObject
*resultobj
= 0;
30340 wxPyPrintPreview
*arg1
= (wxPyPrintPreview
*) 0 ;
30341 PyObject
*arg2
= (PyObject
*) 0 ;
30342 PyObject
*arg3
= (PyObject
*) 0 ;
30345 PyObject
* obj0
= 0 ;
30346 PyObject
* obj1
= 0 ;
30347 PyObject
* obj2
= 0 ;
30348 char * kwnames
[] = {
30349 (char *) "self",(char *) "self",(char *) "_class", NULL
30352 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyPrintPreview__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
30353 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPrintPreview
, 0 | 0 );
30354 if (!SWIG_IsOK(res1
)) {
30355 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyPrintPreview__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyPrintPreview *""'");
30357 arg1
= reinterpret_cast< wxPyPrintPreview
* >(argp1
);
30361 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30362 (arg1
)->_setCallbackInfo(arg2
,arg3
);
30363 wxPyEndAllowThreads(__tstate
);
30364 if (PyErr_Occurred()) SWIG_fail
;
30366 resultobj
= SWIG_Py_Void();
30373 SWIGINTERN PyObject
*PyPrintPreview_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30375 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
30376 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyPrintPreview
, SWIG_NewClientData(obj
));
30377 return SWIG_Py_Void();
30380 SWIGINTERN PyObject
*PyPrintPreview_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30381 return SWIG_Python_InitShadowInstance(args
);
30384 SWIGINTERN PyObject
*_wrap_new_PyPreviewFrame(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30385 PyObject
*resultobj
= 0;
30386 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
30387 wxFrame
*arg2
= (wxFrame
*) 0 ;
30388 wxString
*arg3
= 0 ;
30389 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
30390 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
30391 wxSize
const &arg5_defvalue
= wxDefaultSize
;
30392 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
30393 long arg6
= (long) wxDEFAULT_FRAME_STYLE
;
30394 wxString
const &arg7_defvalue
= wxPyFrameNameStr
;
30395 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
30396 wxPyPreviewFrame
*result
= 0 ;
30401 bool temp3
= false ;
30406 bool temp7
= false ;
30407 PyObject
* obj0
= 0 ;
30408 PyObject
* obj1
= 0 ;
30409 PyObject
* obj2
= 0 ;
30410 PyObject
* obj3
= 0 ;
30411 PyObject
* obj4
= 0 ;
30412 PyObject
* obj5
= 0 ;
30413 PyObject
* obj6
= 0 ;
30414 char * kwnames
[] = {
30415 (char *) "preview",(char *) "parent",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
30418 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:new_PyPreviewFrame",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
30419 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintPreview
, 0 | 0 );
30420 if (!SWIG_IsOK(res1
)) {
30421 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PyPreviewFrame" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
30423 arg1
= reinterpret_cast< wxPrintPreview
* >(argp1
);
30424 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxFrame
, 0 | 0 );
30425 if (!SWIG_IsOK(res2
)) {
30426 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_PyPreviewFrame" "', expected argument " "2"" of type '" "wxFrame *""'");
30428 arg2
= reinterpret_cast< wxFrame
* >(argp2
);
30430 arg3
= wxString_in_helper(obj2
);
30431 if (arg3
== NULL
) SWIG_fail
;
30437 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
30443 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
30447 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
30448 if (!SWIG_IsOK(ecode6
)) {
30449 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_PyPreviewFrame" "', expected argument " "6"" of type '" "long""'");
30451 arg6
= static_cast< long >(val6
);
30455 arg7
= wxString_in_helper(obj6
);
30456 if (arg7
== NULL
) SWIG_fail
;
30461 if (!wxPyCheckForApp()) SWIG_fail
;
30462 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30463 result
= (wxPyPreviewFrame
*)new wxPyPreviewFrame(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
30464 wxPyEndAllowThreads(__tstate
);
30465 if (PyErr_Occurred()) SWIG_fail
;
30467 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyPreviewFrame
, SWIG_POINTER_NEW
| 0 );
30490 SWIGINTERN PyObject
*_wrap_PyPreviewFrame__setCallbackInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30491 PyObject
*resultobj
= 0;
30492 wxPyPreviewFrame
*arg1
= (wxPyPreviewFrame
*) 0 ;
30493 PyObject
*arg2
= (PyObject
*) 0 ;
30494 PyObject
*arg3
= (PyObject
*) 0 ;
30497 PyObject
* obj0
= 0 ;
30498 PyObject
* obj1
= 0 ;
30499 PyObject
* obj2
= 0 ;
30500 char * kwnames
[] = {
30501 (char *) "self",(char *) "self",(char *) "_class", NULL
30504 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyPreviewFrame__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
30505 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPreviewFrame
, 0 | 0 );
30506 if (!SWIG_IsOK(res1
)) {
30507 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyPreviewFrame__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyPreviewFrame *""'");
30509 arg1
= reinterpret_cast< wxPyPreviewFrame
* >(argp1
);
30513 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30514 (arg1
)->_setCallbackInfo(arg2
,arg3
);
30515 wxPyEndAllowThreads(__tstate
);
30516 if (PyErr_Occurred()) SWIG_fail
;
30518 resultobj
= SWIG_Py_Void();
30525 SWIGINTERN PyObject
*_wrap_PyPreviewFrame_SetPreviewCanvas(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30526 PyObject
*resultobj
= 0;
30527 wxPyPreviewFrame
*arg1
= (wxPyPreviewFrame
*) 0 ;
30528 wxPreviewCanvas
*arg2
= (wxPreviewCanvas
*) 0 ;
30533 PyObject
* obj0
= 0 ;
30534 PyObject
* obj1
= 0 ;
30535 char * kwnames
[] = {
30536 (char *) "self",(char *) "canvas", NULL
30539 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyPreviewFrame_SetPreviewCanvas",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
30540 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPreviewFrame
, 0 | 0 );
30541 if (!SWIG_IsOK(res1
)) {
30542 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyPreviewFrame_SetPreviewCanvas" "', expected argument " "1"" of type '" "wxPyPreviewFrame *""'");
30544 arg1
= reinterpret_cast< wxPyPreviewFrame
* >(argp1
);
30545 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxPreviewCanvas
, 0 | 0 );
30546 if (!SWIG_IsOK(res2
)) {
30547 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PyPreviewFrame_SetPreviewCanvas" "', expected argument " "2"" of type '" "wxPreviewCanvas *""'");
30549 arg2
= reinterpret_cast< wxPreviewCanvas
* >(argp2
);
30551 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30552 (arg1
)->SetPreviewCanvas(arg2
);
30553 wxPyEndAllowThreads(__tstate
);
30554 if (PyErr_Occurred()) SWIG_fail
;
30556 resultobj
= SWIG_Py_Void();
30563 SWIGINTERN PyObject
*_wrap_PyPreviewFrame_SetControlBar(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30564 PyObject
*resultobj
= 0;
30565 wxPyPreviewFrame
*arg1
= (wxPyPreviewFrame
*) 0 ;
30566 wxPreviewControlBar
*arg2
= (wxPreviewControlBar
*) 0 ;
30571 PyObject
* obj0
= 0 ;
30572 PyObject
* obj1
= 0 ;
30573 char * kwnames
[] = {
30574 (char *) "self",(char *) "bar", NULL
30577 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyPreviewFrame_SetControlBar",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
30578 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPreviewFrame
, 0 | 0 );
30579 if (!SWIG_IsOK(res1
)) {
30580 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyPreviewFrame_SetControlBar" "', expected argument " "1"" of type '" "wxPyPreviewFrame *""'");
30582 arg1
= reinterpret_cast< wxPyPreviewFrame
* >(argp1
);
30583 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxPreviewControlBar
, 0 | 0 );
30584 if (!SWIG_IsOK(res2
)) {
30585 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PyPreviewFrame_SetControlBar" "', expected argument " "2"" of type '" "wxPreviewControlBar *""'");
30587 arg2
= reinterpret_cast< wxPreviewControlBar
* >(argp2
);
30589 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30590 (arg1
)->SetControlBar(arg2
);
30591 wxPyEndAllowThreads(__tstate
);
30592 if (PyErr_Occurred()) SWIG_fail
;
30594 resultobj
= SWIG_Py_Void();
30601 SWIGINTERN PyObject
*_wrap_PyPreviewFrame_Initialize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30602 PyObject
*resultobj
= 0;
30603 wxPyPreviewFrame
*arg1
= (wxPyPreviewFrame
*) 0 ;
30606 PyObject
*swig_obj
[1] ;
30608 if (!args
) SWIG_fail
;
30609 swig_obj
[0] = args
;
30610 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPreviewFrame
, 0 | 0 );
30611 if (!SWIG_IsOK(res1
)) {
30612 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyPreviewFrame_Initialize" "', expected argument " "1"" of type '" "wxPyPreviewFrame *""'");
30614 arg1
= reinterpret_cast< wxPyPreviewFrame
* >(argp1
);
30616 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30617 (arg1
)->Initialize();
30618 wxPyEndAllowThreads(__tstate
);
30619 if (PyErr_Occurred()) SWIG_fail
;
30621 resultobj
= SWIG_Py_Void();
30628 SWIGINTERN PyObject
*_wrap_PyPreviewFrame_CreateCanvas(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30629 PyObject
*resultobj
= 0;
30630 wxPyPreviewFrame
*arg1
= (wxPyPreviewFrame
*) 0 ;
30633 PyObject
*swig_obj
[1] ;
30635 if (!args
) SWIG_fail
;
30636 swig_obj
[0] = args
;
30637 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPreviewFrame
, 0 | 0 );
30638 if (!SWIG_IsOK(res1
)) {
30639 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyPreviewFrame_CreateCanvas" "', expected argument " "1"" of type '" "wxPyPreviewFrame *""'");
30641 arg1
= reinterpret_cast< wxPyPreviewFrame
* >(argp1
);
30643 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30644 (arg1
)->CreateCanvas();
30645 wxPyEndAllowThreads(__tstate
);
30646 if (PyErr_Occurred()) SWIG_fail
;
30648 resultobj
= SWIG_Py_Void();
30655 SWIGINTERN PyObject
*_wrap_PyPreviewFrame_CreateControlBar(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30656 PyObject
*resultobj
= 0;
30657 wxPyPreviewFrame
*arg1
= (wxPyPreviewFrame
*) 0 ;
30660 PyObject
*swig_obj
[1] ;
30662 if (!args
) SWIG_fail
;
30663 swig_obj
[0] = args
;
30664 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPreviewFrame
, 0 | 0 );
30665 if (!SWIG_IsOK(res1
)) {
30666 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyPreviewFrame_CreateControlBar" "', expected argument " "1"" of type '" "wxPyPreviewFrame *""'");
30668 arg1
= reinterpret_cast< wxPyPreviewFrame
* >(argp1
);
30670 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30671 (arg1
)->CreateControlBar();
30672 wxPyEndAllowThreads(__tstate
);
30673 if (PyErr_Occurred()) SWIG_fail
;
30675 resultobj
= SWIG_Py_Void();
30682 SWIGINTERN PyObject
*PyPreviewFrame_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30684 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
30685 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyPreviewFrame
, SWIG_NewClientData(obj
));
30686 return SWIG_Py_Void();
30689 SWIGINTERN PyObject
*PyPreviewFrame_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30690 return SWIG_Python_InitShadowInstance(args
);
30693 SWIGINTERN PyObject
*_wrap_new_PyPreviewControlBar(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30694 PyObject
*resultobj
= 0;
30695 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
30697 wxWindow
*arg3
= (wxWindow
*) 0 ;
30698 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
30699 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
30700 wxSize
const &arg5_defvalue
= wxDefaultSize
;
30701 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
30702 long arg6
= (long) 0 ;
30703 wxString
const &arg7_defvalue
= wxPyPanelNameStr
;
30704 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
30705 wxPyPreviewControlBar
*result
= 0 ;
30716 bool temp7
= false ;
30717 PyObject
* obj0
= 0 ;
30718 PyObject
* obj1
= 0 ;
30719 PyObject
* obj2
= 0 ;
30720 PyObject
* obj3
= 0 ;
30721 PyObject
* obj4
= 0 ;
30722 PyObject
* obj5
= 0 ;
30723 PyObject
* obj6
= 0 ;
30724 char * kwnames
[] = {
30725 (char *) "preview",(char *) "buttons",(char *) "parent",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
30728 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:new_PyPreviewControlBar",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
30729 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintPreview
, 0 | 0 );
30730 if (!SWIG_IsOK(res1
)) {
30731 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PyPreviewControlBar" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
30733 arg1
= reinterpret_cast< wxPrintPreview
* >(argp1
);
30734 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
30735 if (!SWIG_IsOK(ecode2
)) {
30736 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_PyPreviewControlBar" "', expected argument " "2"" of type '" "long""'");
30738 arg2
= static_cast< long >(val2
);
30739 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxWindow
, 0 | 0 );
30740 if (!SWIG_IsOK(res3
)) {
30741 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "new_PyPreviewControlBar" "', expected argument " "3"" of type '" "wxWindow *""'");
30743 arg3
= reinterpret_cast< wxWindow
* >(argp3
);
30747 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
30753 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
30757 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
30758 if (!SWIG_IsOK(ecode6
)) {
30759 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_PyPreviewControlBar" "', expected argument " "6"" of type '" "long""'");
30761 arg6
= static_cast< long >(val6
);
30765 arg7
= wxString_in_helper(obj6
);
30766 if (arg7
== NULL
) SWIG_fail
;
30771 if (!wxPyCheckForApp()) SWIG_fail
;
30772 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30773 result
= (wxPyPreviewControlBar
*)new wxPyPreviewControlBar(arg1
,arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
30774 wxPyEndAllowThreads(__tstate
);
30775 if (PyErr_Occurred()) SWIG_fail
;
30777 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyPreviewControlBar
, SWIG_POINTER_NEW
| 0 );
30792 SWIGINTERN PyObject
*_wrap_PyPreviewControlBar__setCallbackInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30793 PyObject
*resultobj
= 0;
30794 wxPyPreviewControlBar
*arg1
= (wxPyPreviewControlBar
*) 0 ;
30795 PyObject
*arg2
= (PyObject
*) 0 ;
30796 PyObject
*arg3
= (PyObject
*) 0 ;
30799 PyObject
* obj0
= 0 ;
30800 PyObject
* obj1
= 0 ;
30801 PyObject
* obj2
= 0 ;
30802 char * kwnames
[] = {
30803 (char *) "self",(char *) "self",(char *) "_class", NULL
30806 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyPreviewControlBar__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
30807 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPreviewControlBar
, 0 | 0 );
30808 if (!SWIG_IsOK(res1
)) {
30809 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyPreviewControlBar__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyPreviewControlBar *""'");
30811 arg1
= reinterpret_cast< wxPyPreviewControlBar
* >(argp1
);
30815 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30816 (arg1
)->_setCallbackInfo(arg2
,arg3
);
30817 wxPyEndAllowThreads(__tstate
);
30818 if (PyErr_Occurred()) SWIG_fail
;
30820 resultobj
= SWIG_Py_Void();
30827 SWIGINTERN PyObject
*_wrap_PyPreviewControlBar_SetPrintPreview(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30828 PyObject
*resultobj
= 0;
30829 wxPyPreviewControlBar
*arg1
= (wxPyPreviewControlBar
*) 0 ;
30830 wxPrintPreview
*arg2
= (wxPrintPreview
*) 0 ;
30835 PyObject
* obj0
= 0 ;
30836 PyObject
* obj1
= 0 ;
30837 char * kwnames
[] = {
30838 (char *) "self",(char *) "preview", NULL
30841 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyPreviewControlBar_SetPrintPreview",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
30842 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPreviewControlBar
, 0 | 0 );
30843 if (!SWIG_IsOK(res1
)) {
30844 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyPreviewControlBar_SetPrintPreview" "', expected argument " "1"" of type '" "wxPyPreviewControlBar *""'");
30846 arg1
= reinterpret_cast< wxPyPreviewControlBar
* >(argp1
);
30847 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxPrintPreview
, 0 | 0 );
30848 if (!SWIG_IsOK(res2
)) {
30849 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PyPreviewControlBar_SetPrintPreview" "', expected argument " "2"" of type '" "wxPrintPreview *""'");
30851 arg2
= reinterpret_cast< wxPrintPreview
* >(argp2
);
30853 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30854 (arg1
)->SetPrintPreview(arg2
);
30855 wxPyEndAllowThreads(__tstate
);
30856 if (PyErr_Occurred()) SWIG_fail
;
30858 resultobj
= SWIG_Py_Void();
30865 SWIGINTERN PyObject
*_wrap_PyPreviewControlBar_CreateButtons(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30866 PyObject
*resultobj
= 0;
30867 wxPyPreviewControlBar
*arg1
= (wxPyPreviewControlBar
*) 0 ;
30870 PyObject
*swig_obj
[1] ;
30872 if (!args
) SWIG_fail
;
30873 swig_obj
[0] = args
;
30874 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPreviewControlBar
, 0 | 0 );
30875 if (!SWIG_IsOK(res1
)) {
30876 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyPreviewControlBar_CreateButtons" "', expected argument " "1"" of type '" "wxPyPreviewControlBar *""'");
30878 arg1
= reinterpret_cast< wxPyPreviewControlBar
* >(argp1
);
30880 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30881 (arg1
)->CreateButtons();
30882 wxPyEndAllowThreads(__tstate
);
30883 if (PyErr_Occurred()) SWIG_fail
;
30885 resultobj
= SWIG_Py_Void();
30892 SWIGINTERN PyObject
*_wrap_PyPreviewControlBar_SetZoomControl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30893 PyObject
*resultobj
= 0;
30894 wxPyPreviewControlBar
*arg1
= (wxPyPreviewControlBar
*) 0 ;
30900 PyObject
* obj0
= 0 ;
30901 PyObject
* obj1
= 0 ;
30902 char * kwnames
[] = {
30903 (char *) "self",(char *) "zoom", NULL
30906 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyPreviewControlBar_SetZoomControl",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
30907 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPreviewControlBar
, 0 | 0 );
30908 if (!SWIG_IsOK(res1
)) {
30909 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyPreviewControlBar_SetZoomControl" "', expected argument " "1"" of type '" "wxPyPreviewControlBar *""'");
30911 arg1
= reinterpret_cast< wxPyPreviewControlBar
* >(argp1
);
30912 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
30913 if (!SWIG_IsOK(ecode2
)) {
30914 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PyPreviewControlBar_SetZoomControl" "', expected argument " "2"" of type '" "int""'");
30916 arg2
= static_cast< int >(val2
);
30918 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30919 (arg1
)->SetZoomControl(arg2
);
30920 wxPyEndAllowThreads(__tstate
);
30921 if (PyErr_Occurred()) SWIG_fail
;
30923 resultobj
= SWIG_Py_Void();
30930 SWIGINTERN PyObject
*PyPreviewControlBar_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30932 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
30933 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyPreviewControlBar
, SWIG_NewClientData(obj
));
30934 return SWIG_Py_Void();
30937 SWIGINTERN PyObject
*PyPreviewControlBar_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30938 return SWIG_Python_InitShadowInstance(args
);
30941 static PyMethodDef SwigMethods
[] = {
30942 { (char *)"new_Panel", (PyCFunction
) _wrap_new_Panel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30943 { (char *)"new_PrePanel", (PyCFunction
)_wrap_new_PrePanel
, METH_NOARGS
, NULL
},
30944 { (char *)"Panel_Create", (PyCFunction
) _wrap_Panel_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30945 { (char *)"Panel_SetFocusIgnoringChildren", (PyCFunction
)_wrap_Panel_SetFocusIgnoringChildren
, METH_O
, NULL
},
30946 { (char *)"Panel_GetClassDefaultAttributes", (PyCFunction
) _wrap_Panel_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30947 { (char *)"Panel_swigregister", Panel_swigregister
, METH_VARARGS
, NULL
},
30948 { (char *)"Panel_swiginit", Panel_swiginit
, METH_VARARGS
, NULL
},
30949 { (char *)"new_ScrolledWindow", (PyCFunction
) _wrap_new_ScrolledWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30950 { (char *)"new_PreScrolledWindow", (PyCFunction
)_wrap_new_PreScrolledWindow
, METH_NOARGS
, NULL
},
30951 { (char *)"ScrolledWindow_Create", (PyCFunction
) _wrap_ScrolledWindow_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30952 { (char *)"ScrolledWindow_SetScrollbars", (PyCFunction
) _wrap_ScrolledWindow_SetScrollbars
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30953 { (char *)"ScrolledWindow_Scroll", (PyCFunction
) _wrap_ScrolledWindow_Scroll
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30954 { (char *)"ScrolledWindow_GetScrollPageSize", (PyCFunction
) _wrap_ScrolledWindow_GetScrollPageSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30955 { (char *)"ScrolledWindow_SetScrollPageSize", (PyCFunction
) _wrap_ScrolledWindow_SetScrollPageSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30956 { (char *)"ScrolledWindow_SetScrollRate", (PyCFunction
) _wrap_ScrolledWindow_SetScrollRate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30957 { (char *)"ScrolledWindow_GetScrollPixelsPerUnit", (PyCFunction
)_wrap_ScrolledWindow_GetScrollPixelsPerUnit
, METH_O
, NULL
},
30958 { (char *)"ScrolledWindow_EnableScrolling", (PyCFunction
) _wrap_ScrolledWindow_EnableScrolling
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30959 { (char *)"ScrolledWindow_GetViewStart", (PyCFunction
)_wrap_ScrolledWindow_GetViewStart
, METH_O
, NULL
},
30960 { (char *)"ScrolledWindow_SetScale", (PyCFunction
) _wrap_ScrolledWindow_SetScale
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30961 { (char *)"ScrolledWindow_GetScaleX", (PyCFunction
)_wrap_ScrolledWindow_GetScaleX
, METH_O
, NULL
},
30962 { (char *)"ScrolledWindow_GetScaleY", (PyCFunction
)_wrap_ScrolledWindow_GetScaleY
, METH_O
, NULL
},
30963 { (char *)"ScrolledWindow_CalcScrolledPosition", _wrap_ScrolledWindow_CalcScrolledPosition
, METH_VARARGS
, NULL
},
30964 { (char *)"ScrolledWindow_CalcUnscrolledPosition", _wrap_ScrolledWindow_CalcUnscrolledPosition
, METH_VARARGS
, NULL
},
30965 { (char *)"ScrolledWindow_AdjustScrollbars", (PyCFunction
)_wrap_ScrolledWindow_AdjustScrollbars
, METH_O
, NULL
},
30966 { (char *)"ScrolledWindow_CalcScrollInc", (PyCFunction
) _wrap_ScrolledWindow_CalcScrollInc
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30967 { (char *)"ScrolledWindow_SetTargetWindow", (PyCFunction
) _wrap_ScrolledWindow_SetTargetWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30968 { (char *)"ScrolledWindow_GetTargetWindow", (PyCFunction
)_wrap_ScrolledWindow_GetTargetWindow
, METH_O
, NULL
},
30969 { (char *)"ScrolledWindow_DoPrepareDC", (PyCFunction
) _wrap_ScrolledWindow_DoPrepareDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30970 { (char *)"ScrolledWindow_GetClassDefaultAttributes", (PyCFunction
) _wrap_ScrolledWindow_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30971 { (char *)"ScrolledWindow_swigregister", ScrolledWindow_swigregister
, METH_VARARGS
, NULL
},
30972 { (char *)"ScrolledWindow_swiginit", ScrolledWindow_swiginit
, METH_VARARGS
, NULL
},
30973 { (char *)"TopLevelWindow_Maximize", (PyCFunction
) _wrap_TopLevelWindow_Maximize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30974 { (char *)"TopLevelWindow_Restore", (PyCFunction
)_wrap_TopLevelWindow_Restore
, METH_O
, NULL
},
30975 { (char *)"TopLevelWindow_Iconize", (PyCFunction
) _wrap_TopLevelWindow_Iconize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30976 { (char *)"TopLevelWindow_IsMaximized", (PyCFunction
)_wrap_TopLevelWindow_IsMaximized
, METH_O
, NULL
},
30977 { (char *)"TopLevelWindow_IsAlwaysMaximized", (PyCFunction
)_wrap_TopLevelWindow_IsAlwaysMaximized
, METH_O
, NULL
},
30978 { (char *)"TopLevelWindow_IsIconized", (PyCFunction
)_wrap_TopLevelWindow_IsIconized
, METH_O
, NULL
},
30979 { (char *)"TopLevelWindow_GetIcon", (PyCFunction
)_wrap_TopLevelWindow_GetIcon
, METH_O
, NULL
},
30980 { (char *)"TopLevelWindow_SetIcon", (PyCFunction
) _wrap_TopLevelWindow_SetIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30981 { (char *)"TopLevelWindow_SetIcons", (PyCFunction
) _wrap_TopLevelWindow_SetIcons
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30982 { (char *)"TopLevelWindow_ShowFullScreen", (PyCFunction
) _wrap_TopLevelWindow_ShowFullScreen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30983 { (char *)"TopLevelWindow_IsFullScreen", (PyCFunction
)_wrap_TopLevelWindow_IsFullScreen
, METH_O
, NULL
},
30984 { (char *)"TopLevelWindow_SetTitle", (PyCFunction
) _wrap_TopLevelWindow_SetTitle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30985 { (char *)"TopLevelWindow_GetTitle", (PyCFunction
)_wrap_TopLevelWindow_GetTitle
, METH_O
, NULL
},
30986 { (char *)"TopLevelWindow_SetShape", (PyCFunction
) _wrap_TopLevelWindow_SetShape
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30987 { (char *)"TopLevelWindow_RequestUserAttention", (PyCFunction
) _wrap_TopLevelWindow_RequestUserAttention
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30988 { (char *)"TopLevelWindow_IsActive", (PyCFunction
)_wrap_TopLevelWindow_IsActive
, METH_O
, NULL
},
30989 { (char *)"TopLevelWindow_MacSetMetalAppearance", (PyCFunction
) _wrap_TopLevelWindow_MacSetMetalAppearance
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30990 { (char *)"TopLevelWindow_MacGetMetalAppearance", (PyCFunction
)_wrap_TopLevelWindow_MacGetMetalAppearance
, METH_O
, NULL
},
30991 { (char *)"TopLevelWindow_CenterOnScreen", (PyCFunction
) _wrap_TopLevelWindow_CenterOnScreen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30992 { (char *)"TopLevelWindow_EnableCloseButton", (PyCFunction
) _wrap_TopLevelWindow_EnableCloseButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30993 { (char *)"TopLevelWindow_GetDefaultItem", (PyCFunction
)_wrap_TopLevelWindow_GetDefaultItem
, METH_O
, NULL
},
30994 { (char *)"TopLevelWindow_SetDefaultItem", (PyCFunction
) _wrap_TopLevelWindow_SetDefaultItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30995 { (char *)"TopLevelWindow_SetTmpDefaultItem", (PyCFunction
) _wrap_TopLevelWindow_SetTmpDefaultItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30996 { (char *)"TopLevelWindow_GetTmpDefaultItem", (PyCFunction
)_wrap_TopLevelWindow_GetTmpDefaultItem
, METH_O
, NULL
},
30997 { (char *)"TopLevelWindow_swigregister", TopLevelWindow_swigregister
, METH_VARARGS
, NULL
},
30998 { (char *)"new_Frame", (PyCFunction
) _wrap_new_Frame
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30999 { (char *)"new_PreFrame", (PyCFunction
)_wrap_new_PreFrame
, METH_NOARGS
, NULL
},
31000 { (char *)"Frame_Create", (PyCFunction
) _wrap_Frame_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31001 { (char *)"Frame_SendSizeEvent", (PyCFunction
)_wrap_Frame_SendSizeEvent
, METH_O
, NULL
},
31002 { (char *)"Frame_SetMenuBar", (PyCFunction
) _wrap_Frame_SetMenuBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31003 { (char *)"Frame_GetMenuBar", (PyCFunction
)_wrap_Frame_GetMenuBar
, METH_O
, NULL
},
31004 { (char *)"Frame_ProcessCommand", (PyCFunction
) _wrap_Frame_ProcessCommand
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31005 { (char *)"Frame_CreateStatusBar", (PyCFunction
) _wrap_Frame_CreateStatusBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31006 { (char *)"Frame_GetStatusBar", (PyCFunction
)_wrap_Frame_GetStatusBar
, METH_O
, NULL
},
31007 { (char *)"Frame_SetStatusBar", (PyCFunction
) _wrap_Frame_SetStatusBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31008 { (char *)"Frame_SetStatusText", (PyCFunction
) _wrap_Frame_SetStatusText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31009 { (char *)"Frame_SetStatusWidths", (PyCFunction
) _wrap_Frame_SetStatusWidths
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31010 { (char *)"Frame_PushStatusText", (PyCFunction
) _wrap_Frame_PushStatusText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31011 { (char *)"Frame_PopStatusText", (PyCFunction
) _wrap_Frame_PopStatusText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31012 { (char *)"Frame_SetStatusBarPane", (PyCFunction
) _wrap_Frame_SetStatusBarPane
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31013 { (char *)"Frame_GetStatusBarPane", (PyCFunction
)_wrap_Frame_GetStatusBarPane
, METH_O
, NULL
},
31014 { (char *)"Frame_CreateToolBar", (PyCFunction
) _wrap_Frame_CreateToolBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31015 { (char *)"Frame_GetToolBar", (PyCFunction
)_wrap_Frame_GetToolBar
, METH_O
, NULL
},
31016 { (char *)"Frame_SetToolBar", (PyCFunction
) _wrap_Frame_SetToolBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31017 { (char *)"Frame_DoGiveHelp", (PyCFunction
) _wrap_Frame_DoGiveHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31018 { (char *)"Frame_DoMenuUpdates", (PyCFunction
) _wrap_Frame_DoMenuUpdates
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31019 { (char *)"Frame_GetClassDefaultAttributes", (PyCFunction
) _wrap_Frame_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31020 { (char *)"Frame_swigregister", Frame_swigregister
, METH_VARARGS
, NULL
},
31021 { (char *)"Frame_swiginit", Frame_swiginit
, METH_VARARGS
, NULL
},
31022 { (char *)"new_Dialog", (PyCFunction
) _wrap_new_Dialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31023 { (char *)"new_PreDialog", (PyCFunction
)_wrap_new_PreDialog
, METH_NOARGS
, NULL
},
31024 { (char *)"Dialog_Create", (PyCFunction
) _wrap_Dialog_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31025 { (char *)"Dialog_SetReturnCode", (PyCFunction
) _wrap_Dialog_SetReturnCode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31026 { (char *)"Dialog_GetReturnCode", (PyCFunction
)_wrap_Dialog_GetReturnCode
, METH_O
, NULL
},
31027 { (char *)"Dialog_SetAffirmativeId", (PyCFunction
) _wrap_Dialog_SetAffirmativeId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31028 { (char *)"Dialog_GetAffirmativeId", (PyCFunction
)_wrap_Dialog_GetAffirmativeId
, METH_O
, NULL
},
31029 { (char *)"Dialog_SetEscapeId", (PyCFunction
) _wrap_Dialog_SetEscapeId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31030 { (char *)"Dialog_GetEscapeId", (PyCFunction
)_wrap_Dialog_GetEscapeId
, METH_O
, NULL
},
31031 { (char *)"Dialog_CreateTextSizer", (PyCFunction
) _wrap_Dialog_CreateTextSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31032 { (char *)"Dialog__CreateButtonSizer", (PyCFunction
) _wrap_Dialog__CreateButtonSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31033 { (char *)"Dialog_CreateSeparatedButtonSizer", (PyCFunction
) _wrap_Dialog_CreateSeparatedButtonSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31034 { (char *)"Dialog_CreateStdDialogButtonSizer", (PyCFunction
) _wrap_Dialog_CreateStdDialogButtonSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31035 { (char *)"Dialog_IsModal", (PyCFunction
)_wrap_Dialog_IsModal
, METH_O
, NULL
},
31036 { (char *)"Dialog_ShowModal", (PyCFunction
)_wrap_Dialog_ShowModal
, METH_O
, NULL
},
31037 { (char *)"Dialog_EndModal", (PyCFunction
) _wrap_Dialog_EndModal
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31038 { (char *)"Dialog_GetClassDefaultAttributes", (PyCFunction
) _wrap_Dialog_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31039 { (char *)"Dialog_swigregister", Dialog_swigregister
, METH_VARARGS
, NULL
},
31040 { (char *)"Dialog_swiginit", Dialog_swiginit
, METH_VARARGS
, NULL
},
31041 { (char *)"new_MiniFrame", (PyCFunction
) _wrap_new_MiniFrame
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31042 { (char *)"new_PreMiniFrame", (PyCFunction
)_wrap_new_PreMiniFrame
, METH_NOARGS
, NULL
},
31043 { (char *)"MiniFrame_Create", (PyCFunction
) _wrap_MiniFrame_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31044 { (char *)"MiniFrame_swigregister", MiniFrame_swigregister
, METH_VARARGS
, NULL
},
31045 { (char *)"MiniFrame_swiginit", MiniFrame_swiginit
, METH_VARARGS
, NULL
},
31046 { (char *)"new_SplashScreenWindow", (PyCFunction
) _wrap_new_SplashScreenWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31047 { (char *)"SplashScreenWindow_SetBitmap", (PyCFunction
) _wrap_SplashScreenWindow_SetBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31048 { (char *)"SplashScreenWindow_GetBitmap", (PyCFunction
)_wrap_SplashScreenWindow_GetBitmap
, METH_O
, NULL
},
31049 { (char *)"SplashScreenWindow_swigregister", SplashScreenWindow_swigregister
, METH_VARARGS
, NULL
},
31050 { (char *)"SplashScreenWindow_swiginit", SplashScreenWindow_swiginit
, METH_VARARGS
, NULL
},
31051 { (char *)"new_SplashScreen", (PyCFunction
) _wrap_new_SplashScreen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31052 { (char *)"SplashScreen_GetSplashStyle", (PyCFunction
)_wrap_SplashScreen_GetSplashStyle
, METH_O
, NULL
},
31053 { (char *)"SplashScreen_GetSplashWindow", (PyCFunction
)_wrap_SplashScreen_GetSplashWindow
, METH_O
, NULL
},
31054 { (char *)"SplashScreen_GetTimeout", (PyCFunction
)_wrap_SplashScreen_GetTimeout
, METH_O
, NULL
},
31055 { (char *)"SplashScreen_swigregister", SplashScreen_swigregister
, METH_VARARGS
, NULL
},
31056 { (char *)"SplashScreen_swiginit", SplashScreen_swiginit
, METH_VARARGS
, NULL
},
31057 { (char *)"new_StatusBar", (PyCFunction
) _wrap_new_StatusBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31058 { (char *)"new_PreStatusBar", (PyCFunction
)_wrap_new_PreStatusBar
, METH_NOARGS
, NULL
},
31059 { (char *)"StatusBar_Create", (PyCFunction
) _wrap_StatusBar_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31060 { (char *)"StatusBar_SetFieldsCount", (PyCFunction
) _wrap_StatusBar_SetFieldsCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31061 { (char *)"StatusBar_GetFieldsCount", (PyCFunction
)_wrap_StatusBar_GetFieldsCount
, METH_O
, NULL
},
31062 { (char *)"StatusBar_SetStatusText", (PyCFunction
) _wrap_StatusBar_SetStatusText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31063 { (char *)"StatusBar_GetStatusText", (PyCFunction
) _wrap_StatusBar_GetStatusText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31064 { (char *)"StatusBar_PushStatusText", (PyCFunction
) _wrap_StatusBar_PushStatusText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31065 { (char *)"StatusBar_PopStatusText", (PyCFunction
) _wrap_StatusBar_PopStatusText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31066 { (char *)"StatusBar_SetStatusWidths", (PyCFunction
) _wrap_StatusBar_SetStatusWidths
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31067 { (char *)"StatusBar_SetStatusStyles", (PyCFunction
) _wrap_StatusBar_SetStatusStyles
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31068 { (char *)"StatusBar_GetFieldRect", (PyCFunction
) _wrap_StatusBar_GetFieldRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31069 { (char *)"StatusBar_SetMinHeight", (PyCFunction
) _wrap_StatusBar_SetMinHeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31070 { (char *)"StatusBar_GetBorderX", (PyCFunction
)_wrap_StatusBar_GetBorderX
, METH_O
, NULL
},
31071 { (char *)"StatusBar_GetBorderY", (PyCFunction
)_wrap_StatusBar_GetBorderY
, METH_O
, NULL
},
31072 { (char *)"StatusBar_GetClassDefaultAttributes", (PyCFunction
) _wrap_StatusBar_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31073 { (char *)"StatusBar_swigregister", StatusBar_swigregister
, METH_VARARGS
, NULL
},
31074 { (char *)"StatusBar_swiginit", StatusBar_swiginit
, METH_VARARGS
, NULL
},
31075 { (char *)"new_SplitterWindow", (PyCFunction
) _wrap_new_SplitterWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31076 { (char *)"new_PreSplitterWindow", (PyCFunction
)_wrap_new_PreSplitterWindow
, METH_NOARGS
, NULL
},
31077 { (char *)"SplitterWindow_Create", (PyCFunction
) _wrap_SplitterWindow_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31078 { (char *)"SplitterWindow_GetWindow1", (PyCFunction
)_wrap_SplitterWindow_GetWindow1
, METH_O
, NULL
},
31079 { (char *)"SplitterWindow_GetWindow2", (PyCFunction
)_wrap_SplitterWindow_GetWindow2
, METH_O
, NULL
},
31080 { (char *)"SplitterWindow_SetSplitMode", (PyCFunction
) _wrap_SplitterWindow_SetSplitMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31081 { (char *)"SplitterWindow_GetSplitMode", (PyCFunction
)_wrap_SplitterWindow_GetSplitMode
, METH_O
, NULL
},
31082 { (char *)"SplitterWindow_Initialize", (PyCFunction
) _wrap_SplitterWindow_Initialize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31083 { (char *)"SplitterWindow_SplitVertically", (PyCFunction
) _wrap_SplitterWindow_SplitVertically
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31084 { (char *)"SplitterWindow_SplitHorizontally", (PyCFunction
) _wrap_SplitterWindow_SplitHorizontally
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31085 { (char *)"SplitterWindow_Unsplit", (PyCFunction
) _wrap_SplitterWindow_Unsplit
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31086 { (char *)"SplitterWindow_ReplaceWindow", (PyCFunction
) _wrap_SplitterWindow_ReplaceWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31087 { (char *)"SplitterWindow_UpdateSize", (PyCFunction
)_wrap_SplitterWindow_UpdateSize
, METH_O
, NULL
},
31088 { (char *)"SplitterWindow_IsSplit", (PyCFunction
)_wrap_SplitterWindow_IsSplit
, METH_O
, NULL
},
31089 { (char *)"SplitterWindow_SetSashSize", (PyCFunction
) _wrap_SplitterWindow_SetSashSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31090 { (char *)"SplitterWindow_SetBorderSize", (PyCFunction
) _wrap_SplitterWindow_SetBorderSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31091 { (char *)"SplitterWindow_GetSashSize", (PyCFunction
)_wrap_SplitterWindow_GetSashSize
, METH_O
, NULL
},
31092 { (char *)"SplitterWindow_GetBorderSize", (PyCFunction
)_wrap_SplitterWindow_GetBorderSize
, METH_O
, NULL
},
31093 { (char *)"SplitterWindow_SetSashPosition", (PyCFunction
) _wrap_SplitterWindow_SetSashPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31094 { (char *)"SplitterWindow_GetSashPosition", (PyCFunction
)_wrap_SplitterWindow_GetSashPosition
, METH_O
, NULL
},
31095 { (char *)"SplitterWindow_SetSashGravity", (PyCFunction
) _wrap_SplitterWindow_SetSashGravity
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31096 { (char *)"SplitterWindow_GetSashGravity", (PyCFunction
)_wrap_SplitterWindow_GetSashGravity
, METH_O
, NULL
},
31097 { (char *)"SplitterWindow_SetMinimumPaneSize", (PyCFunction
) _wrap_SplitterWindow_SetMinimumPaneSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31098 { (char *)"SplitterWindow_GetMinimumPaneSize", (PyCFunction
)_wrap_SplitterWindow_GetMinimumPaneSize
, METH_O
, NULL
},
31099 { (char *)"SplitterWindow_SashHitTest", (PyCFunction
) _wrap_SplitterWindow_SashHitTest
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31100 { (char *)"SplitterWindow_SizeWindows", (PyCFunction
)_wrap_SplitterWindow_SizeWindows
, METH_O
, NULL
},
31101 { (char *)"SplitterWindow_SetNeedUpdating", (PyCFunction
) _wrap_SplitterWindow_SetNeedUpdating
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31102 { (char *)"SplitterWindow_GetNeedUpdating", (PyCFunction
)_wrap_SplitterWindow_GetNeedUpdating
, METH_O
, NULL
},
31103 { (char *)"SplitterWindow_GetClassDefaultAttributes", (PyCFunction
) _wrap_SplitterWindow_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31104 { (char *)"SplitterWindow_swigregister", SplitterWindow_swigregister
, METH_VARARGS
, NULL
},
31105 { (char *)"SplitterWindow_swiginit", SplitterWindow_swiginit
, METH_VARARGS
, NULL
},
31106 { (char *)"new_SplitterEvent", (PyCFunction
) _wrap_new_SplitterEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31107 { (char *)"SplitterEvent_SetSashPosition", (PyCFunction
) _wrap_SplitterEvent_SetSashPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31108 { (char *)"SplitterEvent_GetSashPosition", (PyCFunction
)_wrap_SplitterEvent_GetSashPosition
, METH_O
, NULL
},
31109 { (char *)"SplitterEvent_GetWindowBeingRemoved", (PyCFunction
)_wrap_SplitterEvent_GetWindowBeingRemoved
, METH_O
, NULL
},
31110 { (char *)"SplitterEvent_GetX", (PyCFunction
)_wrap_SplitterEvent_GetX
, METH_O
, NULL
},
31111 { (char *)"SplitterEvent_GetY", (PyCFunction
)_wrap_SplitterEvent_GetY
, METH_O
, NULL
},
31112 { (char *)"SplitterEvent_swigregister", SplitterEvent_swigregister
, METH_VARARGS
, NULL
},
31113 { (char *)"SplitterEvent_swiginit", SplitterEvent_swiginit
, METH_VARARGS
, NULL
},
31114 { (char *)"new_SashWindow", (PyCFunction
) _wrap_new_SashWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31115 { (char *)"new_PreSashWindow", (PyCFunction
)_wrap_new_PreSashWindow
, METH_NOARGS
, NULL
},
31116 { (char *)"SashWindow_Create", (PyCFunction
) _wrap_SashWindow_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31117 { (char *)"SashWindow_SetSashVisible", (PyCFunction
) _wrap_SashWindow_SetSashVisible
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31118 { (char *)"SashWindow_GetSashVisible", (PyCFunction
) _wrap_SashWindow_GetSashVisible
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31119 { (char *)"SashWindow_SetSashBorder", (PyCFunction
) _wrap_SashWindow_SetSashBorder
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31120 { (char *)"SashWindow_HasBorder", (PyCFunction
) _wrap_SashWindow_HasBorder
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31121 { (char *)"SashWindow_GetEdgeMargin", (PyCFunction
) _wrap_SashWindow_GetEdgeMargin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31122 { (char *)"SashWindow_SetDefaultBorderSize", (PyCFunction
) _wrap_SashWindow_SetDefaultBorderSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31123 { (char *)"SashWindow_GetDefaultBorderSize", (PyCFunction
)_wrap_SashWindow_GetDefaultBorderSize
, METH_O
, NULL
},
31124 { (char *)"SashWindow_SetExtraBorderSize", (PyCFunction
) _wrap_SashWindow_SetExtraBorderSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31125 { (char *)"SashWindow_GetExtraBorderSize", (PyCFunction
)_wrap_SashWindow_GetExtraBorderSize
, METH_O
, NULL
},
31126 { (char *)"SashWindow_SetMinimumSizeX", (PyCFunction
) _wrap_SashWindow_SetMinimumSizeX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31127 { (char *)"SashWindow_SetMinimumSizeY", (PyCFunction
) _wrap_SashWindow_SetMinimumSizeY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31128 { (char *)"SashWindow_GetMinimumSizeX", (PyCFunction
)_wrap_SashWindow_GetMinimumSizeX
, METH_O
, NULL
},
31129 { (char *)"SashWindow_GetMinimumSizeY", (PyCFunction
)_wrap_SashWindow_GetMinimumSizeY
, METH_O
, NULL
},
31130 { (char *)"SashWindow_SetMaximumSizeX", (PyCFunction
) _wrap_SashWindow_SetMaximumSizeX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31131 { (char *)"SashWindow_SetMaximumSizeY", (PyCFunction
) _wrap_SashWindow_SetMaximumSizeY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31132 { (char *)"SashWindow_GetMaximumSizeX", (PyCFunction
)_wrap_SashWindow_GetMaximumSizeX
, METH_O
, NULL
},
31133 { (char *)"SashWindow_GetMaximumSizeY", (PyCFunction
)_wrap_SashWindow_GetMaximumSizeY
, METH_O
, NULL
},
31134 { (char *)"SashWindow_SashHitTest", (PyCFunction
) _wrap_SashWindow_SashHitTest
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31135 { (char *)"SashWindow_SizeWindows", (PyCFunction
)_wrap_SashWindow_SizeWindows
, METH_O
, NULL
},
31136 { (char *)"SashWindow_swigregister", SashWindow_swigregister
, METH_VARARGS
, NULL
},
31137 { (char *)"SashWindow_swiginit", SashWindow_swiginit
, METH_VARARGS
, NULL
},
31138 { (char *)"new_SashEvent", (PyCFunction
) _wrap_new_SashEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31139 { (char *)"SashEvent_SetEdge", (PyCFunction
) _wrap_SashEvent_SetEdge
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31140 { (char *)"SashEvent_GetEdge", (PyCFunction
)_wrap_SashEvent_GetEdge
, METH_O
, NULL
},
31141 { (char *)"SashEvent_SetDragRect", (PyCFunction
) _wrap_SashEvent_SetDragRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31142 { (char *)"SashEvent_GetDragRect", (PyCFunction
)_wrap_SashEvent_GetDragRect
, METH_O
, NULL
},
31143 { (char *)"SashEvent_SetDragStatus", (PyCFunction
) _wrap_SashEvent_SetDragStatus
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31144 { (char *)"SashEvent_GetDragStatus", (PyCFunction
)_wrap_SashEvent_GetDragStatus
, METH_O
, NULL
},
31145 { (char *)"SashEvent_swigregister", SashEvent_swigregister
, METH_VARARGS
, NULL
},
31146 { (char *)"SashEvent_swiginit", SashEvent_swiginit
, METH_VARARGS
, NULL
},
31147 { (char *)"new_QueryLayoutInfoEvent", (PyCFunction
) _wrap_new_QueryLayoutInfoEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31148 { (char *)"QueryLayoutInfoEvent_SetRequestedLength", (PyCFunction
) _wrap_QueryLayoutInfoEvent_SetRequestedLength
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31149 { (char *)"QueryLayoutInfoEvent_GetRequestedLength", (PyCFunction
)_wrap_QueryLayoutInfoEvent_GetRequestedLength
, METH_O
, NULL
},
31150 { (char *)"QueryLayoutInfoEvent_SetFlags", (PyCFunction
) _wrap_QueryLayoutInfoEvent_SetFlags
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31151 { (char *)"QueryLayoutInfoEvent_GetFlags", (PyCFunction
)_wrap_QueryLayoutInfoEvent_GetFlags
, METH_O
, NULL
},
31152 { (char *)"QueryLayoutInfoEvent_SetSize", (PyCFunction
) _wrap_QueryLayoutInfoEvent_SetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31153 { (char *)"QueryLayoutInfoEvent_GetSize", (PyCFunction
)_wrap_QueryLayoutInfoEvent_GetSize
, METH_O
, NULL
},
31154 { (char *)"QueryLayoutInfoEvent_SetOrientation", (PyCFunction
) _wrap_QueryLayoutInfoEvent_SetOrientation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31155 { (char *)"QueryLayoutInfoEvent_GetOrientation", (PyCFunction
)_wrap_QueryLayoutInfoEvent_GetOrientation
, METH_O
, NULL
},
31156 { (char *)"QueryLayoutInfoEvent_SetAlignment", (PyCFunction
) _wrap_QueryLayoutInfoEvent_SetAlignment
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31157 { (char *)"QueryLayoutInfoEvent_GetAlignment", (PyCFunction
)_wrap_QueryLayoutInfoEvent_GetAlignment
, METH_O
, NULL
},
31158 { (char *)"QueryLayoutInfoEvent_swigregister", QueryLayoutInfoEvent_swigregister
, METH_VARARGS
, NULL
},
31159 { (char *)"QueryLayoutInfoEvent_swiginit", QueryLayoutInfoEvent_swiginit
, METH_VARARGS
, NULL
},
31160 { (char *)"new_CalculateLayoutEvent", (PyCFunction
) _wrap_new_CalculateLayoutEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31161 { (char *)"CalculateLayoutEvent_SetFlags", (PyCFunction
) _wrap_CalculateLayoutEvent_SetFlags
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31162 { (char *)"CalculateLayoutEvent_GetFlags", (PyCFunction
)_wrap_CalculateLayoutEvent_GetFlags
, METH_O
, NULL
},
31163 { (char *)"CalculateLayoutEvent_SetRect", (PyCFunction
) _wrap_CalculateLayoutEvent_SetRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31164 { (char *)"CalculateLayoutEvent_GetRect", (PyCFunction
)_wrap_CalculateLayoutEvent_GetRect
, METH_O
, NULL
},
31165 { (char *)"CalculateLayoutEvent_swigregister", CalculateLayoutEvent_swigregister
, METH_VARARGS
, NULL
},
31166 { (char *)"CalculateLayoutEvent_swiginit", CalculateLayoutEvent_swiginit
, METH_VARARGS
, NULL
},
31167 { (char *)"new_SashLayoutWindow", (PyCFunction
) _wrap_new_SashLayoutWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31168 { (char *)"new_PreSashLayoutWindow", (PyCFunction
)_wrap_new_PreSashLayoutWindow
, METH_NOARGS
, NULL
},
31169 { (char *)"SashLayoutWindow_Create", (PyCFunction
) _wrap_SashLayoutWindow_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31170 { (char *)"SashLayoutWindow_GetAlignment", (PyCFunction
)_wrap_SashLayoutWindow_GetAlignment
, METH_O
, NULL
},
31171 { (char *)"SashLayoutWindow_GetOrientation", (PyCFunction
)_wrap_SashLayoutWindow_GetOrientation
, METH_O
, NULL
},
31172 { (char *)"SashLayoutWindow_SetAlignment", (PyCFunction
) _wrap_SashLayoutWindow_SetAlignment
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31173 { (char *)"SashLayoutWindow_SetDefaultSize", (PyCFunction
) _wrap_SashLayoutWindow_SetDefaultSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31174 { (char *)"SashLayoutWindow_SetOrientation", (PyCFunction
) _wrap_SashLayoutWindow_SetOrientation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31175 { (char *)"SashLayoutWindow_swigregister", SashLayoutWindow_swigregister
, METH_VARARGS
, NULL
},
31176 { (char *)"SashLayoutWindow_swiginit", SashLayoutWindow_swiginit
, METH_VARARGS
, NULL
},
31177 { (char *)"new_LayoutAlgorithm", (PyCFunction
)_wrap_new_LayoutAlgorithm
, METH_NOARGS
, NULL
},
31178 { (char *)"delete_LayoutAlgorithm", (PyCFunction
)_wrap_delete_LayoutAlgorithm
, METH_O
, NULL
},
31179 { (char *)"LayoutAlgorithm_LayoutMDIFrame", (PyCFunction
) _wrap_LayoutAlgorithm_LayoutMDIFrame
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31180 { (char *)"LayoutAlgorithm_LayoutFrame", (PyCFunction
) _wrap_LayoutAlgorithm_LayoutFrame
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31181 { (char *)"LayoutAlgorithm_LayoutWindow", (PyCFunction
) _wrap_LayoutAlgorithm_LayoutWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31182 { (char *)"LayoutAlgorithm_swigregister", LayoutAlgorithm_swigregister
, METH_VARARGS
, NULL
},
31183 { (char *)"LayoutAlgorithm_swiginit", LayoutAlgorithm_swiginit
, METH_VARARGS
, NULL
},
31184 { (char *)"new_PopupWindow", (PyCFunction
) _wrap_new_PopupWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31185 { (char *)"new_PrePopupWindow", (PyCFunction
)_wrap_new_PrePopupWindow
, METH_NOARGS
, NULL
},
31186 { (char *)"PopupWindow_Create", (PyCFunction
) _wrap_PopupWindow_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31187 { (char *)"PopupWindow_Position", (PyCFunction
) _wrap_PopupWindow_Position
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31188 { (char *)"PopupWindow_swigregister", PopupWindow_swigregister
, METH_VARARGS
, NULL
},
31189 { (char *)"PopupWindow_swiginit", PopupWindow_swiginit
, METH_VARARGS
, NULL
},
31190 { (char *)"new_PopupTransientWindow", (PyCFunction
) _wrap_new_PopupTransientWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31191 { (char *)"new_PrePopupTransientWindow", (PyCFunction
)_wrap_new_PrePopupTransientWindow
, METH_NOARGS
, NULL
},
31192 { (char *)"PopupTransientWindow__setCallbackInfo", (PyCFunction
) _wrap_PopupTransientWindow__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31193 { (char *)"PopupTransientWindow_Popup", (PyCFunction
) _wrap_PopupTransientWindow_Popup
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31194 { (char *)"PopupTransientWindow_Dismiss", (PyCFunction
)_wrap_PopupTransientWindow_Dismiss
, METH_O
, NULL
},
31195 { (char *)"PopupTransientWindow_swigregister", PopupTransientWindow_swigregister
, METH_VARARGS
, NULL
},
31196 { (char *)"PopupTransientWindow_swiginit", PopupTransientWindow_swiginit
, METH_VARARGS
, NULL
},
31197 { (char *)"new_TipWindow", (PyCFunction
) _wrap_new_TipWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31198 { (char *)"TipWindow_SetBoundingRect", (PyCFunction
) _wrap_TipWindow_SetBoundingRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31199 { (char *)"TipWindow_Close", (PyCFunction
)_wrap_TipWindow_Close
, METH_O
, NULL
},
31200 { (char *)"TipWindow_swigregister", TipWindow_swigregister
, METH_VARARGS
, NULL
},
31201 { (char *)"TipWindow_swiginit", TipWindow_swiginit
, METH_VARARGS
, NULL
},
31202 { (char *)"new_VScrolledWindow", (PyCFunction
) _wrap_new_VScrolledWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31203 { (char *)"new_PreVScrolledWindow", (PyCFunction
)_wrap_new_PreVScrolledWindow
, METH_NOARGS
, NULL
},
31204 { (char *)"VScrolledWindow__setCallbackInfo", (PyCFunction
) _wrap_VScrolledWindow__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31205 { (char *)"VScrolledWindow_Create", (PyCFunction
) _wrap_VScrolledWindow_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31206 { (char *)"VScrolledWindow_SetLineCount", (PyCFunction
) _wrap_VScrolledWindow_SetLineCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31207 { (char *)"VScrolledWindow_ScrollToLine", (PyCFunction
) _wrap_VScrolledWindow_ScrollToLine
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31208 { (char *)"VScrolledWindow_RefreshLine", (PyCFunction
) _wrap_VScrolledWindow_RefreshLine
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31209 { (char *)"VScrolledWindow_RefreshLines", (PyCFunction
) _wrap_VScrolledWindow_RefreshLines
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31210 { (char *)"VScrolledWindow_HitTestXY", (PyCFunction
) _wrap_VScrolledWindow_HitTestXY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31211 { (char *)"VScrolledWindow_HitTest", (PyCFunction
) _wrap_VScrolledWindow_HitTest
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31212 { (char *)"VScrolledWindow_RefreshAll", (PyCFunction
)_wrap_VScrolledWindow_RefreshAll
, METH_O
, NULL
},
31213 { (char *)"VScrolledWindow_GetLineCount", (PyCFunction
)_wrap_VScrolledWindow_GetLineCount
, METH_O
, NULL
},
31214 { (char *)"VScrolledWindow_GetVisibleBegin", (PyCFunction
)_wrap_VScrolledWindow_GetVisibleBegin
, METH_O
, NULL
},
31215 { (char *)"VScrolledWindow_GetVisibleEnd", (PyCFunction
)_wrap_VScrolledWindow_GetVisibleEnd
, METH_O
, NULL
},
31216 { (char *)"VScrolledWindow_IsVisible", (PyCFunction
) _wrap_VScrolledWindow_IsVisible
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31217 { (char *)"VScrolledWindow_GetFirstVisibleLine", (PyCFunction
)_wrap_VScrolledWindow_GetFirstVisibleLine
, METH_O
, NULL
},
31218 { (char *)"VScrolledWindow_GetLastVisibleLine", (PyCFunction
)_wrap_VScrolledWindow_GetLastVisibleLine
, METH_O
, NULL
},
31219 { (char *)"VScrolledWindow_FindFirstFromBottom", (PyCFunction
) _wrap_VScrolledWindow_FindFirstFromBottom
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31220 { (char *)"VScrolledWindow_GetLinesHeight", (PyCFunction
) _wrap_VScrolledWindow_GetLinesHeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31221 { (char *)"VScrolledWindow_swigregister", VScrolledWindow_swigregister
, METH_VARARGS
, NULL
},
31222 { (char *)"VScrolledWindow_swiginit", VScrolledWindow_swiginit
, METH_VARARGS
, NULL
},
31223 { (char *)"new_VListBox", (PyCFunction
) _wrap_new_VListBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31224 { (char *)"new_PreVListBox", (PyCFunction
)_wrap_new_PreVListBox
, METH_NOARGS
, NULL
},
31225 { (char *)"VListBox__setCallbackInfo", (PyCFunction
) _wrap_VListBox__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31226 { (char *)"VListBox_Create", (PyCFunction
) _wrap_VListBox_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31227 { (char *)"VListBox_GetItemCount", (PyCFunction
)_wrap_VListBox_GetItemCount
, METH_O
, NULL
},
31228 { (char *)"VListBox_HasMultipleSelection", (PyCFunction
)_wrap_VListBox_HasMultipleSelection
, METH_O
, NULL
},
31229 { (char *)"VListBox_GetSelection", (PyCFunction
)_wrap_VListBox_GetSelection
, METH_O
, NULL
},
31230 { (char *)"VListBox_IsCurrent", (PyCFunction
) _wrap_VListBox_IsCurrent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31231 { (char *)"VListBox_IsSelected", (PyCFunction
) _wrap_VListBox_IsSelected
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31232 { (char *)"VListBox_GetSelectedCount", (PyCFunction
)_wrap_VListBox_GetSelectedCount
, METH_O
, NULL
},
31233 { (char *)"VListBox_GetFirstSelected", (PyCFunction
)_wrap_VListBox_GetFirstSelected
, METH_O
, NULL
},
31234 { (char *)"VListBox_GetNextSelected", (PyCFunction
) _wrap_VListBox_GetNextSelected
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31235 { (char *)"VListBox_GetMargins", (PyCFunction
)_wrap_VListBox_GetMargins
, METH_O
, NULL
},
31236 { (char *)"VListBox_GetSelectionBackground", (PyCFunction
)_wrap_VListBox_GetSelectionBackground
, METH_O
, NULL
},
31237 { (char *)"VListBox_SetItemCount", (PyCFunction
) _wrap_VListBox_SetItemCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31238 { (char *)"VListBox_Clear", (PyCFunction
)_wrap_VListBox_Clear
, METH_O
, NULL
},
31239 { (char *)"VListBox_SetSelection", (PyCFunction
) _wrap_VListBox_SetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31240 { (char *)"VListBox_Select", (PyCFunction
) _wrap_VListBox_Select
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31241 { (char *)"VListBox_SelectRange", (PyCFunction
) _wrap_VListBox_SelectRange
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31242 { (char *)"VListBox_Toggle", (PyCFunction
) _wrap_VListBox_Toggle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31243 { (char *)"VListBox_SelectAll", (PyCFunction
)_wrap_VListBox_SelectAll
, METH_O
, NULL
},
31244 { (char *)"VListBox_DeselectAll", (PyCFunction
)_wrap_VListBox_DeselectAll
, METH_O
, NULL
},
31245 { (char *)"VListBox_SetMargins", (PyCFunction
) _wrap_VListBox_SetMargins
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31246 { (char *)"VListBox_SetMarginsXY", (PyCFunction
) _wrap_VListBox_SetMarginsXY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31247 { (char *)"VListBox_SetSelectionBackground", (PyCFunction
) _wrap_VListBox_SetSelectionBackground
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31248 { (char *)"VListBox_OnDrawSeparator", (PyCFunction
) _wrap_VListBox_OnDrawSeparator
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31249 { (char *)"VListBox_OnDrawBackground", (PyCFunction
) _wrap_VListBox_OnDrawBackground
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31250 { (char *)"VListBox_swigregister", VListBox_swigregister
, METH_VARARGS
, NULL
},
31251 { (char *)"VListBox_swiginit", VListBox_swiginit
, METH_VARARGS
, NULL
},
31252 { (char *)"new_HtmlListBox", (PyCFunction
) _wrap_new_HtmlListBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31253 { (char *)"new_PreHtmlListBox", (PyCFunction
)_wrap_new_PreHtmlListBox
, METH_NOARGS
, NULL
},
31254 { (char *)"HtmlListBox__setCallbackInfo", (PyCFunction
) _wrap_HtmlListBox__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31255 { (char *)"HtmlListBox_Create", (PyCFunction
) _wrap_HtmlListBox_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31256 { (char *)"HtmlListBox_SetItemCount", (PyCFunction
) _wrap_HtmlListBox_SetItemCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31257 { (char *)"HtmlListBox_GetFileSystem", (PyCFunction
)_wrap_HtmlListBox_GetFileSystem
, METH_O
, NULL
},
31258 { (char *)"HtmlListBox_OnLinkClicked", (PyCFunction
) _wrap_HtmlListBox_OnLinkClicked
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31259 { (char *)"HtmlListBox_swigregister", HtmlListBox_swigregister
, METH_VARARGS
, NULL
},
31260 { (char *)"HtmlListBox_swiginit", HtmlListBox_swiginit
, METH_VARARGS
, NULL
},
31261 { (char *)"new_TaskBarIcon", (PyCFunction
)_wrap_new_TaskBarIcon
, METH_NOARGS
, NULL
},
31262 { (char *)"delete_TaskBarIcon", (PyCFunction
)_wrap_delete_TaskBarIcon
, METH_O
, NULL
},
31263 { (char *)"TaskBarIcon__setCallbackInfo", (PyCFunction
) _wrap_TaskBarIcon__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31264 { (char *)"TaskBarIcon_Destroy", (PyCFunction
)_wrap_TaskBarIcon_Destroy
, METH_O
, NULL
},
31265 { (char *)"TaskBarIcon_IsOk", (PyCFunction
)_wrap_TaskBarIcon_IsOk
, METH_O
, NULL
},
31266 { (char *)"TaskBarIcon_IsIconInstalled", (PyCFunction
)_wrap_TaskBarIcon_IsIconInstalled
, METH_O
, NULL
},
31267 { (char *)"TaskBarIcon_SetIcon", (PyCFunction
) _wrap_TaskBarIcon_SetIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31268 { (char *)"TaskBarIcon_RemoveIcon", (PyCFunction
)_wrap_TaskBarIcon_RemoveIcon
, METH_O
, NULL
},
31269 { (char *)"TaskBarIcon_PopupMenu", (PyCFunction
) _wrap_TaskBarIcon_PopupMenu
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31270 { (char *)"TaskBarIcon_swigregister", TaskBarIcon_swigregister
, METH_VARARGS
, NULL
},
31271 { (char *)"TaskBarIcon_swiginit", TaskBarIcon_swiginit
, METH_VARARGS
, NULL
},
31272 { (char *)"new_TaskBarIconEvent", (PyCFunction
) _wrap_new_TaskBarIconEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31273 { (char *)"TaskBarIconEvent_swigregister", TaskBarIconEvent_swigregister
, METH_VARARGS
, NULL
},
31274 { (char *)"TaskBarIconEvent_swiginit", TaskBarIconEvent_swiginit
, METH_VARARGS
, NULL
},
31275 { (char *)"new_ColourData", (PyCFunction
)_wrap_new_ColourData
, METH_NOARGS
, NULL
},
31276 { (char *)"delete_ColourData", (PyCFunction
)_wrap_delete_ColourData
, METH_O
, NULL
},
31277 { (char *)"ColourData_GetChooseFull", (PyCFunction
)_wrap_ColourData_GetChooseFull
, METH_O
, NULL
},
31278 { (char *)"ColourData_GetColour", (PyCFunction
)_wrap_ColourData_GetColour
, METH_O
, NULL
},
31279 { (char *)"ColourData_GetCustomColour", (PyCFunction
) _wrap_ColourData_GetCustomColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31280 { (char *)"ColourData_SetChooseFull", (PyCFunction
) _wrap_ColourData_SetChooseFull
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31281 { (char *)"ColourData_SetColour", (PyCFunction
) _wrap_ColourData_SetColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31282 { (char *)"ColourData_SetCustomColour", (PyCFunction
) _wrap_ColourData_SetCustomColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31283 { (char *)"ColourData_swigregister", ColourData_swigregister
, METH_VARARGS
, NULL
},
31284 { (char *)"ColourData_swiginit", ColourData_swiginit
, METH_VARARGS
, NULL
},
31285 { (char *)"new_ColourDialog", (PyCFunction
) _wrap_new_ColourDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31286 { (char *)"ColourDialog_GetColourData", (PyCFunction
)_wrap_ColourDialog_GetColourData
, METH_O
, NULL
},
31287 { (char *)"ColourDialog_swigregister", ColourDialog_swigregister
, METH_VARARGS
, NULL
},
31288 { (char *)"ColourDialog_swiginit", ColourDialog_swiginit
, METH_VARARGS
, NULL
},
31289 { (char *)"GetColourFromUser", (PyCFunction
) _wrap_GetColourFromUser
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31290 { (char *)"new_DirDialog", (PyCFunction
) _wrap_new_DirDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31291 { (char *)"DirDialog_GetPath", (PyCFunction
)_wrap_DirDialog_GetPath
, METH_O
, NULL
},
31292 { (char *)"DirDialog_GetMessage", (PyCFunction
)_wrap_DirDialog_GetMessage
, METH_O
, NULL
},
31293 { (char *)"DirDialog_SetMessage", (PyCFunction
) _wrap_DirDialog_SetMessage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31294 { (char *)"DirDialog_SetPath", (PyCFunction
) _wrap_DirDialog_SetPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31295 { (char *)"DirDialog_swigregister", DirDialog_swigregister
, METH_VARARGS
, NULL
},
31296 { (char *)"DirDialog_swiginit", DirDialog_swiginit
, METH_VARARGS
, NULL
},
31297 { (char *)"new_FileDialog", (PyCFunction
) _wrap_new_FileDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31298 { (char *)"FileDialog_SetMessage", (PyCFunction
) _wrap_FileDialog_SetMessage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31299 { (char *)"FileDialog_SetPath", (PyCFunction
) _wrap_FileDialog_SetPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31300 { (char *)"FileDialog_SetDirectory", (PyCFunction
) _wrap_FileDialog_SetDirectory
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31301 { (char *)"FileDialog_SetFilename", (PyCFunction
) _wrap_FileDialog_SetFilename
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31302 { (char *)"FileDialog_SetWildcard", (PyCFunction
) _wrap_FileDialog_SetWildcard
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31303 { (char *)"FileDialog_SetFilterIndex", (PyCFunction
) _wrap_FileDialog_SetFilterIndex
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31304 { (char *)"FileDialog_GetMessage", (PyCFunction
)_wrap_FileDialog_GetMessage
, METH_O
, NULL
},
31305 { (char *)"FileDialog_GetPath", (PyCFunction
)_wrap_FileDialog_GetPath
, METH_O
, NULL
},
31306 { (char *)"FileDialog_GetDirectory", (PyCFunction
)_wrap_FileDialog_GetDirectory
, METH_O
, NULL
},
31307 { (char *)"FileDialog_GetFilename", (PyCFunction
)_wrap_FileDialog_GetFilename
, METH_O
, NULL
},
31308 { (char *)"FileDialog_GetWildcard", (PyCFunction
)_wrap_FileDialog_GetWildcard
, METH_O
, NULL
},
31309 { (char *)"FileDialog_GetFilterIndex", (PyCFunction
)_wrap_FileDialog_GetFilterIndex
, METH_O
, NULL
},
31310 { (char *)"FileDialog_GetFilenames", (PyCFunction
)_wrap_FileDialog_GetFilenames
, METH_O
, NULL
},
31311 { (char *)"FileDialog_GetPaths", (PyCFunction
)_wrap_FileDialog_GetPaths
, METH_O
, NULL
},
31312 { (char *)"FileDialog_swigregister", FileDialog_swigregister
, METH_VARARGS
, NULL
},
31313 { (char *)"FileDialog_swiginit", FileDialog_swiginit
, METH_VARARGS
, NULL
},
31314 { (char *)"new_MultiChoiceDialog", (PyCFunction
) _wrap_new_MultiChoiceDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31315 { (char *)"MultiChoiceDialog_SetSelections", (PyCFunction
) _wrap_MultiChoiceDialog_SetSelections
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31316 { (char *)"MultiChoiceDialog_GetSelections", (PyCFunction
)_wrap_MultiChoiceDialog_GetSelections
, METH_O
, NULL
},
31317 { (char *)"MultiChoiceDialog_swigregister", MultiChoiceDialog_swigregister
, METH_VARARGS
, NULL
},
31318 { (char *)"MultiChoiceDialog_swiginit", MultiChoiceDialog_swiginit
, METH_VARARGS
, NULL
},
31319 { (char *)"new_SingleChoiceDialog", (PyCFunction
) _wrap_new_SingleChoiceDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31320 { (char *)"SingleChoiceDialog_GetSelection", (PyCFunction
)_wrap_SingleChoiceDialog_GetSelection
, METH_O
, NULL
},
31321 { (char *)"SingleChoiceDialog_GetStringSelection", (PyCFunction
)_wrap_SingleChoiceDialog_GetStringSelection
, METH_O
, NULL
},
31322 { (char *)"SingleChoiceDialog_SetSelection", (PyCFunction
) _wrap_SingleChoiceDialog_SetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31323 { (char *)"SingleChoiceDialog_swigregister", SingleChoiceDialog_swigregister
, METH_VARARGS
, NULL
},
31324 { (char *)"SingleChoiceDialog_swiginit", SingleChoiceDialog_swiginit
, METH_VARARGS
, NULL
},
31325 { (char *)"new_TextEntryDialog", (PyCFunction
) _wrap_new_TextEntryDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31326 { (char *)"TextEntryDialog_GetValue", (PyCFunction
)_wrap_TextEntryDialog_GetValue
, METH_O
, NULL
},
31327 { (char *)"TextEntryDialog_SetValue", (PyCFunction
) _wrap_TextEntryDialog_SetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31328 { (char *)"TextEntryDialog_swigregister", TextEntryDialog_swigregister
, METH_VARARGS
, NULL
},
31329 { (char *)"TextEntryDialog_swiginit", TextEntryDialog_swiginit
, METH_VARARGS
, NULL
},
31330 { (char *)"new_PasswordEntryDialog", (PyCFunction
) _wrap_new_PasswordEntryDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31331 { (char *)"PasswordEntryDialog_swigregister", PasswordEntryDialog_swigregister
, METH_VARARGS
, NULL
},
31332 { (char *)"PasswordEntryDialog_swiginit", PasswordEntryDialog_swiginit
, METH_VARARGS
, NULL
},
31333 { (char *)"new_NumberEntryDialog", (PyCFunction
) _wrap_new_NumberEntryDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31334 { (char *)"NumberEntryDialog_GetValue", (PyCFunction
)_wrap_NumberEntryDialog_GetValue
, METH_O
, NULL
},
31335 { (char *)"NumberEntryDialog_swigregister", NumberEntryDialog_swigregister
, METH_VARARGS
, NULL
},
31336 { (char *)"NumberEntryDialog_swiginit", NumberEntryDialog_swiginit
, METH_VARARGS
, NULL
},
31337 { (char *)"new_FontData", (PyCFunction
)_wrap_new_FontData
, METH_NOARGS
, NULL
},
31338 { (char *)"delete_FontData", (PyCFunction
)_wrap_delete_FontData
, METH_O
, NULL
},
31339 { (char *)"FontData_EnableEffects", (PyCFunction
) _wrap_FontData_EnableEffects
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31340 { (char *)"FontData_GetAllowSymbols", (PyCFunction
)_wrap_FontData_GetAllowSymbols
, METH_O
, NULL
},
31341 { (char *)"FontData_GetColour", (PyCFunction
)_wrap_FontData_GetColour
, METH_O
, NULL
},
31342 { (char *)"FontData_GetChosenFont", (PyCFunction
)_wrap_FontData_GetChosenFont
, METH_O
, NULL
},
31343 { (char *)"FontData_GetEnableEffects", (PyCFunction
)_wrap_FontData_GetEnableEffects
, METH_O
, NULL
},
31344 { (char *)"FontData_GetInitialFont", (PyCFunction
)_wrap_FontData_GetInitialFont
, METH_O
, NULL
},
31345 { (char *)"FontData_GetShowHelp", (PyCFunction
)_wrap_FontData_GetShowHelp
, METH_O
, NULL
},
31346 { (char *)"FontData_SetAllowSymbols", (PyCFunction
) _wrap_FontData_SetAllowSymbols
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31347 { (char *)"FontData_SetChosenFont", (PyCFunction
) _wrap_FontData_SetChosenFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31348 { (char *)"FontData_SetColour", (PyCFunction
) _wrap_FontData_SetColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31349 { (char *)"FontData_SetInitialFont", (PyCFunction
) _wrap_FontData_SetInitialFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31350 { (char *)"FontData_SetRange", (PyCFunction
) _wrap_FontData_SetRange
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31351 { (char *)"FontData_SetShowHelp", (PyCFunction
) _wrap_FontData_SetShowHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31352 { (char *)"FontData_swigregister", FontData_swigregister
, METH_VARARGS
, NULL
},
31353 { (char *)"FontData_swiginit", FontData_swiginit
, METH_VARARGS
, NULL
},
31354 { (char *)"new_FontDialog", (PyCFunction
) _wrap_new_FontDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31355 { (char *)"FontDialog_GetFontData", (PyCFunction
)_wrap_FontDialog_GetFontData
, METH_O
, NULL
},
31356 { (char *)"FontDialog_swigregister", FontDialog_swigregister
, METH_VARARGS
, NULL
},
31357 { (char *)"FontDialog_swiginit", FontDialog_swiginit
, METH_VARARGS
, NULL
},
31358 { (char *)"GetFontFromUser", (PyCFunction
) _wrap_GetFontFromUser
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31359 { (char *)"new_MessageDialog", (PyCFunction
) _wrap_new_MessageDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31360 { (char *)"MessageDialog_swigregister", MessageDialog_swigregister
, METH_VARARGS
, NULL
},
31361 { (char *)"MessageDialog_swiginit", MessageDialog_swiginit
, METH_VARARGS
, NULL
},
31362 { (char *)"new_ProgressDialog", (PyCFunction
) _wrap_new_ProgressDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31363 { (char *)"ProgressDialog_Update", (PyCFunction
) _wrap_ProgressDialog_Update
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31364 { (char *)"ProgressDialog_UpdatePulse", (PyCFunction
) _wrap_ProgressDialog_UpdatePulse
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31365 { (char *)"ProgressDialog_Resume", (PyCFunction
)_wrap_ProgressDialog_Resume
, METH_O
, NULL
},
31366 { (char *)"ProgressDialog_swigregister", ProgressDialog_swigregister
, METH_VARARGS
, NULL
},
31367 { (char *)"ProgressDialog_swiginit", ProgressDialog_swiginit
, METH_VARARGS
, NULL
},
31368 { (char *)"new_FindDialogEvent", (PyCFunction
) _wrap_new_FindDialogEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31369 { (char *)"FindDialogEvent_GetFlags", (PyCFunction
)_wrap_FindDialogEvent_GetFlags
, METH_O
, NULL
},
31370 { (char *)"FindDialogEvent_GetFindString", (PyCFunction
)_wrap_FindDialogEvent_GetFindString
, METH_O
, NULL
},
31371 { (char *)"FindDialogEvent_GetReplaceString", (PyCFunction
)_wrap_FindDialogEvent_GetReplaceString
, METH_O
, NULL
},
31372 { (char *)"FindDialogEvent_GetDialog", (PyCFunction
)_wrap_FindDialogEvent_GetDialog
, METH_O
, NULL
},
31373 { (char *)"FindDialogEvent_SetFlags", (PyCFunction
) _wrap_FindDialogEvent_SetFlags
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31374 { (char *)"FindDialogEvent_SetFindString", (PyCFunction
) _wrap_FindDialogEvent_SetFindString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31375 { (char *)"FindDialogEvent_SetReplaceString", (PyCFunction
) _wrap_FindDialogEvent_SetReplaceString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31376 { (char *)"FindDialogEvent_swigregister", FindDialogEvent_swigregister
, METH_VARARGS
, NULL
},
31377 { (char *)"FindDialogEvent_swiginit", FindDialogEvent_swiginit
, METH_VARARGS
, NULL
},
31378 { (char *)"new_FindReplaceData", (PyCFunction
) _wrap_new_FindReplaceData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31379 { (char *)"delete_FindReplaceData", (PyCFunction
)_wrap_delete_FindReplaceData
, METH_O
, NULL
},
31380 { (char *)"FindReplaceData_GetFindString", (PyCFunction
)_wrap_FindReplaceData_GetFindString
, METH_O
, NULL
},
31381 { (char *)"FindReplaceData_GetReplaceString", (PyCFunction
)_wrap_FindReplaceData_GetReplaceString
, METH_O
, NULL
},
31382 { (char *)"FindReplaceData_GetFlags", (PyCFunction
)_wrap_FindReplaceData_GetFlags
, METH_O
, NULL
},
31383 { (char *)"FindReplaceData_SetFlags", (PyCFunction
) _wrap_FindReplaceData_SetFlags
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31384 { (char *)"FindReplaceData_SetFindString", (PyCFunction
) _wrap_FindReplaceData_SetFindString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31385 { (char *)"FindReplaceData_SetReplaceString", (PyCFunction
) _wrap_FindReplaceData_SetReplaceString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31386 { (char *)"FindReplaceData_swigregister", FindReplaceData_swigregister
, METH_VARARGS
, NULL
},
31387 { (char *)"FindReplaceData_swiginit", FindReplaceData_swiginit
, METH_VARARGS
, NULL
},
31388 { (char *)"new_FindReplaceDialog", (PyCFunction
) _wrap_new_FindReplaceDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31389 { (char *)"new_PreFindReplaceDialog", (PyCFunction
)_wrap_new_PreFindReplaceDialog
, METH_NOARGS
, NULL
},
31390 { (char *)"FindReplaceDialog_Create", (PyCFunction
) _wrap_FindReplaceDialog_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31391 { (char *)"FindReplaceDialog_GetData", (PyCFunction
)_wrap_FindReplaceDialog_GetData
, METH_O
, NULL
},
31392 { (char *)"FindReplaceDialog_SetData", (PyCFunction
) _wrap_FindReplaceDialog_SetData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31393 { (char *)"FindReplaceDialog_swigregister", FindReplaceDialog_swigregister
, METH_VARARGS
, NULL
},
31394 { (char *)"FindReplaceDialog_swiginit", FindReplaceDialog_swiginit
, METH_VARARGS
, NULL
},
31395 { (char *)"new_MDIParentFrame", (PyCFunction
) _wrap_new_MDIParentFrame
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31396 { (char *)"new_PreMDIParentFrame", (PyCFunction
)_wrap_new_PreMDIParentFrame
, METH_NOARGS
, NULL
},
31397 { (char *)"MDIParentFrame_Create", (PyCFunction
) _wrap_MDIParentFrame_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31398 { (char *)"MDIParentFrame_ActivateNext", (PyCFunction
)_wrap_MDIParentFrame_ActivateNext
, METH_O
, NULL
},
31399 { (char *)"MDIParentFrame_ActivatePrevious", (PyCFunction
)_wrap_MDIParentFrame_ActivatePrevious
, METH_O
, NULL
},
31400 { (char *)"MDIParentFrame_ArrangeIcons", (PyCFunction
)_wrap_MDIParentFrame_ArrangeIcons
, METH_O
, NULL
},
31401 { (char *)"MDIParentFrame_Cascade", (PyCFunction
)_wrap_MDIParentFrame_Cascade
, METH_O
, NULL
},
31402 { (char *)"MDIParentFrame_GetActiveChild", (PyCFunction
)_wrap_MDIParentFrame_GetActiveChild
, METH_O
, NULL
},
31403 { (char *)"MDIParentFrame_GetClientWindow", (PyCFunction
)_wrap_MDIParentFrame_GetClientWindow
, METH_O
, NULL
},
31404 { (char *)"MDIParentFrame_Tile", (PyCFunction
) _wrap_MDIParentFrame_Tile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31405 { (char *)"MDIParentFrame_swigregister", MDIParentFrame_swigregister
, METH_VARARGS
, NULL
},
31406 { (char *)"MDIParentFrame_swiginit", MDIParentFrame_swiginit
, METH_VARARGS
, NULL
},
31407 { (char *)"new_MDIChildFrame", (PyCFunction
) _wrap_new_MDIChildFrame
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31408 { (char *)"new_PreMDIChildFrame", (PyCFunction
)_wrap_new_PreMDIChildFrame
, METH_NOARGS
, NULL
},
31409 { (char *)"MDIChildFrame_Create", (PyCFunction
) _wrap_MDIChildFrame_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31410 { (char *)"MDIChildFrame_Activate", (PyCFunction
)_wrap_MDIChildFrame_Activate
, METH_O
, NULL
},
31411 { (char *)"MDIChildFrame_swigregister", MDIChildFrame_swigregister
, METH_VARARGS
, NULL
},
31412 { (char *)"MDIChildFrame_swiginit", MDIChildFrame_swiginit
, METH_VARARGS
, NULL
},
31413 { (char *)"new_MDIClientWindow", (PyCFunction
) _wrap_new_MDIClientWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31414 { (char *)"new_PreMDIClientWindow", (PyCFunction
)_wrap_new_PreMDIClientWindow
, METH_NOARGS
, NULL
},
31415 { (char *)"MDIClientWindow_Create", (PyCFunction
) _wrap_MDIClientWindow_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31416 { (char *)"MDIClientWindow_swigregister", MDIClientWindow_swigregister
, METH_VARARGS
, NULL
},
31417 { (char *)"MDIClientWindow_swiginit", MDIClientWindow_swiginit
, METH_VARARGS
, NULL
},
31418 { (char *)"new_PyWindow", (PyCFunction
) _wrap_new_PyWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31419 { (char *)"new_PrePyWindow", (PyCFunction
)_wrap_new_PrePyWindow
, METH_NOARGS
, NULL
},
31420 { (char *)"PyWindow__setCallbackInfo", (PyCFunction
) _wrap_PyWindow__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31421 { (char *)"PyWindow_SetBestSize", (PyCFunction
) _wrap_PyWindow_SetBestSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31422 { (char *)"PyWindow_DoEraseBackground", (PyCFunction
) _wrap_PyWindow_DoEraseBackground
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31423 { (char *)"PyWindow_DoMoveWindow", (PyCFunction
) _wrap_PyWindow_DoMoveWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31424 { (char *)"PyWindow_DoSetSize", (PyCFunction
) _wrap_PyWindow_DoSetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31425 { (char *)"PyWindow_DoSetClientSize", (PyCFunction
) _wrap_PyWindow_DoSetClientSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31426 { (char *)"PyWindow_DoSetVirtualSize", (PyCFunction
) _wrap_PyWindow_DoSetVirtualSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31427 { (char *)"PyWindow_DoGetSize", (PyCFunction
)_wrap_PyWindow_DoGetSize
, METH_O
, NULL
},
31428 { (char *)"PyWindow_DoGetClientSize", (PyCFunction
)_wrap_PyWindow_DoGetClientSize
, METH_O
, NULL
},
31429 { (char *)"PyWindow_DoGetPosition", (PyCFunction
)_wrap_PyWindow_DoGetPosition
, METH_O
, NULL
},
31430 { (char *)"PyWindow_DoGetVirtualSize", (PyCFunction
)_wrap_PyWindow_DoGetVirtualSize
, METH_O
, NULL
},
31431 { (char *)"PyWindow_DoGetBestSize", (PyCFunction
)_wrap_PyWindow_DoGetBestSize
, METH_O
, NULL
},
31432 { (char *)"PyWindow_GetDefaultAttributes", (PyCFunction
)_wrap_PyWindow_GetDefaultAttributes
, METH_O
, NULL
},
31433 { (char *)"PyWindow_OnInternalIdle", (PyCFunction
)_wrap_PyWindow_OnInternalIdle
, METH_O
, NULL
},
31434 { (char *)"PyWindow_swigregister", PyWindow_swigregister
, METH_VARARGS
, NULL
},
31435 { (char *)"PyWindow_swiginit", PyWindow_swiginit
, METH_VARARGS
, NULL
},
31436 { (char *)"new_PyPanel", (PyCFunction
) _wrap_new_PyPanel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31437 { (char *)"new_PrePyPanel", (PyCFunction
)_wrap_new_PrePyPanel
, METH_NOARGS
, NULL
},
31438 { (char *)"PyPanel__setCallbackInfo", (PyCFunction
) _wrap_PyPanel__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31439 { (char *)"PyPanel_SetBestSize", (PyCFunction
) _wrap_PyPanel_SetBestSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31440 { (char *)"PyPanel_DoEraseBackground", (PyCFunction
) _wrap_PyPanel_DoEraseBackground
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31441 { (char *)"PyPanel_DoMoveWindow", (PyCFunction
) _wrap_PyPanel_DoMoveWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31442 { (char *)"PyPanel_DoSetSize", (PyCFunction
) _wrap_PyPanel_DoSetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31443 { (char *)"PyPanel_DoSetClientSize", (PyCFunction
) _wrap_PyPanel_DoSetClientSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31444 { (char *)"PyPanel_DoSetVirtualSize", (PyCFunction
) _wrap_PyPanel_DoSetVirtualSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31445 { (char *)"PyPanel_DoGetSize", (PyCFunction
)_wrap_PyPanel_DoGetSize
, METH_O
, NULL
},
31446 { (char *)"PyPanel_DoGetClientSize", (PyCFunction
)_wrap_PyPanel_DoGetClientSize
, METH_O
, NULL
},
31447 { (char *)"PyPanel_DoGetPosition", (PyCFunction
)_wrap_PyPanel_DoGetPosition
, METH_O
, NULL
},
31448 { (char *)"PyPanel_DoGetVirtualSize", (PyCFunction
)_wrap_PyPanel_DoGetVirtualSize
, METH_O
, NULL
},
31449 { (char *)"PyPanel_DoGetBestSize", (PyCFunction
)_wrap_PyPanel_DoGetBestSize
, METH_O
, NULL
},
31450 { (char *)"PyPanel_GetDefaultAttributes", (PyCFunction
)_wrap_PyPanel_GetDefaultAttributes
, METH_O
, NULL
},
31451 { (char *)"PyPanel_OnInternalIdle", (PyCFunction
)_wrap_PyPanel_OnInternalIdle
, METH_O
, NULL
},
31452 { (char *)"PyPanel_swigregister", PyPanel_swigregister
, METH_VARARGS
, NULL
},
31453 { (char *)"PyPanel_swiginit", PyPanel_swiginit
, METH_VARARGS
, NULL
},
31454 { (char *)"new_PyScrolledWindow", (PyCFunction
) _wrap_new_PyScrolledWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31455 { (char *)"new_PrePyScrolledWindow", (PyCFunction
)_wrap_new_PrePyScrolledWindow
, METH_NOARGS
, NULL
},
31456 { (char *)"PyScrolledWindow__setCallbackInfo", (PyCFunction
) _wrap_PyScrolledWindow__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31457 { (char *)"PyScrolledWindow_SetBestSize", (PyCFunction
) _wrap_PyScrolledWindow_SetBestSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31458 { (char *)"PyScrolledWindow_DoEraseBackground", (PyCFunction
) _wrap_PyScrolledWindow_DoEraseBackground
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31459 { (char *)"PyScrolledWindow_DoMoveWindow", (PyCFunction
) _wrap_PyScrolledWindow_DoMoveWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31460 { (char *)"PyScrolledWindow_DoSetSize", (PyCFunction
) _wrap_PyScrolledWindow_DoSetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31461 { (char *)"PyScrolledWindow_DoSetClientSize", (PyCFunction
) _wrap_PyScrolledWindow_DoSetClientSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31462 { (char *)"PyScrolledWindow_DoSetVirtualSize", (PyCFunction
) _wrap_PyScrolledWindow_DoSetVirtualSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31463 { (char *)"PyScrolledWindow_DoGetSize", (PyCFunction
)_wrap_PyScrolledWindow_DoGetSize
, METH_O
, NULL
},
31464 { (char *)"PyScrolledWindow_DoGetClientSize", (PyCFunction
)_wrap_PyScrolledWindow_DoGetClientSize
, METH_O
, NULL
},
31465 { (char *)"PyScrolledWindow_DoGetPosition", (PyCFunction
)_wrap_PyScrolledWindow_DoGetPosition
, METH_O
, NULL
},
31466 { (char *)"PyScrolledWindow_DoGetVirtualSize", (PyCFunction
)_wrap_PyScrolledWindow_DoGetVirtualSize
, METH_O
, NULL
},
31467 { (char *)"PyScrolledWindow_DoGetBestSize", (PyCFunction
)_wrap_PyScrolledWindow_DoGetBestSize
, METH_O
, NULL
},
31468 { (char *)"PyScrolledWindow_GetDefaultAttributes", (PyCFunction
)_wrap_PyScrolledWindow_GetDefaultAttributes
, METH_O
, NULL
},
31469 { (char *)"PyScrolledWindow_OnInternalIdle", (PyCFunction
)_wrap_PyScrolledWindow_OnInternalIdle
, METH_O
, NULL
},
31470 { (char *)"PyScrolledWindow_swigregister", PyScrolledWindow_swigregister
, METH_VARARGS
, NULL
},
31471 { (char *)"PyScrolledWindow_swiginit", PyScrolledWindow_swiginit
, METH_VARARGS
, NULL
},
31472 { (char *)"new_PrintData", _wrap_new_PrintData
, METH_VARARGS
, NULL
},
31473 { (char *)"delete_PrintData", (PyCFunction
)_wrap_delete_PrintData
, METH_O
, NULL
},
31474 { (char *)"PrintData_GetNoCopies", (PyCFunction
)_wrap_PrintData_GetNoCopies
, METH_O
, NULL
},
31475 { (char *)"PrintData_GetCollate", (PyCFunction
)_wrap_PrintData_GetCollate
, METH_O
, NULL
},
31476 { (char *)"PrintData_GetOrientation", (PyCFunction
)_wrap_PrintData_GetOrientation
, METH_O
, NULL
},
31477 { (char *)"PrintData_IsOk", (PyCFunction
)_wrap_PrintData_IsOk
, METH_O
, NULL
},
31478 { (char *)"PrintData_GetPrinterName", (PyCFunction
)_wrap_PrintData_GetPrinterName
, METH_O
, NULL
},
31479 { (char *)"PrintData_GetColour", (PyCFunction
)_wrap_PrintData_GetColour
, METH_O
, NULL
},
31480 { (char *)"PrintData_GetDuplex", (PyCFunction
)_wrap_PrintData_GetDuplex
, METH_O
, NULL
},
31481 { (char *)"PrintData_GetPaperId", (PyCFunction
)_wrap_PrintData_GetPaperId
, METH_O
, NULL
},
31482 { (char *)"PrintData_GetPaperSize", (PyCFunction
)_wrap_PrintData_GetPaperSize
, METH_O
, NULL
},
31483 { (char *)"PrintData_GetQuality", (PyCFunction
)_wrap_PrintData_GetQuality
, METH_O
, NULL
},
31484 { (char *)"PrintData_GetBin", (PyCFunction
)_wrap_PrintData_GetBin
, METH_O
, NULL
},
31485 { (char *)"PrintData_GetPrintMode", (PyCFunction
)_wrap_PrintData_GetPrintMode
, METH_O
, NULL
},
31486 { (char *)"PrintData_SetNoCopies", (PyCFunction
) _wrap_PrintData_SetNoCopies
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31487 { (char *)"PrintData_SetCollate", (PyCFunction
) _wrap_PrintData_SetCollate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31488 { (char *)"PrintData_SetOrientation", (PyCFunction
) _wrap_PrintData_SetOrientation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31489 { (char *)"PrintData_SetPrinterName", (PyCFunction
) _wrap_PrintData_SetPrinterName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31490 { (char *)"PrintData_SetColour", (PyCFunction
) _wrap_PrintData_SetColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31491 { (char *)"PrintData_SetDuplex", (PyCFunction
) _wrap_PrintData_SetDuplex
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31492 { (char *)"PrintData_SetPaperId", (PyCFunction
) _wrap_PrintData_SetPaperId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31493 { (char *)"PrintData_SetPaperSize", (PyCFunction
) _wrap_PrintData_SetPaperSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31494 { (char *)"PrintData_SetQuality", (PyCFunction
) _wrap_PrintData_SetQuality
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31495 { (char *)"PrintData_SetBin", (PyCFunction
) _wrap_PrintData_SetBin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31496 { (char *)"PrintData_SetPrintMode", (PyCFunction
) _wrap_PrintData_SetPrintMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31497 { (char *)"PrintData_GetFilename", (PyCFunction
)_wrap_PrintData_GetFilename
, METH_O
, NULL
},
31498 { (char *)"PrintData_SetFilename", (PyCFunction
) _wrap_PrintData_SetFilename
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31499 { (char *)"PrintData_GetPrivData", (PyCFunction
)_wrap_PrintData_GetPrivData
, METH_O
, NULL
},
31500 { (char *)"PrintData_SetPrivData", (PyCFunction
) _wrap_PrintData_SetPrivData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31501 { (char *)"PrintData_swigregister", PrintData_swigregister
, METH_VARARGS
, NULL
},
31502 { (char *)"PrintData_swiginit", PrintData_swiginit
, METH_VARARGS
, NULL
},
31503 { (char *)"new_PageSetupDialogData", _wrap_new_PageSetupDialogData
, METH_VARARGS
, NULL
},
31504 { (char *)"delete_PageSetupDialogData", (PyCFunction
)_wrap_delete_PageSetupDialogData
, METH_O
, NULL
},
31505 { (char *)"PageSetupDialogData_EnableHelp", (PyCFunction
) _wrap_PageSetupDialogData_EnableHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31506 { (char *)"PageSetupDialogData_EnableMargins", (PyCFunction
) _wrap_PageSetupDialogData_EnableMargins
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31507 { (char *)"PageSetupDialogData_EnableOrientation", (PyCFunction
) _wrap_PageSetupDialogData_EnableOrientation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31508 { (char *)"PageSetupDialogData_EnablePaper", (PyCFunction
) _wrap_PageSetupDialogData_EnablePaper
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31509 { (char *)"PageSetupDialogData_EnablePrinter", (PyCFunction
) _wrap_PageSetupDialogData_EnablePrinter
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31510 { (char *)"PageSetupDialogData_GetDefaultMinMargins", (PyCFunction
)_wrap_PageSetupDialogData_GetDefaultMinMargins
, METH_O
, NULL
},
31511 { (char *)"PageSetupDialogData_GetEnableMargins", (PyCFunction
)_wrap_PageSetupDialogData_GetEnableMargins
, METH_O
, NULL
},
31512 { (char *)"PageSetupDialogData_GetEnableOrientation", (PyCFunction
)_wrap_PageSetupDialogData_GetEnableOrientation
, METH_O
, NULL
},
31513 { (char *)"PageSetupDialogData_GetEnablePaper", (PyCFunction
)_wrap_PageSetupDialogData_GetEnablePaper
, METH_O
, NULL
},
31514 { (char *)"PageSetupDialogData_GetEnablePrinter", (PyCFunction
)_wrap_PageSetupDialogData_GetEnablePrinter
, METH_O
, NULL
},
31515 { (char *)"PageSetupDialogData_GetEnableHelp", (PyCFunction
)_wrap_PageSetupDialogData_GetEnableHelp
, METH_O
, NULL
},
31516 { (char *)"PageSetupDialogData_GetDefaultInfo", (PyCFunction
)_wrap_PageSetupDialogData_GetDefaultInfo
, METH_O
, NULL
},
31517 { (char *)"PageSetupDialogData_GetMarginTopLeft", (PyCFunction
)_wrap_PageSetupDialogData_GetMarginTopLeft
, METH_O
, NULL
},
31518 { (char *)"PageSetupDialogData_GetMarginBottomRight", (PyCFunction
)_wrap_PageSetupDialogData_GetMarginBottomRight
, METH_O
, NULL
},
31519 { (char *)"PageSetupDialogData_GetMinMarginTopLeft", (PyCFunction
)_wrap_PageSetupDialogData_GetMinMarginTopLeft
, METH_O
, NULL
},
31520 { (char *)"PageSetupDialogData_GetMinMarginBottomRight", (PyCFunction
)_wrap_PageSetupDialogData_GetMinMarginBottomRight
, METH_O
, NULL
},
31521 { (char *)"PageSetupDialogData_GetPaperId", (PyCFunction
)_wrap_PageSetupDialogData_GetPaperId
, METH_O
, NULL
},
31522 { (char *)"PageSetupDialogData_GetPaperSize", (PyCFunction
)_wrap_PageSetupDialogData_GetPaperSize
, METH_O
, NULL
},
31523 { (char *)"PageSetupDialogData_GetPrintData", (PyCFunction
)_wrap_PageSetupDialogData_GetPrintData
, METH_O
, NULL
},
31524 { (char *)"PageSetupDialogData_IsOk", (PyCFunction
)_wrap_PageSetupDialogData_IsOk
, METH_O
, NULL
},
31525 { (char *)"PageSetupDialogData_SetDefaultInfo", (PyCFunction
) _wrap_PageSetupDialogData_SetDefaultInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31526 { (char *)"PageSetupDialogData_SetDefaultMinMargins", (PyCFunction
) _wrap_PageSetupDialogData_SetDefaultMinMargins
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31527 { (char *)"PageSetupDialogData_SetMarginTopLeft", (PyCFunction
) _wrap_PageSetupDialogData_SetMarginTopLeft
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31528 { (char *)"PageSetupDialogData_SetMarginBottomRight", (PyCFunction
) _wrap_PageSetupDialogData_SetMarginBottomRight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31529 { (char *)"PageSetupDialogData_SetMinMarginTopLeft", (PyCFunction
) _wrap_PageSetupDialogData_SetMinMarginTopLeft
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31530 { (char *)"PageSetupDialogData_SetMinMarginBottomRight", (PyCFunction
) _wrap_PageSetupDialogData_SetMinMarginBottomRight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31531 { (char *)"PageSetupDialogData_SetPaperId", (PyCFunction
) _wrap_PageSetupDialogData_SetPaperId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31532 { (char *)"PageSetupDialogData_SetPaperSize", (PyCFunction
) _wrap_PageSetupDialogData_SetPaperSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31533 { (char *)"PageSetupDialogData_SetPrintData", (PyCFunction
) _wrap_PageSetupDialogData_SetPrintData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31534 { (char *)"PageSetupDialogData_CalculateIdFromPaperSize", (PyCFunction
)_wrap_PageSetupDialogData_CalculateIdFromPaperSize
, METH_O
, NULL
},
31535 { (char *)"PageSetupDialogData_CalculatePaperSizeFromId", (PyCFunction
)_wrap_PageSetupDialogData_CalculatePaperSizeFromId
, METH_O
, NULL
},
31536 { (char *)"PageSetupDialogData_swigregister", PageSetupDialogData_swigregister
, METH_VARARGS
, NULL
},
31537 { (char *)"PageSetupDialogData_swiginit", PageSetupDialogData_swiginit
, METH_VARARGS
, NULL
},
31538 { (char *)"new_PageSetupDialog", (PyCFunction
) _wrap_new_PageSetupDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31539 { (char *)"delete_PageSetupDialog", (PyCFunction
)_wrap_delete_PageSetupDialog
, METH_O
, NULL
},
31540 { (char *)"PageSetupDialog_GetPageSetupData", (PyCFunction
)_wrap_PageSetupDialog_GetPageSetupData
, METH_O
, NULL
},
31541 { (char *)"PageSetupDialog_GetPageSetupDialogData", (PyCFunction
)_wrap_PageSetupDialog_GetPageSetupDialogData
, METH_O
, NULL
},
31542 { (char *)"PageSetupDialog_ShowModal", (PyCFunction
)_wrap_PageSetupDialog_ShowModal
, METH_O
, NULL
},
31543 { (char *)"PageSetupDialog_swigregister", PageSetupDialog_swigregister
, METH_VARARGS
, NULL
},
31544 { (char *)"PageSetupDialog_swiginit", PageSetupDialog_swiginit
, METH_VARARGS
, NULL
},
31545 { (char *)"new_PrintDialogData", _wrap_new_PrintDialogData
, METH_VARARGS
, NULL
},
31546 { (char *)"delete_PrintDialogData", (PyCFunction
)_wrap_delete_PrintDialogData
, METH_O
, NULL
},
31547 { (char *)"PrintDialogData_GetFromPage", (PyCFunction
)_wrap_PrintDialogData_GetFromPage
, METH_O
, NULL
},
31548 { (char *)"PrintDialogData_GetToPage", (PyCFunction
)_wrap_PrintDialogData_GetToPage
, METH_O
, NULL
},
31549 { (char *)"PrintDialogData_GetMinPage", (PyCFunction
)_wrap_PrintDialogData_GetMinPage
, METH_O
, NULL
},
31550 { (char *)"PrintDialogData_GetMaxPage", (PyCFunction
)_wrap_PrintDialogData_GetMaxPage
, METH_O
, NULL
},
31551 { (char *)"PrintDialogData_GetNoCopies", (PyCFunction
)_wrap_PrintDialogData_GetNoCopies
, METH_O
, NULL
},
31552 { (char *)"PrintDialogData_GetAllPages", (PyCFunction
)_wrap_PrintDialogData_GetAllPages
, METH_O
, NULL
},
31553 { (char *)"PrintDialogData_GetSelection", (PyCFunction
)_wrap_PrintDialogData_GetSelection
, METH_O
, NULL
},
31554 { (char *)"PrintDialogData_GetCollate", (PyCFunction
)_wrap_PrintDialogData_GetCollate
, METH_O
, NULL
},
31555 { (char *)"PrintDialogData_GetPrintToFile", (PyCFunction
)_wrap_PrintDialogData_GetPrintToFile
, METH_O
, NULL
},
31556 { (char *)"PrintDialogData_SetFromPage", (PyCFunction
) _wrap_PrintDialogData_SetFromPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31557 { (char *)"PrintDialogData_SetToPage", (PyCFunction
) _wrap_PrintDialogData_SetToPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31558 { (char *)"PrintDialogData_SetMinPage", (PyCFunction
) _wrap_PrintDialogData_SetMinPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31559 { (char *)"PrintDialogData_SetMaxPage", (PyCFunction
) _wrap_PrintDialogData_SetMaxPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31560 { (char *)"PrintDialogData_SetNoCopies", (PyCFunction
) _wrap_PrintDialogData_SetNoCopies
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31561 { (char *)"PrintDialogData_SetAllPages", (PyCFunction
) _wrap_PrintDialogData_SetAllPages
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31562 { (char *)"PrintDialogData_SetSelection", (PyCFunction
) _wrap_PrintDialogData_SetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31563 { (char *)"PrintDialogData_SetCollate", (PyCFunction
) _wrap_PrintDialogData_SetCollate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31564 { (char *)"PrintDialogData_SetPrintToFile", (PyCFunction
) _wrap_PrintDialogData_SetPrintToFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31565 { (char *)"PrintDialogData_EnablePrintToFile", (PyCFunction
) _wrap_PrintDialogData_EnablePrintToFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31566 { (char *)"PrintDialogData_EnableSelection", (PyCFunction
) _wrap_PrintDialogData_EnableSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31567 { (char *)"PrintDialogData_EnablePageNumbers", (PyCFunction
) _wrap_PrintDialogData_EnablePageNumbers
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31568 { (char *)"PrintDialogData_EnableHelp", (PyCFunction
) _wrap_PrintDialogData_EnableHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31569 { (char *)"PrintDialogData_GetEnablePrintToFile", (PyCFunction
)_wrap_PrintDialogData_GetEnablePrintToFile
, METH_O
, NULL
},
31570 { (char *)"PrintDialogData_GetEnableSelection", (PyCFunction
)_wrap_PrintDialogData_GetEnableSelection
, METH_O
, NULL
},
31571 { (char *)"PrintDialogData_GetEnablePageNumbers", (PyCFunction
)_wrap_PrintDialogData_GetEnablePageNumbers
, METH_O
, NULL
},
31572 { (char *)"PrintDialogData_GetEnableHelp", (PyCFunction
)_wrap_PrintDialogData_GetEnableHelp
, METH_O
, NULL
},
31573 { (char *)"PrintDialogData_IsOk", (PyCFunction
)_wrap_PrintDialogData_IsOk
, METH_O
, NULL
},
31574 { (char *)"PrintDialogData_GetPrintData", (PyCFunction
)_wrap_PrintDialogData_GetPrintData
, METH_O
, NULL
},
31575 { (char *)"PrintDialogData_SetPrintData", (PyCFunction
) _wrap_PrintDialogData_SetPrintData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31576 { (char *)"PrintDialogData_swigregister", PrintDialogData_swigregister
, METH_VARARGS
, NULL
},
31577 { (char *)"PrintDialogData_swiginit", PrintDialogData_swiginit
, METH_VARARGS
, NULL
},
31578 { (char *)"new_PrintDialog", (PyCFunction
) _wrap_new_PrintDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31579 { (char *)"delete_PrintDialog", (PyCFunction
)_wrap_delete_PrintDialog
, METH_O
, NULL
},
31580 { (char *)"PrintDialog_ShowModal", (PyCFunction
)_wrap_PrintDialog_ShowModal
, METH_O
, NULL
},
31581 { (char *)"PrintDialog_GetPrintDialogData", (PyCFunction
)_wrap_PrintDialog_GetPrintDialogData
, METH_O
, NULL
},
31582 { (char *)"PrintDialog_GetPrintData", (PyCFunction
)_wrap_PrintDialog_GetPrintData
, METH_O
, NULL
},
31583 { (char *)"PrintDialog_GetPrintDC", (PyCFunction
)_wrap_PrintDialog_GetPrintDC
, METH_O
, NULL
},
31584 { (char *)"PrintDialog_swigregister", PrintDialog_swigregister
, METH_VARARGS
, NULL
},
31585 { (char *)"PrintDialog_swiginit", PrintDialog_swiginit
, METH_VARARGS
, NULL
},
31586 { (char *)"new_Printer", (PyCFunction
) _wrap_new_Printer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31587 { (char *)"delete_Printer", (PyCFunction
)_wrap_delete_Printer
, METH_O
, NULL
},
31588 { (char *)"Printer_CreateAbortWindow", (PyCFunction
) _wrap_Printer_CreateAbortWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31589 { (char *)"Printer_ReportError", (PyCFunction
) _wrap_Printer_ReportError
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31590 { (char *)"Printer_Setup", (PyCFunction
) _wrap_Printer_Setup
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31591 { (char *)"Printer_Print", (PyCFunction
) _wrap_Printer_Print
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31592 { (char *)"Printer_PrintDialog", (PyCFunction
) _wrap_Printer_PrintDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31593 { (char *)"Printer_GetPrintDialogData", (PyCFunction
)_wrap_Printer_GetPrintDialogData
, METH_O
, NULL
},
31594 { (char *)"Printer_GetAbort", (PyCFunction
)_wrap_Printer_GetAbort
, METH_O
, NULL
},
31595 { (char *)"Printer_GetLastError", (PyCFunction
)_wrap_Printer_GetLastError
, METH_NOARGS
, NULL
},
31596 { (char *)"Printer_swigregister", Printer_swigregister
, METH_VARARGS
, NULL
},
31597 { (char *)"Printer_swiginit", Printer_swiginit
, METH_VARARGS
, NULL
},
31598 { (char *)"new_Printout", (PyCFunction
) _wrap_new_Printout
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31599 { (char *)"delete_Printout", (PyCFunction
)_wrap_delete_Printout
, METH_O
, NULL
},
31600 { (char *)"Printout__setCallbackInfo", (PyCFunction
) _wrap_Printout__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31601 { (char *)"Printout_GetTitle", (PyCFunction
)_wrap_Printout_GetTitle
, METH_O
, NULL
},
31602 { (char *)"Printout_GetDC", (PyCFunction
)_wrap_Printout_GetDC
, METH_O
, NULL
},
31603 { (char *)"Printout_SetDC", (PyCFunction
) _wrap_Printout_SetDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31604 { (char *)"Printout_SetPageSizePixels", (PyCFunction
) _wrap_Printout_SetPageSizePixels
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31605 { (char *)"Printout_GetPageSizePixels", (PyCFunction
)_wrap_Printout_GetPageSizePixels
, METH_O
, NULL
},
31606 { (char *)"Printout_SetPageSizeMM", (PyCFunction
) _wrap_Printout_SetPageSizeMM
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31607 { (char *)"Printout_GetPageSizeMM", (PyCFunction
)_wrap_Printout_GetPageSizeMM
, METH_O
, NULL
},
31608 { (char *)"Printout_SetPPIScreen", (PyCFunction
) _wrap_Printout_SetPPIScreen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31609 { (char *)"Printout_GetPPIScreen", (PyCFunction
)_wrap_Printout_GetPPIScreen
, METH_O
, NULL
},
31610 { (char *)"Printout_SetPPIPrinter", (PyCFunction
) _wrap_Printout_SetPPIPrinter
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31611 { (char *)"Printout_GetPPIPrinter", (PyCFunction
)_wrap_Printout_GetPPIPrinter
, METH_O
, NULL
},
31612 { (char *)"Printout_IsPreview", (PyCFunction
)_wrap_Printout_IsPreview
, METH_O
, NULL
},
31613 { (char *)"Printout_SetIsPreview", (PyCFunction
) _wrap_Printout_SetIsPreview
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31614 { (char *)"Printout_OnBeginDocument", (PyCFunction
) _wrap_Printout_OnBeginDocument
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31615 { (char *)"Printout_OnEndDocument", (PyCFunction
)_wrap_Printout_OnEndDocument
, METH_O
, NULL
},
31616 { (char *)"Printout_OnBeginPrinting", (PyCFunction
)_wrap_Printout_OnBeginPrinting
, METH_O
, NULL
},
31617 { (char *)"Printout_OnEndPrinting", (PyCFunction
)_wrap_Printout_OnEndPrinting
, METH_O
, NULL
},
31618 { (char *)"Printout_OnPreparePrinting", (PyCFunction
)_wrap_Printout_OnPreparePrinting
, METH_O
, NULL
},
31619 { (char *)"Printout_HasPage", (PyCFunction
) _wrap_Printout_HasPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31620 { (char *)"Printout_GetPageInfo", (PyCFunction
)_wrap_Printout_GetPageInfo
, METH_O
, NULL
},
31621 { (char *)"Printout_swigregister", Printout_swigregister
, METH_VARARGS
, NULL
},
31622 { (char *)"Printout_swiginit", Printout_swiginit
, METH_VARARGS
, NULL
},
31623 { (char *)"new_PreviewCanvas", (PyCFunction
) _wrap_new_PreviewCanvas
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31624 { (char *)"PreviewCanvas_swigregister", PreviewCanvas_swigregister
, METH_VARARGS
, NULL
},
31625 { (char *)"PreviewCanvas_swiginit", PreviewCanvas_swiginit
, METH_VARARGS
, NULL
},
31626 { (char *)"new_PreviewFrame", (PyCFunction
) _wrap_new_PreviewFrame
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31627 { (char *)"PreviewFrame_Initialize", (PyCFunction
)_wrap_PreviewFrame_Initialize
, METH_O
, NULL
},
31628 { (char *)"PreviewFrame_CreateControlBar", (PyCFunction
)_wrap_PreviewFrame_CreateControlBar
, METH_O
, NULL
},
31629 { (char *)"PreviewFrame_CreateCanvas", (PyCFunction
)_wrap_PreviewFrame_CreateCanvas
, METH_O
, NULL
},
31630 { (char *)"PreviewFrame_GetControlBar", (PyCFunction
)_wrap_PreviewFrame_GetControlBar
, METH_O
, NULL
},
31631 { (char *)"PreviewFrame_swigregister", PreviewFrame_swigregister
, METH_VARARGS
, NULL
},
31632 { (char *)"PreviewFrame_swiginit", PreviewFrame_swiginit
, METH_VARARGS
, NULL
},
31633 { (char *)"new_PreviewControlBar", (PyCFunction
) _wrap_new_PreviewControlBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31634 { (char *)"PreviewControlBar_GetZoomControl", (PyCFunction
)_wrap_PreviewControlBar_GetZoomControl
, METH_O
, NULL
},
31635 { (char *)"PreviewControlBar_SetZoomControl", (PyCFunction
) _wrap_PreviewControlBar_SetZoomControl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31636 { (char *)"PreviewControlBar_GetPrintPreview", (PyCFunction
)_wrap_PreviewControlBar_GetPrintPreview
, METH_O
, NULL
},
31637 { (char *)"PreviewControlBar_OnNext", (PyCFunction
)_wrap_PreviewControlBar_OnNext
, METH_O
, NULL
},
31638 { (char *)"PreviewControlBar_OnPrevious", (PyCFunction
)_wrap_PreviewControlBar_OnPrevious
, METH_O
, NULL
},
31639 { (char *)"PreviewControlBar_OnFirst", (PyCFunction
)_wrap_PreviewControlBar_OnFirst
, METH_O
, NULL
},
31640 { (char *)"PreviewControlBar_OnLast", (PyCFunction
)_wrap_PreviewControlBar_OnLast
, METH_O
, NULL
},
31641 { (char *)"PreviewControlBar_OnGoto", (PyCFunction
)_wrap_PreviewControlBar_OnGoto
, METH_O
, NULL
},
31642 { (char *)"PreviewControlBar_swigregister", PreviewControlBar_swigregister
, METH_VARARGS
, NULL
},
31643 { (char *)"PreviewControlBar_swiginit", PreviewControlBar_swiginit
, METH_VARARGS
, NULL
},
31644 { (char *)"new_PrintPreview", _wrap_new_PrintPreview
, METH_VARARGS
, NULL
},
31645 { (char *)"delete_PrintPreview", (PyCFunction
)_wrap_delete_PrintPreview
, METH_O
, NULL
},
31646 { (char *)"PrintPreview_SetCurrentPage", (PyCFunction
) _wrap_PrintPreview_SetCurrentPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31647 { (char *)"PrintPreview_GetCurrentPage", (PyCFunction
)_wrap_PrintPreview_GetCurrentPage
, METH_O
, NULL
},
31648 { (char *)"PrintPreview_SetPrintout", (PyCFunction
) _wrap_PrintPreview_SetPrintout
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31649 { (char *)"PrintPreview_GetPrintout", (PyCFunction
)_wrap_PrintPreview_GetPrintout
, METH_O
, NULL
},
31650 { (char *)"PrintPreview_GetPrintoutForPrinting", (PyCFunction
)_wrap_PrintPreview_GetPrintoutForPrinting
, METH_O
, NULL
},
31651 { (char *)"PrintPreview_SetFrame", (PyCFunction
) _wrap_PrintPreview_SetFrame
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31652 { (char *)"PrintPreview_SetCanvas", (PyCFunction
) _wrap_PrintPreview_SetCanvas
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31653 { (char *)"PrintPreview_GetFrame", (PyCFunction
)_wrap_PrintPreview_GetFrame
, METH_O
, NULL
},
31654 { (char *)"PrintPreview_GetCanvas", (PyCFunction
)_wrap_PrintPreview_GetCanvas
, METH_O
, NULL
},
31655 { (char *)"PrintPreview_PaintPage", (PyCFunction
) _wrap_PrintPreview_PaintPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31656 { (char *)"PrintPreview_DrawBlankPage", (PyCFunction
) _wrap_PrintPreview_DrawBlankPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31657 { (char *)"PrintPreview_RenderPage", (PyCFunction
) _wrap_PrintPreview_RenderPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31658 { (char *)"PrintPreview_AdjustScrollbars", (PyCFunction
) _wrap_PrintPreview_AdjustScrollbars
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31659 { (char *)"PrintPreview_GetPrintDialogData", (PyCFunction
)_wrap_PrintPreview_GetPrintDialogData
, METH_O
, NULL
},
31660 { (char *)"PrintPreview_SetZoom", (PyCFunction
) _wrap_PrintPreview_SetZoom
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31661 { (char *)"PrintPreview_GetZoom", (PyCFunction
)_wrap_PrintPreview_GetZoom
, METH_O
, NULL
},
31662 { (char *)"PrintPreview_GetMaxPage", (PyCFunction
)_wrap_PrintPreview_GetMaxPage
, METH_O
, NULL
},
31663 { (char *)"PrintPreview_GetMinPage", (PyCFunction
)_wrap_PrintPreview_GetMinPage
, METH_O
, NULL
},
31664 { (char *)"PrintPreview_IsOk", (PyCFunction
)_wrap_PrintPreview_IsOk
, METH_O
, NULL
},
31665 { (char *)"PrintPreview_SetOk", (PyCFunction
) _wrap_PrintPreview_SetOk
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31666 { (char *)"PrintPreview_Print", (PyCFunction
) _wrap_PrintPreview_Print
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31667 { (char *)"PrintPreview_DetermineScaling", (PyCFunction
)_wrap_PrintPreview_DetermineScaling
, METH_O
, NULL
},
31668 { (char *)"PrintPreview_swigregister", PrintPreview_swigregister
, METH_VARARGS
, NULL
},
31669 { (char *)"PrintPreview_swiginit", PrintPreview_swiginit
, METH_VARARGS
, NULL
},
31670 { (char *)"new_PyPrintPreview", _wrap_new_PyPrintPreview
, METH_VARARGS
, NULL
},
31671 { (char *)"PyPrintPreview__setCallbackInfo", (PyCFunction
) _wrap_PyPrintPreview__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31672 { (char *)"PyPrintPreview_swigregister", PyPrintPreview_swigregister
, METH_VARARGS
, NULL
},
31673 { (char *)"PyPrintPreview_swiginit", PyPrintPreview_swiginit
, METH_VARARGS
, NULL
},
31674 { (char *)"new_PyPreviewFrame", (PyCFunction
) _wrap_new_PyPreviewFrame
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31675 { (char *)"PyPreviewFrame__setCallbackInfo", (PyCFunction
) _wrap_PyPreviewFrame__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31676 { (char *)"PyPreviewFrame_SetPreviewCanvas", (PyCFunction
) _wrap_PyPreviewFrame_SetPreviewCanvas
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31677 { (char *)"PyPreviewFrame_SetControlBar", (PyCFunction
) _wrap_PyPreviewFrame_SetControlBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31678 { (char *)"PyPreviewFrame_Initialize", (PyCFunction
)_wrap_PyPreviewFrame_Initialize
, METH_O
, NULL
},
31679 { (char *)"PyPreviewFrame_CreateCanvas", (PyCFunction
)_wrap_PyPreviewFrame_CreateCanvas
, METH_O
, NULL
},
31680 { (char *)"PyPreviewFrame_CreateControlBar", (PyCFunction
)_wrap_PyPreviewFrame_CreateControlBar
, METH_O
, NULL
},
31681 { (char *)"PyPreviewFrame_swigregister", PyPreviewFrame_swigregister
, METH_VARARGS
, NULL
},
31682 { (char *)"PyPreviewFrame_swiginit", PyPreviewFrame_swiginit
, METH_VARARGS
, NULL
},
31683 { (char *)"new_PyPreviewControlBar", (PyCFunction
) _wrap_new_PyPreviewControlBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31684 { (char *)"PyPreviewControlBar__setCallbackInfo", (PyCFunction
) _wrap_PyPreviewControlBar__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31685 { (char *)"PyPreviewControlBar_SetPrintPreview", (PyCFunction
) _wrap_PyPreviewControlBar_SetPrintPreview
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31686 { (char *)"PyPreviewControlBar_CreateButtons", (PyCFunction
)_wrap_PyPreviewControlBar_CreateButtons
, METH_O
, NULL
},
31687 { (char *)"PyPreviewControlBar_SetZoomControl", (PyCFunction
) _wrap_PyPreviewControlBar_SetZoomControl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31688 { (char *)"PyPreviewControlBar_swigregister", PyPreviewControlBar_swigregister
, METH_VARARGS
, NULL
},
31689 { (char *)"PyPreviewControlBar_swiginit", PyPreviewControlBar_swiginit
, METH_VARARGS
, NULL
},
31690 { NULL
, NULL
, 0, NULL
}
31694 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (BEGIN) -------- */
31696 static void *_p_wxPyPreviewFrameTo_p_wxPreviewFrame(void *x
) {
31697 return (void *)((wxPreviewFrame
*) ((wxPyPreviewFrame
*) x
));
31699 static void *_p_wxContextMenuEventTo_p_wxEvent(void *x
) {
31700 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
31702 static void *_p_wxMenuEventTo_p_wxEvent(void *x
) {
31703 return (void *)((wxEvent
*) ((wxMenuEvent
*) x
));
31705 static void *_p_wxCloseEventTo_p_wxEvent(void *x
) {
31706 return (void *)((wxEvent
*) ((wxCloseEvent
*) x
));
31708 static void *_p_wxMouseEventTo_p_wxEvent(void *x
) {
31709 return (void *)((wxEvent
*) ((wxMouseEvent
*) x
));
31711 static void *_p_wxEraseEventTo_p_wxEvent(void *x
) {
31712 return (void *)((wxEvent
*) ((wxEraseEvent
*) x
));
31714 static void *_p_wxSetCursorEventTo_p_wxEvent(void *x
) {
31715 return (void *)((wxEvent
*) ((wxSetCursorEvent
*) x
));
31717 static void *_p_wxSplitterEventTo_p_wxEvent(void *x
) {
31718 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*) ((wxSplitterEvent
*) x
));
31720 static void *_p_wxInitDialogEventTo_p_wxEvent(void *x
) {
31721 return (void *)((wxEvent
*) ((wxInitDialogEvent
*) x
));
31723 static void *_p_wxScrollEventTo_p_wxEvent(void *x
) {
31724 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxScrollEvent
*) x
));
31726 static void *_p_wxFindDialogEventTo_p_wxEvent(void *x
) {
31727 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxFindDialogEvent
*) x
));
31729 static void *_p_wxNotifyEventTo_p_wxEvent(void *x
) {
31730 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxNotifyEvent
*) x
));
31732 static void *_p_wxMouseCaptureLostEventTo_p_wxEvent(void *x
) {
31733 return (void *)((wxEvent
*) ((wxMouseCaptureLostEvent
*) x
));
31735 static void *_p_wxPyEventTo_p_wxEvent(void *x
) {
31736 return (void *)((wxEvent
*) ((wxPyEvent
*) x
));
31738 static void *_p_wxCalculateLayoutEventTo_p_wxEvent(void *x
) {
31739 return (void *)((wxEvent
*) ((wxCalculateLayoutEvent
*) x
));
31741 static void *_p_wxIdleEventTo_p_wxEvent(void *x
) {
31742 return (void *)((wxEvent
*) ((wxIdleEvent
*) x
));
31744 static void *_p_wxWindowCreateEventTo_p_wxEvent(void *x
) {
31745 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
31747 static void *_p_wxQueryNewPaletteEventTo_p_wxEvent(void *x
) {
31748 return (void *)((wxEvent
*) ((wxQueryNewPaletteEvent
*) x
));
31750 static void *_p_wxMaximizeEventTo_p_wxEvent(void *x
) {
31751 return (void *)((wxEvent
*) ((wxMaximizeEvent
*) x
));
31753 static void *_p_wxIconizeEventTo_p_wxEvent(void *x
) {
31754 return (void *)((wxEvent
*) ((wxIconizeEvent
*) x
));
31756 static void *_p_wxActivateEventTo_p_wxEvent(void *x
) {
31757 return (void *)((wxEvent
*) ((wxActivateEvent
*) x
));
31759 static void *_p_wxSizeEventTo_p_wxEvent(void *x
) {
31760 return (void *)((wxEvent
*) ((wxSizeEvent
*) x
));
31762 static void *_p_wxMoveEventTo_p_wxEvent(void *x
) {
31763 return (void *)((wxEvent
*) ((wxMoveEvent
*) x
));
31765 static void *_p_wxDateEventTo_p_wxEvent(void *x
) {
31766 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxDateEvent
*) x
));
31768 static void *_p_wxPaintEventTo_p_wxEvent(void *x
) {
31769 return (void *)((wxEvent
*) ((wxPaintEvent
*) x
));
31771 static void *_p_wxNcPaintEventTo_p_wxEvent(void *x
) {
31772 return (void *)((wxEvent
*) ((wxNcPaintEvent
*) x
));
31774 static void *_p_wxClipboardTextEventTo_p_wxEvent(void *x
) {
31775 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxClipboardTextEvent
*) x
));
31777 static void *_p_wxUpdateUIEventTo_p_wxEvent(void *x
) {
31778 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
31780 static void *_p_wxPaletteChangedEventTo_p_wxEvent(void *x
) {
31781 return (void *)((wxEvent
*) ((wxPaletteChangedEvent
*) x
));
31783 static void *_p_wxDisplayChangedEventTo_p_wxEvent(void *x
) {
31784 return (void *)((wxEvent
*) ((wxDisplayChangedEvent
*) x
));
31786 static void *_p_wxMouseCaptureChangedEventTo_p_wxEvent(void *x
) {
31787 return (void *)((wxEvent
*) ((wxMouseCaptureChangedEvent
*) x
));
31789 static void *_p_wxSysColourChangedEventTo_p_wxEvent(void *x
) {
31790 return (void *)((wxEvent
*) ((wxSysColourChangedEvent
*) x
));
31792 static void *_p_wxDropFilesEventTo_p_wxEvent(void *x
) {
31793 return (void *)((wxEvent
*) ((wxDropFilesEvent
*) x
));
31795 static void *_p_wxFocusEventTo_p_wxEvent(void *x
) {
31796 return (void *)((wxEvent
*) ((wxFocusEvent
*) x
));
31798 static void *_p_wxChildFocusEventTo_p_wxEvent(void *x
) {
31799 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
31801 static void *_p_wxSashEventTo_p_wxEvent(void *x
) {
31802 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxSashEvent
*) x
));
31804 static void *_p_wxQueryLayoutInfoEventTo_p_wxEvent(void *x
) {
31805 return (void *)((wxEvent
*) ((wxQueryLayoutInfoEvent
*) x
));
31807 static void *_p_wxShowEventTo_p_wxEvent(void *x
) {
31808 return (void *)((wxEvent
*) ((wxShowEvent
*) x
));
31810 static void *_p_wxCommandEventTo_p_wxEvent(void *x
) {
31811 return (void *)((wxEvent
*) ((wxCommandEvent
*) x
));
31813 static void *_p_wxPyCommandEventTo_p_wxEvent(void *x
) {
31814 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
31816 static void *_p_wxWindowDestroyEventTo_p_wxEvent(void *x
) {
31817 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
31819 static void *_p_wxNavigationKeyEventTo_p_wxEvent(void *x
) {
31820 return (void *)((wxEvent
*) ((wxNavigationKeyEvent
*) x
));
31822 static void *_p_wxKeyEventTo_p_wxEvent(void *x
) {
31823 return (void *)((wxEvent
*) ((wxKeyEvent
*) x
));
31825 static void *_p_wxScrollWinEventTo_p_wxEvent(void *x
) {
31826 return (void *)((wxEvent
*) ((wxScrollWinEvent
*) x
));
31828 static void *_p_wxTaskBarIconEventTo_p_wxEvent(void *x
) {
31829 return (void *)((wxEvent
*) ((wxTaskBarIconEvent
*) x
));
31831 static void *_p_wxSplitterEventTo_p_wxNotifyEvent(void *x
) {
31832 return (void *)((wxNotifyEvent
*) ((wxSplitterEvent
*) x
));
31834 static void *_p_wxPasswordEntryDialogTo_p_wxTextEntryDialog(void *x
) {
31835 return (void *)((wxTextEntryDialog
*) ((wxPasswordEntryDialog
*) x
));
31837 static void *_p_wxSplashScreenTo_p_wxEvtHandler(void *x
) {
31838 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxSplashScreen
*) x
));
31840 static void *_p_wxMiniFrameTo_p_wxEvtHandler(void *x
) {
31841 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxMiniFrame
*) x
));
31843 static void *_p_wxPyPanelTo_p_wxEvtHandler(void *x
) {
31844 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*) ((wxPyPanel
*) x
));
31846 static void *_p_wxMenuBarTo_p_wxEvtHandler(void *x
) {
31847 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxMenuBar
*) x
));
31849 static void *_p_wxValidatorTo_p_wxEvtHandler(void *x
) {
31850 return (void *)((wxEvtHandler
*) ((wxValidator
*) x
));
31852 static void *_p_wxPyValidatorTo_p_wxEvtHandler(void *x
) {
31853 return (void *)((wxEvtHandler
*) (wxValidator
*) ((wxPyValidator
*) x
));
31855 static void *_p_wxMenuTo_p_wxEvtHandler(void *x
) {
31856 return (void *)((wxEvtHandler
*) ((wxMenu
*) x
));
31858 static void *_p_wxPasswordEntryDialogTo_p_wxEvtHandler(void *x
) {
31859 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*)(wxTextEntryDialog
*) ((wxPasswordEntryDialog
*) x
));
31861 static void *_p_wxTextEntryDialogTo_p_wxEvtHandler(void *x
) {
31862 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxTextEntryDialog
*) x
));
31864 static void *_p_wxSingleChoiceDialogTo_p_wxEvtHandler(void *x
) {
31865 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxSingleChoiceDialog
*) x
));
31867 static void *_p_wxMultiChoiceDialogTo_p_wxEvtHandler(void *x
) {
31868 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxMultiChoiceDialog
*) x
));
31870 static void *_p_wxFileDialogTo_p_wxEvtHandler(void *x
) {
31871 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxFileDialog
*) x
));
31873 static void *_p_wxNumberEntryDialogTo_p_wxEvtHandler(void *x
) {
31874 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxNumberEntryDialog
*) x
));
31876 static void *_p_wxMessageDialogTo_p_wxEvtHandler(void *x
) {
31877 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxMessageDialog
*) x
));
31879 static void *_p_wxProgressDialogTo_p_wxEvtHandler(void *x
) {
31880 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxProgressDialog
*) x
));
31882 static void *_p_wxFindReplaceDialogTo_p_wxEvtHandler(void *x
) {
31883 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxFindReplaceDialog
*) x
));
31885 static void *_p_wxPanelTo_p_wxEvtHandler(void *x
) {
31886 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxPanel
*) x
));
31888 static void *_p_wxStatusBarTo_p_wxEvtHandler(void *x
) {
31889 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxStatusBar
*) x
));
31891 static void *_p_wxPyVScrolledWindowTo_p_wxEvtHandler(void *x
) {
31892 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*) ((wxPyVScrolledWindow
*) x
));
31894 static void *_p_wxTipWindowTo_p_wxEvtHandler(void *x
) {
31895 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPopupWindow
*)(wxPyPopupTransientWindow
*) ((wxTipWindow
*) x
));
31897 static void *_p_wxPyPopupTransientWindowTo_p_wxEvtHandler(void *x
) {
31898 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPopupWindow
*) ((wxPyPopupTransientWindow
*) x
));
31900 static void *_p_wxPopupWindowTo_p_wxEvtHandler(void *x
) {
31901 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxPopupWindow
*) x
));
31903 static void *_p_wxSashLayoutWindowTo_p_wxEvtHandler(void *x
) {
31904 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxSashWindow
*) ((wxSashLayoutWindow
*) x
));
31906 static void *_p_wxSashWindowTo_p_wxEvtHandler(void *x
) {
31907 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxSashWindow
*) x
));
31909 static void *_p_wxSplitterWindowTo_p_wxEvtHandler(void *x
) {
31910 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxSplitterWindow
*) x
));
31912 static void *_p_wxSplashScreenWindowTo_p_wxEvtHandler(void *x
) {
31913 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxSplashScreenWindow
*) x
));
31915 static void *_p_wxWindowTo_p_wxEvtHandler(void *x
) {
31916 return (void *)((wxEvtHandler
*) ((wxWindow
*) x
));
31918 static void *_p_wxScrolledWindowTo_p_wxEvtHandler(void *x
) {
31919 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*) ((wxScrolledWindow
*) x
));
31921 static void *_p_wxTopLevelWindowTo_p_wxEvtHandler(void *x
) {
31922 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxTopLevelWindow
*) x
));
31924 static void *_p_wxMDIClientWindowTo_p_wxEvtHandler(void *x
) {
31925 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxMDIClientWindow
*) x
));
31927 static void *_p_wxPyScrolledWindowTo_p_wxEvtHandler(void *x
) {
31928 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*)(wxScrolledWindow
*) ((wxPyScrolledWindow
*) x
));
31930 static void *_p_wxControlTo_p_wxEvtHandler(void *x
) {
31931 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxControl
*) x
));
31933 static void *_p_wxPreviewFrameTo_p_wxEvtHandler(void *x
) {
31934 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxPreviewFrame
*) x
));
31936 static void *_p_wxPyPreviewFrameTo_p_wxEvtHandler(void *x
) {
31937 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*)(wxPreviewFrame
*) ((wxPyPreviewFrame
*) x
));
31939 static void *_p_wxMDIChildFrameTo_p_wxEvtHandler(void *x
) {
31940 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxMDIChildFrame
*) x
));
31942 static void *_p_wxPyAppTo_p_wxEvtHandler(void *x
) {
31943 return (void *)((wxEvtHandler
*) ((wxPyApp
*) x
));
31945 static void *_p_wxControlWithItemsTo_p_wxEvtHandler(void *x
) {
31946 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxControlWithItems
*) x
));
31948 static void *_p_wxPyWindowTo_p_wxEvtHandler(void *x
) {
31949 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxPyWindow
*) x
));
31951 static void *_p_wxPreviewCanvasTo_p_wxEvtHandler(void *x
) {
31952 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*)(wxScrolledWindow
*) ((wxPreviewCanvas
*) x
));
31954 static void *_p_wxPyHtmlListBoxTo_p_wxEvtHandler(void *x
) {
31955 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*)(wxPyVScrolledWindow
*)(wxPyVListBox
*) ((wxPyHtmlListBox
*) x
));
31957 static void *_p_wxPyVListBoxTo_p_wxEvtHandler(void *x
) {
31958 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*)(wxPyVScrolledWindow
*) ((wxPyVListBox
*) x
));
31960 static void *_p_wxPreviewControlBarTo_p_wxEvtHandler(void *x
) {
31961 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*) ((wxPreviewControlBar
*) x
));
31963 static void *_p_wxPyPreviewControlBarTo_p_wxEvtHandler(void *x
) {
31964 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*)(wxPreviewControlBar
*) ((wxPyPreviewControlBar
*) x
));
31966 static void *_p_wxPyTaskBarIconTo_p_wxEvtHandler(void *x
) {
31967 return (void *)((wxEvtHandler
*) ((wxPyTaskBarIcon
*) x
));
31969 static void *_p_wxFrameTo_p_wxEvtHandler(void *x
) {
31970 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*) ((wxFrame
*) x
));
31972 static void *_p_wxDirDialogTo_p_wxEvtHandler(void *x
) {
31973 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxDirDialog
*) x
));
31975 static void *_p_wxColourDialogTo_p_wxEvtHandler(void *x
) {
31976 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxColourDialog
*) x
));
31978 static void *_p_wxDialogTo_p_wxEvtHandler(void *x
) {
31979 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*) ((wxDialog
*) x
));
31981 static void *_p_wxFontDialogTo_p_wxEvtHandler(void *x
) {
31982 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxFontDialog
*) x
));
31984 static void *_p_wxMDIParentFrameTo_p_wxEvtHandler(void *x
) {
31985 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxMDIParentFrame
*) x
));
31987 static void *_p_wxPyHtmlListBoxTo_p_wxPyVListBox(void *x
) {
31988 return (void *)((wxPyVListBox
*) ((wxPyHtmlListBox
*) x
));
31990 static void *_p_wxMDIChildFrameTo_p_wxFrame(void *x
) {
31991 return (void *)((wxFrame
*) ((wxMDIChildFrame
*) x
));
31993 static void *_p_wxProgressDialogTo_p_wxFrame(void *x
) {
31994 return (void *)((wxFrame
*) ((wxProgressDialog
*) x
));
31996 static void *_p_wxPreviewFrameTo_p_wxFrame(void *x
) {
31997 return (void *)((wxFrame
*) ((wxPreviewFrame
*) x
));
31999 static void *_p_wxPyPreviewFrameTo_p_wxFrame(void *x
) {
32000 return (void *)((wxFrame
*) (wxPreviewFrame
*) ((wxPyPreviewFrame
*) x
));
32002 static void *_p_wxMiniFrameTo_p_wxFrame(void *x
) {
32003 return (void *)((wxFrame
*) ((wxMiniFrame
*) x
));
32005 static void *_p_wxSplashScreenTo_p_wxFrame(void *x
) {
32006 return (void *)((wxFrame
*) ((wxSplashScreen
*) x
));
32008 static void *_p_wxMDIParentFrameTo_p_wxFrame(void *x
) {
32009 return (void *)((wxFrame
*) ((wxMDIParentFrame
*) x
));
32011 static void *_p_wxLayoutConstraintsTo_p_wxObject(void *x
) {
32012 return (void *)((wxObject
*) ((wxLayoutConstraints
*) x
));
32014 static void *_p_wxQueryLayoutInfoEventTo_p_wxObject(void *x
) {
32015 return (void *)((wxObject
*) (wxEvent
*) ((wxQueryLayoutInfoEvent
*) x
));
32017 static void *_p_wxPreviewFrameTo_p_wxObject(void *x
) {
32018 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxPreviewFrame
*) x
));
32020 static void *_p_wxPyPreviewFrameTo_p_wxObject(void *x
) {
32021 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*)(wxPreviewFrame
*) ((wxPyPreviewFrame
*) x
));
32023 static void *_p_wxSizerItemTo_p_wxObject(void *x
) {
32024 return (void *)((wxObject
*) ((wxSizerItem
*) x
));
32026 static void *_p_wxGBSizerItemTo_p_wxObject(void *x
) {
32027 return (void *)((wxObject
*) (wxSizerItem
*) ((wxGBSizerItem
*) x
));
32029 static void *_p_wxScrollEventTo_p_wxObject(void *x
) {
32030 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxScrollEvent
*) x
));
32032 static void *_p_wxIndividualLayoutConstraintTo_p_wxObject(void *x
) {
32033 return (void *)((wxObject
*) ((wxIndividualLayoutConstraint
*) x
));
32035 static void *_p_wxStaticBoxSizerTo_p_wxObject(void *x
) {
32036 return (void *)((wxObject
*) (wxSizer
*)(wxBoxSizer
*) ((wxStaticBoxSizer
*) x
));
32038 static void *_p_wxBoxSizerTo_p_wxObject(void *x
) {
32039 return (void *)((wxObject
*) (wxSizer
*) ((wxBoxSizer
*) x
));
32041 static void *_p_wxSizerTo_p_wxObject(void *x
) {
32042 return (void *)((wxObject
*) ((wxSizer
*) x
));
32044 static void *_p_wxGridBagSizerTo_p_wxObject(void *x
) {
32045 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*)(wxFlexGridSizer
*) ((wxGridBagSizer
*) x
));
32047 static void *_p_wxUpdateUIEventTo_p_wxObject(void *x
) {
32048 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
32050 static void *_p_wxPyPanelTo_p_wxObject(void *x
) {
32051 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*) ((wxPyPanel
*) x
));
32053 static void *_p_wxEventTo_p_wxObject(void *x
) {
32054 return (void *)((wxObject
*) ((wxEvent
*) x
));
32056 static void *_p_wxFontDataTo_p_wxObject(void *x
) {
32057 return (void *)((wxObject
*) ((wxFontData
*) x
));
32059 static void *_p_wxPrintDataTo_p_wxObject(void *x
) {
32060 return (void *)((wxObject
*) ((wxPrintData
*) x
));
32062 static void *_p_wxFlexGridSizerTo_p_wxObject(void *x
) {
32063 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*) ((wxFlexGridSizer
*) x
));
32065 static void *_p_wxGridSizerTo_p_wxObject(void *x
) {
32066 return (void *)((wxObject
*) (wxSizer
*) ((wxGridSizer
*) x
));
32068 static void *_p_wxInitDialogEventTo_p_wxObject(void *x
) {
32069 return (void *)((wxObject
*) (wxEvent
*) ((wxInitDialogEvent
*) x
));
32071 static void *_p_wxLayoutAlgorithmTo_p_wxObject(void *x
) {
32072 return (void *)((wxObject
*) ((wxLayoutAlgorithm
*) x
));
32074 static void *_p_wxPyTaskBarIconTo_p_wxObject(void *x
) {
32075 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxPyTaskBarIcon
*) x
));
32077 static void *_p_wxFindDialogEventTo_p_wxObject(void *x
) {
32078 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxFindDialogEvent
*) x
));
32080 static void *_p_wxClipboardTextEventTo_p_wxObject(void *x
) {
32081 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxClipboardTextEvent
*) x
));
32083 static void *_p_wxPaintEventTo_p_wxObject(void *x
) {
32084 return (void *)((wxObject
*) (wxEvent
*) ((wxPaintEvent
*) x
));
32086 static void *_p_wxNcPaintEventTo_p_wxObject(void *x
) {
32087 return (void *)((wxObject
*) (wxEvent
*) ((wxNcPaintEvent
*) x
));
32089 static void *_p_wxPaletteChangedEventTo_p_wxObject(void *x
) {
32090 return (void *)((wxObject
*) (wxEvent
*) ((wxPaletteChangedEvent
*) x
));
32092 static void *_p_wxDisplayChangedEventTo_p_wxObject(void *x
) {
32093 return (void *)((wxObject
*) (wxEvent
*) ((wxDisplayChangedEvent
*) x
));
32095 static void *_p_wxMouseCaptureChangedEventTo_p_wxObject(void *x
) {
32096 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseCaptureChangedEvent
*) x
));
32098 static void *_p_wxSysColourChangedEventTo_p_wxObject(void *x
) {
32099 return (void *)((wxObject
*) (wxEvent
*) ((wxSysColourChangedEvent
*) x
));
32101 static void *_p_wxPreviewCanvasTo_p_wxObject(void *x
) {
32102 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*)(wxScrolledWindow
*) ((wxPreviewCanvas
*) x
));
32104 static void *_p_wxControlTo_p_wxObject(void *x
) {
32105 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxControl
*) x
));
32107 static void *_p_wxSetCursorEventTo_p_wxObject(void *x
) {
32108 return (void *)((wxObject
*) (wxEvent
*) ((wxSetCursorEvent
*) x
));
32110 static void *_p_wxSplitterEventTo_p_wxObject(void *x
) {
32111 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*) ((wxSplitterEvent
*) x
));
32113 static void *_p_wxFSFileTo_p_wxObject(void *x
) {
32114 return (void *)((wxObject
*) ((wxFSFile
*) x
));
32116 static void *_p_wxFindReplaceDataTo_p_wxObject(void *x
) {
32117 return (void *)((wxObject
*) ((wxFindReplaceData
*) x
));
32119 static void *_p_wxPySizerTo_p_wxObject(void *x
) {
32120 return (void *)((wxObject
*) (wxSizer
*) ((wxPySizer
*) x
));
32122 static void *_p_wxMDIChildFrameTo_p_wxObject(void *x
) {
32123 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxMDIChildFrame
*) x
));
32125 static void *_p_wxColourDataTo_p_wxObject(void *x
) {
32126 return (void *)((wxObject
*) ((wxColourData
*) x
));
32128 static void *_p_wxPyEventTo_p_wxObject(void *x
) {
32129 return (void *)((wxObject
*) (wxEvent
*) ((wxPyEvent
*) x
));
32131 static void *_p_wxNotifyEventTo_p_wxObject(void *x
) {
32132 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxNotifyEvent
*) x
));
32134 static void *_p_wxPyWindowTo_p_wxObject(void *x
) {
32135 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxPyWindow
*) x
));
32137 static void *_p_wxSplashScreenTo_p_wxObject(void *x
) {
32138 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxSplashScreen
*) x
));
32140 static void *_p_wxFileDialogTo_p_wxObject(void *x
) {
32141 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxFileDialog
*) x
));
32143 static void *_p_wxMultiChoiceDialogTo_p_wxObject(void *x
) {
32144 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxMultiChoiceDialog
*) x
));
32146 static void *_p_wxSingleChoiceDialogTo_p_wxObject(void *x
) {
32147 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxSingleChoiceDialog
*) x
));
32149 static void *_p_wxTextEntryDialogTo_p_wxObject(void *x
) {
32150 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxTextEntryDialog
*) x
));
32152 static void *_p_wxPasswordEntryDialogTo_p_wxObject(void *x
) {
32153 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*)(wxTextEntryDialog
*) ((wxPasswordEntryDialog
*) x
));
32155 static void *_p_wxNumberEntryDialogTo_p_wxObject(void *x
) {
32156 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxNumberEntryDialog
*) x
));
32158 static void *_p_wxMessageDialogTo_p_wxObject(void *x
) {
32159 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxMessageDialog
*) x
));
32161 static void *_p_wxProgressDialogTo_p_wxObject(void *x
) {
32162 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxProgressDialog
*) x
));
32164 static void *_p_wxFindReplaceDialogTo_p_wxObject(void *x
) {
32165 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxFindReplaceDialog
*) x
));
32167 static void *_p_wxShowEventTo_p_wxObject(void *x
) {
32168 return (void *)((wxObject
*) (wxEvent
*) ((wxShowEvent
*) x
));
32170 static void *_p_wxPrinterTo_p_wxObject(void *x
) {
32171 return (void *)((wxObject
*) ((wxPrinter
*) x
));
32173 static void *_p_wxMenuItemTo_p_wxObject(void *x
) {
32174 return (void *)((wxObject
*) ((wxMenuItem
*) x
));
32176 static void *_p_wxDateEventTo_p_wxObject(void *x
) {
32177 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxDateEvent
*) x
));
32179 static void *_p_wxIdleEventTo_p_wxObject(void *x
) {
32180 return (void *)((wxObject
*) (wxEvent
*) ((wxIdleEvent
*) x
));
32182 static void *_p_wxWindowCreateEventTo_p_wxObject(void *x
) {
32183 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
32185 static void *_p_wxQueryNewPaletteEventTo_p_wxObject(void *x
) {
32186 return (void *)((wxObject
*) (wxEvent
*) ((wxQueryNewPaletteEvent
*) x
));
32188 static void *_p_wxMaximizeEventTo_p_wxObject(void *x
) {
32189 return (void *)((wxObject
*) (wxEvent
*) ((wxMaximizeEvent
*) x
));
32191 static void *_p_wxIconizeEventTo_p_wxObject(void *x
) {
32192 return (void *)((wxObject
*) (wxEvent
*) ((wxIconizeEvent
*) x
));
32194 static void *_p_wxSizeEventTo_p_wxObject(void *x
) {
32195 return (void *)((wxObject
*) (wxEvent
*) ((wxSizeEvent
*) x
));
32197 static void *_p_wxMoveEventTo_p_wxObject(void *x
) {
32198 return (void *)((wxObject
*) (wxEvent
*) ((wxMoveEvent
*) x
));
32200 static void *_p_wxActivateEventTo_p_wxObject(void *x
) {
32201 return (void *)((wxObject
*) (wxEvent
*) ((wxActivateEvent
*) x
));
32203 static void *_p_wxPNMHandlerTo_p_wxObject(void *x
) {
32204 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNMHandler
*) x
));
32206 static void *_p_wxJPEGHandlerTo_p_wxObject(void *x
) {
32207 return (void *)((wxObject
*) (wxImageHandler
*) ((wxJPEGHandler
*) x
));
32209 static void *_p_wxPCXHandlerTo_p_wxObject(void *x
) {
32210 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPCXHandler
*) x
));
32212 static void *_p_wxGIFHandlerTo_p_wxObject(void *x
) {
32213 return (void *)((wxObject
*) (wxImageHandler
*) ((wxGIFHandler
*) x
));
32215 static void *_p_wxPNGHandlerTo_p_wxObject(void *x
) {
32216 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNGHandler
*) x
));
32218 static void *_p_wxANIHandlerTo_p_wxObject(void *x
) {
32219 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*)(wxCURHandler
*) ((wxANIHandler
*) x
));
32221 static void *_p_wxCURHandlerTo_p_wxObject(void *x
) {
32222 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*) ((wxCURHandler
*) x
));
32224 static void *_p_wxICOHandlerTo_p_wxObject(void *x
) {
32225 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*) ((wxICOHandler
*) x
));
32227 static void *_p_wxBMPHandlerTo_p_wxObject(void *x
) {
32228 return (void *)((wxObject
*) (wxImageHandler
*) ((wxBMPHandler
*) x
));
32230 static void *_p_wxPyImageHandlerTo_p_wxObject(void *x
) {
32231 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPyImageHandler
*) x
));
32233 static void *_p_wxImageHandlerTo_p_wxObject(void *x
) {
32234 return (void *)((wxObject
*) ((wxImageHandler
*) x
));
32236 static void *_p_wxXPMHandlerTo_p_wxObject(void *x
) {
32237 return (void *)((wxObject
*) (wxImageHandler
*) ((wxXPMHandler
*) x
));
32239 static void *_p_wxTIFFHandlerTo_p_wxObject(void *x
) {
32240 return (void *)((wxObject
*) (wxImageHandler
*) ((wxTIFFHandler
*) x
));
32242 static void *_p_wxEvtHandlerTo_p_wxObject(void *x
) {
32243 return (void *)((wxObject
*) ((wxEvtHandler
*) x
));
32245 static void *_p_wxMouseCaptureLostEventTo_p_wxObject(void *x
) {
32246 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseCaptureLostEvent
*) x
));
32248 static void *_p_wxCalculateLayoutEventTo_p_wxObject(void *x
) {
32249 return (void *)((wxObject
*) (wxEvent
*) ((wxCalculateLayoutEvent
*) x
));
32251 static void *_p_wxPyVListBoxTo_p_wxObject(void *x
) {
32252 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*)(wxPyVScrolledWindow
*) ((wxPyVListBox
*) x
));
32254 static void *_p_wxPyHtmlListBoxTo_p_wxObject(void *x
) {
32255 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*)(wxPyVScrolledWindow
*)(wxPyVListBox
*) ((wxPyHtmlListBox
*) x
));
32257 static void *_p_wxStdDialogButtonSizerTo_p_wxObject(void *x
) {
32258 return (void *)((wxObject
*) (wxSizer
*)(wxBoxSizer
*) ((wxStdDialogButtonSizer
*) x
));
32260 static void *_p_wxAcceleratorTableTo_p_wxObject(void *x
) {
32261 return (void *)((wxObject
*) ((wxAcceleratorTable
*) x
));
32263 static void *_p_wxMiniFrameTo_p_wxObject(void *x
) {
32264 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxMiniFrame
*) x
));
32266 static void *_p_wxImageTo_p_wxObject(void *x
) {
32267 return (void *)((wxObject
*) ((wxImage
*) x
));
32269 static void *_p_wxFrameTo_p_wxObject(void *x
) {
32270 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*) ((wxFrame
*) x
));
32272 static void *_p_wxPyPrintoutTo_p_wxObject(void *x
) {
32273 return (void *)((wxObject
*) ((wxPyPrintout
*) x
));
32275 static void *_p_wxScrollWinEventTo_p_wxObject(void *x
) {
32276 return (void *)((wxObject
*) (wxEvent
*) ((wxScrollWinEvent
*) x
));
32278 static void *_p_wxTaskBarIconEventTo_p_wxObject(void *x
) {
32279 return (void *)((wxObject
*) (wxEvent
*) ((wxTaskBarIconEvent
*) x
));
32281 static void *_p_wxStatusBarTo_p_wxObject(void *x
) {
32282 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxStatusBar
*) x
));
32284 static void *_p_wxMDIParentFrameTo_p_wxObject(void *x
) {
32285 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxMDIParentFrame
*) x
));
32287 static void *_p_wxWindowDestroyEventTo_p_wxObject(void *x
) {
32288 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
32290 static void *_p_wxNavigationKeyEventTo_p_wxObject(void *x
) {
32291 return (void *)((wxObject
*) (wxEvent
*) ((wxNavigationKeyEvent
*) x
));
32293 static void *_p_wxKeyEventTo_p_wxObject(void *x
) {
32294 return (void *)((wxObject
*) (wxEvent
*) ((wxKeyEvent
*) x
));
32296 static void *_p_wxWindowTo_p_wxObject(void *x
) {
32297 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxWindow
*) x
));
32299 static void *_p_wxMenuTo_p_wxObject(void *x
) {
32300 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxMenu
*) x
));
32302 static void *_p_wxMenuBarTo_p_wxObject(void *x
) {
32303 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxMenuBar
*) x
));
32305 static void *_p_wxScrolledWindowTo_p_wxObject(void *x
) {
32306 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*) ((wxScrolledWindow
*) x
));
32308 static void *_p_wxTopLevelWindowTo_p_wxObject(void *x
) {
32309 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxTopLevelWindow
*) x
));
32311 static void *_p_wxSplashScreenWindowTo_p_wxObject(void *x
) {
32312 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxSplashScreenWindow
*) x
));
32314 static void *_p_wxSplitterWindowTo_p_wxObject(void *x
) {
32315 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxSplitterWindow
*) x
));
32317 static void *_p_wxSashWindowTo_p_wxObject(void *x
) {
32318 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxSashWindow
*) x
));
32320 static void *_p_wxSashLayoutWindowTo_p_wxObject(void *x
) {
32321 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxSashWindow
*) ((wxSashLayoutWindow
*) x
));
32323 static void *_p_wxPopupWindowTo_p_wxObject(void *x
) {
32324 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxPopupWindow
*) x
));
32326 static void *_p_wxPyPopupTransientWindowTo_p_wxObject(void *x
) {
32327 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPopupWindow
*) ((wxPyPopupTransientWindow
*) x
));
32329 static void *_p_wxTipWindowTo_p_wxObject(void *x
) {
32330 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPopupWindow
*)(wxPyPopupTransientWindow
*) ((wxTipWindow
*) x
));
32332 static void *_p_wxPyVScrolledWindowTo_p_wxObject(void *x
) {
32333 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*) ((wxPyVScrolledWindow
*) x
));
32335 static void *_p_wxMDIClientWindowTo_p_wxObject(void *x
) {
32336 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxMDIClientWindow
*) x
));
32338 static void *_p_wxPyScrolledWindowTo_p_wxObject(void *x
) {
32339 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*)(wxScrolledWindow
*) ((wxPyScrolledWindow
*) x
));
32341 static void *_p_wxSashEventTo_p_wxObject(void *x
) {
32342 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxSashEvent
*) x
));
32344 static void *_p_wxPrintPreviewTo_p_wxObject(void *x
) {
32345 return (void *)((wxObject
*) ((wxPrintPreview
*) x
));
32347 static void *_p_wxPyPrintPreviewTo_p_wxObject(void *x
) {
32348 return (void *)((wxObject
*) (wxPrintPreview
*) ((wxPyPrintPreview
*) x
));
32350 static void *_p_wxPanelTo_p_wxObject(void *x
) {
32351 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxPanel
*) x
));
32353 static void *_p_wxDialogTo_p_wxObject(void *x
) {
32354 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*) ((wxDialog
*) x
));
32356 static void *_p_wxColourDialogTo_p_wxObject(void *x
) {
32357 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxColourDialog
*) x
));
32359 static void *_p_wxDirDialogTo_p_wxObject(void *x
) {
32360 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxDirDialog
*) x
));
32362 static void *_p_wxFontDialogTo_p_wxObject(void *x
) {
32363 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxFontDialog
*) x
));
32365 static void *_p_wxPageSetupDialogTo_p_wxObject(void *x
) {
32366 return (void *)((wxObject
*) ((wxPageSetupDialog
*) x
));
32368 static void *_p_wxPrintDialogTo_p_wxObject(void *x
) {
32369 return (void *)((wxObject
*) ((wxPrintDialog
*) x
));
32371 static void *_p_wxFileSystemTo_p_wxObject(void *x
) {
32372 return (void *)((wxObject
*) ((wxFileSystem
*) x
));
32374 static void *_p_wxContextMenuEventTo_p_wxObject(void *x
) {
32375 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
32377 static void *_p_wxMenuEventTo_p_wxObject(void *x
) {
32378 return (void *)((wxObject
*) (wxEvent
*) ((wxMenuEvent
*) x
));
32380 static void *_p_wxPyAppTo_p_wxObject(void *x
) {
32381 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxPyApp
*) x
));
32383 static void *_p_wxCloseEventTo_p_wxObject(void *x
) {
32384 return (void *)((wxObject
*) (wxEvent
*) ((wxCloseEvent
*) x
));
32386 static void *_p_wxMouseEventTo_p_wxObject(void *x
) {
32387 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseEvent
*) x
));
32389 static void *_p_wxEraseEventTo_p_wxObject(void *x
) {
32390 return (void *)((wxObject
*) (wxEvent
*) ((wxEraseEvent
*) x
));
32392 static void *_p_wxPyCommandEventTo_p_wxObject(void *x
) {
32393 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
32395 static void *_p_wxCommandEventTo_p_wxObject(void *x
) {
32396 return (void *)((wxObject
*) (wxEvent
*) ((wxCommandEvent
*) x
));
32398 static void *_p_wxPreviewControlBarTo_p_wxObject(void *x
) {
32399 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*) ((wxPreviewControlBar
*) x
));
32401 static void *_p_wxPyPreviewControlBarTo_p_wxObject(void *x
) {
32402 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*)(wxPreviewControlBar
*) ((wxPyPreviewControlBar
*) x
));
32404 static void *_p_wxDropFilesEventTo_p_wxObject(void *x
) {
32405 return (void *)((wxObject
*) (wxEvent
*) ((wxDropFilesEvent
*) x
));
32407 static void *_p_wxFocusEventTo_p_wxObject(void *x
) {
32408 return (void *)((wxObject
*) (wxEvent
*) ((wxFocusEvent
*) x
));
32410 static void *_p_wxChildFocusEventTo_p_wxObject(void *x
) {
32411 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
32413 static void *_p_wxControlWithItemsTo_p_wxObject(void *x
) {
32414 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxControlWithItems
*) x
));
32416 static void *_p_wxPageSetupDialogDataTo_p_wxObject(void *x
) {
32417 return (void *)((wxObject
*) ((wxPageSetupDialogData
*) x
));
32419 static void *_p_wxPrintDialogDataTo_p_wxObject(void *x
) {
32420 return (void *)((wxObject
*) ((wxPrintDialogData
*) x
));
32422 static void *_p_wxPyValidatorTo_p_wxObject(void *x
) {
32423 return (void *)((wxObject
*) (wxEvtHandler
*)(wxValidator
*) ((wxPyValidator
*) x
));
32425 static void *_p_wxValidatorTo_p_wxObject(void *x
) {
32426 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxValidator
*) x
));
32428 static void *_p_wxPyVListBoxTo_p_wxPyVScrolledWindow(void *x
) {
32429 return (void *)((wxPyVScrolledWindow
*) ((wxPyVListBox
*) x
));
32431 static void *_p_wxPyHtmlListBoxTo_p_wxPyVScrolledWindow(void *x
) {
32432 return (void *)((wxPyVScrolledWindow
*) (wxPyVListBox
*) ((wxPyHtmlListBox
*) x
));
32434 static void *_p_wxTipWindowTo_p_wxPyPopupTransientWindow(void *x
) {
32435 return (void *)((wxPyPopupTransientWindow
*) ((wxTipWindow
*) x
));
32437 static void *_p_wxPyPopupTransientWindowTo_p_wxPopupWindow(void *x
) {
32438 return (void *)((wxPopupWindow
*) ((wxPyPopupTransientWindow
*) x
));
32440 static void *_p_wxTipWindowTo_p_wxPopupWindow(void *x
) {
32441 return (void *)((wxPopupWindow
*) (wxPyPopupTransientWindow
*) ((wxTipWindow
*) x
));
32443 static void *_p_wxSashLayoutWindowTo_p_wxSashWindow(void *x
) {
32444 return (void *)((wxSashWindow
*) ((wxSashLayoutWindow
*) x
));
32446 static void *_p_wxFrameTo_p_wxTopLevelWindow(void *x
) {
32447 return (void *)((wxTopLevelWindow
*) ((wxFrame
*) x
));
32449 static void *_p_wxMiniFrameTo_p_wxTopLevelWindow(void *x
) {
32450 return (void *)((wxTopLevelWindow
*) (wxFrame
*) ((wxMiniFrame
*) x
));
32452 static void *_p_wxFontDialogTo_p_wxTopLevelWindow(void *x
) {
32453 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxFontDialog
*) x
));
32455 static void *_p_wxDirDialogTo_p_wxTopLevelWindow(void *x
) {
32456 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxDirDialog
*) x
));
32458 static void *_p_wxColourDialogTo_p_wxTopLevelWindow(void *x
) {
32459 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxColourDialog
*) x
));
32461 static void *_p_wxDialogTo_p_wxTopLevelWindow(void *x
) {
32462 return (void *)((wxTopLevelWindow
*) ((wxDialog
*) x
));
32464 static void *_p_wxSplashScreenTo_p_wxTopLevelWindow(void *x
) {
32465 return (void *)((wxTopLevelWindow
*) (wxFrame
*) ((wxSplashScreen
*) x
));
32467 static void *_p_wxMDIParentFrameTo_p_wxTopLevelWindow(void *x
) {
32468 return (void *)((wxTopLevelWindow
*) (wxFrame
*) ((wxMDIParentFrame
*) x
));
32470 static void *_p_wxMDIChildFrameTo_p_wxTopLevelWindow(void *x
) {
32471 return (void *)((wxTopLevelWindow
*) (wxFrame
*) ((wxMDIChildFrame
*) x
));
32473 static void *_p_wxMessageDialogTo_p_wxTopLevelWindow(void *x
) {
32474 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxMessageDialog
*) x
));
32476 static void *_p_wxNumberEntryDialogTo_p_wxTopLevelWindow(void *x
) {
32477 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxNumberEntryDialog
*) x
));
32479 static void *_p_wxPasswordEntryDialogTo_p_wxTopLevelWindow(void *x
) {
32480 return (void *)((wxTopLevelWindow
*) (wxDialog
*)(wxTextEntryDialog
*) ((wxPasswordEntryDialog
*) x
));
32482 static void *_p_wxTextEntryDialogTo_p_wxTopLevelWindow(void *x
) {
32483 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxTextEntryDialog
*) x
));
32485 static void *_p_wxSingleChoiceDialogTo_p_wxTopLevelWindow(void *x
) {
32486 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxSingleChoiceDialog
*) x
));
32488 static void *_p_wxMultiChoiceDialogTo_p_wxTopLevelWindow(void *x
) {
32489 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxMultiChoiceDialog
*) x
));
32491 static void *_p_wxFileDialogTo_p_wxTopLevelWindow(void *x
) {
32492 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxFileDialog
*) x
));
32494 static void *_p_wxProgressDialogTo_p_wxTopLevelWindow(void *x
) {
32495 return (void *)((wxTopLevelWindow
*) (wxFrame
*) ((wxProgressDialog
*) x
));
32497 static void *_p_wxFindReplaceDialogTo_p_wxTopLevelWindow(void *x
) {
32498 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxFindReplaceDialog
*) x
));
32500 static void *_p_wxPreviewFrameTo_p_wxTopLevelWindow(void *x
) {
32501 return (void *)((wxTopLevelWindow
*) (wxFrame
*) ((wxPreviewFrame
*) x
));
32503 static void *_p_wxPyPreviewFrameTo_p_wxTopLevelWindow(void *x
) {
32504 return (void *)((wxTopLevelWindow
*) (wxFrame
*)(wxPreviewFrame
*) ((wxPyPreviewFrame
*) x
));
32506 static void *_p_wxSplashScreenTo_p_wxWindow(void *x
) {
32507 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*) ((wxSplashScreen
*) x
));
32509 static void *_p_wxMiniFrameTo_p_wxWindow(void *x
) {
32510 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*) ((wxMiniFrame
*) x
));
32512 static void *_p_wxPyPanelTo_p_wxWindow(void *x
) {
32513 return (void *)((wxWindow
*) (wxPanel
*) ((wxPyPanel
*) x
));
32515 static void *_p_wxMenuBarTo_p_wxWindow(void *x
) {
32516 return (void *)((wxWindow
*) ((wxMenuBar
*) x
));
32518 static void *_p_wxFindReplaceDialogTo_p_wxWindow(void *x
) {
32519 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxFindReplaceDialog
*) x
));
32521 static void *_p_wxProgressDialogTo_p_wxWindow(void *x
) {
32522 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*) ((wxProgressDialog
*) x
));
32524 static void *_p_wxMessageDialogTo_p_wxWindow(void *x
) {
32525 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxMessageDialog
*) x
));
32527 static void *_p_wxNumberEntryDialogTo_p_wxWindow(void *x
) {
32528 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxNumberEntryDialog
*) x
));
32530 static void *_p_wxPasswordEntryDialogTo_p_wxWindow(void *x
) {
32531 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*)(wxTextEntryDialog
*) ((wxPasswordEntryDialog
*) x
));
32533 static void *_p_wxTextEntryDialogTo_p_wxWindow(void *x
) {
32534 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxTextEntryDialog
*) x
));
32536 static void *_p_wxSingleChoiceDialogTo_p_wxWindow(void *x
) {
32537 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxSingleChoiceDialog
*) x
));
32539 static void *_p_wxMultiChoiceDialogTo_p_wxWindow(void *x
) {
32540 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxMultiChoiceDialog
*) x
));
32542 static void *_p_wxFileDialogTo_p_wxWindow(void *x
) {
32543 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxFileDialog
*) x
));
32545 static void *_p_wxPanelTo_p_wxWindow(void *x
) {
32546 return (void *)((wxWindow
*) ((wxPanel
*) x
));
32548 static void *_p_wxStatusBarTo_p_wxWindow(void *x
) {
32549 return (void *)((wxWindow
*) ((wxStatusBar
*) x
));
32551 static void *_p_wxPyVScrolledWindowTo_p_wxWindow(void *x
) {
32552 return (void *)((wxWindow
*) (wxPanel
*) ((wxPyVScrolledWindow
*) x
));
32554 static void *_p_wxTipWindowTo_p_wxWindow(void *x
) {
32555 return (void *)((wxWindow
*) (wxPopupWindow
*)(wxPyPopupTransientWindow
*) ((wxTipWindow
*) x
));
32557 static void *_p_wxPyPopupTransientWindowTo_p_wxWindow(void *x
) {
32558 return (void *)((wxWindow
*) (wxPopupWindow
*) ((wxPyPopupTransientWindow
*) x
));
32560 static void *_p_wxPopupWindowTo_p_wxWindow(void *x
) {
32561 return (void *)((wxWindow
*) ((wxPopupWindow
*) x
));
32563 static void *_p_wxSashLayoutWindowTo_p_wxWindow(void *x
) {
32564 return (void *)((wxWindow
*) (wxSashWindow
*) ((wxSashLayoutWindow
*) x
));
32566 static void *_p_wxScrolledWindowTo_p_wxWindow(void *x
) {
32567 return (void *)((wxWindow
*) (wxPanel
*) ((wxScrolledWindow
*) x
));
32569 static void *_p_wxTopLevelWindowTo_p_wxWindow(void *x
) {
32570 return (void *)((wxWindow
*) ((wxTopLevelWindow
*) x
));
32572 static void *_p_wxSplashScreenWindowTo_p_wxWindow(void *x
) {
32573 return (void *)((wxWindow
*) ((wxSplashScreenWindow
*) x
));
32575 static void *_p_wxSplitterWindowTo_p_wxWindow(void *x
) {
32576 return (void *)((wxWindow
*) ((wxSplitterWindow
*) x
));
32578 static void *_p_wxSashWindowTo_p_wxWindow(void *x
) {
32579 return (void *)((wxWindow
*) ((wxSashWindow
*) x
));
32581 static void *_p_wxMDIClientWindowTo_p_wxWindow(void *x
) {
32582 return (void *)((wxWindow
*) ((wxMDIClientWindow
*) x
));
32584 static void *_p_wxPyScrolledWindowTo_p_wxWindow(void *x
) {
32585 return (void *)((wxWindow
*) (wxPanel
*)(wxScrolledWindow
*) ((wxPyScrolledWindow
*) x
));
32587 static void *_p_wxControlTo_p_wxWindow(void *x
) {
32588 return (void *)((wxWindow
*) ((wxControl
*) x
));
32590 static void *_p_wxPreviewFrameTo_p_wxWindow(void *x
) {
32591 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*) ((wxPreviewFrame
*) x
));
32593 static void *_p_wxPyPreviewFrameTo_p_wxWindow(void *x
) {
32594 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*)(wxPreviewFrame
*) ((wxPyPreviewFrame
*) x
));
32596 static void *_p_wxMDIChildFrameTo_p_wxWindow(void *x
) {
32597 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*) ((wxMDIChildFrame
*) x
));
32599 static void *_p_wxControlWithItemsTo_p_wxWindow(void *x
) {
32600 return (void *)((wxWindow
*) (wxControl
*) ((wxControlWithItems
*) x
));
32602 static void *_p_wxPyWindowTo_p_wxWindow(void *x
) {
32603 return (void *)((wxWindow
*) ((wxPyWindow
*) x
));
32605 static void *_p_wxPreviewCanvasTo_p_wxWindow(void *x
) {
32606 return (void *)((wxWindow
*) (wxPanel
*)(wxScrolledWindow
*) ((wxPreviewCanvas
*) x
));
32608 static void *_p_wxPyHtmlListBoxTo_p_wxWindow(void *x
) {
32609 return (void *)((wxWindow
*) (wxPanel
*)(wxPyVScrolledWindow
*)(wxPyVListBox
*) ((wxPyHtmlListBox
*) x
));
32611 static void *_p_wxPyVListBoxTo_p_wxWindow(void *x
) {
32612 return (void *)((wxWindow
*) (wxPanel
*)(wxPyVScrolledWindow
*) ((wxPyVListBox
*) x
));
32614 static void *_p_wxPreviewControlBarTo_p_wxWindow(void *x
) {
32615 return (void *)((wxWindow
*) (wxPanel
*) ((wxPreviewControlBar
*) x
));
32617 static void *_p_wxPyPreviewControlBarTo_p_wxWindow(void *x
) {
32618 return (void *)((wxWindow
*) (wxPanel
*)(wxPreviewControlBar
*) ((wxPyPreviewControlBar
*) x
));
32620 static void *_p_wxFrameTo_p_wxWindow(void *x
) {
32621 return (void *)((wxWindow
*) (wxTopLevelWindow
*) ((wxFrame
*) x
));
32623 static void *_p_wxFontDialogTo_p_wxWindow(void *x
) {
32624 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxFontDialog
*) x
));
32626 static void *_p_wxDirDialogTo_p_wxWindow(void *x
) {
32627 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxDirDialog
*) x
));
32629 static void *_p_wxColourDialogTo_p_wxWindow(void *x
) {
32630 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxColourDialog
*) x
));
32632 static void *_p_wxDialogTo_p_wxWindow(void *x
) {
32633 return (void *)((wxWindow
*) (wxTopLevelWindow
*) ((wxDialog
*) x
));
32635 static void *_p_wxMDIParentFrameTo_p_wxWindow(void *x
) {
32636 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*) ((wxMDIParentFrame
*) x
));
32638 static void *_p_wxPyScrolledWindowTo_p_wxScrolledWindow(void *x
) {
32639 return (void *)((wxScrolledWindow
*) ((wxPyScrolledWindow
*) x
));
32641 static void *_p_wxPreviewCanvasTo_p_wxScrolledWindow(void *x
) {
32642 return (void *)((wxScrolledWindow
*) ((wxPreviewCanvas
*) x
));
32644 static void *_p_wxPyPrintPreviewTo_p_wxPrintPreview(void *x
) {
32645 return (void *)((wxPrintPreview
*) ((wxPyPrintPreview
*) x
));
32647 static void *_p_wxColourDialogTo_p_wxDialog(void *x
) {
32648 return (void *)((wxDialog
*) ((wxColourDialog
*) x
));
32650 static void *_p_wxDirDialogTo_p_wxDialog(void *x
) {
32651 return (void *)((wxDialog
*) ((wxDirDialog
*) x
));
32653 static void *_p_wxFontDialogTo_p_wxDialog(void *x
) {
32654 return (void *)((wxDialog
*) ((wxFontDialog
*) x
));
32656 static void *_p_wxFileDialogTo_p_wxDialog(void *x
) {
32657 return (void *)((wxDialog
*) ((wxFileDialog
*) x
));
32659 static void *_p_wxMultiChoiceDialogTo_p_wxDialog(void *x
) {
32660 return (void *)((wxDialog
*) ((wxMultiChoiceDialog
*) x
));
32662 static void *_p_wxSingleChoiceDialogTo_p_wxDialog(void *x
) {
32663 return (void *)((wxDialog
*) ((wxSingleChoiceDialog
*) x
));
32665 static void *_p_wxTextEntryDialogTo_p_wxDialog(void *x
) {
32666 return (void *)((wxDialog
*) ((wxTextEntryDialog
*) x
));
32668 static void *_p_wxPasswordEntryDialogTo_p_wxDialog(void *x
) {
32669 return (void *)((wxDialog
*) (wxTextEntryDialog
*) ((wxPasswordEntryDialog
*) x
));
32671 static void *_p_wxNumberEntryDialogTo_p_wxDialog(void *x
) {
32672 return (void *)((wxDialog
*) ((wxNumberEntryDialog
*) x
));
32674 static void *_p_wxMessageDialogTo_p_wxDialog(void *x
) {
32675 return (void *)((wxDialog
*) ((wxMessageDialog
*) x
));
32677 static void *_p_wxFindReplaceDialogTo_p_wxDialog(void *x
) {
32678 return (void *)((wxDialog
*) ((wxFindReplaceDialog
*) x
));
32680 static void *_p_wxScrolledWindowTo_p_wxPanel(void *x
) {
32681 return (void *)((wxPanel
*) ((wxScrolledWindow
*) x
));
32683 static void *_p_wxPyVScrolledWindowTo_p_wxPanel(void *x
) {
32684 return (void *)((wxPanel
*) ((wxPyVScrolledWindow
*) x
));
32686 static void *_p_wxPyScrolledWindowTo_p_wxPanel(void *x
) {
32687 return (void *)((wxPanel
*) (wxScrolledWindow
*) ((wxPyScrolledWindow
*) x
));
32689 static void *_p_wxPyVListBoxTo_p_wxPanel(void *x
) {
32690 return (void *)((wxPanel
*) (wxPyVScrolledWindow
*) ((wxPyVListBox
*) x
));
32692 static void *_p_wxPyHtmlListBoxTo_p_wxPanel(void *x
) {
32693 return (void *)((wxPanel
*) (wxPyVScrolledWindow
*)(wxPyVListBox
*) ((wxPyHtmlListBox
*) x
));
32695 static void *_p_wxPyPanelTo_p_wxPanel(void *x
) {
32696 return (void *)((wxPanel
*) ((wxPyPanel
*) x
));
32698 static void *_p_wxPreviewCanvasTo_p_wxPanel(void *x
) {
32699 return (void *)((wxPanel
*) (wxScrolledWindow
*) ((wxPreviewCanvas
*) x
));
32701 static void *_p_wxPreviewControlBarTo_p_wxPanel(void *x
) {
32702 return (void *)((wxPanel
*) ((wxPreviewControlBar
*) x
));
32704 static void *_p_wxPyPreviewControlBarTo_p_wxPanel(void *x
) {
32705 return (void *)((wxPanel
*) (wxPreviewControlBar
*) ((wxPyPreviewControlBar
*) x
));
32707 static void *_p_wxChildFocusEventTo_p_wxCommandEvent(void *x
) {
32708 return (void *)((wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
32710 static void *_p_wxScrollEventTo_p_wxCommandEvent(void *x
) {
32711 return (void *)((wxCommandEvent
*) ((wxScrollEvent
*) x
));
32713 static void *_p_wxWindowCreateEventTo_p_wxCommandEvent(void *x
) {
32714 return (void *)((wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
32716 static void *_p_wxDateEventTo_p_wxCommandEvent(void *x
) {
32717 return (void *)((wxCommandEvent
*) ((wxDateEvent
*) x
));
32719 static void *_p_wxUpdateUIEventTo_p_wxCommandEvent(void *x
) {
32720 return (void *)((wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
32722 static void *_p_wxClipboardTextEventTo_p_wxCommandEvent(void *x
) {
32723 return (void *)((wxCommandEvent
*) ((wxClipboardTextEvent
*) x
));
32725 static void *_p_wxFindDialogEventTo_p_wxCommandEvent(void *x
) {
32726 return (void *)((wxCommandEvent
*) ((wxFindDialogEvent
*) x
));
32728 static void *_p_wxWindowDestroyEventTo_p_wxCommandEvent(void *x
) {
32729 return (void *)((wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
32731 static void *_p_wxContextMenuEventTo_p_wxCommandEvent(void *x
) {
32732 return (void *)((wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
32734 static void *_p_wxSplitterEventTo_p_wxCommandEvent(void *x
) {
32735 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*) ((wxSplitterEvent
*) x
));
32737 static void *_p_wxNotifyEventTo_p_wxCommandEvent(void *x
) {
32738 return (void *)((wxCommandEvent
*) ((wxNotifyEvent
*) x
));
32740 static void *_p_wxPyCommandEventTo_p_wxCommandEvent(void *x
) {
32741 return (void *)((wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
32743 static void *_p_wxSashEventTo_p_wxCommandEvent(void *x
) {
32744 return (void *)((wxCommandEvent
*) ((wxSashEvent
*) x
));
32746 static void *_p_wxPyPreviewControlBarTo_p_wxPreviewControlBar(void *x
) {
32747 return (void *)((wxPreviewControlBar
*) ((wxPyPreviewControlBar
*) x
));
32749 static swig_type_info _swigt__p_bool
= {"_p_bool", "bool *", 0, 0, (void*)0, 0};
32750 static swig_type_info _swigt__p_char
= {"_p_char", "char *", 0, 0, (void*)0, 0};
32751 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};
32752 static swig_type_info _swigt__p_int
= {"_p_int", "int *", 0, 0, (void*)0, 0};
32753 static swig_type_info _swigt__p_unsigned_char
= {"_p_unsigned_char", "unsigned char *|byte *", 0, 0, (void*)0, 0};
32754 static swig_type_info _swigt__p_unsigned_int
= {"_p_unsigned_int", "unsigned int *|time_t *", 0, 0, (void*)0, 0};
32755 static swig_type_info _swigt__p_unsigned_long
= {"_p_unsigned_long", "unsigned long *|wxUIntPtr *", 0, 0, (void*)0, 0};
32756 static swig_type_info _swigt__p_wxArrayInt
= {"_p_wxArrayInt", "wxArrayInt *", 0, 0, (void*)0, 0};
32757 static swig_type_info _swigt__p_wxBitmap
= {"_p_wxBitmap", "wxBitmap *", 0, 0, (void*)0, 0};
32758 static swig_type_info _swigt__p_wxCalculateLayoutEvent
= {"_p_wxCalculateLayoutEvent", "wxCalculateLayoutEvent *", 0, 0, (void*)0, 0};
32759 static swig_type_info _swigt__p_wxColour
= {"_p_wxColour", "wxColour *", 0, 0, (void*)0, 0};
32760 static swig_type_info _swigt__p_wxColourData
= {"_p_wxColourData", "wxColourData *", 0, 0, (void*)0, 0};
32761 static swig_type_info _swigt__p_wxColourDialog
= {"_p_wxColourDialog", "wxColourDialog *", 0, 0, (void*)0, 0};
32762 static swig_type_info _swigt__p_wxCommandEvent
= {"_p_wxCommandEvent", "wxCommandEvent *", 0, 0, (void*)0, 0};
32763 static swig_type_info _swigt__p_wxWindowDestroyEvent
= {"_p_wxWindowDestroyEvent", 0, 0, 0, 0, 0};
32764 static swig_type_info _swigt__p_wxClipboardTextEvent
= {"_p_wxClipboardTextEvent", 0, 0, 0, 0, 0};
32765 static swig_type_info _swigt__p_wxScrollEvent
= {"_p_wxScrollEvent", 0, 0, 0, 0, 0};
32766 static swig_type_info _swigt__p_wxPyCommandEvent
= {"_p_wxPyCommandEvent", 0, 0, 0, 0, 0};
32767 static swig_type_info _swigt__p_wxContextMenuEvent
= {"_p_wxContextMenuEvent", 0, 0, 0, 0, 0};
32768 static swig_type_info _swigt__p_wxChildFocusEvent
= {"_p_wxChildFocusEvent", 0, 0, 0, 0, 0};
32769 static swig_type_info _swigt__p_wxWindowCreateEvent
= {"_p_wxWindowCreateEvent", 0, 0, 0, 0, 0};
32770 static swig_type_info _swigt__p_wxDateEvent
= {"_p_wxDateEvent", 0, 0, 0, 0, 0};
32771 static swig_type_info _swigt__p_wxUpdateUIEvent
= {"_p_wxUpdateUIEvent", 0, 0, 0, 0, 0};
32772 static swig_type_info _swigt__p_wxDC
= {"_p_wxDC", "wxDC *", 0, 0, (void*)0, 0};
32773 static swig_type_info _swigt__p_wxDialog
= {"_p_wxDialog", "wxDialog *", 0, 0, (void*)0, 0};
32774 static swig_type_info _swigt__p_wxDirDialog
= {"_p_wxDirDialog", "wxDirDialog *", 0, 0, (void*)0, 0};
32775 static swig_type_info _swigt__p_wxDuplexMode
= {"_p_wxDuplexMode", "enum wxDuplexMode *|wxDuplexMode *", 0, 0, (void*)0, 0};
32776 static swig_type_info _swigt__p_wxEvent
= {"_p_wxEvent", "wxEvent *", 0, 0, (void*)0, 0};
32777 static swig_type_info _swigt__p_wxMenuEvent
= {"_p_wxMenuEvent", 0, 0, 0, 0, 0};
32778 static swig_type_info _swigt__p_wxCloseEvent
= {"_p_wxCloseEvent", 0, 0, 0, 0, 0};
32779 static swig_type_info _swigt__p_wxMouseEvent
= {"_p_wxMouseEvent", 0, 0, 0, 0, 0};
32780 static swig_type_info _swigt__p_wxEraseEvent
= {"_p_wxEraseEvent", 0, 0, 0, 0, 0};
32781 static swig_type_info _swigt__p_wxSetCursorEvent
= {"_p_wxSetCursorEvent", 0, 0, 0, 0, 0};
32782 static swig_type_info _swigt__p_wxInitDialogEvent
= {"_p_wxInitDialogEvent", 0, 0, 0, 0, 0};
32783 static swig_type_info _swigt__p_wxPyEvent
= {"_p_wxPyEvent", 0, 0, 0, 0, 0};
32784 static swig_type_info _swigt__p_wxMouseCaptureLostEvent
= {"_p_wxMouseCaptureLostEvent", 0, 0, 0, 0, 0};
32785 static swig_type_info _swigt__p_wxIdleEvent
= {"_p_wxIdleEvent", 0, 0, 0, 0, 0};
32786 static swig_type_info _swigt__p_wxQueryNewPaletteEvent
= {"_p_wxQueryNewPaletteEvent", 0, 0, 0, 0, 0};
32787 static swig_type_info _swigt__p_wxMaximizeEvent
= {"_p_wxMaximizeEvent", 0, 0, 0, 0, 0};
32788 static swig_type_info _swigt__p_wxIconizeEvent
= {"_p_wxIconizeEvent", 0, 0, 0, 0, 0};
32789 static swig_type_info _swigt__p_wxActivateEvent
= {"_p_wxActivateEvent", 0, 0, 0, 0, 0};
32790 static swig_type_info _swigt__p_wxSizeEvent
= {"_p_wxSizeEvent", 0, 0, 0, 0, 0};
32791 static swig_type_info _swigt__p_wxMoveEvent
= {"_p_wxMoveEvent", 0, 0, 0, 0, 0};
32792 static swig_type_info _swigt__p_wxPaintEvent
= {"_p_wxPaintEvent", 0, 0, 0, 0, 0};
32793 static swig_type_info _swigt__p_wxNcPaintEvent
= {"_p_wxNcPaintEvent", 0, 0, 0, 0, 0};
32794 static swig_type_info _swigt__p_wxPaletteChangedEvent
= {"_p_wxPaletteChangedEvent", 0, 0, 0, 0, 0};
32795 static swig_type_info _swigt__p_wxDisplayChangedEvent
= {"_p_wxDisplayChangedEvent", 0, 0, 0, 0, 0};
32796 static swig_type_info _swigt__p_wxMouseCaptureChangedEvent
= {"_p_wxMouseCaptureChangedEvent", 0, 0, 0, 0, 0};
32797 static swig_type_info _swigt__p_wxSysColourChangedEvent
= {"_p_wxSysColourChangedEvent", 0, 0, 0, 0, 0};
32798 static swig_type_info _swigt__p_wxDropFilesEvent
= {"_p_wxDropFilesEvent", 0, 0, 0, 0, 0};
32799 static swig_type_info _swigt__p_wxFocusEvent
= {"_p_wxFocusEvent", 0, 0, 0, 0, 0};
32800 static swig_type_info _swigt__p_wxShowEvent
= {"_p_wxShowEvent", 0, 0, 0, 0, 0};
32801 static swig_type_info _swigt__p_wxNavigationKeyEvent
= {"_p_wxNavigationKeyEvent", 0, 0, 0, 0, 0};
32802 static swig_type_info _swigt__p_wxKeyEvent
= {"_p_wxKeyEvent", 0, 0, 0, 0, 0};
32803 static swig_type_info _swigt__p_wxEvtHandler
= {"_p_wxEvtHandler", "wxEvtHandler *", 0, 0, (void*)0, 0};
32804 static swig_type_info _swigt__p_wxValidator
= {"_p_wxValidator", 0, 0, 0, 0, 0};
32805 static swig_type_info _swigt__p_wxPyValidator
= {"_p_wxPyValidator", 0, 0, 0, 0, 0};
32806 static swig_type_info _swigt__p_wxControl
= {"_p_wxControl", 0, 0, 0, 0, 0};
32807 static swig_type_info _swigt__p_wxPyApp
= {"_p_wxPyApp", 0, 0, 0, 0, 0};
32808 static swig_type_info _swigt__p_wxControlWithItems
= {"_p_wxControlWithItems", 0, 0, 0, 0, 0};
32809 static swig_type_info _swigt__p_wxFileDialog
= {"_p_wxFileDialog", "wxFileDialog *", 0, 0, (void*)0, 0};
32810 static swig_type_info _swigt__p_wxFileSystem
= {"_p_wxFileSystem", "wxFileSystem *", 0, 0, (void*)0, 0};
32811 static swig_type_info _swigt__p_wxFindDialogEvent
= {"_p_wxFindDialogEvent", "wxFindDialogEvent *", 0, 0, (void*)0, 0};
32812 static swig_type_info _swigt__p_wxFindReplaceData
= {"_p_wxFindReplaceData", "wxFindReplaceData *", 0, 0, (void*)0, 0};
32813 static swig_type_info _swigt__p_wxFindReplaceDialog
= {"_p_wxFindReplaceDialog", "wxFindReplaceDialog *", 0, 0, (void*)0, 0};
32814 static swig_type_info _swigt__p_wxFont
= {"_p_wxFont", "wxFont *", 0, 0, (void*)0, 0};
32815 static swig_type_info _swigt__p_wxFontData
= {"_p_wxFontData", "wxFontData *", 0, 0, (void*)0, 0};
32816 static swig_type_info _swigt__p_wxFontDialog
= {"_p_wxFontDialog", "wxFontDialog *", 0, 0, (void*)0, 0};
32817 static swig_type_info _swigt__p_wxFrame
= {"_p_wxFrame", "wxFrame *", 0, 0, (void*)0, 0};
32818 static swig_type_info _swigt__p_wxHtmlLinkInfo
= {"_p_wxHtmlLinkInfo", "wxHtmlLinkInfo *", 0, 0, (void*)0, 0};
32819 static swig_type_info _swigt__p_wxIcon
= {"_p_wxIcon", "wxIcon *", 0, 0, (void*)0, 0};
32820 static swig_type_info _swigt__p_wxIconBundle
= {"_p_wxIconBundle", "wxIconBundle *", 0, 0, (void*)0, 0};
32821 static swig_type_info _swigt__p_wxLayoutAlgorithm
= {"_p_wxLayoutAlgorithm", "wxLayoutAlgorithm *", 0, 0, (void*)0, 0};
32822 static swig_type_info _swigt__p_wxMDIChildFrame
= {"_p_wxMDIChildFrame", "wxMDIChildFrame *", 0, 0, (void*)0, 0};
32823 static swig_type_info _swigt__p_wxMDIClientWindow
= {"_p_wxMDIClientWindow", "wxMDIClientWindow *", 0, 0, (void*)0, 0};
32824 static swig_type_info _swigt__p_wxMDIParentFrame
= {"_p_wxMDIParentFrame", "wxMDIParentFrame *", 0, 0, (void*)0, 0};
32825 static swig_type_info _swigt__p_wxMenu
= {"_p_wxMenu", "wxMenu *", 0, 0, (void*)0, 0};
32826 static swig_type_info _swigt__p_wxMenuBar
= {"_p_wxMenuBar", "wxMenuBar *", 0, 0, (void*)0, 0};
32827 static swig_type_info _swigt__p_wxMessageDialog
= {"_p_wxMessageDialog", "wxMessageDialog *", 0, 0, (void*)0, 0};
32828 static swig_type_info _swigt__p_wxMiniFrame
= {"_p_wxMiniFrame", "wxMiniFrame *", 0, 0, (void*)0, 0};
32829 static swig_type_info _swigt__p_wxMultiChoiceDialog
= {"_p_wxMultiChoiceDialog", "wxMultiChoiceDialog *", 0, 0, (void*)0, 0};
32830 static swig_type_info _swigt__p_wxNotifyEvent
= {"_p_wxNotifyEvent", "wxNotifyEvent *", 0, 0, (void*)0, 0};
32831 static swig_type_info _swigt__p_wxNumberEntryDialog
= {"_p_wxNumberEntryDialog", "wxNumberEntryDialog *", 0, 0, (void*)0, 0};
32832 static swig_type_info _swigt__p_wxObject
= {"_p_wxObject", "wxObject *", 0, 0, (void*)0, 0};
32833 static swig_type_info _swigt__p_wxLayoutConstraints
= {"_p_wxLayoutConstraints", 0, 0, 0, 0, 0};
32834 static swig_type_info _swigt__p_wxSizerItem
= {"_p_wxSizerItem", 0, 0, 0, 0, 0};
32835 static swig_type_info _swigt__p_wxGBSizerItem
= {"_p_wxGBSizerItem", 0, 0, 0, 0, 0};
32836 static swig_type_info _swigt__p_wxIndividualLayoutConstraint
= {"_p_wxIndividualLayoutConstraint", 0, 0, 0, 0, 0};
32837 static swig_type_info _swigt__p_wxStaticBoxSizer
= {"_p_wxStaticBoxSizer", 0, 0, 0, 0, 0};
32838 static swig_type_info _swigt__p_wxBoxSizer
= {"_p_wxBoxSizer", 0, 0, 0, 0, 0};
32839 static swig_type_info _swigt__p_wxSizer
= {"_p_wxSizer", 0, 0, 0, 0, 0};
32840 static swig_type_info _swigt__p_wxGridBagSizer
= {"_p_wxGridBagSizer", 0, 0, 0, 0, 0};
32841 static swig_type_info _swigt__p_wxGridSizer
= {"_p_wxGridSizer", 0, 0, 0, 0, 0};
32842 static swig_type_info _swigt__p_wxFlexGridSizer
= {"_p_wxFlexGridSizer", 0, 0, 0, 0, 0};
32843 static swig_type_info _swigt__p_wxFSFile
= {"_p_wxFSFile", 0, 0, 0, 0, 0};
32844 static swig_type_info _swigt__p_wxPySizer
= {"_p_wxPySizer", 0, 0, 0, 0, 0};
32845 static swig_type_info _swigt__p_wxMenuItem
= {"_p_wxMenuItem", 0, 0, 0, 0, 0};
32846 static swig_type_info _swigt__p_wxBMPHandler
= {"_p_wxBMPHandler", 0, 0, 0, 0, 0};
32847 static swig_type_info _swigt__p_wxICOHandler
= {"_p_wxICOHandler", 0, 0, 0, 0, 0};
32848 static swig_type_info _swigt__p_wxCURHandler
= {"_p_wxCURHandler", 0, 0, 0, 0, 0};
32849 static swig_type_info _swigt__p_wxANIHandler
= {"_p_wxANIHandler", 0, 0, 0, 0, 0};
32850 static swig_type_info _swigt__p_wxPNGHandler
= {"_p_wxPNGHandler", 0, 0, 0, 0, 0};
32851 static swig_type_info _swigt__p_wxGIFHandler
= {"_p_wxGIFHandler", 0, 0, 0, 0, 0};
32852 static swig_type_info _swigt__p_wxPCXHandler
= {"_p_wxPCXHandler", 0, 0, 0, 0, 0};
32853 static swig_type_info _swigt__p_wxJPEGHandler
= {"_p_wxJPEGHandler", 0, 0, 0, 0, 0};
32854 static swig_type_info _swigt__p_wxPNMHandler
= {"_p_wxPNMHandler", 0, 0, 0, 0, 0};
32855 static swig_type_info _swigt__p_wxPyImageHandler
= {"_p_wxPyImageHandler", 0, 0, 0, 0, 0};
32856 static swig_type_info _swigt__p_wxImageHandler
= {"_p_wxImageHandler", 0, 0, 0, 0, 0};
32857 static swig_type_info _swigt__p_wxXPMHandler
= {"_p_wxXPMHandler", 0, 0, 0, 0, 0};
32858 static swig_type_info _swigt__p_wxTIFFHandler
= {"_p_wxTIFFHandler", 0, 0, 0, 0, 0};
32859 static swig_type_info _swigt__p_wxAcceleratorTable
= {"_p_wxAcceleratorTable", 0, 0, 0, 0, 0};
32860 static swig_type_info _swigt__p_wxImage
= {"_p_wxImage", 0, 0, 0, 0, 0};
32861 static swig_type_info _swigt__p_wxPageSetupDialog
= {"_p_wxPageSetupDialog", "wxPageSetupDialog *", 0, 0, (void*)0, 0};
32862 static swig_type_info _swigt__p_wxPageSetupDialogData
= {"_p_wxPageSetupDialogData", "wxPageSetupDialogData *", 0, 0, (void*)0, 0};
32863 static swig_type_info _swigt__p_wxPanel
= {"_p_wxPanel", "wxPanel *", 0, 0, (void*)0, 0};
32864 static swig_type_info _swigt__p_wxPaperSize
= {"_p_wxPaperSize", "enum wxPaperSize *|wxPaperSize *", 0, 0, (void*)0, 0};
32865 static swig_type_info _swigt__p_wxPasswordEntryDialog
= {"_p_wxPasswordEntryDialog", "wxPasswordEntryDialog *", 0, 0, (void*)0, 0};
32866 static swig_type_info _swigt__p_wxPoint
= {"_p_wxPoint", "wxPoint *", 0, 0, (void*)0, 0};
32867 static swig_type_info _swigt__p_wxPopupWindow
= {"_p_wxPopupWindow", "wxPopupWindow *", 0, 0, (void*)0, 0};
32868 static swig_type_info _swigt__p_wxPreviewCanvas
= {"_p_wxPreviewCanvas", "wxPreviewCanvas *", 0, 0, (void*)0, 0};
32869 static swig_type_info _swigt__p_wxPreviewControlBar
= {"_p_wxPreviewControlBar", "wxPreviewControlBar *", 0, 0, (void*)0, 0};
32870 static swig_type_info _swigt__p_wxPreviewFrame
= {"_p_wxPreviewFrame", "wxPreviewFrame *", 0, 0, (void*)0, 0};
32871 static swig_type_info _swigt__p_wxPrintData
= {"_p_wxPrintData", "wxPrintData *", 0, 0, (void*)0, 0};
32872 static swig_type_info _swigt__p_wxPrintDialog
= {"_p_wxPrintDialog", "wxPrintDialog *", 0, 0, (void*)0, 0};
32873 static swig_type_info _swigt__p_wxPrintDialogData
= {"_p_wxPrintDialogData", "wxPrintDialogData *", 0, 0, (void*)0, 0};
32874 static swig_type_info _swigt__p_wxPrintPreview
= {"_p_wxPrintPreview", "wxPrintPreview *", 0, 0, (void*)0, 0};
32875 static swig_type_info _swigt__p_wxPrinter
= {"_p_wxPrinter", "wxPrinter *", 0, 0, (void*)0, 0};
32876 static swig_type_info _swigt__p_wxProgressDialog
= {"_p_wxProgressDialog", "wxProgressDialog *", 0, 0, (void*)0, 0};
32877 static swig_type_info _swigt__p_wxPyHtmlListBox
= {"_p_wxPyHtmlListBox", "wxPyHtmlListBox *", 0, 0, (void*)0, 0};
32878 static swig_type_info _swigt__p_wxPyPanel
= {"_p_wxPyPanel", "wxPyPanel *", 0, 0, (void*)0, 0};
32879 static swig_type_info _swigt__p_wxPyPopupTransientWindow
= {"_p_wxPyPopupTransientWindow", "wxPyPopupTransientWindow *", 0, 0, (void*)0, 0};
32880 static swig_type_info _swigt__p_wxPyPreviewControlBar
= {"_p_wxPyPreviewControlBar", "wxPyPreviewControlBar *", 0, 0, (void*)0, 0};
32881 static swig_type_info _swigt__p_wxPyPreviewFrame
= {"_p_wxPyPreviewFrame", "wxPyPreviewFrame *", 0, 0, (void*)0, 0};
32882 static swig_type_info _swigt__p_wxPyPrintPreview
= {"_p_wxPyPrintPreview", "wxPyPrintPreview *", 0, 0, (void*)0, 0};
32883 static swig_type_info _swigt__p_wxPyPrintout
= {"_p_wxPyPrintout", "wxPyPrintout *", 0, 0, (void*)0, 0};
32884 static swig_type_info _swigt__p_wxPyScrolledWindow
= {"_p_wxPyScrolledWindow", "wxPyScrolledWindow *", 0, 0, (void*)0, 0};
32885 static swig_type_info _swigt__p_wxPyTaskBarIcon
= {"_p_wxPyTaskBarIcon", "wxPyTaskBarIcon *", 0, 0, (void*)0, 0};
32886 static swig_type_info _swigt__p_wxPyVListBox
= {"_p_wxPyVListBox", "wxPyVListBox *", 0, 0, (void*)0, 0};
32887 static swig_type_info _swigt__p_wxPyVScrolledWindow
= {"_p_wxPyVScrolledWindow", "wxPyVScrolledWindow *", 0, 0, (void*)0, 0};
32888 static swig_type_info _swigt__p_wxPyWindow
= {"_p_wxPyWindow", "wxPyWindow *", 0, 0, (void*)0, 0};
32889 static swig_type_info _swigt__p_wxQueryLayoutInfoEvent
= {"_p_wxQueryLayoutInfoEvent", "wxQueryLayoutInfoEvent *", 0, 0, (void*)0, 0};
32890 static swig_type_info _swigt__p_wxRect
= {"_p_wxRect", "wxRect *", 0, 0, (void*)0, 0};
32891 static swig_type_info _swigt__p_wxRegion
= {"_p_wxRegion", "wxRegion *", 0, 0, (void*)0, 0};
32892 static swig_type_info _swigt__p_wxSashEvent
= {"_p_wxSashEvent", "wxSashEvent *", 0, 0, (void*)0, 0};
32893 static swig_type_info _swigt__p_wxSashLayoutWindow
= {"_p_wxSashLayoutWindow", "wxSashLayoutWindow *", 0, 0, (void*)0, 0};
32894 static swig_type_info _swigt__p_wxSashWindow
= {"_p_wxSashWindow", "wxSashWindow *", 0, 0, (void*)0, 0};
32895 static swig_type_info _swigt__p_wxScrollWinEvent
= {"_p_wxScrollWinEvent", "wxScrollWinEvent *", 0, 0, (void*)0, 0};
32896 static swig_type_info _swigt__p_wxScrolledWindow
= {"_p_wxScrolledWindow", "wxScrolledWindow *", 0, 0, (void*)0, 0};
32897 static swig_type_info _swigt__p_wxSingleChoiceDialog
= {"_p_wxSingleChoiceDialog", "wxSingleChoiceDialog *", 0, 0, (void*)0, 0};
32898 static swig_type_info _swigt__p_wxSize
= {"_p_wxSize", "wxSize *", 0, 0, (void*)0, 0};
32899 static swig_type_info _swigt__p_wxSplashScreen
= {"_p_wxSplashScreen", "wxSplashScreen *", 0, 0, (void*)0, 0};
32900 static swig_type_info _swigt__p_wxSplashScreenWindow
= {"_p_wxSplashScreenWindow", "wxSplashScreenWindow *", 0, 0, (void*)0, 0};
32901 static swig_type_info _swigt__p_wxSplitterEvent
= {"_p_wxSplitterEvent", "wxSplitterEvent *", 0, 0, (void*)0, 0};
32902 static swig_type_info _swigt__p_wxSplitterWindow
= {"_p_wxSplitterWindow", "wxSplitterWindow *", 0, 0, (void*)0, 0};
32903 static swig_type_info _swigt__p_wxStatusBar
= {"_p_wxStatusBar", "wxStatusBar *", 0, 0, (void*)0, 0};
32904 static swig_type_info _swigt__p_wxStdDialogButtonSizer
= {"_p_wxStdDialogButtonSizer", "wxStdDialogButtonSizer *", 0, 0, (void*)0, 0};
32905 static swig_type_info _swigt__p_wxString
= {"_p_wxString", "wxString *", 0, 0, (void*)0, 0};
32906 static swig_type_info _swigt__p_wxTaskBarIcon
= {"_p_wxTaskBarIcon", "wxTaskBarIcon *", 0, 0, (void*)0, 0};
32907 static swig_type_info _swigt__p_wxTaskBarIconEvent
= {"_p_wxTaskBarIconEvent", "wxTaskBarIconEvent *", 0, 0, (void*)0, 0};
32908 static swig_type_info _swigt__p_wxTextEntryDialog
= {"_p_wxTextEntryDialog", "wxTextEntryDialog *", 0, 0, (void*)0, 0};
32909 static swig_type_info _swigt__p_wxTipWindow
= {"_p_wxTipWindow", "wxTipWindow *", 0, 0, (void*)0, 0};
32910 static swig_type_info _swigt__p_wxToolBar
= {"_p_wxToolBar", "wxToolBar *", 0, 0, (void*)0, 0};
32911 static swig_type_info _swigt__p_wxTopLevelWindow
= {"_p_wxTopLevelWindow", "wxTopLevelWindow *", 0, 0, (void*)0, 0};
32912 static swig_type_info _swigt__p_wxVisualAttributes
= {"_p_wxVisualAttributes", "wxVisualAttributes *", 0, 0, (void*)0, 0};
32913 static swig_type_info _swigt__p_wxWindow
= {"_p_wxWindow", "wxWindow *", 0, 0, (void*)0, 0};
32915 static swig_type_info
*swig_type_initial
[] = {
32918 &_swigt__p_form_ops_t
,
32920 &_swigt__p_unsigned_char
,
32921 &_swigt__p_unsigned_int
,
32922 &_swigt__p_unsigned_long
,
32923 &_swigt__p_wxANIHandler
,
32924 &_swigt__p_wxAcceleratorTable
,
32925 &_swigt__p_wxActivateEvent
,
32926 &_swigt__p_wxArrayInt
,
32927 &_swigt__p_wxBMPHandler
,
32928 &_swigt__p_wxBitmap
,
32929 &_swigt__p_wxBoxSizer
,
32930 &_swigt__p_wxCURHandler
,
32931 &_swigt__p_wxCalculateLayoutEvent
,
32932 &_swigt__p_wxChildFocusEvent
,
32933 &_swigt__p_wxClipboardTextEvent
,
32934 &_swigt__p_wxCloseEvent
,
32935 &_swigt__p_wxColour
,
32936 &_swigt__p_wxColourData
,
32937 &_swigt__p_wxColourDialog
,
32938 &_swigt__p_wxCommandEvent
,
32939 &_swigt__p_wxContextMenuEvent
,
32940 &_swigt__p_wxControl
,
32941 &_swigt__p_wxControlWithItems
,
32943 &_swigt__p_wxDateEvent
,
32944 &_swigt__p_wxDialog
,
32945 &_swigt__p_wxDirDialog
,
32946 &_swigt__p_wxDisplayChangedEvent
,
32947 &_swigt__p_wxDropFilesEvent
,
32948 &_swigt__p_wxDuplexMode
,
32949 &_swigt__p_wxEraseEvent
,
32950 &_swigt__p_wxEvent
,
32951 &_swigt__p_wxEvtHandler
,
32952 &_swigt__p_wxFSFile
,
32953 &_swigt__p_wxFileDialog
,
32954 &_swigt__p_wxFileSystem
,
32955 &_swigt__p_wxFindDialogEvent
,
32956 &_swigt__p_wxFindReplaceData
,
32957 &_swigt__p_wxFindReplaceDialog
,
32958 &_swigt__p_wxFlexGridSizer
,
32959 &_swigt__p_wxFocusEvent
,
32961 &_swigt__p_wxFontData
,
32962 &_swigt__p_wxFontDialog
,
32963 &_swigt__p_wxFrame
,
32964 &_swigt__p_wxGBSizerItem
,
32965 &_swigt__p_wxGIFHandler
,
32966 &_swigt__p_wxGridBagSizer
,
32967 &_swigt__p_wxGridSizer
,
32968 &_swigt__p_wxHtmlLinkInfo
,
32969 &_swigt__p_wxICOHandler
,
32971 &_swigt__p_wxIconBundle
,
32972 &_swigt__p_wxIconizeEvent
,
32973 &_swigt__p_wxIdleEvent
,
32974 &_swigt__p_wxImage
,
32975 &_swigt__p_wxImageHandler
,
32976 &_swigt__p_wxIndividualLayoutConstraint
,
32977 &_swigt__p_wxInitDialogEvent
,
32978 &_swigt__p_wxJPEGHandler
,
32979 &_swigt__p_wxKeyEvent
,
32980 &_swigt__p_wxLayoutAlgorithm
,
32981 &_swigt__p_wxLayoutConstraints
,
32982 &_swigt__p_wxMDIChildFrame
,
32983 &_swigt__p_wxMDIClientWindow
,
32984 &_swigt__p_wxMDIParentFrame
,
32985 &_swigt__p_wxMaximizeEvent
,
32987 &_swigt__p_wxMenuBar
,
32988 &_swigt__p_wxMenuEvent
,
32989 &_swigt__p_wxMenuItem
,
32990 &_swigt__p_wxMessageDialog
,
32991 &_swigt__p_wxMiniFrame
,
32992 &_swigt__p_wxMouseCaptureChangedEvent
,
32993 &_swigt__p_wxMouseCaptureLostEvent
,
32994 &_swigt__p_wxMouseEvent
,
32995 &_swigt__p_wxMoveEvent
,
32996 &_swigt__p_wxMultiChoiceDialog
,
32997 &_swigt__p_wxNavigationKeyEvent
,
32998 &_swigt__p_wxNcPaintEvent
,
32999 &_swigt__p_wxNotifyEvent
,
33000 &_swigt__p_wxNumberEntryDialog
,
33001 &_swigt__p_wxObject
,
33002 &_swigt__p_wxPCXHandler
,
33003 &_swigt__p_wxPNGHandler
,
33004 &_swigt__p_wxPNMHandler
,
33005 &_swigt__p_wxPageSetupDialog
,
33006 &_swigt__p_wxPageSetupDialogData
,
33007 &_swigt__p_wxPaintEvent
,
33008 &_swigt__p_wxPaletteChangedEvent
,
33009 &_swigt__p_wxPanel
,
33010 &_swigt__p_wxPaperSize
,
33011 &_swigt__p_wxPasswordEntryDialog
,
33012 &_swigt__p_wxPoint
,
33013 &_swigt__p_wxPopupWindow
,
33014 &_swigt__p_wxPreviewCanvas
,
33015 &_swigt__p_wxPreviewControlBar
,
33016 &_swigt__p_wxPreviewFrame
,
33017 &_swigt__p_wxPrintData
,
33018 &_swigt__p_wxPrintDialog
,
33019 &_swigt__p_wxPrintDialogData
,
33020 &_swigt__p_wxPrintPreview
,
33021 &_swigt__p_wxPrinter
,
33022 &_swigt__p_wxProgressDialog
,
33023 &_swigt__p_wxPyApp
,
33024 &_swigt__p_wxPyCommandEvent
,
33025 &_swigt__p_wxPyEvent
,
33026 &_swigt__p_wxPyHtmlListBox
,
33027 &_swigt__p_wxPyImageHandler
,
33028 &_swigt__p_wxPyPanel
,
33029 &_swigt__p_wxPyPopupTransientWindow
,
33030 &_swigt__p_wxPyPreviewControlBar
,
33031 &_swigt__p_wxPyPreviewFrame
,
33032 &_swigt__p_wxPyPrintPreview
,
33033 &_swigt__p_wxPyPrintout
,
33034 &_swigt__p_wxPyScrolledWindow
,
33035 &_swigt__p_wxPySizer
,
33036 &_swigt__p_wxPyTaskBarIcon
,
33037 &_swigt__p_wxPyVListBox
,
33038 &_swigt__p_wxPyVScrolledWindow
,
33039 &_swigt__p_wxPyValidator
,
33040 &_swigt__p_wxPyWindow
,
33041 &_swigt__p_wxQueryLayoutInfoEvent
,
33042 &_swigt__p_wxQueryNewPaletteEvent
,
33044 &_swigt__p_wxRegion
,
33045 &_swigt__p_wxSashEvent
,
33046 &_swigt__p_wxSashLayoutWindow
,
33047 &_swigt__p_wxSashWindow
,
33048 &_swigt__p_wxScrollEvent
,
33049 &_swigt__p_wxScrollWinEvent
,
33050 &_swigt__p_wxScrolledWindow
,
33051 &_swigt__p_wxSetCursorEvent
,
33052 &_swigt__p_wxShowEvent
,
33053 &_swigt__p_wxSingleChoiceDialog
,
33055 &_swigt__p_wxSizeEvent
,
33056 &_swigt__p_wxSizer
,
33057 &_swigt__p_wxSizerItem
,
33058 &_swigt__p_wxSplashScreen
,
33059 &_swigt__p_wxSplashScreenWindow
,
33060 &_swigt__p_wxSplitterEvent
,
33061 &_swigt__p_wxSplitterWindow
,
33062 &_swigt__p_wxStaticBoxSizer
,
33063 &_swigt__p_wxStatusBar
,
33064 &_swigt__p_wxStdDialogButtonSizer
,
33065 &_swigt__p_wxString
,
33066 &_swigt__p_wxSysColourChangedEvent
,
33067 &_swigt__p_wxTIFFHandler
,
33068 &_swigt__p_wxTaskBarIcon
,
33069 &_swigt__p_wxTaskBarIconEvent
,
33070 &_swigt__p_wxTextEntryDialog
,
33071 &_swigt__p_wxTipWindow
,
33072 &_swigt__p_wxToolBar
,
33073 &_swigt__p_wxTopLevelWindow
,
33074 &_swigt__p_wxUpdateUIEvent
,
33075 &_swigt__p_wxValidator
,
33076 &_swigt__p_wxVisualAttributes
,
33077 &_swigt__p_wxWindow
,
33078 &_swigt__p_wxWindowCreateEvent
,
33079 &_swigt__p_wxWindowDestroyEvent
,
33080 &_swigt__p_wxXPMHandler
,
33083 static swig_cast_info _swigc__p_bool
[] = { {&_swigt__p_bool
, 0, 0, 0},{0, 0, 0, 0}};
33084 static swig_cast_info _swigc__p_char
[] = { {&_swigt__p_char
, 0, 0, 0},{0, 0, 0, 0}};
33085 static swig_cast_info _swigc__p_form_ops_t
[] = { {&_swigt__p_form_ops_t
, 0, 0, 0},{0, 0, 0, 0}};
33086 static swig_cast_info _swigc__p_int
[] = { {&_swigt__p_int
, 0, 0, 0},{0, 0, 0, 0}};
33087 static swig_cast_info _swigc__p_unsigned_char
[] = { {&_swigt__p_unsigned_char
, 0, 0, 0},{0, 0, 0, 0}};
33088 static swig_cast_info _swigc__p_unsigned_int
[] = { {&_swigt__p_unsigned_int
, 0, 0, 0},{0, 0, 0, 0}};
33089 static swig_cast_info _swigc__p_unsigned_long
[] = { {&_swigt__p_unsigned_long
, 0, 0, 0},{0, 0, 0, 0}};
33090 static swig_cast_info _swigc__p_wxArrayInt
[] = { {&_swigt__p_wxArrayInt
, 0, 0, 0},{0, 0, 0, 0}};
33091 static swig_cast_info _swigc__p_wxBitmap
[] = { {&_swigt__p_wxBitmap
, 0, 0, 0},{0, 0, 0, 0}};
33092 static swig_cast_info _swigc__p_wxCalculateLayoutEvent
[] = { {&_swigt__p_wxCalculateLayoutEvent
, 0, 0, 0},{0, 0, 0, 0}};
33093 static swig_cast_info _swigc__p_wxColour
[] = { {&_swigt__p_wxColour
, 0, 0, 0},{0, 0, 0, 0}};
33094 static swig_cast_info _swigc__p_wxColourData
[] = { {&_swigt__p_wxColourData
, 0, 0, 0},{0, 0, 0, 0}};
33095 static swig_cast_info _swigc__p_wxColourDialog
[] = { {&_swigt__p_wxColourDialog
, 0, 0, 0},{0, 0, 0, 0}};
33096 static swig_cast_info _swigc__p_wxWindowDestroyEvent
[] = {{&_swigt__p_wxWindowDestroyEvent
, 0, 0, 0},{0, 0, 0, 0}};
33097 static swig_cast_info _swigc__p_wxClipboardTextEvent
[] = {{&_swigt__p_wxClipboardTextEvent
, 0, 0, 0},{0, 0, 0, 0}};
33098 static swig_cast_info _swigc__p_wxScrollEvent
[] = {{&_swigt__p_wxScrollEvent
, 0, 0, 0},{0, 0, 0, 0}};
33099 static swig_cast_info _swigc__p_wxPyCommandEvent
[] = {{&_swigt__p_wxPyCommandEvent
, 0, 0, 0},{0, 0, 0, 0}};
33100 static swig_cast_info _swigc__p_wxContextMenuEvent
[] = {{&_swigt__p_wxContextMenuEvent
, 0, 0, 0},{0, 0, 0, 0}};
33101 static swig_cast_info _swigc__p_wxChildFocusEvent
[] = {{&_swigt__p_wxChildFocusEvent
, 0, 0, 0},{0, 0, 0, 0}};
33102 static swig_cast_info _swigc__p_wxWindowCreateEvent
[] = {{&_swigt__p_wxWindowCreateEvent
, 0, 0, 0},{0, 0, 0, 0}};
33103 static swig_cast_info _swigc__p_wxDateEvent
[] = {{&_swigt__p_wxDateEvent
, 0, 0, 0},{0, 0, 0, 0}};
33104 static swig_cast_info _swigc__p_wxUpdateUIEvent
[] = {{&_swigt__p_wxUpdateUIEvent
, 0, 0, 0},{0, 0, 0, 0}};
33105 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}};
33106 static swig_cast_info _swigc__p_wxDC
[] = { {&_swigt__p_wxDC
, 0, 0, 0},{0, 0, 0, 0}};
33107 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}};
33108 static swig_cast_info _swigc__p_wxDirDialog
[] = { {&_swigt__p_wxDirDialog
, 0, 0, 0},{0, 0, 0, 0}};
33109 static swig_cast_info _swigc__p_wxDuplexMode
[] = { {&_swigt__p_wxDuplexMode
, 0, 0, 0},{0, 0, 0, 0}};
33110 static swig_cast_info _swigc__p_wxMenuEvent
[] = {{&_swigt__p_wxMenuEvent
, 0, 0, 0},{0, 0, 0, 0}};
33111 static swig_cast_info _swigc__p_wxCloseEvent
[] = {{&_swigt__p_wxCloseEvent
, 0, 0, 0},{0, 0, 0, 0}};
33112 static swig_cast_info _swigc__p_wxMouseEvent
[] = {{&_swigt__p_wxMouseEvent
, 0, 0, 0},{0, 0, 0, 0}};
33113 static swig_cast_info _swigc__p_wxEraseEvent
[] = {{&_swigt__p_wxEraseEvent
, 0, 0, 0},{0, 0, 0, 0}};
33114 static swig_cast_info _swigc__p_wxSetCursorEvent
[] = {{&_swigt__p_wxSetCursorEvent
, 0, 0, 0},{0, 0, 0, 0}};
33115 static swig_cast_info _swigc__p_wxInitDialogEvent
[] = {{&_swigt__p_wxInitDialogEvent
, 0, 0, 0},{0, 0, 0, 0}};
33116 static swig_cast_info _swigc__p_wxPyEvent
[] = {{&_swigt__p_wxPyEvent
, 0, 0, 0},{0, 0, 0, 0}};
33117 static swig_cast_info _swigc__p_wxMouseCaptureLostEvent
[] = {{&_swigt__p_wxMouseCaptureLostEvent
, 0, 0, 0},{0, 0, 0, 0}};
33118 static swig_cast_info _swigc__p_wxIdleEvent
[] = {{&_swigt__p_wxIdleEvent
, 0, 0, 0},{0, 0, 0, 0}};
33119 static swig_cast_info _swigc__p_wxQueryNewPaletteEvent
[] = {{&_swigt__p_wxQueryNewPaletteEvent
, 0, 0, 0},{0, 0, 0, 0}};
33120 static swig_cast_info _swigc__p_wxMaximizeEvent
[] = {{&_swigt__p_wxMaximizeEvent
, 0, 0, 0},{0, 0, 0, 0}};
33121 static swig_cast_info _swigc__p_wxIconizeEvent
[] = {{&_swigt__p_wxIconizeEvent
, 0, 0, 0},{0, 0, 0, 0}};
33122 static swig_cast_info _swigc__p_wxActivateEvent
[] = {{&_swigt__p_wxActivateEvent
, 0, 0, 0},{0, 0, 0, 0}};
33123 static swig_cast_info _swigc__p_wxSizeEvent
[] = {{&_swigt__p_wxSizeEvent
, 0, 0, 0},{0, 0, 0, 0}};
33124 static swig_cast_info _swigc__p_wxMoveEvent
[] = {{&_swigt__p_wxMoveEvent
, 0, 0, 0},{0, 0, 0, 0}};
33125 static swig_cast_info _swigc__p_wxPaintEvent
[] = {{&_swigt__p_wxPaintEvent
, 0, 0, 0},{0, 0, 0, 0}};
33126 static swig_cast_info _swigc__p_wxNcPaintEvent
[] = {{&_swigt__p_wxNcPaintEvent
, 0, 0, 0},{0, 0, 0, 0}};
33127 static swig_cast_info _swigc__p_wxPaletteChangedEvent
[] = {{&_swigt__p_wxPaletteChangedEvent
, 0, 0, 0},{0, 0, 0, 0}};
33128 static swig_cast_info _swigc__p_wxDisplayChangedEvent
[] = {{&_swigt__p_wxDisplayChangedEvent
, 0, 0, 0},{0, 0, 0, 0}};
33129 static swig_cast_info _swigc__p_wxMouseCaptureChangedEvent
[] = {{&_swigt__p_wxMouseCaptureChangedEvent
, 0, 0, 0},{0, 0, 0, 0}};
33130 static swig_cast_info _swigc__p_wxSysColourChangedEvent
[] = {{&_swigt__p_wxSysColourChangedEvent
, 0, 0, 0},{0, 0, 0, 0}};
33131 static swig_cast_info _swigc__p_wxDropFilesEvent
[] = {{&_swigt__p_wxDropFilesEvent
, 0, 0, 0},{0, 0, 0, 0}};
33132 static swig_cast_info _swigc__p_wxFocusEvent
[] = {{&_swigt__p_wxFocusEvent
, 0, 0, 0},{0, 0, 0, 0}};
33133 static swig_cast_info _swigc__p_wxShowEvent
[] = {{&_swigt__p_wxShowEvent
, 0, 0, 0},{0, 0, 0, 0}};
33134 static swig_cast_info _swigc__p_wxNavigationKeyEvent
[] = {{&_swigt__p_wxNavigationKeyEvent
, 0, 0, 0},{0, 0, 0, 0}};
33135 static swig_cast_info _swigc__p_wxKeyEvent
[] = {{&_swigt__p_wxKeyEvent
, 0, 0, 0},{0, 0, 0, 0}};
33136 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}};
33137 static swig_cast_info _swigc__p_wxValidator
[] = {{&_swigt__p_wxValidator
, 0, 0, 0},{0, 0, 0, 0}};
33138 static swig_cast_info _swigc__p_wxPyValidator
[] = {{&_swigt__p_wxPyValidator
, 0, 0, 0},{0, 0, 0, 0}};
33139 static swig_cast_info _swigc__p_wxControl
[] = {{&_swigt__p_wxControl
, 0, 0, 0},{0, 0, 0, 0}};
33140 static swig_cast_info _swigc__p_wxPyApp
[] = {{&_swigt__p_wxPyApp
, 0, 0, 0},{0, 0, 0, 0}};
33141 static swig_cast_info _swigc__p_wxControlWithItems
[] = {{&_swigt__p_wxControlWithItems
, 0, 0, 0},{0, 0, 0, 0}};
33142 static swig_cast_info _swigc__p_wxEvtHandler
[] = { {&_swigt__p_wxSplashScreen
, _p_wxSplashScreenTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxMiniFrame
, _p_wxMiniFrameTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxPyPanel
, _p_wxPyPanelTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxMenuBar
, _p_wxMenuBarTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxValidator
, _p_wxValidatorTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxPyValidator
, _p_wxPyValidatorTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxNumberEntryDialog
, _p_wxNumberEntryDialogTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxFileDialog
, _p_wxFileDialogTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxFindReplaceDialog
, _p_wxFindReplaceDialogTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxProgressDialog
, _p_wxProgressDialogTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxMessageDialog
, _p_wxMessageDialogTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxPasswordEntryDialog
, _p_wxPasswordEntryDialogTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxTextEntryDialog
, _p_wxTextEntryDialogTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxSingleChoiceDialog
, _p_wxSingleChoiceDialogTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxMultiChoiceDialog
, _p_wxMultiChoiceDialogTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxPanel
, _p_wxPanelTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxStatusBar
, _p_wxStatusBarTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxTopLevelWindow
, _p_wxTopLevelWindowTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxMDIClientWindow
, _p_wxMDIClientWindowTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxPyVScrolledWindow
, _p_wxPyVScrolledWindowTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxPyScrolledWindow
, _p_wxPyScrolledWindowTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxScrolledWindow
, _p_wxScrolledWindowTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxWindow
, _p_wxWindowTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxSashWindow
, _p_wxSashWindowTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxSashLayoutWindow
, _p_wxSashLayoutWindowTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxSplitterWindow
, _p_wxSplitterWindowTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxSplashScreenWindow
, _p_wxSplashScreenWindowTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxPopupWindow
, _p_wxPopupWindowTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxPyPopupTransientWindow
, _p_wxPyPopupTransientWindowTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxTipWindow
, _p_wxTipWindowTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxPyPreviewFrame
, _p_wxPyPreviewFrameTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxPreviewFrame
, _p_wxPreviewFrameTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxControl
, _p_wxControlTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxMDIChildFrame
, _p_wxMDIChildFrameTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxPyApp
, _p_wxPyAppTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxControlWithItems
, _p_wxControlWithItemsTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxEvtHandler
, 0, 0, 0}, {&_swigt__p_wxPreviewCanvas
, _p_wxPreviewCanvasTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxPyWindow
, _p_wxPyWindowTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxPyHtmlListBox
, _p_wxPyHtmlListBoxTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxPyVListBox
, _p_wxPyVListBoxTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxPyPreviewControlBar
, _p_wxPyPreviewControlBarTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxPreviewControlBar
, _p_wxPreviewControlBarTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxPyTaskBarIcon
, _p_wxPyTaskBarIconTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxFrame
, _p_wxFrameTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxDialog
, _p_wxDialogTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxColourDialog
, _p_wxColourDialogTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxDirDialog
, _p_wxDirDialogTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxFontDialog
, _p_wxFontDialogTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxMenu
, _p_wxMenuTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxMDIParentFrame
, _p_wxMDIParentFrameTo_p_wxEvtHandler
, 0, 0},{0, 0, 0, 0}};
33143 static swig_cast_info _swigc__p_wxFileDialog
[] = { {&_swigt__p_wxFileDialog
, 0, 0, 0},{0, 0, 0, 0}};
33144 static swig_cast_info _swigc__p_wxFileSystem
[] = { {&_swigt__p_wxFileSystem
, 0, 0, 0},{0, 0, 0, 0}};
33145 static swig_cast_info _swigc__p_wxFindDialogEvent
[] = { {&_swigt__p_wxFindDialogEvent
, 0, 0, 0},{0, 0, 0, 0}};
33146 static swig_cast_info _swigc__p_wxFindReplaceData
[] = { {&_swigt__p_wxFindReplaceData
, 0, 0, 0},{0, 0, 0, 0}};
33147 static swig_cast_info _swigc__p_wxFindReplaceDialog
[] = { {&_swigt__p_wxFindReplaceDialog
, 0, 0, 0},{0, 0, 0, 0}};
33148 static swig_cast_info _swigc__p_wxFont
[] = { {&_swigt__p_wxFont
, 0, 0, 0},{0, 0, 0, 0}};
33149 static swig_cast_info _swigc__p_wxFontData
[] = { {&_swigt__p_wxFontData
, 0, 0, 0},{0, 0, 0, 0}};
33150 static swig_cast_info _swigc__p_wxFontDialog
[] = { {&_swigt__p_wxFontDialog
, 0, 0, 0},{0, 0, 0, 0}};
33151 static swig_cast_info _swigc__p_wxFrame
[] = { {&_swigt__p_wxMDIChildFrame
, _p_wxMDIChildFrameTo_p_wxFrame
, 0, 0}, {&_swigt__p_wxProgressDialog
, _p_wxProgressDialogTo_p_wxFrame
, 0, 0}, {&_swigt__p_wxPreviewFrame
, _p_wxPreviewFrameTo_p_wxFrame
, 0, 0}, {&_swigt__p_wxPyPreviewFrame
, _p_wxPyPreviewFrameTo_p_wxFrame
, 0, 0}, {&_swigt__p_wxMiniFrame
, _p_wxMiniFrameTo_p_wxFrame
, 0, 0}, {&_swigt__p_wxFrame
, 0, 0, 0}, {&_swigt__p_wxSplashScreen
, _p_wxSplashScreenTo_p_wxFrame
, 0, 0}, {&_swigt__p_wxMDIParentFrame
, _p_wxMDIParentFrameTo_p_wxFrame
, 0, 0},{0, 0, 0, 0}};
33152 static swig_cast_info _swigc__p_wxHtmlLinkInfo
[] = { {&_swigt__p_wxHtmlLinkInfo
, 0, 0, 0},{0, 0, 0, 0}};
33153 static swig_cast_info _swigc__p_wxIcon
[] = { {&_swigt__p_wxIcon
, 0, 0, 0},{0, 0, 0, 0}};
33154 static swig_cast_info _swigc__p_wxIconBundle
[] = { {&_swigt__p_wxIconBundle
, 0, 0, 0},{0, 0, 0, 0}};
33155 static swig_cast_info _swigc__p_wxLayoutAlgorithm
[] = { {&_swigt__p_wxLayoutAlgorithm
, 0, 0, 0},{0, 0, 0, 0}};
33156 static swig_cast_info _swigc__p_wxMDIChildFrame
[] = { {&_swigt__p_wxMDIChildFrame
, 0, 0, 0},{0, 0, 0, 0}};
33157 static swig_cast_info _swigc__p_wxMDIClientWindow
[] = { {&_swigt__p_wxMDIClientWindow
, 0, 0, 0},{0, 0, 0, 0}};
33158 static swig_cast_info _swigc__p_wxMDIParentFrame
[] = { {&_swigt__p_wxMDIParentFrame
, 0, 0, 0},{0, 0, 0, 0}};
33159 static swig_cast_info _swigc__p_wxMenu
[] = { {&_swigt__p_wxMenu
, 0, 0, 0},{0, 0, 0, 0}};
33160 static swig_cast_info _swigc__p_wxMenuBar
[] = { {&_swigt__p_wxMenuBar
, 0, 0, 0},{0, 0, 0, 0}};
33161 static swig_cast_info _swigc__p_wxMessageDialog
[] = { {&_swigt__p_wxMessageDialog
, 0, 0, 0},{0, 0, 0, 0}};
33162 static swig_cast_info _swigc__p_wxMiniFrame
[] = { {&_swigt__p_wxMiniFrame
, 0, 0, 0},{0, 0, 0, 0}};
33163 static swig_cast_info _swigc__p_wxMultiChoiceDialog
[] = { {&_swigt__p_wxMultiChoiceDialog
, 0, 0, 0},{0, 0, 0, 0}};
33164 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}};
33165 static swig_cast_info _swigc__p_wxNumberEntryDialog
[] = { {&_swigt__p_wxNumberEntryDialog
, 0, 0, 0},{0, 0, 0, 0}};
33166 static swig_cast_info _swigc__p_wxLayoutConstraints
[] = {{&_swigt__p_wxLayoutConstraints
, 0, 0, 0},{0, 0, 0, 0}};
33167 static swig_cast_info _swigc__p_wxSizerItem
[] = {{&_swigt__p_wxSizerItem
, 0, 0, 0},{0, 0, 0, 0}};
33168 static swig_cast_info _swigc__p_wxGBSizerItem
[] = {{&_swigt__p_wxGBSizerItem
, 0, 0, 0},{0, 0, 0, 0}};
33169 static swig_cast_info _swigc__p_wxIndividualLayoutConstraint
[] = {{&_swigt__p_wxIndividualLayoutConstraint
, 0, 0, 0},{0, 0, 0, 0}};
33170 static swig_cast_info _swigc__p_wxStaticBoxSizer
[] = {{&_swigt__p_wxStaticBoxSizer
, 0, 0, 0},{0, 0, 0, 0}};
33171 static swig_cast_info _swigc__p_wxBoxSizer
[] = {{&_swigt__p_wxBoxSizer
, 0, 0, 0},{0, 0, 0, 0}};
33172 static swig_cast_info _swigc__p_wxSizer
[] = {{&_swigt__p_wxSizer
, 0, 0, 0},{0, 0, 0, 0}};
33173 static swig_cast_info _swigc__p_wxGridBagSizer
[] = {{&_swigt__p_wxGridBagSizer
, 0, 0, 0},{0, 0, 0, 0}};
33174 static swig_cast_info _swigc__p_wxGridSizer
[] = {{&_swigt__p_wxGridSizer
, 0, 0, 0},{0, 0, 0, 0}};
33175 static swig_cast_info _swigc__p_wxFlexGridSizer
[] = {{&_swigt__p_wxFlexGridSizer
, 0, 0, 0},{0, 0, 0, 0}};
33176 static swig_cast_info _swigc__p_wxFSFile
[] = {{&_swigt__p_wxFSFile
, 0, 0, 0},{0, 0, 0, 0}};
33177 static swig_cast_info _swigc__p_wxPySizer
[] = {{&_swigt__p_wxPySizer
, 0, 0, 0},{0, 0, 0, 0}};
33178 static swig_cast_info _swigc__p_wxMenuItem
[] = {{&_swigt__p_wxMenuItem
, 0, 0, 0},{0, 0, 0, 0}};
33179 static swig_cast_info _swigc__p_wxBMPHandler
[] = {{&_swigt__p_wxBMPHandler
, 0, 0, 0},{0, 0, 0, 0}};
33180 static swig_cast_info _swigc__p_wxICOHandler
[] = {{&_swigt__p_wxICOHandler
, 0, 0, 0},{0, 0, 0, 0}};
33181 static swig_cast_info _swigc__p_wxCURHandler
[] = {{&_swigt__p_wxCURHandler
, 0, 0, 0},{0, 0, 0, 0}};
33182 static swig_cast_info _swigc__p_wxANIHandler
[] = {{&_swigt__p_wxANIHandler
, 0, 0, 0},{0, 0, 0, 0}};
33183 static swig_cast_info _swigc__p_wxPNGHandler
[] = {{&_swigt__p_wxPNGHandler
, 0, 0, 0},{0, 0, 0, 0}};
33184 static swig_cast_info _swigc__p_wxGIFHandler
[] = {{&_swigt__p_wxGIFHandler
, 0, 0, 0},{0, 0, 0, 0}};
33185 static swig_cast_info _swigc__p_wxPCXHandler
[] = {{&_swigt__p_wxPCXHandler
, 0, 0, 0},{0, 0, 0, 0}};
33186 static swig_cast_info _swigc__p_wxJPEGHandler
[] = {{&_swigt__p_wxJPEGHandler
, 0, 0, 0},{0, 0, 0, 0}};
33187 static swig_cast_info _swigc__p_wxPNMHandler
[] = {{&_swigt__p_wxPNMHandler
, 0, 0, 0},{0, 0, 0, 0}};
33188 static swig_cast_info _swigc__p_wxPyImageHandler
[] = {{&_swigt__p_wxPyImageHandler
, 0, 0, 0},{0, 0, 0, 0}};
33189 static swig_cast_info _swigc__p_wxImageHandler
[] = {{&_swigt__p_wxImageHandler
, 0, 0, 0},{0, 0, 0, 0}};
33190 static swig_cast_info _swigc__p_wxXPMHandler
[] = {{&_swigt__p_wxXPMHandler
, 0, 0, 0},{0, 0, 0, 0}};
33191 static swig_cast_info _swigc__p_wxTIFFHandler
[] = {{&_swigt__p_wxTIFFHandler
, 0, 0, 0},{0, 0, 0, 0}};
33192 static swig_cast_info _swigc__p_wxAcceleratorTable
[] = {{&_swigt__p_wxAcceleratorTable
, 0, 0, 0},{0, 0, 0, 0}};
33193 static swig_cast_info _swigc__p_wxImage
[] = {{&_swigt__p_wxImage
, 0, 0, 0},{0, 0, 0, 0}};
33194 static swig_cast_info _swigc__p_wxObject
[] = { {&_swigt__p_wxQueryLayoutInfoEvent
, _p_wxQueryLayoutInfoEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxLayoutConstraints
, _p_wxLayoutConstraintsTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPreviewFrame
, _p_wxPreviewFrameTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPyPreviewFrame
, _p_wxPyPreviewFrameTo_p_wxObject
, 0, 0}, {&_swigt__p_wxSizerItem
, _p_wxSizerItemTo_p_wxObject
, 0, 0}, {&_swigt__p_wxGBSizerItem
, _p_wxGBSizerItemTo_p_wxObject
, 0, 0}, {&_swigt__p_wxScrollEvent
, _p_wxScrollEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxIndividualLayoutConstraint
, _p_wxIndividualLayoutConstraintTo_p_wxObject
, 0, 0}, {&_swigt__p_wxStaticBoxSizer
, _p_wxStaticBoxSizerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxBoxSizer
, _p_wxBoxSizerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxSizer
, _p_wxSizerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxGridBagSizer
, _p_wxGridBagSizerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxUpdateUIEvent
, _p_wxUpdateUIEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPyPanel
, _p_wxPyPanelTo_p_wxObject
, 0, 0}, {&_swigt__p_wxMenu
, _p_wxMenuTo_p_wxObject
, 0, 0}, {&_swigt__p_wxFontData
, _p_wxFontDataTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPrintData
, _p_wxPrintDataTo_p_wxObject
, 0, 0}, {&_swigt__p_wxEvent
, _p_wxEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxGridSizer
, _p_wxGridSizerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxFlexGridSizer
, _p_wxFlexGridSizerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPyTaskBarIcon
, _p_wxPyTaskBarIconTo_p_wxObject
, 0, 0}, {&_swigt__p_wxLayoutAlgorithm
, _p_wxLayoutAlgorithmTo_p_wxObject
, 0, 0}, {&_swigt__p_wxInitDialogEvent
, _p_wxInitDialogEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxFindDialogEvent
, _p_wxFindDialogEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPaintEvent
, _p_wxPaintEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxNcPaintEvent
, _p_wxNcPaintEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxClipboardTextEvent
, _p_wxClipboardTextEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPaletteChangedEvent
, _p_wxPaletteChangedEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxDisplayChangedEvent
, _p_wxDisplayChangedEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxMouseCaptureChangedEvent
, _p_wxMouseCaptureChangedEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxSysColourChangedEvent
, _p_wxSysColourChangedEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPreviewCanvas
, _p_wxPreviewCanvasTo_p_wxObject
, 0, 0}, {&_swigt__p_wxControl
, _p_wxControlTo_p_wxObject
, 0, 0}, {&_swigt__p_wxSetCursorEvent
, _p_wxSetCursorEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxSplitterEvent
, _p_wxSplitterEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxFSFile
, _p_wxFSFileTo_p_wxObject
, 0, 0}, {&_swigt__p_wxFindReplaceData
, _p_wxFindReplaceDataTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPySizer
, _p_wxPySizerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxMDIChildFrame
, _p_wxMDIChildFrameTo_p_wxObject
, 0, 0}, {&_swigt__p_wxColourData
, _p_wxColourDataTo_p_wxObject
, 0, 0}, {&_swigt__p_wxNotifyEvent
, _p_wxNotifyEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPyEvent
, _p_wxPyEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPyWindow
, _p_wxPyWindowTo_p_wxObject
, 0, 0}, {&_swigt__p_wxSplashScreen
, _p_wxSplashScreenTo_p_wxObject
, 0, 0}, {&_swigt__p_wxFindReplaceDialog
, _p_wxFindReplaceDialogTo_p_wxObject
, 0, 0}, {&_swigt__p_wxProgressDialog
, _p_wxProgressDialogTo_p_wxObject
, 0, 0}, {&_swigt__p_wxMessageDialog
, _p_wxMessageDialogTo_p_wxObject
, 0, 0}, {&_swigt__p_wxNumberEntryDialog
, _p_wxNumberEntryDialogTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPasswordEntryDialog
, _p_wxPasswordEntryDialogTo_p_wxObject
, 0, 0}, {&_swigt__p_wxTextEntryDialog
, _p_wxTextEntryDialogTo_p_wxObject
, 0, 0}, {&_swigt__p_wxSingleChoiceDialog
, _p_wxSingleChoiceDialogTo_p_wxObject
, 0, 0}, {&_swigt__p_wxMultiChoiceDialog
, _p_wxMultiChoiceDialogTo_p_wxObject
, 0, 0}, {&_swigt__p_wxFileDialog
, _p_wxFileDialogTo_p_wxObject
, 0, 0}, {&_swigt__p_wxShowEvent
, _p_wxShowEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPrinter
, _p_wxPrinterTo_p_wxObject
, 0, 0}, {&_swigt__p_wxIdleEvent
, _p_wxIdleEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxWindowCreateEvent
, _p_wxWindowCreateEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxQueryNewPaletteEvent
, _p_wxQueryNewPaletteEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxMaximizeEvent
, _p_wxMaximizeEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxIconizeEvent
, _p_wxIconizeEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxActivateEvent
, _p_wxActivateEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxDateEvent
, _p_wxDateEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxMoveEvent
, _p_wxMoveEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxSizeEvent
, _p_wxSizeEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxMenuItem
, _p_wxMenuItemTo_p_wxObject
, 0, 0}, {&_swigt__p_wxCalculateLayoutEvent
, _p_wxCalculateLayoutEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxMouseCaptureLostEvent
, _p_wxMouseCaptureLostEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxBMPHandler
, _p_wxBMPHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxICOHandler
, _p_wxICOHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxCURHandler
, _p_wxCURHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxANIHandler
, _p_wxANIHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPNGHandler
, _p_wxPNGHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxGIFHandler
, _p_wxGIFHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPCXHandler
, _p_wxPCXHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxJPEGHandler
, _p_wxJPEGHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPNMHandler
, _p_wxPNMHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPyImageHandler
, _p_wxPyImageHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxImageHandler
, _p_wxImageHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxXPMHandler
, _p_wxXPMHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxTIFFHandler
, _p_wxTIFFHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxEvtHandler
, _p_wxEvtHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPyVListBox
, _p_wxPyVListBoxTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPyHtmlListBox
, _p_wxPyHtmlListBoxTo_p_wxObject
, 0, 0}, {&_swigt__p_wxStdDialogButtonSizer
, _p_wxStdDialogButtonSizerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxAcceleratorTable
, _p_wxAcceleratorTableTo_p_wxObject
, 0, 0}, {&_swigt__p_wxMiniFrame
, _p_wxMiniFrameTo_p_wxObject
, 0, 0}, {&_swigt__p_wxImage
, _p_wxImageTo_p_wxObject
, 0, 0}, {&_swigt__p_wxFrame
, _p_wxFrameTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPyPrintout
, _p_wxPyPrintoutTo_p_wxObject
, 0, 0}, {&_swigt__p_wxTaskBarIconEvent
, _p_wxTaskBarIconEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxScrollWinEvent
, _p_wxScrollWinEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxStatusBar
, _p_wxStatusBarTo_p_wxObject
, 0, 0}, {&_swigt__p_wxMDIParentFrame
, _p_wxMDIParentFrameTo_p_wxObject
, 0, 0}, {&_swigt__p_wxObject
, 0, 0, 0}, {&_swigt__p_wxKeyEvent
, _p_wxKeyEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxNavigationKeyEvent
, _p_wxNavigationKeyEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxWindowDestroyEvent
, _p_wxWindowDestroyEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxMenuBar
, _p_wxMenuBarTo_p_wxObject
, 0, 0}, {&_swigt__p_wxScrolledWindow
, _p_wxScrolledWindowTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPyScrolledWindow
, _p_wxPyScrolledWindowTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPyVScrolledWindow
, _p_wxPyVScrolledWindowTo_p_wxObject
, 0, 0}, {&_swigt__p_wxMDIClientWindow
, _p_wxMDIClientWindowTo_p_wxObject
, 0, 0}, {&_swigt__p_wxTopLevelWindow
, _p_wxTopLevelWindowTo_p_wxObject
, 0, 0}, {&_swigt__p_wxWindow
, _p_wxWindowTo_p_wxObject
, 0, 0}, {&_swigt__p_wxSashWindow
, _p_wxSashWindowTo_p_wxObject
, 0, 0}, {&_swigt__p_wxSashLayoutWindow
, _p_wxSashLayoutWindowTo_p_wxObject
, 0, 0}, {&_swigt__p_wxSplitterWindow
, _p_wxSplitterWindowTo_p_wxObject
, 0, 0}, {&_swigt__p_wxSplashScreenWindow
, _p_wxSplashScreenWindowTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPopupWindow
, _p_wxPopupWindowTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPyPopupTransientWindow
, _p_wxPyPopupTransientWindowTo_p_wxObject
, 0, 0}, {&_swigt__p_wxTipWindow
, _p_wxTipWindowTo_p_wxObject
, 0, 0}, {&_swigt__p_wxSashEvent
, _p_wxSashEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPrintPreview
, _p_wxPrintPreviewTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPyPrintPreview
, _p_wxPyPrintPreviewTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPanel
, _p_wxPanelTo_p_wxObject
, 0, 0}, {&_swigt__p_wxDialog
, _p_wxDialogTo_p_wxObject
, 0, 0}, {&_swigt__p_wxColourDialog
, _p_wxColourDialogTo_p_wxObject
, 0, 0}, {&_swigt__p_wxDirDialog
, _p_wxDirDialogTo_p_wxObject
, 0, 0}, {&_swigt__p_wxFontDialog
, _p_wxFontDialogTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPageSetupDialog
, _p_wxPageSetupDialogTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPrintDialog
, _p_wxPrintDialogTo_p_wxObject
, 0, 0}, {&_swigt__p_wxFileSystem
, _p_wxFileSystemTo_p_wxObject
, 0, 0}, {&_swigt__p_wxContextMenuEvent
, _p_wxContextMenuEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxMenuEvent
, _p_wxMenuEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxCloseEvent
, _p_wxCloseEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxMouseEvent
, _p_wxMouseEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxEraseEvent
, _p_wxEraseEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPyApp
, _p_wxPyAppTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPyCommandEvent
, _p_wxPyCommandEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxCommandEvent
, _p_wxCommandEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPreviewControlBar
, _p_wxPreviewControlBarTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPyPreviewControlBar
, _p_wxPyPreviewControlBarTo_p_wxObject
, 0, 0}, {&_swigt__p_wxChildFocusEvent
, _p_wxChildFocusEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxDropFilesEvent
, _p_wxDropFilesEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxFocusEvent
, _p_wxFocusEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxControlWithItems
, _p_wxControlWithItemsTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPageSetupDialogData
, _p_wxPageSetupDialogDataTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPrintDialogData
, _p_wxPrintDialogDataTo_p_wxObject
, 0, 0}, {&_swigt__p_wxValidator
, _p_wxValidatorTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPyValidator
, _p_wxPyValidatorTo_p_wxObject
, 0, 0},{0, 0, 0, 0}};
33195 static swig_cast_info _swigc__p_wxPageSetupDialog
[] = { {&_swigt__p_wxPageSetupDialog
, 0, 0, 0},{0, 0, 0, 0}};
33196 static swig_cast_info _swigc__p_wxPageSetupDialogData
[] = { {&_swigt__p_wxPageSetupDialogData
, 0, 0, 0},{0, 0, 0, 0}};
33197 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}};
33198 static swig_cast_info _swigc__p_wxPaperSize
[] = { {&_swigt__p_wxPaperSize
, 0, 0, 0},{0, 0, 0, 0}};
33199 static swig_cast_info _swigc__p_wxPasswordEntryDialog
[] = { {&_swigt__p_wxPasswordEntryDialog
, 0, 0, 0},{0, 0, 0, 0}};
33200 static swig_cast_info _swigc__p_wxPoint
[] = { {&_swigt__p_wxPoint
, 0, 0, 0},{0, 0, 0, 0}};
33201 static swig_cast_info _swigc__p_wxPopupWindow
[] = { {&_swigt__p_wxPopupWindow
, 0, 0, 0}, {&_swigt__p_wxPyPopupTransientWindow
, _p_wxPyPopupTransientWindowTo_p_wxPopupWindow
, 0, 0}, {&_swigt__p_wxTipWindow
, _p_wxTipWindowTo_p_wxPopupWindow
, 0, 0},{0, 0, 0, 0}};
33202 static swig_cast_info _swigc__p_wxPreviewCanvas
[] = { {&_swigt__p_wxPreviewCanvas
, 0, 0, 0},{0, 0, 0, 0}};
33203 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}};
33204 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}};
33205 static swig_cast_info _swigc__p_wxPrintData
[] = { {&_swigt__p_wxPrintData
, 0, 0, 0},{0, 0, 0, 0}};
33206 static swig_cast_info _swigc__p_wxPrintDialog
[] = { {&_swigt__p_wxPrintDialog
, 0, 0, 0},{0, 0, 0, 0}};
33207 static swig_cast_info _swigc__p_wxPrintDialogData
[] = { {&_swigt__p_wxPrintDialogData
, 0, 0, 0},{0, 0, 0, 0}};
33208 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}};
33209 static swig_cast_info _swigc__p_wxPrinter
[] = { {&_swigt__p_wxPrinter
, 0, 0, 0},{0, 0, 0, 0}};
33210 static swig_cast_info _swigc__p_wxProgressDialog
[] = { {&_swigt__p_wxProgressDialog
, 0, 0, 0},{0, 0, 0, 0}};
33211 static swig_cast_info _swigc__p_wxPyHtmlListBox
[] = { {&_swigt__p_wxPyHtmlListBox
, 0, 0, 0},{0, 0, 0, 0}};
33212 static swig_cast_info _swigc__p_wxPyPanel
[] = { {&_swigt__p_wxPyPanel
, 0, 0, 0},{0, 0, 0, 0}};
33213 static swig_cast_info _swigc__p_wxPyPopupTransientWindow
[] = { {&_swigt__p_wxPyPopupTransientWindow
, 0, 0, 0}, {&_swigt__p_wxTipWindow
, _p_wxTipWindowTo_p_wxPyPopupTransientWindow
, 0, 0},{0, 0, 0, 0}};
33214 static swig_cast_info _swigc__p_wxPyPreviewControlBar
[] = { {&_swigt__p_wxPyPreviewControlBar
, 0, 0, 0},{0, 0, 0, 0}};
33215 static swig_cast_info _swigc__p_wxPyPreviewFrame
[] = { {&_swigt__p_wxPyPreviewFrame
, 0, 0, 0},{0, 0, 0, 0}};
33216 static swig_cast_info _swigc__p_wxPyPrintPreview
[] = { {&_swigt__p_wxPyPrintPreview
, 0, 0, 0},{0, 0, 0, 0}};
33217 static swig_cast_info _swigc__p_wxPyPrintout
[] = { {&_swigt__p_wxPyPrintout
, 0, 0, 0},{0, 0, 0, 0}};
33218 static swig_cast_info _swigc__p_wxPyScrolledWindow
[] = { {&_swigt__p_wxPyScrolledWindow
, 0, 0, 0},{0, 0, 0, 0}};
33219 static swig_cast_info _swigc__p_wxPyTaskBarIcon
[] = { {&_swigt__p_wxPyTaskBarIcon
, 0, 0, 0},{0, 0, 0, 0}};
33220 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}};
33221 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}};
33222 static swig_cast_info _swigc__p_wxPyWindow
[] = { {&_swigt__p_wxPyWindow
, 0, 0, 0},{0, 0, 0, 0}};
33223 static swig_cast_info _swigc__p_wxQueryLayoutInfoEvent
[] = { {&_swigt__p_wxQueryLayoutInfoEvent
, 0, 0, 0},{0, 0, 0, 0}};
33224 static swig_cast_info _swigc__p_wxRect
[] = { {&_swigt__p_wxRect
, 0, 0, 0},{0, 0, 0, 0}};
33225 static swig_cast_info _swigc__p_wxRegion
[] = { {&_swigt__p_wxRegion
, 0, 0, 0},{0, 0, 0, 0}};
33226 static swig_cast_info _swigc__p_wxSashEvent
[] = { {&_swigt__p_wxSashEvent
, 0, 0, 0},{0, 0, 0, 0}};
33227 static swig_cast_info _swigc__p_wxSashLayoutWindow
[] = { {&_swigt__p_wxSashLayoutWindow
, 0, 0, 0},{0, 0, 0, 0}};
33228 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}};
33229 static swig_cast_info _swigc__p_wxScrollWinEvent
[] = { {&_swigt__p_wxScrollWinEvent
, 0, 0, 0},{0, 0, 0, 0}};
33230 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}};
33231 static swig_cast_info _swigc__p_wxSingleChoiceDialog
[] = { {&_swigt__p_wxSingleChoiceDialog
, 0, 0, 0},{0, 0, 0, 0}};
33232 static swig_cast_info _swigc__p_wxSize
[] = { {&_swigt__p_wxSize
, 0, 0, 0},{0, 0, 0, 0}};
33233 static swig_cast_info _swigc__p_wxSplashScreen
[] = { {&_swigt__p_wxSplashScreen
, 0, 0, 0},{0, 0, 0, 0}};
33234 static swig_cast_info _swigc__p_wxSplashScreenWindow
[] = { {&_swigt__p_wxSplashScreenWindow
, 0, 0, 0},{0, 0, 0, 0}};
33235 static swig_cast_info _swigc__p_wxSplitterEvent
[] = { {&_swigt__p_wxSplitterEvent
, 0, 0, 0},{0, 0, 0, 0}};
33236 static swig_cast_info _swigc__p_wxSplitterWindow
[] = { {&_swigt__p_wxSplitterWindow
, 0, 0, 0},{0, 0, 0, 0}};
33237 static swig_cast_info _swigc__p_wxStatusBar
[] = { {&_swigt__p_wxStatusBar
, 0, 0, 0},{0, 0, 0, 0}};
33238 static swig_cast_info _swigc__p_wxStdDialogButtonSizer
[] = { {&_swigt__p_wxStdDialogButtonSizer
, 0, 0, 0},{0, 0, 0, 0}};
33239 static swig_cast_info _swigc__p_wxString
[] = { {&_swigt__p_wxString
, 0, 0, 0},{0, 0, 0, 0}};
33240 static swig_cast_info _swigc__p_wxTaskBarIcon
[] = { {&_swigt__p_wxTaskBarIcon
, 0, 0, 0},{0, 0, 0, 0}};
33241 static swig_cast_info _swigc__p_wxTaskBarIconEvent
[] = { {&_swigt__p_wxTaskBarIconEvent
, 0, 0, 0},{0, 0, 0, 0}};
33242 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}};
33243 static swig_cast_info _swigc__p_wxTipWindow
[] = { {&_swigt__p_wxTipWindow
, 0, 0, 0},{0, 0, 0, 0}};
33244 static swig_cast_info _swigc__p_wxToolBar
[] = { {&_swigt__p_wxToolBar
, 0, 0, 0},{0, 0, 0, 0}};
33245 static swig_cast_info _swigc__p_wxTopLevelWindow
[] = { {&_swigt__p_wxFrame
, _p_wxFrameTo_p_wxTopLevelWindow
, 0, 0}, {&_swigt__p_wxMiniFrame
, _p_wxMiniFrameTo_p_wxTopLevelWindow
, 0, 0}, {&_swigt__p_wxFontDialog
, _p_wxFontDialogTo_p_wxTopLevelWindow
, 0, 0}, {&_swigt__p_wxDirDialog
, _p_wxDirDialogTo_p_wxTopLevelWindow
, 0, 0}, {&_swigt__p_wxColourDialog
, _p_wxColourDialogTo_p_wxTopLevelWindow
, 0, 0}, {&_swigt__p_wxDialog
, _p_wxDialogTo_p_wxTopLevelWindow
, 0, 0}, {&_swigt__p_wxSplashScreen
, _p_wxSplashScreenTo_p_wxTopLevelWindow
, 0, 0}, {&_swigt__p_wxTopLevelWindow
, 0, 0, 0}, {&_swigt__p_wxMDIParentFrame
, _p_wxMDIParentFrameTo_p_wxTopLevelWindow
, 0, 0}, {&_swigt__p_wxMDIChildFrame
, _p_wxMDIChildFrameTo_p_wxTopLevelWindow
, 0, 0}, {&_swigt__p_wxFileDialog
, _p_wxFileDialogTo_p_wxTopLevelWindow
, 0, 0}, {&_swigt__p_wxProgressDialog
, _p_wxProgressDialogTo_p_wxTopLevelWindow
, 0, 0}, {&_swigt__p_wxMultiChoiceDialog
, _p_wxMultiChoiceDialogTo_p_wxTopLevelWindow
, 0, 0}, {&_swigt__p_wxSingleChoiceDialog
, _p_wxSingleChoiceDialogTo_p_wxTopLevelWindow
, 0, 0}, {&_swigt__p_wxTextEntryDialog
, _p_wxTextEntryDialogTo_p_wxTopLevelWindow
, 0, 0}, {&_swigt__p_wxPasswordEntryDialog
, _p_wxPasswordEntryDialogTo_p_wxTopLevelWindow
, 0, 0}, {&_swigt__p_wxNumberEntryDialog
, _p_wxNumberEntryDialogTo_p_wxTopLevelWindow
, 0, 0}, {&_swigt__p_wxMessageDialog
, _p_wxMessageDialogTo_p_wxTopLevelWindow
, 0, 0}, {&_swigt__p_wxFindReplaceDialog
, _p_wxFindReplaceDialogTo_p_wxTopLevelWindow
, 0, 0}, {&_swigt__p_wxPyPreviewFrame
, _p_wxPyPreviewFrameTo_p_wxTopLevelWindow
, 0, 0}, {&_swigt__p_wxPreviewFrame
, _p_wxPreviewFrameTo_p_wxTopLevelWindow
, 0, 0},{0, 0, 0, 0}};
33246 static swig_cast_info _swigc__p_wxVisualAttributes
[] = { {&_swigt__p_wxVisualAttributes
, 0, 0, 0},{0, 0, 0, 0}};
33247 static swig_cast_info _swigc__p_wxWindow
[] = { {&_swigt__p_wxSplashScreen
, _p_wxSplashScreenTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxMiniFrame
, _p_wxMiniFrameTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxPyPanel
, _p_wxPyPanelTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxMenuBar
, _p_wxMenuBarTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxFindReplaceDialog
, _p_wxFindReplaceDialogTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxProgressDialog
, _p_wxProgressDialogTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxMessageDialog
, _p_wxMessageDialogTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxNumberEntryDialog
, _p_wxNumberEntryDialogTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxPasswordEntryDialog
, _p_wxPasswordEntryDialogTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxTextEntryDialog
, _p_wxTextEntryDialogTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxSingleChoiceDialog
, _p_wxSingleChoiceDialogTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxMultiChoiceDialog
, _p_wxMultiChoiceDialogTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxFileDialog
, _p_wxFileDialogTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxPanel
, _p_wxPanelTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxStatusBar
, _p_wxStatusBarTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxTopLevelWindow
, _p_wxTopLevelWindowTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxSplashScreenWindow
, _p_wxSplashScreenWindowTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxSplitterWindow
, _p_wxSplitterWindowTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxSashLayoutWindow
, _p_wxSashLayoutWindowTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxSashWindow
, _p_wxSashWindowTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxMDIClientWindow
, _p_wxMDIClientWindowTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxPyVScrolledWindow
, _p_wxPyVScrolledWindowTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxPyScrolledWindow
, _p_wxPyScrolledWindowTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxScrolledWindow
, _p_wxScrolledWindowTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxWindow
, 0, 0, 0}, {&_swigt__p_wxPopupWindow
, _p_wxPopupWindowTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxPyPopupTransientWindow
, _p_wxPyPopupTransientWindowTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxTipWindow
, _p_wxTipWindowTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxPyPreviewFrame
, _p_wxPyPreviewFrameTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxPreviewFrame
, _p_wxPreviewFrameTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxControl
, _p_wxControlTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxMDIChildFrame
, _p_wxMDIChildFrameTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxControlWithItems
, _p_wxControlWithItemsTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxPreviewCanvas
, _p_wxPreviewCanvasTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxPyWindow
, _p_wxPyWindowTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxPyHtmlListBox
, _p_wxPyHtmlListBoxTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxPyVListBox
, _p_wxPyVListBoxTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxPyPreviewControlBar
, _p_wxPyPreviewControlBarTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxPreviewControlBar
, _p_wxPreviewControlBarTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxFrame
, _p_wxFrameTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxDialog
, _p_wxDialogTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxColourDialog
, _p_wxColourDialogTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxDirDialog
, _p_wxDirDialogTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxFontDialog
, _p_wxFontDialogTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxMDIParentFrame
, _p_wxMDIParentFrameTo_p_wxWindow
, 0, 0},{0, 0, 0, 0}};
33249 static swig_cast_info
*swig_cast_initial
[] = {
33252 _swigc__p_form_ops_t
,
33254 _swigc__p_unsigned_char
,
33255 _swigc__p_unsigned_int
,
33256 _swigc__p_unsigned_long
,
33257 _swigc__p_wxANIHandler
,
33258 _swigc__p_wxAcceleratorTable
,
33259 _swigc__p_wxActivateEvent
,
33260 _swigc__p_wxArrayInt
,
33261 _swigc__p_wxBMPHandler
,
33262 _swigc__p_wxBitmap
,
33263 _swigc__p_wxBoxSizer
,
33264 _swigc__p_wxCURHandler
,
33265 _swigc__p_wxCalculateLayoutEvent
,
33266 _swigc__p_wxChildFocusEvent
,
33267 _swigc__p_wxClipboardTextEvent
,
33268 _swigc__p_wxCloseEvent
,
33269 _swigc__p_wxColour
,
33270 _swigc__p_wxColourData
,
33271 _swigc__p_wxColourDialog
,
33272 _swigc__p_wxCommandEvent
,
33273 _swigc__p_wxContextMenuEvent
,
33274 _swigc__p_wxControl
,
33275 _swigc__p_wxControlWithItems
,
33277 _swigc__p_wxDateEvent
,
33278 _swigc__p_wxDialog
,
33279 _swigc__p_wxDirDialog
,
33280 _swigc__p_wxDisplayChangedEvent
,
33281 _swigc__p_wxDropFilesEvent
,
33282 _swigc__p_wxDuplexMode
,
33283 _swigc__p_wxEraseEvent
,
33285 _swigc__p_wxEvtHandler
,
33286 _swigc__p_wxFSFile
,
33287 _swigc__p_wxFileDialog
,
33288 _swigc__p_wxFileSystem
,
33289 _swigc__p_wxFindDialogEvent
,
33290 _swigc__p_wxFindReplaceData
,
33291 _swigc__p_wxFindReplaceDialog
,
33292 _swigc__p_wxFlexGridSizer
,
33293 _swigc__p_wxFocusEvent
,
33295 _swigc__p_wxFontData
,
33296 _swigc__p_wxFontDialog
,
33298 _swigc__p_wxGBSizerItem
,
33299 _swigc__p_wxGIFHandler
,
33300 _swigc__p_wxGridBagSizer
,
33301 _swigc__p_wxGridSizer
,
33302 _swigc__p_wxHtmlLinkInfo
,
33303 _swigc__p_wxICOHandler
,
33305 _swigc__p_wxIconBundle
,
33306 _swigc__p_wxIconizeEvent
,
33307 _swigc__p_wxIdleEvent
,
33309 _swigc__p_wxImageHandler
,
33310 _swigc__p_wxIndividualLayoutConstraint
,
33311 _swigc__p_wxInitDialogEvent
,
33312 _swigc__p_wxJPEGHandler
,
33313 _swigc__p_wxKeyEvent
,
33314 _swigc__p_wxLayoutAlgorithm
,
33315 _swigc__p_wxLayoutConstraints
,
33316 _swigc__p_wxMDIChildFrame
,
33317 _swigc__p_wxMDIClientWindow
,
33318 _swigc__p_wxMDIParentFrame
,
33319 _swigc__p_wxMaximizeEvent
,
33321 _swigc__p_wxMenuBar
,
33322 _swigc__p_wxMenuEvent
,
33323 _swigc__p_wxMenuItem
,
33324 _swigc__p_wxMessageDialog
,
33325 _swigc__p_wxMiniFrame
,
33326 _swigc__p_wxMouseCaptureChangedEvent
,
33327 _swigc__p_wxMouseCaptureLostEvent
,
33328 _swigc__p_wxMouseEvent
,
33329 _swigc__p_wxMoveEvent
,
33330 _swigc__p_wxMultiChoiceDialog
,
33331 _swigc__p_wxNavigationKeyEvent
,
33332 _swigc__p_wxNcPaintEvent
,
33333 _swigc__p_wxNotifyEvent
,
33334 _swigc__p_wxNumberEntryDialog
,
33335 _swigc__p_wxObject
,
33336 _swigc__p_wxPCXHandler
,
33337 _swigc__p_wxPNGHandler
,
33338 _swigc__p_wxPNMHandler
,
33339 _swigc__p_wxPageSetupDialog
,
33340 _swigc__p_wxPageSetupDialogData
,
33341 _swigc__p_wxPaintEvent
,
33342 _swigc__p_wxPaletteChangedEvent
,
33344 _swigc__p_wxPaperSize
,
33345 _swigc__p_wxPasswordEntryDialog
,
33347 _swigc__p_wxPopupWindow
,
33348 _swigc__p_wxPreviewCanvas
,
33349 _swigc__p_wxPreviewControlBar
,
33350 _swigc__p_wxPreviewFrame
,
33351 _swigc__p_wxPrintData
,
33352 _swigc__p_wxPrintDialog
,
33353 _swigc__p_wxPrintDialogData
,
33354 _swigc__p_wxPrintPreview
,
33355 _swigc__p_wxPrinter
,
33356 _swigc__p_wxProgressDialog
,
33358 _swigc__p_wxPyCommandEvent
,
33359 _swigc__p_wxPyEvent
,
33360 _swigc__p_wxPyHtmlListBox
,
33361 _swigc__p_wxPyImageHandler
,
33362 _swigc__p_wxPyPanel
,
33363 _swigc__p_wxPyPopupTransientWindow
,
33364 _swigc__p_wxPyPreviewControlBar
,
33365 _swigc__p_wxPyPreviewFrame
,
33366 _swigc__p_wxPyPrintPreview
,
33367 _swigc__p_wxPyPrintout
,
33368 _swigc__p_wxPyScrolledWindow
,
33369 _swigc__p_wxPySizer
,
33370 _swigc__p_wxPyTaskBarIcon
,
33371 _swigc__p_wxPyVListBox
,
33372 _swigc__p_wxPyVScrolledWindow
,
33373 _swigc__p_wxPyValidator
,
33374 _swigc__p_wxPyWindow
,
33375 _swigc__p_wxQueryLayoutInfoEvent
,
33376 _swigc__p_wxQueryNewPaletteEvent
,
33378 _swigc__p_wxRegion
,
33379 _swigc__p_wxSashEvent
,
33380 _swigc__p_wxSashLayoutWindow
,
33381 _swigc__p_wxSashWindow
,
33382 _swigc__p_wxScrollEvent
,
33383 _swigc__p_wxScrollWinEvent
,
33384 _swigc__p_wxScrolledWindow
,
33385 _swigc__p_wxSetCursorEvent
,
33386 _swigc__p_wxShowEvent
,
33387 _swigc__p_wxSingleChoiceDialog
,
33389 _swigc__p_wxSizeEvent
,
33391 _swigc__p_wxSizerItem
,
33392 _swigc__p_wxSplashScreen
,
33393 _swigc__p_wxSplashScreenWindow
,
33394 _swigc__p_wxSplitterEvent
,
33395 _swigc__p_wxSplitterWindow
,
33396 _swigc__p_wxStaticBoxSizer
,
33397 _swigc__p_wxStatusBar
,
33398 _swigc__p_wxStdDialogButtonSizer
,
33399 _swigc__p_wxString
,
33400 _swigc__p_wxSysColourChangedEvent
,
33401 _swigc__p_wxTIFFHandler
,
33402 _swigc__p_wxTaskBarIcon
,
33403 _swigc__p_wxTaskBarIconEvent
,
33404 _swigc__p_wxTextEntryDialog
,
33405 _swigc__p_wxTipWindow
,
33406 _swigc__p_wxToolBar
,
33407 _swigc__p_wxTopLevelWindow
,
33408 _swigc__p_wxUpdateUIEvent
,
33409 _swigc__p_wxValidator
,
33410 _swigc__p_wxVisualAttributes
,
33411 _swigc__p_wxWindow
,
33412 _swigc__p_wxWindowCreateEvent
,
33413 _swigc__p_wxWindowDestroyEvent
,
33414 _swigc__p_wxXPMHandler
,
33418 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (END) -------- */
33420 static swig_const_info swig_const_table
[] = {
33421 {0, 0, 0, 0.0, 0, 0}};
33426 /* -----------------------------------------------------------------------------
33427 * Type initialization:
33428 * This problem is tough by the requirement that no dynamic
33429 * memory is used. Also, since swig_type_info structures store pointers to
33430 * swig_cast_info structures and swig_cast_info structures store pointers back
33431 * to swig_type_info structures, we need some lookup code at initialization.
33432 * The idea is that swig generates all the structures that are needed.
33433 * The runtime then collects these partially filled structures.
33434 * The SWIG_InitializeModule function takes these initial arrays out of
33435 * swig_module, and does all the lookup, filling in the swig_module.types
33436 * array with the correct data and linking the correct swig_cast_info
33437 * structures together.
33439 * The generated swig_type_info structures are assigned staticly to an initial
33440 * array. We just loop though that array, and handle each type individually.
33441 * First we lookup if this type has been already loaded, and if so, use the
33442 * loaded structure instead of the generated one. Then we have to fill in the
33443 * cast linked list. The cast data is initially stored in something like a
33444 * two-dimensional array. Each row corresponds to a type (there are the same
33445 * number of rows as there are in the swig_type_initial array). Each entry in
33446 * a column is one of the swig_cast_info structures for that type.
33447 * The cast_initial array is actually an array of arrays, because each row has
33448 * a variable number of columns. So to actually build the cast linked list,
33449 * we find the array of casts associated with the type, and loop through it
33450 * adding the casts to the list. The one last trick we need to do is making
33451 * sure the type pointer in the swig_cast_info struct is correct.
33453 * First off, we lookup the cast->type name to see if it is already loaded.
33454 * There are three cases to handle:
33455 * 1) If the cast->type has already been loaded AND the type we are adding
33456 * casting info to has not been loaded (it is in this module), THEN we
33457 * replace the cast->type pointer with the type pointer that has already
33459 * 2) If BOTH types (the one we are adding casting info to, and the
33460 * cast->type) are loaded, THEN the cast info has already been loaded by
33461 * the previous module so we just ignore it.
33462 * 3) Finally, if cast->type has not already been loaded, then we add that
33463 * swig_cast_info to the linked list (because the cast->type) pointer will
33465 * ----------------------------------------------------------------------------- */
33475 #define SWIGRUNTIME_DEBUG
33479 SWIG_InitializeModule(void *clientdata
) {
33481 swig_module_info
*module_head
;
33482 static int init_run
= 0;
33484 clientdata
= clientdata
;
33486 if (init_run
) return;
33489 /* Initialize the swig_module */
33490 swig_module
.type_initial
= swig_type_initial
;
33491 swig_module
.cast_initial
= swig_cast_initial
;
33493 /* Try and load any already created modules */
33494 module_head
= SWIG_GetModule(clientdata
);
33496 swig_module
.next
= module_head
->next
;
33497 module_head
->next
= &swig_module
;
33499 /* This is the first module loaded */
33500 swig_module
.next
= &swig_module
;
33501 SWIG_SetModule(clientdata
, &swig_module
);
33504 /* Now work on filling in swig_module.types */
33505 #ifdef SWIGRUNTIME_DEBUG
33506 printf("SWIG_InitializeModule: size %d\n", swig_module
.size
);
33508 for (i
= 0; i
< swig_module
.size
; ++i
) {
33509 swig_type_info
*type
= 0;
33510 swig_type_info
*ret
;
33511 swig_cast_info
*cast
;
33513 #ifdef SWIGRUNTIME_DEBUG
33514 printf("SWIG_InitializeModule: type %d %s\n", i
, swig_module
.type_initial
[i
]->name
);
33517 /* if there is another module already loaded */
33518 if (swig_module
.next
!= &swig_module
) {
33519 type
= SWIG_MangledTypeQueryModule(swig_module
.next
, &swig_module
, swig_module
.type_initial
[i
]->name
);
33522 /* Overwrite clientdata field */
33523 #ifdef SWIGRUNTIME_DEBUG
33524 printf("SWIG_InitializeModule: found type %s\n", type
->name
);
33526 if (swig_module
.type_initial
[i
]->clientdata
) {
33527 type
->clientdata
= swig_module
.type_initial
[i
]->clientdata
;
33528 #ifdef SWIGRUNTIME_DEBUG
33529 printf("SWIG_InitializeModule: found and overwrite type %s \n", type
->name
);
33533 type
= swig_module
.type_initial
[i
];
33536 /* Insert casting types */
33537 cast
= swig_module
.cast_initial
[i
];
33538 while (cast
->type
) {
33539 /* Don't need to add information already in the list */
33541 #ifdef SWIGRUNTIME_DEBUG
33542 printf("SWIG_InitializeModule: look cast %s\n", cast
->type
->name
);
33544 if (swig_module
.next
!= &swig_module
) {
33545 ret
= SWIG_MangledTypeQueryModule(swig_module
.next
, &swig_module
, cast
->type
->name
);
33546 #ifdef SWIGRUNTIME_DEBUG
33547 if (ret
) printf("SWIG_InitializeModule: found cast %s\n", ret
->name
);
33551 if (type
== swig_module
.type_initial
[i
]) {
33552 #ifdef SWIGRUNTIME_DEBUG
33553 printf("SWIG_InitializeModule: skip old type %s\n", ret
->name
);
33558 /* Check for casting already in the list */
33559 swig_cast_info
*ocast
= SWIG_TypeCheck(ret
->name
, type
);
33560 #ifdef SWIGRUNTIME_DEBUG
33561 if (ocast
) printf("SWIG_InitializeModule: skip old cast %s\n", ret
->name
);
33563 if (!ocast
) ret
= 0;
33568 #ifdef SWIGRUNTIME_DEBUG
33569 printf("SWIG_InitializeModule: adding cast %s\n", cast
->type
->name
);
33572 type
->cast
->prev
= cast
;
33573 cast
->next
= type
->cast
;
33579 /* Set entry in modules->types array equal to the type */
33580 swig_module
.types
[i
] = type
;
33582 swig_module
.types
[i
] = 0;
33584 #ifdef SWIGRUNTIME_DEBUG
33585 printf("**** SWIG_InitializeModule: Cast List ******\n");
33586 for (i
= 0; i
< swig_module
.size
; ++i
) {
33588 swig_cast_info
*cast
= swig_module
.cast_initial
[i
];
33589 printf("SWIG_InitializeModule: type %d %s\n", i
, swig_module
.type_initial
[i
]->name
);
33590 while (cast
->type
) {
33591 printf("SWIG_InitializeModule: cast type %s\n", cast
->type
->name
);
33595 printf("---- Total casts: %d\n",j
);
33597 printf("**** SWIG_InitializeModule: Cast List ******\n");
33601 /* This function will propagate the clientdata field of type to
33602 * any new swig_type_info structures that have been added into the list
33603 * of equivalent types. It is like calling
33604 * SWIG_TypeClientData(type, clientdata) a second time.
33607 SWIG_PropagateClientData(void) {
33609 swig_cast_info
*equiv
;
33610 static int init_run
= 0;
33612 if (init_run
) return;
33615 for (i
= 0; i
< swig_module
.size
; i
++) {
33616 if (swig_module
.types
[i
]->clientdata
) {
33617 equiv
= swig_module
.types
[i
]->cast
;
33619 if (!equiv
->converter
) {
33620 if (equiv
->type
&& !equiv
->type
->clientdata
)
33621 SWIG_TypeClientData(equiv
->type
, swig_module
.types
[i
]->clientdata
);
33623 equiv
= equiv
->next
;
33643 /* Python-specific SWIG API */
33644 #define SWIG_newvarlink() SWIG_Python_newvarlink()
33645 #define SWIG_addvarlink(p, name, get_attr, set_attr) SWIG_Python_addvarlink(p, name, get_attr, set_attr)
33646 #define SWIG_InstallConstants(d, constants) SWIG_Python_InstallConstants(d, constants)
33648 /* -----------------------------------------------------------------------------
33649 * global variable support code.
33650 * ----------------------------------------------------------------------------- */
33652 typedef struct swig_globalvar
{
33653 char *name
; /* Name of global variable */
33654 PyObject
*(*get_attr
)(void); /* Return the current value */
33655 int (*set_attr
)(PyObject
*); /* Set the value */
33656 struct swig_globalvar
*next
;
33659 typedef struct swig_varlinkobject
{
33661 swig_globalvar
*vars
;
33662 } swig_varlinkobject
;
33664 SWIGINTERN PyObject
*
33665 swig_varlink_repr(swig_varlinkobject
*SWIGUNUSEDPARM(v
)) {
33666 return PyString_FromString("<Swig global variables>");
33669 SWIGINTERN PyObject
*
33670 swig_varlink_str(swig_varlinkobject
*v
) {
33671 PyObject
*str
= PyString_FromString("(");
33672 swig_globalvar
*var
;
33673 for (var
= v
->vars
; var
; var
=var
->next
) {
33674 PyString_ConcatAndDel(&str
,PyString_FromString(var
->name
));
33675 if (var
->next
) PyString_ConcatAndDel(&str
,PyString_FromString(", "));
33677 PyString_ConcatAndDel(&str
,PyString_FromString(")"));
33682 swig_varlink_print(swig_varlinkobject
*v
, FILE *fp
, int SWIGUNUSEDPARM(flags
)) {
33683 PyObject
*str
= swig_varlink_str(v
);
33684 fprintf(fp
,"Swig global variables ");
33685 fprintf(fp
,"%s\n", PyString_AsString(str
));
33691 swig_varlink_dealloc(swig_varlinkobject
*v
) {
33692 swig_globalvar
*var
= v
->vars
;
33694 swig_globalvar
*n
= var
->next
;
33701 SWIGINTERN PyObject
*
33702 swig_varlink_getattr(swig_varlinkobject
*v
, char *n
) {
33703 PyObject
*res
= NULL
;
33704 swig_globalvar
*var
= v
->vars
;
33706 if (strcmp(var
->name
,n
) == 0) {
33707 res
= (*var
->get_attr
)();
33712 if (res
== NULL
&& !PyErr_Occurred()) {
33713 PyErr_SetString(PyExc_NameError
,"Unknown C global variable");
33719 swig_varlink_setattr(swig_varlinkobject
*v
, char *n
, PyObject
*p
) {
33721 swig_globalvar
*var
= v
->vars
;
33723 if (strcmp(var
->name
,n
) == 0) {
33724 res
= (*var
->set_attr
)(p
);
33729 if (res
== 1 && !PyErr_Occurred()) {
33730 PyErr_SetString(PyExc_NameError
,"Unknown C global variable");
33735 SWIGINTERN PyTypeObject
*
33736 swig_varlink_type(void) {
33737 static char varlink__doc__
[] = "Swig var link object";
33738 static PyTypeObject varlink_type
;
33739 static int type_init
= 0;
33741 const PyTypeObject tmp
33743 PyObject_HEAD_INIT(NULL
)
33744 0, /* Number of items in variable part (ob_size) */
33745 (char *)"swigvarlink", /* Type name (tp_name) */
33746 sizeof(swig_varlinkobject
), /* Basic size (tp_basicsize) */
33747 0, /* Itemsize (tp_itemsize) */
33748 (destructor
) swig_varlink_dealloc
, /* Deallocator (tp_dealloc) */
33749 (printfunc
) swig_varlink_print
, /* Print (tp_print) */
33750 (getattrfunc
) swig_varlink_getattr
, /* get attr (tp_getattr) */
33751 (setattrfunc
) swig_varlink_setattr
, /* Set attr (tp_setattr) */
33752 0, /* tp_compare */
33753 (reprfunc
) swig_varlink_repr
, /* tp_repr */
33754 0, /* tp_as_number */
33755 0, /* tp_as_sequence */
33756 0, /* tp_as_mapping */
33759 (reprfunc
)swig_varlink_str
, /* tp_str */
33760 0, /* tp_getattro */
33761 0, /* tp_setattro */
33762 0, /* tp_as_buffer */
33764 varlink__doc__
, /* tp_doc */
33765 0, /* tp_traverse */
33767 0, /* tp_richcompare */
33768 0, /* tp_weaklistoffset */
33769 #if PY_VERSION_HEX >= 0x02020000
33770 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, /* tp_iter -> tp_weaklist */
33772 #if PY_VERSION_HEX >= 0x02030000
33775 #ifdef COUNT_ALLOCS
33776 0,0,0,0 /* tp_alloc -> tp_next */
33779 varlink_type
= tmp
;
33780 varlink_type
.ob_type
= &PyType_Type
;
33783 return &varlink_type
;
33786 /* Create a variable linking object for use later */
33787 SWIGINTERN PyObject
*
33788 SWIG_Python_newvarlink(void) {
33789 swig_varlinkobject
*result
= PyObject_NEW(swig_varlinkobject
, swig_varlink_type());
33793 return ((PyObject
*) result
);
33797 SWIG_Python_addvarlink(PyObject
*p
, char *name
, PyObject
*(*get_attr
)(void), int (*set_attr
)(PyObject
*p
)) {
33798 swig_varlinkobject
*v
= (swig_varlinkobject
*) p
;
33799 swig_globalvar
*gv
= (swig_globalvar
*) malloc(sizeof(swig_globalvar
));
33801 size_t size
= strlen(name
)+1;
33802 gv
->name
= (char *)malloc(size
);
33804 strncpy(gv
->name
,name
,size
);
33805 gv
->get_attr
= get_attr
;
33806 gv
->set_attr
= set_attr
;
33807 gv
->next
= v
->vars
;
33813 SWIGINTERN PyObject
*
33815 static PyObject
*_SWIG_globals
= 0;
33816 if (!_SWIG_globals
) _SWIG_globals
= SWIG_newvarlink();
33817 return _SWIG_globals
;
33820 /* -----------------------------------------------------------------------------
33821 * constants/methods manipulation
33822 * ----------------------------------------------------------------------------- */
33824 /* Install Constants */
33826 SWIG_Python_InstallConstants(PyObject
*d
, swig_const_info constants
[]) {
33829 for (i
= 0; constants
[i
].type
; ++i
) {
33830 switch(constants
[i
].type
) {
33831 case SWIG_PY_POINTER
:
33832 obj
= SWIG_NewPointerObj(constants
[i
].pvalue
, *(constants
[i
]).ptype
,0);
33834 case SWIG_PY_BINARY
:
33835 obj
= SWIG_NewPackedObj(constants
[i
].pvalue
, constants
[i
].lvalue
, *(constants
[i
].ptype
));
33842 PyDict_SetItemString(d
, constants
[i
].name
, obj
);
33848 /* -----------------------------------------------------------------------------*/
33849 /* Fix SwigMethods to carry the callback ptrs when needed */
33850 /* -----------------------------------------------------------------------------*/
33853 SWIG_Python_FixMethods(PyMethodDef
*methods
,
33854 swig_const_info
*const_table
,
33855 swig_type_info
**types
,
33856 swig_type_info
**types_initial
) {
33858 for (i
= 0; methods
[i
].ml_name
; ++i
) {
33859 const char *c
= methods
[i
].ml_doc
;
33860 if (c
&& (c
= strstr(c
, "swig_ptr: "))) {
33862 swig_const_info
*ci
= 0;
33863 const char *name
= c
+ 10;
33864 for (j
= 0; const_table
[j
].type
; ++j
) {
33865 if (strncmp(const_table
[j
].name
, name
,
33866 strlen(const_table
[j
].name
)) == 0) {
33867 ci
= &(const_table
[j
]);
33872 size_t shift
= (ci
->ptype
) - types
;
33873 swig_type_info
*ty
= types_initial
[shift
];
33874 size_t ldoc
= (c
- methods
[i
].ml_doc
);
33875 size_t lptr
= strlen(ty
->name
)+2*sizeof(void*)+2;
33876 char *ndoc
= (char*)malloc(ldoc
+ lptr
+ 10);
33879 void *ptr
= (ci
->type
== SWIG_PY_POINTER
) ? ci
->pvalue
: 0;
33881 strncpy(buff
, methods
[i
].ml_doc
, ldoc
);
33883 strncpy(buff
, "swig_ptr: ", 10);
33885 SWIG_PackVoidPtr(buff
, ptr
, ty
->name
, lptr
);
33886 methods
[i
].ml_doc
= ndoc
;
33898 /* -----------------------------------------------------------------------------*
33899 * Partial Init method
33900 * -----------------------------------------------------------------------------*/
33905 SWIGEXPORT
void SWIG_init(void) {
33908 /* Fix SwigMethods to carry the callback ptrs when needed */
33909 SWIG_Python_FixMethods(SwigMethods
, swig_const_table
, swig_types
, swig_type_initial
);
33911 m
= Py_InitModule((char *) SWIG_name
, SwigMethods
);
33912 d
= PyModule_GetDict(m
);
33914 SWIG_InitializeModule(0);
33915 SWIG_InstallConstants(d
,swig_const_table
);
33918 PyDict_SetItemString(d
,(char*)"cvar", SWIG_globals());
33919 SWIG_addvarlink(SWIG_globals(),(char*)"FrameNameStr",FrameNameStr_get
, FrameNameStr_set
);
33920 SWIG_addvarlink(SWIG_globals(),(char*)"DialogNameStr",DialogNameStr_get
, DialogNameStr_set
);
33921 SWIG_addvarlink(SWIG_globals(),(char*)"StatusLineNameStr",StatusLineNameStr_get
, StatusLineNameStr_set
);
33922 SWIG_addvarlink(SWIG_globals(),(char*)"ToolBarNameStr",ToolBarNameStr_get
, ToolBarNameStr_set
);
33923 SWIG_Python_SetConstant(d
, "STAY_ON_TOP",SWIG_From_int(static_cast< int >(wxSTAY_ON_TOP
)));
33924 SWIG_Python_SetConstant(d
, "ICONIZE",SWIG_From_int(static_cast< int >(wxICONIZE
)));
33925 SWIG_Python_SetConstant(d
, "MINIMIZE",SWIG_From_int(static_cast< int >(wxMINIMIZE
)));
33926 SWIG_Python_SetConstant(d
, "MAXIMIZE",SWIG_From_int(static_cast< int >(wxMAXIMIZE
)));
33927 SWIG_Python_SetConstant(d
, "CLOSE_BOX",SWIG_From_int(static_cast< int >(wxCLOSE_BOX
)));
33928 SWIG_Python_SetConstant(d
, "THICK_FRAME",SWIG_From_int(static_cast< int >(wxTHICK_FRAME
)));
33929 SWIG_Python_SetConstant(d
, "SYSTEM_MENU",SWIG_From_int(static_cast< int >(wxSYSTEM_MENU
)));
33930 SWIG_Python_SetConstant(d
, "MINIMIZE_BOX",SWIG_From_int(static_cast< int >(wxMINIMIZE_BOX
)));
33931 SWIG_Python_SetConstant(d
, "MAXIMIZE_BOX",SWIG_From_int(static_cast< int >(wxMAXIMIZE_BOX
)));
33932 SWIG_Python_SetConstant(d
, "TINY_CAPTION_HORIZ",SWIG_From_int(static_cast< int >(wxTINY_CAPTION_HORIZ
)));
33933 SWIG_Python_SetConstant(d
, "TINY_CAPTION_VERT",SWIG_From_int(static_cast< int >(wxTINY_CAPTION_VERT
)));
33934 SWIG_Python_SetConstant(d
, "RESIZE_BOX",SWIG_From_int(static_cast< int >(wxRESIZE_BOX
)));
33935 SWIG_Python_SetConstant(d
, "RESIZE_BORDER",SWIG_From_int(static_cast< int >(wxRESIZE_BORDER
)));
33936 SWIG_Python_SetConstant(d
, "DIALOG_NO_PARENT",SWIG_From_int(static_cast< int >(wxDIALOG_NO_PARENT
)));
33937 SWIG_Python_SetConstant(d
, "DEFAULT_FRAME_STYLE",SWIG_From_int(static_cast< int >(wxDEFAULT_FRAME_STYLE
)));
33938 SWIG_Python_SetConstant(d
, "DEFAULT_DIALOG_STYLE",SWIG_From_int(static_cast< int >(wxDEFAULT_DIALOG_STYLE
)));
33939 SWIG_Python_SetConstant(d
, "FRAME_TOOL_WINDOW",SWIG_From_int(static_cast< int >(wxFRAME_TOOL_WINDOW
)));
33940 SWIG_Python_SetConstant(d
, "FRAME_FLOAT_ON_PARENT",SWIG_From_int(static_cast< int >(wxFRAME_FLOAT_ON_PARENT
)));
33941 SWIG_Python_SetConstant(d
, "FRAME_NO_WINDOW_MENU",SWIG_From_int(static_cast< int >(wxFRAME_NO_WINDOW_MENU
)));
33942 SWIG_Python_SetConstant(d
, "FRAME_NO_TASKBAR",SWIG_From_int(static_cast< int >(wxFRAME_NO_TASKBAR
)));
33943 SWIG_Python_SetConstant(d
, "FRAME_SHAPED",SWIG_From_int(static_cast< int >(wxFRAME_SHAPED
)));
33944 SWIG_Python_SetConstant(d
, "FRAME_DRAWER",SWIG_From_int(static_cast< int >(wxFRAME_DRAWER
)));
33945 SWIG_Python_SetConstant(d
, "FRAME_EX_METAL",SWIG_From_int(static_cast< int >(wxFRAME_EX_METAL
)));
33946 SWIG_Python_SetConstant(d
, "DIALOG_EX_METAL",SWIG_From_int(static_cast< int >(wxDIALOG_EX_METAL
)));
33947 SWIG_Python_SetConstant(d
, "WS_EX_CONTEXTHELP",SWIG_From_int(static_cast< int >(wxWS_EX_CONTEXTHELP
)));
33948 SWIG_Python_SetConstant(d
, "DIALOG_MODAL",SWIG_From_int(static_cast< int >(wxDIALOG_MODAL
)));
33949 SWIG_Python_SetConstant(d
, "DIALOG_MODELESS",SWIG_From_int(static_cast< int >(wxDIALOG_MODELESS
)));
33950 SWIG_Python_SetConstant(d
, "USER_COLOURS",SWIG_From_int(static_cast< int >(wxUSER_COLOURS
)));
33951 SWIG_Python_SetConstant(d
, "NO_3D",SWIG_From_int(static_cast< int >(wxNO_3D
)));
33952 SWIG_Python_SetConstant(d
, "FRAME_EX_CONTEXTHELP",SWIG_From_int(static_cast< int >(wxFRAME_EX_CONTEXTHELP
)));
33953 SWIG_Python_SetConstant(d
, "DIALOG_EX_CONTEXTHELP",SWIG_From_int(static_cast< int >(wxDIALOG_EX_CONTEXTHELP
)));
33954 SWIG_Python_SetConstant(d
, "FULLSCREEN_NOMENUBAR",SWIG_From_int(static_cast< int >(wxFULLSCREEN_NOMENUBAR
)));
33955 SWIG_Python_SetConstant(d
, "FULLSCREEN_NOTOOLBAR",SWIG_From_int(static_cast< int >(wxFULLSCREEN_NOTOOLBAR
)));
33956 SWIG_Python_SetConstant(d
, "FULLSCREEN_NOSTATUSBAR",SWIG_From_int(static_cast< int >(wxFULLSCREEN_NOSTATUSBAR
)));
33957 SWIG_Python_SetConstant(d
, "FULLSCREEN_NOBORDER",SWIG_From_int(static_cast< int >(wxFULLSCREEN_NOBORDER
)));
33958 SWIG_Python_SetConstant(d
, "FULLSCREEN_NOCAPTION",SWIG_From_int(static_cast< int >(wxFULLSCREEN_NOCAPTION
)));
33959 SWIG_Python_SetConstant(d
, "FULLSCREEN_ALL",SWIG_From_int(static_cast< int >(wxFULLSCREEN_ALL
)));
33960 SWIG_Python_SetConstant(d
, "TOPLEVEL_EX_DIALOG",SWIG_From_int(static_cast< int >(wxTOPLEVEL_EX_DIALOG
)));
33961 SWIG_Python_SetConstant(d
, "USER_ATTENTION_INFO",SWIG_From_int(static_cast< int >(wxUSER_ATTENTION_INFO
)));
33962 SWIG_Python_SetConstant(d
, "USER_ATTENTION_ERROR",SWIG_From_int(static_cast< int >(wxUSER_ATTENTION_ERROR
)));
33963 SWIG_Python_SetConstant(d
, "Dialog_ButtonSizerFlags",SWIG_From_int(static_cast< int >(wxDialog::ButtonSizerFlags
)));
33964 SWIG_Python_SetConstant(d
, "SPLASH_CENTRE_ON_PARENT",SWIG_From_int(static_cast< int >(wxSPLASH_CENTRE_ON_PARENT
)));
33965 SWIG_Python_SetConstant(d
, "SPLASH_CENTRE_ON_SCREEN",SWIG_From_int(static_cast< int >(wxSPLASH_CENTRE_ON_SCREEN
)));
33966 SWIG_Python_SetConstant(d
, "SPLASH_NO_CENTRE",SWIG_From_int(static_cast< int >(wxSPLASH_NO_CENTRE
)));
33967 SWIG_Python_SetConstant(d
, "SPLASH_TIMEOUT",SWIG_From_int(static_cast< int >(wxSPLASH_TIMEOUT
)));
33968 SWIG_Python_SetConstant(d
, "SPLASH_NO_TIMEOUT",SWIG_From_int(static_cast< int >(wxSPLASH_NO_TIMEOUT
)));
33969 SWIG_Python_SetConstant(d
, "SB_NORMAL",SWIG_From_int(static_cast< int >(wxSB_NORMAL
)));
33970 SWIG_Python_SetConstant(d
, "SB_FLAT",SWIG_From_int(static_cast< int >(wxSB_FLAT
)));
33971 SWIG_Python_SetConstant(d
, "SB_RAISED",SWIG_From_int(static_cast< int >(wxSB_RAISED
)));
33972 SWIG_addvarlink(SWIG_globals(),(char*)"SplitterNameStr",SplitterNameStr_get
, SplitterNameStr_set
);
33973 SWIG_Python_SetConstant(d
, "SP_NOBORDER",SWIG_From_int(static_cast< int >(wxSP_NOBORDER
)));
33974 SWIG_Python_SetConstant(d
, "SP_NOSASH",SWIG_From_int(static_cast< int >(wxSP_NOSASH
)));
33975 SWIG_Python_SetConstant(d
, "SP_PERMIT_UNSPLIT",SWIG_From_int(static_cast< int >(wxSP_PERMIT_UNSPLIT
)));
33976 SWIG_Python_SetConstant(d
, "SP_LIVE_UPDATE",SWIG_From_int(static_cast< int >(wxSP_LIVE_UPDATE
)));
33977 SWIG_Python_SetConstant(d
, "SP_3DSASH",SWIG_From_int(static_cast< int >(wxSP_3DSASH
)));
33978 SWIG_Python_SetConstant(d
, "SP_3DBORDER",SWIG_From_int(static_cast< int >(wxSP_3DBORDER
)));
33979 SWIG_Python_SetConstant(d
, "SP_NO_XP_THEME",SWIG_From_int(static_cast< int >(wxSP_NO_XP_THEME
)));
33980 SWIG_Python_SetConstant(d
, "SP_BORDER",SWIG_From_int(static_cast< int >(wxSP_BORDER
)));
33981 SWIG_Python_SetConstant(d
, "SP_3D",SWIG_From_int(static_cast< int >(wxSP_3D
)));
33982 SWIG_Python_SetConstant(d
, "SPLIT_HORIZONTAL",SWIG_From_int(static_cast< int >(wxSPLIT_HORIZONTAL
)));
33983 SWIG_Python_SetConstant(d
, "SPLIT_VERTICAL",SWIG_From_int(static_cast< int >(wxSPLIT_VERTICAL
)));
33984 SWIG_Python_SetConstant(d
, "SPLIT_DRAG_NONE",SWIG_From_int(static_cast< int >(wxSPLIT_DRAG_NONE
)));
33985 SWIG_Python_SetConstant(d
, "SPLIT_DRAG_DRAGGING",SWIG_From_int(static_cast< int >(wxSPLIT_DRAG_DRAGGING
)));
33986 SWIG_Python_SetConstant(d
, "SPLIT_DRAG_LEFT_DOWN",SWIG_From_int(static_cast< int >(wxSPLIT_DRAG_LEFT_DOWN
)));
33987 PyDict_SetItemString(d
, "wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGED", PyInt_FromLong(wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGED
));
33988 PyDict_SetItemString(d
, "wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGING", PyInt_FromLong(wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGING
));
33989 PyDict_SetItemString(d
, "wxEVT_COMMAND_SPLITTER_DOUBLECLICKED", PyInt_FromLong(wxEVT_COMMAND_SPLITTER_DOUBLECLICKED
));
33990 PyDict_SetItemString(d
, "wxEVT_COMMAND_SPLITTER_UNSPLIT", PyInt_FromLong(wxEVT_COMMAND_SPLITTER_UNSPLIT
));
33991 SWIG_addvarlink(SWIG_globals(),(char*)"SashNameStr",SashNameStr_get
, SashNameStr_set
);
33992 SWIG_addvarlink(SWIG_globals(),(char*)"SashLayoutNameStr",SashLayoutNameStr_get
, SashLayoutNameStr_set
);
33993 SWIG_Python_SetConstant(d
, "SASH_DRAG_NONE",SWIG_From_int(static_cast< int >(wxSASH_DRAG_NONE
)));
33994 SWIG_Python_SetConstant(d
, "SASH_DRAG_DRAGGING",SWIG_From_int(static_cast< int >(wxSASH_DRAG_DRAGGING
)));
33995 SWIG_Python_SetConstant(d
, "SASH_DRAG_LEFT_DOWN",SWIG_From_int(static_cast< int >(wxSASH_DRAG_LEFT_DOWN
)));
33996 SWIG_Python_SetConstant(d
, "SW_NOBORDER",SWIG_From_int(static_cast< int >(wxSW_NOBORDER
)));
33997 SWIG_Python_SetConstant(d
, "SW_BORDER",SWIG_From_int(static_cast< int >(wxSW_BORDER
)));
33998 SWIG_Python_SetConstant(d
, "SW_3DSASH",SWIG_From_int(static_cast< int >(wxSW_3DSASH
)));
33999 SWIG_Python_SetConstant(d
, "SW_3DBORDER",SWIG_From_int(static_cast< int >(wxSW_3DBORDER
)));
34000 SWIG_Python_SetConstant(d
, "SW_3D",SWIG_From_int(static_cast< int >(wxSW_3D
)));
34001 SWIG_Python_SetConstant(d
, "SASH_TOP",SWIG_From_int(static_cast< int >(wxSASH_TOP
)));
34002 SWIG_Python_SetConstant(d
, "SASH_RIGHT",SWIG_From_int(static_cast< int >(wxSASH_RIGHT
)));
34003 SWIG_Python_SetConstant(d
, "SASH_BOTTOM",SWIG_From_int(static_cast< int >(wxSASH_BOTTOM
)));
34004 SWIG_Python_SetConstant(d
, "SASH_LEFT",SWIG_From_int(static_cast< int >(wxSASH_LEFT
)));
34005 SWIG_Python_SetConstant(d
, "SASH_NONE",SWIG_From_int(static_cast< int >(wxSASH_NONE
)));
34006 SWIG_Python_SetConstant(d
, "SASH_STATUS_OK",SWIG_From_int(static_cast< int >(wxSASH_STATUS_OK
)));
34007 SWIG_Python_SetConstant(d
, "SASH_STATUS_OUT_OF_RANGE",SWIG_From_int(static_cast< int >(wxSASH_STATUS_OUT_OF_RANGE
)));
34008 PyDict_SetItemString(d
, "wxEVT_SASH_DRAGGED", PyInt_FromLong(wxEVT_SASH_DRAGGED
));
34009 SWIG_Python_SetConstant(d
, "LAYOUT_HORIZONTAL",SWIG_From_int(static_cast< int >(wxLAYOUT_HORIZONTAL
)));
34010 SWIG_Python_SetConstant(d
, "LAYOUT_VERTICAL",SWIG_From_int(static_cast< int >(wxLAYOUT_VERTICAL
)));
34011 SWIG_Python_SetConstant(d
, "LAYOUT_NONE",SWIG_From_int(static_cast< int >(wxLAYOUT_NONE
)));
34012 SWIG_Python_SetConstant(d
, "LAYOUT_TOP",SWIG_From_int(static_cast< int >(wxLAYOUT_TOP
)));
34013 SWIG_Python_SetConstant(d
, "LAYOUT_LEFT",SWIG_From_int(static_cast< int >(wxLAYOUT_LEFT
)));
34014 SWIG_Python_SetConstant(d
, "LAYOUT_RIGHT",SWIG_From_int(static_cast< int >(wxLAYOUT_RIGHT
)));
34015 SWIG_Python_SetConstant(d
, "LAYOUT_BOTTOM",SWIG_From_int(static_cast< int >(wxLAYOUT_BOTTOM
)));
34016 SWIG_Python_SetConstant(d
, "LAYOUT_LENGTH_Y",SWIG_From_int(static_cast< int >(wxLAYOUT_LENGTH_Y
)));
34017 SWIG_Python_SetConstant(d
, "LAYOUT_LENGTH_X",SWIG_From_int(static_cast< int >(wxLAYOUT_LENGTH_X
)));
34018 SWIG_Python_SetConstant(d
, "LAYOUT_MRU_LENGTH",SWIG_From_int(static_cast< int >(wxLAYOUT_MRU_LENGTH
)));
34019 SWIG_Python_SetConstant(d
, "LAYOUT_QUERY",SWIG_From_int(static_cast< int >(wxLAYOUT_QUERY
)));
34020 PyDict_SetItemString(d
, "wxEVT_QUERY_LAYOUT_INFO", PyInt_FromLong(wxEVT_QUERY_LAYOUT_INFO
));
34021 PyDict_SetItemString(d
, "wxEVT_CALCULATE_LAYOUT", PyInt_FromLong(wxEVT_CALCULATE_LAYOUT
));
34022 SWIG_addvarlink(SWIG_globals(),(char*)"VListBoxNameStr",VListBoxNameStr_get
, VListBoxNameStr_set
);
34024 // Map renamed classes back to their common name for OOR
34025 wxPyPtrTypeMap_Add("wxHtmlListBox", "wxPyHtmlListBox");
34026 wxPyPtrTypeMap_Add("wxVListBox", "wxPyVListBox");
34027 wxPyPtrTypeMap_Add("wxVScrolledWindow", "wxPyVScrolledWindow");
34029 PyDict_SetItemString(d
, "wxEVT_TASKBAR_MOVE", PyInt_FromLong(wxEVT_TASKBAR_MOVE
));
34030 PyDict_SetItemString(d
, "wxEVT_TASKBAR_LEFT_DOWN", PyInt_FromLong(wxEVT_TASKBAR_LEFT_DOWN
));
34031 PyDict_SetItemString(d
, "wxEVT_TASKBAR_LEFT_UP", PyInt_FromLong(wxEVT_TASKBAR_LEFT_UP
));
34032 PyDict_SetItemString(d
, "wxEVT_TASKBAR_RIGHT_DOWN", PyInt_FromLong(wxEVT_TASKBAR_RIGHT_DOWN
));
34033 PyDict_SetItemString(d
, "wxEVT_TASKBAR_RIGHT_UP", PyInt_FromLong(wxEVT_TASKBAR_RIGHT_UP
));
34034 PyDict_SetItemString(d
, "wxEVT_TASKBAR_LEFT_DCLICK", PyInt_FromLong(wxEVT_TASKBAR_LEFT_DCLICK
));
34035 PyDict_SetItemString(d
, "wxEVT_TASKBAR_RIGHT_DCLICK", PyInt_FromLong(wxEVT_TASKBAR_RIGHT_DCLICK
));
34036 SWIG_addvarlink(SWIG_globals(),(char*)"FileSelectorPromptStr",FileSelectorPromptStr_get
, FileSelectorPromptStr_set
);
34037 SWIG_addvarlink(SWIG_globals(),(char*)"DirSelectorPromptStr",DirSelectorPromptStr_get
, DirSelectorPromptStr_set
);
34038 SWIG_addvarlink(SWIG_globals(),(char*)"DirDialogNameStr",DirDialogNameStr_get
, DirDialogNameStr_set
);
34039 SWIG_addvarlink(SWIG_globals(),(char*)"FileSelectorDefaultWildcardStr",FileSelectorDefaultWildcardStr_get
, FileSelectorDefaultWildcardStr_set
);
34040 SWIG_addvarlink(SWIG_globals(),(char*)"GetTextFromUserPromptStr",GetTextFromUserPromptStr_get
, GetTextFromUserPromptStr_set
);
34041 SWIG_addvarlink(SWIG_globals(),(char*)"MessageBoxCaptionStr",MessageBoxCaptionStr_get
, MessageBoxCaptionStr_set
);
34042 SWIG_Python_SetConstant(d
, "DD_NEW_DIR_BUTTON",SWIG_From_int(static_cast< int >(wxDD_NEW_DIR_BUTTON
)));
34043 SWIG_Python_SetConstant(d
, "DD_DEFAULT_STYLE",SWIG_From_int(static_cast< int >(wxDD_DEFAULT_STYLE
)));
34044 SWIG_Python_SetConstant(d
, "DD_CHANGE_DIR",SWIG_From_int(static_cast< int >(wxDD_CHANGE_DIR
)));
34045 SWIG_Python_SetConstant(d
, "OPEN",SWIG_From_int(static_cast< int >(wxOPEN
)));
34046 SWIG_Python_SetConstant(d
, "SAVE",SWIG_From_int(static_cast< int >(wxSAVE
)));
34047 SWIG_Python_SetConstant(d
, "OVERWRITE_PROMPT",SWIG_From_int(static_cast< int >(wxOVERWRITE_PROMPT
)));
34048 SWIG_Python_SetConstant(d
, "FILE_MUST_EXIST",SWIG_From_int(static_cast< int >(wxFILE_MUST_EXIST
)));
34049 SWIG_Python_SetConstant(d
, "MULTIPLE",SWIG_From_int(static_cast< int >(wxMULTIPLE
)));
34050 SWIG_Python_SetConstant(d
, "CHANGE_DIR",SWIG_From_int(static_cast< int >(wxCHANGE_DIR
)));
34051 SWIG_Python_SetConstant(d
, "HIDE_READONLY",SWIG_From_int(static_cast< int >(wxHIDE_READONLY
)));
34052 SWIG_Python_SetConstant(d
, "FD_OPEN",SWIG_From_int(static_cast< int >(wxFD_OPEN
)));
34053 SWIG_Python_SetConstant(d
, "FD_SAVE",SWIG_From_int(static_cast< int >(wxFD_SAVE
)));
34054 SWIG_Python_SetConstant(d
, "FD_OVERWRITE_PROMPT",SWIG_From_int(static_cast< int >(wxFD_OVERWRITE_PROMPT
)));
34055 SWIG_Python_SetConstant(d
, "FD_FILE_MUST_EXIST",SWIG_From_int(static_cast< int >(wxFD_FILE_MUST_EXIST
)));
34056 SWIG_Python_SetConstant(d
, "FD_MULTIPLE",SWIG_From_int(static_cast< int >(wxFD_MULTIPLE
)));
34057 SWIG_Python_SetConstant(d
, "FD_CHANGE_DIR",SWIG_From_int(static_cast< int >(wxFD_CHANGE_DIR
)));
34058 SWIG_Python_SetConstant(d
, "FD_PREVIEW",SWIG_From_int(static_cast< int >(wxFD_PREVIEW
)));
34059 SWIG_Python_SetConstant(d
, "FD_DEFAULT_STYLE",SWIG_From_int(static_cast< int >(wxFD_DEFAULT_STYLE
)));
34060 SWIG_Python_SetConstant(d
, "CHOICEDLG_STYLE",SWIG_From_int(static_cast< int >(wxCHOICEDLG_STYLE
)));
34061 SWIG_Python_SetConstant(d
, "TextEntryDialogStyle",SWIG_From_int(static_cast< int >(wxTextEntryDialogStyle
)));
34062 SWIG_addvarlink(SWIG_globals(),(char*)"GetPasswordFromUserPromptStr",GetPasswordFromUserPromptStr_get
, GetPasswordFromUserPromptStr_set
);
34063 SWIG_Python_SetConstant(d
, "PD_AUTO_HIDE",SWIG_From_int(static_cast< int >(wxPD_AUTO_HIDE
)));
34064 SWIG_Python_SetConstant(d
, "PD_APP_MODAL",SWIG_From_int(static_cast< int >(wxPD_APP_MODAL
)));
34065 SWIG_Python_SetConstant(d
, "PD_CAN_ABORT",SWIG_From_int(static_cast< int >(wxPD_CAN_ABORT
)));
34066 SWIG_Python_SetConstant(d
, "PD_ELAPSED_TIME",SWIG_From_int(static_cast< int >(wxPD_ELAPSED_TIME
)));
34067 SWIG_Python_SetConstant(d
, "PD_ESTIMATED_TIME",SWIG_From_int(static_cast< int >(wxPD_ESTIMATED_TIME
)));
34068 SWIG_Python_SetConstant(d
, "PD_REMAINING_TIME",SWIG_From_int(static_cast< int >(wxPD_REMAINING_TIME
)));
34069 SWIG_Python_SetConstant(d
, "PD_SMOOTH",SWIG_From_int(static_cast< int >(wxPD_SMOOTH
)));
34070 SWIG_Python_SetConstant(d
, "PD_CAN_SKIP",SWIG_From_int(static_cast< int >(wxPD_CAN_SKIP
)));
34071 SWIG_Python_SetConstant(d
, "FR_DOWN",SWIG_From_int(static_cast< int >(wxFR_DOWN
)));
34072 SWIG_Python_SetConstant(d
, "FR_WHOLEWORD",SWIG_From_int(static_cast< int >(wxFR_WHOLEWORD
)));
34073 SWIG_Python_SetConstant(d
, "FR_MATCHCASE",SWIG_From_int(static_cast< int >(wxFR_MATCHCASE
)));
34074 SWIG_Python_SetConstant(d
, "FR_REPLACEDIALOG",SWIG_From_int(static_cast< int >(wxFR_REPLACEDIALOG
)));
34075 SWIG_Python_SetConstant(d
, "FR_NOUPDOWN",SWIG_From_int(static_cast< int >(wxFR_NOUPDOWN
)));
34076 SWIG_Python_SetConstant(d
, "FR_NOMATCHCASE",SWIG_From_int(static_cast< int >(wxFR_NOMATCHCASE
)));
34077 SWIG_Python_SetConstant(d
, "FR_NOWHOLEWORD",SWIG_From_int(static_cast< int >(wxFR_NOWHOLEWORD
)));
34078 PyDict_SetItemString(d
, "wxEVT_COMMAND_FIND", PyInt_FromLong(wxEVT_COMMAND_FIND
));
34079 PyDict_SetItemString(d
, "wxEVT_COMMAND_FIND_NEXT", PyInt_FromLong(wxEVT_COMMAND_FIND_NEXT
));
34080 PyDict_SetItemString(d
, "wxEVT_COMMAND_FIND_REPLACE", PyInt_FromLong(wxEVT_COMMAND_FIND_REPLACE
));
34081 PyDict_SetItemString(d
, "wxEVT_COMMAND_FIND_REPLACE_ALL", PyInt_FromLong(wxEVT_COMMAND_FIND_REPLACE_ALL
));
34082 PyDict_SetItemString(d
, "wxEVT_COMMAND_FIND_CLOSE", PyInt_FromLong(wxEVT_COMMAND_FIND_CLOSE
));
34083 SWIG_Python_SetConstant(d
, "IDM_WINDOWTILE",SWIG_From_int(static_cast< int >(4001)));
34084 SWIG_Python_SetConstant(d
, "IDM_WINDOWTILEHOR",SWIG_From_int(static_cast< int >(4001)));
34085 SWIG_Python_SetConstant(d
, "IDM_WINDOWCASCADE",SWIG_From_int(static_cast< int >(4002)));
34086 SWIG_Python_SetConstant(d
, "IDM_WINDOWICONS",SWIG_From_int(static_cast< int >(4003)));
34087 SWIG_Python_SetConstant(d
, "IDM_WINDOWNEXT",SWIG_From_int(static_cast< int >(4004)));
34088 SWIG_Python_SetConstant(d
, "IDM_WINDOWTILEVERT",SWIG_From_int(static_cast< int >(4005)));
34089 SWIG_Python_SetConstant(d
, "IDM_WINDOWPREV",SWIG_From_int(static_cast< int >(4006)));
34090 SWIG_Python_SetConstant(d
, "FIRST_MDI_CHILD",SWIG_From_int(static_cast< int >(4100)));
34091 SWIG_Python_SetConstant(d
, "LAST_MDI_CHILD",SWIG_From_int(static_cast< int >(4600)));
34092 SWIG_addvarlink(SWIG_globals(),(char*)"PrintoutTitleStr",PrintoutTitleStr_get
, PrintoutTitleStr_set
);
34093 SWIG_addvarlink(SWIG_globals(),(char*)"PreviewCanvasNameStr",PreviewCanvasNameStr_get
, PreviewCanvasNameStr_set
);
34094 SWIG_Python_SetConstant(d
, "PRINT_MODE_NONE",SWIG_From_int(static_cast< int >(wxPRINT_MODE_NONE
)));
34095 SWIG_Python_SetConstant(d
, "PRINT_MODE_PREVIEW",SWIG_From_int(static_cast< int >(wxPRINT_MODE_PREVIEW
)));
34096 SWIG_Python_SetConstant(d
, "PRINT_MODE_FILE",SWIG_From_int(static_cast< int >(wxPRINT_MODE_FILE
)));
34097 SWIG_Python_SetConstant(d
, "PRINT_MODE_PRINTER",SWIG_From_int(static_cast< int >(wxPRINT_MODE_PRINTER
)));
34098 SWIG_Python_SetConstant(d
, "PRINT_MODE_STREAM",SWIG_From_int(static_cast< int >(wxPRINT_MODE_STREAM
)));
34099 SWIG_Python_SetConstant(d
, "PRINTBIN_DEFAULT",SWIG_From_int(static_cast< int >(wxPRINTBIN_DEFAULT
)));
34100 SWIG_Python_SetConstant(d
, "PRINTBIN_ONLYONE",SWIG_From_int(static_cast< int >(wxPRINTBIN_ONLYONE
)));
34101 SWIG_Python_SetConstant(d
, "PRINTBIN_LOWER",SWIG_From_int(static_cast< int >(wxPRINTBIN_LOWER
)));
34102 SWIG_Python_SetConstant(d
, "PRINTBIN_MIDDLE",SWIG_From_int(static_cast< int >(wxPRINTBIN_MIDDLE
)));
34103 SWIG_Python_SetConstant(d
, "PRINTBIN_MANUAL",SWIG_From_int(static_cast< int >(wxPRINTBIN_MANUAL
)));
34104 SWIG_Python_SetConstant(d
, "PRINTBIN_ENVELOPE",SWIG_From_int(static_cast< int >(wxPRINTBIN_ENVELOPE
)));
34105 SWIG_Python_SetConstant(d
, "PRINTBIN_ENVMANUAL",SWIG_From_int(static_cast< int >(wxPRINTBIN_ENVMANUAL
)));
34106 SWIG_Python_SetConstant(d
, "PRINTBIN_AUTO",SWIG_From_int(static_cast< int >(wxPRINTBIN_AUTO
)));
34107 SWIG_Python_SetConstant(d
, "PRINTBIN_TRACTOR",SWIG_From_int(static_cast< int >(wxPRINTBIN_TRACTOR
)));
34108 SWIG_Python_SetConstant(d
, "PRINTBIN_SMALLFMT",SWIG_From_int(static_cast< int >(wxPRINTBIN_SMALLFMT
)));
34109 SWIG_Python_SetConstant(d
, "PRINTBIN_LARGEFMT",SWIG_From_int(static_cast< int >(wxPRINTBIN_LARGEFMT
)));
34110 SWIG_Python_SetConstant(d
, "PRINTBIN_LARGECAPACITY",SWIG_From_int(static_cast< int >(wxPRINTBIN_LARGECAPACITY
)));
34111 SWIG_Python_SetConstant(d
, "PRINTBIN_CASSETTE",SWIG_From_int(static_cast< int >(wxPRINTBIN_CASSETTE
)));
34112 SWIG_Python_SetConstant(d
, "PRINTBIN_FORMSOURCE",SWIG_From_int(static_cast< int >(wxPRINTBIN_FORMSOURCE
)));
34113 SWIG_Python_SetConstant(d
, "PRINTBIN_USER",SWIG_From_int(static_cast< int >(wxPRINTBIN_USER
)));
34114 SWIG_Python_SetConstant(d
, "PRINTER_NO_ERROR",SWIG_From_int(static_cast< int >(wxPRINTER_NO_ERROR
)));
34115 SWIG_Python_SetConstant(d
, "PRINTER_CANCELLED",SWIG_From_int(static_cast< int >(wxPRINTER_CANCELLED
)));
34116 SWIG_Python_SetConstant(d
, "PRINTER_ERROR",SWIG_From_int(static_cast< int >(wxPRINTER_ERROR
)));
34117 SWIG_Python_SetConstant(d
, "PREVIEW_PRINT",SWIG_From_int(static_cast< int >(wxPREVIEW_PRINT
)));
34118 SWIG_Python_SetConstant(d
, "PREVIEW_PREVIOUS",SWIG_From_int(static_cast< int >(wxPREVIEW_PREVIOUS
)));
34119 SWIG_Python_SetConstant(d
, "PREVIEW_NEXT",SWIG_From_int(static_cast< int >(wxPREVIEW_NEXT
)));
34120 SWIG_Python_SetConstant(d
, "PREVIEW_ZOOM",SWIG_From_int(static_cast< int >(wxPREVIEW_ZOOM
)));
34121 SWIG_Python_SetConstant(d
, "PREVIEW_FIRST",SWIG_From_int(static_cast< int >(wxPREVIEW_FIRST
)));
34122 SWIG_Python_SetConstant(d
, "PREVIEW_LAST",SWIG_From_int(static_cast< int >(wxPREVIEW_LAST
)));
34123 SWIG_Python_SetConstant(d
, "PREVIEW_GOTO",SWIG_From_int(static_cast< int >(wxPREVIEW_GOTO
)));
34124 SWIG_Python_SetConstant(d
, "PREVIEW_DEFAULT",SWIG_From_int(static_cast< int >(wxPREVIEW_DEFAULT
)));
34125 SWIG_Python_SetConstant(d
, "ID_PREVIEW_CLOSE",SWIG_From_int(static_cast< int >(wxID_PREVIEW_CLOSE
)));
34126 SWIG_Python_SetConstant(d
, "ID_PREVIEW_NEXT",SWIG_From_int(static_cast< int >(wxID_PREVIEW_NEXT
)));
34127 SWIG_Python_SetConstant(d
, "ID_PREVIEW_PREVIOUS",SWIG_From_int(static_cast< int >(wxID_PREVIEW_PREVIOUS
)));
34128 SWIG_Python_SetConstant(d
, "ID_PREVIEW_PRINT",SWIG_From_int(static_cast< int >(wxID_PREVIEW_PRINT
)));
34129 SWIG_Python_SetConstant(d
, "ID_PREVIEW_ZOOM",SWIG_From_int(static_cast< int >(wxID_PREVIEW_ZOOM
)));
34130 SWIG_Python_SetConstant(d
, "ID_PREVIEW_FIRST",SWIG_From_int(static_cast< int >(wxID_PREVIEW_FIRST
)));
34131 SWIG_Python_SetConstant(d
, "ID_PREVIEW_LAST",SWIG_From_int(static_cast< int >(wxID_PREVIEW_LAST
)));
34132 SWIG_Python_SetConstant(d
, "ID_PREVIEW_GOTO",SWIG_From_int(static_cast< int >(wxID_PREVIEW_GOTO
)));
34134 wxPyPtrTypeMap_Add("wxPrintout", "wxPyPrintout");