1 /* ----------------------------------------------------------------------------
2 * This file was automatically generated by SWIG (http://www.swig.org).
5 * This file is not intended to be easily readable and contains a number of
6 * coding conventions designed to improve portability and efficiency. Do not make
7 * changes to this file unless you know what you are doing--modify the SWIG
8 * interface file instead.
9 * ----------------------------------------------------------------------------- */
12 #define SWIG_PYTHON_DIRECTOR_NO_VTABLE
15 template<class T
> class SwigValueWrapper
{
18 SwigValueWrapper() : tt(0) { }
19 SwigValueWrapper(const SwigValueWrapper
<T
>& rhs
) : tt(new T(*rhs
.tt
)) { }
20 SwigValueWrapper(const T
& t
) : tt(new T(t
)) { }
21 ~SwigValueWrapper() { delete tt
; }
22 SwigValueWrapper
& operator=(const T
& t
) { delete tt
; tt
= new T(t
); return *this; }
23 operator T
&() const { return *tt
; }
24 T
*operator&() { return tt
; }
26 SwigValueWrapper
& operator=(const SwigValueWrapper
<T
>& rhs
);
30 /* -----------------------------------------------------------------------------
31 * This section contains generic SWIG labels for method/variable
32 * declarations/attributes, and other compiler dependent labels.
33 * ----------------------------------------------------------------------------- */
35 /* template workaround for compilers that cannot correctly implement the C++ standard */
36 #ifndef SWIGTEMPLATEDISAMBIGUATOR
37 # if defined(__SUNPRO_CC)
38 # if (__SUNPRO_CC <= 0x560)
39 # define SWIGTEMPLATEDISAMBIGUATOR template
41 # define SWIGTEMPLATEDISAMBIGUATOR
44 # define SWIGTEMPLATEDISAMBIGUATOR
48 /* inline attribute */
50 # if defined(__cplusplus) || (defined(__GNUC__) && !defined(__STRICT_ANSI__))
51 # define SWIGINLINE inline
57 /* attribute recognised by some compilers to avoid 'unused' warnings */
59 # if defined(__GNUC__)
60 # if !(defined(__cplusplus)) || (__GNUC__ > 3 || (__GNUC__ == 3 && __GNUC_MINOR__ >= 4))
61 # define SWIGUNUSED __attribute__ ((__unused__))
66 # define SWIGUNUSED __attribute__ ((__unused__))
72 #ifndef SWIGUNUSEDPARM
74 # define SWIGUNUSEDPARM(p)
76 # define SWIGUNUSEDPARM(p) p SWIGUNUSED
80 /* internal SWIG method */
82 # define SWIGINTERN static SWIGUNUSED
85 /* internal inline SWIG method */
86 #ifndef SWIGINTERNINLINE
87 # define SWIGINTERNINLINE SWIGINTERN SWIGINLINE
90 /* exporting methods */
91 #if (__GNUC__ >= 4) || (__GNUC__ == 3 && __GNUC_MINOR__ >= 4)
92 # ifndef GCC_HASCLASSVISIBILITY
93 # define GCC_HASCLASSVISIBILITY
98 # if defined(_WIN32) || defined(__WIN32__) || defined(__CYGWIN__)
99 # if defined(STATIC_LINKED)
102 # define SWIGEXPORT __declspec(dllexport)
105 # if defined(__GNUC__) && defined(GCC_HASCLASSVISIBILITY)
106 # define SWIGEXPORT __attribute__ ((visibility("default")))
113 /* calling conventions for Windows */
115 # if defined(_WIN32) || defined(__WIN32__) || defined(__CYGWIN__)
116 # define SWIGSTDCALL __stdcall
122 /* Deal with Microsoft's attempt at deprecating C standard runtime functions */
123 #if !defined(SWIG_NO_CRT_SECURE_NO_DEPRECATE) && defined(_MSC_VER)
124 # define _CRT_SECURE_NO_DEPRECATE
128 /* Python.h has to appear first */
131 /* -----------------------------------------------------------------------------
134 * This file contains generic CAPI SWIG runtime support for pointer
136 * ----------------------------------------------------------------------------- */
138 /* This should only be incremented when either the layout of swig_type_info changes,
139 or for whatever reason, the runtime changes incompatibly */
140 #define SWIG_RUNTIME_VERSION "2"
142 /* define SWIG_TYPE_TABLE_NAME as "SWIG_TYPE_TABLE" */
143 #ifdef SWIG_TYPE_TABLE
144 # define SWIG_QUOTE_STRING(x) #x
145 # define SWIG_EXPAND_AND_QUOTE_STRING(x) SWIG_QUOTE_STRING(x)
146 # define SWIG_TYPE_TABLE_NAME SWIG_EXPAND_AND_QUOTE_STRING(SWIG_TYPE_TABLE)
148 # define SWIG_TYPE_TABLE_NAME
152 You can use the SWIGRUNTIME and SWIGRUNTIMEINLINE macros for
153 creating a static or dynamic library from the swig runtime code.
154 In 99.9% of the cases, swig just needs to declare them as 'static'.
156 But only do this if is strictly necessary, ie, if you have problems
157 with your compiler or so.
161 # define SWIGRUNTIME SWIGINTERN
164 #ifndef SWIGRUNTIMEINLINE
165 # define SWIGRUNTIMEINLINE SWIGRUNTIME SWIGINLINE
168 /* Generic buffer size */
169 #ifndef SWIG_BUFFER_SIZE
170 # define SWIG_BUFFER_SIZE 1024
173 /* Flags for pointer conversions */
174 #define SWIG_POINTER_DISOWN 0x1
176 /* Flags for new pointer objects */
177 #define SWIG_POINTER_OWN 0x1
181 Flags/methods for returning states.
183 The swig conversion methods, as ConvertPtr, return and integer
184 that tells if the conversion was successful or not. And if not,
185 an error code can be returned (see swigerrors.swg for the codes).
187 Use the following macros/flags to set or process the returning
190 In old swig versions, you usually write code as:
192 if (SWIG_ConvertPtr(obj,vptr,ty.flags) != -1) {
198 Now you can be more explicit as:
200 int res = SWIG_ConvertPtr(obj,vptr,ty.flags);
201 if (SWIG_IsOK(res)) {
207 that seems to be the same, but now you can also do
210 int res = SWIG_ConvertPtr(obj,(void **)(&ptr),ty.flags);
211 if (SWIG_IsOK(res)) {
213 if (SWIG_IsNewObj(res) {
223 I.e., now SWIG_ConvertPtr can return new objects and you can
224 identify the case and take care of the deallocation. Of course that
225 requires also to SWIG_ConvertPtr to return new result values, as
227 int SWIG_ConvertPtr(obj, ptr,...) {
229 if (<need new object>) {
230 *ptr = <ptr to new allocated object>;
233 *ptr = <ptr to old object>;
241 Of course, returning the plain '0(success)/-1(fail)' still works, but you can be
242 more explicit by returning SWIG_BADOBJ, SWIG_ERROR or any of the
245 Finally, if the SWIG_CASTRANK_MODE is enabled, the result code
246 allows to return the 'cast rank', for example, if you have this
253 food(1) // cast rank '1' (1 -> 1.0)
254 fooi(1) // cast rank '0'
256 just use the SWIG_AddCast()/SWIG_CheckState()
261 #define SWIG_ERROR (-1)
262 #define SWIG_IsOK(r) (r >= 0)
263 #define SWIG_ArgError(r) ((r != SWIG_ERROR) ? r : SWIG_TypeError)
265 /* The CastRankLimit says how many bits are used for the cast rank */
266 #define SWIG_CASTRANKLIMIT (1 << 8)
267 /* The NewMask denotes the object was created (using new/malloc) */
268 #define SWIG_NEWOBJMASK (SWIG_CASTRANKLIMIT << 1)
269 /* The TmpMask is for in/out typemaps that use temporal objects */
270 #define SWIG_TMPOBJMASK (SWIG_NEWOBJMASK << 1)
271 /* Simple returning values */
272 #define SWIG_BADOBJ (SWIG_ERROR)
273 #define SWIG_OLDOBJ (SWIG_OK)
274 #define SWIG_NEWOBJ (SWIG_OK | SWIG_NEWOBJMASK)
275 #define SWIG_TMPOBJ (SWIG_OK | SWIG_TMPOBJMASK)
276 /* Check, add and del mask methods */
277 #define SWIG_AddNewMask(r) (SWIG_IsOK(r) ? (r | SWIG_NEWOBJMASK) : r)
278 #define SWIG_DelNewMask(r) (SWIG_IsOK(r) ? (r & ~SWIG_NEWOBJMASK) : r)
279 #define SWIG_IsNewObj(r) (SWIG_IsOK(r) && (r & SWIG_NEWOBJMASK))
280 #define SWIG_AddTmpMask(r) (SWIG_IsOK(r) ? (r | SWIG_TMPOBJMASK) : r)
281 #define SWIG_DelTmpMask(r) (SWIG_IsOK(r) ? (r & ~SWIG_TMPOBJMASK) : r)
282 #define SWIG_IsTmpObj(r) (SWIG_IsOK(r) && (r & SWIG_TMPOBJMASK))
286 #if defined(SWIG_CASTRANK_MODE)
287 # ifndef SWIG_TypeRank
288 # define SWIG_TypeRank unsigned long
290 # ifndef SWIG_MAXCASTRANK /* Default cast allowed */
291 # define SWIG_MAXCASTRANK (2)
293 # define SWIG_CASTRANKMASK ((SWIG_CASTRANKLIMIT) -1)
294 # define SWIG_CastRank(r) (r & SWIG_CASTRANKMASK)
295 SWIGINTERNINLINE
int SWIG_AddCast(int r
) {
296 return SWIG_IsOK(r
) ? ((SWIG_CastRank(r
) < SWIG_MAXCASTRANK
) ? (r
+ 1) : SWIG_ERROR
) : r
;
298 SWIGINTERNINLINE
int SWIG_CheckState(int r
) {
299 return SWIG_IsOK(r
) ? SWIG_CastRank(r
) + 1 : 0;
301 #else /* no cast-rank mode */
302 # define SWIG_AddCast
303 # define SWIG_CheckState(r) (SWIG_IsOK(r) ? 1 : 0)
315 typedef void *(*swig_converter_func
)(void *);
316 typedef struct swig_type_info
*(*swig_dycast_func
)(void **);
318 /* Structure to store inforomation on one type */
319 typedef struct swig_type_info
{
320 const char *name
; /* mangled name of this type */
321 const char *str
; /* human readable name of this type */
322 swig_dycast_func dcast
; /* dynamic cast function down a hierarchy */
323 struct swig_cast_info
*cast
; /* linked list of types that can cast into this type */
324 void *clientdata
; /* language specific type data */
325 int owndata
; /* flag if the structure owns the clientdata */
328 /* Structure to store a type and conversion function used for casting */
329 typedef struct swig_cast_info
{
330 swig_type_info
*type
; /* pointer to type that is equivalent to this type */
331 swig_converter_func converter
; /* function to cast the void pointers */
332 struct swig_cast_info
*next
; /* pointer to next cast in linked list */
333 struct swig_cast_info
*prev
; /* pointer to the previous cast */
336 /* Structure used to store module information
337 * Each module generates one structure like this, and the runtime collects
338 * all of these structures and stores them in a circularly linked list.*/
339 typedef struct swig_module_info
{
340 swig_type_info
**types
; /* Array of pointers to swig_type_info structures that are in this module */
341 size_t size
; /* Number of types in this module */
342 struct swig_module_info
*next
; /* Pointer to next element in circularly linked list */
343 swig_type_info
**type_initial
; /* Array of initially generated type structures */
344 swig_cast_info
**cast_initial
; /* Array of initially generated casting structures */
345 void *clientdata
; /* Language specific module data */
349 Compare two type names skipping the space characters, therefore
350 "char*" == "char *" and "Class<int>" == "Class<int >", etc.
352 Return 0 when the two name types are equivalent, as in
353 strncmp, but skipping ' '.
356 SWIG_TypeNameComp(const char *f1
, const char *l1
,
357 const char *f2
, const char *l2
) {
358 for (;(f1
!= l1
) && (f2
!= l2
); ++f1
, ++f2
) {
359 while ((*f1
== ' ') && (f1
!= l1
)) ++f1
;
360 while ((*f2
== ' ') && (f2
!= l2
)) ++f2
;
361 if (*f1
!= *f2
) return (*f1
> *f2
) ? 1 : -1;
363 return (l1
- f1
) - (l2
- f2
);
367 Check type equivalence in a name list like <name1>|<name2>|...
368 Return 0 if not equal, 1 if equal
371 SWIG_TypeEquiv(const char *nb
, const char *tb
) {
373 const char* te
= tb
+ strlen(tb
);
375 while (!equiv
&& *ne
) {
376 for (nb
= ne
; *ne
; ++ne
) {
377 if (*ne
== '|') break;
379 equiv
= (SWIG_TypeNameComp(nb
, ne
, tb
, te
) == 0) ? 1 : 0;
386 Check type equivalence in a name list like <name1>|<name2>|...
387 Return 0 if equal, -1 if nb < tb, 1 if nb > tb
390 SWIG_TypeCompare(const char *nb
, const char *tb
) {
392 const char* te
= tb
+ strlen(tb
);
394 while (!equiv
&& *ne
) {
395 for (nb
= ne
; *ne
; ++ne
) {
396 if (*ne
== '|') break;
398 equiv
= (SWIG_TypeNameComp(nb
, ne
, tb
, te
) == 0) ? 1 : 0;
405 /* think of this as a c++ template<> or a scheme macro */
406 #define SWIG_TypeCheck_Template(comparison, ty) \
408 swig_cast_info *iter = ty->cast; \
411 if (iter == ty->cast) return iter; \
412 /* Move iter to the top of the linked list */ \
413 iter->prev->next = iter->next; \
415 iter->next->prev = iter->prev; \
416 iter->next = ty->cast; \
418 if (ty->cast) ty->cast->prev = iter; \
430 SWIGRUNTIME swig_cast_info
*
431 SWIG_TypeCheck(const char *c
, swig_type_info
*ty
) {
432 SWIG_TypeCheck_Template(strcmp(iter
->type
->name
, c
) == 0, ty
);
435 /* Same as previous function, except strcmp is replaced with a pointer comparison */
436 SWIGRUNTIME swig_cast_info
*
437 SWIG_TypeCheckStruct(swig_type_info
*from
, swig_type_info
*into
) {
438 SWIG_TypeCheck_Template(iter
->type
== from
, into
);
442 Cast a pointer up an inheritance hierarchy
444 SWIGRUNTIMEINLINE
void *
445 SWIG_TypeCast(swig_cast_info
*ty
, void *ptr
) {
446 return ((!ty
) || (!ty
->converter
)) ? ptr
: (*ty
->converter
)(ptr
);
450 Dynamic pointer casting. Down an inheritance hierarchy
452 SWIGRUNTIME swig_type_info
*
453 SWIG_TypeDynamicCast(swig_type_info
*ty
, void **ptr
) {
454 swig_type_info
*lastty
= ty
;
455 if (!ty
|| !ty
->dcast
) return ty
;
456 while (ty
&& (ty
->dcast
)) {
457 ty
= (*ty
->dcast
)(ptr
);
464 Return the name associated with this type
466 SWIGRUNTIMEINLINE
const char *
467 SWIG_TypeName(const swig_type_info
*ty
) {
472 Return the pretty name associated with this type,
473 that is an unmangled type name in a form presentable to the user.
475 SWIGRUNTIME
const char *
476 SWIG_TypePrettyName(const swig_type_info
*type
) {
477 /* The "str" field contains the equivalent pretty names of the
478 type, separated by vertical-bar characters. We choose
479 to print the last name, as it is often (?) the most
481 if (!type
) return NULL
;
482 if (type
->str
!= NULL
) {
483 const char *last_name
= type
->str
;
485 for (s
= type
->str
; *s
; s
++)
486 if (*s
== '|') last_name
= s
+1;
494 Set the clientdata field for a type
497 SWIG_TypeClientData(swig_type_info
*ti
, void *clientdata
) {
498 swig_cast_info
*cast
= ti
->cast
;
499 /* if (ti->clientdata == clientdata) return; */
500 ti
->clientdata
= clientdata
;
503 if (!cast
->converter
) {
504 swig_type_info
*tc
= cast
->type
;
505 if (!tc
->clientdata
) {
506 SWIG_TypeClientData(tc
, clientdata
);
513 SWIG_TypeNewClientData(swig_type_info
*ti
, void *clientdata
) {
514 SWIG_TypeClientData(ti
, clientdata
);
519 Search for a swig_type_info structure only by mangled name
520 Search is a O(log #types)
522 We start searching at module start, and finish searching when start == end.
523 Note: if start == end at the beginning of the function, we go all the way around
526 SWIGRUNTIME swig_type_info
*
527 SWIG_MangledTypeQueryModule(swig_module_info
*start
,
528 swig_module_info
*end
,
530 swig_module_info
*iter
= start
;
533 register size_t l
= 0;
534 register size_t r
= iter
->size
- 1;
536 /* since l+r >= 0, we can (>> 1) instead (/ 2) */
537 register size_t i
= (l
+ r
) >> 1;
538 const char *iname
= iter
->types
[i
]->name
;
540 register int compare
= strcmp(name
, iname
);
542 return iter
->types
[i
];
543 } else if (compare
< 0) {
549 } else if (compare
> 0) {
553 break; /* should never happen */
558 } while (iter
!= end
);
563 Search for a swig_type_info structure for either a mangled name or a human readable name.
564 It first searches the mangled names of the types, which is a O(log #types)
565 If a type is not found it then searches the human readable names, which is O(#types).
567 We start searching at module start, and finish searching when start == end.
568 Note: if start == end at the beginning of the function, we go all the way around
571 SWIGRUNTIME swig_type_info
*
572 SWIG_TypeQueryModule(swig_module_info
*start
,
573 swig_module_info
*end
,
575 /* STEP 1: Search the name field using binary search */
576 swig_type_info
*ret
= SWIG_MangledTypeQueryModule(start
, end
, name
);
580 /* STEP 2: If the type hasn't been found, do a complete search
581 of the str field (the human readable name) */
582 swig_module_info
*iter
= start
;
584 register size_t i
= 0;
585 for (; i
< iter
->size
; ++i
) {
586 if (iter
->types
[i
]->str
&& (SWIG_TypeEquiv(iter
->types
[i
]->str
, name
)))
587 return iter
->types
[i
];
590 } while (iter
!= end
);
593 /* neither found a match */
598 Pack binary data into a string
601 SWIG_PackData(char *c
, void *ptr
, size_t sz
) {
602 static const char hex
[17] = "0123456789abcdef";
603 register const unsigned char *u
= (unsigned char *) ptr
;
604 register const unsigned char *eu
= u
+ sz
;
605 for (; u
!= eu
; ++u
) {
606 register unsigned char uu
= *u
;
607 *(c
++) = hex
[(uu
& 0xf0) >> 4];
608 *(c
++) = hex
[uu
& 0xf];
614 Unpack binary data from a string
616 SWIGRUNTIME
const char *
617 SWIG_UnpackData(const char *c
, void *ptr
, size_t sz
) {
618 register unsigned char *u
= (unsigned char *) ptr
;
619 register const unsigned char *eu
= u
+ sz
;
620 for (; u
!= eu
; ++u
) {
621 register char d
= *(c
++);
622 register unsigned char uu
;
623 if ((d
>= '0') && (d
<= '9'))
624 uu
= ((d
- '0') << 4);
625 else if ((d
>= 'a') && (d
<= 'f'))
626 uu
= ((d
- ('a'-10)) << 4);
630 if ((d
>= '0') && (d
<= '9'))
632 else if ((d
>= 'a') && (d
<= 'f'))
633 uu
|= (d
- ('a'-10));
642 Pack 'void *' into a string buffer.
645 SWIG_PackVoidPtr(char *buff
, void *ptr
, const char *name
, size_t bsz
) {
647 if ((2*sizeof(void *) + 2) > bsz
) return 0;
649 r
= SWIG_PackData(r
,&ptr
,sizeof(void *));
650 if (strlen(name
) + 1 > (bsz
- (r
- buff
))) return 0;
655 SWIGRUNTIME
const char *
656 SWIG_UnpackVoidPtr(const char *c
, void **ptr
, const char *name
) {
658 if (strcmp(c
,"NULL") == 0) {
665 return SWIG_UnpackData(++c
,ptr
,sizeof(void *));
669 SWIG_PackDataName(char *buff
, void *ptr
, size_t sz
, const char *name
, size_t bsz
) {
671 size_t lname
= (name
? strlen(name
) : 0);
672 if ((2*sz
+ 2 + lname
) > bsz
) return 0;
674 r
= SWIG_PackData(r
,ptr
,sz
);
676 strncpy(r
,name
,lname
+1);
683 SWIGRUNTIME
const char *
684 SWIG_UnpackDataName(const char *c
, void *ptr
, size_t sz
, const char *name
) {
686 if (strcmp(c
,"NULL") == 0) {
693 return SWIG_UnpackData(++c
,ptr
,sz
);
701 #define SWIG_UnknownError -1
702 #define SWIG_IOError -2
703 #define SWIG_RuntimeError -3
704 #define SWIG_IndexError -4
705 #define SWIG_TypeError -5
706 #define SWIG_DivisionByZero -6
707 #define SWIG_OverflowError -7
708 #define SWIG_SyntaxError -8
709 #define SWIG_ValueError -9
710 #define SWIG_SystemError -10
711 #define SWIG_AttributeError -11
712 #define SWIG_MemoryError -12
713 #define SWIG_NullReferenceError -13
717 /* Python.h has to appear first */
720 /* Add PyOS_snprintf for old Pythons */
721 #if PY_VERSION_HEX < 0x02020000
722 # if defined(_MSC_VER) || defined(__BORLANDC__) || defined(_WATCOM)
723 # define PyOS_snprintf _snprintf
725 # define PyOS_snprintf snprintf
729 /* A crude PyString_FromFormat implementation for old Pythons */
730 #if PY_VERSION_HEX < 0x02020000
732 #ifndef SWIG_PYBUFFER_SIZE
733 # define SWIG_PYBUFFER_SIZE 1024
737 PyString_FromFormat(const char *fmt
, ...) {
739 char buf
[SWIG_PYBUFFER_SIZE
* 2];
742 res
= vsnprintf(buf
, sizeof(buf
), fmt
, ap
);
744 return (res
< 0 || res
>= (int)sizeof(buf
)) ? 0 : PyString_FromString(buf
);
748 /* Add PyObject_Del for old Pythons */
749 #if PY_VERSION_HEX < 0x01060000
750 # define PyObject_Del(op) PyMem_DEL((op))
753 # define PyObject_DEL PyObject_Del
756 /* A crude PyExc_StopIteration exception for old Pythons */
757 #if PY_VERSION_HEX < 0x02020000
758 # ifndef PyExc_StopIteration
759 # define PyExc_StopIteration PyExc_RuntimeError
761 # ifndef PyObject_GenericGetAttr
762 # define PyObject_GenericGetAttr 0
765 /* Py_NotImplemented is defined in 2.1 and up. */
766 #if PY_VERSION_HEX < 0x02010000
767 # ifndef Py_NotImplemented
768 # define Py_NotImplemented PyExc_RuntimeError
773 /* A crude PyString_AsStringAndSize implementation for old Pythons */
774 #if PY_VERSION_HEX < 0x02010000
775 # ifndef PyString_AsStringAndSize
776 # define PyString_AsStringAndSize(obj, s, len) {*s = PyString_AsString(obj); *len = *s ? strlen(*s) : 0;}
780 /* PySequence_Size for old Pythons */
781 #if PY_VERSION_HEX < 0x02000000
782 # ifndef PySequence_Size
783 # define PySequence_Size PySequence_Length
788 /* PyBool_FromLong for old Pythons */
789 #if PY_VERSION_HEX < 0x02030000
791 PyObject
*PyBool_FromLong(long ok
)
793 PyObject
*result
= ok
? Py_True
: Py_False
;
800 /* -----------------------------------------------------------------------------
802 * ----------------------------------------------------------------------------- */
804 SWIGRUNTIME PyObject
*
805 SWIG_Python_ErrorType(int code
) {
808 case SWIG_MemoryError
:
809 type
= PyExc_MemoryError
;
812 type
= PyExc_IOError
;
814 case SWIG_RuntimeError
:
815 type
= PyExc_RuntimeError
;
817 case SWIG_IndexError
:
818 type
= PyExc_IndexError
;
821 type
= PyExc_TypeError
;
823 case SWIG_DivisionByZero
:
824 type
= PyExc_ZeroDivisionError
;
826 case SWIG_OverflowError
:
827 type
= PyExc_OverflowError
;
829 case SWIG_SyntaxError
:
830 type
= PyExc_SyntaxError
;
832 case SWIG_ValueError
:
833 type
= PyExc_ValueError
;
835 case SWIG_SystemError
:
836 type
= PyExc_SystemError
;
838 case SWIG_AttributeError
:
839 type
= PyExc_AttributeError
;
842 type
= PyExc_RuntimeError
;
849 SWIG_Python_AddErrorMsg(const char* mesg
)
853 PyObject
*traceback
= 0;
855 if (PyErr_Occurred()) PyErr_Fetch(&type
, &value
, &traceback
);
857 PyObject
*old_str
= PyObject_Str(value
);
860 PyErr_Format(type
, "%s %s", PyString_AsString(old_str
), mesg
);
864 PyErr_Format(PyExc_RuntimeError
, mesg
);
870 #if defined(SWIG_PYTHON_NO_THREADS)
871 # if defined(SWIG_PYTHON_THREADS)
872 # undef SWIG_PYTHON_THREADS
875 #if defined(SWIG_PYTHON_THREADS) /* Threading support is enabled */
876 # if !defined(SWIG_PYTHON_USE_GIL) && !defined(SWIG_PYTHON_NO_USE_GIL)
877 # if (PY_VERSION_HEX >= 0x02030000) /* For 2.3 or later, use the PyGILState calls */
878 # define SWIG_PYTHON_USE_GIL
881 # if defined(SWIG_PYTHON_USE_GIL) /* Use PyGILState threads calls */
882 # ifndef SWIG_PYTHON_INITIALIZE_THREADS
883 # define SWIG_PYTHON_INITIALIZE_THREADS PyEval_InitThreads()
885 # ifdef __cplusplus /* C++ code */
886 class SWIG_Python_Thread_Block
{
888 PyGILState_STATE state
;
890 void end() { if (status
) { PyGILState_Release(state
); status
= false;} }
891 SWIG_Python_Thread_Block() : status(true), state(PyGILState_Ensure()) {}
892 ~SWIG_Python_Thread_Block() { end(); }
894 class SWIG_Python_Thread_Allow
{
898 void end() { if (status
) { PyEval_RestoreThread(save
); status
= false; }}
899 SWIG_Python_Thread_Allow() : status(true), save(PyEval_SaveThread()) {}
900 ~SWIG_Python_Thread_Allow() { end(); }
902 # define SWIG_PYTHON_THREAD_BEGIN_BLOCK SWIG_Python_Thread_Block _swig_thread_block
903 # define SWIG_PYTHON_THREAD_END_BLOCK _swig_thread_block.end()
904 # define SWIG_PYTHON_THREAD_BEGIN_ALLOW SWIG_Python_Thread_Allow _swig_thread_allow
905 # define SWIG_PYTHON_THREAD_END_ALLOW _swig_thread_allow.end()
907 # define SWIG_PYTHON_THREAD_BEGIN_BLOCK PyGILState_STATE _swig_thread_block = PyGILState_Ensure()
908 # define SWIG_PYTHON_THREAD_END_BLOCK PyGILState_Release(_swig_thread_block)
909 # define SWIG_PYTHON_THREAD_BEGIN_ALLOW PyThreadState *_swig_thread_allow = PyEval_SaveThread()
910 # define SWIG_PYTHON_THREAD_END_ALLOW PyEval_RestoreThread(_swig_thread_allow)
912 # else /* Old thread way, not implemented, user must provide it */
913 # if !defined(SWIG_PYTHON_INITIALIZE_THREADS)
914 # define SWIG_PYTHON_INITIALIZE_THREADS
916 # if !defined(SWIG_PYTHON_THREAD_BEGIN_BLOCK)
917 # define SWIG_PYTHON_THREAD_BEGIN_BLOCK
919 # if !defined(SWIG_PYTHON_THREAD_END_BLOCK)
920 # define SWIG_PYTHON_THREAD_END_BLOCK
922 # if !defined(SWIG_PYTHON_THREAD_BEGIN_ALLOW)
923 # define SWIG_PYTHON_THREAD_BEGIN_ALLOW
925 # if !defined(SWIG_PYTHON_THREAD_END_ALLOW)
926 # define SWIG_PYTHON_THREAD_END_ALLOW
929 #else /* No thread support */
930 # define SWIG_PYTHON_INITIALIZE_THREADS
931 # define SWIG_PYTHON_THREAD_BEGIN_BLOCK
932 # define SWIG_PYTHON_THREAD_END_BLOCK
933 # define SWIG_PYTHON_THREAD_BEGIN_ALLOW
934 # define SWIG_PYTHON_THREAD_END_ALLOW
937 /* -----------------------------------------------------------------------------
938 * Python API portion that goes into the runtime
939 * ----------------------------------------------------------------------------- */
948 /* -----------------------------------------------------------------------------
949 * Constant declarations
950 * ----------------------------------------------------------------------------- */
953 #define SWIG_PY_POINTER 4
954 #define SWIG_PY_BINARY 5
956 /* Constant information structure */
957 typedef struct swig_const_info
{
963 swig_type_info
**ptype
;
974 /* -----------------------------------------------------------------------------
975 * See the LICENSE file for information on copyright, usage and redistribution
976 * of SWIG, and the README file for authors - http://www.swig.org/release.html.
980 * This file contains the runtime support for Python modules
981 * and includes code for managing global variables and pointer
984 * ----------------------------------------------------------------------------- */
986 /* Common SWIG API */
988 #if PY_VERSION_HEX < 0x02050000
989 typedef int Py_ssize_t
;
992 /* for raw pointers */
993 #define SWIG_Python_ConvertPtr(obj, pptr, type, flags) SWIG_Python_ConvertPtrAndOwn(obj, pptr, type, flags, 0)
994 #define SWIG_ConvertPtr(obj, pptr, type, flags) SWIG_Python_ConvertPtr(obj, pptr, type, flags)
995 #define SWIG_ConvertPtrAndOwn(obj,pptr,type,flags,own) SWIG_Python_ConvertPtrAndOwn(obj, pptr, type, flags, own)
996 #define SWIG_NewPointerObj(ptr, type, flags) SWIG_Python_NewPointerObj(ptr, type, flags)
997 #define SWIG_CheckImplicit(ty) SWIG_Python_CheckImplicit(ty)
998 #define SWIG_AcquirePtr(ptr, src) SWIG_Python_AcquirePtr(ptr, src)
999 #define swig_owntype int
1001 /* for raw packed data */
1002 #define SWIG_ConvertPacked(obj, ptr, sz, ty) SWIG_Python_ConvertPacked(obj, ptr, sz, ty)
1003 #define SWIG_NewPackedObj(ptr, sz, type) SWIG_Python_NewPackedObj(ptr, sz, type)
1005 /* for class or struct pointers */
1006 #define SWIG_ConvertInstance(obj, pptr, type, flags) SWIG_ConvertPtr(obj, pptr, type, flags)
1007 #define SWIG_NewInstanceObj(ptr, type, flags) SWIG_NewPointerObj(ptr, type, flags)
1009 /* for C or C++ function pointers */
1010 #define SWIG_ConvertFunctionPtr(obj, pptr, type) SWIG_Python_ConvertFunctionPtr(obj, pptr, type)
1011 #define SWIG_NewFunctionPtrObj(ptr, type) SWIG_Python_NewPointerObj(ptr, type, 0)
1013 /* for C++ member pointers, ie, member methods */
1014 #define SWIG_ConvertMember(obj, ptr, sz, ty) SWIG_Python_ConvertPacked(obj, ptr, sz, ty)
1015 #define SWIG_NewMemberObj(ptr, sz, type) SWIG_Python_NewPackedObj(ptr, sz, type)
1020 #define SWIG_GetModule(clientdata) SWIG_Python_GetModule()
1021 #define SWIG_SetModule(clientdata, pointer) SWIG_Python_SetModule(pointer)
1022 #define SWIG_NewClientData(obj) PySwigClientData_New(obj)
1024 #define SWIG_SetErrorObj SWIG_Python_SetErrorObj
1025 #define SWIG_SetErrorMsg SWIG_Python_SetErrorMsg
1026 #define SWIG_ErrorType(code) SWIG_Python_ErrorType(code)
1027 #define SWIG_Error(code, msg) SWIG_Python_SetErrorMsg(SWIG_ErrorType(code), msg)
1028 #define SWIG_fail goto fail
1031 /* Runtime API implementation */
1033 /* Error manipulation */
1036 SWIG_Python_SetErrorObj(PyObject
*errtype
, PyObject
*obj
) {
1037 SWIG_PYTHON_THREAD_BEGIN_BLOCK
;
1038 PyErr_SetObject(errtype
, obj
);
1040 SWIG_PYTHON_THREAD_END_BLOCK
;
1044 SWIG_Python_SetErrorMsg(PyObject
*errtype
, const char *msg
) {
1045 SWIG_PYTHON_THREAD_BEGIN_BLOCK
;
1046 PyErr_SetString(errtype
, (char *) msg
);
1047 SWIG_PYTHON_THREAD_END_BLOCK
;
1050 #define SWIG_Python_Raise(obj, type, desc) SWIG_Python_SetErrorObj(SWIG_Python_ExceptionType(desc), obj)
1052 /* Set a constant value */
1055 SWIG_Python_SetConstant(PyObject
*d
, const char *name
, PyObject
*obj
) {
1056 PyDict_SetItemString(d
, (char*) name
, obj
);
1060 /* Append a value to the result obj */
1062 SWIGINTERN PyObject
*
1063 SWIG_Python_AppendOutput(PyObject
* result
, PyObject
* obj
) {
1064 #if !defined(SWIG_PYTHON_OUTPUT_TUPLE)
1067 } else if (result
== Py_None
) {
1071 if (!PyList_Check(result
)) {
1072 PyObject
*o2
= result
;
1073 result
= PyList_New(1);
1074 PyList_SetItem(result
, 0, o2
);
1076 PyList_Append(result
,obj
);
1085 } else if (result
== Py_None
) {
1089 if (!PyTuple_Check(result
)) {
1091 result
= PyTuple_New(1);
1092 PyTuple_SET_ITEM(result
, 0, o2
);
1094 o3
= PyTuple_New(1);
1095 PyTuple_SET_ITEM(o3
, 0, obj
);
1097 result
= PySequence_Concat(o2
, o3
);
1105 /* Unpack the argument tuple */
1108 SWIG_Python_UnpackTuple(PyObject
*args
, const char *name
, int min
, int max
, PyObject
**objs
)
1114 PyErr_Format(PyExc_TypeError
, "%s expected %s%d arguments, got none",
1115 name
, (min
== max
? "" : "at least "), min
);
1119 if (!PyTuple_Check(args
)) {
1120 PyErr_SetString(PyExc_SystemError
, "UnpackTuple() argument list is not a tuple");
1123 register int l
= PyTuple_GET_SIZE(args
);
1125 PyErr_Format(PyExc_TypeError
, "%s expected %s%d arguments, got %d",
1126 name
, (min
== max
? "" : "at least "), min
, l
);
1128 } else if (l
> max
) {
1129 PyErr_Format(PyExc_TypeError
, "%s expected %s%d arguments, got %d",
1130 name
, (min
== max
? "" : "at most "), max
, l
);
1134 for (i
= 0; i
< l
; ++i
) {
1135 objs
[i
] = PyTuple_GET_ITEM(args
, i
);
1137 for (; l
< max
; ++l
) {
1145 /* A functor is a function object with one single object argument */
1146 #if PY_VERSION_HEX >= 0x02020000
1147 #define SWIG_Python_CallFunctor(functor, obj) PyObject_CallFunctionObjArgs(functor, obj, NULL);
1149 #define SWIG_Python_CallFunctor(functor, obj) PyObject_CallFunction(functor, "O", obj);
1153 Helper for static pointer initialization for both C and C++ code, for example
1154 static PyObject *SWIG_STATIC_POINTER(MyVar) = NewSomething(...);
1157 #define SWIG_STATIC_POINTER(var) var
1159 #define SWIG_STATIC_POINTER(var) var = 0; if (!var) var
1162 /* -----------------------------------------------------------------------------
1163 * Pointer declarations
1164 * ----------------------------------------------------------------------------- */
1166 /* Flags for new pointer objects */
1167 #define SWIG_POINTER_NOSHADOW (SWIG_POINTER_OWN << 1)
1168 #define SWIG_POINTER_NEW (SWIG_POINTER_NOSHADOW | SWIG_POINTER_OWN)
1170 #define SWIG_POINTER_IMPLICIT_CONV (SWIG_POINTER_DISOWN << 1)
1179 /* How to access Py_None */
1180 #if defined(_WIN32) || defined(__WIN32__) || defined(__CYGWIN__)
1181 # ifndef SWIG_PYTHON_NO_BUILD_NONE
1182 # ifndef SWIG_PYTHON_BUILD_NONE
1183 # define SWIG_PYTHON_BUILD_NONE
1188 #ifdef SWIG_PYTHON_BUILD_NONE
1191 # define Py_None SWIG_Py_None()
1193 SWIGRUNTIMEINLINE PyObject
*
1196 PyObject
*none
= Py_BuildValue("");
1200 SWIGRUNTIME PyObject
*
1203 static PyObject
*SWIG_STATIC_POINTER(none
) = _SWIG_Py_None();
1208 /* The python void return value */
1210 SWIGRUNTIMEINLINE PyObject
*
1213 PyObject
*none
= Py_None
;
1218 /* PySwigClientData */
1229 SWIGRUNTIMEINLINE
int
1230 SWIG_Python_CheckImplicit(swig_type_info
*ty
)
1232 PySwigClientData
*data
= (PySwigClientData
*)ty
->clientdata
;
1233 return data
? data
->implicitconv
: 0;
1236 SWIGRUNTIMEINLINE PyObject
*
1237 SWIG_Python_ExceptionType(swig_type_info
*desc
) {
1238 PySwigClientData
*data
= desc
? (PySwigClientData
*) desc
->clientdata
: 0;
1239 PyObject
*klass
= data
? data
->klass
: 0;
1240 return (klass
? klass
: PyExc_RuntimeError
);
1244 SWIGRUNTIME PySwigClientData
*
1245 PySwigClientData_New(PyObject
* obj
)
1250 PySwigClientData
*data
= (PySwigClientData
*)malloc(sizeof(PySwigClientData
));
1251 /* the klass element */
1253 Py_INCREF(data
->klass
);
1254 /* the newraw method and newargs arguments used to create a new raw instance */
1255 if (PyClass_Check(obj
)) {
1257 data
->newargs
= obj
;
1260 #if (PY_VERSION_HEX < 0x02020000)
1263 data
->newraw
= PyObject_GetAttrString(data
->klass
, (char *)"__new__");
1266 Py_INCREF(data
->newraw
);
1267 data
->newargs
= PyTuple_New(1);
1268 PyTuple_SetItem(data
->newargs
, 0, obj
);
1270 data
->newargs
= obj
;
1272 Py_INCREF(data
->newargs
);
1274 /* the destroy method, aka as the C++ delete method */
1275 data
->destroy
= PyObject_GetAttrString(data
->klass
, (char *)"__swig_destroy__");
1276 if (PyErr_Occurred()) {
1280 if (data
->destroy
) {
1282 Py_INCREF(data
->destroy
);
1283 flags
= PyCFunction_GET_FLAGS(data
->destroy
);
1285 data
->delargs
= !(flags
& (METH_O
));
1292 data
->implicitconv
= 0;
1298 PySwigClientData_Del(PySwigClientData
* data
)
1300 Py_XDECREF(data
->newraw
);
1301 Py_XDECREF(data
->newargs
);
1302 Py_XDECREF(data
->destroy
);
1305 /* =============== PySwigObject =====================*/
1315 SWIGRUNTIME PyObject
*
1316 PySwigObject_long(PySwigObject
*v
)
1318 return PyLong_FromVoidPtr(v
->ptr
);
1321 SWIGRUNTIME PyObject
*
1322 PySwigObject_format(const char* fmt
, PySwigObject
*v
)
1324 PyObject
*res
= NULL
;
1325 PyObject
*args
= PyTuple_New(1);
1327 if (PyTuple_SetItem(args
, 0, PySwigObject_long(v
)) == 0) {
1328 PyObject
*ofmt
= PyString_FromString(fmt
);
1330 res
= PyString_Format(ofmt
,args
);
1339 SWIGRUNTIME PyObject
*
1340 PySwigObject_oct(PySwigObject
*v
)
1342 return PySwigObject_format("%o",v
);
1345 SWIGRUNTIME PyObject
*
1346 PySwigObject_hex(PySwigObject
*v
)
1348 return PySwigObject_format("%x",v
);
1351 SWIGRUNTIME PyObject
*
1353 PySwigObject_repr(PySwigObject
*v
)
1355 PySwigObject_repr(PySwigObject
*v
, PyObject
*args
)
1358 const char *name
= SWIG_TypePrettyName(v
->ty
);
1359 PyObject
*hex
= PySwigObject_hex(v
);
1360 PyObject
*repr
= PyString_FromFormat("<Swig Object of type '%s' at 0x%s>", name
, PyString_AsString(hex
));
1364 PyObject
*nrep
= PySwigObject_repr((PySwigObject
*)v
->next
);
1366 PyObject
*nrep
= PySwigObject_repr((PySwigObject
*)v
->next
, args
);
1368 PyString_ConcatAndDel(&repr
,nrep
);
1374 PySwigObject_print(PySwigObject
*v
, FILE *fp
, int SWIGUNUSEDPARM(flags
))
1377 PyObject
*repr
= PySwigObject_repr(v
);
1379 PyObject
*repr
= PySwigObject_repr(v
, NULL
);
1382 fputs(PyString_AsString(repr
), fp
);
1390 SWIGRUNTIME PyObject
*
1391 PySwigObject_str(PySwigObject
*v
)
1393 char result
[SWIG_BUFFER_SIZE
];
1394 return SWIG_PackVoidPtr(result
, v
->ptr
, v
->ty
->name
, sizeof(result
)) ?
1395 PyString_FromString(result
) : 0;
1399 PySwigObject_compare(PySwigObject
*v
, PySwigObject
*w
)
1403 return (i
< j
) ? -1 : ((i
> j
) ? 1 : 0);
1406 SWIGRUNTIME PyTypeObject
* _PySwigObject_type(void);
1408 SWIGRUNTIME PyTypeObject
*
1409 PySwigObject_type(void) {
1410 static PyTypeObject
*SWIG_STATIC_POINTER(type
) = _PySwigObject_type();
1414 SWIGRUNTIMEINLINE
int
1415 PySwigObject_Check(PyObject
*op
) {
1416 return ((op
)->ob_type
== PySwigObject_type())
1417 || (strcmp((op
)->ob_type
->tp_name
,"PySwigObject") == 0);
1420 SWIGRUNTIME PyObject
*
1421 PySwigObject_New(void *ptr
, swig_type_info
*ty
, int own
);
1424 PySwigObject_dealloc(PyObject
*v
)
1426 PySwigObject
*sobj
= (PySwigObject
*) v
;
1427 PyObject
*next
= sobj
->next
;
1429 swig_type_info
*ty
= sobj
->ty
;
1430 PySwigClientData
*data
= ty
? (PySwigClientData
*) ty
->clientdata
: 0;
1431 PyObject
*destroy
= data
? data
->destroy
: 0;
1433 /* destroy is always a VARARGS method */
1435 if (data
->delargs
) {
1436 /* we need to create a temporal object to carry the destroy operation */
1437 PyObject
*tmp
= PySwigObject_New(sobj
->ptr
, ty
, 0);
1438 res
= SWIG_Python_CallFunctor(destroy
, tmp
);
1441 PyCFunction meth
= PyCFunction_GET_FUNCTION(destroy
);
1442 PyObject
*mself
= PyCFunction_GET_SELF(destroy
);
1443 res
= ((*meth
)(mself
, v
));
1447 const char *name
= SWIG_TypePrettyName(ty
);
1448 #if !defined(SWIG_PYTHON_SILENT_MEMLEAK)
1449 printf("swig/python detected a memory leak of type '%s', no destructor found.\n", name
);
1457 SWIGRUNTIME PyObject
*
1458 PySwigObject_append(PyObject
* v
, PyObject
* next
)
1460 PySwigObject
*sobj
= (PySwigObject
*) v
;
1463 if (!PyArg_ParseTuple(next
,(char *)"O:append", &tmp
)) return NULL
;
1466 if (!PySwigObject_Check(next
)) {
1471 return SWIG_Py_Void();
1474 SWIGRUNTIME PyObject
*
1476 PySwigObject_next(PyObject
* v
)
1478 PySwigObject_next(PyObject
* v
, PyObject
*SWIGUNUSEDPARM(args
))
1481 PySwigObject
*sobj
= (PySwigObject
*) v
;
1483 Py_INCREF(sobj
->next
);
1486 return SWIG_Py_Void();
1490 SWIGINTERN PyObject
*
1492 PySwigObject_disown(PyObject
*v
)
1494 PySwigObject_disown(PyObject
* v
, PyObject
*SWIGUNUSEDPARM(args
))
1497 PySwigObject
*sobj
= (PySwigObject
*)v
;
1499 return SWIG_Py_Void();
1502 SWIGINTERN PyObject
*
1504 PySwigObject_acquire(PyObject
*v
)
1506 PySwigObject_acquire(PyObject
* v
, PyObject
*SWIGUNUSEDPARM(args
))
1509 PySwigObject
*sobj
= (PySwigObject
*)v
;
1510 sobj
->own
= SWIG_POINTER_OWN
;
1511 return SWIG_Py_Void();
1514 SWIGINTERN PyObject
*
1515 PySwigObject_own(PyObject
*v
, PyObject
*args
)
1518 #if (PY_VERSION_HEX < 0x02020000)
1519 if (!PyArg_ParseTuple(args
,(char *)"|O:own",&val
))
1521 if (!PyArg_UnpackTuple(args
, (char *)"own", 0, 1, &val
))
1528 PySwigObject
*sobj
= (PySwigObject
*)v
;
1529 PyObject
*obj
= PyBool_FromLong(sobj
->own
);
1532 if (PyObject_IsTrue(val
)) {
1533 PySwigObject_acquire(v
);
1535 PySwigObject_disown(v
);
1538 if (PyObject_IsTrue(val
)) {
1539 PySwigObject_acquire(v
,args
);
1541 PySwigObject_disown(v
,args
);
1551 swigobject_methods
[] = {
1552 {(char *)"disown", (PyCFunction
)PySwigObject_disown
, METH_NOARGS
, (char *)"releases ownership of the pointer"},
1553 {(char *)"acquire", (PyCFunction
)PySwigObject_acquire
, METH_NOARGS
, (char *)"aquires ownership of the pointer"},
1554 {(char *)"own", (PyCFunction
)PySwigObject_own
, METH_VARARGS
, (char *)"returns/sets ownership of the pointer"},
1555 {(char *)"append", (PyCFunction
)PySwigObject_append
, METH_O
, (char *)"appends another 'this' object"},
1556 {(char *)"next", (PyCFunction
)PySwigObject_next
, METH_NOARGS
, (char *)"returns the next 'this' object"},
1557 {(char *)"__repr__",(PyCFunction
)PySwigObject_repr
, METH_NOARGS
, (char *)"returns object representation"},
1562 swigobject_methods
[] = {
1563 {(char *)"disown", (PyCFunction
)PySwigObject_disown
, METH_VARARGS
, (char *)"releases ownership of the pointer"},
1564 {(char *)"acquire", (PyCFunction
)PySwigObject_acquire
, METH_VARARGS
, (char *)"aquires ownership of the pointer"},
1565 {(char *)"own", (PyCFunction
)PySwigObject_own
, METH_VARARGS
, (char *)"returns/sets ownership of the pointer"},
1566 {(char *)"append", (PyCFunction
)PySwigObject_append
, METH_VARARGS
, (char *)"appends another 'this' object"},
1567 {(char *)"next", (PyCFunction
)PySwigObject_next
, METH_VARARGS
, (char *)"returns the next 'this' object"},
1568 {(char *)"__repr__",(PyCFunction
)PySwigObject_repr
, METH_VARARGS
, (char *)"returns object representation"},
1573 #if PY_VERSION_HEX < 0x02020000
1574 SWIGINTERN PyObject
*
1575 PySwigObject_getattr(PySwigObject
*sobj
,char *name
)
1577 return Py_FindMethod(swigobject_methods
, (PyObject
*)sobj
, name
);
1581 SWIGRUNTIME PyTypeObject
*
1582 _PySwigObject_type(void) {
1583 static char swigobject_doc
[] = "Swig object carries a C/C++ instance pointer";
1585 static PyNumberMethods PySwigObject_as_number
= {
1586 (binaryfunc
)0, /*nb_add*/
1587 (binaryfunc
)0, /*nb_subtract*/
1588 (binaryfunc
)0, /*nb_multiply*/
1589 (binaryfunc
)0, /*nb_divide*/
1590 (binaryfunc
)0, /*nb_remainder*/
1591 (binaryfunc
)0, /*nb_divmod*/
1592 (ternaryfunc
)0,/*nb_power*/
1593 (unaryfunc
)0, /*nb_negative*/
1594 (unaryfunc
)0, /*nb_positive*/
1595 (unaryfunc
)0, /*nb_absolute*/
1596 (inquiry
)0, /*nb_nonzero*/
1603 (coercion
)0, /*nb_coerce*/
1604 (unaryfunc
)PySwigObject_long
, /*nb_int*/
1605 (unaryfunc
)PySwigObject_long
, /*nb_long*/
1606 (unaryfunc
)0, /*nb_float*/
1607 (unaryfunc
)PySwigObject_oct
, /*nb_oct*/
1608 (unaryfunc
)PySwigObject_hex
, /*nb_hex*/
1609 #if PY_VERSION_HEX >= 0x02020000
1610 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0 /* nb_inplace_add -> nb_inplace_true_divide */
1611 #elif PY_VERSION_HEX >= 0x02000000
1612 0,0,0,0,0,0,0,0,0,0,0 /* nb_inplace_add -> nb_inplace_or */
1616 static PyTypeObject pyswigobject_type
;
1617 static int type_init
= 0;
1619 const PyTypeObject tmp
1621 PyObject_HEAD_INIT(NULL
)
1623 (char *)"PySwigObject", /* tp_name */
1624 sizeof(PySwigObject
), /* tp_basicsize */
1625 0, /* tp_itemsize */
1626 (destructor
)PySwigObject_dealloc
, /* tp_dealloc */
1627 (printfunc
)PySwigObject_print
, /* tp_print */
1628 #if PY_VERSION_HEX < 0x02020000
1629 (getattrfunc
)PySwigObject_getattr
, /* tp_getattr */
1631 (getattrfunc
)0, /* tp_getattr */
1633 (setattrfunc
)0, /* tp_setattr */
1634 (cmpfunc
)PySwigObject_compare
, /* tp_compare */
1635 (reprfunc
)PySwigObject_repr
, /* tp_repr */
1636 &PySwigObject_as_number
, /* tp_as_number */
1637 0, /* tp_as_sequence */
1638 0, /* tp_as_mapping */
1639 (hashfunc
)0, /* tp_hash */
1640 (ternaryfunc
)0, /* tp_call */
1641 (reprfunc
)PySwigObject_str
, /* tp_str */
1642 PyObject_GenericGetAttr
, /* tp_getattro */
1643 0, /* tp_setattro */
1644 0, /* tp_as_buffer */
1645 Py_TPFLAGS_DEFAULT
, /* tp_flags */
1646 swigobject_doc
, /* tp_doc */
1647 0, /* tp_traverse */
1649 0, /* tp_richcompare */
1650 0, /* tp_weaklistoffset */
1651 #if PY_VERSION_HEX >= 0x02020000
1653 0, /* tp_iternext */
1654 swigobject_methods
, /* tp_methods */
1659 0, /* tp_descr_get */
1660 0, /* tp_descr_set */
1661 0, /* tp_dictoffset */
1670 0, /* tp_subclasses */
1671 0, /* tp_weaklist */
1673 #if PY_VERSION_HEX >= 0x02030000
1677 0,0,0,0 /* tp_alloc -> tp_next */
1680 pyswigobject_type
= tmp
;
1681 pyswigobject_type
.ob_type
= &PyType_Type
;
1684 return &pyswigobject_type
;
1687 SWIGRUNTIME PyObject
*
1688 PySwigObject_New(void *ptr
, swig_type_info
*ty
, int own
)
1690 PySwigObject
*sobj
= PyObject_NEW(PySwigObject
, PySwigObject_type());
1697 return (PyObject
*)sobj
;
1700 /* -----------------------------------------------------------------------------
1701 * Implements a simple Swig Packed type, and use it instead of string
1702 * ----------------------------------------------------------------------------- */
1712 PySwigPacked_print(PySwigPacked
*v
, FILE *fp
, int SWIGUNUSEDPARM(flags
))
1714 char result
[SWIG_BUFFER_SIZE
];
1715 fputs("<Swig Packed ", fp
);
1716 if (SWIG_PackDataName(result
, v
->pack
, v
->size
, 0, sizeof(result
))) {
1720 fputs(v
->ty
->name
,fp
);
1725 SWIGRUNTIME PyObject
*
1726 PySwigPacked_repr(PySwigPacked
*v
)
1728 char result
[SWIG_BUFFER_SIZE
];
1729 if (SWIG_PackDataName(result
, v
->pack
, v
->size
, 0, sizeof(result
))) {
1730 return PyString_FromFormat("<Swig Packed at %s%s>", result
, v
->ty
->name
);
1732 return PyString_FromFormat("<Swig Packed %s>", v
->ty
->name
);
1736 SWIGRUNTIME PyObject
*
1737 PySwigPacked_str(PySwigPacked
*v
)
1739 char result
[SWIG_BUFFER_SIZE
];
1740 if (SWIG_PackDataName(result
, v
->pack
, v
->size
, 0, sizeof(result
))){
1741 return PyString_FromFormat("%s%s", result
, v
->ty
->name
);
1743 return PyString_FromString(v
->ty
->name
);
1748 PySwigPacked_compare(PySwigPacked
*v
, PySwigPacked
*w
)
1752 int s
= (i
< j
) ? -1 : ((i
> j
) ? 1 : 0);
1753 return s
? s
: strncmp((char *)v
->pack
, (char *)w
->pack
, 2*v
->size
);
1756 SWIGRUNTIME PyTypeObject
* _PySwigPacked_type(void);
1758 SWIGRUNTIME PyTypeObject
*
1759 PySwigPacked_type(void) {
1760 static PyTypeObject
*SWIG_STATIC_POINTER(type
) = _PySwigPacked_type();
1764 SWIGRUNTIMEINLINE
int
1765 PySwigPacked_Check(PyObject
*op
) {
1766 return ((op
)->ob_type
== _PySwigPacked_type())
1767 || (strcmp((op
)->ob_type
->tp_name
,"PySwigPacked") == 0);
1771 PySwigPacked_dealloc(PyObject
*v
)
1773 if (PySwigPacked_Check(v
)) {
1774 PySwigPacked
*sobj
= (PySwigPacked
*) v
;
1780 SWIGRUNTIME PyTypeObject
*
1781 _PySwigPacked_type(void) {
1782 static char swigpacked_doc
[] = "Swig object carries a C/C++ instance pointer";
1783 static PyTypeObject pyswigpacked_type
;
1784 static int type_init
= 0;
1786 const PyTypeObject tmp
1788 PyObject_HEAD_INIT(NULL
)
1790 (char *)"PySwigPacked", /* tp_name */
1791 sizeof(PySwigPacked
), /* tp_basicsize */
1792 0, /* tp_itemsize */
1793 (destructor
)PySwigPacked_dealloc
, /* tp_dealloc */
1794 (printfunc
)PySwigPacked_print
, /* tp_print */
1795 (getattrfunc
)0, /* tp_getattr */
1796 (setattrfunc
)0, /* tp_setattr */
1797 (cmpfunc
)PySwigPacked_compare
, /* tp_compare */
1798 (reprfunc
)PySwigPacked_repr
, /* tp_repr */
1799 0, /* tp_as_number */
1800 0, /* tp_as_sequence */
1801 0, /* tp_as_mapping */
1802 (hashfunc
)0, /* tp_hash */
1803 (ternaryfunc
)0, /* tp_call */
1804 (reprfunc
)PySwigPacked_str
, /* tp_str */
1805 PyObject_GenericGetAttr
, /* tp_getattro */
1806 0, /* tp_setattro */
1807 0, /* tp_as_buffer */
1808 Py_TPFLAGS_DEFAULT
, /* tp_flags */
1809 swigpacked_doc
, /* tp_doc */
1810 0, /* tp_traverse */
1812 0, /* tp_richcompare */
1813 0, /* tp_weaklistoffset */
1814 #if PY_VERSION_HEX >= 0x02020000
1816 0, /* tp_iternext */
1822 0, /* tp_descr_get */
1823 0, /* tp_descr_set */
1824 0, /* tp_dictoffset */
1833 0, /* tp_subclasses */
1834 0, /* tp_weaklist */
1836 #if PY_VERSION_HEX >= 0x02030000
1840 0,0,0,0 /* tp_alloc -> tp_next */
1843 pyswigpacked_type
= tmp
;
1844 pyswigpacked_type
.ob_type
= &PyType_Type
;
1847 return &pyswigpacked_type
;
1850 SWIGRUNTIME PyObject
*
1851 PySwigPacked_New(void *ptr
, size_t size
, swig_type_info
*ty
)
1853 PySwigPacked
*sobj
= PyObject_NEW(PySwigPacked
, PySwigPacked_type());
1855 void *pack
= malloc(size
);
1857 memcpy(pack
, ptr
, size
);
1862 PyObject_DEL((PyObject
*) sobj
);
1866 return (PyObject
*) sobj
;
1869 SWIGRUNTIME swig_type_info
*
1870 PySwigPacked_UnpackData(PyObject
*obj
, void *ptr
, size_t size
)
1872 if (PySwigPacked_Check(obj
)) {
1873 PySwigPacked
*sobj
= (PySwigPacked
*)obj
;
1874 if (sobj
->size
!= size
) return 0;
1875 memcpy(ptr
, sobj
->pack
, size
);
1882 /* -----------------------------------------------------------------------------
1883 * pointers/data manipulation
1884 * ----------------------------------------------------------------------------- */
1886 SWIGRUNTIMEINLINE PyObject
*
1889 return PyString_FromString("this");
1892 SWIGRUNTIME PyObject
*
1895 static PyObject
*SWIG_STATIC_POINTER(swig_this
) = _SWIG_This();
1899 /* #define SWIG_PYTHON_SLOW_GETSET_THIS */
1901 SWIGRUNTIME PySwigObject
*
1902 SWIG_Python_GetSwigThis(PyObject
*pyobj
)
1904 if (PySwigObject_Check(pyobj
)) {
1905 return (PySwigObject
*) pyobj
;
1908 #if (!defined(SWIG_PYTHON_SLOW_GETSET_THIS) && (PY_VERSION_HEX >= 0x02030000))
1909 if (PyInstance_Check(pyobj
)) {
1910 obj
= _PyInstance_Lookup(pyobj
, SWIG_This());
1912 PyObject
**dictptr
= _PyObject_GetDictPtr(pyobj
);
1913 if (dictptr
!= NULL
) {
1914 PyObject
*dict
= *dictptr
;
1915 obj
= dict
? PyDict_GetItem(dict
, SWIG_This()) : 0;
1917 #ifdef PyWeakref_CheckProxy
1918 if (PyWeakref_CheckProxy(pyobj
)) {
1919 PyObject
*wobj
= PyWeakref_GET_OBJECT(pyobj
);
1920 return wobj
? SWIG_Python_GetSwigThis(wobj
) : 0;
1923 obj
= PyObject_GetAttr(pyobj
,SWIG_This());
1927 if (PyErr_Occurred()) PyErr_Clear();
1933 obj
= PyObject_GetAttr(pyobj
,SWIG_This());
1937 if (PyErr_Occurred()) PyErr_Clear();
1941 if (obj
&& !PySwigObject_Check(obj
)) {
1942 /* a PyObject is called 'this', try to get the 'real this'
1943 PySwigObject from it */
1944 return SWIG_Python_GetSwigThis(obj
);
1946 return (PySwigObject
*)obj
;
1950 /* Acquire a pointer value */
1953 SWIG_Python_AcquirePtr(PyObject
*obj
, int own
) {
1955 PySwigObject
*sobj
= SWIG_Python_GetSwigThis(obj
);
1957 int oldown
= sobj
->own
;
1965 /* Convert a pointer value */
1968 SWIG_Python_ConvertPtrAndOwn(PyObject
*obj
, void **ptr
, swig_type_info
*ty
, int flags
, int *own
) {
1969 if (!obj
) return SWIG_ERROR
;
1970 if (obj
== Py_None
) {
1974 PySwigObject
*sobj
= SWIG_Python_GetSwigThis(obj
);
1976 void *vptr
= sobj
->ptr
;
1978 swig_type_info
*to
= sobj
->ty
;
1980 /* no type cast needed */
1981 if (ptr
) *ptr
= vptr
;
1984 swig_cast_info
*tc
= SWIG_TypeCheck(to
->name
,ty
);
1986 sobj
= (PySwigObject
*)sobj
->next
;
1988 if (ptr
) *ptr
= SWIG_TypeCast(tc
,vptr
);
1993 if (ptr
) *ptr
= vptr
;
1998 if (own
) *own
= sobj
->own
;
1999 if (flags
& SWIG_POINTER_DISOWN
) {
2004 int res
= SWIG_ERROR
;
2005 if (flags
& SWIG_POINTER_IMPLICIT_CONV
) {
2006 PySwigClientData
*data
= ty
? (PySwigClientData
*) ty
->clientdata
: 0;
2007 if (data
&& !data
->implicitconv
) {
2008 PyObject
*klass
= data
->klass
;
2011 data
->implicitconv
= 1; /* avoid recursion and call 'explicit' constructors*/
2012 impconv
= SWIG_Python_CallFunctor(klass
, obj
);
2013 data
->implicitconv
= 0;
2014 if (PyErr_Occurred()) {
2019 PySwigObject
*iobj
= SWIG_Python_GetSwigThis(impconv
);
2022 res
= SWIG_Python_ConvertPtrAndOwn((PyObject
*)iobj
, &vptr
, ty
, 0, 0);
2023 if (SWIG_IsOK(res
)) {
2026 /* transfer the ownership to 'ptr' */
2028 res
= SWIG_AddCast(res
);
2029 res
= SWIG_AddNewMask(res
);
2031 res
= SWIG_AddCast(res
);
2045 /* Convert a function ptr value */
2048 SWIG_Python_ConvertFunctionPtr(PyObject
*obj
, void **ptr
, swig_type_info
*ty
) {
2049 if (!PyCFunction_Check(obj
)) {
2050 return SWIG_ConvertPtr(obj
, ptr
, ty
, 0);
2054 /* here we get the method pointer for callbacks */
2055 const char *doc
= (((PyCFunctionObject
*)obj
) -> m_ml
-> ml_doc
);
2056 const char *desc
= doc
? strstr(doc
, "swig_ptr: ") : 0;
2058 desc
= ty
? SWIG_UnpackVoidPtr(desc
+ 10, &vptr
, ty
->name
) : 0;
2059 if (!desc
) return SWIG_ERROR
;
2062 swig_cast_info
*tc
= SWIG_TypeCheck(desc
,ty
);
2063 if (!tc
) return SWIG_ERROR
;
2064 *ptr
= SWIG_TypeCast(tc
,vptr
);
2072 /* Convert a packed value value */
2075 SWIG_Python_ConvertPacked(PyObject
*obj
, void *ptr
, size_t sz
, swig_type_info
*ty
) {
2076 swig_type_info
*to
= PySwigPacked_UnpackData(obj
, ptr
, sz
);
2077 if (!to
) return SWIG_ERROR
;
2080 /* check type cast? */
2081 swig_cast_info
*tc
= SWIG_TypeCheck(to
->name
,ty
);
2082 if (!tc
) return SWIG_ERROR
;
2088 /* -----------------------------------------------------------------------------
2089 * Create a new pointer object
2090 * ----------------------------------------------------------------------------- */
2093 Create a new instance object, whitout calling __init__, and set the
2097 SWIGRUNTIME PyObject
*
2098 SWIG_Python_NewShadowInstance(PySwigClientData
*data
, PyObject
*swig_this
)
2100 #if (PY_VERSION_HEX >= 0x02020000)
2102 PyObject
*newraw
= data
->newraw
;
2104 inst
= PyObject_Call(newraw
, data
->newargs
, NULL
);
2106 #if !defined(SWIG_PYTHON_SLOW_GETSET_THIS)
2107 PyObject
**dictptr
= _PyObject_GetDictPtr(inst
);
2108 if (dictptr
!= NULL
) {
2109 PyObject
*dict
= *dictptr
;
2111 dict
= PyDict_New();
2113 PyDict_SetItem(dict
, SWIG_This(), swig_this
);
2117 PyObject
*key
= SWIG_This();
2118 PyObject_SetAttr(inst
, key
, swig_this
);
2122 PyObject
*dict
= PyDict_New();
2123 PyDict_SetItem(dict
, SWIG_This(), swig_this
);
2124 inst
= PyInstance_NewRaw(data
->newargs
, dict
);
2129 #if (PY_VERSION_HEX >= 0x02010000)
2131 PyObject
*dict
= PyDict_New();
2132 PyDict_SetItem(dict
, SWIG_This(), swig_this
);
2133 inst
= PyInstance_NewRaw(data
->newargs
, dict
);
2135 return (PyObject
*) inst
;
2137 PyInstanceObject
*inst
= PyObject_NEW(PyInstanceObject
, &PyInstance_Type
);
2141 inst
->in_class
= (PyClassObject
*)data
->newargs
;
2142 Py_INCREF(inst
->in_class
);
2143 inst
->in_dict
= PyDict_New();
2144 if (inst
->in_dict
== NULL
) {
2148 #ifdef Py_TPFLAGS_HAVE_WEAKREFS
2149 inst
->in_weakreflist
= NULL
;
2151 #ifdef Py_TPFLAGS_GC
2152 PyObject_GC_Init(inst
);
2154 PyDict_SetItem(inst
->in_dict
, SWIG_This(), swig_this
);
2155 return (PyObject
*) inst
;
2161 SWIG_Python_SetSwigThis(PyObject
*inst
, PyObject
*swig_this
)
2164 #if (PY_VERSION_HEX >= 0x02020000) && !defined(SWIG_PYTHON_SLOW_GETSET_THIS)
2165 PyObject
**dictptr
= _PyObject_GetDictPtr(inst
);
2166 if (dictptr
!= NULL
) {
2169 dict
= PyDict_New();
2172 PyDict_SetItem(dict
, SWIG_This(), swig_this
);
2176 dict
= PyObject_GetAttrString(inst
, "__dict__");
2177 PyDict_SetItem(dict
, SWIG_This(), swig_this
);
2182 SWIGINTERN PyObject
*
2183 SWIG_Python_InitShadowInstance(PyObject
*args
) {
2185 if (!SWIG_Python_UnpackTuple(args
,(char*)"swiginit", 2, 2, obj
)) {
2188 PySwigObject
*sthis
= SWIG_Python_GetSwigThis(obj
[0]);
2190 PySwigObject_append((PyObject
*) sthis
, obj
[1]);
2192 SWIG_Python_SetSwigThis(obj
[0], obj
[1]);
2194 return SWIG_Py_Void();
2198 /* Create a new pointer object */
2200 SWIGRUNTIME PyObject
*
2201 SWIG_Python_NewPointerObj(void *ptr
, swig_type_info
*type
, int flags
) {
2203 return SWIG_Py_Void();
2205 int own
= (flags
& SWIG_POINTER_OWN
) ? SWIG_POINTER_OWN
: 0;
2206 PyObject
*robj
= PySwigObject_New(ptr
, type
, own
);
2207 PySwigClientData
*clientdata
= type
? (PySwigClientData
*)(type
->clientdata
) : 0;
2208 if (clientdata
&& !(flags
& SWIG_POINTER_NOSHADOW
)) {
2209 PyObject
*inst
= SWIG_Python_NewShadowInstance(clientdata
, robj
);
2219 /* Create a new packed object */
2221 SWIGRUNTIMEINLINE PyObject
*
2222 SWIG_Python_NewPackedObj(void *ptr
, size_t sz
, swig_type_info
*type
) {
2223 return ptr
? PySwigPacked_New((void *) ptr
, sz
, type
) : SWIG_Py_Void();
2226 /* -----------------------------------------------------------------------------*
2228 * -----------------------------------------------------------------------------*/
2230 #ifdef SWIG_LINK_RUNTIME
2231 void *SWIG_ReturnGlobalTypeList(void *);
2234 SWIGRUNTIME swig_module_info
*
2235 SWIG_Python_GetModule(void) {
2236 static void *type_pointer
= (void *)0;
2237 /* first check if module already created */
2238 if (!type_pointer
) {
2239 #ifdef SWIG_LINK_RUNTIME
2240 type_pointer
= SWIG_ReturnGlobalTypeList((void *)0);
2242 type_pointer
= PyCObject_Import((char*)"swig_runtime_data" SWIG_RUNTIME_VERSION
,
2243 (char*)"type_pointer" SWIG_TYPE_TABLE_NAME
);
2244 if (PyErr_Occurred()) {
2246 type_pointer
= (void *)0;
2250 return (swig_module_info
*) type_pointer
;
2253 #if PY_MAJOR_VERSION < 2
2254 /* PyModule_AddObject function was introduced in Python 2.0. The following function
2255 is copied out of Python/modsupport.c in python version 2.3.4 */
2257 PyModule_AddObject(PyObject
*m
, char *name
, PyObject
*o
)
2260 if (!PyModule_Check(m
)) {
2261 PyErr_SetString(PyExc_TypeError
,
2262 "PyModule_AddObject() needs module as first arg");
2266 PyErr_SetString(PyExc_TypeError
,
2267 "PyModule_AddObject() needs non-NULL value");
2271 dict
= PyModule_GetDict(m
);
2273 /* Internal error -- modules must have a dict! */
2274 PyErr_Format(PyExc_SystemError
, "module '%s' has no __dict__",
2275 PyModule_GetName(m
));
2278 if (PyDict_SetItemString(dict
, name
, o
))
2286 SWIG_Python_DestroyModule(void *vptr
)
2288 swig_module_info
*swig_module
= (swig_module_info
*) vptr
;
2289 swig_type_info
**types
= swig_module
->types
;
2291 for (i
=0; i
< swig_module
->size
; ++i
) {
2292 swig_type_info
*ty
= types
[i
];
2294 PySwigClientData
*data
= (PySwigClientData
*) ty
->clientdata
;
2295 if (data
) PySwigClientData_Del(data
);
2298 Py_DECREF(SWIG_This());
2302 SWIG_Python_SetModule(swig_module_info
*swig_module
) {
2303 static PyMethodDef swig_empty_runtime_method_table
[] = { {NULL
, NULL
, 0, NULL
} };/* Sentinel */
2305 PyObject
*module = Py_InitModule((char*)"swig_runtime_data" SWIG_RUNTIME_VERSION
,
2306 swig_empty_runtime_method_table
);
2307 PyObject
*pointer
= PyCObject_FromVoidPtr((void *) swig_module
, SWIG_Python_DestroyModule
);
2308 if (pointer
&& module) {
2309 PyModule_AddObject(module, (char*)"type_pointer" SWIG_TYPE_TABLE_NAME
, pointer
);
2311 Py_XDECREF(pointer
);
2315 /* The python cached type query */
2316 SWIGRUNTIME PyObject
*
2317 SWIG_Python_TypeCache() {
2318 static PyObject
*SWIG_STATIC_POINTER(cache
) = PyDict_New();
2322 SWIGRUNTIME swig_type_info
*
2323 SWIG_Python_TypeQuery(const char *type
)
2325 PyObject
*cache
= SWIG_Python_TypeCache();
2326 PyObject
*key
= PyString_FromString(type
);
2327 PyObject
*obj
= PyDict_GetItem(cache
, key
);
2328 swig_type_info
*descriptor
;
2330 descriptor
= (swig_type_info
*) PyCObject_AsVoidPtr(obj
);
2332 swig_module_info
*swig_module
= SWIG_Python_GetModule();
2333 descriptor
= SWIG_TypeQueryModule(swig_module
, swig_module
, type
);
2335 obj
= PyCObject_FromVoidPtr(descriptor
, NULL
);
2336 PyDict_SetItem(cache
, key
, obj
);
2345 For backward compatibility only
2347 #define SWIG_POINTER_EXCEPTION 0
2348 #define SWIG_arg_fail(arg) SWIG_Python_ArgFail(arg)
2349 #define SWIG_MustGetPtr(p, type, argnum, flags) SWIG_Python_MustGetPtr(p, type, argnum, flags)
2352 SWIG_Python_AddErrMesg(const char* mesg
, int infront
)
2354 if (PyErr_Occurred()) {
2356 PyObject
*value
= 0;
2357 PyObject
*traceback
= 0;
2358 PyErr_Fetch(&type
, &value
, &traceback
);
2360 PyObject
*old_str
= PyObject_Str(value
);
2364 PyErr_Format(type
, "%s %s", mesg
, PyString_AsString(old_str
));
2366 PyErr_Format(type
, "%s %s", PyString_AsString(old_str
), mesg
);
2377 SWIG_Python_ArgFail(int argnum
)
2379 if (PyErr_Occurred()) {
2380 /* add information about failing argument */
2382 PyOS_snprintf(mesg
, sizeof(mesg
), "argument number %d:", argnum
);
2383 return SWIG_Python_AddErrMesg(mesg
, 1);
2389 SWIGRUNTIMEINLINE
const char *
2390 PySwigObject_GetDesc(PyObject
*self
)
2392 PySwigObject
*v
= (PySwigObject
*)self
;
2393 swig_type_info
*ty
= v
? v
->ty
: 0;
2394 return ty
? ty
->str
: (char*)"";
2398 SWIG_Python_TypeError(const char *type
, PyObject
*obj
)
2401 #if defined(SWIG_COBJECT_TYPES)
2402 if (obj
&& PySwigObject_Check(obj
)) {
2403 const char *otype
= (const char *) PySwigObject_GetDesc(obj
);
2405 PyErr_Format(PyExc_TypeError
, "a '%s' is expected, 'PySwigObject(%s)' is received",
2412 const char *otype
= (obj
? obj
->ob_type
->tp_name
: 0);
2414 PyObject
*str
= PyObject_Str(obj
);
2415 const char *cstr
= str
? PyString_AsString(str
) : 0;
2417 PyErr_Format(PyExc_TypeError
, "a '%s' is expected, '%s(%s)' is received",
2420 PyErr_Format(PyExc_TypeError
, "a '%s' is expected, '%s' is received",
2427 PyErr_Format(PyExc_TypeError
, "a '%s' is expected", type
);
2429 PyErr_Format(PyExc_TypeError
, "unexpected type is received");
2434 /* Convert a pointer value, signal an exception on a type mismatch */
2436 SWIG_Python_MustGetPtr(PyObject
*obj
, swig_type_info
*ty
, int argnum
, int flags
) {
2438 if (SWIG_Python_ConvertPtr(obj
, &result
, ty
, flags
) == -1) {
2440 if (flags
& SWIG_POINTER_EXCEPTION
) {
2441 SWIG_Python_TypeError(SWIG_TypePrettyName(ty
), obj
);
2442 SWIG_Python_ArgFail(argnum
);
2458 #define SWIG_exception_fail(code, msg) do { SWIG_Error(code, msg); SWIG_fail; } while(0)
2460 #define SWIG_contract_assert(expr, msg) if (!(expr)) { SWIG_Error(SWIG_RuntimeError, msg); SWIG_fail; } else
2464 /* -------- TYPES TABLE (BEGIN) -------- */
2466 #define SWIGTYPE_p_bool swig_types[0]
2467 #define SWIGTYPE_p_char swig_types[1]
2468 #define SWIGTYPE_p_form_ops_t swig_types[2]
2469 #define SWIGTYPE_p_int swig_types[3]
2470 #define SWIGTYPE_p_unsigned_char swig_types[4]
2471 #define SWIGTYPE_p_unsigned_int swig_types[5]
2472 #define SWIGTYPE_p_unsigned_long swig_types[6]
2473 #define SWIGTYPE_p_wxANIHandler swig_types[7]
2474 #define SWIGTYPE_p_wxAcceleratorTable swig_types[8]
2475 #define SWIGTYPE_p_wxActivateEvent swig_types[9]
2476 #define SWIGTYPE_p_wxArrayInt swig_types[10]
2477 #define SWIGTYPE_p_wxBMPHandler swig_types[11]
2478 #define SWIGTYPE_p_wxBitmap swig_types[12]
2479 #define SWIGTYPE_p_wxBoxSizer swig_types[13]
2480 #define SWIGTYPE_p_wxCURHandler swig_types[14]
2481 #define SWIGTYPE_p_wxCalculateLayoutEvent swig_types[15]
2482 #define SWIGTYPE_p_wxChildFocusEvent swig_types[16]
2483 #define SWIGTYPE_p_wxClipboardTextEvent swig_types[17]
2484 #define SWIGTYPE_p_wxCloseEvent swig_types[18]
2485 #define SWIGTYPE_p_wxColour swig_types[19]
2486 #define SWIGTYPE_p_wxColourData swig_types[20]
2487 #define SWIGTYPE_p_wxColourDialog swig_types[21]
2488 #define SWIGTYPE_p_wxCommandEvent swig_types[22]
2489 #define SWIGTYPE_p_wxContextMenuEvent swig_types[23]
2490 #define SWIGTYPE_p_wxControl swig_types[24]
2491 #define SWIGTYPE_p_wxControlWithItems swig_types[25]
2492 #define SWIGTYPE_p_wxDC swig_types[26]
2493 #define SWIGTYPE_p_wxDateEvent swig_types[27]
2494 #define SWIGTYPE_p_wxDialog swig_types[28]
2495 #define SWIGTYPE_p_wxDirDialog swig_types[29]
2496 #define SWIGTYPE_p_wxDisplayChangedEvent swig_types[30]
2497 #define SWIGTYPE_p_wxDropFilesEvent swig_types[31]
2498 #define SWIGTYPE_p_wxDuplexMode swig_types[32]
2499 #define SWIGTYPE_p_wxEraseEvent swig_types[33]
2500 #define SWIGTYPE_p_wxEvent swig_types[34]
2501 #define SWIGTYPE_p_wxEvtHandler swig_types[35]
2502 #define SWIGTYPE_p_wxFSFile swig_types[36]
2503 #define SWIGTYPE_p_wxFileDialog swig_types[37]
2504 #define SWIGTYPE_p_wxFileSystem swig_types[38]
2505 #define SWIGTYPE_p_wxFindDialogEvent swig_types[39]
2506 #define SWIGTYPE_p_wxFindReplaceData swig_types[40]
2507 #define SWIGTYPE_p_wxFindReplaceDialog swig_types[41]
2508 #define SWIGTYPE_p_wxFlexGridSizer swig_types[42]
2509 #define SWIGTYPE_p_wxFocusEvent swig_types[43]
2510 #define SWIGTYPE_p_wxFont swig_types[44]
2511 #define SWIGTYPE_p_wxFontData swig_types[45]
2512 #define SWIGTYPE_p_wxFontDialog swig_types[46]
2513 #define SWIGTYPE_p_wxFrame swig_types[47]
2514 #define SWIGTYPE_p_wxGBSizerItem swig_types[48]
2515 #define SWIGTYPE_p_wxGIFHandler swig_types[49]
2516 #define SWIGTYPE_p_wxGridBagSizer swig_types[50]
2517 #define SWIGTYPE_p_wxGridSizer swig_types[51]
2518 #define SWIGTYPE_p_wxHtmlLinkInfo swig_types[52]
2519 #define SWIGTYPE_p_wxICOHandler swig_types[53]
2520 #define SWIGTYPE_p_wxIcon swig_types[54]
2521 #define SWIGTYPE_p_wxIconBundle swig_types[55]
2522 #define SWIGTYPE_p_wxIconizeEvent swig_types[56]
2523 #define SWIGTYPE_p_wxIdleEvent swig_types[57]
2524 #define SWIGTYPE_p_wxImage swig_types[58]
2525 #define SWIGTYPE_p_wxImageHandler swig_types[59]
2526 #define SWIGTYPE_p_wxIndividualLayoutConstraint swig_types[60]
2527 #define SWIGTYPE_p_wxInitDialogEvent swig_types[61]
2528 #define SWIGTYPE_p_wxJPEGHandler swig_types[62]
2529 #define SWIGTYPE_p_wxKeyEvent swig_types[63]
2530 #define SWIGTYPE_p_wxLayoutAlgorithm swig_types[64]
2531 #define SWIGTYPE_p_wxLayoutConstraints swig_types[65]
2532 #define SWIGTYPE_p_wxMDIChildFrame swig_types[66]
2533 #define SWIGTYPE_p_wxMDIClientWindow swig_types[67]
2534 #define SWIGTYPE_p_wxMDIParentFrame swig_types[68]
2535 #define SWIGTYPE_p_wxMaximizeEvent swig_types[69]
2536 #define SWIGTYPE_p_wxMenu swig_types[70]
2537 #define SWIGTYPE_p_wxMenuBar swig_types[71]
2538 #define SWIGTYPE_p_wxMenuEvent swig_types[72]
2539 #define SWIGTYPE_p_wxMenuItem swig_types[73]
2540 #define SWIGTYPE_p_wxMessageDialog swig_types[74]
2541 #define SWIGTYPE_p_wxMiniFrame swig_types[75]
2542 #define SWIGTYPE_p_wxMouseCaptureChangedEvent swig_types[76]
2543 #define SWIGTYPE_p_wxMouseCaptureLostEvent swig_types[77]
2544 #define SWIGTYPE_p_wxMouseEvent swig_types[78]
2545 #define SWIGTYPE_p_wxMoveEvent swig_types[79]
2546 #define SWIGTYPE_p_wxMultiChoiceDialog swig_types[80]
2547 #define SWIGTYPE_p_wxNavigationKeyEvent swig_types[81]
2548 #define SWIGTYPE_p_wxNcPaintEvent swig_types[82]
2549 #define SWIGTYPE_p_wxNotifyEvent swig_types[83]
2550 #define SWIGTYPE_p_wxNumberEntryDialog swig_types[84]
2551 #define SWIGTYPE_p_wxObject swig_types[85]
2552 #define SWIGTYPE_p_wxPCXHandler swig_types[86]
2553 #define SWIGTYPE_p_wxPNGHandler swig_types[87]
2554 #define SWIGTYPE_p_wxPNMHandler swig_types[88]
2555 #define SWIGTYPE_p_wxPageSetupDialog swig_types[89]
2556 #define SWIGTYPE_p_wxPageSetupDialogData swig_types[90]
2557 #define SWIGTYPE_p_wxPaintEvent swig_types[91]
2558 #define SWIGTYPE_p_wxPaletteChangedEvent swig_types[92]
2559 #define SWIGTYPE_p_wxPanel swig_types[93]
2560 #define SWIGTYPE_p_wxPaperSize swig_types[94]
2561 #define SWIGTYPE_p_wxPasswordEntryDialog swig_types[95]
2562 #define SWIGTYPE_p_wxPoint swig_types[96]
2563 #define SWIGTYPE_p_wxPopupWindow swig_types[97]
2564 #define SWIGTYPE_p_wxPreviewCanvas swig_types[98]
2565 #define SWIGTYPE_p_wxPreviewControlBar swig_types[99]
2566 #define SWIGTYPE_p_wxPreviewFrame swig_types[100]
2567 #define SWIGTYPE_p_wxPrintData swig_types[101]
2568 #define SWIGTYPE_p_wxPrintDialog swig_types[102]
2569 #define SWIGTYPE_p_wxPrintDialogData swig_types[103]
2570 #define SWIGTYPE_p_wxPrintPreview swig_types[104]
2571 #define SWIGTYPE_p_wxPrinter swig_types[105]
2572 #define SWIGTYPE_p_wxProgressDialog swig_types[106]
2573 #define SWIGTYPE_p_wxPyApp swig_types[107]
2574 #define SWIGTYPE_p_wxPyCommandEvent swig_types[108]
2575 #define SWIGTYPE_p_wxPyEvent swig_types[109]
2576 #define SWIGTYPE_p_wxPyHtmlListBox swig_types[110]
2577 #define SWIGTYPE_p_wxPyImageHandler swig_types[111]
2578 #define SWIGTYPE_p_wxPyPanel swig_types[112]
2579 #define SWIGTYPE_p_wxPyPopupTransientWindow swig_types[113]
2580 #define SWIGTYPE_p_wxPyPreviewControlBar swig_types[114]
2581 #define SWIGTYPE_p_wxPyPreviewFrame swig_types[115]
2582 #define SWIGTYPE_p_wxPyPrintPreview swig_types[116]
2583 #define SWIGTYPE_p_wxPyPrintout swig_types[117]
2584 #define SWIGTYPE_p_wxPyScrolledWindow swig_types[118]
2585 #define SWIGTYPE_p_wxPySizer swig_types[119]
2586 #define SWIGTYPE_p_wxPyTaskBarIcon swig_types[120]
2587 #define SWIGTYPE_p_wxPyVListBox swig_types[121]
2588 #define SWIGTYPE_p_wxPyVScrolledWindow swig_types[122]
2589 #define SWIGTYPE_p_wxPyValidator swig_types[123]
2590 #define SWIGTYPE_p_wxPyWindow swig_types[124]
2591 #define SWIGTYPE_p_wxQueryLayoutInfoEvent swig_types[125]
2592 #define SWIGTYPE_p_wxQueryNewPaletteEvent swig_types[126]
2593 #define SWIGTYPE_p_wxRect swig_types[127]
2594 #define SWIGTYPE_p_wxRegion swig_types[128]
2595 #define SWIGTYPE_p_wxSashEvent swig_types[129]
2596 #define SWIGTYPE_p_wxSashLayoutWindow swig_types[130]
2597 #define SWIGTYPE_p_wxSashWindow swig_types[131]
2598 #define SWIGTYPE_p_wxScrollEvent swig_types[132]
2599 #define SWIGTYPE_p_wxScrollWinEvent swig_types[133]
2600 #define SWIGTYPE_p_wxScrolledWindow swig_types[134]
2601 #define SWIGTYPE_p_wxSetCursorEvent swig_types[135]
2602 #define SWIGTYPE_p_wxShowEvent swig_types[136]
2603 #define SWIGTYPE_p_wxSingleChoiceDialog swig_types[137]
2604 #define SWIGTYPE_p_wxSize swig_types[138]
2605 #define SWIGTYPE_p_wxSizeEvent swig_types[139]
2606 #define SWIGTYPE_p_wxSizer swig_types[140]
2607 #define SWIGTYPE_p_wxSizerItem swig_types[141]
2608 #define SWIGTYPE_p_wxSplashScreen swig_types[142]
2609 #define SWIGTYPE_p_wxSplashScreenWindow swig_types[143]
2610 #define SWIGTYPE_p_wxSplitterEvent swig_types[144]
2611 #define SWIGTYPE_p_wxSplitterWindow swig_types[145]
2612 #define SWIGTYPE_p_wxStaticBoxSizer swig_types[146]
2613 #define SWIGTYPE_p_wxStatusBar swig_types[147]
2614 #define SWIGTYPE_p_wxStdDialogButtonSizer swig_types[148]
2615 #define SWIGTYPE_p_wxString swig_types[149]
2616 #define SWIGTYPE_p_wxSysColourChangedEvent swig_types[150]
2617 #define SWIGTYPE_p_wxTGAHandler swig_types[151]
2618 #define SWIGTYPE_p_wxTIFFHandler swig_types[152]
2619 #define SWIGTYPE_p_wxTaskBarIcon swig_types[153]
2620 #define SWIGTYPE_p_wxTaskBarIconEvent swig_types[154]
2621 #define SWIGTYPE_p_wxTextEntryDialog swig_types[155]
2622 #define SWIGTYPE_p_wxTipWindow swig_types[156]
2623 #define SWIGTYPE_p_wxToolBar swig_types[157]
2624 #define SWIGTYPE_p_wxTopLevelWindow swig_types[158]
2625 #define SWIGTYPE_p_wxUpdateUIEvent swig_types[159]
2626 #define SWIGTYPE_p_wxValidator swig_types[160]
2627 #define SWIGTYPE_p_wxVisualAttributes swig_types[161]
2628 #define SWIGTYPE_p_wxWindow swig_types[162]
2629 #define SWIGTYPE_p_wxWindowCreateEvent swig_types[163]
2630 #define SWIGTYPE_p_wxWindowDestroyEvent swig_types[164]
2631 #define SWIGTYPE_p_wxXPMHandler swig_types[165]
2632 static swig_type_info
*swig_types
[167];
2633 static swig_module_info swig_module
= {swig_types
, 166, 0, 0, 0, 0};
2634 #define SWIG_TypeQuery(name) SWIG_TypeQueryModule(&swig_module, &swig_module, name)
2635 #define SWIG_MangledTypeQuery(name) SWIG_MangledTypeQueryModule(&swig_module, &swig_module, name)
2637 /* -------- TYPES TABLE (END) -------- */
2639 #if (PY_VERSION_HEX <= 0x02000000)
2640 # if !defined(SWIG_PYTHON_CLASSIC)
2641 # error "This python version requires to use swig with the '-classic' option"
2644 #if (PY_VERSION_HEX <= 0x02020000)
2645 # error "This python version requires to use swig with the '-nomodern' option"
2647 #if (PY_VERSION_HEX <= 0x02020000)
2648 # error "This python version requires to use swig with the '-nomodernargs' option"
2651 # error "This python version requires to use swig with the '-nofastunpack' option"
2654 /*-----------------------------------------------
2655 @(target):= _windows_.so
2656 ------------------------------------------------*/
2657 #define SWIG_init init_windows_
2659 #define SWIG_name "_windows_"
2661 #define SWIGVERSION 0x010329
2664 #define SWIG_as_voidptr(a) const_cast< void * >(static_cast< const void * >(a))
2665 #define SWIG_as_voidptrptr(a) ((void)SWIG_as_voidptr(*a),reinterpret_cast< void** >(a))
2668 #include <stdexcept>
2672 class PyObject_ptr
{
2677 PyObject_ptr() :_obj(0)
2681 PyObject_ptr(const PyObject_ptr
& item
) : _obj(item
._obj
)
2686 PyObject_ptr(PyObject
*obj
, bool initial_ref
= true) :_obj(obj
)
2688 if (initial_ref
) Py_XINCREF(_obj
);
2691 PyObject_ptr
& operator=(const PyObject_ptr
& item
)
2693 Py_XINCREF(item
._obj
);
2704 operator PyObject
*() const
2709 PyObject
*operator->() const
2718 struct PyObject_var
: PyObject_ptr
{
2719 PyObject_var(PyObject
* obj
= 0) : PyObject_ptr(obj
, false) { }
2721 PyObject_var
& operator = (PyObject
* obj
)
2731 #include "wx/wxPython/wxPython.h"
2732 #include "wx/wxPython/pyclasses.h"
2735 static const wxString
wxPyEmptyString(wxEmptyString
);
2736 static const wxString
wxPyPanelNameStr(wxPanelNameStr
);
2742 # define LLONG_MIN LONG_LONG_MIN
2745 # define LLONG_MAX LONG_LONG_MAX
2748 # define ULLONG_MAX ULONG_LONG_MAX
2753 SWIG_AsVal_long (PyObject
* obj
, long* val
)
2755 if (PyNumber_Check(obj
)) {
2756 if (val
) *val
= PyInt_AsLong(obj
);
2759 return SWIG_TypeError
;
2764 SWIG_AsVal_int (PyObject
* obj
, int *val
)
2767 int res
= SWIG_AsVal_long (obj
, &v
);
2768 if (SWIG_IsOK(res
)) {
2769 if ((v
< INT_MIN
|| v
> INT_MAX
)) {
2770 return SWIG_OverflowError
;
2772 if (val
) *val
= static_cast< int >(v
);
2780 SWIG_AsVal_bool (PyObject
*obj
, bool *val
)
2782 if (obj
== Py_True
) {
2783 if (val
) *val
= true;
2785 } else if (obj
== Py_False
) {
2786 if (val
) *val
= false;
2790 int res
= SWIG_AddCast(SWIG_AsVal_long (obj
, val
? &v
: 0));
2791 if (SWIG_IsOK(res
) && val
) *val
= v
? true : false;
2797 #define SWIG_From_long PyInt_FromLong
2800 SWIGINTERNINLINE PyObject
*
2801 SWIG_From_int (int value
)
2803 return SWIG_From_long (value
);
2808 SWIG_AsVal_double (PyObject
*obj
, double* val
)
2810 if (PyNumber_Check(obj
)) {
2811 if (val
) *val
= PyFloat_AsDouble(obj
);
2814 return SWIG_TypeError
;
2818 #define SWIG_From_double PyFloat_FromDouble
2820 static const wxString
wxPyFrameNameStr(wxFrameNameStr
);
2821 static const wxString
wxPyDialogNameStr(wxDialogNameStr
);
2822 static const wxString
wxPyStatusLineNameStr(wxStatusLineNameStr
);
2823 static const wxString
wxPyToolBarNameStr(wxToolBarNameStr
);
2824 SWIGINTERN
void wxTopLevelWindow_MacSetMetalAppearance(wxTopLevelWindow
*self
,bool on
){ /*wxPyRaiseNotImplemented();*/ }
2825 SWIGINTERN
bool wxTopLevelWindow_MacGetMetalAppearance(wxTopLevelWindow
const *self
){ /*wxPyRaiseNotImplemented();*/ return false; }
2827 #define wxDEFAULT_MINIFRAME_STYLE wxCAPTION | wxRESIZE_BORDER | wxTINY_CAPTION_HORIZ
2831 SWIGINTERN wxRect
wxStatusBar_GetFieldRect(wxStatusBar
*self
,int i
){
2833 self
->GetFieldRect(i
, r
);
2836 static const wxString
wxPySplitterNameStr(wxT("splitter"));
2837 static const wxString
wxPySashNameStr(wxT("sashWindow"));
2838 static const wxString
wxPySashLayoutNameStr(wxT("layoutWindow"));
2840 #include <wx/popupwin.h>
2843 class wxPyPopupTransientWindow
: public wxPopupTransientWindow
2846 wxPyPopupTransientWindow() : wxPopupTransientWindow() {}
2847 wxPyPopupTransientWindow(wxWindow
* parent
, int style
= wxBORDER_NONE
)
2848 : wxPopupTransientWindow(parent
, style
) {}
2850 DEC_PYCALLBACK_BOOL_ME(ProcessLeftDown
);
2851 DEC_PYCALLBACK__(OnDismiss
);
2852 DEC_PYCALLBACK_BOOL_(CanDismiss
);
2857 IMP_PYCALLBACK_BOOL_ME(wxPyPopupTransientWindow
, wxPopupTransientWindow
, ProcessLeftDown
);
2858 IMP_PYCALLBACK__(wxPyPopupTransientWindow
, wxPopupTransientWindow
, OnDismiss
);
2859 IMP_PYCALLBACK_BOOL_(wxPyPopupTransientWindow
, wxPopupTransientWindow
, CanDismiss
);
2862 #include <wx/tipwin.h>
2864 SWIGINTERN wxTipWindow
*new_wxTipWindow(wxWindow
*parent
,wxString
const &text
,int maxLength
=100,wxRect
*rectBound
=NULL
){
2865 return new wxTipWindow(parent
, text
, maxLength
, NULL
, rectBound
);
2868 #include <wx/tipwin.h>
2871 #include <wx/vscroll.h>
2874 class wxPyVScrolledWindow
: public wxVScrolledWindow
2876 DECLARE_ABSTRACT_CLASS(wxPyVScrolledWindow
)
2878 wxPyVScrolledWindow() : wxVScrolledWindow() {}
2880 wxPyVScrolledWindow(wxWindow
*parent
,
2881 wxWindowID id
= wxID_ANY
,
2882 const wxPoint
& pos
= wxDefaultPosition
,
2883 const wxSize
& size
= wxDefaultSize
,
2885 const wxString
& name
= wxPyPanelNameStr
)
2886 : wxVScrolledWindow(parent
, id
, pos
, size
, style
, name
)
2889 // Overridable virtuals
2891 // this function must be overridden in the derived class and it should
2892 // return the height of the given line in pixels
2893 DEC_PYCALLBACK_COORD_SIZET_constpure(OnGetLineHeight
);
2896 // this function doesn't have to be overridden but it may be useful to do
2897 // it if calculating the lines heights is a relatively expensive operation
2898 // as it gives the user code a possibility to calculate several of them at
2901 // OnGetLinesHint() is normally called just before OnGetLineHeight() but you
2902 // shouldn't rely on the latter being called for all lines in the interval
2903 // specified here. It is also possible that OnGetLineHeight() will be
2904 // called for the lines outside of this interval, so this is really just a
2905 // hint, not a promise.
2907 // finally note that lineMin is inclusive, while lineMax is exclusive, as
2909 DEC_PYCALLBACK_VOID_SIZETSIZET_const(OnGetLinesHint
);
2912 // when the number of lines changes, we try to estimate the total height
2913 // of all lines which is a rather expensive operation in terms of lines
2914 // access, so if the user code may estimate the average height
2915 // better/faster than we do, it should override this function to implement
2918 // this function should return the best guess for the total height it may
2920 DEC_PYCALLBACK_COORD_const(EstimateTotalHeight
);
2923 // Also expose some other interesting protected methods
2926 // find the index of the line we need to show at the top of the window such
2927 // that the last (fully or partially) visible line is the given one
2928 size_t FindFirstFromBottom(size_t lineLast
, bool fullyVisible
= false)
2929 { return wxVScrolledWindow::FindFirstFromBottom(lineLast
, fullyVisible
); }
2931 // get the total height of the lines between lineMin (inclusive) and
2932 // lineMax (exclusive)
2933 wxCoord
GetLinesHeight(size_t lineMin
, size_t lineMax
) const
2934 { return wxVScrolledWindow::GetLinesHeight(lineMin
, lineMax
); }
2936 // update the thumb size shown by the scrollbar
2937 void UpdateScrollbar() { wxVScrolledWindow::UpdateScrollbar(); }
2939 // remove the scrollbar completely because we don't need it
2940 void RemoveScrollbar() { wxVScrolledWindow::RemoveScrollbar(); }
2945 IMPLEMENT_ABSTRACT_CLASS(wxPyVScrolledWindow
, wxVScrolledWindow
);
2947 IMP_PYCALLBACK_COORD_SIZET_constpure(wxPyVScrolledWindow
, wxVScrolledWindow
, OnGetLineHeight
);
2948 IMP_PYCALLBACK_VOID_SIZETSIZET_const(wxPyVScrolledWindow
, wxVScrolledWindow
, OnGetLinesHint
);
2949 IMP_PYCALLBACK_COORD_const (wxPyVScrolledWindow
, wxVScrolledWindow
, EstimateTotalHeight
);
2953 SWIG_AsVal_unsigned_SS_long (PyObject
* obj
, unsigned long* val
)
2956 if (SWIG_AsVal_long(obj
, &v
) && v
< 0) {
2957 return SWIG_TypeError
;
2960 *val
= (unsigned long)v
;
2965 SWIGINTERNINLINE
int
2966 SWIG_AsVal_size_t (PyObject
* obj
, size_t *val
)
2969 int res
= SWIG_AsVal_unsigned_SS_long (obj
, val
? &v
: 0);
2970 if (SWIG_IsOK(res
) && val
) *val
= static_cast< size_t >(v
);
2975 SWIGINTERNINLINE PyObject
*
2976 SWIG_From_unsigned_SS_long (unsigned long value
)
2978 return (value
> LONG_MAX
) ?
2979 PyLong_FromUnsignedLong(value
) : PyInt_FromLong(static_cast< long >(value
));
2983 SWIGINTERNINLINE PyObject
*
2984 SWIG_From_size_t (size_t value
)
2986 return SWIG_From_unsigned_SS_long (static_cast< unsigned long >(value
));
2990 #include <wx/vlbox.h>
2992 static const wxString
wxPyVListBoxNameStr(wxVListBoxNameStr
);
2994 class wxPyVListBox
: public wxVListBox
2996 DECLARE_ABSTRACT_CLASS(wxPyVListBox
)
2998 wxPyVListBox() : wxVListBox() {}
3000 wxPyVListBox(wxWindow
*parent
,
3001 wxWindowID id
= wxID_ANY
,
3002 const wxPoint
& pos
= wxDefaultPosition
,
3003 const wxSize
& size
= wxDefaultSize
,
3005 const wxString
& name
= wxPyVListBoxNameStr
)
3006 : wxVListBox(parent
, id
, pos
, size
, style
, name
)
3009 // Overridable virtuals
3011 // the derived class must implement this function to actually draw the item
3012 // with the given index on the provided DC
3013 // virtual void OnDrawItem(wxDC& dc, const wxRect& rect, size_t n) const = 0;
3014 DEC_PYCALLBACK__DCRECTSIZET_constpure(OnDrawItem
);
3017 // the derived class must implement this method to return the height of the
3019 // virtual wxCoord OnMeasureItem(size_t n) const = 0;
3020 DEC_PYCALLBACK_COORD_SIZET_constpure(OnMeasureItem
);
3023 // this method may be used to draw separators between the lines; note that
3024 // the rectangle may be modified, typically to deflate it a bit before
3025 // passing to OnDrawItem()
3027 // the base class version doesn't do anything
3028 // virtual void OnDrawSeparator(wxDC& dc, wxRect& rect, size_t n) const;
3029 DEC_PYCALLBACK__DCRECTSIZET2_const(OnDrawSeparator
);
3032 // this method is used to draw the items background and, maybe, a border
3035 // the base class version implements a reasonable default behaviour which
3036 // consists in drawing the selected item with the standard background
3037 // colour and drawing a border around the item if it is either selected or
3039 // virtual void OnDrawBackground(wxDC& dc, const wxRect& rect, size_t n) const;
3040 DEC_PYCALLBACK__DCRECTSIZET_const(OnDrawBackground
);
3046 IMPLEMENT_ABSTRACT_CLASS(wxPyVListBox
, wxVListBox
);
3048 IMP_PYCALLBACK__DCRECTSIZET_constpure(wxPyVListBox
, wxVListBox
, OnDrawItem
);
3049 IMP_PYCALLBACK_COORD_SIZET_constpure (wxPyVListBox
, wxVListBox
, OnMeasureItem
);
3050 IMP_PYCALLBACK__DCRECTSIZET2_const (wxPyVListBox
, wxVListBox
, OnDrawSeparator
);
3051 IMP_PYCALLBACK__DCRECTSIZET_const (wxPyVListBox
, wxVListBox
, OnDrawBackground
);
3054 SWIGINTERN PyObject
*wxPyVListBox_GetFirstSelected(wxPyVListBox
*self
){
3055 unsigned long cookie
= 0;
3056 int selected
= self
->GetFirstSelected(cookie
);
3057 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3058 PyObject
* tup
= PyTuple_New(2);
3059 PyTuple_SET_ITEM(tup
, 0, PyInt_FromLong(selected
));
3060 PyTuple_SET_ITEM(tup
, 1, PyInt_FromLong(cookie
));
3061 wxPyEndBlockThreads(blocked
);
3064 SWIGINTERN PyObject
*wxPyVListBox_GetNextSelected(wxPyVListBox
*self
,unsigned long cookie
){
3065 int selected
= self
->GetNextSelected(cookie
);
3066 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3067 PyObject
* tup
= PyTuple_New(2);
3068 PyTuple_SET_ITEM(tup
, 0, PyInt_FromLong(selected
));
3069 PyTuple_SET_ITEM(tup
, 1, PyInt_FromLong(cookie
));
3070 wxPyEndBlockThreads(blocked
);
3074 #include <wx/htmllbox.h>
3077 class wxPyHtmlListBox
: public wxHtmlListBox
3079 DECLARE_ABSTRACT_CLASS(wxPyHtmlListBox
)
3081 wxPyHtmlListBox() : wxHtmlListBox() {}
3083 wxPyHtmlListBox(wxWindow
*parent
,
3084 wxWindowID id
= wxID_ANY
,
3085 const wxPoint
& pos
= wxDefaultPosition
,
3086 const wxSize
& size
= wxDefaultSize
,
3088 const wxString
& name
= wxPyVListBoxNameStr
)
3089 : wxHtmlListBox(parent
, id
, pos
, size
, style
, name
)
3092 // Overridable virtuals
3094 // this method must be implemented in the derived class and should return
3095 // the body (i.e. without <html>) of the HTML for the given item
3096 DEC_PYCALLBACK_STRING_SIZET_pure(OnGetItem
);
3098 // this function may be overridden to decorate HTML returned by OnGetItem()
3099 DEC_PYCALLBACK_STRING_SIZET(OnGetItemMarkup
);
3101 // These are from wxVListBox
3102 DEC_PYCALLBACK__DCRECTSIZET2_const(OnDrawSeparator
);
3103 DEC_PYCALLBACK__DCRECTSIZET_const(OnDrawBackground
);
3106 // // this method allows to customize the selection appearance: it may be used
3107 // // to specify the colour of the text which normally has the given colour
3108 // // colFg when it is inside the selection
3110 // // by default, the original colour is not used at all and all text has the
3111 // // same (default for this system) colour inside selection
3112 // virtual wxColour GetSelectedTextColour(const wxColour& colFg) const;
3114 // // this is the same as GetSelectedTextColour() but allows to customize the
3115 // // background colour -- this is even more rarely used as you can change it
3116 // // globally using SetSelectionBackground()
3117 // virtual wxColour GetSelectedTextBgColour(const wxColour& colBg) const;
3120 // This method may be overriden to handle clicking on a link in
3121 // the listbox. By default, clicking links is ignored.
3122 virtual void OnLinkClicked(size_t n
,
3123 const wxHtmlLinkInfo
& link
);
3129 IMPLEMENT_ABSTRACT_CLASS(wxPyHtmlListBox
, wxHtmlListBox
)
3131 IMP_PYCALLBACK_STRING_SIZET_pure(wxPyHtmlListBox
, wxHtmlListBox
, OnGetItem
);
3132 IMP_PYCALLBACK_STRING_SIZET (wxPyHtmlListBox
, wxHtmlListBox
, OnGetItemMarkup
);
3133 IMP_PYCALLBACK__DCRECTSIZET2_const (wxPyHtmlListBox
, wxHtmlListBox
, OnDrawSeparator
);
3134 IMP_PYCALLBACK__DCRECTSIZET_const (wxPyHtmlListBox
, wxHtmlListBox
, OnDrawBackground
);
3137 void wxPyHtmlListBox::OnLinkClicked(size_t n
,
3138 const wxHtmlLinkInfo
& link
) {
3140 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3141 if ((found
= wxPyCBH_findCallback(m_myInst
, "OnLinkClicked"))) {
3142 PyObject
* obj
= wxPyConstructObject((void*)&link
, wxT("wxHtmlLinkInfo"), 0);
3143 wxPyCBH_callCallback(m_myInst
, Py_BuildValue("(iO)", n
, obj
));
3146 wxPyEndBlockThreads(blocked
);
3148 wxPyHtmlListBox::OnLinkClicked(n
, link
);
3155 #ifndef wxHAS_TASK_BAR_ICON
3156 // implement dummy classes for platforms that don't have it
3158 class wxTaskBarIcon
: public wxEvtHandler
3161 wxTaskBarIcon() { wxPyRaiseNotImplemented(); }
3165 class wxTaskBarIconEvent
: public wxEvent
3168 wxTaskBarIconEvent(wxEventType
, wxTaskBarIcon
*)
3169 { wxPyRaiseNotImplemented(); }
3170 virtual wxEvent
* Clone() const { return NULL
; }
3171 bool IsOk() const { return false; }
3172 bool IsIconInstalled() const { return false; }
3173 bool SetIcon(const wxIcon
& icon
, const wxString
& tooltip
= wxPyEmptyString
) { return false; }
3174 bool RemoveIcon() { return false; }
3175 bool PopupMenu(wxMenu
*menu
) { return false; }
3179 wxEVT_TASKBAR_MOVE
= 0,
3180 wxEVT_TASKBAR_LEFT_DOWN
= 0,
3181 wxEVT_TASKBAR_LEFT_UP
= 0,
3182 wxEVT_TASKBAR_RIGHT_DOWN
= 0,
3183 wxEVT_TASKBAR_RIGHT_UP
= 0,
3184 wxEVT_TASKBAR_LEFT_DCLICK
= 0,
3185 wxEVT_TASKBAR_RIGHT_DCLICK
= 0,
3190 // Otherwise make a class that can virtualize CreatePopupMenu
3191 class wxPyTaskBarIcon
: public wxTaskBarIcon
3193 DECLARE_ABSTRACT_CLASS(wxPyTaskBarIcon
)
3195 wxPyTaskBarIcon() : wxTaskBarIcon()
3198 wxMenu
* CreatePopupMenu() {
3199 wxMenu
*rval
= NULL
;
3201 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3202 if ((found
= wxPyCBH_findCallback(m_myInst
, "CreatePopupMenu"))) {
3205 ro
= wxPyCBH_callCallbackObj(m_myInst
, Py_BuildValue("()"));
3207 if (wxPyConvertSwigPtr(ro
, (void **)&ptr
, wxT("wxMenu")))
3212 wxPyEndBlockThreads(blocked
);
3214 rval
= wxTaskBarIcon::CreatePopupMenu();
3221 IMPLEMENT_ABSTRACT_CLASS(wxPyTaskBarIcon
, wxTaskBarIcon
);
3225 SWIGINTERN
void wxPyTaskBarIcon_Destroy(wxPyTaskBarIcon
*self
){
3229 static const wxString
wxPyFileSelectorPromptStr(wxFileSelectorPromptStr
);
3230 static const wxString
wxPyDirSelectorPromptStr(wxDirSelectorPromptStr
);
3231 static const wxString
wxPyDirDialogNameStr(wxDirDialogNameStr
);
3232 static const wxString
wxPyFileSelectorDefaultWildcardStr(wxFileSelectorDefaultWildcardStr
);
3233 static const wxString
wxPyGetTextFromUserPromptStr(wxGetTextFromUserPromptStr
);
3234 static const wxString
wxPyMessageBoxCaptionStr(wxMessageBoxCaptionStr
);
3236 // for compatibility only
3237 #define wxHIDE_READONLY 0
3239 SWIGINTERN PyObject
*wxFileDialog_GetFilenames(wxFileDialog
*self
){
3241 self
->GetFilenames(arr
);
3242 return wxArrayString2PyList_helper(arr
);
3244 SWIGINTERN PyObject
*wxFileDialog_GetPaths(wxFileDialog
*self
){
3246 self
->GetPaths(arr
);
3247 return wxArrayString2PyList_helper(arr
);
3249 SWIGINTERN PyObject
*wxMultiChoiceDialog_GetSelections(wxMultiChoiceDialog
*self
){
3250 return wxArrayInt2PyList_helper(self
->GetSelections());
3252 SWIGINTERN wxSingleChoiceDialog
*new_wxSingleChoiceDialog(wxWindow
*parent
,wxString
const &message
,wxString
const &caption
,int choices
,wxString
*choices_array
,long style
=wxCHOICEDLG_STYLE
,wxPoint
const &pos
=wxDefaultPosition
){
3253 return new wxSingleChoiceDialog(parent
, message
, caption
,
3254 choices
, choices_array
, NULL
, style
, pos
);
3256 static const wxString
wxPyGetPasswordFromUserPromptStr(wxGetPasswordFromUserPromptStr
);
3258 SWIGINTERNINLINE PyObject
*
3259 SWIG_From_bool (bool value
)
3261 return PyBool_FromLong(value
? 1 : 0);
3267 // C++ version of Python aware wxWindow
3268 class wxPyWindow
: public wxWindow
3270 DECLARE_DYNAMIC_CLASS(wxPyWindow
)
3272 wxPyWindow() : wxWindow() {}
3273 wxPyWindow(wxWindow
* parent
, const wxWindowID id
,
3274 const wxPoint
& pos
= wxDefaultPosition
,
3275 const wxSize
& size
= wxDefaultSize
,
3277 const wxString
& name
= wxPyPanelNameStr
)
3278 : wxWindow(parent
, id
, pos
, size
, style
, name
) {}
3281 bool DoEraseBackground(wxDC
* dc
) {
3283 return wxWindow::DoEraseBackground(dc
->GetHDC());
3285 dc
->SetBackground(wxBrush(GetBackgroundColour()));
3291 DEC_PYCALLBACK_VOID_INT4(DoMoveWindow
);
3292 DEC_PYCALLBACK_VOID_INT5(DoSetSize
);
3293 DEC_PYCALLBACK_VOID_INTINT(DoSetClientSize
);
3294 DEC_PYCALLBACK_VOID_INTINT(DoSetVirtualSize
);
3296 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetSize
);
3297 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetClientSize
);
3298 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetPosition
);
3300 DEC_PYCALLBACK_SIZE_const(DoGetVirtualSize
);
3301 DEC_PYCALLBACK_SIZE_const(DoGetBestSize
);
3303 DEC_PYCALLBACK__(InitDialog
);
3304 DEC_PYCALLBACK_BOOL_(TransferDataFromWindow
);
3305 DEC_PYCALLBACK_BOOL_(TransferDataToWindow
);
3306 DEC_PYCALLBACK_BOOL_(Validate
);
3308 DEC_PYCALLBACK_BOOL_const(AcceptsFocus
);
3309 DEC_PYCALLBACK_BOOL_const(AcceptsFocusFromKeyboard
);
3310 DEC_PYCALLBACK_SIZE_const(GetMaxSize
);
3312 DEC_PYCALLBACK_VOID_WXWINBASE(AddChild
);
3313 DEC_PYCALLBACK_VOID_WXWINBASE(RemoveChild
);
3315 DEC_PYCALLBACK_BOOL_const(ShouldInheritColours
);
3316 DEC_PYCALLBACK_VIZATTR_(GetDefaultAttributes
);
3318 DEC_PYCALLBACK_BOOL_(HasTransparentBackground
);
3320 DEC_PYCALLBACK_VOID_(OnInternalIdle
);
3325 IMPLEMENT_DYNAMIC_CLASS(wxPyWindow
, wxWindow
);
3327 IMP_PYCALLBACK_VOID_INT4(wxPyWindow
, wxWindow
, DoMoveWindow
);
3328 IMP_PYCALLBACK_VOID_INT5(wxPyWindow
, wxWindow
, DoSetSize
);
3329 IMP_PYCALLBACK_VOID_INTINT(wxPyWindow
, wxWindow
, DoSetClientSize
);
3330 IMP_PYCALLBACK_VOID_INTINT(wxPyWindow
, wxWindow
, DoSetVirtualSize
);
3332 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyWindow
, wxWindow
, DoGetSize
);
3333 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyWindow
, wxWindow
, DoGetClientSize
);
3334 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyWindow
, wxWindow
, DoGetPosition
);
3336 IMP_PYCALLBACK_SIZE_const(wxPyWindow
, wxWindow
, DoGetVirtualSize
);
3337 IMP_PYCALLBACK_SIZE_const(wxPyWindow
, wxWindow
, DoGetBestSize
);
3339 IMP_PYCALLBACK__(wxPyWindow
, wxWindow
, InitDialog
);
3340 IMP_PYCALLBACK_BOOL_(wxPyWindow
, wxWindow
, TransferDataFromWindow
);
3341 IMP_PYCALLBACK_BOOL_(wxPyWindow
, wxWindow
, TransferDataToWindow
);
3342 IMP_PYCALLBACK_BOOL_(wxPyWindow
, wxWindow
, Validate
);
3344 IMP_PYCALLBACK_BOOL_const(wxPyWindow
, wxWindow
, AcceptsFocus
);
3345 IMP_PYCALLBACK_BOOL_const(wxPyWindow
, wxWindow
, AcceptsFocusFromKeyboard
);
3346 IMP_PYCALLBACK_SIZE_const(wxPyWindow
, wxWindow
, GetMaxSize
);
3348 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyWindow
, wxWindow
, AddChild
);
3349 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyWindow
, wxWindow
, RemoveChild
);
3351 IMP_PYCALLBACK_BOOL_const(wxPyWindow
, wxWindow
, ShouldInheritColours
);
3352 IMP_PYCALLBACK_VIZATTR_(wxPyWindow
, wxWindow
, GetDefaultAttributes
);
3354 IMP_PYCALLBACK_BOOL_(wxPyWindow
, wxWindow
, HasTransparentBackground
);
3356 IMP_PYCALLBACK_VOID_(wxPyWindow
, wxWindow
, OnInternalIdle
);
3358 // C++ version of Python aware wxPanel
3359 class wxPyPanel
: public wxPanel
3361 DECLARE_DYNAMIC_CLASS(wxPyPanel
)
3363 wxPyPanel() : wxPanel() {}
3364 wxPyPanel(wxWindow
* parent
, const wxWindowID id
,
3365 const wxPoint
& pos
= wxDefaultPosition
,
3366 const wxSize
& size
= wxDefaultSize
,
3368 const wxString
& name
= wxPyPanelNameStr
)
3369 : wxPanel(parent
, id
, pos
, size
, style
, name
) {}
3371 bool DoEraseBackground(wxDC
* dc
) {
3373 return wxWindow::DoEraseBackground(dc
->GetHDC());
3375 dc
->SetBackground(wxBrush(GetBackgroundColour()));
3382 DEC_PYCALLBACK_VOID_INT4(DoMoveWindow
);
3383 DEC_PYCALLBACK_VOID_INT5(DoSetSize
);
3384 DEC_PYCALLBACK_VOID_INTINT(DoSetClientSize
);
3385 DEC_PYCALLBACK_VOID_INTINT(DoSetVirtualSize
);
3387 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetSize
);
3388 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetClientSize
);
3389 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetPosition
);
3391 DEC_PYCALLBACK_SIZE_const(DoGetVirtualSize
);
3392 DEC_PYCALLBACK_SIZE_const(DoGetBestSize
);
3394 DEC_PYCALLBACK__(InitDialog
);
3395 DEC_PYCALLBACK_BOOL_(TransferDataFromWindow
);
3396 DEC_PYCALLBACK_BOOL_(TransferDataToWindow
);
3397 DEC_PYCALLBACK_BOOL_(Validate
);
3399 DEC_PYCALLBACK_BOOL_const(AcceptsFocus
);
3400 DEC_PYCALLBACK_BOOL_const(AcceptsFocusFromKeyboard
);
3401 DEC_PYCALLBACK_SIZE_const(GetMaxSize
);
3403 DEC_PYCALLBACK_VOID_WXWINBASE(AddChild
);
3404 DEC_PYCALLBACK_VOID_WXWINBASE(RemoveChild
);
3406 DEC_PYCALLBACK_BOOL_const(ShouldInheritColours
);
3407 DEC_PYCALLBACK_VIZATTR_(GetDefaultAttributes
);
3409 DEC_PYCALLBACK_BOOL_(HasTransparentBackground
);
3411 DEC_PYCALLBACK_VOID_(OnInternalIdle
);
3416 IMPLEMENT_DYNAMIC_CLASS(wxPyPanel
, wxPanel
);
3418 IMP_PYCALLBACK_VOID_INT4(wxPyPanel
, wxPanel
, DoMoveWindow
);
3419 IMP_PYCALLBACK_VOID_INT5(wxPyPanel
, wxPanel
, DoSetSize
);
3420 IMP_PYCALLBACK_VOID_INTINT(wxPyPanel
, wxPanel
, DoSetClientSize
);
3421 IMP_PYCALLBACK_VOID_INTINT(wxPyPanel
, wxPanel
, DoSetVirtualSize
);
3423 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyPanel
, wxPanel
, DoGetSize
);
3424 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyPanel
, wxPanel
, DoGetClientSize
);
3425 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyPanel
, wxPanel
, DoGetPosition
);
3427 IMP_PYCALLBACK_SIZE_const(wxPyPanel
, wxPanel
, DoGetVirtualSize
);
3428 IMP_PYCALLBACK_SIZE_const(wxPyPanel
, wxPanel
, DoGetBestSize
);
3430 IMP_PYCALLBACK__(wxPyPanel
, wxPanel
, InitDialog
);
3431 IMP_PYCALLBACK_BOOL_(wxPyPanel
, wxPanel
, TransferDataFromWindow
);
3432 IMP_PYCALLBACK_BOOL_(wxPyPanel
, wxPanel
, TransferDataToWindow
);
3433 IMP_PYCALLBACK_BOOL_(wxPyPanel
, wxPanel
, Validate
);
3435 IMP_PYCALLBACK_BOOL_const(wxPyPanel
, wxPanel
, AcceptsFocus
);
3436 IMP_PYCALLBACK_BOOL_const(wxPyPanel
, wxPanel
, AcceptsFocusFromKeyboard
);
3437 IMP_PYCALLBACK_SIZE_const(wxPyPanel
, wxPanel
, GetMaxSize
);
3439 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyPanel
, wxPanel
, AddChild
);
3440 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyPanel
, wxPanel
, RemoveChild
);
3442 IMP_PYCALLBACK_BOOL_const(wxPyPanel
, wxPanel
, ShouldInheritColours
);
3443 IMP_PYCALLBACK_VIZATTR_(wxPyPanel
, wxPanel
, GetDefaultAttributes
);
3445 IMP_PYCALLBACK_BOOL_(wxPyPanel
, wxPanel
, HasTransparentBackground
);
3447 IMP_PYCALLBACK_VOID_(wxPyPanel
, wxPanel
, OnInternalIdle
);
3449 // C++ version of Python aware wxScrolledWindow
3450 class wxPyScrolledWindow
: public wxScrolledWindow
3452 DECLARE_DYNAMIC_CLASS(wxPyScrolledWindow
)
3454 wxPyScrolledWindow() : wxScrolledWindow() {}
3455 wxPyScrolledWindow(wxWindow
* parent
, const wxWindowID id
,
3456 const wxPoint
& pos
= wxDefaultPosition
,
3457 const wxSize
& size
= wxDefaultSize
,
3459 const wxString
& name
= wxPyPanelNameStr
)
3460 : wxScrolledWindow(parent
, id
, pos
, size
, style
, name
) {}
3462 bool DoEraseBackground(wxDC
* dc
) {
3464 return wxWindow::DoEraseBackground(dc
->GetHDC());
3466 dc
->SetBackground(wxBrush(GetBackgroundColour()));
3472 DEC_PYCALLBACK_VOID_INT4(DoMoveWindow
);
3473 DEC_PYCALLBACK_VOID_INT5(DoSetSize
);
3474 DEC_PYCALLBACK_VOID_INTINT(DoSetClientSize
);
3475 DEC_PYCALLBACK_VOID_INTINT(DoSetVirtualSize
);
3477 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetSize
);
3478 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetClientSize
);
3479 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetPosition
);
3481 DEC_PYCALLBACK_SIZE_const(DoGetVirtualSize
);
3482 DEC_PYCALLBACK_SIZE_const(DoGetBestSize
);
3484 DEC_PYCALLBACK__(InitDialog
);
3485 DEC_PYCALLBACK_BOOL_(TransferDataFromWindow
);
3486 DEC_PYCALLBACK_BOOL_(TransferDataToWindow
);
3487 DEC_PYCALLBACK_BOOL_(Validate
);
3489 DEC_PYCALLBACK_BOOL_const(AcceptsFocus
);
3490 DEC_PYCALLBACK_BOOL_const(AcceptsFocusFromKeyboard
);
3491 DEC_PYCALLBACK_SIZE_const(GetMaxSize
);
3493 DEC_PYCALLBACK_VOID_WXWINBASE(AddChild
);
3494 DEC_PYCALLBACK_VOID_WXWINBASE(RemoveChild
);
3496 DEC_PYCALLBACK_BOOL_const(ShouldInheritColours
);
3497 DEC_PYCALLBACK_VIZATTR_(GetDefaultAttributes
);
3499 DEC_PYCALLBACK_BOOL_(HasTransparentBackground
);
3501 DEC_PYCALLBACK_VOID_(OnInternalIdle
);
3506 IMPLEMENT_DYNAMIC_CLASS(wxPyScrolledWindow
, wxScrolledWindow
);
3508 IMP_PYCALLBACK_VOID_INT4(wxPyScrolledWindow
, wxScrolledWindow
, DoMoveWindow
);
3509 IMP_PYCALLBACK_VOID_INT5(wxPyScrolledWindow
, wxScrolledWindow
, DoSetSize
);
3510 IMP_PYCALLBACK_VOID_INTINT(wxPyScrolledWindow
, wxScrolledWindow
, DoSetClientSize
);
3511 IMP_PYCALLBACK_VOID_INTINT(wxPyScrolledWindow
, wxScrolledWindow
, DoSetVirtualSize
);
3513 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyScrolledWindow
, wxScrolledWindow
, DoGetSize
);
3514 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyScrolledWindow
, wxScrolledWindow
, DoGetClientSize
);
3515 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyScrolledWindow
, wxScrolledWindow
, DoGetPosition
);
3517 IMP_PYCALLBACK_SIZE_const(wxPyScrolledWindow
, wxScrolledWindow
, DoGetVirtualSize
);
3518 IMP_PYCALLBACK_SIZE_const(wxPyScrolledWindow
, wxScrolledWindow
, DoGetBestSize
);
3520 IMP_PYCALLBACK__(wxPyScrolledWindow
, wxScrolledWindow
, InitDialog
);
3521 IMP_PYCALLBACK_BOOL_(wxPyScrolledWindow
, wxScrolledWindow
, TransferDataFromWindow
);
3522 IMP_PYCALLBACK_BOOL_(wxPyScrolledWindow
, wxScrolledWindow
, TransferDataToWindow
);
3523 IMP_PYCALLBACK_BOOL_(wxPyScrolledWindow
, wxScrolledWindow
, Validate
);
3525 IMP_PYCALLBACK_BOOL_const(wxPyScrolledWindow
, wxScrolledWindow
, AcceptsFocus
);
3526 IMP_PYCALLBACK_BOOL_const(wxPyScrolledWindow
, wxScrolledWindow
, AcceptsFocusFromKeyboard
);
3527 IMP_PYCALLBACK_SIZE_const(wxPyScrolledWindow
, wxScrolledWindow
, GetMaxSize
);
3529 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyScrolledWindow
, wxScrolledWindow
, AddChild
);
3530 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyScrolledWindow
, wxScrolledWindow
, RemoveChild
);
3532 IMP_PYCALLBACK_BOOL_const(wxPyScrolledWindow
, wxScrolledWindow
, ShouldInheritColours
);
3533 IMP_PYCALLBACK_VIZATTR_(wxPyScrolledWindow
, wxScrolledWindow
, GetDefaultAttributes
);
3535 IMP_PYCALLBACK_BOOL_(wxPyScrolledWindow
, wxScrolledWindow
, HasTransparentBackground
);
3537 IMP_PYCALLBACK_VOID_(wxPyScrolledWindow
, wxScrolledWindow
, OnInternalIdle
);
3540 #include "wx/wxPython/printfw.h"
3543 static const wxString
wxPyPrintoutTitleStr(wxT("Printout"));
3544 static const wxString
wxPyPreviewCanvasNameStr(wxT("previewcanvas"));
3545 SWIGINTERN PyObject
*wxPrintData_GetPrivData(wxPrintData
*self
){
3547 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3548 data
= PyString_FromStringAndSize(self
->GetPrivData(),
3549 self
->GetPrivDataLen());
3550 wxPyEndBlockThreads(blocked
);
3553 SWIGINTERN
void wxPrintData_SetPrivData(wxPrintData
*self
,PyObject
*data
){
3554 if (! PyString_Check(data
)) {
3555 wxPyBLOCK_THREADS(PyErr_SetString(PyExc_TypeError
,
3556 "Expected string object"));
3560 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3561 self
->SetPrivData(PyString_AS_STRING(data
), PyString_GET_SIZE(data
));
3562 wxPyEndBlockThreads(blocked
);
3566 IMPLEMENT_ABSTRACT_CLASS(wxPyPrintout
, wxPrintout
);
3568 // Since this one would be tough and ugly to do with the Macros...
3569 void wxPyPrintout::GetPageInfo(int *minPage
, int *maxPage
, int *pageFrom
, int *pageTo
) {
3570 bool hadErr
= false;
3573 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3574 if ((found
= wxPyCBH_findCallback(m_myInst
, "GetPageInfo"))) {
3575 PyObject
* result
= wxPyCBH_callCallbackObj(m_myInst
, Py_BuildValue("()"));
3576 if (result
&& PyTuple_Check(result
) && PyTuple_Size(result
) == 4) {
3579 val
= PyTuple_GetItem(result
, 0);
3580 if (PyInt_Check(val
)) *minPage
= PyInt_AsLong(val
);
3583 val
= PyTuple_GetItem(result
, 1);
3584 if (PyInt_Check(val
)) *maxPage
= PyInt_AsLong(val
);
3587 val
= PyTuple_GetItem(result
, 2);
3588 if (PyInt_Check(val
)) *pageFrom
= PyInt_AsLong(val
);
3591 val
= PyTuple_GetItem(result
, 3);
3592 if (PyInt_Check(val
)) *pageTo
= PyInt_AsLong(val
);
3599 PyErr_SetString(PyExc_TypeError
, "GetPageInfo should return a tuple of 4 integers.");
3604 wxPyEndBlockThreads(blocked
);
3606 wxPrintout::GetPageInfo(minPage
, maxPage
, pageFrom
, pageTo
);
3611 IMP_PYCALLBACK_BOOL_INTINT(wxPyPrintout
, wxPrintout
, OnBeginDocument
);
3612 IMP_PYCALLBACK__(wxPyPrintout
, wxPrintout
, OnEndDocument
);
3613 IMP_PYCALLBACK__(wxPyPrintout
, wxPrintout
, OnBeginPrinting
);
3614 IMP_PYCALLBACK__(wxPyPrintout
, wxPrintout
, OnEndPrinting
);
3615 IMP_PYCALLBACK__(wxPyPrintout
, wxPrintout
, OnPreparePrinting
);
3616 IMP_PYCALLBACK_BOOL_INT_pure(wxPyPrintout
, wxPrintout
, OnPrintPage
);
3617 IMP_PYCALLBACK_BOOL_INT(wxPyPrintout
, wxPrintout
, HasPage
);
3623 #define DEC_PYCALLBACK_BOOL_PREWINDC(CBNAME) \
3624 bool CBNAME(wxPreviewCanvas* a, wxDC& b)
3627 #define IMP_PYCALLBACK_BOOL_PREWINDC(CLASS, PCLASS, CBNAME) \
3628 bool CLASS::CBNAME(wxPreviewCanvas* a, wxDC& b) { \
3631 wxPyBlock_t blocked = wxPyBeginBlockThreads(); \
3632 if ((found = wxPyCBH_findCallback(m_myInst, #CBNAME))) { \
3633 PyObject* win = wxPyMake_wxObject(a,false); \
3634 PyObject* dc = wxPyMake_wxObject(&b,false); \
3635 rval = wxPyCBH_callCallback(m_myInst, Py_BuildValue("(OO)", win, dc)); \
3639 wxPyEndBlockThreads(blocked); \
3641 rval = PCLASS::CBNAME(a, b); \
3648 class wxPyPrintPreview
: public wxPrintPreview
3650 DECLARE_CLASS(wxPyPrintPreview
)
3652 wxPyPrintPreview(wxPyPrintout
* printout
,
3653 wxPyPrintout
* printoutForPrinting
,
3654 wxPrintDialogData
* data
=NULL
)
3655 : wxPrintPreview(printout
, printoutForPrinting
, data
)
3657 wxPyPrintPreview(wxPyPrintout
* printout
,
3658 wxPyPrintout
* printoutForPrinting
,
3660 : wxPrintPreview(printout
, printoutForPrinting
, data
)
3663 DEC_PYCALLBACK_BOOL_INT(SetCurrentPage
);
3664 DEC_PYCALLBACK_BOOL_PREWINDC(PaintPage
);
3665 DEC_PYCALLBACK_BOOL_PREWINDC(DrawBlankPage
);
3666 DEC_PYCALLBACK_BOOL_INT(RenderPage
);
3667 DEC_PYCALLBACK_VOID_INT(SetZoom
);
3668 DEC_PYCALLBACK_BOOL_BOOL(Print
);
3669 DEC_PYCALLBACK_VOID_(DetermineScaling
);
3674 // Stupid renamed classes... Fix this in 2.5...
3675 #if defined(__WXMSW__)
3676 IMPLEMENT_CLASS( wxPyPrintPreview
, wxWindowsPrintPreview
);
3677 #elif defined(__WXMAC__)
3678 IMPLEMENT_CLASS( wxPyPrintPreview
, wxMacPrintPreview
);
3680 IMPLEMENT_CLASS( wxPyPrintPreview
, wxPostScriptPrintPreview
);
3683 IMP_PYCALLBACK_BOOL_INT (wxPyPrintPreview
, wxPrintPreview
, SetCurrentPage
);
3684 IMP_PYCALLBACK_BOOL_PREWINDC(wxPyPrintPreview
, wxPrintPreview
, PaintPage
);
3685 IMP_PYCALLBACK_BOOL_PREWINDC(wxPyPrintPreview
, wxPrintPreview
, DrawBlankPage
);
3686 IMP_PYCALLBACK_BOOL_INT (wxPyPrintPreview
, wxPrintPreview
, RenderPage
);
3687 IMP_PYCALLBACK_VOID_INT (wxPyPrintPreview
, wxPrintPreview
, SetZoom
);
3688 IMP_PYCALLBACK_BOOL_BOOL (wxPyPrintPreview
, wxPrintPreview
, Print
);
3689 IMP_PYCALLBACK_VOID_ (wxPyPrintPreview
, wxPrintPreview
, DetermineScaling
);
3692 class wxPyPreviewFrame
: public wxPreviewFrame
3694 DECLARE_CLASS(wxPyPreviewFrame
)
3696 wxPyPreviewFrame(wxPrintPreview
* preview
, wxFrame
* parent
,
3697 const wxString
& title
,
3698 const wxPoint
& pos
= wxDefaultPosition
,
3699 const wxSize
& size
= wxDefaultSize
,
3700 long style
= wxDEFAULT_FRAME_STYLE
,
3701 const wxString
& name
= wxPyFrameNameStr
)
3702 : wxPreviewFrame(preview
, parent
, title
, pos
, size
, style
, name
)
3705 void SetPreviewCanvas(wxPreviewCanvas
* canvas
) { m_previewCanvas
= canvas
; }
3706 void SetControlBar(wxPreviewControlBar
* bar
) { m_controlBar
= bar
; }
3708 DEC_PYCALLBACK_VOID_(Initialize
);
3709 DEC_PYCALLBACK_VOID_(CreateCanvas
);
3710 DEC_PYCALLBACK_VOID_(CreateControlBar
);
3715 IMPLEMENT_CLASS(wxPyPreviewFrame
, wxPreviewFrame
);
3717 IMP_PYCALLBACK_VOID_(wxPyPreviewFrame
, wxPreviewFrame
, Initialize
);
3718 IMP_PYCALLBACK_VOID_(wxPyPreviewFrame
, wxPreviewFrame
, CreateCanvas
);
3719 IMP_PYCALLBACK_VOID_(wxPyPreviewFrame
, wxPreviewFrame
, CreateControlBar
);
3722 class wxPyPreviewControlBar
: public wxPreviewControlBar
3724 DECLARE_CLASS(wxPyPreviewControlBar
)
3726 wxPyPreviewControlBar(wxPrintPreview
*preview
,
3729 const wxPoint
& pos
= wxDefaultPosition
,
3730 const wxSize
& size
= wxDefaultSize
,
3732 const wxString
& name
= wxPyPanelNameStr
)
3733 : wxPreviewControlBar(preview
, buttons
, parent
, pos
, size
, style
, name
)
3736 void SetPrintPreview(wxPrintPreview
* preview
) { m_printPreview
= preview
; }
3738 DEC_PYCALLBACK_VOID_(CreateButtons
);
3739 DEC_PYCALLBACK_VOID_INT(SetZoomControl
);
3744 IMPLEMENT_CLASS(wxPyPreviewControlBar
, wxPreviewControlBar
);
3745 IMP_PYCALLBACK_VOID_(wxPyPreviewControlBar
, wxPreviewControlBar
, CreateButtons
);
3746 IMP_PYCALLBACK_VOID_INT(wxPyPreviewControlBar
, wxPreviewControlBar
, SetZoomControl
);
3751 SWIGINTERN PyObject
*_wrap_new_Panel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
3752 PyObject
*resultobj
= 0;
3753 wxWindow
*arg1
= (wxWindow
*) 0 ;
3754 int arg2
= (int) (int)-1 ;
3755 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
3756 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
3757 wxSize
const &arg4_defvalue
= wxDefaultSize
;
3758 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
3759 long arg5
= (long) wxTAB_TRAVERSAL
|wxNO_BORDER
;
3760 wxString
const &arg6_defvalue
= wxPyPanelNameStr
;
3761 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
3762 wxPanel
*result
= 0 ;
3771 bool temp6
= false ;
3772 PyObject
* obj0
= 0 ;
3773 PyObject
* obj1
= 0 ;
3774 PyObject
* obj2
= 0 ;
3775 PyObject
* obj3
= 0 ;
3776 PyObject
* obj4
= 0 ;
3777 PyObject
* obj5
= 0 ;
3778 char * kwnames
[] = {
3779 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
3782 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_Panel",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
3783 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
3784 if (!SWIG_IsOK(res1
)) {
3785 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_Panel" "', expected argument " "1"" of type '" "wxWindow *""'");
3787 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
3789 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
3790 if (!SWIG_IsOK(ecode2
)) {
3791 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Panel" "', expected argument " "2"" of type '" "int""'");
3793 arg2
= static_cast< int >(val2
);
3798 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
3804 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
3808 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
3809 if (!SWIG_IsOK(ecode5
)) {
3810 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_Panel" "', expected argument " "5"" of type '" "long""'");
3812 arg5
= static_cast< long >(val5
);
3816 arg6
= wxString_in_helper(obj5
);
3817 if (arg6
== NULL
) SWIG_fail
;
3822 if (!wxPyCheckForApp()) SWIG_fail
;
3823 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3824 result
= (wxPanel
*)new wxPanel(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
3825 wxPyEndAllowThreads(__tstate
);
3826 if (PyErr_Occurred()) SWIG_fail
;
3828 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPanel
, SWIG_POINTER_NEW
| 0 );
3843 SWIGINTERN PyObject
*_wrap_new_PrePanel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
3844 PyObject
*resultobj
= 0;
3845 wxPanel
*result
= 0 ;
3847 if (!SWIG_Python_UnpackTuple(args
,"new_PrePanel",0,0,0)) SWIG_fail
;
3849 if (!wxPyCheckForApp()) SWIG_fail
;
3850 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3851 result
= (wxPanel
*)new wxPanel();
3852 wxPyEndAllowThreads(__tstate
);
3853 if (PyErr_Occurred()) SWIG_fail
;
3855 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPanel
, SWIG_POINTER_OWN
| 0 );
3862 SWIGINTERN PyObject
*_wrap_Panel_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
3863 PyObject
*resultobj
= 0;
3864 wxPanel
*arg1
= (wxPanel
*) 0 ;
3865 wxWindow
*arg2
= (wxWindow
*) 0 ;
3866 int arg3
= (int) (int)-1 ;
3867 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
3868 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
3869 wxSize
const &arg5_defvalue
= wxDefaultSize
;
3870 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
3871 long arg6
= (long) wxTAB_TRAVERSAL
|wxNO_BORDER
;
3872 wxString
const &arg7_defvalue
= wxPyPanelNameStr
;
3873 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
3885 bool temp7
= false ;
3886 PyObject
* obj0
= 0 ;
3887 PyObject
* obj1
= 0 ;
3888 PyObject
* obj2
= 0 ;
3889 PyObject
* obj3
= 0 ;
3890 PyObject
* obj4
= 0 ;
3891 PyObject
* obj5
= 0 ;
3892 PyObject
* obj6
= 0 ;
3893 char * kwnames
[] = {
3894 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
3897 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:Panel_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
3898 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPanel
, 0 | 0 );
3899 if (!SWIG_IsOK(res1
)) {
3900 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Panel_Create" "', expected argument " "1"" of type '" "wxPanel *""'");
3902 arg1
= reinterpret_cast< wxPanel
* >(argp1
);
3903 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
3904 if (!SWIG_IsOK(res2
)) {
3905 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Panel_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
3907 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
3909 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
3910 if (!SWIG_IsOK(ecode3
)) {
3911 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Panel_Create" "', expected argument " "3"" of type '" "int""'");
3913 arg3
= static_cast< int >(val3
);
3918 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
3924 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
3928 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
3929 if (!SWIG_IsOK(ecode6
)) {
3930 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "Panel_Create" "', expected argument " "6"" of type '" "long""'");
3932 arg6
= static_cast< long >(val6
);
3936 arg7
= wxString_in_helper(obj6
);
3937 if (arg7
== NULL
) SWIG_fail
;
3942 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3943 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
3944 wxPyEndAllowThreads(__tstate
);
3945 if (PyErr_Occurred()) SWIG_fail
;
3948 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3964 SWIGINTERN PyObject
*_wrap_Panel_SetFocusIgnoringChildren(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
3965 PyObject
*resultobj
= 0;
3966 wxPanel
*arg1
= (wxPanel
*) 0 ;
3969 PyObject
*swig_obj
[1] ;
3971 if (!args
) SWIG_fail
;
3973 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPanel
, 0 | 0 );
3974 if (!SWIG_IsOK(res1
)) {
3975 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Panel_SetFocusIgnoringChildren" "', expected argument " "1"" of type '" "wxPanel *""'");
3977 arg1
= reinterpret_cast< wxPanel
* >(argp1
);
3979 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3980 (arg1
)->SetFocusIgnoringChildren();
3981 wxPyEndAllowThreads(__tstate
);
3982 if (PyErr_Occurred()) SWIG_fail
;
3984 resultobj
= SWIG_Py_Void();
3991 SWIGINTERN PyObject
*_wrap_Panel_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
3992 PyObject
*resultobj
= 0;
3993 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
3994 SwigValueWrapper
<wxVisualAttributes
> result
;
3997 PyObject
* obj0
= 0 ;
3998 char * kwnames
[] = {
3999 (char *) "variant", NULL
4002 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Panel_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
4004 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
4005 if (!SWIG_IsOK(ecode1
)) {
4006 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "Panel_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
4008 arg1
= static_cast< wxWindowVariant
>(val1
);
4011 if (!wxPyCheckForApp()) SWIG_fail
;
4012 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4013 result
= wxPanel::GetClassDefaultAttributes(arg1
);
4014 wxPyEndAllowThreads(__tstate
);
4015 if (PyErr_Occurred()) SWIG_fail
;
4017 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
4024 SWIGINTERN PyObject
*Panel_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4026 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
4027 SWIG_TypeNewClientData(SWIGTYPE_p_wxPanel
, SWIG_NewClientData(obj
));
4028 return SWIG_Py_Void();
4031 SWIGINTERN PyObject
*Panel_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4032 return SWIG_Python_InitShadowInstance(args
);
4035 SWIGINTERN PyObject
*_wrap_new_ScrolledWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4036 PyObject
*resultobj
= 0;
4037 wxWindow
*arg1
= (wxWindow
*) 0 ;
4038 int arg2
= (int) (int)-1 ;
4039 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
4040 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
4041 wxSize
const &arg4_defvalue
= wxDefaultSize
;
4042 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
4043 long arg5
= (long) wxHSCROLL
|wxVSCROLL
;
4044 wxString
const &arg6_defvalue
= wxPyPanelNameStr
;
4045 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
4046 wxScrolledWindow
*result
= 0 ;
4055 bool temp6
= false ;
4056 PyObject
* obj0
= 0 ;
4057 PyObject
* obj1
= 0 ;
4058 PyObject
* obj2
= 0 ;
4059 PyObject
* obj3
= 0 ;
4060 PyObject
* obj4
= 0 ;
4061 PyObject
* obj5
= 0 ;
4062 char * kwnames
[] = {
4063 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
4066 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_ScrolledWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
4067 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
4068 if (!SWIG_IsOK(res1
)) {
4069 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_ScrolledWindow" "', expected argument " "1"" of type '" "wxWindow *""'");
4071 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
4073 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
4074 if (!SWIG_IsOK(ecode2
)) {
4075 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_ScrolledWindow" "', expected argument " "2"" of type '" "int""'");
4077 arg2
= static_cast< int >(val2
);
4082 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
4088 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
4092 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
4093 if (!SWIG_IsOK(ecode5
)) {
4094 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_ScrolledWindow" "', expected argument " "5"" of type '" "long""'");
4096 arg5
= static_cast< long >(val5
);
4100 arg6
= wxString_in_helper(obj5
);
4101 if (arg6
== NULL
) SWIG_fail
;
4106 if (!wxPyCheckForApp()) SWIG_fail
;
4107 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4108 result
= (wxScrolledWindow
*)new wxScrolledWindow(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
4109 wxPyEndAllowThreads(__tstate
);
4110 if (PyErr_Occurred()) SWIG_fail
;
4112 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxScrolledWindow
, SWIG_POINTER_NEW
| 0 );
4127 SWIGINTERN PyObject
*_wrap_new_PreScrolledWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4128 PyObject
*resultobj
= 0;
4129 wxScrolledWindow
*result
= 0 ;
4131 if (!SWIG_Python_UnpackTuple(args
,"new_PreScrolledWindow",0,0,0)) SWIG_fail
;
4133 if (!wxPyCheckForApp()) SWIG_fail
;
4134 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4135 result
= (wxScrolledWindow
*)new wxScrolledWindow();
4136 wxPyEndAllowThreads(__tstate
);
4137 if (PyErr_Occurred()) SWIG_fail
;
4139 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxScrolledWindow
, SWIG_POINTER_OWN
| 0 );
4146 SWIGINTERN PyObject
*_wrap_ScrolledWindow_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4147 PyObject
*resultobj
= 0;
4148 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
4149 wxWindow
*arg2
= (wxWindow
*) 0 ;
4150 int arg3
= (int) (int)-1 ;
4151 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
4152 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
4153 wxSize
const &arg5_defvalue
= wxDefaultSize
;
4154 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
4155 long arg6
= (long) wxHSCROLL
|wxVSCROLL
;
4156 wxString
const &arg7_defvalue
= wxPyPanelNameStr
;
4157 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
4169 bool temp7
= false ;
4170 PyObject
* obj0
= 0 ;
4171 PyObject
* obj1
= 0 ;
4172 PyObject
* obj2
= 0 ;
4173 PyObject
* obj3
= 0 ;
4174 PyObject
* obj4
= 0 ;
4175 PyObject
* obj5
= 0 ;
4176 PyObject
* obj6
= 0 ;
4177 char * kwnames
[] = {
4178 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
4181 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:ScrolledWindow_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
4182 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxScrolledWindow
, 0 | 0 );
4183 if (!SWIG_IsOK(res1
)) {
4184 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrolledWindow_Create" "', expected argument " "1"" of type '" "wxScrolledWindow *""'");
4186 arg1
= reinterpret_cast< wxScrolledWindow
* >(argp1
);
4187 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
4188 if (!SWIG_IsOK(res2
)) {
4189 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ScrolledWindow_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
4191 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
4193 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
4194 if (!SWIG_IsOK(ecode3
)) {
4195 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ScrolledWindow_Create" "', expected argument " "3"" of type '" "int""'");
4197 arg3
= static_cast< int >(val3
);
4202 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
4208 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
4212 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
4213 if (!SWIG_IsOK(ecode6
)) {
4214 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "ScrolledWindow_Create" "', expected argument " "6"" of type '" "long""'");
4216 arg6
= static_cast< long >(val6
);
4220 arg7
= wxString_in_helper(obj6
);
4221 if (arg7
== NULL
) SWIG_fail
;
4226 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4227 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
4228 wxPyEndAllowThreads(__tstate
);
4229 if (PyErr_Occurred()) SWIG_fail
;
4232 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4248 SWIGINTERN PyObject
*_wrap_ScrolledWindow_SetScrollbars(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4249 PyObject
*resultobj
= 0;
4250 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
4255 int arg6
= (int) 0 ;
4256 int arg7
= (int) 0 ;
4257 bool arg8
= (bool) false ;
4274 PyObject
* obj0
= 0 ;
4275 PyObject
* obj1
= 0 ;
4276 PyObject
* obj2
= 0 ;
4277 PyObject
* obj3
= 0 ;
4278 PyObject
* obj4
= 0 ;
4279 PyObject
* obj5
= 0 ;
4280 PyObject
* obj6
= 0 ;
4281 PyObject
* obj7
= 0 ;
4282 char * kwnames
[] = {
4283 (char *) "self",(char *) "pixelsPerUnitX",(char *) "pixelsPerUnitY",(char *) "noUnitsX",(char *) "noUnitsY",(char *) "xPos",(char *) "yPos",(char *) "noRefresh", NULL
4286 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|OOO:ScrolledWindow_SetScrollbars",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
4287 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxScrolledWindow
, 0 | 0 );
4288 if (!SWIG_IsOK(res1
)) {
4289 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrolledWindow_SetScrollbars" "', expected argument " "1"" of type '" "wxScrolledWindow *""'");
4291 arg1
= reinterpret_cast< wxScrolledWindow
* >(argp1
);
4292 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
4293 if (!SWIG_IsOK(ecode2
)) {
4294 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ScrolledWindow_SetScrollbars" "', expected argument " "2"" of type '" "int""'");
4296 arg2
= static_cast< int >(val2
);
4297 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
4298 if (!SWIG_IsOK(ecode3
)) {
4299 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ScrolledWindow_SetScrollbars" "', expected argument " "3"" of type '" "int""'");
4301 arg3
= static_cast< int >(val3
);
4302 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
4303 if (!SWIG_IsOK(ecode4
)) {
4304 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "ScrolledWindow_SetScrollbars" "', expected argument " "4"" of type '" "int""'");
4306 arg4
= static_cast< int >(val4
);
4307 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
4308 if (!SWIG_IsOK(ecode5
)) {
4309 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "ScrolledWindow_SetScrollbars" "', expected argument " "5"" of type '" "int""'");
4311 arg5
= static_cast< int >(val5
);
4313 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
4314 if (!SWIG_IsOK(ecode6
)) {
4315 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "ScrolledWindow_SetScrollbars" "', expected argument " "6"" of type '" "int""'");
4317 arg6
= static_cast< int >(val6
);
4320 ecode7
= SWIG_AsVal_int(obj6
, &val7
);
4321 if (!SWIG_IsOK(ecode7
)) {
4322 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "ScrolledWindow_SetScrollbars" "', expected argument " "7"" of type '" "int""'");
4324 arg7
= static_cast< int >(val7
);
4327 ecode8
= SWIG_AsVal_bool(obj7
, &val8
);
4328 if (!SWIG_IsOK(ecode8
)) {
4329 SWIG_exception_fail(SWIG_ArgError(ecode8
), "in method '" "ScrolledWindow_SetScrollbars" "', expected argument " "8"" of type '" "bool""'");
4331 arg8
= static_cast< bool >(val8
);
4334 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4335 (arg1
)->SetScrollbars(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
,arg8
);
4336 wxPyEndAllowThreads(__tstate
);
4337 if (PyErr_Occurred()) SWIG_fail
;
4339 resultobj
= SWIG_Py_Void();
4346 SWIGINTERN PyObject
*_wrap_ScrolledWindow_Scroll(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4347 PyObject
*resultobj
= 0;
4348 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
4357 PyObject
* obj0
= 0 ;
4358 PyObject
* obj1
= 0 ;
4359 PyObject
* obj2
= 0 ;
4360 char * kwnames
[] = {
4361 (char *) "self",(char *) "x",(char *) "y", NULL
4364 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ScrolledWindow_Scroll",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
4365 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxScrolledWindow
, 0 | 0 );
4366 if (!SWIG_IsOK(res1
)) {
4367 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrolledWindow_Scroll" "', expected argument " "1"" of type '" "wxScrolledWindow *""'");
4369 arg1
= reinterpret_cast< wxScrolledWindow
* >(argp1
);
4370 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
4371 if (!SWIG_IsOK(ecode2
)) {
4372 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ScrolledWindow_Scroll" "', expected argument " "2"" of type '" "int""'");
4374 arg2
= static_cast< int >(val2
);
4375 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
4376 if (!SWIG_IsOK(ecode3
)) {
4377 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ScrolledWindow_Scroll" "', expected argument " "3"" of type '" "int""'");
4379 arg3
= static_cast< int >(val3
);
4381 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4382 (arg1
)->Scroll(arg2
,arg3
);
4383 wxPyEndAllowThreads(__tstate
);
4384 if (PyErr_Occurred()) SWIG_fail
;
4386 resultobj
= SWIG_Py_Void();
4393 SWIGINTERN PyObject
*_wrap_ScrolledWindow_GetScrollPageSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4394 PyObject
*resultobj
= 0;
4395 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
4402 PyObject
* obj0
= 0 ;
4403 PyObject
* obj1
= 0 ;
4404 char * kwnames
[] = {
4405 (char *) "self",(char *) "orient", NULL
4408 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ScrolledWindow_GetScrollPageSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4409 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxScrolledWindow
, 0 | 0 );
4410 if (!SWIG_IsOK(res1
)) {
4411 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrolledWindow_GetScrollPageSize" "', expected argument " "1"" of type '" "wxScrolledWindow const *""'");
4413 arg1
= reinterpret_cast< wxScrolledWindow
* >(argp1
);
4414 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
4415 if (!SWIG_IsOK(ecode2
)) {
4416 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ScrolledWindow_GetScrollPageSize" "', expected argument " "2"" of type '" "int""'");
4418 arg2
= static_cast< int >(val2
);
4420 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4421 result
= (int)((wxScrolledWindow
const *)arg1
)->GetScrollPageSize(arg2
);
4422 wxPyEndAllowThreads(__tstate
);
4423 if (PyErr_Occurred()) SWIG_fail
;
4425 resultobj
= SWIG_From_int(static_cast< int >(result
));
4432 SWIGINTERN PyObject
*_wrap_ScrolledWindow_SetScrollPageSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4433 PyObject
*resultobj
= 0;
4434 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
4443 PyObject
* obj0
= 0 ;
4444 PyObject
* obj1
= 0 ;
4445 PyObject
* obj2
= 0 ;
4446 char * kwnames
[] = {
4447 (char *) "self",(char *) "orient",(char *) "pageSize", NULL
4450 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ScrolledWindow_SetScrollPageSize",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
4451 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxScrolledWindow
, 0 | 0 );
4452 if (!SWIG_IsOK(res1
)) {
4453 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrolledWindow_SetScrollPageSize" "', expected argument " "1"" of type '" "wxScrolledWindow *""'");
4455 arg1
= reinterpret_cast< wxScrolledWindow
* >(argp1
);
4456 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
4457 if (!SWIG_IsOK(ecode2
)) {
4458 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ScrolledWindow_SetScrollPageSize" "', expected argument " "2"" of type '" "int""'");
4460 arg2
= static_cast< int >(val2
);
4461 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
4462 if (!SWIG_IsOK(ecode3
)) {
4463 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ScrolledWindow_SetScrollPageSize" "', expected argument " "3"" of type '" "int""'");
4465 arg3
= static_cast< int >(val3
);
4467 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4468 (arg1
)->SetScrollPageSize(arg2
,arg3
);
4469 wxPyEndAllowThreads(__tstate
);
4470 if (PyErr_Occurred()) SWIG_fail
;
4472 resultobj
= SWIG_Py_Void();
4479 SWIGINTERN PyObject
*_wrap_ScrolledWindow_SetScrollRate(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4480 PyObject
*resultobj
= 0;
4481 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
4490 PyObject
* obj0
= 0 ;
4491 PyObject
* obj1
= 0 ;
4492 PyObject
* obj2
= 0 ;
4493 char * kwnames
[] = {
4494 (char *) "self",(char *) "xstep",(char *) "ystep", NULL
4497 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ScrolledWindow_SetScrollRate",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
4498 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxScrolledWindow
, 0 | 0 );
4499 if (!SWIG_IsOK(res1
)) {
4500 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrolledWindow_SetScrollRate" "', expected argument " "1"" of type '" "wxScrolledWindow *""'");
4502 arg1
= reinterpret_cast< wxScrolledWindow
* >(argp1
);
4503 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
4504 if (!SWIG_IsOK(ecode2
)) {
4505 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ScrolledWindow_SetScrollRate" "', expected argument " "2"" of type '" "int""'");
4507 arg2
= static_cast< int >(val2
);
4508 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
4509 if (!SWIG_IsOK(ecode3
)) {
4510 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ScrolledWindow_SetScrollRate" "', expected argument " "3"" of type '" "int""'");
4512 arg3
= static_cast< int >(val3
);
4514 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4515 (arg1
)->SetScrollRate(arg2
,arg3
);
4516 wxPyEndAllowThreads(__tstate
);
4517 if (PyErr_Occurred()) SWIG_fail
;
4519 resultobj
= SWIG_Py_Void();
4526 SWIGINTERN PyObject
*_wrap_ScrolledWindow_GetScrollPixelsPerUnit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4527 PyObject
*resultobj
= 0;
4528 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
4529 int *arg2
= (int *) 0 ;
4530 int *arg3
= (int *) 0 ;
4534 int res2
= SWIG_TMPOBJ
;
4536 int res3
= SWIG_TMPOBJ
;
4537 PyObject
*swig_obj
[1] ;
4541 if (!args
) SWIG_fail
;
4543 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxScrolledWindow
, 0 | 0 );
4544 if (!SWIG_IsOK(res1
)) {
4545 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrolledWindow_GetScrollPixelsPerUnit" "', expected argument " "1"" of type '" "wxScrolledWindow const *""'");
4547 arg1
= reinterpret_cast< wxScrolledWindow
* >(argp1
);
4549 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4550 ((wxScrolledWindow
const *)arg1
)->GetScrollPixelsPerUnit(arg2
,arg3
);
4551 wxPyEndAllowThreads(__tstate
);
4552 if (PyErr_Occurred()) SWIG_fail
;
4554 resultobj
= SWIG_Py_Void();
4555 if (SWIG_IsTmpObj(res2
)) {
4556 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
4558 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
4559 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
4561 if (SWIG_IsTmpObj(res3
)) {
4562 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
4564 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
4565 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
4573 SWIGINTERN PyObject
*_wrap_ScrolledWindow_EnableScrolling(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4574 PyObject
*resultobj
= 0;
4575 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
4584 PyObject
* obj0
= 0 ;
4585 PyObject
* obj1
= 0 ;
4586 PyObject
* obj2
= 0 ;
4587 char * kwnames
[] = {
4588 (char *) "self",(char *) "x_scrolling",(char *) "y_scrolling", NULL
4591 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ScrolledWindow_EnableScrolling",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
4592 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxScrolledWindow
, 0 | 0 );
4593 if (!SWIG_IsOK(res1
)) {
4594 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrolledWindow_EnableScrolling" "', expected argument " "1"" of type '" "wxScrolledWindow *""'");
4596 arg1
= reinterpret_cast< wxScrolledWindow
* >(argp1
);
4597 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
4598 if (!SWIG_IsOK(ecode2
)) {
4599 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ScrolledWindow_EnableScrolling" "', expected argument " "2"" of type '" "bool""'");
4601 arg2
= static_cast< bool >(val2
);
4602 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
4603 if (!SWIG_IsOK(ecode3
)) {
4604 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ScrolledWindow_EnableScrolling" "', expected argument " "3"" of type '" "bool""'");
4606 arg3
= static_cast< bool >(val3
);
4608 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4609 (arg1
)->EnableScrolling(arg2
,arg3
);
4610 wxPyEndAllowThreads(__tstate
);
4611 if (PyErr_Occurred()) SWIG_fail
;
4613 resultobj
= SWIG_Py_Void();
4620 SWIGINTERN PyObject
*_wrap_ScrolledWindow_GetViewStart(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4621 PyObject
*resultobj
= 0;
4622 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
4623 int *arg2
= (int *) 0 ;
4624 int *arg3
= (int *) 0 ;
4628 int res2
= SWIG_TMPOBJ
;
4630 int res3
= SWIG_TMPOBJ
;
4631 PyObject
*swig_obj
[1] ;
4635 if (!args
) SWIG_fail
;
4637 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxScrolledWindow
, 0 | 0 );
4638 if (!SWIG_IsOK(res1
)) {
4639 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrolledWindow_GetViewStart" "', expected argument " "1"" of type '" "wxScrolledWindow const *""'");
4641 arg1
= reinterpret_cast< wxScrolledWindow
* >(argp1
);
4643 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4644 ((wxScrolledWindow
const *)arg1
)->GetViewStart(arg2
,arg3
);
4645 wxPyEndAllowThreads(__tstate
);
4646 if (PyErr_Occurred()) SWIG_fail
;
4648 resultobj
= SWIG_Py_Void();
4649 if (SWIG_IsTmpObj(res2
)) {
4650 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
4652 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
4653 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
4655 if (SWIG_IsTmpObj(res3
)) {
4656 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
4658 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
4659 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
4667 SWIGINTERN PyObject
*_wrap_ScrolledWindow_SetScale(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4668 PyObject
*resultobj
= 0;
4669 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
4678 PyObject
* obj0
= 0 ;
4679 PyObject
* obj1
= 0 ;
4680 PyObject
* obj2
= 0 ;
4681 char * kwnames
[] = {
4682 (char *) "self",(char *) "xs",(char *) "ys", NULL
4685 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ScrolledWindow_SetScale",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
4686 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxScrolledWindow
, 0 | 0 );
4687 if (!SWIG_IsOK(res1
)) {
4688 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrolledWindow_SetScale" "', expected argument " "1"" of type '" "wxScrolledWindow *""'");
4690 arg1
= reinterpret_cast< wxScrolledWindow
* >(argp1
);
4691 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
4692 if (!SWIG_IsOK(ecode2
)) {
4693 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ScrolledWindow_SetScale" "', expected argument " "2"" of type '" "double""'");
4695 arg2
= static_cast< double >(val2
);
4696 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
4697 if (!SWIG_IsOK(ecode3
)) {
4698 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ScrolledWindow_SetScale" "', expected argument " "3"" of type '" "double""'");
4700 arg3
= static_cast< double >(val3
);
4702 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4703 (arg1
)->SetScale(arg2
,arg3
);
4704 wxPyEndAllowThreads(__tstate
);
4705 if (PyErr_Occurred()) SWIG_fail
;
4707 resultobj
= SWIG_Py_Void();
4714 SWIGINTERN PyObject
*_wrap_ScrolledWindow_GetScaleX(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4715 PyObject
*resultobj
= 0;
4716 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
4720 PyObject
*swig_obj
[1] ;
4722 if (!args
) SWIG_fail
;
4724 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxScrolledWindow
, 0 | 0 );
4725 if (!SWIG_IsOK(res1
)) {
4726 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrolledWindow_GetScaleX" "', expected argument " "1"" of type '" "wxScrolledWindow const *""'");
4728 arg1
= reinterpret_cast< wxScrolledWindow
* >(argp1
);
4730 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4731 result
= (double)((wxScrolledWindow
const *)arg1
)->GetScaleX();
4732 wxPyEndAllowThreads(__tstate
);
4733 if (PyErr_Occurred()) SWIG_fail
;
4735 resultobj
= SWIG_From_double(static_cast< double >(result
));
4742 SWIGINTERN PyObject
*_wrap_ScrolledWindow_GetScaleY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4743 PyObject
*resultobj
= 0;
4744 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
4748 PyObject
*swig_obj
[1] ;
4750 if (!args
) SWIG_fail
;
4752 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxScrolledWindow
, 0 | 0 );
4753 if (!SWIG_IsOK(res1
)) {
4754 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrolledWindow_GetScaleY" "', expected argument " "1"" of type '" "wxScrolledWindow const *""'");
4756 arg1
= reinterpret_cast< wxScrolledWindow
* >(argp1
);
4758 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4759 result
= (double)((wxScrolledWindow
const *)arg1
)->GetScaleY();
4760 wxPyEndAllowThreads(__tstate
);
4761 if (PyErr_Occurred()) SWIG_fail
;
4763 resultobj
= SWIG_From_double(static_cast< double >(result
));
4770 SWIGINTERN PyObject
*_wrap_ScrolledWindow_CalcScrolledPosition__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
4771 PyObject
*resultobj
= 0;
4772 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
4779 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
4780 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxScrolledWindow
, 0 | 0 );
4781 if (!SWIG_IsOK(res1
)) {
4782 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrolledWindow_CalcScrolledPosition" "', expected argument " "1"" of type '" "wxScrolledWindow const *""'");
4784 arg1
= reinterpret_cast< wxScrolledWindow
* >(argp1
);
4787 if ( ! wxPoint_helper(swig_obj
[1], &arg2
)) SWIG_fail
;
4790 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4791 result
= ((wxScrolledWindow
const *)arg1
)->CalcScrolledPosition((wxPoint
const &)*arg2
);
4792 wxPyEndAllowThreads(__tstate
);
4793 if (PyErr_Occurred()) SWIG_fail
;
4795 resultobj
= SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint
& >(result
))), SWIGTYPE_p_wxPoint
, SWIG_POINTER_OWN
| 0 );
4802 SWIGINTERN PyObject
*_wrap_ScrolledWindow_CalcScrolledPosition__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
4803 PyObject
*resultobj
= 0;
4804 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
4807 int *arg4
= (int *) 0 ;
4808 int *arg5
= (int *) 0 ;
4816 int res4
= SWIG_TMPOBJ
;
4818 int res5
= SWIG_TMPOBJ
;
4822 if ((nobjs
< 3) || (nobjs
> 3)) SWIG_fail
;
4823 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxScrolledWindow
, 0 | 0 );
4824 if (!SWIG_IsOK(res1
)) {
4825 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrolledWindow_CalcScrolledPosition" "', expected argument " "1"" of type '" "wxScrolledWindow const *""'");
4827 arg1
= reinterpret_cast< wxScrolledWindow
* >(argp1
);
4828 ecode2
= SWIG_AsVal_int(swig_obj
[1], &val2
);
4829 if (!SWIG_IsOK(ecode2
)) {
4830 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ScrolledWindow_CalcScrolledPosition" "', expected argument " "2"" of type '" "int""'");
4832 arg2
= static_cast< int >(val2
);
4833 ecode3
= SWIG_AsVal_int(swig_obj
[2], &val3
);
4834 if (!SWIG_IsOK(ecode3
)) {
4835 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ScrolledWindow_CalcScrolledPosition" "', expected argument " "3"" of type '" "int""'");
4837 arg3
= static_cast< int >(val3
);
4839 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4840 ((wxScrolledWindow
const *)arg1
)->CalcScrolledPosition(arg2
,arg3
,arg4
,arg5
);
4841 wxPyEndAllowThreads(__tstate
);
4842 if (PyErr_Occurred()) SWIG_fail
;
4844 resultobj
= SWIG_Py_Void();
4845 if (SWIG_IsTmpObj(res4
)) {
4846 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg4
)));
4848 int new_flags
= SWIG_IsNewObj(res4
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
4849 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_int
, new_flags
));
4851 if (SWIG_IsTmpObj(res5
)) {
4852 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg5
)));
4854 int new_flags
= SWIG_IsNewObj(res5
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
4855 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg5
), SWIGTYPE_p_int
, new_flags
));
4863 SWIGINTERN PyObject
*_wrap_ScrolledWindow_CalcScrolledPosition(PyObject
*self
, PyObject
*args
) {
4867 if (!(argc
= SWIG_Python_UnpackTuple(args
,"ScrolledWindow_CalcScrolledPosition",0,3,argv
))) SWIG_fail
;
4870 return _wrap_ScrolledWindow_CalcScrolledPosition__SWIG_0(self
, argc
, argv
);
4873 return _wrap_ScrolledWindow_CalcScrolledPosition__SWIG_1(self
, argc
, argv
);
4877 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'ScrolledWindow_CalcScrolledPosition'");
4882 SWIGINTERN PyObject
*_wrap_ScrolledWindow_CalcUnscrolledPosition__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
4883 PyObject
*resultobj
= 0;
4884 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
4891 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
4892 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxScrolledWindow
, 0 | 0 );
4893 if (!SWIG_IsOK(res1
)) {
4894 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrolledWindow_CalcUnscrolledPosition" "', expected argument " "1"" of type '" "wxScrolledWindow const *""'");
4896 arg1
= reinterpret_cast< wxScrolledWindow
* >(argp1
);
4899 if ( ! wxPoint_helper(swig_obj
[1], &arg2
)) SWIG_fail
;
4902 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4903 result
= ((wxScrolledWindow
const *)arg1
)->CalcUnscrolledPosition((wxPoint
const &)*arg2
);
4904 wxPyEndAllowThreads(__tstate
);
4905 if (PyErr_Occurred()) SWIG_fail
;
4907 resultobj
= SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint
& >(result
))), SWIGTYPE_p_wxPoint
, SWIG_POINTER_OWN
| 0 );
4914 SWIGINTERN PyObject
*_wrap_ScrolledWindow_CalcUnscrolledPosition__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
4915 PyObject
*resultobj
= 0;
4916 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
4919 int *arg4
= (int *) 0 ;
4920 int *arg5
= (int *) 0 ;
4928 int res4
= SWIG_TMPOBJ
;
4930 int res5
= SWIG_TMPOBJ
;
4934 if ((nobjs
< 3) || (nobjs
> 3)) SWIG_fail
;
4935 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxScrolledWindow
, 0 | 0 );
4936 if (!SWIG_IsOK(res1
)) {
4937 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrolledWindow_CalcUnscrolledPosition" "', expected argument " "1"" of type '" "wxScrolledWindow const *""'");
4939 arg1
= reinterpret_cast< wxScrolledWindow
* >(argp1
);
4940 ecode2
= SWIG_AsVal_int(swig_obj
[1], &val2
);
4941 if (!SWIG_IsOK(ecode2
)) {
4942 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ScrolledWindow_CalcUnscrolledPosition" "', expected argument " "2"" of type '" "int""'");
4944 arg2
= static_cast< int >(val2
);
4945 ecode3
= SWIG_AsVal_int(swig_obj
[2], &val3
);
4946 if (!SWIG_IsOK(ecode3
)) {
4947 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ScrolledWindow_CalcUnscrolledPosition" "', expected argument " "3"" of type '" "int""'");
4949 arg3
= static_cast< int >(val3
);
4951 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4952 ((wxScrolledWindow
const *)arg1
)->CalcUnscrolledPosition(arg2
,arg3
,arg4
,arg5
);
4953 wxPyEndAllowThreads(__tstate
);
4954 if (PyErr_Occurred()) SWIG_fail
;
4956 resultobj
= SWIG_Py_Void();
4957 if (SWIG_IsTmpObj(res4
)) {
4958 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg4
)));
4960 int new_flags
= SWIG_IsNewObj(res4
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
4961 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_int
, new_flags
));
4963 if (SWIG_IsTmpObj(res5
)) {
4964 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg5
)));
4966 int new_flags
= SWIG_IsNewObj(res5
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
4967 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg5
), SWIGTYPE_p_int
, new_flags
));
4975 SWIGINTERN PyObject
*_wrap_ScrolledWindow_CalcUnscrolledPosition(PyObject
*self
, PyObject
*args
) {
4979 if (!(argc
= SWIG_Python_UnpackTuple(args
,"ScrolledWindow_CalcUnscrolledPosition",0,3,argv
))) SWIG_fail
;
4982 return _wrap_ScrolledWindow_CalcUnscrolledPosition__SWIG_0(self
, argc
, argv
);
4985 return _wrap_ScrolledWindow_CalcUnscrolledPosition__SWIG_1(self
, argc
, argv
);
4989 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'ScrolledWindow_CalcUnscrolledPosition'");
4994 SWIGINTERN PyObject
*_wrap_ScrolledWindow_AdjustScrollbars(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4995 PyObject
*resultobj
= 0;
4996 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
4999 PyObject
*swig_obj
[1] ;
5001 if (!args
) SWIG_fail
;
5003 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxScrolledWindow
, 0 | 0 );
5004 if (!SWIG_IsOK(res1
)) {
5005 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrolledWindow_AdjustScrollbars" "', expected argument " "1"" of type '" "wxScrolledWindow *""'");
5007 arg1
= reinterpret_cast< wxScrolledWindow
* >(argp1
);
5009 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5010 (arg1
)->AdjustScrollbars();
5011 wxPyEndAllowThreads(__tstate
);
5012 if (PyErr_Occurred()) SWIG_fail
;
5014 resultobj
= SWIG_Py_Void();
5021 SWIGINTERN PyObject
*_wrap_ScrolledWindow_CalcScrollInc(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5022 PyObject
*resultobj
= 0;
5023 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
5024 wxScrollWinEvent
*arg2
= 0 ;
5030 PyObject
* obj0
= 0 ;
5031 PyObject
* obj1
= 0 ;
5032 char * kwnames
[] = {
5033 (char *) "self",(char *) "event", NULL
5036 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ScrolledWindow_CalcScrollInc",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5037 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxScrolledWindow
, 0 | 0 );
5038 if (!SWIG_IsOK(res1
)) {
5039 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrolledWindow_CalcScrollInc" "', expected argument " "1"" of type '" "wxScrolledWindow *""'");
5041 arg1
= reinterpret_cast< wxScrolledWindow
* >(argp1
);
5042 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxScrollWinEvent
, 0 );
5043 if (!SWIG_IsOK(res2
)) {
5044 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ScrolledWindow_CalcScrollInc" "', expected argument " "2"" of type '" "wxScrollWinEvent &""'");
5047 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ScrolledWindow_CalcScrollInc" "', expected argument " "2"" of type '" "wxScrollWinEvent &""'");
5049 arg2
= reinterpret_cast< wxScrollWinEvent
* >(argp2
);
5051 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5052 result
= (int)(arg1
)->CalcScrollInc(*arg2
);
5053 wxPyEndAllowThreads(__tstate
);
5054 if (PyErr_Occurred()) SWIG_fail
;
5056 resultobj
= SWIG_From_int(static_cast< int >(result
));
5063 SWIGINTERN PyObject
*_wrap_ScrolledWindow_SetTargetWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5064 PyObject
*resultobj
= 0;
5065 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
5066 wxWindow
*arg2
= (wxWindow
*) 0 ;
5071 PyObject
* obj0
= 0 ;
5072 PyObject
* obj1
= 0 ;
5073 char * kwnames
[] = {
5074 (char *) "self",(char *) "target", NULL
5077 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ScrolledWindow_SetTargetWindow",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5078 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxScrolledWindow
, 0 | 0 );
5079 if (!SWIG_IsOK(res1
)) {
5080 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrolledWindow_SetTargetWindow" "', expected argument " "1"" of type '" "wxScrolledWindow *""'");
5082 arg1
= reinterpret_cast< wxScrolledWindow
* >(argp1
);
5083 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
5084 if (!SWIG_IsOK(res2
)) {
5085 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ScrolledWindow_SetTargetWindow" "', expected argument " "2"" of type '" "wxWindow *""'");
5087 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
5089 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5090 (arg1
)->SetTargetWindow(arg2
);
5091 wxPyEndAllowThreads(__tstate
);
5092 if (PyErr_Occurred()) SWIG_fail
;
5094 resultobj
= SWIG_Py_Void();
5101 SWIGINTERN PyObject
*_wrap_ScrolledWindow_GetTargetWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5102 PyObject
*resultobj
= 0;
5103 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
5104 wxWindow
*result
= 0 ;
5107 PyObject
*swig_obj
[1] ;
5109 if (!args
) SWIG_fail
;
5111 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxScrolledWindow
, 0 | 0 );
5112 if (!SWIG_IsOK(res1
)) {
5113 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrolledWindow_GetTargetWindow" "', expected argument " "1"" of type '" "wxScrolledWindow const *""'");
5115 arg1
= reinterpret_cast< wxScrolledWindow
* >(argp1
);
5117 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5118 result
= (wxWindow
*)((wxScrolledWindow
const *)arg1
)->GetTargetWindow();
5119 wxPyEndAllowThreads(__tstate
);
5120 if (PyErr_Occurred()) SWIG_fail
;
5123 resultobj
= wxPyMake_wxObject(result
, 0);
5131 SWIGINTERN PyObject
*_wrap_ScrolledWindow_DoPrepareDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5132 PyObject
*resultobj
= 0;
5133 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
5139 PyObject
* obj0
= 0 ;
5140 PyObject
* obj1
= 0 ;
5141 char * kwnames
[] = {
5142 (char *) "self",(char *) "dc", NULL
5145 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ScrolledWindow_DoPrepareDC",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5146 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxScrolledWindow
, 0 | 0 );
5147 if (!SWIG_IsOK(res1
)) {
5148 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrolledWindow_DoPrepareDC" "', expected argument " "1"" of type '" "wxScrolledWindow *""'");
5150 arg1
= reinterpret_cast< wxScrolledWindow
* >(argp1
);
5151 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxDC
, 0 );
5152 if (!SWIG_IsOK(res2
)) {
5153 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ScrolledWindow_DoPrepareDC" "', expected argument " "2"" of type '" "wxDC &""'");
5156 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ScrolledWindow_DoPrepareDC" "', expected argument " "2"" of type '" "wxDC &""'");
5158 arg2
= reinterpret_cast< wxDC
* >(argp2
);
5160 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5161 (arg1
)->DoPrepareDC(*arg2
);
5162 wxPyEndAllowThreads(__tstate
);
5163 if (PyErr_Occurred()) SWIG_fail
;
5165 resultobj
= SWIG_Py_Void();
5172 SWIGINTERN PyObject
*_wrap_ScrolledWindow_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5173 PyObject
*resultobj
= 0;
5174 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
5175 SwigValueWrapper
<wxVisualAttributes
> result
;
5178 PyObject
* obj0
= 0 ;
5179 char * kwnames
[] = {
5180 (char *) "variant", NULL
5183 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:ScrolledWindow_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
5185 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
5186 if (!SWIG_IsOK(ecode1
)) {
5187 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "ScrolledWindow_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
5189 arg1
= static_cast< wxWindowVariant
>(val1
);
5192 if (!wxPyCheckForApp()) SWIG_fail
;
5193 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5194 result
= wxScrolledWindow::GetClassDefaultAttributes(arg1
);
5195 wxPyEndAllowThreads(__tstate
);
5196 if (PyErr_Occurred()) SWIG_fail
;
5198 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
5205 SWIGINTERN PyObject
*ScrolledWindow_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5207 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
5208 SWIG_TypeNewClientData(SWIGTYPE_p_wxScrolledWindow
, SWIG_NewClientData(obj
));
5209 return SWIG_Py_Void();
5212 SWIGINTERN PyObject
*ScrolledWindow_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5213 return SWIG_Python_InitShadowInstance(args
);
5216 SWIGINTERN
int FrameNameStr_set(PyObject
*) {
5217 SWIG_Error(SWIG_AttributeError
,"Variable FrameNameStr is read-only.");
5222 SWIGINTERN PyObject
*FrameNameStr_get(void) {
5223 PyObject
*pyobj
= 0;
5227 pyobj
= PyUnicode_FromWideChar((&wxPyFrameNameStr
)->c_str(), (&wxPyFrameNameStr
)->Len());
5229 pyobj
= PyString_FromStringAndSize((&wxPyFrameNameStr
)->c_str(), (&wxPyFrameNameStr
)->Len());
5236 SWIGINTERN
int DialogNameStr_set(PyObject
*) {
5237 SWIG_Error(SWIG_AttributeError
,"Variable DialogNameStr is read-only.");
5242 SWIGINTERN PyObject
*DialogNameStr_get(void) {
5243 PyObject
*pyobj
= 0;
5247 pyobj
= PyUnicode_FromWideChar((&wxPyDialogNameStr
)->c_str(), (&wxPyDialogNameStr
)->Len());
5249 pyobj
= PyString_FromStringAndSize((&wxPyDialogNameStr
)->c_str(), (&wxPyDialogNameStr
)->Len());
5256 SWIGINTERN
int StatusLineNameStr_set(PyObject
*) {
5257 SWIG_Error(SWIG_AttributeError
,"Variable StatusLineNameStr is read-only.");
5262 SWIGINTERN PyObject
*StatusLineNameStr_get(void) {
5263 PyObject
*pyobj
= 0;
5267 pyobj
= PyUnicode_FromWideChar((&wxPyStatusLineNameStr
)->c_str(), (&wxPyStatusLineNameStr
)->Len());
5269 pyobj
= PyString_FromStringAndSize((&wxPyStatusLineNameStr
)->c_str(), (&wxPyStatusLineNameStr
)->Len());
5276 SWIGINTERN
int ToolBarNameStr_set(PyObject
*) {
5277 SWIG_Error(SWIG_AttributeError
,"Variable ToolBarNameStr is read-only.");
5282 SWIGINTERN PyObject
*ToolBarNameStr_get(void) {
5283 PyObject
*pyobj
= 0;
5287 pyobj
= PyUnicode_FromWideChar((&wxPyToolBarNameStr
)->c_str(), (&wxPyToolBarNameStr
)->Len());
5289 pyobj
= PyString_FromStringAndSize((&wxPyToolBarNameStr
)->c_str(), (&wxPyToolBarNameStr
)->Len());
5296 SWIGINTERN PyObject
*_wrap_TopLevelWindow_Maximize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5297 PyObject
*resultobj
= 0;
5298 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
5299 bool arg2
= (bool) true ;
5304 PyObject
* obj0
= 0 ;
5305 PyObject
* obj1
= 0 ;
5306 char * kwnames
[] = {
5307 (char *) "self",(char *) "maximize", NULL
5310 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:TopLevelWindow_Maximize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5311 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTopLevelWindow
, 0 | 0 );
5312 if (!SWIG_IsOK(res1
)) {
5313 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TopLevelWindow_Maximize" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
5315 arg1
= reinterpret_cast< wxTopLevelWindow
* >(argp1
);
5317 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
5318 if (!SWIG_IsOK(ecode2
)) {
5319 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TopLevelWindow_Maximize" "', expected argument " "2"" of type '" "bool""'");
5321 arg2
= static_cast< bool >(val2
);
5324 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5325 (arg1
)->Maximize(arg2
);
5326 wxPyEndAllowThreads(__tstate
);
5327 if (PyErr_Occurred()) SWIG_fail
;
5329 resultobj
= SWIG_Py_Void();
5336 SWIGINTERN PyObject
*_wrap_TopLevelWindow_Restore(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5337 PyObject
*resultobj
= 0;
5338 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
5341 PyObject
*swig_obj
[1] ;
5343 if (!args
) SWIG_fail
;
5345 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTopLevelWindow
, 0 | 0 );
5346 if (!SWIG_IsOK(res1
)) {
5347 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TopLevelWindow_Restore" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
5349 arg1
= reinterpret_cast< wxTopLevelWindow
* >(argp1
);
5351 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5353 wxPyEndAllowThreads(__tstate
);
5354 if (PyErr_Occurred()) SWIG_fail
;
5356 resultobj
= SWIG_Py_Void();
5363 SWIGINTERN PyObject
*_wrap_TopLevelWindow_Iconize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5364 PyObject
*resultobj
= 0;
5365 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
5366 bool arg2
= (bool) true ;
5371 PyObject
* obj0
= 0 ;
5372 PyObject
* obj1
= 0 ;
5373 char * kwnames
[] = {
5374 (char *) "self",(char *) "iconize", NULL
5377 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:TopLevelWindow_Iconize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5378 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTopLevelWindow
, 0 | 0 );
5379 if (!SWIG_IsOK(res1
)) {
5380 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TopLevelWindow_Iconize" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
5382 arg1
= reinterpret_cast< wxTopLevelWindow
* >(argp1
);
5384 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
5385 if (!SWIG_IsOK(ecode2
)) {
5386 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TopLevelWindow_Iconize" "', expected argument " "2"" of type '" "bool""'");
5388 arg2
= static_cast< bool >(val2
);
5391 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5392 (arg1
)->Iconize(arg2
);
5393 wxPyEndAllowThreads(__tstate
);
5394 if (PyErr_Occurred()) SWIG_fail
;
5396 resultobj
= SWIG_Py_Void();
5403 SWIGINTERN PyObject
*_wrap_TopLevelWindow_IsMaximized(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5404 PyObject
*resultobj
= 0;
5405 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
5409 PyObject
*swig_obj
[1] ;
5411 if (!args
) SWIG_fail
;
5413 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTopLevelWindow
, 0 | 0 );
5414 if (!SWIG_IsOK(res1
)) {
5415 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TopLevelWindow_IsMaximized" "', expected argument " "1"" of type '" "wxTopLevelWindow const *""'");
5417 arg1
= reinterpret_cast< wxTopLevelWindow
* >(argp1
);
5419 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5420 result
= (bool)((wxTopLevelWindow
const *)arg1
)->IsMaximized();
5421 wxPyEndAllowThreads(__tstate
);
5422 if (PyErr_Occurred()) SWIG_fail
;
5425 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5433 SWIGINTERN PyObject
*_wrap_TopLevelWindow_IsAlwaysMaximized(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5434 PyObject
*resultobj
= 0;
5435 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
5439 PyObject
*swig_obj
[1] ;
5441 if (!args
) SWIG_fail
;
5443 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTopLevelWindow
, 0 | 0 );
5444 if (!SWIG_IsOK(res1
)) {
5445 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TopLevelWindow_IsAlwaysMaximized" "', expected argument " "1"" of type '" "wxTopLevelWindow const *""'");
5447 arg1
= reinterpret_cast< wxTopLevelWindow
* >(argp1
);
5449 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5450 result
= (bool)((wxTopLevelWindow
const *)arg1
)->IsAlwaysMaximized();
5451 wxPyEndAllowThreads(__tstate
);
5452 if (PyErr_Occurred()) SWIG_fail
;
5455 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5463 SWIGINTERN PyObject
*_wrap_TopLevelWindow_IsIconized(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5464 PyObject
*resultobj
= 0;
5465 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
5469 PyObject
*swig_obj
[1] ;
5471 if (!args
) SWIG_fail
;
5473 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTopLevelWindow
, 0 | 0 );
5474 if (!SWIG_IsOK(res1
)) {
5475 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TopLevelWindow_IsIconized" "', expected argument " "1"" of type '" "wxTopLevelWindow const *""'");
5477 arg1
= reinterpret_cast< wxTopLevelWindow
* >(argp1
);
5479 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5480 result
= (bool)((wxTopLevelWindow
const *)arg1
)->IsIconized();
5481 wxPyEndAllowThreads(__tstate
);
5482 if (PyErr_Occurred()) SWIG_fail
;
5485 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5493 SWIGINTERN PyObject
*_wrap_TopLevelWindow_GetIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5494 PyObject
*resultobj
= 0;
5495 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
5499 PyObject
*swig_obj
[1] ;
5501 if (!args
) SWIG_fail
;
5503 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTopLevelWindow
, 0 | 0 );
5504 if (!SWIG_IsOK(res1
)) {
5505 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TopLevelWindow_GetIcon" "', expected argument " "1"" of type '" "wxTopLevelWindow const *""'");
5507 arg1
= reinterpret_cast< wxTopLevelWindow
* >(argp1
);
5509 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5510 result
= ((wxTopLevelWindow
const *)arg1
)->GetIcon();
5511 wxPyEndAllowThreads(__tstate
);
5512 if (PyErr_Occurred()) SWIG_fail
;
5514 resultobj
= SWIG_NewPointerObj((new wxIcon(static_cast< const wxIcon
& >(result
))), SWIGTYPE_p_wxIcon
, SWIG_POINTER_OWN
| 0 );
5521 SWIGINTERN PyObject
*_wrap_TopLevelWindow_SetIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5522 PyObject
*resultobj
= 0;
5523 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
5529 PyObject
* obj0
= 0 ;
5530 PyObject
* obj1
= 0 ;
5531 char * kwnames
[] = {
5532 (char *) "self",(char *) "icon", NULL
5535 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TopLevelWindow_SetIcon",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5536 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTopLevelWindow
, 0 | 0 );
5537 if (!SWIG_IsOK(res1
)) {
5538 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TopLevelWindow_SetIcon" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
5540 arg1
= reinterpret_cast< wxTopLevelWindow
* >(argp1
);
5541 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxIcon
, 0 | 0);
5542 if (!SWIG_IsOK(res2
)) {
5543 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TopLevelWindow_SetIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
5546 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TopLevelWindow_SetIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
5548 arg2
= reinterpret_cast< wxIcon
* >(argp2
);
5550 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5551 (arg1
)->SetIcon((wxIcon
const &)*arg2
);
5552 wxPyEndAllowThreads(__tstate
);
5553 if (PyErr_Occurred()) SWIG_fail
;
5555 resultobj
= SWIG_Py_Void();
5562 SWIGINTERN PyObject
*_wrap_TopLevelWindow_SetIcons(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5563 PyObject
*resultobj
= 0;
5564 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
5565 wxIconBundle
*arg2
= 0 ;
5570 PyObject
* obj0
= 0 ;
5571 PyObject
* obj1
= 0 ;
5572 char * kwnames
[] = {
5573 (char *) "self",(char *) "icons", NULL
5576 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TopLevelWindow_SetIcons",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5577 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTopLevelWindow
, 0 | 0 );
5578 if (!SWIG_IsOK(res1
)) {
5579 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TopLevelWindow_SetIcons" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
5581 arg1
= reinterpret_cast< wxTopLevelWindow
* >(argp1
);
5582 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxIconBundle
, 0 | 0);
5583 if (!SWIG_IsOK(res2
)) {
5584 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TopLevelWindow_SetIcons" "', expected argument " "2"" of type '" "wxIconBundle const &""'");
5587 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TopLevelWindow_SetIcons" "', expected argument " "2"" of type '" "wxIconBundle const &""'");
5589 arg2
= reinterpret_cast< wxIconBundle
* >(argp2
);
5591 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5592 (arg1
)->SetIcons((wxIconBundle
const &)*arg2
);
5593 wxPyEndAllowThreads(__tstate
);
5594 if (PyErr_Occurred()) SWIG_fail
;
5596 resultobj
= SWIG_Py_Void();
5603 SWIGINTERN PyObject
*_wrap_TopLevelWindow_ShowFullScreen(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5604 PyObject
*resultobj
= 0;
5605 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
5607 long arg3
= (long) wxFULLSCREEN_ALL
;
5615 PyObject
* obj0
= 0 ;
5616 PyObject
* obj1
= 0 ;
5617 PyObject
* obj2
= 0 ;
5618 char * kwnames
[] = {
5619 (char *) "self",(char *) "show",(char *) "style", NULL
5622 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TopLevelWindow_ShowFullScreen",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
5623 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTopLevelWindow
, 0 | 0 );
5624 if (!SWIG_IsOK(res1
)) {
5625 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TopLevelWindow_ShowFullScreen" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
5627 arg1
= reinterpret_cast< wxTopLevelWindow
* >(argp1
);
5628 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
5629 if (!SWIG_IsOK(ecode2
)) {
5630 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TopLevelWindow_ShowFullScreen" "', expected argument " "2"" of type '" "bool""'");
5632 arg2
= static_cast< bool >(val2
);
5634 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
5635 if (!SWIG_IsOK(ecode3
)) {
5636 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TopLevelWindow_ShowFullScreen" "', expected argument " "3"" of type '" "long""'");
5638 arg3
= static_cast< long >(val3
);
5641 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5642 result
= (bool)(arg1
)->ShowFullScreen(arg2
,arg3
);
5643 wxPyEndAllowThreads(__tstate
);
5644 if (PyErr_Occurred()) SWIG_fail
;
5647 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5655 SWIGINTERN PyObject
*_wrap_TopLevelWindow_IsFullScreen(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5656 PyObject
*resultobj
= 0;
5657 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
5661 PyObject
*swig_obj
[1] ;
5663 if (!args
) SWIG_fail
;
5665 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTopLevelWindow
, 0 | 0 );
5666 if (!SWIG_IsOK(res1
)) {
5667 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TopLevelWindow_IsFullScreen" "', expected argument " "1"" of type '" "wxTopLevelWindow const *""'");
5669 arg1
= reinterpret_cast< wxTopLevelWindow
* >(argp1
);
5671 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5672 result
= (bool)((wxTopLevelWindow
const *)arg1
)->IsFullScreen();
5673 wxPyEndAllowThreads(__tstate
);
5674 if (PyErr_Occurred()) SWIG_fail
;
5677 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5685 SWIGINTERN PyObject
*_wrap_TopLevelWindow_SetTitle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5686 PyObject
*resultobj
= 0;
5687 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
5688 wxString
*arg2
= 0 ;
5691 bool temp2
= false ;
5692 PyObject
* obj0
= 0 ;
5693 PyObject
* obj1
= 0 ;
5694 char * kwnames
[] = {
5695 (char *) "self",(char *) "title", NULL
5698 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TopLevelWindow_SetTitle",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5699 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTopLevelWindow
, 0 | 0 );
5700 if (!SWIG_IsOK(res1
)) {
5701 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TopLevelWindow_SetTitle" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
5703 arg1
= reinterpret_cast< wxTopLevelWindow
* >(argp1
);
5705 arg2
= wxString_in_helper(obj1
);
5706 if (arg2
== NULL
) SWIG_fail
;
5710 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5711 (arg1
)->SetTitle((wxString
const &)*arg2
);
5712 wxPyEndAllowThreads(__tstate
);
5713 if (PyErr_Occurred()) SWIG_fail
;
5715 resultobj
= SWIG_Py_Void();
5730 SWIGINTERN PyObject
*_wrap_TopLevelWindow_GetTitle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5731 PyObject
*resultobj
= 0;
5732 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
5736 PyObject
*swig_obj
[1] ;
5738 if (!args
) SWIG_fail
;
5740 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTopLevelWindow
, 0 | 0 );
5741 if (!SWIG_IsOK(res1
)) {
5742 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TopLevelWindow_GetTitle" "', expected argument " "1"" of type '" "wxTopLevelWindow const *""'");
5744 arg1
= reinterpret_cast< wxTopLevelWindow
* >(argp1
);
5746 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5747 result
= ((wxTopLevelWindow
const *)arg1
)->GetTitle();
5748 wxPyEndAllowThreads(__tstate
);
5749 if (PyErr_Occurred()) SWIG_fail
;
5753 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
5755 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
5764 SWIGINTERN PyObject
*_wrap_TopLevelWindow_EnableCloseButton(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5765 PyObject
*resultobj
= 0;
5766 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
5773 PyObject
* obj0
= 0 ;
5774 PyObject
* obj1
= 0 ;
5775 char * kwnames
[] = {
5776 (char *) "self",(char *) "enable", NULL
5779 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TopLevelWindow_EnableCloseButton",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5780 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTopLevelWindow
, 0 | 0 );
5781 if (!SWIG_IsOK(res1
)) {
5782 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TopLevelWindow_EnableCloseButton" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
5784 arg1
= reinterpret_cast< wxTopLevelWindow
* >(argp1
);
5785 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
5786 if (!SWIG_IsOK(ecode2
)) {
5787 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TopLevelWindow_EnableCloseButton" "', expected argument " "2"" of type '" "bool""'");
5789 arg2
= static_cast< bool >(val2
);
5791 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5792 result
= (bool)(arg1
)->EnableCloseButton(arg2
);
5793 wxPyEndAllowThreads(__tstate
);
5794 if (PyErr_Occurred()) SWIG_fail
;
5797 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5805 SWIGINTERN PyObject
*_wrap_TopLevelWindow_SetShape(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5806 PyObject
*resultobj
= 0;
5807 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
5808 wxRegion
*arg2
= 0 ;
5814 PyObject
* obj0
= 0 ;
5815 PyObject
* obj1
= 0 ;
5816 char * kwnames
[] = {
5817 (char *) "self",(char *) "region", NULL
5820 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TopLevelWindow_SetShape",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5821 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTopLevelWindow
, 0 | 0 );
5822 if (!SWIG_IsOK(res1
)) {
5823 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TopLevelWindow_SetShape" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
5825 arg1
= reinterpret_cast< wxTopLevelWindow
* >(argp1
);
5826 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxRegion
, 0 | 0);
5827 if (!SWIG_IsOK(res2
)) {
5828 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TopLevelWindow_SetShape" "', expected argument " "2"" of type '" "wxRegion const &""'");
5831 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TopLevelWindow_SetShape" "', expected argument " "2"" of type '" "wxRegion const &""'");
5833 arg2
= reinterpret_cast< wxRegion
* >(argp2
);
5835 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5836 result
= (bool)(arg1
)->SetShape((wxRegion
const &)*arg2
);
5837 wxPyEndAllowThreads(__tstate
);
5838 if (PyErr_Occurred()) SWIG_fail
;
5841 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5849 SWIGINTERN PyObject
*_wrap_TopLevelWindow_RequestUserAttention(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5850 PyObject
*resultobj
= 0;
5851 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
5852 int arg2
= (int) wxUSER_ATTENTION_INFO
;
5857 PyObject
* obj0
= 0 ;
5858 PyObject
* obj1
= 0 ;
5859 char * kwnames
[] = {
5860 (char *) "self",(char *) "flags", NULL
5863 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:TopLevelWindow_RequestUserAttention",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5864 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTopLevelWindow
, 0 | 0 );
5865 if (!SWIG_IsOK(res1
)) {
5866 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TopLevelWindow_RequestUserAttention" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
5868 arg1
= reinterpret_cast< wxTopLevelWindow
* >(argp1
);
5870 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
5871 if (!SWIG_IsOK(ecode2
)) {
5872 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TopLevelWindow_RequestUserAttention" "', expected argument " "2"" of type '" "int""'");
5874 arg2
= static_cast< int >(val2
);
5877 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5878 (arg1
)->RequestUserAttention(arg2
);
5879 wxPyEndAllowThreads(__tstate
);
5880 if (PyErr_Occurred()) SWIG_fail
;
5882 resultobj
= SWIG_Py_Void();
5889 SWIGINTERN PyObject
*_wrap_TopLevelWindow_IsActive(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5890 PyObject
*resultobj
= 0;
5891 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
5895 PyObject
*swig_obj
[1] ;
5897 if (!args
) SWIG_fail
;
5899 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTopLevelWindow
, 0 | 0 );
5900 if (!SWIG_IsOK(res1
)) {
5901 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TopLevelWindow_IsActive" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
5903 arg1
= reinterpret_cast< wxTopLevelWindow
* >(argp1
);
5905 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5906 result
= (bool)(arg1
)->IsActive();
5907 wxPyEndAllowThreads(__tstate
);
5908 if (PyErr_Occurred()) SWIG_fail
;
5911 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5919 SWIGINTERN PyObject
*_wrap_TopLevelWindow_MacSetMetalAppearance(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5920 PyObject
*resultobj
= 0;
5921 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
5927 PyObject
* obj0
= 0 ;
5928 PyObject
* obj1
= 0 ;
5929 char * kwnames
[] = {
5930 (char *) "self",(char *) "on", NULL
5933 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TopLevelWindow_MacSetMetalAppearance",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5934 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTopLevelWindow
, 0 | 0 );
5935 if (!SWIG_IsOK(res1
)) {
5936 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TopLevelWindow_MacSetMetalAppearance" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
5938 arg1
= reinterpret_cast< wxTopLevelWindow
* >(argp1
);
5939 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
5940 if (!SWIG_IsOK(ecode2
)) {
5941 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TopLevelWindow_MacSetMetalAppearance" "', expected argument " "2"" of type '" "bool""'");
5943 arg2
= static_cast< bool >(val2
);
5945 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5946 wxTopLevelWindow_MacSetMetalAppearance(arg1
,arg2
);
5947 wxPyEndAllowThreads(__tstate
);
5948 if (PyErr_Occurred()) SWIG_fail
;
5950 resultobj
= SWIG_Py_Void();
5957 SWIGINTERN PyObject
*_wrap_TopLevelWindow_MacGetMetalAppearance(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5958 PyObject
*resultobj
= 0;
5959 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
5963 PyObject
*swig_obj
[1] ;
5965 if (!args
) SWIG_fail
;
5967 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTopLevelWindow
, 0 | 0 );
5968 if (!SWIG_IsOK(res1
)) {
5969 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TopLevelWindow_MacGetMetalAppearance" "', expected argument " "1"" of type '" "wxTopLevelWindow const *""'");
5971 arg1
= reinterpret_cast< wxTopLevelWindow
* >(argp1
);
5973 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5974 result
= (bool)wxTopLevelWindow_MacGetMetalAppearance((wxTopLevelWindow
const *)arg1
);
5975 wxPyEndAllowThreads(__tstate
);
5976 if (PyErr_Occurred()) SWIG_fail
;
5979 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5987 SWIGINTERN PyObject
*_wrap_TopLevelWindow_CenterOnScreen(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5988 PyObject
*resultobj
= 0;
5989 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
5990 int arg2
= (int) wxBOTH
;
5995 PyObject
* obj0
= 0 ;
5996 PyObject
* obj1
= 0 ;
5997 char * kwnames
[] = {
5998 (char *) "self",(char *) "dir", NULL
6001 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:TopLevelWindow_CenterOnScreen",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6002 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTopLevelWindow
, 0 | 0 );
6003 if (!SWIG_IsOK(res1
)) {
6004 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TopLevelWindow_CenterOnScreen" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
6006 arg1
= reinterpret_cast< wxTopLevelWindow
* >(argp1
);
6008 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
6009 if (!SWIG_IsOK(ecode2
)) {
6010 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TopLevelWindow_CenterOnScreen" "', expected argument " "2"" of type '" "int""'");
6012 arg2
= static_cast< int >(val2
);
6015 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6016 (arg1
)->CenterOnScreen(arg2
);
6017 wxPyEndAllowThreads(__tstate
);
6018 if (PyErr_Occurred()) SWIG_fail
;
6020 resultobj
= SWIG_Py_Void();
6027 SWIGINTERN PyObject
*_wrap_TopLevelWindow_GetDefaultItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6028 PyObject
*resultobj
= 0;
6029 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
6030 wxWindow
*result
= 0 ;
6033 PyObject
*swig_obj
[1] ;
6035 if (!args
) SWIG_fail
;
6037 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTopLevelWindow
, 0 | 0 );
6038 if (!SWIG_IsOK(res1
)) {
6039 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TopLevelWindow_GetDefaultItem" "', expected argument " "1"" of type '" "wxTopLevelWindow const *""'");
6041 arg1
= reinterpret_cast< wxTopLevelWindow
* >(argp1
);
6043 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6044 result
= (wxWindow
*)((wxTopLevelWindow
const *)arg1
)->GetDefaultItem();
6045 wxPyEndAllowThreads(__tstate
);
6046 if (PyErr_Occurred()) SWIG_fail
;
6049 resultobj
= wxPyMake_wxObject(result
, 0);
6057 SWIGINTERN PyObject
*_wrap_TopLevelWindow_SetDefaultItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6058 PyObject
*resultobj
= 0;
6059 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
6060 wxWindow
*arg2
= (wxWindow
*) 0 ;
6061 wxWindow
*result
= 0 ;
6066 PyObject
* obj0
= 0 ;
6067 PyObject
* obj1
= 0 ;
6068 char * kwnames
[] = {
6069 (char *) "self",(char *) "child", NULL
6072 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TopLevelWindow_SetDefaultItem",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6073 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTopLevelWindow
, 0 | 0 );
6074 if (!SWIG_IsOK(res1
)) {
6075 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TopLevelWindow_SetDefaultItem" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
6077 arg1
= reinterpret_cast< wxTopLevelWindow
* >(argp1
);
6078 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
6079 if (!SWIG_IsOK(res2
)) {
6080 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TopLevelWindow_SetDefaultItem" "', expected argument " "2"" of type '" "wxWindow *""'");
6082 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
6084 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6085 result
= (wxWindow
*)(arg1
)->SetDefaultItem(arg2
);
6086 wxPyEndAllowThreads(__tstate
);
6087 if (PyErr_Occurred()) SWIG_fail
;
6090 resultobj
= wxPyMake_wxObject(result
, 0);
6098 SWIGINTERN PyObject
*_wrap_TopLevelWindow_SetTmpDefaultItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6099 PyObject
*resultobj
= 0;
6100 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
6101 wxWindow
*arg2
= (wxWindow
*) 0 ;
6106 PyObject
* obj0
= 0 ;
6107 PyObject
* obj1
= 0 ;
6108 char * kwnames
[] = {
6109 (char *) "self",(char *) "win", NULL
6112 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TopLevelWindow_SetTmpDefaultItem",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6113 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTopLevelWindow
, 0 | 0 );
6114 if (!SWIG_IsOK(res1
)) {
6115 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TopLevelWindow_SetTmpDefaultItem" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
6117 arg1
= reinterpret_cast< wxTopLevelWindow
* >(argp1
);
6118 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
6119 if (!SWIG_IsOK(res2
)) {
6120 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TopLevelWindow_SetTmpDefaultItem" "', expected argument " "2"" of type '" "wxWindow *""'");
6122 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
6124 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6125 (arg1
)->SetTmpDefaultItem(arg2
);
6126 wxPyEndAllowThreads(__tstate
);
6127 if (PyErr_Occurred()) SWIG_fail
;
6129 resultobj
= SWIG_Py_Void();
6136 SWIGINTERN PyObject
*_wrap_TopLevelWindow_GetTmpDefaultItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6137 PyObject
*resultobj
= 0;
6138 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
6139 wxWindow
*result
= 0 ;
6142 PyObject
*swig_obj
[1] ;
6144 if (!args
) SWIG_fail
;
6146 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTopLevelWindow
, 0 | 0 );
6147 if (!SWIG_IsOK(res1
)) {
6148 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TopLevelWindow_GetTmpDefaultItem" "', expected argument " "1"" of type '" "wxTopLevelWindow const *""'");
6150 arg1
= reinterpret_cast< wxTopLevelWindow
* >(argp1
);
6152 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6153 result
= (wxWindow
*)((wxTopLevelWindow
const *)arg1
)->GetTmpDefaultItem();
6154 wxPyEndAllowThreads(__tstate
);
6155 if (PyErr_Occurred()) SWIG_fail
;
6158 resultobj
= wxPyMake_wxObject(result
, 0);
6166 SWIGINTERN PyObject
*TopLevelWindow_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6168 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
6169 SWIG_TypeNewClientData(SWIGTYPE_p_wxTopLevelWindow
, SWIG_NewClientData(obj
));
6170 return SWIG_Py_Void();
6173 SWIGINTERN PyObject
*_wrap_new_Frame(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6174 PyObject
*resultobj
= 0;
6175 wxWindow
*arg1
= (wxWindow
*) 0 ;
6176 int arg2
= (int) (int)-1 ;
6177 wxString
const &arg3_defvalue
= wxPyEmptyString
;
6178 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
6179 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
6180 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
6181 wxSize
const &arg5_defvalue
= wxDefaultSize
;
6182 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
6183 long arg6
= (long) wxDEFAULT_FRAME_STYLE
;
6184 wxString
const &arg7_defvalue
= wxPyFrameNameStr
;
6185 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
6186 wxFrame
*result
= 0 ;
6191 bool temp3
= false ;
6196 bool temp7
= false ;
6197 PyObject
* obj0
= 0 ;
6198 PyObject
* obj1
= 0 ;
6199 PyObject
* obj2
= 0 ;
6200 PyObject
* obj3
= 0 ;
6201 PyObject
* obj4
= 0 ;
6202 PyObject
* obj5
= 0 ;
6203 PyObject
* obj6
= 0 ;
6204 char * kwnames
[] = {
6205 (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
6208 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_Frame",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
6209 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
6210 if (!SWIG_IsOK(res1
)) {
6211 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_Frame" "', expected argument " "1"" of type '" "wxWindow *""'");
6213 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
6215 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
6216 if (!SWIG_IsOK(ecode2
)) {
6217 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Frame" "', expected argument " "2"" of type '" "int""'");
6219 arg2
= static_cast< int >(val2
);
6223 arg3
= wxString_in_helper(obj2
);
6224 if (arg3
== NULL
) SWIG_fail
;
6231 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
6237 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
6241 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
6242 if (!SWIG_IsOK(ecode6
)) {
6243 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_Frame" "', expected argument " "6"" of type '" "long""'");
6245 arg6
= static_cast< long >(val6
);
6249 arg7
= wxString_in_helper(obj6
);
6250 if (arg7
== NULL
) SWIG_fail
;
6255 if (!wxPyCheckForApp()) SWIG_fail
;
6256 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6257 result
= (wxFrame
*)new wxFrame(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
6258 wxPyEndAllowThreads(__tstate
);
6259 if (PyErr_Occurred()) SWIG_fail
;
6261 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFrame
, SWIG_POINTER_NEW
| 0 );
6284 SWIGINTERN PyObject
*_wrap_new_PreFrame(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6285 PyObject
*resultobj
= 0;
6286 wxFrame
*result
= 0 ;
6288 if (!SWIG_Python_UnpackTuple(args
,"new_PreFrame",0,0,0)) SWIG_fail
;
6290 if (!wxPyCheckForApp()) SWIG_fail
;
6291 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6292 result
= (wxFrame
*)new wxFrame();
6293 wxPyEndAllowThreads(__tstate
);
6294 if (PyErr_Occurred()) SWIG_fail
;
6296 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFrame
, SWIG_POINTER_OWN
| 0 );
6303 SWIGINTERN PyObject
*_wrap_Frame_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6304 PyObject
*resultobj
= 0;
6305 wxFrame
*arg1
= (wxFrame
*) 0 ;
6306 wxWindow
*arg2
= (wxWindow
*) 0 ;
6307 int arg3
= (int) (int)-1 ;
6308 wxString
const &arg4_defvalue
= wxPyEmptyString
;
6309 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
6310 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
6311 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
6312 wxSize
const &arg6_defvalue
= wxDefaultSize
;
6313 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
6314 long arg7
= (long) wxDEFAULT_FRAME_STYLE
;
6315 wxString
const &arg8_defvalue
= wxPyFrameNameStr
;
6316 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
6324 bool temp4
= false ;
6329 bool temp8
= false ;
6330 PyObject
* obj0
= 0 ;
6331 PyObject
* obj1
= 0 ;
6332 PyObject
* obj2
= 0 ;
6333 PyObject
* obj3
= 0 ;
6334 PyObject
* obj4
= 0 ;
6335 PyObject
* obj5
= 0 ;
6336 PyObject
* obj6
= 0 ;
6337 PyObject
* obj7
= 0 ;
6338 char * kwnames
[] = {
6339 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
6342 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:Frame_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
6343 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFrame
, 0 | 0 );
6344 if (!SWIG_IsOK(res1
)) {
6345 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Frame_Create" "', expected argument " "1"" of type '" "wxFrame *""'");
6347 arg1
= reinterpret_cast< wxFrame
* >(argp1
);
6348 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
6349 if (!SWIG_IsOK(res2
)) {
6350 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Frame_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
6352 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
6354 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
6355 if (!SWIG_IsOK(ecode3
)) {
6356 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Frame_Create" "', expected argument " "3"" of type '" "int""'");
6358 arg3
= static_cast< int >(val3
);
6362 arg4
= wxString_in_helper(obj3
);
6363 if (arg4
== NULL
) SWIG_fail
;
6370 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
6376 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
6380 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
6381 if (!SWIG_IsOK(ecode7
)) {
6382 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "Frame_Create" "', expected argument " "7"" of type '" "long""'");
6384 arg7
= static_cast< long >(val7
);
6388 arg8
= wxString_in_helper(obj7
);
6389 if (arg8
== NULL
) SWIG_fail
;
6394 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6395 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxString
const &)*arg8
);
6396 wxPyEndAllowThreads(__tstate
);
6397 if (PyErr_Occurred()) SWIG_fail
;
6400 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6424 SWIGINTERN PyObject
*_wrap_Frame_SendSizeEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6425 PyObject
*resultobj
= 0;
6426 wxFrame
*arg1
= (wxFrame
*) 0 ;
6429 PyObject
*swig_obj
[1] ;
6431 if (!args
) SWIG_fail
;
6433 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFrame
, 0 | 0 );
6434 if (!SWIG_IsOK(res1
)) {
6435 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Frame_SendSizeEvent" "', expected argument " "1"" of type '" "wxFrame *""'");
6437 arg1
= reinterpret_cast< wxFrame
* >(argp1
);
6439 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6440 (arg1
)->SendSizeEvent();
6441 wxPyEndAllowThreads(__tstate
);
6442 if (PyErr_Occurred()) SWIG_fail
;
6444 resultobj
= SWIG_Py_Void();
6451 SWIGINTERN PyObject
*_wrap_Frame_SetMenuBar(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6452 PyObject
*resultobj
= 0;
6453 wxFrame
*arg1
= (wxFrame
*) 0 ;
6454 wxMenuBar
*arg2
= (wxMenuBar
*) 0 ;
6459 PyObject
* obj0
= 0 ;
6460 PyObject
* obj1
= 0 ;
6461 char * kwnames
[] = {
6462 (char *) "self",(char *) "menubar", NULL
6465 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Frame_SetMenuBar",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6466 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFrame
, 0 | 0 );
6467 if (!SWIG_IsOK(res1
)) {
6468 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Frame_SetMenuBar" "', expected argument " "1"" of type '" "wxFrame *""'");
6470 arg1
= reinterpret_cast< wxFrame
* >(argp1
);
6471 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxMenuBar
, 0 | 0 );
6472 if (!SWIG_IsOK(res2
)) {
6473 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Frame_SetMenuBar" "', expected argument " "2"" of type '" "wxMenuBar *""'");
6475 arg2
= reinterpret_cast< wxMenuBar
* >(argp2
);
6477 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6478 (arg1
)->SetMenuBar(arg2
);
6479 wxPyEndAllowThreads(__tstate
);
6480 if (PyErr_Occurred()) SWIG_fail
;
6482 resultobj
= SWIG_Py_Void();
6489 SWIGINTERN PyObject
*_wrap_Frame_GetMenuBar(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6490 PyObject
*resultobj
= 0;
6491 wxFrame
*arg1
= (wxFrame
*) 0 ;
6492 wxMenuBar
*result
= 0 ;
6495 PyObject
*swig_obj
[1] ;
6497 if (!args
) SWIG_fail
;
6499 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFrame
, 0 | 0 );
6500 if (!SWIG_IsOK(res1
)) {
6501 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Frame_GetMenuBar" "', expected argument " "1"" of type '" "wxFrame const *""'");
6503 arg1
= reinterpret_cast< wxFrame
* >(argp1
);
6505 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6506 result
= (wxMenuBar
*)((wxFrame
const *)arg1
)->GetMenuBar();
6507 wxPyEndAllowThreads(__tstate
);
6508 if (PyErr_Occurred()) SWIG_fail
;
6511 resultobj
= wxPyMake_wxObject(result
, 0);
6519 SWIGINTERN PyObject
*_wrap_Frame_ProcessCommand(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6520 PyObject
*resultobj
= 0;
6521 wxFrame
*arg1
= (wxFrame
*) 0 ;
6528 PyObject
* obj0
= 0 ;
6529 PyObject
* obj1
= 0 ;
6530 char * kwnames
[] = {
6531 (char *) "self",(char *) "winid", NULL
6534 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Frame_ProcessCommand",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6535 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFrame
, 0 | 0 );
6536 if (!SWIG_IsOK(res1
)) {
6537 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Frame_ProcessCommand" "', expected argument " "1"" of type '" "wxFrame *""'");
6539 arg1
= reinterpret_cast< wxFrame
* >(argp1
);
6540 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
6541 if (!SWIG_IsOK(ecode2
)) {
6542 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Frame_ProcessCommand" "', expected argument " "2"" of type '" "int""'");
6544 arg2
= static_cast< int >(val2
);
6546 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6547 result
= (bool)(arg1
)->ProcessCommand(arg2
);
6548 wxPyEndAllowThreads(__tstate
);
6549 if (PyErr_Occurred()) SWIG_fail
;
6552 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6560 SWIGINTERN PyObject
*_wrap_Frame_CreateStatusBar(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6561 PyObject
*resultobj
= 0;
6562 wxFrame
*arg1
= (wxFrame
*) 0 ;
6563 int arg2
= (int) 1 ;
6564 long arg3
= (long) wxDEFAULT_STATUSBAR_STYLE
;
6565 int arg4
= (int) 0 ;
6566 wxString
const &arg5_defvalue
= wxPyStatusLineNameStr
;
6567 wxString
*arg5
= (wxString
*) &arg5_defvalue
;
6568 wxStatusBar
*result
= 0 ;
6577 bool temp5
= false ;
6578 PyObject
* obj0
= 0 ;
6579 PyObject
* obj1
= 0 ;
6580 PyObject
* obj2
= 0 ;
6581 PyObject
* obj3
= 0 ;
6582 PyObject
* obj4
= 0 ;
6583 char * kwnames
[] = {
6584 (char *) "self",(char *) "number",(char *) "style",(char *) "winid",(char *) "name", NULL
6587 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOO:Frame_CreateStatusBar",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
6588 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFrame
, 0 | 0 );
6589 if (!SWIG_IsOK(res1
)) {
6590 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Frame_CreateStatusBar" "', expected argument " "1"" of type '" "wxFrame *""'");
6592 arg1
= reinterpret_cast< wxFrame
* >(argp1
);
6594 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
6595 if (!SWIG_IsOK(ecode2
)) {
6596 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Frame_CreateStatusBar" "', expected argument " "2"" of type '" "int""'");
6598 arg2
= static_cast< int >(val2
);
6601 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
6602 if (!SWIG_IsOK(ecode3
)) {
6603 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Frame_CreateStatusBar" "', expected argument " "3"" of type '" "long""'");
6605 arg3
= static_cast< long >(val3
);
6608 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
6609 if (!SWIG_IsOK(ecode4
)) {
6610 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Frame_CreateStatusBar" "', expected argument " "4"" of type '" "int""'");
6612 arg4
= static_cast< int >(val4
);
6616 arg5
= wxString_in_helper(obj4
);
6617 if (arg5
== NULL
) SWIG_fail
;
6622 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6623 result
= (wxStatusBar
*)(arg1
)->CreateStatusBar(arg2
,arg3
,arg4
,(wxString
const &)*arg5
);
6624 wxPyEndAllowThreads(__tstate
);
6625 if (PyErr_Occurred()) SWIG_fail
;
6628 resultobj
= wxPyMake_wxObject(result
, (bool)0);
6644 SWIGINTERN PyObject
*_wrap_Frame_GetStatusBar(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6645 PyObject
*resultobj
= 0;
6646 wxFrame
*arg1
= (wxFrame
*) 0 ;
6647 wxStatusBar
*result
= 0 ;
6650 PyObject
*swig_obj
[1] ;
6652 if (!args
) SWIG_fail
;
6654 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFrame
, 0 | 0 );
6655 if (!SWIG_IsOK(res1
)) {
6656 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Frame_GetStatusBar" "', expected argument " "1"" of type '" "wxFrame const *""'");
6658 arg1
= reinterpret_cast< wxFrame
* >(argp1
);
6660 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6661 result
= (wxStatusBar
*)((wxFrame
const *)arg1
)->GetStatusBar();
6662 wxPyEndAllowThreads(__tstate
);
6663 if (PyErr_Occurred()) SWIG_fail
;
6666 resultobj
= wxPyMake_wxObject(result
, (bool)0);
6674 SWIGINTERN PyObject
*_wrap_Frame_SetStatusBar(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6675 PyObject
*resultobj
= 0;
6676 wxFrame
*arg1
= (wxFrame
*) 0 ;
6677 wxStatusBar
*arg2
= (wxStatusBar
*) 0 ;
6682 PyObject
* obj0
= 0 ;
6683 PyObject
* obj1
= 0 ;
6684 char * kwnames
[] = {
6685 (char *) "self",(char *) "statBar", NULL
6688 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Frame_SetStatusBar",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6689 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFrame
, 0 | 0 );
6690 if (!SWIG_IsOK(res1
)) {
6691 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Frame_SetStatusBar" "', expected argument " "1"" of type '" "wxFrame *""'");
6693 arg1
= reinterpret_cast< wxFrame
* >(argp1
);
6694 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxStatusBar
, 0 | 0 );
6695 if (!SWIG_IsOK(res2
)) {
6696 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Frame_SetStatusBar" "', expected argument " "2"" of type '" "wxStatusBar *""'");
6698 arg2
= reinterpret_cast< wxStatusBar
* >(argp2
);
6700 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6701 (arg1
)->SetStatusBar(arg2
);
6702 wxPyEndAllowThreads(__tstate
);
6703 if (PyErr_Occurred()) SWIG_fail
;
6705 resultobj
= SWIG_Py_Void();
6712 SWIGINTERN PyObject
*_wrap_Frame_SetStatusText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6713 PyObject
*resultobj
= 0;
6714 wxFrame
*arg1
= (wxFrame
*) 0 ;
6715 wxString
*arg2
= 0 ;
6716 int arg3
= (int) 0 ;
6719 bool temp2
= false ;
6722 PyObject
* obj0
= 0 ;
6723 PyObject
* obj1
= 0 ;
6724 PyObject
* obj2
= 0 ;
6725 char * kwnames
[] = {
6726 (char *) "self",(char *) "text",(char *) "number", NULL
6729 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Frame_SetStatusText",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
6730 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFrame
, 0 | 0 );
6731 if (!SWIG_IsOK(res1
)) {
6732 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Frame_SetStatusText" "', expected argument " "1"" of type '" "wxFrame *""'");
6734 arg1
= reinterpret_cast< wxFrame
* >(argp1
);
6736 arg2
= wxString_in_helper(obj1
);
6737 if (arg2
== NULL
) SWIG_fail
;
6741 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
6742 if (!SWIG_IsOK(ecode3
)) {
6743 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Frame_SetStatusText" "', expected argument " "3"" of type '" "int""'");
6745 arg3
= static_cast< int >(val3
);
6748 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6749 (arg1
)->SetStatusText((wxString
const &)*arg2
,arg3
);
6750 wxPyEndAllowThreads(__tstate
);
6751 if (PyErr_Occurred()) SWIG_fail
;
6753 resultobj
= SWIG_Py_Void();
6768 SWIGINTERN PyObject
*_wrap_Frame_SetStatusWidths(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6769 PyObject
*resultobj
= 0;
6770 wxFrame
*arg1
= (wxFrame
*) 0 ;
6772 int *arg3
= (int *) 0 ;
6775 PyObject
* obj0
= 0 ;
6776 PyObject
* obj1
= 0 ;
6777 char * kwnames
[] = {
6778 (char *) "self",(char *) "widths", NULL
6781 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Frame_SetStatusWidths",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6782 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFrame
, 0 | 0 );
6783 if (!SWIG_IsOK(res1
)) {
6784 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Frame_SetStatusWidths" "', expected argument " "1"" of type '" "wxFrame *""'");
6786 arg1
= reinterpret_cast< wxFrame
* >(argp1
);
6788 arg2
= PyList_Size(obj1
);
6789 arg3
= int_LIST_helper(obj1
);
6790 if (arg3
== NULL
) SWIG_fail
;
6793 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6794 (arg1
)->SetStatusWidths(arg2
,(int const *)arg3
);
6795 wxPyEndAllowThreads(__tstate
);
6796 if (PyErr_Occurred()) SWIG_fail
;
6798 resultobj
= SWIG_Py_Void();
6800 if (arg3
) delete [] arg3
;
6805 if (arg3
) delete [] arg3
;
6811 SWIGINTERN PyObject
*_wrap_Frame_PushStatusText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6812 PyObject
*resultobj
= 0;
6813 wxFrame
*arg1
= (wxFrame
*) 0 ;
6814 wxString
*arg2
= 0 ;
6815 int arg3
= (int) 0 ;
6818 bool temp2
= false ;
6821 PyObject
* obj0
= 0 ;
6822 PyObject
* obj1
= 0 ;
6823 PyObject
* obj2
= 0 ;
6824 char * kwnames
[] = {
6825 (char *) "self",(char *) "text",(char *) "number", NULL
6828 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Frame_PushStatusText",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
6829 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFrame
, 0 | 0 );
6830 if (!SWIG_IsOK(res1
)) {
6831 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Frame_PushStatusText" "', expected argument " "1"" of type '" "wxFrame *""'");
6833 arg1
= reinterpret_cast< wxFrame
* >(argp1
);
6835 arg2
= wxString_in_helper(obj1
);
6836 if (arg2
== NULL
) SWIG_fail
;
6840 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
6841 if (!SWIG_IsOK(ecode3
)) {
6842 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Frame_PushStatusText" "', expected argument " "3"" of type '" "int""'");
6844 arg3
= static_cast< int >(val3
);
6847 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6848 (arg1
)->PushStatusText((wxString
const &)*arg2
,arg3
);
6849 wxPyEndAllowThreads(__tstate
);
6850 if (PyErr_Occurred()) SWIG_fail
;
6852 resultobj
= SWIG_Py_Void();
6867 SWIGINTERN PyObject
*_wrap_Frame_PopStatusText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6868 PyObject
*resultobj
= 0;
6869 wxFrame
*arg1
= (wxFrame
*) 0 ;
6870 int arg2
= (int) 0 ;
6875 PyObject
* obj0
= 0 ;
6876 PyObject
* obj1
= 0 ;
6877 char * kwnames
[] = {
6878 (char *) "self",(char *) "number", NULL
6881 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Frame_PopStatusText",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6882 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFrame
, 0 | 0 );
6883 if (!SWIG_IsOK(res1
)) {
6884 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Frame_PopStatusText" "', expected argument " "1"" of type '" "wxFrame *""'");
6886 arg1
= reinterpret_cast< wxFrame
* >(argp1
);
6888 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
6889 if (!SWIG_IsOK(ecode2
)) {
6890 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Frame_PopStatusText" "', expected argument " "2"" of type '" "int""'");
6892 arg2
= static_cast< int >(val2
);
6895 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6896 (arg1
)->PopStatusText(arg2
);
6897 wxPyEndAllowThreads(__tstate
);
6898 if (PyErr_Occurred()) SWIG_fail
;
6900 resultobj
= SWIG_Py_Void();
6907 SWIGINTERN PyObject
*_wrap_Frame_SetStatusBarPane(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6908 PyObject
*resultobj
= 0;
6909 wxFrame
*arg1
= (wxFrame
*) 0 ;
6915 PyObject
* obj0
= 0 ;
6916 PyObject
* obj1
= 0 ;
6917 char * kwnames
[] = {
6918 (char *) "self",(char *) "n", NULL
6921 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Frame_SetStatusBarPane",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6922 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFrame
, 0 | 0 );
6923 if (!SWIG_IsOK(res1
)) {
6924 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Frame_SetStatusBarPane" "', expected argument " "1"" of type '" "wxFrame *""'");
6926 arg1
= reinterpret_cast< wxFrame
* >(argp1
);
6927 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
6928 if (!SWIG_IsOK(ecode2
)) {
6929 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Frame_SetStatusBarPane" "', expected argument " "2"" of type '" "int""'");
6931 arg2
= static_cast< int >(val2
);
6933 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6934 (arg1
)->SetStatusBarPane(arg2
);
6935 wxPyEndAllowThreads(__tstate
);
6936 if (PyErr_Occurred()) SWIG_fail
;
6938 resultobj
= SWIG_Py_Void();
6945 SWIGINTERN PyObject
*_wrap_Frame_GetStatusBarPane(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6946 PyObject
*resultobj
= 0;
6947 wxFrame
*arg1
= (wxFrame
*) 0 ;
6951 PyObject
*swig_obj
[1] ;
6953 if (!args
) SWIG_fail
;
6955 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFrame
, 0 | 0 );
6956 if (!SWIG_IsOK(res1
)) {
6957 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Frame_GetStatusBarPane" "', expected argument " "1"" of type '" "wxFrame const *""'");
6959 arg1
= reinterpret_cast< wxFrame
* >(argp1
);
6961 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6962 result
= (int)((wxFrame
const *)arg1
)->GetStatusBarPane();
6963 wxPyEndAllowThreads(__tstate
);
6964 if (PyErr_Occurred()) SWIG_fail
;
6966 resultobj
= SWIG_From_int(static_cast< int >(result
));
6973 SWIGINTERN PyObject
*_wrap_Frame_CreateToolBar(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6974 PyObject
*resultobj
= 0;
6975 wxFrame
*arg1
= (wxFrame
*) 0 ;
6976 long arg2
= (long) -1 ;
6977 int arg3
= (int) -1 ;
6978 wxString
const &arg4_defvalue
= wxPyToolBarNameStr
;
6979 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
6980 wxToolBar
*result
= 0 ;
6987 bool temp4
= false ;
6988 PyObject
* obj0
= 0 ;
6989 PyObject
* obj1
= 0 ;
6990 PyObject
* obj2
= 0 ;
6991 PyObject
* obj3
= 0 ;
6992 char * kwnames
[] = {
6993 (char *) "self",(char *) "style",(char *) "winid",(char *) "name", NULL
6996 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOO:Frame_CreateToolBar",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
6997 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFrame
, 0 | 0 );
6998 if (!SWIG_IsOK(res1
)) {
6999 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Frame_CreateToolBar" "', expected argument " "1"" of type '" "wxFrame *""'");
7001 arg1
= reinterpret_cast< wxFrame
* >(argp1
);
7003 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
7004 if (!SWIG_IsOK(ecode2
)) {
7005 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Frame_CreateToolBar" "', expected argument " "2"" of type '" "long""'");
7007 arg2
= static_cast< long >(val2
);
7010 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
7011 if (!SWIG_IsOK(ecode3
)) {
7012 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Frame_CreateToolBar" "', expected argument " "3"" of type '" "int""'");
7014 arg3
= static_cast< int >(val3
);
7018 arg4
= wxString_in_helper(obj3
);
7019 if (arg4
== NULL
) SWIG_fail
;
7024 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7025 result
= (wxToolBar
*)(arg1
)->CreateToolBar(arg2
,arg3
,(wxString
const &)*arg4
);
7026 wxPyEndAllowThreads(__tstate
);
7027 if (PyErr_Occurred()) SWIG_fail
;
7030 resultobj
= wxPyMake_wxObject(result
, (bool)0);
7046 SWIGINTERN PyObject
*_wrap_Frame_GetToolBar(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7047 PyObject
*resultobj
= 0;
7048 wxFrame
*arg1
= (wxFrame
*) 0 ;
7049 wxToolBar
*result
= 0 ;
7052 PyObject
*swig_obj
[1] ;
7054 if (!args
) SWIG_fail
;
7056 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFrame
, 0 | 0 );
7057 if (!SWIG_IsOK(res1
)) {
7058 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Frame_GetToolBar" "', expected argument " "1"" of type '" "wxFrame const *""'");
7060 arg1
= reinterpret_cast< wxFrame
* >(argp1
);
7062 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7063 result
= (wxToolBar
*)((wxFrame
const *)arg1
)->GetToolBar();
7064 wxPyEndAllowThreads(__tstate
);
7065 if (PyErr_Occurred()) SWIG_fail
;
7068 resultobj
= wxPyMake_wxObject(result
, (bool)0);
7076 SWIGINTERN PyObject
*_wrap_Frame_SetToolBar(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7077 PyObject
*resultobj
= 0;
7078 wxFrame
*arg1
= (wxFrame
*) 0 ;
7079 wxToolBar
*arg2
= (wxToolBar
*) 0 ;
7084 PyObject
* obj0
= 0 ;
7085 PyObject
* obj1
= 0 ;
7086 char * kwnames
[] = {
7087 (char *) "self",(char *) "toolbar", NULL
7090 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Frame_SetToolBar",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7091 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFrame
, 0 | 0 );
7092 if (!SWIG_IsOK(res1
)) {
7093 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Frame_SetToolBar" "', expected argument " "1"" of type '" "wxFrame *""'");
7095 arg1
= reinterpret_cast< wxFrame
* >(argp1
);
7096 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxToolBar
, 0 | 0 );
7097 if (!SWIG_IsOK(res2
)) {
7098 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Frame_SetToolBar" "', expected argument " "2"" of type '" "wxToolBar *""'");
7100 arg2
= reinterpret_cast< wxToolBar
* >(argp2
);
7102 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7103 (arg1
)->SetToolBar(arg2
);
7104 wxPyEndAllowThreads(__tstate
);
7105 if (PyErr_Occurred()) SWIG_fail
;
7107 resultobj
= SWIG_Py_Void();
7114 SWIGINTERN PyObject
*_wrap_Frame_DoGiveHelp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7115 PyObject
*resultobj
= 0;
7116 wxFrame
*arg1
= (wxFrame
*) 0 ;
7117 wxString
*arg2
= 0 ;
7121 bool temp2
= false ;
7124 PyObject
* obj0
= 0 ;
7125 PyObject
* obj1
= 0 ;
7126 PyObject
* obj2
= 0 ;
7127 char * kwnames
[] = {
7128 (char *) "self",(char *) "text",(char *) "show", NULL
7131 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Frame_DoGiveHelp",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
7132 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFrame
, 0 | 0 );
7133 if (!SWIG_IsOK(res1
)) {
7134 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Frame_DoGiveHelp" "', expected argument " "1"" of type '" "wxFrame *""'");
7136 arg1
= reinterpret_cast< wxFrame
* >(argp1
);
7138 arg2
= wxString_in_helper(obj1
);
7139 if (arg2
== NULL
) SWIG_fail
;
7142 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
7143 if (!SWIG_IsOK(ecode3
)) {
7144 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Frame_DoGiveHelp" "', expected argument " "3"" of type '" "bool""'");
7146 arg3
= static_cast< bool >(val3
);
7148 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7149 (arg1
)->DoGiveHelp((wxString
const &)*arg2
,arg3
);
7150 wxPyEndAllowThreads(__tstate
);
7151 if (PyErr_Occurred()) SWIG_fail
;
7153 resultobj
= SWIG_Py_Void();
7168 SWIGINTERN PyObject
*_wrap_Frame_DoMenuUpdates(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7169 PyObject
*resultobj
= 0;
7170 wxFrame
*arg1
= (wxFrame
*) 0 ;
7171 wxMenu
*arg2
= (wxMenu
*) NULL
;
7176 PyObject
* obj0
= 0 ;
7177 PyObject
* obj1
= 0 ;
7178 char * kwnames
[] = {
7179 (char *) "self",(char *) "menu", NULL
7182 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Frame_DoMenuUpdates",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7183 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFrame
, 0 | 0 );
7184 if (!SWIG_IsOK(res1
)) {
7185 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Frame_DoMenuUpdates" "', expected argument " "1"" of type '" "wxFrame *""'");
7187 arg1
= reinterpret_cast< wxFrame
* >(argp1
);
7189 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxMenu
, 0 | 0 );
7190 if (!SWIG_IsOK(res2
)) {
7191 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Frame_DoMenuUpdates" "', expected argument " "2"" of type '" "wxMenu *""'");
7193 arg2
= reinterpret_cast< wxMenu
* >(argp2
);
7196 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7197 (arg1
)->DoMenuUpdates(arg2
);
7198 wxPyEndAllowThreads(__tstate
);
7199 if (PyErr_Occurred()) SWIG_fail
;
7201 resultobj
= SWIG_Py_Void();
7208 SWIGINTERN PyObject
*_wrap_Frame_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7209 PyObject
*resultobj
= 0;
7210 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
7211 SwigValueWrapper
<wxVisualAttributes
> result
;
7214 PyObject
* obj0
= 0 ;
7215 char * kwnames
[] = {
7216 (char *) "variant", NULL
7219 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Frame_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
7221 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
7222 if (!SWIG_IsOK(ecode1
)) {
7223 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "Frame_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
7225 arg1
= static_cast< wxWindowVariant
>(val1
);
7228 if (!wxPyCheckForApp()) SWIG_fail
;
7229 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7230 result
= wxFrame::GetClassDefaultAttributes(arg1
);
7231 wxPyEndAllowThreads(__tstate
);
7232 if (PyErr_Occurred()) SWIG_fail
;
7234 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
7241 SWIGINTERN PyObject
*Frame_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7243 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
7244 SWIG_TypeNewClientData(SWIGTYPE_p_wxFrame
, SWIG_NewClientData(obj
));
7245 return SWIG_Py_Void();
7248 SWIGINTERN PyObject
*Frame_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7249 return SWIG_Python_InitShadowInstance(args
);
7252 SWIGINTERN PyObject
*_wrap_new_Dialog(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7253 PyObject
*resultobj
= 0;
7254 wxWindow
*arg1
= (wxWindow
*) 0 ;
7255 int arg2
= (int) (int)-1 ;
7256 wxString
const &arg3_defvalue
= wxPyEmptyString
;
7257 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
7258 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
7259 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
7260 wxSize
const &arg5_defvalue
= wxDefaultSize
;
7261 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
7262 long arg6
= (long) wxDEFAULT_DIALOG_STYLE
;
7263 wxString
const &arg7_defvalue
= wxPyDialogNameStr
;
7264 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
7265 wxDialog
*result
= 0 ;
7270 bool temp3
= false ;
7275 bool temp7
= false ;
7276 PyObject
* obj0
= 0 ;
7277 PyObject
* obj1
= 0 ;
7278 PyObject
* obj2
= 0 ;
7279 PyObject
* obj3
= 0 ;
7280 PyObject
* obj4
= 0 ;
7281 PyObject
* obj5
= 0 ;
7282 PyObject
* obj6
= 0 ;
7283 char * kwnames
[] = {
7284 (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
7287 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_Dialog",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
7288 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
7289 if (!SWIG_IsOK(res1
)) {
7290 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_Dialog" "', expected argument " "1"" of type '" "wxWindow *""'");
7292 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
7294 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
7295 if (!SWIG_IsOK(ecode2
)) {
7296 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Dialog" "', expected argument " "2"" of type '" "int""'");
7298 arg2
= static_cast< int >(val2
);
7302 arg3
= wxString_in_helper(obj2
);
7303 if (arg3
== NULL
) SWIG_fail
;
7310 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
7316 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
7320 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
7321 if (!SWIG_IsOK(ecode6
)) {
7322 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_Dialog" "', expected argument " "6"" of type '" "long""'");
7324 arg6
= static_cast< long >(val6
);
7328 arg7
= wxString_in_helper(obj6
);
7329 if (arg7
== NULL
) SWIG_fail
;
7334 if (!wxPyCheckForApp()) SWIG_fail
;
7335 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7336 result
= (wxDialog
*)new wxDialog(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
7337 wxPyEndAllowThreads(__tstate
);
7338 if (PyErr_Occurred()) SWIG_fail
;
7340 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDialog
, SWIG_POINTER_NEW
| 0 );
7363 SWIGINTERN PyObject
*_wrap_new_PreDialog(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7364 PyObject
*resultobj
= 0;
7365 wxDialog
*result
= 0 ;
7367 if (!SWIG_Python_UnpackTuple(args
,"new_PreDialog",0,0,0)) SWIG_fail
;
7369 if (!wxPyCheckForApp()) SWIG_fail
;
7370 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7371 result
= (wxDialog
*)new wxDialog();
7372 wxPyEndAllowThreads(__tstate
);
7373 if (PyErr_Occurred()) SWIG_fail
;
7375 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDialog
, SWIG_POINTER_OWN
| 0 );
7382 SWIGINTERN PyObject
*_wrap_Dialog_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7383 PyObject
*resultobj
= 0;
7384 wxDialog
*arg1
= (wxDialog
*) 0 ;
7385 wxWindow
*arg2
= (wxWindow
*) 0 ;
7386 int arg3
= (int) (int)-1 ;
7387 wxString
const &arg4_defvalue
= wxPyEmptyString
;
7388 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
7389 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
7390 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
7391 wxSize
const &arg6_defvalue
= wxDefaultSize
;
7392 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
7393 long arg7
= (long) wxDEFAULT_DIALOG_STYLE
;
7394 wxString
const &arg8_defvalue
= wxPyDialogNameStr
;
7395 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
7403 bool temp4
= false ;
7408 bool temp8
= false ;
7409 PyObject
* obj0
= 0 ;
7410 PyObject
* obj1
= 0 ;
7411 PyObject
* obj2
= 0 ;
7412 PyObject
* obj3
= 0 ;
7413 PyObject
* obj4
= 0 ;
7414 PyObject
* obj5
= 0 ;
7415 PyObject
* obj6
= 0 ;
7416 PyObject
* obj7
= 0 ;
7417 char * kwnames
[] = {
7418 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
7421 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:Dialog_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
7422 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDialog
, 0 | 0 );
7423 if (!SWIG_IsOK(res1
)) {
7424 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Dialog_Create" "', expected argument " "1"" of type '" "wxDialog *""'");
7426 arg1
= reinterpret_cast< wxDialog
* >(argp1
);
7427 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
7428 if (!SWIG_IsOK(res2
)) {
7429 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Dialog_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
7431 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
7433 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
7434 if (!SWIG_IsOK(ecode3
)) {
7435 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Dialog_Create" "', expected argument " "3"" of type '" "int""'");
7437 arg3
= static_cast< int >(val3
);
7441 arg4
= wxString_in_helper(obj3
);
7442 if (arg4
== NULL
) SWIG_fail
;
7449 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
7455 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
7459 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
7460 if (!SWIG_IsOK(ecode7
)) {
7461 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "Dialog_Create" "', expected argument " "7"" of type '" "long""'");
7463 arg7
= static_cast< long >(val7
);
7467 arg8
= wxString_in_helper(obj7
);
7468 if (arg8
== NULL
) SWIG_fail
;
7473 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7474 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxString
const &)*arg8
);
7475 wxPyEndAllowThreads(__tstate
);
7476 if (PyErr_Occurred()) SWIG_fail
;
7479 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7503 SWIGINTERN PyObject
*_wrap_Dialog_SetReturnCode(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7504 PyObject
*resultobj
= 0;
7505 wxDialog
*arg1
= (wxDialog
*) 0 ;
7511 PyObject
* obj0
= 0 ;
7512 PyObject
* obj1
= 0 ;
7513 char * kwnames
[] = {
7514 (char *) "self",(char *) "returnCode", NULL
7517 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Dialog_SetReturnCode",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7518 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDialog
, 0 | 0 );
7519 if (!SWIG_IsOK(res1
)) {
7520 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Dialog_SetReturnCode" "', expected argument " "1"" of type '" "wxDialog *""'");
7522 arg1
= reinterpret_cast< wxDialog
* >(argp1
);
7523 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
7524 if (!SWIG_IsOK(ecode2
)) {
7525 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Dialog_SetReturnCode" "', expected argument " "2"" of type '" "int""'");
7527 arg2
= static_cast< int >(val2
);
7529 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7530 (arg1
)->SetReturnCode(arg2
);
7531 wxPyEndAllowThreads(__tstate
);
7532 if (PyErr_Occurred()) SWIG_fail
;
7534 resultobj
= SWIG_Py_Void();
7541 SWIGINTERN PyObject
*_wrap_Dialog_GetReturnCode(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7542 PyObject
*resultobj
= 0;
7543 wxDialog
*arg1
= (wxDialog
*) 0 ;
7547 PyObject
*swig_obj
[1] ;
7549 if (!args
) SWIG_fail
;
7551 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDialog
, 0 | 0 );
7552 if (!SWIG_IsOK(res1
)) {
7553 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Dialog_GetReturnCode" "', expected argument " "1"" of type '" "wxDialog const *""'");
7555 arg1
= reinterpret_cast< wxDialog
* >(argp1
);
7557 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7558 result
= (int)((wxDialog
const *)arg1
)->GetReturnCode();
7559 wxPyEndAllowThreads(__tstate
);
7560 if (PyErr_Occurred()) SWIG_fail
;
7562 resultobj
= SWIG_From_int(static_cast< int >(result
));
7569 SWIGINTERN PyObject
*_wrap_Dialog_SetAffirmativeId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7570 PyObject
*resultobj
= 0;
7571 wxDialog
*arg1
= (wxDialog
*) 0 ;
7577 PyObject
* obj0
= 0 ;
7578 PyObject
* obj1
= 0 ;
7579 char * kwnames
[] = {
7580 (char *) "self",(char *) "affirmativeId", NULL
7583 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Dialog_SetAffirmativeId",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7584 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDialog
, 0 | 0 );
7585 if (!SWIG_IsOK(res1
)) {
7586 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Dialog_SetAffirmativeId" "', expected argument " "1"" of type '" "wxDialog *""'");
7588 arg1
= reinterpret_cast< wxDialog
* >(argp1
);
7589 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
7590 if (!SWIG_IsOK(ecode2
)) {
7591 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Dialog_SetAffirmativeId" "', expected argument " "2"" of type '" "int""'");
7593 arg2
= static_cast< int >(val2
);
7595 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7596 (arg1
)->SetAffirmativeId(arg2
);
7597 wxPyEndAllowThreads(__tstate
);
7598 if (PyErr_Occurred()) SWIG_fail
;
7600 resultobj
= SWIG_Py_Void();
7607 SWIGINTERN PyObject
*_wrap_Dialog_GetAffirmativeId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7608 PyObject
*resultobj
= 0;
7609 wxDialog
*arg1
= (wxDialog
*) 0 ;
7613 PyObject
*swig_obj
[1] ;
7615 if (!args
) SWIG_fail
;
7617 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDialog
, 0 | 0 );
7618 if (!SWIG_IsOK(res1
)) {
7619 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Dialog_GetAffirmativeId" "', expected argument " "1"" of type '" "wxDialog const *""'");
7621 arg1
= reinterpret_cast< wxDialog
* >(argp1
);
7623 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7624 result
= (int)((wxDialog
const *)arg1
)->GetAffirmativeId();
7625 wxPyEndAllowThreads(__tstate
);
7626 if (PyErr_Occurred()) SWIG_fail
;
7628 resultobj
= SWIG_From_int(static_cast< int >(result
));
7635 SWIGINTERN PyObject
*_wrap_Dialog_SetEscapeId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7636 PyObject
*resultobj
= 0;
7637 wxDialog
*arg1
= (wxDialog
*) 0 ;
7643 PyObject
* obj0
= 0 ;
7644 PyObject
* obj1
= 0 ;
7645 char * kwnames
[] = {
7646 (char *) "self",(char *) "escapeId", NULL
7649 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Dialog_SetEscapeId",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7650 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDialog
, 0 | 0 );
7651 if (!SWIG_IsOK(res1
)) {
7652 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Dialog_SetEscapeId" "', expected argument " "1"" of type '" "wxDialog *""'");
7654 arg1
= reinterpret_cast< wxDialog
* >(argp1
);
7655 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
7656 if (!SWIG_IsOK(ecode2
)) {
7657 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Dialog_SetEscapeId" "', expected argument " "2"" of type '" "int""'");
7659 arg2
= static_cast< int >(val2
);
7661 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7662 (arg1
)->SetEscapeId(arg2
);
7663 wxPyEndAllowThreads(__tstate
);
7664 if (PyErr_Occurred()) SWIG_fail
;
7666 resultobj
= SWIG_Py_Void();
7673 SWIGINTERN PyObject
*_wrap_Dialog_GetEscapeId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7674 PyObject
*resultobj
= 0;
7675 wxDialog
*arg1
= (wxDialog
*) 0 ;
7679 PyObject
*swig_obj
[1] ;
7681 if (!args
) SWIG_fail
;
7683 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDialog
, 0 | 0 );
7684 if (!SWIG_IsOK(res1
)) {
7685 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Dialog_GetEscapeId" "', expected argument " "1"" of type '" "wxDialog const *""'");
7687 arg1
= reinterpret_cast< wxDialog
* >(argp1
);
7689 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7690 result
= (int)((wxDialog
const *)arg1
)->GetEscapeId();
7691 wxPyEndAllowThreads(__tstate
);
7692 if (PyErr_Occurred()) SWIG_fail
;
7694 resultobj
= SWIG_From_int(static_cast< int >(result
));
7701 SWIGINTERN PyObject
*_wrap_Dialog_CreateTextSizer(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7702 PyObject
*resultobj
= 0;
7703 wxDialog
*arg1
= (wxDialog
*) 0 ;
7704 wxString
*arg2
= 0 ;
7705 wxSizer
*result
= 0 ;
7708 bool temp2
= false ;
7709 PyObject
* obj0
= 0 ;
7710 PyObject
* obj1
= 0 ;
7711 char * kwnames
[] = {
7712 (char *) "self",(char *) "message", NULL
7715 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Dialog_CreateTextSizer",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7716 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDialog
, 0 | 0 );
7717 if (!SWIG_IsOK(res1
)) {
7718 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Dialog_CreateTextSizer" "', expected argument " "1"" of type '" "wxDialog *""'");
7720 arg1
= reinterpret_cast< wxDialog
* >(argp1
);
7722 arg2
= wxString_in_helper(obj1
);
7723 if (arg2
== NULL
) SWIG_fail
;
7727 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7728 result
= (wxSizer
*)(arg1
)->CreateTextSizer((wxString
const &)*arg2
);
7729 wxPyEndAllowThreads(__tstate
);
7730 if (PyErr_Occurred()) SWIG_fail
;
7733 resultobj
= wxPyMake_wxObject(result
, (bool)0);
7749 SWIGINTERN PyObject
*_wrap_Dialog__CreateButtonSizer(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7750 PyObject
*resultobj
= 0;
7751 wxDialog
*arg1
= (wxDialog
*) 0 ;
7753 wxSizer
*result
= 0 ;
7758 PyObject
* obj0
= 0 ;
7759 PyObject
* obj1
= 0 ;
7760 char * kwnames
[] = {
7761 (char *) "self",(char *) "flags", NULL
7764 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Dialog__CreateButtonSizer",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7765 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDialog
, 0 | 0 );
7766 if (!SWIG_IsOK(res1
)) {
7767 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Dialog__CreateButtonSizer" "', expected argument " "1"" of type '" "wxDialog *""'");
7769 arg1
= reinterpret_cast< wxDialog
* >(argp1
);
7770 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
7771 if (!SWIG_IsOK(ecode2
)) {
7772 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Dialog__CreateButtonSizer" "', expected argument " "2"" of type '" "long""'");
7774 arg2
= static_cast< long >(val2
);
7776 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7777 result
= (wxSizer
*)(arg1
)->CreateButtonSizer(arg2
);
7778 wxPyEndAllowThreads(__tstate
);
7779 if (PyErr_Occurred()) SWIG_fail
;
7782 resultobj
= wxPyMake_wxObject(result
, (bool)0);
7790 SWIGINTERN PyObject
*_wrap_Dialog_CreateSeparatedButtonSizer(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7791 PyObject
*resultobj
= 0;
7792 wxDialog
*arg1
= (wxDialog
*) 0 ;
7794 wxSizer
*result
= 0 ;
7799 PyObject
* obj0
= 0 ;
7800 PyObject
* obj1
= 0 ;
7801 char * kwnames
[] = {
7802 (char *) "self",(char *) "flags", NULL
7805 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Dialog_CreateSeparatedButtonSizer",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7806 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDialog
, 0 | 0 );
7807 if (!SWIG_IsOK(res1
)) {
7808 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Dialog_CreateSeparatedButtonSizer" "', expected argument " "1"" of type '" "wxDialog *""'");
7810 arg1
= reinterpret_cast< wxDialog
* >(argp1
);
7811 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
7812 if (!SWIG_IsOK(ecode2
)) {
7813 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Dialog_CreateSeparatedButtonSizer" "', expected argument " "2"" of type '" "long""'");
7815 arg2
= static_cast< long >(val2
);
7817 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7818 result
= (wxSizer
*)(arg1
)->CreateSeparatedButtonSizer(arg2
);
7819 wxPyEndAllowThreads(__tstate
);
7820 if (PyErr_Occurred()) SWIG_fail
;
7823 resultobj
= wxPyMake_wxObject(result
, (bool)0);
7831 SWIGINTERN PyObject
*_wrap_Dialog_CreateStdDialogButtonSizer(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7832 PyObject
*resultobj
= 0;
7833 wxDialog
*arg1
= (wxDialog
*) 0 ;
7835 wxStdDialogButtonSizer
*result
= 0 ;
7840 PyObject
* obj0
= 0 ;
7841 PyObject
* obj1
= 0 ;
7842 char * kwnames
[] = {
7843 (char *) "self",(char *) "flags", NULL
7846 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Dialog_CreateStdDialogButtonSizer",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7847 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDialog
, 0 | 0 );
7848 if (!SWIG_IsOK(res1
)) {
7849 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Dialog_CreateStdDialogButtonSizer" "', expected argument " "1"" of type '" "wxDialog *""'");
7851 arg1
= reinterpret_cast< wxDialog
* >(argp1
);
7852 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
7853 if (!SWIG_IsOK(ecode2
)) {
7854 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Dialog_CreateStdDialogButtonSizer" "', expected argument " "2"" of type '" "long""'");
7856 arg2
= static_cast< long >(val2
);
7858 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7859 result
= (wxStdDialogButtonSizer
*)(arg1
)->CreateStdDialogButtonSizer(arg2
);
7860 wxPyEndAllowThreads(__tstate
);
7861 if (PyErr_Occurred()) SWIG_fail
;
7863 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxStdDialogButtonSizer
, 0 | 0 );
7870 SWIGINTERN PyObject
*_wrap_Dialog_IsModal(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7871 PyObject
*resultobj
= 0;
7872 wxDialog
*arg1
= (wxDialog
*) 0 ;
7876 PyObject
*swig_obj
[1] ;
7878 if (!args
) SWIG_fail
;
7880 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDialog
, 0 | 0 );
7881 if (!SWIG_IsOK(res1
)) {
7882 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Dialog_IsModal" "', expected argument " "1"" of type '" "wxDialog const *""'");
7884 arg1
= reinterpret_cast< wxDialog
* >(argp1
);
7886 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7887 result
= (bool)((wxDialog
const *)arg1
)->IsModal();
7888 wxPyEndAllowThreads(__tstate
);
7889 if (PyErr_Occurred()) SWIG_fail
;
7892 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7900 SWIGINTERN PyObject
*_wrap_Dialog_ShowModal(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7901 PyObject
*resultobj
= 0;
7902 wxDialog
*arg1
= (wxDialog
*) 0 ;
7906 PyObject
*swig_obj
[1] ;
7908 if (!args
) SWIG_fail
;
7910 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDialog
, 0 | 0 );
7911 if (!SWIG_IsOK(res1
)) {
7912 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Dialog_ShowModal" "', expected argument " "1"" of type '" "wxDialog *""'");
7914 arg1
= reinterpret_cast< wxDialog
* >(argp1
);
7916 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7917 result
= (int)(arg1
)->ShowModal();
7918 wxPyEndAllowThreads(__tstate
);
7919 if (PyErr_Occurred()) SWIG_fail
;
7921 resultobj
= SWIG_From_int(static_cast< int >(result
));
7928 SWIGINTERN PyObject
*_wrap_Dialog_EndModal(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7929 PyObject
*resultobj
= 0;
7930 wxDialog
*arg1
= (wxDialog
*) 0 ;
7936 PyObject
* obj0
= 0 ;
7937 PyObject
* obj1
= 0 ;
7938 char * kwnames
[] = {
7939 (char *) "self",(char *) "retCode", NULL
7942 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Dialog_EndModal",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7943 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDialog
, 0 | 0 );
7944 if (!SWIG_IsOK(res1
)) {
7945 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Dialog_EndModal" "', expected argument " "1"" of type '" "wxDialog *""'");
7947 arg1
= reinterpret_cast< wxDialog
* >(argp1
);
7948 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
7949 if (!SWIG_IsOK(ecode2
)) {
7950 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Dialog_EndModal" "', expected argument " "2"" of type '" "int""'");
7952 arg2
= static_cast< int >(val2
);
7954 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7955 (arg1
)->EndModal(arg2
);
7956 wxPyEndAllowThreads(__tstate
);
7957 if (PyErr_Occurred()) SWIG_fail
;
7959 resultobj
= SWIG_Py_Void();
7966 SWIGINTERN PyObject
*_wrap_Dialog_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7967 PyObject
*resultobj
= 0;
7968 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
7969 SwigValueWrapper
<wxVisualAttributes
> result
;
7972 PyObject
* obj0
= 0 ;
7973 char * kwnames
[] = {
7974 (char *) "variant", NULL
7977 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Dialog_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
7979 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
7980 if (!SWIG_IsOK(ecode1
)) {
7981 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "Dialog_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
7983 arg1
= static_cast< wxWindowVariant
>(val1
);
7986 if (!wxPyCheckForApp()) SWIG_fail
;
7987 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7988 result
= wxDialog::GetClassDefaultAttributes(arg1
);
7989 wxPyEndAllowThreads(__tstate
);
7990 if (PyErr_Occurred()) SWIG_fail
;
7992 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
7999 SWIGINTERN PyObject
*Dialog_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8001 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
8002 SWIG_TypeNewClientData(SWIGTYPE_p_wxDialog
, SWIG_NewClientData(obj
));
8003 return SWIG_Py_Void();
8006 SWIGINTERN PyObject
*Dialog_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8007 return SWIG_Python_InitShadowInstance(args
);
8010 SWIGINTERN PyObject
*_wrap_new_MiniFrame(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8011 PyObject
*resultobj
= 0;
8012 wxWindow
*arg1
= (wxWindow
*) 0 ;
8013 int arg2
= (int) (int)-1 ;
8014 wxString
const &arg3_defvalue
= wxPyEmptyString
;
8015 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
8016 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
8017 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
8018 wxSize
const &arg5_defvalue
= wxDefaultSize
;
8019 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
8020 long arg6
= (long) wxDEFAULT_MINIFRAME_STYLE
;
8021 wxString
const &arg7_defvalue
= wxPyFrameNameStr
;
8022 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
8023 wxMiniFrame
*result
= 0 ;
8028 bool temp3
= false ;
8033 bool temp7
= false ;
8034 PyObject
* obj0
= 0 ;
8035 PyObject
* obj1
= 0 ;
8036 PyObject
* obj2
= 0 ;
8037 PyObject
* obj3
= 0 ;
8038 PyObject
* obj4
= 0 ;
8039 PyObject
* obj5
= 0 ;
8040 PyObject
* obj6
= 0 ;
8041 char * kwnames
[] = {
8042 (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
8045 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_MiniFrame",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
8046 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
8047 if (!SWIG_IsOK(res1
)) {
8048 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_MiniFrame" "', expected argument " "1"" of type '" "wxWindow *""'");
8050 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
8052 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
8053 if (!SWIG_IsOK(ecode2
)) {
8054 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_MiniFrame" "', expected argument " "2"" of type '" "int""'");
8056 arg2
= static_cast< int >(val2
);
8060 arg3
= wxString_in_helper(obj2
);
8061 if (arg3
== NULL
) SWIG_fail
;
8068 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
8074 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
8078 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
8079 if (!SWIG_IsOK(ecode6
)) {
8080 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_MiniFrame" "', expected argument " "6"" of type '" "long""'");
8082 arg6
= static_cast< long >(val6
);
8086 arg7
= wxString_in_helper(obj6
);
8087 if (arg7
== NULL
) SWIG_fail
;
8092 if (!wxPyCheckForApp()) SWIG_fail
;
8093 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8094 result
= (wxMiniFrame
*)new wxMiniFrame(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
8095 wxPyEndAllowThreads(__tstate
);
8096 if (PyErr_Occurred()) SWIG_fail
;
8098 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMiniFrame
, SWIG_POINTER_NEW
| 0 );
8121 SWIGINTERN PyObject
*_wrap_new_PreMiniFrame(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8122 PyObject
*resultobj
= 0;
8123 wxMiniFrame
*result
= 0 ;
8125 if (!SWIG_Python_UnpackTuple(args
,"new_PreMiniFrame",0,0,0)) SWIG_fail
;
8127 if (!wxPyCheckForApp()) SWIG_fail
;
8128 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8129 result
= (wxMiniFrame
*)new wxMiniFrame();
8130 wxPyEndAllowThreads(__tstate
);
8131 if (PyErr_Occurred()) SWIG_fail
;
8133 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMiniFrame
, SWIG_POINTER_OWN
| 0 );
8140 SWIGINTERN PyObject
*_wrap_MiniFrame_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8141 PyObject
*resultobj
= 0;
8142 wxMiniFrame
*arg1
= (wxMiniFrame
*) 0 ;
8143 wxWindow
*arg2
= (wxWindow
*) 0 ;
8144 int arg3
= (int) (int)-1 ;
8145 wxString
const &arg4_defvalue
= wxPyEmptyString
;
8146 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
8147 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
8148 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
8149 wxSize
const &arg6_defvalue
= wxDefaultSize
;
8150 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
8151 long arg7
= (long) wxDEFAULT_MINIFRAME_STYLE
;
8152 wxString
const &arg8_defvalue
= wxPyFrameNameStr
;
8153 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
8161 bool temp4
= false ;
8166 bool temp8
= false ;
8167 PyObject
* obj0
= 0 ;
8168 PyObject
* obj1
= 0 ;
8169 PyObject
* obj2
= 0 ;
8170 PyObject
* obj3
= 0 ;
8171 PyObject
* obj4
= 0 ;
8172 PyObject
* obj5
= 0 ;
8173 PyObject
* obj6
= 0 ;
8174 PyObject
* obj7
= 0 ;
8175 char * kwnames
[] = {
8176 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
8179 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:MiniFrame_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
8180 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMiniFrame
, 0 | 0 );
8181 if (!SWIG_IsOK(res1
)) {
8182 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MiniFrame_Create" "', expected argument " "1"" of type '" "wxMiniFrame *""'");
8184 arg1
= reinterpret_cast< wxMiniFrame
* >(argp1
);
8185 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
8186 if (!SWIG_IsOK(res2
)) {
8187 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "MiniFrame_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
8189 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
8191 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
8192 if (!SWIG_IsOK(ecode3
)) {
8193 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "MiniFrame_Create" "', expected argument " "3"" of type '" "int""'");
8195 arg3
= static_cast< int >(val3
);
8199 arg4
= wxString_in_helper(obj3
);
8200 if (arg4
== NULL
) SWIG_fail
;
8207 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
8213 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
8217 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
8218 if (!SWIG_IsOK(ecode7
)) {
8219 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "MiniFrame_Create" "', expected argument " "7"" of type '" "long""'");
8221 arg7
= static_cast< long >(val7
);
8225 arg8
= wxString_in_helper(obj7
);
8226 if (arg8
== NULL
) SWIG_fail
;
8231 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8232 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxString
const &)*arg8
);
8233 wxPyEndAllowThreads(__tstate
);
8234 if (PyErr_Occurred()) SWIG_fail
;
8237 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8261 SWIGINTERN PyObject
*MiniFrame_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8263 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
8264 SWIG_TypeNewClientData(SWIGTYPE_p_wxMiniFrame
, SWIG_NewClientData(obj
));
8265 return SWIG_Py_Void();
8268 SWIGINTERN PyObject
*MiniFrame_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8269 return SWIG_Python_InitShadowInstance(args
);
8272 SWIGINTERN PyObject
*_wrap_new_SplashScreenWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8273 PyObject
*resultobj
= 0;
8274 wxBitmap
*arg1
= 0 ;
8275 wxWindow
*arg2
= (wxWindow
*) 0 ;
8277 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
8278 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
8279 wxSize
const &arg5_defvalue
= wxDefaultSize
;
8280 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
8281 long arg6
= (long) wxNO_BORDER
;
8282 wxSplashScreenWindow
*result
= 0 ;
8293 PyObject
* obj0
= 0 ;
8294 PyObject
* obj1
= 0 ;
8295 PyObject
* obj2
= 0 ;
8296 PyObject
* obj3
= 0 ;
8297 PyObject
* obj4
= 0 ;
8298 PyObject
* obj5
= 0 ;
8299 char * kwnames
[] = {
8300 (char *) "bitmap",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
8303 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOO:new_SplashScreenWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
8304 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxBitmap
, 0 | 0);
8305 if (!SWIG_IsOK(res1
)) {
8306 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_SplashScreenWindow" "', expected argument " "1"" of type '" "wxBitmap const &""'");
8309 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_SplashScreenWindow" "', expected argument " "1"" of type '" "wxBitmap const &""'");
8311 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
8312 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
8313 if (!SWIG_IsOK(res2
)) {
8314 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_SplashScreenWindow" "', expected argument " "2"" of type '" "wxWindow *""'");
8316 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
8317 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
8318 if (!SWIG_IsOK(ecode3
)) {
8319 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_SplashScreenWindow" "', expected argument " "3"" of type '" "int""'");
8321 arg3
= static_cast< int >(val3
);
8325 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
8331 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
8335 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
8336 if (!SWIG_IsOK(ecode6
)) {
8337 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_SplashScreenWindow" "', expected argument " "6"" of type '" "long""'");
8339 arg6
= static_cast< long >(val6
);
8342 if (!wxPyCheckForApp()) SWIG_fail
;
8343 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8344 result
= (wxSplashScreenWindow
*)new wxSplashScreenWindow((wxBitmap
const &)*arg1
,arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
);
8345 wxPyEndAllowThreads(__tstate
);
8346 if (PyErr_Occurred()) SWIG_fail
;
8348 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSplashScreenWindow
, SWIG_POINTER_NEW
| 0 );
8355 SWIGINTERN PyObject
*_wrap_SplashScreenWindow_SetBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8356 PyObject
*resultobj
= 0;
8357 wxSplashScreenWindow
*arg1
= (wxSplashScreenWindow
*) 0 ;
8358 wxBitmap
*arg2
= 0 ;
8363 PyObject
* obj0
= 0 ;
8364 PyObject
* obj1
= 0 ;
8365 char * kwnames
[] = {
8366 (char *) "self",(char *) "bitmap", NULL
8369 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SplashScreenWindow_SetBitmap",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
8370 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSplashScreenWindow
, 0 | 0 );
8371 if (!SWIG_IsOK(res1
)) {
8372 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplashScreenWindow_SetBitmap" "', expected argument " "1"" of type '" "wxSplashScreenWindow *""'");
8374 arg1
= reinterpret_cast< wxSplashScreenWindow
* >(argp1
);
8375 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
8376 if (!SWIG_IsOK(res2
)) {
8377 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "SplashScreenWindow_SetBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
8380 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "SplashScreenWindow_SetBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
8382 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
8384 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8385 (arg1
)->SetBitmap((wxBitmap
const &)*arg2
);
8386 wxPyEndAllowThreads(__tstate
);
8387 if (PyErr_Occurred()) SWIG_fail
;
8389 resultobj
= SWIG_Py_Void();
8396 SWIGINTERN PyObject
*_wrap_SplashScreenWindow_GetBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8397 PyObject
*resultobj
= 0;
8398 wxSplashScreenWindow
*arg1
= (wxSplashScreenWindow
*) 0 ;
8399 wxBitmap
*result
= 0 ;
8402 PyObject
*swig_obj
[1] ;
8404 if (!args
) SWIG_fail
;
8406 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSplashScreenWindow
, 0 | 0 );
8407 if (!SWIG_IsOK(res1
)) {
8408 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplashScreenWindow_GetBitmap" "', expected argument " "1"" of type '" "wxSplashScreenWindow *""'");
8410 arg1
= reinterpret_cast< wxSplashScreenWindow
* >(argp1
);
8412 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8414 wxBitmap
&_result_ref
= (arg1
)->GetBitmap();
8415 result
= (wxBitmap
*) &_result_ref
;
8417 wxPyEndAllowThreads(__tstate
);
8418 if (PyErr_Occurred()) SWIG_fail
;
8421 wxBitmap
* resultptr
= new wxBitmap(*result
);
8422 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxBitmap
, 1);
8430 SWIGINTERN PyObject
*SplashScreenWindow_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8432 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
8433 SWIG_TypeNewClientData(SWIGTYPE_p_wxSplashScreenWindow
, SWIG_NewClientData(obj
));
8434 return SWIG_Py_Void();
8437 SWIGINTERN PyObject
*SplashScreenWindow_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8438 return SWIG_Python_InitShadowInstance(args
);
8441 SWIGINTERN PyObject
*_wrap_new_SplashScreen(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8442 PyObject
*resultobj
= 0;
8443 wxBitmap
*arg1
= 0 ;
8446 wxWindow
*arg4
= (wxWindow
*) 0 ;
8447 int arg5
= (int) -1 ;
8448 wxPoint
const &arg6_defvalue
= wxDefaultPosition
;
8449 wxPoint
*arg6
= (wxPoint
*) &arg6_defvalue
;
8450 wxSize
const &arg7_defvalue
= wxDefaultSize
;
8451 wxSize
*arg7
= (wxSize
*) &arg7_defvalue
;
8452 long arg8
= (long) wxSIMPLE_BORDER
|wxFRAME_NO_TASKBAR
|wxSTAY_ON_TOP
;
8453 wxSplashScreen
*result
= 0 ;
8468 PyObject
* obj0
= 0 ;
8469 PyObject
* obj1
= 0 ;
8470 PyObject
* obj2
= 0 ;
8471 PyObject
* obj3
= 0 ;
8472 PyObject
* obj4
= 0 ;
8473 PyObject
* obj5
= 0 ;
8474 PyObject
* obj6
= 0 ;
8475 PyObject
* obj7
= 0 ;
8476 char * kwnames
[] = {
8477 (char *) "bitmap",(char *) "splashStyle",(char *) "milliseconds",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
8480 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOOO:new_SplashScreen",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
8481 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxBitmap
, 0 | 0);
8482 if (!SWIG_IsOK(res1
)) {
8483 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_SplashScreen" "', expected argument " "1"" of type '" "wxBitmap const &""'");
8486 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_SplashScreen" "', expected argument " "1"" of type '" "wxBitmap const &""'");
8488 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
8489 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
8490 if (!SWIG_IsOK(ecode2
)) {
8491 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_SplashScreen" "', expected argument " "2"" of type '" "long""'");
8493 arg2
= static_cast< long >(val2
);
8494 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
8495 if (!SWIG_IsOK(ecode3
)) {
8496 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_SplashScreen" "', expected argument " "3"" of type '" "int""'");
8498 arg3
= static_cast< int >(val3
);
8499 res4
= SWIG_ConvertPtr(obj3
, &argp4
,SWIGTYPE_p_wxWindow
, 0 | 0 );
8500 if (!SWIG_IsOK(res4
)) {
8501 SWIG_exception_fail(SWIG_ArgError(res4
), "in method '" "new_SplashScreen" "', expected argument " "4"" of type '" "wxWindow *""'");
8503 arg4
= reinterpret_cast< wxWindow
* >(argp4
);
8505 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
8506 if (!SWIG_IsOK(ecode5
)) {
8507 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_SplashScreen" "', expected argument " "5"" of type '" "int""'");
8509 arg5
= static_cast< int >(val5
);
8514 if ( ! wxPoint_helper(obj5
, &arg6
)) SWIG_fail
;
8520 if ( ! wxSize_helper(obj6
, &arg7
)) SWIG_fail
;
8524 ecode8
= SWIG_AsVal_long(obj7
, &val8
);
8525 if (!SWIG_IsOK(ecode8
)) {
8526 SWIG_exception_fail(SWIG_ArgError(ecode8
), "in method '" "new_SplashScreen" "', expected argument " "8"" of type '" "long""'");
8528 arg8
= static_cast< long >(val8
);
8531 if (!wxPyCheckForApp()) SWIG_fail
;
8532 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8533 result
= (wxSplashScreen
*)new wxSplashScreen((wxBitmap
const &)*arg1
,arg2
,arg3
,arg4
,arg5
,(wxPoint
const &)*arg6
,(wxSize
const &)*arg7
,arg8
);
8534 wxPyEndAllowThreads(__tstate
);
8535 if (PyErr_Occurred()) SWIG_fail
;
8537 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSplashScreen
, SWIG_POINTER_NEW
| 0 );
8544 SWIGINTERN PyObject
*_wrap_SplashScreen_GetSplashStyle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8545 PyObject
*resultobj
= 0;
8546 wxSplashScreen
*arg1
= (wxSplashScreen
*) 0 ;
8550 PyObject
*swig_obj
[1] ;
8552 if (!args
) SWIG_fail
;
8554 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSplashScreen
, 0 | 0 );
8555 if (!SWIG_IsOK(res1
)) {
8556 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplashScreen_GetSplashStyle" "', expected argument " "1"" of type '" "wxSplashScreen const *""'");
8558 arg1
= reinterpret_cast< wxSplashScreen
* >(argp1
);
8560 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8561 result
= (long)((wxSplashScreen
const *)arg1
)->GetSplashStyle();
8562 wxPyEndAllowThreads(__tstate
);
8563 if (PyErr_Occurred()) SWIG_fail
;
8565 resultobj
= SWIG_From_long(static_cast< long >(result
));
8572 SWIGINTERN PyObject
*_wrap_SplashScreen_GetSplashWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8573 PyObject
*resultobj
= 0;
8574 wxSplashScreen
*arg1
= (wxSplashScreen
*) 0 ;
8575 wxSplashScreenWindow
*result
= 0 ;
8578 PyObject
*swig_obj
[1] ;
8580 if (!args
) SWIG_fail
;
8582 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSplashScreen
, 0 | 0 );
8583 if (!SWIG_IsOK(res1
)) {
8584 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplashScreen_GetSplashWindow" "', expected argument " "1"" of type '" "wxSplashScreen const *""'");
8586 arg1
= reinterpret_cast< wxSplashScreen
* >(argp1
);
8588 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8589 result
= (wxSplashScreenWindow
*)((wxSplashScreen
const *)arg1
)->GetSplashWindow();
8590 wxPyEndAllowThreads(__tstate
);
8591 if (PyErr_Occurred()) SWIG_fail
;
8593 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSplashScreenWindow
, 0 | 0 );
8600 SWIGINTERN PyObject
*_wrap_SplashScreen_GetTimeout(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8601 PyObject
*resultobj
= 0;
8602 wxSplashScreen
*arg1
= (wxSplashScreen
*) 0 ;
8606 PyObject
*swig_obj
[1] ;
8608 if (!args
) SWIG_fail
;
8610 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSplashScreen
, 0 | 0 );
8611 if (!SWIG_IsOK(res1
)) {
8612 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplashScreen_GetTimeout" "', expected argument " "1"" of type '" "wxSplashScreen const *""'");
8614 arg1
= reinterpret_cast< wxSplashScreen
* >(argp1
);
8616 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8617 result
= (int)((wxSplashScreen
const *)arg1
)->GetTimeout();
8618 wxPyEndAllowThreads(__tstate
);
8619 if (PyErr_Occurred()) SWIG_fail
;
8621 resultobj
= SWIG_From_int(static_cast< int >(result
));
8628 SWIGINTERN PyObject
*SplashScreen_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8630 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
8631 SWIG_TypeNewClientData(SWIGTYPE_p_wxSplashScreen
, SWIG_NewClientData(obj
));
8632 return SWIG_Py_Void();
8635 SWIGINTERN PyObject
*SplashScreen_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8636 return SWIG_Python_InitShadowInstance(args
);
8639 SWIGINTERN PyObject
*_wrap_new_StatusBar(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8640 PyObject
*resultobj
= 0;
8641 wxWindow
*arg1
= (wxWindow
*) 0 ;
8642 int arg2
= (int) -1 ;
8643 long arg3
= (long) wxDEFAULT_STATUSBAR_STYLE
;
8644 wxString
const &arg4_defvalue
= wxPyStatusLineNameStr
;
8645 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
8646 wxStatusBar
*result
= 0 ;
8653 bool temp4
= false ;
8654 PyObject
* obj0
= 0 ;
8655 PyObject
* obj1
= 0 ;
8656 PyObject
* obj2
= 0 ;
8657 PyObject
* obj3
= 0 ;
8658 char * kwnames
[] = {
8659 (char *) "parent",(char *) "id",(char *) "style",(char *) "name", NULL
8662 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOO:new_StatusBar",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
8663 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
8664 if (!SWIG_IsOK(res1
)) {
8665 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_StatusBar" "', expected argument " "1"" of type '" "wxWindow *""'");
8667 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
8669 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
8670 if (!SWIG_IsOK(ecode2
)) {
8671 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_StatusBar" "', expected argument " "2"" of type '" "int""'");
8673 arg2
= static_cast< int >(val2
);
8676 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
8677 if (!SWIG_IsOK(ecode3
)) {
8678 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_StatusBar" "', expected argument " "3"" of type '" "long""'");
8680 arg3
= static_cast< long >(val3
);
8684 arg4
= wxString_in_helper(obj3
);
8685 if (arg4
== NULL
) SWIG_fail
;
8690 if (!wxPyCheckForApp()) SWIG_fail
;
8691 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8692 result
= (wxStatusBar
*)new wxStatusBar(arg1
,arg2
,arg3
,(wxString
const &)*arg4
);
8693 wxPyEndAllowThreads(__tstate
);
8694 if (PyErr_Occurred()) SWIG_fail
;
8696 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxStatusBar
, SWIG_POINTER_NEW
| 0 );
8711 SWIGINTERN PyObject
*_wrap_new_PreStatusBar(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8712 PyObject
*resultobj
= 0;
8713 wxStatusBar
*result
= 0 ;
8715 if (!SWIG_Python_UnpackTuple(args
,"new_PreStatusBar",0,0,0)) SWIG_fail
;
8717 if (!wxPyCheckForApp()) SWIG_fail
;
8718 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8719 result
= (wxStatusBar
*)new wxStatusBar();
8720 wxPyEndAllowThreads(__tstate
);
8721 if (PyErr_Occurred()) SWIG_fail
;
8723 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxStatusBar
, SWIG_POINTER_OWN
| 0 );
8730 SWIGINTERN PyObject
*_wrap_StatusBar_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8731 PyObject
*resultobj
= 0;
8732 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
8733 wxWindow
*arg2
= (wxWindow
*) 0 ;
8734 int arg3
= (int) -1 ;
8735 long arg4
= (long) wxST_SIZEGRIP
;
8736 wxString
const &arg5_defvalue
= wxPyStatusLineNameStr
;
8737 wxString
*arg5
= (wxString
*) &arg5_defvalue
;
8747 bool temp5
= false ;
8748 PyObject
* obj0
= 0 ;
8749 PyObject
* obj1
= 0 ;
8750 PyObject
* obj2
= 0 ;
8751 PyObject
* obj3
= 0 ;
8752 PyObject
* obj4
= 0 ;
8753 char * kwnames
[] = {
8754 (char *) "self",(char *) "parent",(char *) "id",(char *) "style",(char *) "name", NULL
8757 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOO:StatusBar_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
8758 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxStatusBar
, 0 | 0 );
8759 if (!SWIG_IsOK(res1
)) {
8760 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StatusBar_Create" "', expected argument " "1"" of type '" "wxStatusBar *""'");
8762 arg1
= reinterpret_cast< wxStatusBar
* >(argp1
);
8763 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
8764 if (!SWIG_IsOK(res2
)) {
8765 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "StatusBar_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
8767 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
8769 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
8770 if (!SWIG_IsOK(ecode3
)) {
8771 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "StatusBar_Create" "', expected argument " "3"" of type '" "int""'");
8773 arg3
= static_cast< int >(val3
);
8776 ecode4
= SWIG_AsVal_long(obj3
, &val4
);
8777 if (!SWIG_IsOK(ecode4
)) {
8778 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "StatusBar_Create" "', expected argument " "4"" of type '" "long""'");
8780 arg4
= static_cast< long >(val4
);
8784 arg5
= wxString_in_helper(obj4
);
8785 if (arg5
== NULL
) SWIG_fail
;
8790 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8791 result
= (bool)(arg1
)->Create(arg2
,arg3
,arg4
,(wxString
const &)*arg5
);
8792 wxPyEndAllowThreads(__tstate
);
8793 if (PyErr_Occurred()) SWIG_fail
;
8796 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8812 SWIGINTERN PyObject
*_wrap_StatusBar_SetFieldsCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8813 PyObject
*resultobj
= 0;
8814 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
8815 int arg2
= (int) 1 ;
8820 PyObject
* obj0
= 0 ;
8821 PyObject
* obj1
= 0 ;
8822 char * kwnames
[] = {
8823 (char *) "self",(char *) "number", NULL
8826 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:StatusBar_SetFieldsCount",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
8827 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxStatusBar
, 0 | 0 );
8828 if (!SWIG_IsOK(res1
)) {
8829 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StatusBar_SetFieldsCount" "', expected argument " "1"" of type '" "wxStatusBar *""'");
8831 arg1
= reinterpret_cast< wxStatusBar
* >(argp1
);
8833 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
8834 if (!SWIG_IsOK(ecode2
)) {
8835 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "StatusBar_SetFieldsCount" "', expected argument " "2"" of type '" "int""'");
8837 arg2
= static_cast< int >(val2
);
8840 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8841 (arg1
)->SetFieldsCount(arg2
);
8842 wxPyEndAllowThreads(__tstate
);
8843 if (PyErr_Occurred()) SWIG_fail
;
8845 resultobj
= SWIG_Py_Void();
8852 SWIGINTERN PyObject
*_wrap_StatusBar_GetFieldsCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8853 PyObject
*resultobj
= 0;
8854 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
8858 PyObject
*swig_obj
[1] ;
8860 if (!args
) SWIG_fail
;
8862 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxStatusBar
, 0 | 0 );
8863 if (!SWIG_IsOK(res1
)) {
8864 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StatusBar_GetFieldsCount" "', expected argument " "1"" of type '" "wxStatusBar const *""'");
8866 arg1
= reinterpret_cast< wxStatusBar
* >(argp1
);
8868 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8869 result
= (int)((wxStatusBar
const *)arg1
)->GetFieldsCount();
8870 wxPyEndAllowThreads(__tstate
);
8871 if (PyErr_Occurred()) SWIG_fail
;
8873 resultobj
= SWIG_From_int(static_cast< int >(result
));
8880 SWIGINTERN PyObject
*_wrap_StatusBar_SetStatusText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8881 PyObject
*resultobj
= 0;
8882 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
8883 wxString
*arg2
= 0 ;
8884 int arg3
= (int) 0 ;
8887 bool temp2
= false ;
8890 PyObject
* obj0
= 0 ;
8891 PyObject
* obj1
= 0 ;
8892 PyObject
* obj2
= 0 ;
8893 char * kwnames
[] = {
8894 (char *) "self",(char *) "text",(char *) "number", NULL
8897 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:StatusBar_SetStatusText",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
8898 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxStatusBar
, 0 | 0 );
8899 if (!SWIG_IsOK(res1
)) {
8900 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StatusBar_SetStatusText" "', expected argument " "1"" of type '" "wxStatusBar *""'");
8902 arg1
= reinterpret_cast< wxStatusBar
* >(argp1
);
8904 arg2
= wxString_in_helper(obj1
);
8905 if (arg2
== NULL
) SWIG_fail
;
8909 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
8910 if (!SWIG_IsOK(ecode3
)) {
8911 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "StatusBar_SetStatusText" "', expected argument " "3"" of type '" "int""'");
8913 arg3
= static_cast< int >(val3
);
8916 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8917 (arg1
)->SetStatusText((wxString
const &)*arg2
,arg3
);
8918 wxPyEndAllowThreads(__tstate
);
8919 if (PyErr_Occurred()) SWIG_fail
;
8921 resultobj
= SWIG_Py_Void();
8936 SWIGINTERN PyObject
*_wrap_StatusBar_GetStatusText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8937 PyObject
*resultobj
= 0;
8938 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
8939 int arg2
= (int) 0 ;
8945 PyObject
* obj0
= 0 ;
8946 PyObject
* obj1
= 0 ;
8947 char * kwnames
[] = {
8948 (char *) "self",(char *) "number", NULL
8951 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:StatusBar_GetStatusText",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
8952 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxStatusBar
, 0 | 0 );
8953 if (!SWIG_IsOK(res1
)) {
8954 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StatusBar_GetStatusText" "', expected argument " "1"" of type '" "wxStatusBar const *""'");
8956 arg1
= reinterpret_cast< wxStatusBar
* >(argp1
);
8958 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
8959 if (!SWIG_IsOK(ecode2
)) {
8960 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "StatusBar_GetStatusText" "', expected argument " "2"" of type '" "int""'");
8962 arg2
= static_cast< int >(val2
);
8965 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8966 result
= ((wxStatusBar
const *)arg1
)->GetStatusText(arg2
);
8967 wxPyEndAllowThreads(__tstate
);
8968 if (PyErr_Occurred()) SWIG_fail
;
8972 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
8974 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
8983 SWIGINTERN PyObject
*_wrap_StatusBar_PushStatusText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8984 PyObject
*resultobj
= 0;
8985 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
8986 wxString
*arg2
= 0 ;
8987 int arg3
= (int) 0 ;
8990 bool temp2
= false ;
8993 PyObject
* obj0
= 0 ;
8994 PyObject
* obj1
= 0 ;
8995 PyObject
* obj2
= 0 ;
8996 char * kwnames
[] = {
8997 (char *) "self",(char *) "text",(char *) "number", NULL
9000 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:StatusBar_PushStatusText",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
9001 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxStatusBar
, 0 | 0 );
9002 if (!SWIG_IsOK(res1
)) {
9003 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StatusBar_PushStatusText" "', expected argument " "1"" of type '" "wxStatusBar *""'");
9005 arg1
= reinterpret_cast< wxStatusBar
* >(argp1
);
9007 arg2
= wxString_in_helper(obj1
);
9008 if (arg2
== NULL
) SWIG_fail
;
9012 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
9013 if (!SWIG_IsOK(ecode3
)) {
9014 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "StatusBar_PushStatusText" "', expected argument " "3"" of type '" "int""'");
9016 arg3
= static_cast< int >(val3
);
9019 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9020 (arg1
)->PushStatusText((wxString
const &)*arg2
,arg3
);
9021 wxPyEndAllowThreads(__tstate
);
9022 if (PyErr_Occurred()) SWIG_fail
;
9024 resultobj
= SWIG_Py_Void();
9039 SWIGINTERN PyObject
*_wrap_StatusBar_PopStatusText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9040 PyObject
*resultobj
= 0;
9041 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
9042 int arg2
= (int) 0 ;
9047 PyObject
* obj0
= 0 ;
9048 PyObject
* obj1
= 0 ;
9049 char * kwnames
[] = {
9050 (char *) "self",(char *) "number", NULL
9053 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:StatusBar_PopStatusText",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9054 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxStatusBar
, 0 | 0 );
9055 if (!SWIG_IsOK(res1
)) {
9056 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StatusBar_PopStatusText" "', expected argument " "1"" of type '" "wxStatusBar *""'");
9058 arg1
= reinterpret_cast< wxStatusBar
* >(argp1
);
9060 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9061 if (!SWIG_IsOK(ecode2
)) {
9062 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "StatusBar_PopStatusText" "', expected argument " "2"" of type '" "int""'");
9064 arg2
= static_cast< int >(val2
);
9067 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9068 (arg1
)->PopStatusText(arg2
);
9069 wxPyEndAllowThreads(__tstate
);
9070 if (PyErr_Occurred()) SWIG_fail
;
9072 resultobj
= SWIG_Py_Void();
9079 SWIGINTERN PyObject
*_wrap_StatusBar_SetStatusWidths(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9080 PyObject
*resultobj
= 0;
9081 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
9083 int *arg3
= (int *) 0 ;
9086 PyObject
* obj0
= 0 ;
9087 PyObject
* obj1
= 0 ;
9088 char * kwnames
[] = {
9089 (char *) "self",(char *) "widths", NULL
9092 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StatusBar_SetStatusWidths",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9093 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxStatusBar
, 0 | 0 );
9094 if (!SWIG_IsOK(res1
)) {
9095 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StatusBar_SetStatusWidths" "', expected argument " "1"" of type '" "wxStatusBar *""'");
9097 arg1
= reinterpret_cast< wxStatusBar
* >(argp1
);
9099 arg2
= PyList_Size(obj1
);
9100 arg3
= int_LIST_helper(obj1
);
9101 if (arg3
== NULL
) SWIG_fail
;
9104 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9105 (arg1
)->SetStatusWidths(arg2
,(int const *)arg3
);
9106 wxPyEndAllowThreads(__tstate
);
9107 if (PyErr_Occurred()) SWIG_fail
;
9109 resultobj
= SWIG_Py_Void();
9111 if (arg3
) delete [] arg3
;
9116 if (arg3
) delete [] arg3
;
9122 SWIGINTERN PyObject
*_wrap_StatusBar_SetStatusStyles(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9123 PyObject
*resultobj
= 0;
9124 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
9126 int *arg3
= (int *) 0 ;
9129 PyObject
* obj0
= 0 ;
9130 PyObject
* obj1
= 0 ;
9131 char * kwnames
[] = {
9132 (char *) "self",(char *) "styles", NULL
9135 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StatusBar_SetStatusStyles",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9136 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxStatusBar
, 0 | 0 );
9137 if (!SWIG_IsOK(res1
)) {
9138 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StatusBar_SetStatusStyles" "', expected argument " "1"" of type '" "wxStatusBar *""'");
9140 arg1
= reinterpret_cast< wxStatusBar
* >(argp1
);
9142 arg2
= PyList_Size(obj1
);
9143 arg3
= int_LIST_helper(obj1
);
9144 if (arg3
== NULL
) SWIG_fail
;
9147 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9148 (arg1
)->SetStatusStyles(arg2
,(int const *)arg3
);
9149 wxPyEndAllowThreads(__tstate
);
9150 if (PyErr_Occurred()) SWIG_fail
;
9152 resultobj
= SWIG_Py_Void();
9154 if (arg3
) delete [] arg3
;
9159 if (arg3
) delete [] arg3
;
9165 SWIGINTERN PyObject
*_wrap_StatusBar_GetFieldRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9166 PyObject
*resultobj
= 0;
9167 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
9174 PyObject
* obj0
= 0 ;
9175 PyObject
* obj1
= 0 ;
9176 char * kwnames
[] = {
9177 (char *) "self",(char *) "i", NULL
9180 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StatusBar_GetFieldRect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9181 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxStatusBar
, 0 | 0 );
9182 if (!SWIG_IsOK(res1
)) {
9183 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StatusBar_GetFieldRect" "', expected argument " "1"" of type '" "wxStatusBar *""'");
9185 arg1
= reinterpret_cast< wxStatusBar
* >(argp1
);
9186 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9187 if (!SWIG_IsOK(ecode2
)) {
9188 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "StatusBar_GetFieldRect" "', expected argument " "2"" of type '" "int""'");
9190 arg2
= static_cast< int >(val2
);
9192 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9193 result
= wxStatusBar_GetFieldRect(arg1
,arg2
);
9194 wxPyEndAllowThreads(__tstate
);
9195 if (PyErr_Occurred()) SWIG_fail
;
9197 resultobj
= SWIG_NewPointerObj((new wxRect(static_cast< const wxRect
& >(result
))), SWIGTYPE_p_wxRect
, SWIG_POINTER_OWN
| 0 );
9204 SWIGINTERN PyObject
*_wrap_StatusBar_SetMinHeight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9205 PyObject
*resultobj
= 0;
9206 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
9212 PyObject
* obj0
= 0 ;
9213 PyObject
* obj1
= 0 ;
9214 char * kwnames
[] = {
9215 (char *) "self",(char *) "height", NULL
9218 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StatusBar_SetMinHeight",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9219 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxStatusBar
, 0 | 0 );
9220 if (!SWIG_IsOK(res1
)) {
9221 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StatusBar_SetMinHeight" "', expected argument " "1"" of type '" "wxStatusBar *""'");
9223 arg1
= reinterpret_cast< wxStatusBar
* >(argp1
);
9224 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9225 if (!SWIG_IsOK(ecode2
)) {
9226 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "StatusBar_SetMinHeight" "', expected argument " "2"" of type '" "int""'");
9228 arg2
= static_cast< int >(val2
);
9230 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9231 (arg1
)->SetMinHeight(arg2
);
9232 wxPyEndAllowThreads(__tstate
);
9233 if (PyErr_Occurred()) SWIG_fail
;
9235 resultobj
= SWIG_Py_Void();
9242 SWIGINTERN PyObject
*_wrap_StatusBar_GetBorderX(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9243 PyObject
*resultobj
= 0;
9244 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
9248 PyObject
*swig_obj
[1] ;
9250 if (!args
) SWIG_fail
;
9252 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxStatusBar
, 0 | 0 );
9253 if (!SWIG_IsOK(res1
)) {
9254 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StatusBar_GetBorderX" "', expected argument " "1"" of type '" "wxStatusBar const *""'");
9256 arg1
= reinterpret_cast< wxStatusBar
* >(argp1
);
9258 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9259 result
= (int)((wxStatusBar
const *)arg1
)->GetBorderX();
9260 wxPyEndAllowThreads(__tstate
);
9261 if (PyErr_Occurred()) SWIG_fail
;
9263 resultobj
= SWIG_From_int(static_cast< int >(result
));
9270 SWIGINTERN PyObject
*_wrap_StatusBar_GetBorderY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9271 PyObject
*resultobj
= 0;
9272 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
9276 PyObject
*swig_obj
[1] ;
9278 if (!args
) SWIG_fail
;
9280 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxStatusBar
, 0 | 0 );
9281 if (!SWIG_IsOK(res1
)) {
9282 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StatusBar_GetBorderY" "', expected argument " "1"" of type '" "wxStatusBar const *""'");
9284 arg1
= reinterpret_cast< wxStatusBar
* >(argp1
);
9286 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9287 result
= (int)((wxStatusBar
const *)arg1
)->GetBorderY();
9288 wxPyEndAllowThreads(__tstate
);
9289 if (PyErr_Occurred()) SWIG_fail
;
9291 resultobj
= SWIG_From_int(static_cast< int >(result
));
9298 SWIGINTERN PyObject
*_wrap_StatusBar_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9299 PyObject
*resultobj
= 0;
9300 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
9301 SwigValueWrapper
<wxVisualAttributes
> result
;
9304 PyObject
* obj0
= 0 ;
9305 char * kwnames
[] = {
9306 (char *) "variant", NULL
9309 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:StatusBar_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
9311 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
9312 if (!SWIG_IsOK(ecode1
)) {
9313 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "StatusBar_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
9315 arg1
= static_cast< wxWindowVariant
>(val1
);
9318 if (!wxPyCheckForApp()) SWIG_fail
;
9319 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9320 result
= wxStatusBar::GetClassDefaultAttributes(arg1
);
9321 wxPyEndAllowThreads(__tstate
);
9322 if (PyErr_Occurred()) SWIG_fail
;
9324 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
9331 SWIGINTERN PyObject
*StatusBar_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9333 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
9334 SWIG_TypeNewClientData(SWIGTYPE_p_wxStatusBar
, SWIG_NewClientData(obj
));
9335 return SWIG_Py_Void();
9338 SWIGINTERN PyObject
*StatusBar_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9339 return SWIG_Python_InitShadowInstance(args
);
9342 SWIGINTERN
int SplitterNameStr_set(PyObject
*) {
9343 SWIG_Error(SWIG_AttributeError
,"Variable SplitterNameStr is read-only.");
9348 SWIGINTERN PyObject
*SplitterNameStr_get(void) {
9349 PyObject
*pyobj
= 0;
9353 pyobj
= PyUnicode_FromWideChar((&wxPySplitterNameStr
)->c_str(), (&wxPySplitterNameStr
)->Len());
9355 pyobj
= PyString_FromStringAndSize((&wxPySplitterNameStr
)->c_str(), (&wxPySplitterNameStr
)->Len());
9362 SWIGINTERN PyObject
*_wrap_new_SplitterWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9363 PyObject
*resultobj
= 0;
9364 wxWindow
*arg1
= (wxWindow
*) 0 ;
9365 int arg2
= (int) -1 ;
9366 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
9367 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
9368 wxSize
const &arg4_defvalue
= wxDefaultSize
;
9369 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
9370 long arg5
= (long) wxSP_3D
;
9371 wxString
const &arg6_defvalue
= wxPySplitterNameStr
;
9372 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
9373 wxSplitterWindow
*result
= 0 ;
9382 bool temp6
= false ;
9383 PyObject
* obj0
= 0 ;
9384 PyObject
* obj1
= 0 ;
9385 PyObject
* obj2
= 0 ;
9386 PyObject
* obj3
= 0 ;
9387 PyObject
* obj4
= 0 ;
9388 PyObject
* obj5
= 0 ;
9389 char * kwnames
[] = {
9390 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
9393 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_SplitterWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
9394 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
9395 if (!SWIG_IsOK(res1
)) {
9396 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_SplitterWindow" "', expected argument " "1"" of type '" "wxWindow *""'");
9398 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
9400 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9401 if (!SWIG_IsOK(ecode2
)) {
9402 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_SplitterWindow" "', expected argument " "2"" of type '" "int""'");
9404 arg2
= static_cast< int >(val2
);
9409 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
9415 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
9419 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
9420 if (!SWIG_IsOK(ecode5
)) {
9421 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_SplitterWindow" "', expected argument " "5"" of type '" "long""'");
9423 arg5
= static_cast< long >(val5
);
9427 arg6
= wxString_in_helper(obj5
);
9428 if (arg6
== NULL
) SWIG_fail
;
9433 if (!wxPyCheckForApp()) SWIG_fail
;
9434 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9435 result
= (wxSplitterWindow
*)new wxSplitterWindow(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
9436 wxPyEndAllowThreads(__tstate
);
9437 if (PyErr_Occurred()) SWIG_fail
;
9439 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSplitterWindow
, SWIG_POINTER_NEW
| 0 );
9454 SWIGINTERN PyObject
*_wrap_new_PreSplitterWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9455 PyObject
*resultobj
= 0;
9456 wxSplitterWindow
*result
= 0 ;
9458 if (!SWIG_Python_UnpackTuple(args
,"new_PreSplitterWindow",0,0,0)) SWIG_fail
;
9460 if (!wxPyCheckForApp()) SWIG_fail
;
9461 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9462 result
= (wxSplitterWindow
*)new wxSplitterWindow();
9463 wxPyEndAllowThreads(__tstate
);
9464 if (PyErr_Occurred()) SWIG_fail
;
9466 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSplitterWindow
, SWIG_POINTER_OWN
| 0 );
9473 SWIGINTERN PyObject
*_wrap_SplitterWindow_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9474 PyObject
*resultobj
= 0;
9475 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
9476 wxWindow
*arg2
= (wxWindow
*) 0 ;
9477 int arg3
= (int) -1 ;
9478 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
9479 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
9480 wxSize
const &arg5_defvalue
= wxDefaultSize
;
9481 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
9482 long arg6
= (long) wxSP_3D
;
9483 wxString
const &arg7_defvalue
= wxPySplitterNameStr
;
9484 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
9496 bool temp7
= false ;
9497 PyObject
* obj0
= 0 ;
9498 PyObject
* obj1
= 0 ;
9499 PyObject
* obj2
= 0 ;
9500 PyObject
* obj3
= 0 ;
9501 PyObject
* obj4
= 0 ;
9502 PyObject
* obj5
= 0 ;
9503 PyObject
* obj6
= 0 ;
9504 char * kwnames
[] = {
9505 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
9508 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:SplitterWindow_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
9509 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSplitterWindow
, 0 | 0 );
9510 if (!SWIG_IsOK(res1
)) {
9511 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterWindow_Create" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
9513 arg1
= reinterpret_cast< wxSplitterWindow
* >(argp1
);
9514 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
9515 if (!SWIG_IsOK(res2
)) {
9516 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "SplitterWindow_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
9518 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
9520 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
9521 if (!SWIG_IsOK(ecode3
)) {
9522 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "SplitterWindow_Create" "', expected argument " "3"" of type '" "int""'");
9524 arg3
= static_cast< int >(val3
);
9529 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
9535 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
9539 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
9540 if (!SWIG_IsOK(ecode6
)) {
9541 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "SplitterWindow_Create" "', expected argument " "6"" of type '" "long""'");
9543 arg6
= static_cast< long >(val6
);
9547 arg7
= wxString_in_helper(obj6
);
9548 if (arg7
== NULL
) SWIG_fail
;
9553 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9554 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
9555 wxPyEndAllowThreads(__tstate
);
9556 if (PyErr_Occurred()) SWIG_fail
;
9559 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9575 SWIGINTERN PyObject
*_wrap_SplitterWindow_GetWindow1(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9576 PyObject
*resultobj
= 0;
9577 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
9578 wxWindow
*result
= 0 ;
9581 PyObject
*swig_obj
[1] ;
9583 if (!args
) SWIG_fail
;
9585 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSplitterWindow
, 0 | 0 );
9586 if (!SWIG_IsOK(res1
)) {
9587 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterWindow_GetWindow1" "', expected argument " "1"" of type '" "wxSplitterWindow const *""'");
9589 arg1
= reinterpret_cast< wxSplitterWindow
* >(argp1
);
9591 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9592 result
= (wxWindow
*)((wxSplitterWindow
const *)arg1
)->GetWindow1();
9593 wxPyEndAllowThreads(__tstate
);
9594 if (PyErr_Occurred()) SWIG_fail
;
9597 resultobj
= wxPyMake_wxObject(result
, 0);
9605 SWIGINTERN PyObject
*_wrap_SplitterWindow_GetWindow2(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9606 PyObject
*resultobj
= 0;
9607 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
9608 wxWindow
*result
= 0 ;
9611 PyObject
*swig_obj
[1] ;
9613 if (!args
) SWIG_fail
;
9615 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSplitterWindow
, 0 | 0 );
9616 if (!SWIG_IsOK(res1
)) {
9617 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterWindow_GetWindow2" "', expected argument " "1"" of type '" "wxSplitterWindow const *""'");
9619 arg1
= reinterpret_cast< wxSplitterWindow
* >(argp1
);
9621 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9622 result
= (wxWindow
*)((wxSplitterWindow
const *)arg1
)->GetWindow2();
9623 wxPyEndAllowThreads(__tstate
);
9624 if (PyErr_Occurred()) SWIG_fail
;
9627 resultobj
= wxPyMake_wxObject(result
, 0);
9635 SWIGINTERN PyObject
*_wrap_SplitterWindow_SetSplitMode(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9636 PyObject
*resultobj
= 0;
9637 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
9643 PyObject
* obj0
= 0 ;
9644 PyObject
* obj1
= 0 ;
9645 char * kwnames
[] = {
9646 (char *) "self",(char *) "mode", NULL
9649 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SplitterWindow_SetSplitMode",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9650 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSplitterWindow
, 0 | 0 );
9651 if (!SWIG_IsOK(res1
)) {
9652 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterWindow_SetSplitMode" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
9654 arg1
= reinterpret_cast< wxSplitterWindow
* >(argp1
);
9655 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9656 if (!SWIG_IsOK(ecode2
)) {
9657 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SplitterWindow_SetSplitMode" "', expected argument " "2"" of type '" "int""'");
9659 arg2
= static_cast< int >(val2
);
9661 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9662 (arg1
)->SetSplitMode(arg2
);
9663 wxPyEndAllowThreads(__tstate
);
9664 if (PyErr_Occurred()) SWIG_fail
;
9666 resultobj
= SWIG_Py_Void();
9673 SWIGINTERN PyObject
*_wrap_SplitterWindow_GetSplitMode(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9674 PyObject
*resultobj
= 0;
9675 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
9679 PyObject
*swig_obj
[1] ;
9681 if (!args
) SWIG_fail
;
9683 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSplitterWindow
, 0 | 0 );
9684 if (!SWIG_IsOK(res1
)) {
9685 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterWindow_GetSplitMode" "', expected argument " "1"" of type '" "wxSplitterWindow const *""'");
9687 arg1
= reinterpret_cast< wxSplitterWindow
* >(argp1
);
9689 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9690 result
= (wxSplitMode
)((wxSplitterWindow
const *)arg1
)->GetSplitMode();
9691 wxPyEndAllowThreads(__tstate
);
9692 if (PyErr_Occurred()) SWIG_fail
;
9694 resultobj
= SWIG_From_int(static_cast< int >(result
));
9701 SWIGINTERN PyObject
*_wrap_SplitterWindow_Initialize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9702 PyObject
*resultobj
= 0;
9703 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
9704 wxWindow
*arg2
= (wxWindow
*) 0 ;
9709 PyObject
* obj0
= 0 ;
9710 PyObject
* obj1
= 0 ;
9711 char * kwnames
[] = {
9712 (char *) "self",(char *) "window", NULL
9715 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SplitterWindow_Initialize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9716 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSplitterWindow
, 0 | 0 );
9717 if (!SWIG_IsOK(res1
)) {
9718 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterWindow_Initialize" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
9720 arg1
= reinterpret_cast< wxSplitterWindow
* >(argp1
);
9721 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
9722 if (!SWIG_IsOK(res2
)) {
9723 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "SplitterWindow_Initialize" "', expected argument " "2"" of type '" "wxWindow *""'");
9725 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
9727 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9728 (arg1
)->Initialize(arg2
);
9729 wxPyEndAllowThreads(__tstate
);
9730 if (PyErr_Occurred()) SWIG_fail
;
9732 resultobj
= SWIG_Py_Void();
9739 SWIGINTERN PyObject
*_wrap_SplitterWindow_SplitVertically(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9740 PyObject
*resultobj
= 0;
9741 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
9742 wxWindow
*arg2
= (wxWindow
*) 0 ;
9743 wxWindow
*arg3
= (wxWindow
*) 0 ;
9744 int arg4
= (int) 0 ;
9754 PyObject
* obj0
= 0 ;
9755 PyObject
* obj1
= 0 ;
9756 PyObject
* obj2
= 0 ;
9757 PyObject
* obj3
= 0 ;
9758 char * kwnames
[] = {
9759 (char *) "self",(char *) "window1",(char *) "window2",(char *) "sashPosition", NULL
9762 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:SplitterWindow_SplitVertically",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
9763 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSplitterWindow
, 0 | 0 );
9764 if (!SWIG_IsOK(res1
)) {
9765 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterWindow_SplitVertically" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
9767 arg1
= reinterpret_cast< wxSplitterWindow
* >(argp1
);
9768 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
9769 if (!SWIG_IsOK(res2
)) {
9770 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "SplitterWindow_SplitVertically" "', expected argument " "2"" of type '" "wxWindow *""'");
9772 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
9773 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxWindow
, 0 | 0 );
9774 if (!SWIG_IsOK(res3
)) {
9775 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "SplitterWindow_SplitVertically" "', expected argument " "3"" of type '" "wxWindow *""'");
9777 arg3
= reinterpret_cast< wxWindow
* >(argp3
);
9779 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
9780 if (!SWIG_IsOK(ecode4
)) {
9781 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "SplitterWindow_SplitVertically" "', expected argument " "4"" of type '" "int""'");
9783 arg4
= static_cast< int >(val4
);
9786 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9787 result
= (bool)(arg1
)->SplitVertically(arg2
,arg3
,arg4
);
9788 wxPyEndAllowThreads(__tstate
);
9789 if (PyErr_Occurred()) SWIG_fail
;
9792 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9800 SWIGINTERN PyObject
*_wrap_SplitterWindow_SplitHorizontally(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9801 PyObject
*resultobj
= 0;
9802 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
9803 wxWindow
*arg2
= (wxWindow
*) 0 ;
9804 wxWindow
*arg3
= (wxWindow
*) 0 ;
9805 int arg4
= (int) 0 ;
9815 PyObject
* obj0
= 0 ;
9816 PyObject
* obj1
= 0 ;
9817 PyObject
* obj2
= 0 ;
9818 PyObject
* obj3
= 0 ;
9819 char * kwnames
[] = {
9820 (char *) "self",(char *) "window1",(char *) "window2",(char *) "sashPosition", NULL
9823 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:SplitterWindow_SplitHorizontally",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
9824 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSplitterWindow
, 0 | 0 );
9825 if (!SWIG_IsOK(res1
)) {
9826 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterWindow_SplitHorizontally" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
9828 arg1
= reinterpret_cast< wxSplitterWindow
* >(argp1
);
9829 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
9830 if (!SWIG_IsOK(res2
)) {
9831 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "SplitterWindow_SplitHorizontally" "', expected argument " "2"" of type '" "wxWindow *""'");
9833 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
9834 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxWindow
, 0 | 0 );
9835 if (!SWIG_IsOK(res3
)) {
9836 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "SplitterWindow_SplitHorizontally" "', expected argument " "3"" of type '" "wxWindow *""'");
9838 arg3
= reinterpret_cast< wxWindow
* >(argp3
);
9840 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
9841 if (!SWIG_IsOK(ecode4
)) {
9842 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "SplitterWindow_SplitHorizontally" "', expected argument " "4"" of type '" "int""'");
9844 arg4
= static_cast< int >(val4
);
9847 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9848 result
= (bool)(arg1
)->SplitHorizontally(arg2
,arg3
,arg4
);
9849 wxPyEndAllowThreads(__tstate
);
9850 if (PyErr_Occurred()) SWIG_fail
;
9853 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9861 SWIGINTERN PyObject
*_wrap_SplitterWindow_Unsplit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9862 PyObject
*resultobj
= 0;
9863 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
9864 wxWindow
*arg2
= (wxWindow
*) NULL
;
9870 PyObject
* obj0
= 0 ;
9871 PyObject
* obj1
= 0 ;
9872 char * kwnames
[] = {
9873 (char *) "self",(char *) "toRemove", NULL
9876 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:SplitterWindow_Unsplit",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9877 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSplitterWindow
, 0 | 0 );
9878 if (!SWIG_IsOK(res1
)) {
9879 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterWindow_Unsplit" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
9881 arg1
= reinterpret_cast< wxSplitterWindow
* >(argp1
);
9883 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
9884 if (!SWIG_IsOK(res2
)) {
9885 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "SplitterWindow_Unsplit" "', expected argument " "2"" of type '" "wxWindow *""'");
9887 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
9890 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9891 result
= (bool)(arg1
)->Unsplit(arg2
);
9892 wxPyEndAllowThreads(__tstate
);
9893 if (PyErr_Occurred()) SWIG_fail
;
9896 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9904 SWIGINTERN PyObject
*_wrap_SplitterWindow_ReplaceWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9905 PyObject
*resultobj
= 0;
9906 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
9907 wxWindow
*arg2
= (wxWindow
*) 0 ;
9908 wxWindow
*arg3
= (wxWindow
*) 0 ;
9916 PyObject
* obj0
= 0 ;
9917 PyObject
* obj1
= 0 ;
9918 PyObject
* obj2
= 0 ;
9919 char * kwnames
[] = {
9920 (char *) "self",(char *) "winOld",(char *) "winNew", NULL
9923 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:SplitterWindow_ReplaceWindow",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
9924 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSplitterWindow
, 0 | 0 );
9925 if (!SWIG_IsOK(res1
)) {
9926 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterWindow_ReplaceWindow" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
9928 arg1
= reinterpret_cast< wxSplitterWindow
* >(argp1
);
9929 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
9930 if (!SWIG_IsOK(res2
)) {
9931 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "SplitterWindow_ReplaceWindow" "', expected argument " "2"" of type '" "wxWindow *""'");
9933 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
9934 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxWindow
, 0 | 0 );
9935 if (!SWIG_IsOK(res3
)) {
9936 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "SplitterWindow_ReplaceWindow" "', expected argument " "3"" of type '" "wxWindow *""'");
9938 arg3
= reinterpret_cast< wxWindow
* >(argp3
);
9940 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9941 result
= (bool)(arg1
)->ReplaceWindow(arg2
,arg3
);
9942 wxPyEndAllowThreads(__tstate
);
9943 if (PyErr_Occurred()) SWIG_fail
;
9946 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9954 SWIGINTERN PyObject
*_wrap_SplitterWindow_UpdateSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9955 PyObject
*resultobj
= 0;
9956 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
9959 PyObject
*swig_obj
[1] ;
9961 if (!args
) SWIG_fail
;
9963 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSplitterWindow
, 0 | 0 );
9964 if (!SWIG_IsOK(res1
)) {
9965 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterWindow_UpdateSize" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
9967 arg1
= reinterpret_cast< wxSplitterWindow
* >(argp1
);
9969 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9970 (arg1
)->UpdateSize();
9971 wxPyEndAllowThreads(__tstate
);
9972 if (PyErr_Occurred()) SWIG_fail
;
9974 resultobj
= SWIG_Py_Void();
9981 SWIGINTERN PyObject
*_wrap_SplitterWindow_IsSplit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9982 PyObject
*resultobj
= 0;
9983 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
9987 PyObject
*swig_obj
[1] ;
9989 if (!args
) SWIG_fail
;
9991 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSplitterWindow
, 0 | 0 );
9992 if (!SWIG_IsOK(res1
)) {
9993 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterWindow_IsSplit" "', expected argument " "1"" of type '" "wxSplitterWindow const *""'");
9995 arg1
= reinterpret_cast< wxSplitterWindow
* >(argp1
);
9997 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9998 result
= (bool)((wxSplitterWindow
const *)arg1
)->IsSplit();
9999 wxPyEndAllowThreads(__tstate
);
10000 if (PyErr_Occurred()) SWIG_fail
;
10003 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10011 SWIGINTERN PyObject
*_wrap_SplitterWindow_SetSashSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10012 PyObject
*resultobj
= 0;
10013 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
10019 PyObject
* obj0
= 0 ;
10020 PyObject
* obj1
= 0 ;
10021 char * kwnames
[] = {
10022 (char *) "self",(char *) "width", NULL
10025 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SplitterWindow_SetSashSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10026 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSplitterWindow
, 0 | 0 );
10027 if (!SWIG_IsOK(res1
)) {
10028 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterWindow_SetSashSize" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
10030 arg1
= reinterpret_cast< wxSplitterWindow
* >(argp1
);
10031 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
10032 if (!SWIG_IsOK(ecode2
)) {
10033 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SplitterWindow_SetSashSize" "', expected argument " "2"" of type '" "int""'");
10035 arg2
= static_cast< int >(val2
);
10037 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10038 (arg1
)->SetSashSize(arg2
);
10039 wxPyEndAllowThreads(__tstate
);
10040 if (PyErr_Occurred()) SWIG_fail
;
10042 resultobj
= SWIG_Py_Void();
10049 SWIGINTERN PyObject
*_wrap_SplitterWindow_SetBorderSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10050 PyObject
*resultobj
= 0;
10051 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
10057 PyObject
* obj0
= 0 ;
10058 PyObject
* obj1
= 0 ;
10059 char * kwnames
[] = {
10060 (char *) "self",(char *) "width", NULL
10063 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SplitterWindow_SetBorderSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10064 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSplitterWindow
, 0 | 0 );
10065 if (!SWIG_IsOK(res1
)) {
10066 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterWindow_SetBorderSize" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
10068 arg1
= reinterpret_cast< wxSplitterWindow
* >(argp1
);
10069 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
10070 if (!SWIG_IsOK(ecode2
)) {
10071 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SplitterWindow_SetBorderSize" "', expected argument " "2"" of type '" "int""'");
10073 arg2
= static_cast< int >(val2
);
10075 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10076 (arg1
)->SetBorderSize(arg2
);
10077 wxPyEndAllowThreads(__tstate
);
10078 if (PyErr_Occurred()) SWIG_fail
;
10080 resultobj
= SWIG_Py_Void();
10087 SWIGINTERN PyObject
*_wrap_SplitterWindow_GetSashSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10088 PyObject
*resultobj
= 0;
10089 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
10093 PyObject
*swig_obj
[1] ;
10095 if (!args
) SWIG_fail
;
10096 swig_obj
[0] = args
;
10097 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSplitterWindow
, 0 | 0 );
10098 if (!SWIG_IsOK(res1
)) {
10099 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterWindow_GetSashSize" "', expected argument " "1"" of type '" "wxSplitterWindow const *""'");
10101 arg1
= reinterpret_cast< wxSplitterWindow
* >(argp1
);
10103 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10104 result
= (int)((wxSplitterWindow
const *)arg1
)->GetSashSize();
10105 wxPyEndAllowThreads(__tstate
);
10106 if (PyErr_Occurred()) SWIG_fail
;
10108 resultobj
= SWIG_From_int(static_cast< int >(result
));
10115 SWIGINTERN PyObject
*_wrap_SplitterWindow_GetBorderSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10116 PyObject
*resultobj
= 0;
10117 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
10121 PyObject
*swig_obj
[1] ;
10123 if (!args
) SWIG_fail
;
10124 swig_obj
[0] = args
;
10125 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSplitterWindow
, 0 | 0 );
10126 if (!SWIG_IsOK(res1
)) {
10127 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterWindow_GetBorderSize" "', expected argument " "1"" of type '" "wxSplitterWindow const *""'");
10129 arg1
= reinterpret_cast< wxSplitterWindow
* >(argp1
);
10131 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10132 result
= (int)((wxSplitterWindow
const *)arg1
)->GetBorderSize();
10133 wxPyEndAllowThreads(__tstate
);
10134 if (PyErr_Occurred()) SWIG_fail
;
10136 resultobj
= SWIG_From_int(static_cast< int >(result
));
10143 SWIGINTERN PyObject
*_wrap_SplitterWindow_SetSashPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10144 PyObject
*resultobj
= 0;
10145 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
10147 bool arg3
= (bool) true ;
10154 PyObject
* obj0
= 0 ;
10155 PyObject
* obj1
= 0 ;
10156 PyObject
* obj2
= 0 ;
10157 char * kwnames
[] = {
10158 (char *) "self",(char *) "position",(char *) "redraw", NULL
10161 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:SplitterWindow_SetSashPosition",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
10162 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSplitterWindow
, 0 | 0 );
10163 if (!SWIG_IsOK(res1
)) {
10164 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterWindow_SetSashPosition" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
10166 arg1
= reinterpret_cast< wxSplitterWindow
* >(argp1
);
10167 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
10168 if (!SWIG_IsOK(ecode2
)) {
10169 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SplitterWindow_SetSashPosition" "', expected argument " "2"" of type '" "int""'");
10171 arg2
= static_cast< int >(val2
);
10173 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
10174 if (!SWIG_IsOK(ecode3
)) {
10175 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "SplitterWindow_SetSashPosition" "', expected argument " "3"" of type '" "bool""'");
10177 arg3
= static_cast< bool >(val3
);
10180 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10181 (arg1
)->SetSashPosition(arg2
,arg3
);
10182 wxPyEndAllowThreads(__tstate
);
10183 if (PyErr_Occurred()) SWIG_fail
;
10185 resultobj
= SWIG_Py_Void();
10192 SWIGINTERN PyObject
*_wrap_SplitterWindow_GetSashPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10193 PyObject
*resultobj
= 0;
10194 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
10198 PyObject
*swig_obj
[1] ;
10200 if (!args
) SWIG_fail
;
10201 swig_obj
[0] = args
;
10202 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSplitterWindow
, 0 | 0 );
10203 if (!SWIG_IsOK(res1
)) {
10204 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterWindow_GetSashPosition" "', expected argument " "1"" of type '" "wxSplitterWindow const *""'");
10206 arg1
= reinterpret_cast< wxSplitterWindow
* >(argp1
);
10208 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10209 result
= (int)((wxSplitterWindow
const *)arg1
)->GetSashPosition();
10210 wxPyEndAllowThreads(__tstate
);
10211 if (PyErr_Occurred()) SWIG_fail
;
10213 resultobj
= SWIG_From_int(static_cast< int >(result
));
10220 SWIGINTERN PyObject
*_wrap_SplitterWindow_SetSashGravity(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10221 PyObject
*resultobj
= 0;
10222 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
10228 PyObject
* obj0
= 0 ;
10229 PyObject
* obj1
= 0 ;
10230 char * kwnames
[] = {
10231 (char *) "self",(char *) "gravity", NULL
10234 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SplitterWindow_SetSashGravity",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10235 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSplitterWindow
, 0 | 0 );
10236 if (!SWIG_IsOK(res1
)) {
10237 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterWindow_SetSashGravity" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
10239 arg1
= reinterpret_cast< wxSplitterWindow
* >(argp1
);
10240 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
10241 if (!SWIG_IsOK(ecode2
)) {
10242 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SplitterWindow_SetSashGravity" "', expected argument " "2"" of type '" "double""'");
10244 arg2
= static_cast< double >(val2
);
10246 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10247 (arg1
)->SetSashGravity(arg2
);
10248 wxPyEndAllowThreads(__tstate
);
10249 if (PyErr_Occurred()) SWIG_fail
;
10251 resultobj
= SWIG_Py_Void();
10258 SWIGINTERN PyObject
*_wrap_SplitterWindow_GetSashGravity(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10259 PyObject
*resultobj
= 0;
10260 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
10264 PyObject
*swig_obj
[1] ;
10266 if (!args
) SWIG_fail
;
10267 swig_obj
[0] = args
;
10268 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSplitterWindow
, 0 | 0 );
10269 if (!SWIG_IsOK(res1
)) {
10270 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterWindow_GetSashGravity" "', expected argument " "1"" of type '" "wxSplitterWindow const *""'");
10272 arg1
= reinterpret_cast< wxSplitterWindow
* >(argp1
);
10274 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10275 result
= (double)((wxSplitterWindow
const *)arg1
)->GetSashGravity();
10276 wxPyEndAllowThreads(__tstate
);
10277 if (PyErr_Occurred()) SWIG_fail
;
10279 resultobj
= SWIG_From_double(static_cast< double >(result
));
10286 SWIGINTERN PyObject
*_wrap_SplitterWindow_SetMinimumPaneSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10287 PyObject
*resultobj
= 0;
10288 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
10294 PyObject
* obj0
= 0 ;
10295 PyObject
* obj1
= 0 ;
10296 char * kwnames
[] = {
10297 (char *) "self",(char *) "min", NULL
10300 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SplitterWindow_SetMinimumPaneSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10301 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSplitterWindow
, 0 | 0 );
10302 if (!SWIG_IsOK(res1
)) {
10303 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterWindow_SetMinimumPaneSize" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
10305 arg1
= reinterpret_cast< wxSplitterWindow
* >(argp1
);
10306 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
10307 if (!SWIG_IsOK(ecode2
)) {
10308 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SplitterWindow_SetMinimumPaneSize" "', expected argument " "2"" of type '" "int""'");
10310 arg2
= static_cast< int >(val2
);
10312 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10313 (arg1
)->SetMinimumPaneSize(arg2
);
10314 wxPyEndAllowThreads(__tstate
);
10315 if (PyErr_Occurred()) SWIG_fail
;
10317 resultobj
= SWIG_Py_Void();
10324 SWIGINTERN PyObject
*_wrap_SplitterWindow_GetMinimumPaneSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10325 PyObject
*resultobj
= 0;
10326 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
10330 PyObject
*swig_obj
[1] ;
10332 if (!args
) SWIG_fail
;
10333 swig_obj
[0] = args
;
10334 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSplitterWindow
, 0 | 0 );
10335 if (!SWIG_IsOK(res1
)) {
10336 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterWindow_GetMinimumPaneSize" "', expected argument " "1"" of type '" "wxSplitterWindow const *""'");
10338 arg1
= reinterpret_cast< wxSplitterWindow
* >(argp1
);
10340 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10341 result
= (int)((wxSplitterWindow
const *)arg1
)->GetMinimumPaneSize();
10342 wxPyEndAllowThreads(__tstate
);
10343 if (PyErr_Occurred()) SWIG_fail
;
10345 resultobj
= SWIG_From_int(static_cast< int >(result
));
10352 SWIGINTERN PyObject
*_wrap_SplitterWindow_SashHitTest(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10353 PyObject
*resultobj
= 0;
10354 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
10357 int arg4
= (int) 5 ;
10367 PyObject
* obj0
= 0 ;
10368 PyObject
* obj1
= 0 ;
10369 PyObject
* obj2
= 0 ;
10370 PyObject
* obj3
= 0 ;
10371 char * kwnames
[] = {
10372 (char *) "self",(char *) "x",(char *) "y",(char *) "tolerance", NULL
10375 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:SplitterWindow_SashHitTest",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
10376 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSplitterWindow
, 0 | 0 );
10377 if (!SWIG_IsOK(res1
)) {
10378 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterWindow_SashHitTest" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
10380 arg1
= reinterpret_cast< wxSplitterWindow
* >(argp1
);
10381 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
10382 if (!SWIG_IsOK(ecode2
)) {
10383 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SplitterWindow_SashHitTest" "', expected argument " "2"" of type '" "int""'");
10385 arg2
= static_cast< int >(val2
);
10386 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
10387 if (!SWIG_IsOK(ecode3
)) {
10388 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "SplitterWindow_SashHitTest" "', expected argument " "3"" of type '" "int""'");
10390 arg3
= static_cast< int >(val3
);
10392 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
10393 if (!SWIG_IsOK(ecode4
)) {
10394 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "SplitterWindow_SashHitTest" "', expected argument " "4"" of type '" "int""'");
10396 arg4
= static_cast< int >(val4
);
10399 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10400 result
= (bool)(arg1
)->SashHitTest(arg2
,arg3
,arg4
);
10401 wxPyEndAllowThreads(__tstate
);
10402 if (PyErr_Occurred()) SWIG_fail
;
10405 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10413 SWIGINTERN PyObject
*_wrap_SplitterWindow_SizeWindows(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10414 PyObject
*resultobj
= 0;
10415 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
10418 PyObject
*swig_obj
[1] ;
10420 if (!args
) SWIG_fail
;
10421 swig_obj
[0] = args
;
10422 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSplitterWindow
, 0 | 0 );
10423 if (!SWIG_IsOK(res1
)) {
10424 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterWindow_SizeWindows" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
10426 arg1
= reinterpret_cast< wxSplitterWindow
* >(argp1
);
10428 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10429 (arg1
)->SizeWindows();
10430 wxPyEndAllowThreads(__tstate
);
10431 if (PyErr_Occurred()) SWIG_fail
;
10433 resultobj
= SWIG_Py_Void();
10440 SWIGINTERN PyObject
*_wrap_SplitterWindow_SetNeedUpdating(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10441 PyObject
*resultobj
= 0;
10442 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
10448 PyObject
* obj0
= 0 ;
10449 PyObject
* obj1
= 0 ;
10450 char * kwnames
[] = {
10451 (char *) "self",(char *) "needUpdating", NULL
10454 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SplitterWindow_SetNeedUpdating",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10455 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSplitterWindow
, 0 | 0 );
10456 if (!SWIG_IsOK(res1
)) {
10457 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterWindow_SetNeedUpdating" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
10459 arg1
= reinterpret_cast< wxSplitterWindow
* >(argp1
);
10460 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
10461 if (!SWIG_IsOK(ecode2
)) {
10462 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SplitterWindow_SetNeedUpdating" "', expected argument " "2"" of type '" "bool""'");
10464 arg2
= static_cast< bool >(val2
);
10466 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10467 (arg1
)->SetNeedUpdating(arg2
);
10468 wxPyEndAllowThreads(__tstate
);
10469 if (PyErr_Occurred()) SWIG_fail
;
10471 resultobj
= SWIG_Py_Void();
10478 SWIGINTERN PyObject
*_wrap_SplitterWindow_GetNeedUpdating(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10479 PyObject
*resultobj
= 0;
10480 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
10484 PyObject
*swig_obj
[1] ;
10486 if (!args
) SWIG_fail
;
10487 swig_obj
[0] = args
;
10488 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSplitterWindow
, 0 | 0 );
10489 if (!SWIG_IsOK(res1
)) {
10490 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterWindow_GetNeedUpdating" "', expected argument " "1"" of type '" "wxSplitterWindow const *""'");
10492 arg1
= reinterpret_cast< wxSplitterWindow
* >(argp1
);
10494 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10495 result
= (bool)((wxSplitterWindow
const *)arg1
)->GetNeedUpdating();
10496 wxPyEndAllowThreads(__tstate
);
10497 if (PyErr_Occurred()) SWIG_fail
;
10500 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10508 SWIGINTERN PyObject
*_wrap_SplitterWindow_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10509 PyObject
*resultobj
= 0;
10510 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
10511 SwigValueWrapper
<wxVisualAttributes
> result
;
10514 PyObject
* obj0
= 0 ;
10515 char * kwnames
[] = {
10516 (char *) "variant", NULL
10519 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:SplitterWindow_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
10521 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
10522 if (!SWIG_IsOK(ecode1
)) {
10523 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "SplitterWindow_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
10525 arg1
= static_cast< wxWindowVariant
>(val1
);
10528 if (!wxPyCheckForApp()) SWIG_fail
;
10529 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10530 result
= wxSplitterWindow::GetClassDefaultAttributes(arg1
);
10531 wxPyEndAllowThreads(__tstate
);
10532 if (PyErr_Occurred()) SWIG_fail
;
10534 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
10541 SWIGINTERN PyObject
*SplitterWindow_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10543 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
10544 SWIG_TypeNewClientData(SWIGTYPE_p_wxSplitterWindow
, SWIG_NewClientData(obj
));
10545 return SWIG_Py_Void();
10548 SWIGINTERN PyObject
*SplitterWindow_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10549 return SWIG_Python_InitShadowInstance(args
);
10552 SWIGINTERN PyObject
*_wrap_new_SplitterEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10553 PyObject
*resultobj
= 0;
10554 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
10555 wxSplitterWindow
*arg2
= (wxSplitterWindow
*) (wxSplitterWindow
*) NULL
;
10556 wxSplitterEvent
*result
= 0 ;
10561 PyObject
* obj0
= 0 ;
10562 PyObject
* obj1
= 0 ;
10563 char * kwnames
[] = {
10564 (char *) "type",(char *) "splitter", NULL
10567 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_SplitterEvent",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10569 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
10570 if (!SWIG_IsOK(ecode1
)) {
10571 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_SplitterEvent" "', expected argument " "1"" of type '" "wxEventType""'");
10573 arg1
= static_cast< wxEventType
>(val1
);
10576 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxSplitterWindow
, 0 | 0 );
10577 if (!SWIG_IsOK(res2
)) {
10578 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_SplitterEvent" "', expected argument " "2"" of type '" "wxSplitterWindow *""'");
10580 arg2
= reinterpret_cast< wxSplitterWindow
* >(argp2
);
10583 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10584 result
= (wxSplitterEvent
*)new wxSplitterEvent(arg1
,arg2
);
10585 wxPyEndAllowThreads(__tstate
);
10586 if (PyErr_Occurred()) SWIG_fail
;
10588 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSplitterEvent
, SWIG_POINTER_NEW
| 0 );
10595 SWIGINTERN PyObject
*_wrap_SplitterEvent_SetSashPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10596 PyObject
*resultobj
= 0;
10597 wxSplitterEvent
*arg1
= (wxSplitterEvent
*) 0 ;
10603 PyObject
* obj0
= 0 ;
10604 PyObject
* obj1
= 0 ;
10605 char * kwnames
[] = {
10606 (char *) "self",(char *) "pos", NULL
10609 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SplitterEvent_SetSashPosition",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10610 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSplitterEvent
, 0 | 0 );
10611 if (!SWIG_IsOK(res1
)) {
10612 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterEvent_SetSashPosition" "', expected argument " "1"" of type '" "wxSplitterEvent *""'");
10614 arg1
= reinterpret_cast< wxSplitterEvent
* >(argp1
);
10615 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
10616 if (!SWIG_IsOK(ecode2
)) {
10617 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SplitterEvent_SetSashPosition" "', expected argument " "2"" of type '" "int""'");
10619 arg2
= static_cast< int >(val2
);
10621 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10622 (arg1
)->SetSashPosition(arg2
);
10623 wxPyEndAllowThreads(__tstate
);
10624 if (PyErr_Occurred()) SWIG_fail
;
10626 resultobj
= SWIG_Py_Void();
10633 SWIGINTERN PyObject
*_wrap_SplitterEvent_GetSashPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10634 PyObject
*resultobj
= 0;
10635 wxSplitterEvent
*arg1
= (wxSplitterEvent
*) 0 ;
10639 PyObject
*swig_obj
[1] ;
10641 if (!args
) SWIG_fail
;
10642 swig_obj
[0] = args
;
10643 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSplitterEvent
, 0 | 0 );
10644 if (!SWIG_IsOK(res1
)) {
10645 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterEvent_GetSashPosition" "', expected argument " "1"" of type '" "wxSplitterEvent const *""'");
10647 arg1
= reinterpret_cast< wxSplitterEvent
* >(argp1
);
10649 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10650 result
= (int)((wxSplitterEvent
const *)arg1
)->GetSashPosition();
10651 wxPyEndAllowThreads(__tstate
);
10652 if (PyErr_Occurred()) SWIG_fail
;
10654 resultobj
= SWIG_From_int(static_cast< int >(result
));
10661 SWIGINTERN PyObject
*_wrap_SplitterEvent_GetWindowBeingRemoved(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10662 PyObject
*resultobj
= 0;
10663 wxSplitterEvent
*arg1
= (wxSplitterEvent
*) 0 ;
10664 wxWindow
*result
= 0 ;
10667 PyObject
*swig_obj
[1] ;
10669 if (!args
) SWIG_fail
;
10670 swig_obj
[0] = args
;
10671 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSplitterEvent
, 0 | 0 );
10672 if (!SWIG_IsOK(res1
)) {
10673 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterEvent_GetWindowBeingRemoved" "', expected argument " "1"" of type '" "wxSplitterEvent const *""'");
10675 arg1
= reinterpret_cast< wxSplitterEvent
* >(argp1
);
10677 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10678 result
= (wxWindow
*)((wxSplitterEvent
const *)arg1
)->GetWindowBeingRemoved();
10679 wxPyEndAllowThreads(__tstate
);
10680 if (PyErr_Occurred()) SWIG_fail
;
10683 resultobj
= wxPyMake_wxObject(result
, 0);
10691 SWIGINTERN PyObject
*_wrap_SplitterEvent_GetX(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10692 PyObject
*resultobj
= 0;
10693 wxSplitterEvent
*arg1
= (wxSplitterEvent
*) 0 ;
10697 PyObject
*swig_obj
[1] ;
10699 if (!args
) SWIG_fail
;
10700 swig_obj
[0] = args
;
10701 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSplitterEvent
, 0 | 0 );
10702 if (!SWIG_IsOK(res1
)) {
10703 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterEvent_GetX" "', expected argument " "1"" of type '" "wxSplitterEvent const *""'");
10705 arg1
= reinterpret_cast< wxSplitterEvent
* >(argp1
);
10707 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10708 result
= (int)((wxSplitterEvent
const *)arg1
)->GetX();
10709 wxPyEndAllowThreads(__tstate
);
10710 if (PyErr_Occurred()) SWIG_fail
;
10712 resultobj
= SWIG_From_int(static_cast< int >(result
));
10719 SWIGINTERN PyObject
*_wrap_SplitterEvent_GetY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10720 PyObject
*resultobj
= 0;
10721 wxSplitterEvent
*arg1
= (wxSplitterEvent
*) 0 ;
10725 PyObject
*swig_obj
[1] ;
10727 if (!args
) SWIG_fail
;
10728 swig_obj
[0] = args
;
10729 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSplitterEvent
, 0 | 0 );
10730 if (!SWIG_IsOK(res1
)) {
10731 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterEvent_GetY" "', expected argument " "1"" of type '" "wxSplitterEvent const *""'");
10733 arg1
= reinterpret_cast< wxSplitterEvent
* >(argp1
);
10735 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10736 result
= (int)((wxSplitterEvent
const *)arg1
)->GetY();
10737 wxPyEndAllowThreads(__tstate
);
10738 if (PyErr_Occurred()) SWIG_fail
;
10740 resultobj
= SWIG_From_int(static_cast< int >(result
));
10747 SWIGINTERN PyObject
*SplitterEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10749 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
10750 SWIG_TypeNewClientData(SWIGTYPE_p_wxSplitterEvent
, SWIG_NewClientData(obj
));
10751 return SWIG_Py_Void();
10754 SWIGINTERN PyObject
*SplitterEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10755 return SWIG_Python_InitShadowInstance(args
);
10758 SWIGINTERN
int SashNameStr_set(PyObject
*) {
10759 SWIG_Error(SWIG_AttributeError
,"Variable SashNameStr is read-only.");
10764 SWIGINTERN PyObject
*SashNameStr_get(void) {
10765 PyObject
*pyobj
= 0;
10769 pyobj
= PyUnicode_FromWideChar((&wxPySashNameStr
)->c_str(), (&wxPySashNameStr
)->Len());
10771 pyobj
= PyString_FromStringAndSize((&wxPySashNameStr
)->c_str(), (&wxPySashNameStr
)->Len());
10778 SWIGINTERN
int SashLayoutNameStr_set(PyObject
*) {
10779 SWIG_Error(SWIG_AttributeError
,"Variable SashLayoutNameStr is read-only.");
10784 SWIGINTERN PyObject
*SashLayoutNameStr_get(void) {
10785 PyObject
*pyobj
= 0;
10789 pyobj
= PyUnicode_FromWideChar((&wxPySashLayoutNameStr
)->c_str(), (&wxPySashLayoutNameStr
)->Len());
10791 pyobj
= PyString_FromStringAndSize((&wxPySashLayoutNameStr
)->c_str(), (&wxPySashLayoutNameStr
)->Len());
10798 SWIGINTERN PyObject
*_wrap_new_SashWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10799 PyObject
*resultobj
= 0;
10800 wxWindow
*arg1
= (wxWindow
*) 0 ;
10801 int arg2
= (int) -1 ;
10802 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
10803 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
10804 wxSize
const &arg4_defvalue
= wxDefaultSize
;
10805 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
10806 long arg5
= (long) wxCLIP_CHILDREN
|wxSW_3D
;
10807 wxString
const &arg6_defvalue
= wxPySashNameStr
;
10808 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
10809 wxSashWindow
*result
= 0 ;
10818 bool temp6
= false ;
10819 PyObject
* obj0
= 0 ;
10820 PyObject
* obj1
= 0 ;
10821 PyObject
* obj2
= 0 ;
10822 PyObject
* obj3
= 0 ;
10823 PyObject
* obj4
= 0 ;
10824 PyObject
* obj5
= 0 ;
10825 char * kwnames
[] = {
10826 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
10829 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_SashWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
10830 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
10831 if (!SWIG_IsOK(res1
)) {
10832 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_SashWindow" "', expected argument " "1"" of type '" "wxWindow *""'");
10834 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
10836 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
10837 if (!SWIG_IsOK(ecode2
)) {
10838 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_SashWindow" "', expected argument " "2"" of type '" "int""'");
10840 arg2
= static_cast< int >(val2
);
10845 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
10851 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
10855 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
10856 if (!SWIG_IsOK(ecode5
)) {
10857 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_SashWindow" "', expected argument " "5"" of type '" "long""'");
10859 arg5
= static_cast< long >(val5
);
10863 arg6
= wxString_in_helper(obj5
);
10864 if (arg6
== NULL
) SWIG_fail
;
10869 if (!wxPyCheckForApp()) SWIG_fail
;
10870 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10871 result
= (wxSashWindow
*)new wxSashWindow(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
10872 wxPyEndAllowThreads(__tstate
);
10873 if (PyErr_Occurred()) SWIG_fail
;
10875 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSashWindow
, SWIG_POINTER_NEW
| 0 );
10890 SWIGINTERN PyObject
*_wrap_new_PreSashWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10891 PyObject
*resultobj
= 0;
10892 wxSashWindow
*result
= 0 ;
10894 if (!SWIG_Python_UnpackTuple(args
,"new_PreSashWindow",0,0,0)) SWIG_fail
;
10896 if (!wxPyCheckForApp()) SWIG_fail
;
10897 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10898 result
= (wxSashWindow
*)new wxSashWindow();
10899 wxPyEndAllowThreads(__tstate
);
10900 if (PyErr_Occurred()) SWIG_fail
;
10902 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSashWindow
, SWIG_POINTER_OWN
| 0 );
10909 SWIGINTERN PyObject
*_wrap_SashWindow_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10910 PyObject
*resultobj
= 0;
10911 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
10912 wxWindow
*arg2
= (wxWindow
*) 0 ;
10913 int arg3
= (int) -1 ;
10914 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
10915 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
10916 wxSize
const &arg5_defvalue
= wxDefaultSize
;
10917 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
10918 long arg6
= (long) wxCLIP_CHILDREN
|wxSW_3D
;
10919 wxString
const &arg7_defvalue
= wxPySashNameStr
;
10920 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
10932 bool temp7
= false ;
10933 PyObject
* obj0
= 0 ;
10934 PyObject
* obj1
= 0 ;
10935 PyObject
* obj2
= 0 ;
10936 PyObject
* obj3
= 0 ;
10937 PyObject
* obj4
= 0 ;
10938 PyObject
* obj5
= 0 ;
10939 PyObject
* obj6
= 0 ;
10940 char * kwnames
[] = {
10941 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
10944 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:SashWindow_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
10945 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSashWindow
, 0 | 0 );
10946 if (!SWIG_IsOK(res1
)) {
10947 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashWindow_Create" "', expected argument " "1"" of type '" "wxSashWindow *""'");
10949 arg1
= reinterpret_cast< wxSashWindow
* >(argp1
);
10950 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
10951 if (!SWIG_IsOK(res2
)) {
10952 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "SashWindow_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
10954 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
10956 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
10957 if (!SWIG_IsOK(ecode3
)) {
10958 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "SashWindow_Create" "', expected argument " "3"" of type '" "int""'");
10960 arg3
= static_cast< int >(val3
);
10965 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
10971 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
10975 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
10976 if (!SWIG_IsOK(ecode6
)) {
10977 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "SashWindow_Create" "', expected argument " "6"" of type '" "long""'");
10979 arg6
= static_cast< long >(val6
);
10983 arg7
= wxString_in_helper(obj6
);
10984 if (arg7
== NULL
) SWIG_fail
;
10989 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10990 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
10991 wxPyEndAllowThreads(__tstate
);
10992 if (PyErr_Occurred()) SWIG_fail
;
10995 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11011 SWIGINTERN PyObject
*_wrap_SashWindow_SetSashVisible(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11012 PyObject
*resultobj
= 0;
11013 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
11014 wxSashEdgePosition arg2
;
11022 PyObject
* obj0
= 0 ;
11023 PyObject
* obj1
= 0 ;
11024 PyObject
* obj2
= 0 ;
11025 char * kwnames
[] = {
11026 (char *) "self",(char *) "edge",(char *) "sash", NULL
11029 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:SashWindow_SetSashVisible",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
11030 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSashWindow
, 0 | 0 );
11031 if (!SWIG_IsOK(res1
)) {
11032 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashWindow_SetSashVisible" "', expected argument " "1"" of type '" "wxSashWindow *""'");
11034 arg1
= reinterpret_cast< wxSashWindow
* >(argp1
);
11035 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
11036 if (!SWIG_IsOK(ecode2
)) {
11037 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SashWindow_SetSashVisible" "', expected argument " "2"" of type '" "wxSashEdgePosition""'");
11039 arg2
= static_cast< wxSashEdgePosition
>(val2
);
11040 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
11041 if (!SWIG_IsOK(ecode3
)) {
11042 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "SashWindow_SetSashVisible" "', expected argument " "3"" of type '" "bool""'");
11044 arg3
= static_cast< bool >(val3
);
11046 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11047 (arg1
)->SetSashVisible(arg2
,arg3
);
11048 wxPyEndAllowThreads(__tstate
);
11049 if (PyErr_Occurred()) SWIG_fail
;
11051 resultobj
= SWIG_Py_Void();
11058 SWIGINTERN PyObject
*_wrap_SashWindow_GetSashVisible(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11059 PyObject
*resultobj
= 0;
11060 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
11061 wxSashEdgePosition arg2
;
11067 PyObject
* obj0
= 0 ;
11068 PyObject
* obj1
= 0 ;
11069 char * kwnames
[] = {
11070 (char *) "self",(char *) "edge", NULL
11073 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashWindow_GetSashVisible",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11074 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSashWindow
, 0 | 0 );
11075 if (!SWIG_IsOK(res1
)) {
11076 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashWindow_GetSashVisible" "', expected argument " "1"" of type '" "wxSashWindow const *""'");
11078 arg1
= reinterpret_cast< wxSashWindow
* >(argp1
);
11079 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
11080 if (!SWIG_IsOK(ecode2
)) {
11081 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SashWindow_GetSashVisible" "', expected argument " "2"" of type '" "wxSashEdgePosition""'");
11083 arg2
= static_cast< wxSashEdgePosition
>(val2
);
11085 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11086 result
= (bool)((wxSashWindow
const *)arg1
)->GetSashVisible(arg2
);
11087 wxPyEndAllowThreads(__tstate
);
11088 if (PyErr_Occurred()) SWIG_fail
;
11091 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11099 SWIGINTERN PyObject
*_wrap_SashWindow_SetSashBorder(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11100 PyObject
*resultobj
= 0;
11101 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
11102 wxSashEdgePosition arg2
;
11110 PyObject
* obj0
= 0 ;
11111 PyObject
* obj1
= 0 ;
11112 PyObject
* obj2
= 0 ;
11113 char * kwnames
[] = {
11114 (char *) "self",(char *) "edge",(char *) "border", NULL
11117 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:SashWindow_SetSashBorder",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
11118 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSashWindow
, 0 | 0 );
11119 if (!SWIG_IsOK(res1
)) {
11120 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashWindow_SetSashBorder" "', expected argument " "1"" of type '" "wxSashWindow *""'");
11122 arg1
= reinterpret_cast< wxSashWindow
* >(argp1
);
11123 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
11124 if (!SWIG_IsOK(ecode2
)) {
11125 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SashWindow_SetSashBorder" "', expected argument " "2"" of type '" "wxSashEdgePosition""'");
11127 arg2
= static_cast< wxSashEdgePosition
>(val2
);
11128 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
11129 if (!SWIG_IsOK(ecode3
)) {
11130 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "SashWindow_SetSashBorder" "', expected argument " "3"" of type '" "bool""'");
11132 arg3
= static_cast< bool >(val3
);
11134 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11135 (arg1
)->SetSashBorder(arg2
,arg3
);
11136 wxPyEndAllowThreads(__tstate
);
11137 if (PyErr_Occurred()) SWIG_fail
;
11139 resultobj
= SWIG_Py_Void();
11146 SWIGINTERN PyObject
*_wrap_SashWindow_HasBorder(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11147 PyObject
*resultobj
= 0;
11148 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
11149 wxSashEdgePosition arg2
;
11155 PyObject
* obj0
= 0 ;
11156 PyObject
* obj1
= 0 ;
11157 char * kwnames
[] = {
11158 (char *) "self",(char *) "edge", NULL
11161 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashWindow_HasBorder",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11162 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSashWindow
, 0 | 0 );
11163 if (!SWIG_IsOK(res1
)) {
11164 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashWindow_HasBorder" "', expected argument " "1"" of type '" "wxSashWindow const *""'");
11166 arg1
= reinterpret_cast< wxSashWindow
* >(argp1
);
11167 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
11168 if (!SWIG_IsOK(ecode2
)) {
11169 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SashWindow_HasBorder" "', expected argument " "2"" of type '" "wxSashEdgePosition""'");
11171 arg2
= static_cast< wxSashEdgePosition
>(val2
);
11173 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11174 result
= (bool)((wxSashWindow
const *)arg1
)->HasBorder(arg2
);
11175 wxPyEndAllowThreads(__tstate
);
11176 if (PyErr_Occurred()) SWIG_fail
;
11179 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11187 SWIGINTERN PyObject
*_wrap_SashWindow_GetEdgeMargin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11188 PyObject
*resultobj
= 0;
11189 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
11190 wxSashEdgePosition arg2
;
11196 PyObject
* obj0
= 0 ;
11197 PyObject
* obj1
= 0 ;
11198 char * kwnames
[] = {
11199 (char *) "self",(char *) "edge", NULL
11202 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashWindow_GetEdgeMargin",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11203 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSashWindow
, 0 | 0 );
11204 if (!SWIG_IsOK(res1
)) {
11205 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashWindow_GetEdgeMargin" "', expected argument " "1"" of type '" "wxSashWindow const *""'");
11207 arg1
= reinterpret_cast< wxSashWindow
* >(argp1
);
11208 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
11209 if (!SWIG_IsOK(ecode2
)) {
11210 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SashWindow_GetEdgeMargin" "', expected argument " "2"" of type '" "wxSashEdgePosition""'");
11212 arg2
= static_cast< wxSashEdgePosition
>(val2
);
11214 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11215 result
= (int)((wxSashWindow
const *)arg1
)->GetEdgeMargin(arg2
);
11216 wxPyEndAllowThreads(__tstate
);
11217 if (PyErr_Occurred()) SWIG_fail
;
11219 resultobj
= SWIG_From_int(static_cast< int >(result
));
11226 SWIGINTERN PyObject
*_wrap_SashWindow_SetDefaultBorderSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11227 PyObject
*resultobj
= 0;
11228 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
11234 PyObject
* obj0
= 0 ;
11235 PyObject
* obj1
= 0 ;
11236 char * kwnames
[] = {
11237 (char *) "self",(char *) "width", NULL
11240 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashWindow_SetDefaultBorderSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11241 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSashWindow
, 0 | 0 );
11242 if (!SWIG_IsOK(res1
)) {
11243 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashWindow_SetDefaultBorderSize" "', expected argument " "1"" of type '" "wxSashWindow *""'");
11245 arg1
= reinterpret_cast< wxSashWindow
* >(argp1
);
11246 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
11247 if (!SWIG_IsOK(ecode2
)) {
11248 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SashWindow_SetDefaultBorderSize" "', expected argument " "2"" of type '" "int""'");
11250 arg2
= static_cast< int >(val2
);
11252 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11253 (arg1
)->SetDefaultBorderSize(arg2
);
11254 wxPyEndAllowThreads(__tstate
);
11255 if (PyErr_Occurred()) SWIG_fail
;
11257 resultobj
= SWIG_Py_Void();
11264 SWIGINTERN PyObject
*_wrap_SashWindow_GetDefaultBorderSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11265 PyObject
*resultobj
= 0;
11266 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
11270 PyObject
*swig_obj
[1] ;
11272 if (!args
) SWIG_fail
;
11273 swig_obj
[0] = args
;
11274 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSashWindow
, 0 | 0 );
11275 if (!SWIG_IsOK(res1
)) {
11276 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashWindow_GetDefaultBorderSize" "', expected argument " "1"" of type '" "wxSashWindow const *""'");
11278 arg1
= reinterpret_cast< wxSashWindow
* >(argp1
);
11280 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11281 result
= (int)((wxSashWindow
const *)arg1
)->GetDefaultBorderSize();
11282 wxPyEndAllowThreads(__tstate
);
11283 if (PyErr_Occurred()) SWIG_fail
;
11285 resultobj
= SWIG_From_int(static_cast< int >(result
));
11292 SWIGINTERN PyObject
*_wrap_SashWindow_SetExtraBorderSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11293 PyObject
*resultobj
= 0;
11294 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
11300 PyObject
* obj0
= 0 ;
11301 PyObject
* obj1
= 0 ;
11302 char * kwnames
[] = {
11303 (char *) "self",(char *) "width", NULL
11306 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashWindow_SetExtraBorderSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11307 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSashWindow
, 0 | 0 );
11308 if (!SWIG_IsOK(res1
)) {
11309 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashWindow_SetExtraBorderSize" "', expected argument " "1"" of type '" "wxSashWindow *""'");
11311 arg1
= reinterpret_cast< wxSashWindow
* >(argp1
);
11312 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
11313 if (!SWIG_IsOK(ecode2
)) {
11314 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SashWindow_SetExtraBorderSize" "', expected argument " "2"" of type '" "int""'");
11316 arg2
= static_cast< int >(val2
);
11318 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11319 (arg1
)->SetExtraBorderSize(arg2
);
11320 wxPyEndAllowThreads(__tstate
);
11321 if (PyErr_Occurred()) SWIG_fail
;
11323 resultobj
= SWIG_Py_Void();
11330 SWIGINTERN PyObject
*_wrap_SashWindow_GetExtraBorderSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11331 PyObject
*resultobj
= 0;
11332 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
11336 PyObject
*swig_obj
[1] ;
11338 if (!args
) SWIG_fail
;
11339 swig_obj
[0] = args
;
11340 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSashWindow
, 0 | 0 );
11341 if (!SWIG_IsOK(res1
)) {
11342 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashWindow_GetExtraBorderSize" "', expected argument " "1"" of type '" "wxSashWindow const *""'");
11344 arg1
= reinterpret_cast< wxSashWindow
* >(argp1
);
11346 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11347 result
= (int)((wxSashWindow
const *)arg1
)->GetExtraBorderSize();
11348 wxPyEndAllowThreads(__tstate
);
11349 if (PyErr_Occurred()) SWIG_fail
;
11351 resultobj
= SWIG_From_int(static_cast< int >(result
));
11358 SWIGINTERN PyObject
*_wrap_SashWindow_SetMinimumSizeX(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11359 PyObject
*resultobj
= 0;
11360 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
11366 PyObject
* obj0
= 0 ;
11367 PyObject
* obj1
= 0 ;
11368 char * kwnames
[] = {
11369 (char *) "self",(char *) "min", NULL
11372 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashWindow_SetMinimumSizeX",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11373 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSashWindow
, 0 | 0 );
11374 if (!SWIG_IsOK(res1
)) {
11375 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashWindow_SetMinimumSizeX" "', expected argument " "1"" of type '" "wxSashWindow *""'");
11377 arg1
= reinterpret_cast< wxSashWindow
* >(argp1
);
11378 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
11379 if (!SWIG_IsOK(ecode2
)) {
11380 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SashWindow_SetMinimumSizeX" "', expected argument " "2"" of type '" "int""'");
11382 arg2
= static_cast< int >(val2
);
11384 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11385 (arg1
)->SetMinimumSizeX(arg2
);
11386 wxPyEndAllowThreads(__tstate
);
11387 if (PyErr_Occurred()) SWIG_fail
;
11389 resultobj
= SWIG_Py_Void();
11396 SWIGINTERN PyObject
*_wrap_SashWindow_SetMinimumSizeY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11397 PyObject
*resultobj
= 0;
11398 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
11404 PyObject
* obj0
= 0 ;
11405 PyObject
* obj1
= 0 ;
11406 char * kwnames
[] = {
11407 (char *) "self",(char *) "min", NULL
11410 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashWindow_SetMinimumSizeY",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11411 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSashWindow
, 0 | 0 );
11412 if (!SWIG_IsOK(res1
)) {
11413 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashWindow_SetMinimumSizeY" "', expected argument " "1"" of type '" "wxSashWindow *""'");
11415 arg1
= reinterpret_cast< wxSashWindow
* >(argp1
);
11416 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
11417 if (!SWIG_IsOK(ecode2
)) {
11418 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SashWindow_SetMinimumSizeY" "', expected argument " "2"" of type '" "int""'");
11420 arg2
= static_cast< int >(val2
);
11422 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11423 (arg1
)->SetMinimumSizeY(arg2
);
11424 wxPyEndAllowThreads(__tstate
);
11425 if (PyErr_Occurred()) SWIG_fail
;
11427 resultobj
= SWIG_Py_Void();
11434 SWIGINTERN PyObject
*_wrap_SashWindow_GetMinimumSizeX(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11435 PyObject
*resultobj
= 0;
11436 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
11440 PyObject
*swig_obj
[1] ;
11442 if (!args
) SWIG_fail
;
11443 swig_obj
[0] = args
;
11444 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSashWindow
, 0 | 0 );
11445 if (!SWIG_IsOK(res1
)) {
11446 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashWindow_GetMinimumSizeX" "', expected argument " "1"" of type '" "wxSashWindow const *""'");
11448 arg1
= reinterpret_cast< wxSashWindow
* >(argp1
);
11450 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11451 result
= (int)((wxSashWindow
const *)arg1
)->GetMinimumSizeX();
11452 wxPyEndAllowThreads(__tstate
);
11453 if (PyErr_Occurred()) SWIG_fail
;
11455 resultobj
= SWIG_From_int(static_cast< int >(result
));
11462 SWIGINTERN PyObject
*_wrap_SashWindow_GetMinimumSizeY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11463 PyObject
*resultobj
= 0;
11464 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
11468 PyObject
*swig_obj
[1] ;
11470 if (!args
) SWIG_fail
;
11471 swig_obj
[0] = args
;
11472 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSashWindow
, 0 | 0 );
11473 if (!SWIG_IsOK(res1
)) {
11474 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashWindow_GetMinimumSizeY" "', expected argument " "1"" of type '" "wxSashWindow const *""'");
11476 arg1
= reinterpret_cast< wxSashWindow
* >(argp1
);
11478 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11479 result
= (int)((wxSashWindow
const *)arg1
)->GetMinimumSizeY();
11480 wxPyEndAllowThreads(__tstate
);
11481 if (PyErr_Occurred()) SWIG_fail
;
11483 resultobj
= SWIG_From_int(static_cast< int >(result
));
11490 SWIGINTERN PyObject
*_wrap_SashWindow_SetMaximumSizeX(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11491 PyObject
*resultobj
= 0;
11492 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
11498 PyObject
* obj0
= 0 ;
11499 PyObject
* obj1
= 0 ;
11500 char * kwnames
[] = {
11501 (char *) "self",(char *) "max", NULL
11504 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashWindow_SetMaximumSizeX",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11505 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSashWindow
, 0 | 0 );
11506 if (!SWIG_IsOK(res1
)) {
11507 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashWindow_SetMaximumSizeX" "', expected argument " "1"" of type '" "wxSashWindow *""'");
11509 arg1
= reinterpret_cast< wxSashWindow
* >(argp1
);
11510 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
11511 if (!SWIG_IsOK(ecode2
)) {
11512 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SashWindow_SetMaximumSizeX" "', expected argument " "2"" of type '" "int""'");
11514 arg2
= static_cast< int >(val2
);
11516 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11517 (arg1
)->SetMaximumSizeX(arg2
);
11518 wxPyEndAllowThreads(__tstate
);
11519 if (PyErr_Occurred()) SWIG_fail
;
11521 resultobj
= SWIG_Py_Void();
11528 SWIGINTERN PyObject
*_wrap_SashWindow_SetMaximumSizeY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11529 PyObject
*resultobj
= 0;
11530 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
11536 PyObject
* obj0
= 0 ;
11537 PyObject
* obj1
= 0 ;
11538 char * kwnames
[] = {
11539 (char *) "self",(char *) "max", NULL
11542 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashWindow_SetMaximumSizeY",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11543 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSashWindow
, 0 | 0 );
11544 if (!SWIG_IsOK(res1
)) {
11545 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashWindow_SetMaximumSizeY" "', expected argument " "1"" of type '" "wxSashWindow *""'");
11547 arg1
= reinterpret_cast< wxSashWindow
* >(argp1
);
11548 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
11549 if (!SWIG_IsOK(ecode2
)) {
11550 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SashWindow_SetMaximumSizeY" "', expected argument " "2"" of type '" "int""'");
11552 arg2
= static_cast< int >(val2
);
11554 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11555 (arg1
)->SetMaximumSizeY(arg2
);
11556 wxPyEndAllowThreads(__tstate
);
11557 if (PyErr_Occurred()) SWIG_fail
;
11559 resultobj
= SWIG_Py_Void();
11566 SWIGINTERN PyObject
*_wrap_SashWindow_GetMaximumSizeX(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11567 PyObject
*resultobj
= 0;
11568 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
11572 PyObject
*swig_obj
[1] ;
11574 if (!args
) SWIG_fail
;
11575 swig_obj
[0] = args
;
11576 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSashWindow
, 0 | 0 );
11577 if (!SWIG_IsOK(res1
)) {
11578 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashWindow_GetMaximumSizeX" "', expected argument " "1"" of type '" "wxSashWindow const *""'");
11580 arg1
= reinterpret_cast< wxSashWindow
* >(argp1
);
11582 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11583 result
= (int)((wxSashWindow
const *)arg1
)->GetMaximumSizeX();
11584 wxPyEndAllowThreads(__tstate
);
11585 if (PyErr_Occurred()) SWIG_fail
;
11587 resultobj
= SWIG_From_int(static_cast< int >(result
));
11594 SWIGINTERN PyObject
*_wrap_SashWindow_GetMaximumSizeY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11595 PyObject
*resultobj
= 0;
11596 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
11600 PyObject
*swig_obj
[1] ;
11602 if (!args
) SWIG_fail
;
11603 swig_obj
[0] = args
;
11604 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSashWindow
, 0 | 0 );
11605 if (!SWIG_IsOK(res1
)) {
11606 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashWindow_GetMaximumSizeY" "', expected argument " "1"" of type '" "wxSashWindow const *""'");
11608 arg1
= reinterpret_cast< wxSashWindow
* >(argp1
);
11610 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11611 result
= (int)((wxSashWindow
const *)arg1
)->GetMaximumSizeY();
11612 wxPyEndAllowThreads(__tstate
);
11613 if (PyErr_Occurred()) SWIG_fail
;
11615 resultobj
= SWIG_From_int(static_cast< int >(result
));
11622 SWIGINTERN PyObject
*_wrap_SashWindow_SashHitTest(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11623 PyObject
*resultobj
= 0;
11624 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
11627 int arg4
= (int) 2 ;
11628 wxSashEdgePosition result
;
11637 PyObject
* obj0
= 0 ;
11638 PyObject
* obj1
= 0 ;
11639 PyObject
* obj2
= 0 ;
11640 PyObject
* obj3
= 0 ;
11641 char * kwnames
[] = {
11642 (char *) "self",(char *) "x",(char *) "y",(char *) "tolerance", NULL
11645 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:SashWindow_SashHitTest",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
11646 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSashWindow
, 0 | 0 );
11647 if (!SWIG_IsOK(res1
)) {
11648 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashWindow_SashHitTest" "', expected argument " "1"" of type '" "wxSashWindow *""'");
11650 arg1
= reinterpret_cast< wxSashWindow
* >(argp1
);
11651 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
11652 if (!SWIG_IsOK(ecode2
)) {
11653 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SashWindow_SashHitTest" "', expected argument " "2"" of type '" "int""'");
11655 arg2
= static_cast< int >(val2
);
11656 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
11657 if (!SWIG_IsOK(ecode3
)) {
11658 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "SashWindow_SashHitTest" "', expected argument " "3"" of type '" "int""'");
11660 arg3
= static_cast< int >(val3
);
11662 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
11663 if (!SWIG_IsOK(ecode4
)) {
11664 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "SashWindow_SashHitTest" "', expected argument " "4"" of type '" "int""'");
11666 arg4
= static_cast< int >(val4
);
11669 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11670 result
= (wxSashEdgePosition
)(arg1
)->SashHitTest(arg2
,arg3
,arg4
);
11671 wxPyEndAllowThreads(__tstate
);
11672 if (PyErr_Occurred()) SWIG_fail
;
11674 resultobj
= SWIG_From_int(static_cast< int >(result
));
11681 SWIGINTERN PyObject
*_wrap_SashWindow_SizeWindows(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11682 PyObject
*resultobj
= 0;
11683 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
11686 PyObject
*swig_obj
[1] ;
11688 if (!args
) SWIG_fail
;
11689 swig_obj
[0] = args
;
11690 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSashWindow
, 0 | 0 );
11691 if (!SWIG_IsOK(res1
)) {
11692 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashWindow_SizeWindows" "', expected argument " "1"" of type '" "wxSashWindow *""'");
11694 arg1
= reinterpret_cast< wxSashWindow
* >(argp1
);
11696 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11697 (arg1
)->SizeWindows();
11698 wxPyEndAllowThreads(__tstate
);
11699 if (PyErr_Occurred()) SWIG_fail
;
11701 resultobj
= SWIG_Py_Void();
11708 SWIGINTERN PyObject
*SashWindow_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11710 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
11711 SWIG_TypeNewClientData(SWIGTYPE_p_wxSashWindow
, SWIG_NewClientData(obj
));
11712 return SWIG_Py_Void();
11715 SWIGINTERN PyObject
*SashWindow_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11716 return SWIG_Python_InitShadowInstance(args
);
11719 SWIGINTERN PyObject
*_wrap_new_SashEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11720 PyObject
*resultobj
= 0;
11721 int arg1
= (int) 0 ;
11722 wxSashEdgePosition arg2
= (wxSashEdgePosition
) wxSASH_NONE
;
11723 wxSashEvent
*result
= 0 ;
11728 PyObject
* obj0
= 0 ;
11729 PyObject
* obj1
= 0 ;
11730 char * kwnames
[] = {
11731 (char *) "id",(char *) "edge", NULL
11734 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_SashEvent",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11736 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
11737 if (!SWIG_IsOK(ecode1
)) {
11738 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_SashEvent" "', expected argument " "1"" of type '" "int""'");
11740 arg1
= static_cast< int >(val1
);
11743 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
11744 if (!SWIG_IsOK(ecode2
)) {
11745 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_SashEvent" "', expected argument " "2"" of type '" "wxSashEdgePosition""'");
11747 arg2
= static_cast< wxSashEdgePosition
>(val2
);
11750 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11751 result
= (wxSashEvent
*)new wxSashEvent(arg1
,arg2
);
11752 wxPyEndAllowThreads(__tstate
);
11753 if (PyErr_Occurred()) SWIG_fail
;
11755 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSashEvent
, SWIG_POINTER_NEW
| 0 );
11762 SWIGINTERN PyObject
*_wrap_SashEvent_SetEdge(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11763 PyObject
*resultobj
= 0;
11764 wxSashEvent
*arg1
= (wxSashEvent
*) 0 ;
11765 wxSashEdgePosition arg2
;
11770 PyObject
* obj0
= 0 ;
11771 PyObject
* obj1
= 0 ;
11772 char * kwnames
[] = {
11773 (char *) "self",(char *) "edge", NULL
11776 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashEvent_SetEdge",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11777 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSashEvent
, 0 | 0 );
11778 if (!SWIG_IsOK(res1
)) {
11779 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashEvent_SetEdge" "', expected argument " "1"" of type '" "wxSashEvent *""'");
11781 arg1
= reinterpret_cast< wxSashEvent
* >(argp1
);
11782 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
11783 if (!SWIG_IsOK(ecode2
)) {
11784 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SashEvent_SetEdge" "', expected argument " "2"" of type '" "wxSashEdgePosition""'");
11786 arg2
= static_cast< wxSashEdgePosition
>(val2
);
11788 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11789 (arg1
)->SetEdge(arg2
);
11790 wxPyEndAllowThreads(__tstate
);
11791 if (PyErr_Occurred()) SWIG_fail
;
11793 resultobj
= SWIG_Py_Void();
11800 SWIGINTERN PyObject
*_wrap_SashEvent_GetEdge(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11801 PyObject
*resultobj
= 0;
11802 wxSashEvent
*arg1
= (wxSashEvent
*) 0 ;
11803 wxSashEdgePosition result
;
11806 PyObject
*swig_obj
[1] ;
11808 if (!args
) SWIG_fail
;
11809 swig_obj
[0] = args
;
11810 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSashEvent
, 0 | 0 );
11811 if (!SWIG_IsOK(res1
)) {
11812 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashEvent_GetEdge" "', expected argument " "1"" of type '" "wxSashEvent const *""'");
11814 arg1
= reinterpret_cast< wxSashEvent
* >(argp1
);
11816 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11817 result
= (wxSashEdgePosition
)((wxSashEvent
const *)arg1
)->GetEdge();
11818 wxPyEndAllowThreads(__tstate
);
11819 if (PyErr_Occurred()) SWIG_fail
;
11821 resultobj
= SWIG_From_int(static_cast< int >(result
));
11828 SWIGINTERN PyObject
*_wrap_SashEvent_SetDragRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11829 PyObject
*resultobj
= 0;
11830 wxSashEvent
*arg1
= (wxSashEvent
*) 0 ;
11835 PyObject
* obj0
= 0 ;
11836 PyObject
* obj1
= 0 ;
11837 char * kwnames
[] = {
11838 (char *) "self",(char *) "rect", NULL
11841 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashEvent_SetDragRect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11842 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSashEvent
, 0 | 0 );
11843 if (!SWIG_IsOK(res1
)) {
11844 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashEvent_SetDragRect" "', expected argument " "1"" of type '" "wxSashEvent *""'");
11846 arg1
= reinterpret_cast< wxSashEvent
* >(argp1
);
11849 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
11852 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11853 (arg1
)->SetDragRect((wxRect
const &)*arg2
);
11854 wxPyEndAllowThreads(__tstate
);
11855 if (PyErr_Occurred()) SWIG_fail
;
11857 resultobj
= SWIG_Py_Void();
11864 SWIGINTERN PyObject
*_wrap_SashEvent_GetDragRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11865 PyObject
*resultobj
= 0;
11866 wxSashEvent
*arg1
= (wxSashEvent
*) 0 ;
11870 PyObject
*swig_obj
[1] ;
11872 if (!args
) SWIG_fail
;
11873 swig_obj
[0] = args
;
11874 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSashEvent
, 0 | 0 );
11875 if (!SWIG_IsOK(res1
)) {
11876 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashEvent_GetDragRect" "', expected argument " "1"" of type '" "wxSashEvent const *""'");
11878 arg1
= reinterpret_cast< wxSashEvent
* >(argp1
);
11880 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11881 result
= ((wxSashEvent
const *)arg1
)->GetDragRect();
11882 wxPyEndAllowThreads(__tstate
);
11883 if (PyErr_Occurred()) SWIG_fail
;
11885 resultobj
= SWIG_NewPointerObj((new wxRect(static_cast< const wxRect
& >(result
))), SWIGTYPE_p_wxRect
, SWIG_POINTER_OWN
| 0 );
11892 SWIGINTERN PyObject
*_wrap_SashEvent_SetDragStatus(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11893 PyObject
*resultobj
= 0;
11894 wxSashEvent
*arg1
= (wxSashEvent
*) 0 ;
11895 wxSashDragStatus arg2
;
11900 PyObject
* obj0
= 0 ;
11901 PyObject
* obj1
= 0 ;
11902 char * kwnames
[] = {
11903 (char *) "self",(char *) "status", NULL
11906 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashEvent_SetDragStatus",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11907 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSashEvent
, 0 | 0 );
11908 if (!SWIG_IsOK(res1
)) {
11909 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashEvent_SetDragStatus" "', expected argument " "1"" of type '" "wxSashEvent *""'");
11911 arg1
= reinterpret_cast< wxSashEvent
* >(argp1
);
11912 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
11913 if (!SWIG_IsOK(ecode2
)) {
11914 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SashEvent_SetDragStatus" "', expected argument " "2"" of type '" "wxSashDragStatus""'");
11916 arg2
= static_cast< wxSashDragStatus
>(val2
);
11918 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11919 (arg1
)->SetDragStatus(arg2
);
11920 wxPyEndAllowThreads(__tstate
);
11921 if (PyErr_Occurred()) SWIG_fail
;
11923 resultobj
= SWIG_Py_Void();
11930 SWIGINTERN PyObject
*_wrap_SashEvent_GetDragStatus(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11931 PyObject
*resultobj
= 0;
11932 wxSashEvent
*arg1
= (wxSashEvent
*) 0 ;
11933 wxSashDragStatus result
;
11936 PyObject
*swig_obj
[1] ;
11938 if (!args
) SWIG_fail
;
11939 swig_obj
[0] = args
;
11940 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSashEvent
, 0 | 0 );
11941 if (!SWIG_IsOK(res1
)) {
11942 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashEvent_GetDragStatus" "', expected argument " "1"" of type '" "wxSashEvent const *""'");
11944 arg1
= reinterpret_cast< wxSashEvent
* >(argp1
);
11946 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11947 result
= (wxSashDragStatus
)((wxSashEvent
const *)arg1
)->GetDragStatus();
11948 wxPyEndAllowThreads(__tstate
);
11949 if (PyErr_Occurred()) SWIG_fail
;
11951 resultobj
= SWIG_From_int(static_cast< int >(result
));
11958 SWIGINTERN PyObject
*SashEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11960 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
11961 SWIG_TypeNewClientData(SWIGTYPE_p_wxSashEvent
, SWIG_NewClientData(obj
));
11962 return SWIG_Py_Void();
11965 SWIGINTERN PyObject
*SashEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11966 return SWIG_Python_InitShadowInstance(args
);
11969 SWIGINTERN PyObject
*_wrap_new_QueryLayoutInfoEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11970 PyObject
*resultobj
= 0;
11971 int arg1
= (int) 0 ;
11972 wxQueryLayoutInfoEvent
*result
= 0 ;
11975 PyObject
* obj0
= 0 ;
11976 char * kwnames
[] = {
11977 (char *) "id", NULL
11980 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_QueryLayoutInfoEvent",kwnames
,&obj0
)) SWIG_fail
;
11982 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
11983 if (!SWIG_IsOK(ecode1
)) {
11984 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_QueryLayoutInfoEvent" "', expected argument " "1"" of type '" "int""'");
11986 arg1
= static_cast< int >(val1
);
11989 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11990 result
= (wxQueryLayoutInfoEvent
*)new wxQueryLayoutInfoEvent(arg1
);
11991 wxPyEndAllowThreads(__tstate
);
11992 if (PyErr_Occurred()) SWIG_fail
;
11994 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxQueryLayoutInfoEvent
, SWIG_POINTER_NEW
| 0 );
12001 SWIGINTERN PyObject
*_wrap_QueryLayoutInfoEvent_SetRequestedLength(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12002 PyObject
*resultobj
= 0;
12003 wxQueryLayoutInfoEvent
*arg1
= (wxQueryLayoutInfoEvent
*) 0 ;
12009 PyObject
* obj0
= 0 ;
12010 PyObject
* obj1
= 0 ;
12011 char * kwnames
[] = {
12012 (char *) "self",(char *) "length", NULL
12015 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:QueryLayoutInfoEvent_SetRequestedLength",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12016 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxQueryLayoutInfoEvent
, 0 | 0 );
12017 if (!SWIG_IsOK(res1
)) {
12018 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "QueryLayoutInfoEvent_SetRequestedLength" "', expected argument " "1"" of type '" "wxQueryLayoutInfoEvent *""'");
12020 arg1
= reinterpret_cast< wxQueryLayoutInfoEvent
* >(argp1
);
12021 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
12022 if (!SWIG_IsOK(ecode2
)) {
12023 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "QueryLayoutInfoEvent_SetRequestedLength" "', expected argument " "2"" of type '" "int""'");
12025 arg2
= static_cast< int >(val2
);
12027 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12028 (arg1
)->SetRequestedLength(arg2
);
12029 wxPyEndAllowThreads(__tstate
);
12030 if (PyErr_Occurred()) SWIG_fail
;
12032 resultobj
= SWIG_Py_Void();
12039 SWIGINTERN PyObject
*_wrap_QueryLayoutInfoEvent_GetRequestedLength(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12040 PyObject
*resultobj
= 0;
12041 wxQueryLayoutInfoEvent
*arg1
= (wxQueryLayoutInfoEvent
*) 0 ;
12045 PyObject
*swig_obj
[1] ;
12047 if (!args
) SWIG_fail
;
12048 swig_obj
[0] = args
;
12049 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxQueryLayoutInfoEvent
, 0 | 0 );
12050 if (!SWIG_IsOK(res1
)) {
12051 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "QueryLayoutInfoEvent_GetRequestedLength" "', expected argument " "1"" of type '" "wxQueryLayoutInfoEvent const *""'");
12053 arg1
= reinterpret_cast< wxQueryLayoutInfoEvent
* >(argp1
);
12055 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12056 result
= (int)((wxQueryLayoutInfoEvent
const *)arg1
)->GetRequestedLength();
12057 wxPyEndAllowThreads(__tstate
);
12058 if (PyErr_Occurred()) SWIG_fail
;
12060 resultobj
= SWIG_From_int(static_cast< int >(result
));
12067 SWIGINTERN PyObject
*_wrap_QueryLayoutInfoEvent_SetFlags(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12068 PyObject
*resultobj
= 0;
12069 wxQueryLayoutInfoEvent
*arg1
= (wxQueryLayoutInfoEvent
*) 0 ;
12075 PyObject
* obj0
= 0 ;
12076 PyObject
* obj1
= 0 ;
12077 char * kwnames
[] = {
12078 (char *) "self",(char *) "flags", NULL
12081 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:QueryLayoutInfoEvent_SetFlags",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12082 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxQueryLayoutInfoEvent
, 0 | 0 );
12083 if (!SWIG_IsOK(res1
)) {
12084 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "QueryLayoutInfoEvent_SetFlags" "', expected argument " "1"" of type '" "wxQueryLayoutInfoEvent *""'");
12086 arg1
= reinterpret_cast< wxQueryLayoutInfoEvent
* >(argp1
);
12087 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
12088 if (!SWIG_IsOK(ecode2
)) {
12089 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "QueryLayoutInfoEvent_SetFlags" "', expected argument " "2"" of type '" "int""'");
12091 arg2
= static_cast< int >(val2
);
12093 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12094 (arg1
)->SetFlags(arg2
);
12095 wxPyEndAllowThreads(__tstate
);
12096 if (PyErr_Occurred()) SWIG_fail
;
12098 resultobj
= SWIG_Py_Void();
12105 SWIGINTERN PyObject
*_wrap_QueryLayoutInfoEvent_GetFlags(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12106 PyObject
*resultobj
= 0;
12107 wxQueryLayoutInfoEvent
*arg1
= (wxQueryLayoutInfoEvent
*) 0 ;
12111 PyObject
*swig_obj
[1] ;
12113 if (!args
) SWIG_fail
;
12114 swig_obj
[0] = args
;
12115 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxQueryLayoutInfoEvent
, 0 | 0 );
12116 if (!SWIG_IsOK(res1
)) {
12117 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "QueryLayoutInfoEvent_GetFlags" "', expected argument " "1"" of type '" "wxQueryLayoutInfoEvent const *""'");
12119 arg1
= reinterpret_cast< wxQueryLayoutInfoEvent
* >(argp1
);
12121 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12122 result
= (int)((wxQueryLayoutInfoEvent
const *)arg1
)->GetFlags();
12123 wxPyEndAllowThreads(__tstate
);
12124 if (PyErr_Occurred()) SWIG_fail
;
12126 resultobj
= SWIG_From_int(static_cast< int >(result
));
12133 SWIGINTERN PyObject
*_wrap_QueryLayoutInfoEvent_SetSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12134 PyObject
*resultobj
= 0;
12135 wxQueryLayoutInfoEvent
*arg1
= (wxQueryLayoutInfoEvent
*) 0 ;
12140 PyObject
* obj0
= 0 ;
12141 PyObject
* obj1
= 0 ;
12142 char * kwnames
[] = {
12143 (char *) "self",(char *) "size", NULL
12146 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:QueryLayoutInfoEvent_SetSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12147 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxQueryLayoutInfoEvent
, 0 | 0 );
12148 if (!SWIG_IsOK(res1
)) {
12149 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "QueryLayoutInfoEvent_SetSize" "', expected argument " "1"" of type '" "wxQueryLayoutInfoEvent *""'");
12151 arg1
= reinterpret_cast< wxQueryLayoutInfoEvent
* >(argp1
);
12154 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
12157 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12158 (arg1
)->SetSize((wxSize
const &)*arg2
);
12159 wxPyEndAllowThreads(__tstate
);
12160 if (PyErr_Occurred()) SWIG_fail
;
12162 resultobj
= SWIG_Py_Void();
12169 SWIGINTERN PyObject
*_wrap_QueryLayoutInfoEvent_GetSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12170 PyObject
*resultobj
= 0;
12171 wxQueryLayoutInfoEvent
*arg1
= (wxQueryLayoutInfoEvent
*) 0 ;
12175 PyObject
*swig_obj
[1] ;
12177 if (!args
) SWIG_fail
;
12178 swig_obj
[0] = args
;
12179 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxQueryLayoutInfoEvent
, 0 | 0 );
12180 if (!SWIG_IsOK(res1
)) {
12181 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "QueryLayoutInfoEvent_GetSize" "', expected argument " "1"" of type '" "wxQueryLayoutInfoEvent const *""'");
12183 arg1
= reinterpret_cast< wxQueryLayoutInfoEvent
* >(argp1
);
12185 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12186 result
= ((wxQueryLayoutInfoEvent
const *)arg1
)->GetSize();
12187 wxPyEndAllowThreads(__tstate
);
12188 if (PyErr_Occurred()) SWIG_fail
;
12190 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
12197 SWIGINTERN PyObject
*_wrap_QueryLayoutInfoEvent_SetOrientation(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12198 PyObject
*resultobj
= 0;
12199 wxQueryLayoutInfoEvent
*arg1
= (wxQueryLayoutInfoEvent
*) 0 ;
12200 wxLayoutOrientation arg2
;
12205 PyObject
* obj0
= 0 ;
12206 PyObject
* obj1
= 0 ;
12207 char * kwnames
[] = {
12208 (char *) "self",(char *) "orient", NULL
12211 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:QueryLayoutInfoEvent_SetOrientation",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12212 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxQueryLayoutInfoEvent
, 0 | 0 );
12213 if (!SWIG_IsOK(res1
)) {
12214 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "QueryLayoutInfoEvent_SetOrientation" "', expected argument " "1"" of type '" "wxQueryLayoutInfoEvent *""'");
12216 arg1
= reinterpret_cast< wxQueryLayoutInfoEvent
* >(argp1
);
12217 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
12218 if (!SWIG_IsOK(ecode2
)) {
12219 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "QueryLayoutInfoEvent_SetOrientation" "', expected argument " "2"" of type '" "wxLayoutOrientation""'");
12221 arg2
= static_cast< wxLayoutOrientation
>(val2
);
12223 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12224 (arg1
)->SetOrientation(arg2
);
12225 wxPyEndAllowThreads(__tstate
);
12226 if (PyErr_Occurred()) SWIG_fail
;
12228 resultobj
= SWIG_Py_Void();
12235 SWIGINTERN PyObject
*_wrap_QueryLayoutInfoEvent_GetOrientation(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12236 PyObject
*resultobj
= 0;
12237 wxQueryLayoutInfoEvent
*arg1
= (wxQueryLayoutInfoEvent
*) 0 ;
12238 wxLayoutOrientation result
;
12241 PyObject
*swig_obj
[1] ;
12243 if (!args
) SWIG_fail
;
12244 swig_obj
[0] = args
;
12245 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxQueryLayoutInfoEvent
, 0 | 0 );
12246 if (!SWIG_IsOK(res1
)) {
12247 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "QueryLayoutInfoEvent_GetOrientation" "', expected argument " "1"" of type '" "wxQueryLayoutInfoEvent const *""'");
12249 arg1
= reinterpret_cast< wxQueryLayoutInfoEvent
* >(argp1
);
12251 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12252 result
= (wxLayoutOrientation
)((wxQueryLayoutInfoEvent
const *)arg1
)->GetOrientation();
12253 wxPyEndAllowThreads(__tstate
);
12254 if (PyErr_Occurred()) SWIG_fail
;
12256 resultobj
= SWIG_From_int(static_cast< int >(result
));
12263 SWIGINTERN PyObject
*_wrap_QueryLayoutInfoEvent_SetAlignment(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12264 PyObject
*resultobj
= 0;
12265 wxQueryLayoutInfoEvent
*arg1
= (wxQueryLayoutInfoEvent
*) 0 ;
12266 wxLayoutAlignment arg2
;
12271 PyObject
* obj0
= 0 ;
12272 PyObject
* obj1
= 0 ;
12273 char * kwnames
[] = {
12274 (char *) "self",(char *) "align", NULL
12277 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:QueryLayoutInfoEvent_SetAlignment",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12278 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxQueryLayoutInfoEvent
, 0 | 0 );
12279 if (!SWIG_IsOK(res1
)) {
12280 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "QueryLayoutInfoEvent_SetAlignment" "', expected argument " "1"" of type '" "wxQueryLayoutInfoEvent *""'");
12282 arg1
= reinterpret_cast< wxQueryLayoutInfoEvent
* >(argp1
);
12283 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
12284 if (!SWIG_IsOK(ecode2
)) {
12285 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "QueryLayoutInfoEvent_SetAlignment" "', expected argument " "2"" of type '" "wxLayoutAlignment""'");
12287 arg2
= static_cast< wxLayoutAlignment
>(val2
);
12289 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12290 (arg1
)->SetAlignment(arg2
);
12291 wxPyEndAllowThreads(__tstate
);
12292 if (PyErr_Occurred()) SWIG_fail
;
12294 resultobj
= SWIG_Py_Void();
12301 SWIGINTERN PyObject
*_wrap_QueryLayoutInfoEvent_GetAlignment(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12302 PyObject
*resultobj
= 0;
12303 wxQueryLayoutInfoEvent
*arg1
= (wxQueryLayoutInfoEvent
*) 0 ;
12304 wxLayoutAlignment result
;
12307 PyObject
*swig_obj
[1] ;
12309 if (!args
) SWIG_fail
;
12310 swig_obj
[0] = args
;
12311 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxQueryLayoutInfoEvent
, 0 | 0 );
12312 if (!SWIG_IsOK(res1
)) {
12313 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "QueryLayoutInfoEvent_GetAlignment" "', expected argument " "1"" of type '" "wxQueryLayoutInfoEvent const *""'");
12315 arg1
= reinterpret_cast< wxQueryLayoutInfoEvent
* >(argp1
);
12317 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12318 result
= (wxLayoutAlignment
)((wxQueryLayoutInfoEvent
const *)arg1
)->GetAlignment();
12319 wxPyEndAllowThreads(__tstate
);
12320 if (PyErr_Occurred()) SWIG_fail
;
12322 resultobj
= SWIG_From_int(static_cast< int >(result
));
12329 SWIGINTERN PyObject
*QueryLayoutInfoEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12331 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
12332 SWIG_TypeNewClientData(SWIGTYPE_p_wxQueryLayoutInfoEvent
, SWIG_NewClientData(obj
));
12333 return SWIG_Py_Void();
12336 SWIGINTERN PyObject
*QueryLayoutInfoEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12337 return SWIG_Python_InitShadowInstance(args
);
12340 SWIGINTERN PyObject
*_wrap_new_CalculateLayoutEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12341 PyObject
*resultobj
= 0;
12342 int arg1
= (int) 0 ;
12343 wxCalculateLayoutEvent
*result
= 0 ;
12346 PyObject
* obj0
= 0 ;
12347 char * kwnames
[] = {
12348 (char *) "id", NULL
12351 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_CalculateLayoutEvent",kwnames
,&obj0
)) SWIG_fail
;
12353 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
12354 if (!SWIG_IsOK(ecode1
)) {
12355 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_CalculateLayoutEvent" "', expected argument " "1"" of type '" "int""'");
12357 arg1
= static_cast< int >(val1
);
12360 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12361 result
= (wxCalculateLayoutEvent
*)new wxCalculateLayoutEvent(arg1
);
12362 wxPyEndAllowThreads(__tstate
);
12363 if (PyErr_Occurred()) SWIG_fail
;
12365 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxCalculateLayoutEvent
, SWIG_POINTER_NEW
| 0 );
12372 SWIGINTERN PyObject
*_wrap_CalculateLayoutEvent_SetFlags(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12373 PyObject
*resultobj
= 0;
12374 wxCalculateLayoutEvent
*arg1
= (wxCalculateLayoutEvent
*) 0 ;
12380 PyObject
* obj0
= 0 ;
12381 PyObject
* obj1
= 0 ;
12382 char * kwnames
[] = {
12383 (char *) "self",(char *) "flags", NULL
12386 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CalculateLayoutEvent_SetFlags",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12387 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxCalculateLayoutEvent
, 0 | 0 );
12388 if (!SWIG_IsOK(res1
)) {
12389 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "CalculateLayoutEvent_SetFlags" "', expected argument " "1"" of type '" "wxCalculateLayoutEvent *""'");
12391 arg1
= reinterpret_cast< wxCalculateLayoutEvent
* >(argp1
);
12392 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
12393 if (!SWIG_IsOK(ecode2
)) {
12394 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "CalculateLayoutEvent_SetFlags" "', expected argument " "2"" of type '" "int""'");
12396 arg2
= static_cast< int >(val2
);
12398 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12399 (arg1
)->SetFlags(arg2
);
12400 wxPyEndAllowThreads(__tstate
);
12401 if (PyErr_Occurred()) SWIG_fail
;
12403 resultobj
= SWIG_Py_Void();
12410 SWIGINTERN PyObject
*_wrap_CalculateLayoutEvent_GetFlags(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12411 PyObject
*resultobj
= 0;
12412 wxCalculateLayoutEvent
*arg1
= (wxCalculateLayoutEvent
*) 0 ;
12416 PyObject
*swig_obj
[1] ;
12418 if (!args
) SWIG_fail
;
12419 swig_obj
[0] = args
;
12420 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxCalculateLayoutEvent
, 0 | 0 );
12421 if (!SWIG_IsOK(res1
)) {
12422 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "CalculateLayoutEvent_GetFlags" "', expected argument " "1"" of type '" "wxCalculateLayoutEvent const *""'");
12424 arg1
= reinterpret_cast< wxCalculateLayoutEvent
* >(argp1
);
12426 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12427 result
= (int)((wxCalculateLayoutEvent
const *)arg1
)->GetFlags();
12428 wxPyEndAllowThreads(__tstate
);
12429 if (PyErr_Occurred()) SWIG_fail
;
12431 resultobj
= SWIG_From_int(static_cast< int >(result
));
12438 SWIGINTERN PyObject
*_wrap_CalculateLayoutEvent_SetRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12439 PyObject
*resultobj
= 0;
12440 wxCalculateLayoutEvent
*arg1
= (wxCalculateLayoutEvent
*) 0 ;
12445 PyObject
* obj0
= 0 ;
12446 PyObject
* obj1
= 0 ;
12447 char * kwnames
[] = {
12448 (char *) "self",(char *) "rect", NULL
12451 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CalculateLayoutEvent_SetRect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12452 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxCalculateLayoutEvent
, 0 | 0 );
12453 if (!SWIG_IsOK(res1
)) {
12454 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "CalculateLayoutEvent_SetRect" "', expected argument " "1"" of type '" "wxCalculateLayoutEvent *""'");
12456 arg1
= reinterpret_cast< wxCalculateLayoutEvent
* >(argp1
);
12459 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
12462 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12463 (arg1
)->SetRect((wxRect
const &)*arg2
);
12464 wxPyEndAllowThreads(__tstate
);
12465 if (PyErr_Occurred()) SWIG_fail
;
12467 resultobj
= SWIG_Py_Void();
12474 SWIGINTERN PyObject
*_wrap_CalculateLayoutEvent_GetRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12475 PyObject
*resultobj
= 0;
12476 wxCalculateLayoutEvent
*arg1
= (wxCalculateLayoutEvent
*) 0 ;
12480 PyObject
*swig_obj
[1] ;
12482 if (!args
) SWIG_fail
;
12483 swig_obj
[0] = args
;
12484 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxCalculateLayoutEvent
, 0 | 0 );
12485 if (!SWIG_IsOK(res1
)) {
12486 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "CalculateLayoutEvent_GetRect" "', expected argument " "1"" of type '" "wxCalculateLayoutEvent const *""'");
12488 arg1
= reinterpret_cast< wxCalculateLayoutEvent
* >(argp1
);
12490 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12491 result
= ((wxCalculateLayoutEvent
const *)arg1
)->GetRect();
12492 wxPyEndAllowThreads(__tstate
);
12493 if (PyErr_Occurred()) SWIG_fail
;
12495 resultobj
= SWIG_NewPointerObj((new wxRect(static_cast< const wxRect
& >(result
))), SWIGTYPE_p_wxRect
, SWIG_POINTER_OWN
| 0 );
12502 SWIGINTERN PyObject
*CalculateLayoutEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12504 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
12505 SWIG_TypeNewClientData(SWIGTYPE_p_wxCalculateLayoutEvent
, SWIG_NewClientData(obj
));
12506 return SWIG_Py_Void();
12509 SWIGINTERN PyObject
*CalculateLayoutEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12510 return SWIG_Python_InitShadowInstance(args
);
12513 SWIGINTERN PyObject
*_wrap_new_SashLayoutWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12514 PyObject
*resultobj
= 0;
12515 wxWindow
*arg1
= (wxWindow
*) 0 ;
12516 int arg2
= (int) -1 ;
12517 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
12518 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
12519 wxSize
const &arg4_defvalue
= wxDefaultSize
;
12520 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
12521 long arg5
= (long) wxCLIP_CHILDREN
|wxSW_3D
;
12522 wxString
const &arg6_defvalue
= wxPySashLayoutNameStr
;
12523 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
12524 wxSashLayoutWindow
*result
= 0 ;
12533 bool temp6
= false ;
12534 PyObject
* obj0
= 0 ;
12535 PyObject
* obj1
= 0 ;
12536 PyObject
* obj2
= 0 ;
12537 PyObject
* obj3
= 0 ;
12538 PyObject
* obj4
= 0 ;
12539 PyObject
* obj5
= 0 ;
12540 char * kwnames
[] = {
12541 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
12544 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_SashLayoutWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
12545 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
12546 if (!SWIG_IsOK(res1
)) {
12547 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_SashLayoutWindow" "', expected argument " "1"" of type '" "wxWindow *""'");
12549 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
12551 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
12552 if (!SWIG_IsOK(ecode2
)) {
12553 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_SashLayoutWindow" "', expected argument " "2"" of type '" "int""'");
12555 arg2
= static_cast< int >(val2
);
12560 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
12566 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
12570 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
12571 if (!SWIG_IsOK(ecode5
)) {
12572 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_SashLayoutWindow" "', expected argument " "5"" of type '" "long""'");
12574 arg5
= static_cast< long >(val5
);
12578 arg6
= wxString_in_helper(obj5
);
12579 if (arg6
== NULL
) SWIG_fail
;
12584 if (!wxPyCheckForApp()) SWIG_fail
;
12585 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12586 result
= (wxSashLayoutWindow
*)new wxSashLayoutWindow(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
12587 wxPyEndAllowThreads(__tstate
);
12588 if (PyErr_Occurred()) SWIG_fail
;
12590 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSashLayoutWindow
, SWIG_POINTER_NEW
| 0 );
12605 SWIGINTERN PyObject
*_wrap_new_PreSashLayoutWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12606 PyObject
*resultobj
= 0;
12607 wxSashLayoutWindow
*result
= 0 ;
12609 if (!SWIG_Python_UnpackTuple(args
,"new_PreSashLayoutWindow",0,0,0)) SWIG_fail
;
12611 if (!wxPyCheckForApp()) SWIG_fail
;
12612 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12613 result
= (wxSashLayoutWindow
*)new wxSashLayoutWindow();
12614 wxPyEndAllowThreads(__tstate
);
12615 if (PyErr_Occurred()) SWIG_fail
;
12617 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSashLayoutWindow
, SWIG_POINTER_OWN
| 0 );
12624 SWIGINTERN PyObject
*_wrap_SashLayoutWindow_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12625 PyObject
*resultobj
= 0;
12626 wxSashLayoutWindow
*arg1
= (wxSashLayoutWindow
*) 0 ;
12627 wxWindow
*arg2
= (wxWindow
*) 0 ;
12628 int arg3
= (int) -1 ;
12629 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
12630 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
12631 wxSize
const &arg5_defvalue
= wxDefaultSize
;
12632 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
12633 long arg6
= (long) wxCLIP_CHILDREN
|wxSW_3D
;
12634 wxString
const &arg7_defvalue
= wxPySashLayoutNameStr
;
12635 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
12647 bool temp7
= false ;
12648 PyObject
* obj0
= 0 ;
12649 PyObject
* obj1
= 0 ;
12650 PyObject
* obj2
= 0 ;
12651 PyObject
* obj3
= 0 ;
12652 PyObject
* obj4
= 0 ;
12653 PyObject
* obj5
= 0 ;
12654 PyObject
* obj6
= 0 ;
12655 char * kwnames
[] = {
12656 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
12659 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:SashLayoutWindow_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
12660 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSashLayoutWindow
, 0 | 0 );
12661 if (!SWIG_IsOK(res1
)) {
12662 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashLayoutWindow_Create" "', expected argument " "1"" of type '" "wxSashLayoutWindow *""'");
12664 arg1
= reinterpret_cast< wxSashLayoutWindow
* >(argp1
);
12665 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
12666 if (!SWIG_IsOK(res2
)) {
12667 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "SashLayoutWindow_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
12669 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
12671 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
12672 if (!SWIG_IsOK(ecode3
)) {
12673 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "SashLayoutWindow_Create" "', expected argument " "3"" of type '" "int""'");
12675 arg3
= static_cast< int >(val3
);
12680 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
12686 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
12690 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
12691 if (!SWIG_IsOK(ecode6
)) {
12692 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "SashLayoutWindow_Create" "', expected argument " "6"" of type '" "long""'");
12694 arg6
= static_cast< long >(val6
);
12698 arg7
= wxString_in_helper(obj6
);
12699 if (arg7
== NULL
) SWIG_fail
;
12704 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12705 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
12706 wxPyEndAllowThreads(__tstate
);
12707 if (PyErr_Occurred()) SWIG_fail
;
12710 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12726 SWIGINTERN PyObject
*_wrap_SashLayoutWindow_GetAlignment(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12727 PyObject
*resultobj
= 0;
12728 wxSashLayoutWindow
*arg1
= (wxSashLayoutWindow
*) 0 ;
12729 wxLayoutAlignment result
;
12732 PyObject
*swig_obj
[1] ;
12734 if (!args
) SWIG_fail
;
12735 swig_obj
[0] = args
;
12736 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSashLayoutWindow
, 0 | 0 );
12737 if (!SWIG_IsOK(res1
)) {
12738 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashLayoutWindow_GetAlignment" "', expected argument " "1"" of type '" "wxSashLayoutWindow *""'");
12740 arg1
= reinterpret_cast< wxSashLayoutWindow
* >(argp1
);
12742 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12743 result
= (wxLayoutAlignment
)(arg1
)->GetAlignment();
12744 wxPyEndAllowThreads(__tstate
);
12745 if (PyErr_Occurred()) SWIG_fail
;
12747 resultobj
= SWIG_From_int(static_cast< int >(result
));
12754 SWIGINTERN PyObject
*_wrap_SashLayoutWindow_GetOrientation(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12755 PyObject
*resultobj
= 0;
12756 wxSashLayoutWindow
*arg1
= (wxSashLayoutWindow
*) 0 ;
12757 wxLayoutOrientation result
;
12760 PyObject
*swig_obj
[1] ;
12762 if (!args
) SWIG_fail
;
12763 swig_obj
[0] = args
;
12764 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSashLayoutWindow
, 0 | 0 );
12765 if (!SWIG_IsOK(res1
)) {
12766 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashLayoutWindow_GetOrientation" "', expected argument " "1"" of type '" "wxSashLayoutWindow *""'");
12768 arg1
= reinterpret_cast< wxSashLayoutWindow
* >(argp1
);
12770 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12771 result
= (wxLayoutOrientation
)(arg1
)->GetOrientation();
12772 wxPyEndAllowThreads(__tstate
);
12773 if (PyErr_Occurred()) SWIG_fail
;
12775 resultobj
= SWIG_From_int(static_cast< int >(result
));
12782 SWIGINTERN PyObject
*_wrap_SashLayoutWindow_SetAlignment(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12783 PyObject
*resultobj
= 0;
12784 wxSashLayoutWindow
*arg1
= (wxSashLayoutWindow
*) 0 ;
12785 wxLayoutAlignment arg2
;
12790 PyObject
* obj0
= 0 ;
12791 PyObject
* obj1
= 0 ;
12792 char * kwnames
[] = {
12793 (char *) "self",(char *) "alignment", NULL
12796 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashLayoutWindow_SetAlignment",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12797 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSashLayoutWindow
, 0 | 0 );
12798 if (!SWIG_IsOK(res1
)) {
12799 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashLayoutWindow_SetAlignment" "', expected argument " "1"" of type '" "wxSashLayoutWindow *""'");
12801 arg1
= reinterpret_cast< wxSashLayoutWindow
* >(argp1
);
12802 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
12803 if (!SWIG_IsOK(ecode2
)) {
12804 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SashLayoutWindow_SetAlignment" "', expected argument " "2"" of type '" "wxLayoutAlignment""'");
12806 arg2
= static_cast< wxLayoutAlignment
>(val2
);
12808 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12809 (arg1
)->SetAlignment(arg2
);
12810 wxPyEndAllowThreads(__tstate
);
12811 if (PyErr_Occurred()) SWIG_fail
;
12813 resultobj
= SWIG_Py_Void();
12820 SWIGINTERN PyObject
*_wrap_SashLayoutWindow_SetDefaultSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12821 PyObject
*resultobj
= 0;
12822 wxSashLayoutWindow
*arg1
= (wxSashLayoutWindow
*) 0 ;
12827 PyObject
* obj0
= 0 ;
12828 PyObject
* obj1
= 0 ;
12829 char * kwnames
[] = {
12830 (char *) "self",(char *) "size", NULL
12833 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashLayoutWindow_SetDefaultSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12834 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSashLayoutWindow
, 0 | 0 );
12835 if (!SWIG_IsOK(res1
)) {
12836 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashLayoutWindow_SetDefaultSize" "', expected argument " "1"" of type '" "wxSashLayoutWindow *""'");
12838 arg1
= reinterpret_cast< wxSashLayoutWindow
* >(argp1
);
12841 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
12844 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12845 (arg1
)->SetDefaultSize((wxSize
const &)*arg2
);
12846 wxPyEndAllowThreads(__tstate
);
12847 if (PyErr_Occurred()) SWIG_fail
;
12849 resultobj
= SWIG_Py_Void();
12856 SWIGINTERN PyObject
*_wrap_SashLayoutWindow_SetOrientation(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12857 PyObject
*resultobj
= 0;
12858 wxSashLayoutWindow
*arg1
= (wxSashLayoutWindow
*) 0 ;
12859 wxLayoutOrientation arg2
;
12864 PyObject
* obj0
= 0 ;
12865 PyObject
* obj1
= 0 ;
12866 char * kwnames
[] = {
12867 (char *) "self",(char *) "orientation", NULL
12870 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashLayoutWindow_SetOrientation",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12871 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSashLayoutWindow
, 0 | 0 );
12872 if (!SWIG_IsOK(res1
)) {
12873 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashLayoutWindow_SetOrientation" "', expected argument " "1"" of type '" "wxSashLayoutWindow *""'");
12875 arg1
= reinterpret_cast< wxSashLayoutWindow
* >(argp1
);
12876 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
12877 if (!SWIG_IsOK(ecode2
)) {
12878 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SashLayoutWindow_SetOrientation" "', expected argument " "2"" of type '" "wxLayoutOrientation""'");
12880 arg2
= static_cast< wxLayoutOrientation
>(val2
);
12882 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12883 (arg1
)->SetOrientation(arg2
);
12884 wxPyEndAllowThreads(__tstate
);
12885 if (PyErr_Occurred()) SWIG_fail
;
12887 resultobj
= SWIG_Py_Void();
12894 SWIGINTERN PyObject
*SashLayoutWindow_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12896 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
12897 SWIG_TypeNewClientData(SWIGTYPE_p_wxSashLayoutWindow
, SWIG_NewClientData(obj
));
12898 return SWIG_Py_Void();
12901 SWIGINTERN PyObject
*SashLayoutWindow_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12902 return SWIG_Python_InitShadowInstance(args
);
12905 SWIGINTERN PyObject
*_wrap_new_LayoutAlgorithm(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12906 PyObject
*resultobj
= 0;
12907 wxLayoutAlgorithm
*result
= 0 ;
12909 if (!SWIG_Python_UnpackTuple(args
,"new_LayoutAlgorithm",0,0,0)) SWIG_fail
;
12911 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12912 result
= (wxLayoutAlgorithm
*)new wxLayoutAlgorithm();
12913 wxPyEndAllowThreads(__tstate
);
12914 if (PyErr_Occurred()) SWIG_fail
;
12916 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxLayoutAlgorithm
, SWIG_POINTER_NEW
| 0 );
12923 SWIGINTERN PyObject
*_wrap_delete_LayoutAlgorithm(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12924 PyObject
*resultobj
= 0;
12925 wxLayoutAlgorithm
*arg1
= (wxLayoutAlgorithm
*) 0 ;
12928 PyObject
*swig_obj
[1] ;
12930 if (!args
) SWIG_fail
;
12931 swig_obj
[0] = args
;
12932 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLayoutAlgorithm
, SWIG_POINTER_DISOWN
| 0 );
12933 if (!SWIG_IsOK(res1
)) {
12934 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_LayoutAlgorithm" "', expected argument " "1"" of type '" "wxLayoutAlgorithm *""'");
12936 arg1
= reinterpret_cast< wxLayoutAlgorithm
* >(argp1
);
12938 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12941 wxPyEndAllowThreads(__tstate
);
12942 if (PyErr_Occurred()) SWIG_fail
;
12944 resultobj
= SWIG_Py_Void();
12951 SWIGINTERN PyObject
*_wrap_LayoutAlgorithm_LayoutMDIFrame(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12952 PyObject
*resultobj
= 0;
12953 wxLayoutAlgorithm
*arg1
= (wxLayoutAlgorithm
*) 0 ;
12954 wxMDIParentFrame
*arg2
= (wxMDIParentFrame
*) 0 ;
12955 wxRect
*arg3
= (wxRect
*) NULL
;
12963 PyObject
* obj0
= 0 ;
12964 PyObject
* obj1
= 0 ;
12965 PyObject
* obj2
= 0 ;
12966 char * kwnames
[] = {
12967 (char *) "self",(char *) "frame",(char *) "rect", NULL
12970 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:LayoutAlgorithm_LayoutMDIFrame",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
12971 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxLayoutAlgorithm
, 0 | 0 );
12972 if (!SWIG_IsOK(res1
)) {
12973 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "LayoutAlgorithm_LayoutMDIFrame" "', expected argument " "1"" of type '" "wxLayoutAlgorithm *""'");
12975 arg1
= reinterpret_cast< wxLayoutAlgorithm
* >(argp1
);
12976 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxMDIParentFrame
, 0 | 0 );
12977 if (!SWIG_IsOK(res2
)) {
12978 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "LayoutAlgorithm_LayoutMDIFrame" "', expected argument " "2"" of type '" "wxMDIParentFrame *""'");
12980 arg2
= reinterpret_cast< wxMDIParentFrame
* >(argp2
);
12982 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxRect
, 0 | 0 );
12983 if (!SWIG_IsOK(res3
)) {
12984 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "LayoutAlgorithm_LayoutMDIFrame" "', expected argument " "3"" of type '" "wxRect *""'");
12986 arg3
= reinterpret_cast< wxRect
* >(argp3
);
12989 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12990 result
= (bool)(arg1
)->LayoutMDIFrame(arg2
,arg3
);
12991 wxPyEndAllowThreads(__tstate
);
12992 if (PyErr_Occurred()) SWIG_fail
;
12995 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13003 SWIGINTERN PyObject
*_wrap_LayoutAlgorithm_LayoutFrame(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13004 PyObject
*resultobj
= 0;
13005 wxLayoutAlgorithm
*arg1
= (wxLayoutAlgorithm
*) 0 ;
13006 wxFrame
*arg2
= (wxFrame
*) 0 ;
13007 wxWindow
*arg3
= (wxWindow
*) NULL
;
13015 PyObject
* obj0
= 0 ;
13016 PyObject
* obj1
= 0 ;
13017 PyObject
* obj2
= 0 ;
13018 char * kwnames
[] = {
13019 (char *) "self",(char *) "frame",(char *) "mainWindow", NULL
13022 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:LayoutAlgorithm_LayoutFrame",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
13023 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxLayoutAlgorithm
, 0 | 0 );
13024 if (!SWIG_IsOK(res1
)) {
13025 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "LayoutAlgorithm_LayoutFrame" "', expected argument " "1"" of type '" "wxLayoutAlgorithm *""'");
13027 arg1
= reinterpret_cast< wxLayoutAlgorithm
* >(argp1
);
13028 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxFrame
, 0 | 0 );
13029 if (!SWIG_IsOK(res2
)) {
13030 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "LayoutAlgorithm_LayoutFrame" "', expected argument " "2"" of type '" "wxFrame *""'");
13032 arg2
= reinterpret_cast< wxFrame
* >(argp2
);
13034 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxWindow
, 0 | 0 );
13035 if (!SWIG_IsOK(res3
)) {
13036 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "LayoutAlgorithm_LayoutFrame" "', expected argument " "3"" of type '" "wxWindow *""'");
13038 arg3
= reinterpret_cast< wxWindow
* >(argp3
);
13041 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13042 result
= (bool)(arg1
)->LayoutFrame(arg2
,arg3
);
13043 wxPyEndAllowThreads(__tstate
);
13044 if (PyErr_Occurred()) SWIG_fail
;
13047 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13055 SWIGINTERN PyObject
*_wrap_LayoutAlgorithm_LayoutWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13056 PyObject
*resultobj
= 0;
13057 wxLayoutAlgorithm
*arg1
= (wxLayoutAlgorithm
*) 0 ;
13058 wxWindow
*arg2
= (wxWindow
*) 0 ;
13059 wxWindow
*arg3
= (wxWindow
*) NULL
;
13067 PyObject
* obj0
= 0 ;
13068 PyObject
* obj1
= 0 ;
13069 PyObject
* obj2
= 0 ;
13070 char * kwnames
[] = {
13071 (char *) "self",(char *) "parent",(char *) "mainWindow", NULL
13074 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:LayoutAlgorithm_LayoutWindow",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
13075 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxLayoutAlgorithm
, 0 | 0 );
13076 if (!SWIG_IsOK(res1
)) {
13077 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "LayoutAlgorithm_LayoutWindow" "', expected argument " "1"" of type '" "wxLayoutAlgorithm *""'");
13079 arg1
= reinterpret_cast< wxLayoutAlgorithm
* >(argp1
);
13080 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
13081 if (!SWIG_IsOK(res2
)) {
13082 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "LayoutAlgorithm_LayoutWindow" "', expected argument " "2"" of type '" "wxWindow *""'");
13084 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
13086 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxWindow
, 0 | 0 );
13087 if (!SWIG_IsOK(res3
)) {
13088 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "LayoutAlgorithm_LayoutWindow" "', expected argument " "3"" of type '" "wxWindow *""'");
13090 arg3
= reinterpret_cast< wxWindow
* >(argp3
);
13093 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13094 result
= (bool)(arg1
)->LayoutWindow(arg2
,arg3
);
13095 wxPyEndAllowThreads(__tstate
);
13096 if (PyErr_Occurred()) SWIG_fail
;
13099 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13107 SWIGINTERN PyObject
*LayoutAlgorithm_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13109 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
13110 SWIG_TypeNewClientData(SWIGTYPE_p_wxLayoutAlgorithm
, SWIG_NewClientData(obj
));
13111 return SWIG_Py_Void();
13114 SWIGINTERN PyObject
*LayoutAlgorithm_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13115 return SWIG_Python_InitShadowInstance(args
);
13118 SWIGINTERN PyObject
*_wrap_new_PopupWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13119 PyObject
*resultobj
= 0;
13120 wxWindow
*arg1
= (wxWindow
*) 0 ;
13121 int arg2
= (int) wxBORDER_NONE
;
13122 wxPopupWindow
*result
= 0 ;
13127 PyObject
* obj0
= 0 ;
13128 PyObject
* obj1
= 0 ;
13129 char * kwnames
[] = {
13130 (char *) "parent",(char *) "flags", NULL
13133 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_PopupWindow",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13134 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
13135 if (!SWIG_IsOK(res1
)) {
13136 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PopupWindow" "', expected argument " "1"" of type '" "wxWindow *""'");
13138 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
13140 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
13141 if (!SWIG_IsOK(ecode2
)) {
13142 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_PopupWindow" "', expected argument " "2"" of type '" "int""'");
13144 arg2
= static_cast< int >(val2
);
13147 if (!wxPyCheckForApp()) SWIG_fail
;
13148 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13149 result
= (wxPopupWindow
*)new wxPopupWindow(arg1
,arg2
);
13150 wxPyEndAllowThreads(__tstate
);
13151 if (PyErr_Occurred()) SWIG_fail
;
13153 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPopupWindow
, SWIG_POINTER_NEW
| 0 );
13160 SWIGINTERN PyObject
*_wrap_new_PrePopupWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13161 PyObject
*resultobj
= 0;
13162 wxPopupWindow
*result
= 0 ;
13164 if (!SWIG_Python_UnpackTuple(args
,"new_PrePopupWindow",0,0,0)) SWIG_fail
;
13166 if (!wxPyCheckForApp()) SWIG_fail
;
13167 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13168 result
= (wxPopupWindow
*)new wxPopupWindow();
13169 wxPyEndAllowThreads(__tstate
);
13170 if (PyErr_Occurred()) SWIG_fail
;
13172 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPopupWindow
, SWIG_POINTER_OWN
| 0 );
13179 SWIGINTERN PyObject
*_wrap_PopupWindow_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13180 PyObject
*resultobj
= 0;
13181 wxPopupWindow
*arg1
= (wxPopupWindow
*) 0 ;
13182 wxWindow
*arg2
= (wxWindow
*) 0 ;
13183 int arg3
= (int) wxBORDER_NONE
;
13191 PyObject
* obj0
= 0 ;
13192 PyObject
* obj1
= 0 ;
13193 PyObject
* obj2
= 0 ;
13194 char * kwnames
[] = {
13195 (char *) "self",(char *) "parent",(char *) "flags", NULL
13198 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:PopupWindow_Create",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
13199 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPopupWindow
, 0 | 0 );
13200 if (!SWIG_IsOK(res1
)) {
13201 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PopupWindow_Create" "', expected argument " "1"" of type '" "wxPopupWindow *""'");
13203 arg1
= reinterpret_cast< wxPopupWindow
* >(argp1
);
13204 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
13205 if (!SWIG_IsOK(res2
)) {
13206 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PopupWindow_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
13208 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
13210 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
13211 if (!SWIG_IsOK(ecode3
)) {
13212 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PopupWindow_Create" "', expected argument " "3"" of type '" "int""'");
13214 arg3
= static_cast< int >(val3
);
13217 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13218 result
= (bool)(arg1
)->Create(arg2
,arg3
);
13219 wxPyEndAllowThreads(__tstate
);
13220 if (PyErr_Occurred()) SWIG_fail
;
13223 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13231 SWIGINTERN PyObject
*_wrap_PopupWindow_Position(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13232 PyObject
*resultobj
= 0;
13233 wxPopupWindow
*arg1
= (wxPopupWindow
*) 0 ;
13234 wxPoint
*arg2
= 0 ;
13240 PyObject
* obj0
= 0 ;
13241 PyObject
* obj1
= 0 ;
13242 PyObject
* obj2
= 0 ;
13243 char * kwnames
[] = {
13244 (char *) "self",(char *) "ptOrigin",(char *) "size", NULL
13247 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PopupWindow_Position",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
13248 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPopupWindow
, 0 | 0 );
13249 if (!SWIG_IsOK(res1
)) {
13250 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PopupWindow_Position" "', expected argument " "1"" of type '" "wxPopupWindow *""'");
13252 arg1
= reinterpret_cast< wxPopupWindow
* >(argp1
);
13255 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
13259 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
13262 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13263 (arg1
)->Position((wxPoint
const &)*arg2
,(wxSize
const &)*arg3
);
13264 wxPyEndAllowThreads(__tstate
);
13265 if (PyErr_Occurred()) SWIG_fail
;
13267 resultobj
= SWIG_Py_Void();
13274 SWIGINTERN PyObject
*PopupWindow_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13276 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
13277 SWIG_TypeNewClientData(SWIGTYPE_p_wxPopupWindow
, SWIG_NewClientData(obj
));
13278 return SWIG_Py_Void();
13281 SWIGINTERN PyObject
*PopupWindow_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13282 return SWIG_Python_InitShadowInstance(args
);
13285 SWIGINTERN PyObject
*_wrap_new_PopupTransientWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13286 PyObject
*resultobj
= 0;
13287 wxWindow
*arg1
= (wxWindow
*) 0 ;
13288 int arg2
= (int) wxBORDER_NONE
;
13289 wxPyPopupTransientWindow
*result
= 0 ;
13294 PyObject
* obj0
= 0 ;
13295 PyObject
* obj1
= 0 ;
13296 char * kwnames
[] = {
13297 (char *) "parent",(char *) "style", NULL
13300 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_PopupTransientWindow",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13301 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
13302 if (!SWIG_IsOK(res1
)) {
13303 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PopupTransientWindow" "', expected argument " "1"" of type '" "wxWindow *""'");
13305 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
13307 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
13308 if (!SWIG_IsOK(ecode2
)) {
13309 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_PopupTransientWindow" "', expected argument " "2"" of type '" "int""'");
13311 arg2
= static_cast< int >(val2
);
13314 if (!wxPyCheckForApp()) SWIG_fail
;
13315 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13316 result
= (wxPyPopupTransientWindow
*)new wxPyPopupTransientWindow(arg1
,arg2
);
13317 wxPyEndAllowThreads(__tstate
);
13318 if (PyErr_Occurred()) SWIG_fail
;
13320 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyPopupTransientWindow
, SWIG_POINTER_NEW
| 0 );
13327 SWIGINTERN PyObject
*_wrap_new_PrePopupTransientWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13328 PyObject
*resultobj
= 0;
13329 wxPyPopupTransientWindow
*result
= 0 ;
13331 if (!SWIG_Python_UnpackTuple(args
,"new_PrePopupTransientWindow",0,0,0)) SWIG_fail
;
13333 if (!wxPyCheckForApp()) SWIG_fail
;
13334 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13335 result
= (wxPyPopupTransientWindow
*)new wxPyPopupTransientWindow();
13336 wxPyEndAllowThreads(__tstate
);
13337 if (PyErr_Occurred()) SWIG_fail
;
13339 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyPopupTransientWindow
, SWIG_POINTER_OWN
| 0 );
13346 SWIGINTERN PyObject
*_wrap_PopupTransientWindow__setCallbackInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13347 PyObject
*resultobj
= 0;
13348 wxPyPopupTransientWindow
*arg1
= (wxPyPopupTransientWindow
*) 0 ;
13349 PyObject
*arg2
= (PyObject
*) 0 ;
13350 PyObject
*arg3
= (PyObject
*) 0 ;
13353 PyObject
* obj0
= 0 ;
13354 PyObject
* obj1
= 0 ;
13355 PyObject
* obj2
= 0 ;
13356 char * kwnames
[] = {
13357 (char *) "self",(char *) "self",(char *) "_class", NULL
13360 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PopupTransientWindow__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
13361 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPopupTransientWindow
, 0 | 0 );
13362 if (!SWIG_IsOK(res1
)) {
13363 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PopupTransientWindow__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyPopupTransientWindow *""'");
13365 arg1
= reinterpret_cast< wxPyPopupTransientWindow
* >(argp1
);
13369 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13370 (arg1
)->_setCallbackInfo(arg2
,arg3
);
13371 wxPyEndAllowThreads(__tstate
);
13372 if (PyErr_Occurred()) SWIG_fail
;
13374 resultobj
= SWIG_Py_Void();
13381 SWIGINTERN PyObject
*_wrap_PopupTransientWindow_Popup(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13382 PyObject
*resultobj
= 0;
13383 wxPyPopupTransientWindow
*arg1
= (wxPyPopupTransientWindow
*) 0 ;
13384 wxWindow
*arg2
= (wxWindow
*) NULL
;
13389 PyObject
* obj0
= 0 ;
13390 PyObject
* obj1
= 0 ;
13391 char * kwnames
[] = {
13392 (char *) "self",(char *) "focus", NULL
13395 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:PopupTransientWindow_Popup",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13396 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPopupTransientWindow
, 0 | 0 );
13397 if (!SWIG_IsOK(res1
)) {
13398 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PopupTransientWindow_Popup" "', expected argument " "1"" of type '" "wxPyPopupTransientWindow *""'");
13400 arg1
= reinterpret_cast< wxPyPopupTransientWindow
* >(argp1
);
13402 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
13403 if (!SWIG_IsOK(res2
)) {
13404 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PopupTransientWindow_Popup" "', expected argument " "2"" of type '" "wxWindow *""'");
13406 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
13409 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13410 (arg1
)->Popup(arg2
);
13411 wxPyEndAllowThreads(__tstate
);
13412 if (PyErr_Occurred()) SWIG_fail
;
13414 resultobj
= SWIG_Py_Void();
13421 SWIGINTERN PyObject
*_wrap_PopupTransientWindow_Dismiss(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13422 PyObject
*resultobj
= 0;
13423 wxPyPopupTransientWindow
*arg1
= (wxPyPopupTransientWindow
*) 0 ;
13426 PyObject
*swig_obj
[1] ;
13428 if (!args
) SWIG_fail
;
13429 swig_obj
[0] = args
;
13430 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPopupTransientWindow
, 0 | 0 );
13431 if (!SWIG_IsOK(res1
)) {
13432 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PopupTransientWindow_Dismiss" "', expected argument " "1"" of type '" "wxPyPopupTransientWindow *""'");
13434 arg1
= reinterpret_cast< wxPyPopupTransientWindow
* >(argp1
);
13436 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13438 wxPyEndAllowThreads(__tstate
);
13439 if (PyErr_Occurred()) SWIG_fail
;
13441 resultobj
= SWIG_Py_Void();
13448 SWIGINTERN PyObject
*PopupTransientWindow_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13450 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
13451 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyPopupTransientWindow
, SWIG_NewClientData(obj
));
13452 return SWIG_Py_Void();
13455 SWIGINTERN PyObject
*PopupTransientWindow_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13456 return SWIG_Python_InitShadowInstance(args
);
13459 SWIGINTERN PyObject
*_wrap_new_TipWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13460 PyObject
*resultobj
= 0;
13461 wxWindow
*arg1
= (wxWindow
*) 0 ;
13462 wxString
*arg2
= 0 ;
13463 int arg3
= (int) 100 ;
13464 wxRect
*arg4
= (wxRect
*) NULL
;
13465 wxTipWindow
*result
= 0 ;
13468 bool temp2
= false ;
13473 PyObject
* obj0
= 0 ;
13474 PyObject
* obj1
= 0 ;
13475 PyObject
* obj2
= 0 ;
13476 PyObject
* obj3
= 0 ;
13477 char * kwnames
[] = {
13478 (char *) "parent",(char *) "text",(char *) "maxLength",(char *) "rectBound", NULL
13481 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:new_TipWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
13482 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
13483 if (!SWIG_IsOK(res1
)) {
13484 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_TipWindow" "', expected argument " "1"" of type '" "wxWindow *""'");
13486 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
13488 arg2
= wxString_in_helper(obj1
);
13489 if (arg2
== NULL
) SWIG_fail
;
13493 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
13494 if (!SWIG_IsOK(ecode3
)) {
13495 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_TipWindow" "', expected argument " "3"" of type '" "int""'");
13497 arg3
= static_cast< int >(val3
);
13500 res4
= SWIG_ConvertPtr(obj3
, &argp4
,SWIGTYPE_p_wxRect
, 0 | 0 );
13501 if (!SWIG_IsOK(res4
)) {
13502 SWIG_exception_fail(SWIG_ArgError(res4
), "in method '" "new_TipWindow" "', expected argument " "4"" of type '" "wxRect *""'");
13504 arg4
= reinterpret_cast< wxRect
* >(argp4
);
13507 if (!wxPyCheckForApp()) SWIG_fail
;
13508 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13509 result
= (wxTipWindow
*)new_wxTipWindow(arg1
,(wxString
const &)*arg2
,arg3
,arg4
);
13510 wxPyEndAllowThreads(__tstate
);
13511 if (PyErr_Occurred()) SWIG_fail
;
13513 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxTipWindow
, SWIG_POINTER_NEW
| 0 );
13528 SWIGINTERN PyObject
*_wrap_TipWindow_SetBoundingRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13529 PyObject
*resultobj
= 0;
13530 wxTipWindow
*arg1
= (wxTipWindow
*) 0 ;
13535 PyObject
* obj0
= 0 ;
13536 PyObject
* obj1
= 0 ;
13537 char * kwnames
[] = {
13538 (char *) "self",(char *) "rectBound", NULL
13541 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TipWindow_SetBoundingRect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13542 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTipWindow
, 0 | 0 );
13543 if (!SWIG_IsOK(res1
)) {
13544 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TipWindow_SetBoundingRect" "', expected argument " "1"" of type '" "wxTipWindow *""'");
13546 arg1
= reinterpret_cast< wxTipWindow
* >(argp1
);
13549 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
13552 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13553 (arg1
)->SetBoundingRect((wxRect
const &)*arg2
);
13554 wxPyEndAllowThreads(__tstate
);
13555 if (PyErr_Occurred()) SWIG_fail
;
13557 resultobj
= SWIG_Py_Void();
13564 SWIGINTERN PyObject
*_wrap_TipWindow_Close(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13565 PyObject
*resultobj
= 0;
13566 wxTipWindow
*arg1
= (wxTipWindow
*) 0 ;
13569 PyObject
*swig_obj
[1] ;
13571 if (!args
) SWIG_fail
;
13572 swig_obj
[0] = args
;
13573 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTipWindow
, 0 | 0 );
13574 if (!SWIG_IsOK(res1
)) {
13575 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TipWindow_Close" "', expected argument " "1"" of type '" "wxTipWindow *""'");
13577 arg1
= reinterpret_cast< wxTipWindow
* >(argp1
);
13579 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13581 wxPyEndAllowThreads(__tstate
);
13582 if (PyErr_Occurred()) SWIG_fail
;
13584 resultobj
= SWIG_Py_Void();
13591 SWIGINTERN PyObject
*TipWindow_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13593 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
13594 SWIG_TypeNewClientData(SWIGTYPE_p_wxTipWindow
, SWIG_NewClientData(obj
));
13595 return SWIG_Py_Void();
13598 SWIGINTERN PyObject
*TipWindow_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13599 return SWIG_Python_InitShadowInstance(args
);
13602 SWIGINTERN PyObject
*_wrap_new_VScrolledWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13603 PyObject
*resultobj
= 0;
13604 wxWindow
*arg1
= (wxWindow
*) 0 ;
13605 int arg2
= (int) wxID_ANY
;
13606 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
13607 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
13608 wxSize
const &arg4_defvalue
= wxDefaultSize
;
13609 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
13610 long arg5
= (long) 0 ;
13611 wxString
const &arg6_defvalue
= wxPyPanelNameStr
;
13612 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
13613 wxPyVScrolledWindow
*result
= 0 ;
13622 bool temp6
= false ;
13623 PyObject
* obj0
= 0 ;
13624 PyObject
* obj1
= 0 ;
13625 PyObject
* obj2
= 0 ;
13626 PyObject
* obj3
= 0 ;
13627 PyObject
* obj4
= 0 ;
13628 PyObject
* obj5
= 0 ;
13629 char * kwnames
[] = {
13630 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
13633 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_VScrolledWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
13634 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
13635 if (!SWIG_IsOK(res1
)) {
13636 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_VScrolledWindow" "', expected argument " "1"" of type '" "wxWindow *""'");
13638 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
13640 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
13641 if (!SWIG_IsOK(ecode2
)) {
13642 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_VScrolledWindow" "', expected argument " "2"" of type '" "int""'");
13644 arg2
= static_cast< int >(val2
);
13649 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
13655 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
13659 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
13660 if (!SWIG_IsOK(ecode5
)) {
13661 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_VScrolledWindow" "', expected argument " "5"" of type '" "long""'");
13663 arg5
= static_cast< long >(val5
);
13667 arg6
= wxString_in_helper(obj5
);
13668 if (arg6
== NULL
) SWIG_fail
;
13673 if (!wxPyCheckForApp()) SWIG_fail
;
13674 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13675 result
= (wxPyVScrolledWindow
*)new wxPyVScrolledWindow(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
13676 wxPyEndAllowThreads(__tstate
);
13677 if (PyErr_Occurred()) SWIG_fail
;
13679 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyVScrolledWindow
, SWIG_POINTER_NEW
| 0 );
13694 SWIGINTERN PyObject
*_wrap_new_PreVScrolledWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13695 PyObject
*resultobj
= 0;
13696 wxPyVScrolledWindow
*result
= 0 ;
13698 if (!SWIG_Python_UnpackTuple(args
,"new_PreVScrolledWindow",0,0,0)) SWIG_fail
;
13700 if (!wxPyCheckForApp()) SWIG_fail
;
13701 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13702 result
= (wxPyVScrolledWindow
*)new wxPyVScrolledWindow();
13703 wxPyEndAllowThreads(__tstate
);
13704 if (PyErr_Occurred()) SWIG_fail
;
13706 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyVScrolledWindow
, SWIG_POINTER_OWN
| 0 );
13713 SWIGINTERN PyObject
*_wrap_VScrolledWindow__setCallbackInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13714 PyObject
*resultobj
= 0;
13715 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
13716 PyObject
*arg2
= (PyObject
*) 0 ;
13717 PyObject
*arg3
= (PyObject
*) 0 ;
13720 PyObject
* obj0
= 0 ;
13721 PyObject
* obj1
= 0 ;
13722 PyObject
* obj2
= 0 ;
13723 char * kwnames
[] = {
13724 (char *) "self",(char *) "self",(char *) "_class", NULL
13727 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:VScrolledWindow__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
13728 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyVScrolledWindow
, 0 | 0 );
13729 if (!SWIG_IsOK(res1
)) {
13730 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VScrolledWindow__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyVScrolledWindow *""'");
13732 arg1
= reinterpret_cast< wxPyVScrolledWindow
* >(argp1
);
13736 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13737 (arg1
)->_setCallbackInfo(arg2
,arg3
);
13738 wxPyEndAllowThreads(__tstate
);
13739 if (PyErr_Occurred()) SWIG_fail
;
13741 resultobj
= SWIG_Py_Void();
13748 SWIGINTERN PyObject
*_wrap_VScrolledWindow_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13749 PyObject
*resultobj
= 0;
13750 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
13751 wxWindow
*arg2
= (wxWindow
*) 0 ;
13752 int arg3
= (int) wxID_ANY
;
13753 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
13754 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
13755 wxSize
const &arg5_defvalue
= wxDefaultSize
;
13756 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
13757 long arg6
= (long) 0 ;
13758 wxString
const &arg7_defvalue
= wxPyPanelNameStr
;
13759 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
13771 bool temp7
= false ;
13772 PyObject
* obj0
= 0 ;
13773 PyObject
* obj1
= 0 ;
13774 PyObject
* obj2
= 0 ;
13775 PyObject
* obj3
= 0 ;
13776 PyObject
* obj4
= 0 ;
13777 PyObject
* obj5
= 0 ;
13778 PyObject
* obj6
= 0 ;
13779 char * kwnames
[] = {
13780 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
13783 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:VScrolledWindow_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
13784 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyVScrolledWindow
, 0 | 0 );
13785 if (!SWIG_IsOK(res1
)) {
13786 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VScrolledWindow_Create" "', expected argument " "1"" of type '" "wxPyVScrolledWindow *""'");
13788 arg1
= reinterpret_cast< wxPyVScrolledWindow
* >(argp1
);
13789 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
13790 if (!SWIG_IsOK(res2
)) {
13791 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "VScrolledWindow_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
13793 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
13795 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
13796 if (!SWIG_IsOK(ecode3
)) {
13797 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "VScrolledWindow_Create" "', expected argument " "3"" of type '" "int""'");
13799 arg3
= static_cast< int >(val3
);
13804 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
13810 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
13814 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
13815 if (!SWIG_IsOK(ecode6
)) {
13816 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "VScrolledWindow_Create" "', expected argument " "6"" of type '" "long""'");
13818 arg6
= static_cast< long >(val6
);
13822 arg7
= wxString_in_helper(obj6
);
13823 if (arg7
== NULL
) SWIG_fail
;
13828 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13829 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
13830 wxPyEndAllowThreads(__tstate
);
13831 if (PyErr_Occurred()) SWIG_fail
;
13834 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13850 SWIGINTERN PyObject
*_wrap_VScrolledWindow_SetLineCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13851 PyObject
*resultobj
= 0;
13852 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
13858 PyObject
* obj0
= 0 ;
13859 PyObject
* obj1
= 0 ;
13860 char * kwnames
[] = {
13861 (char *) "self",(char *) "count", NULL
13864 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VScrolledWindow_SetLineCount",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13865 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyVScrolledWindow
, 0 | 0 );
13866 if (!SWIG_IsOK(res1
)) {
13867 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VScrolledWindow_SetLineCount" "', expected argument " "1"" of type '" "wxPyVScrolledWindow *""'");
13869 arg1
= reinterpret_cast< wxPyVScrolledWindow
* >(argp1
);
13870 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
13871 if (!SWIG_IsOK(ecode2
)) {
13872 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "VScrolledWindow_SetLineCount" "', expected argument " "2"" of type '" "size_t""'");
13874 arg2
= static_cast< size_t >(val2
);
13876 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13877 (arg1
)->SetLineCount(arg2
);
13878 wxPyEndAllowThreads(__tstate
);
13879 if (PyErr_Occurred()) SWIG_fail
;
13881 resultobj
= SWIG_Py_Void();
13888 SWIGINTERN PyObject
*_wrap_VScrolledWindow_ScrollToLine(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13889 PyObject
*resultobj
= 0;
13890 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
13897 PyObject
* obj0
= 0 ;
13898 PyObject
* obj1
= 0 ;
13899 char * kwnames
[] = {
13900 (char *) "self",(char *) "line", NULL
13903 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VScrolledWindow_ScrollToLine",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13904 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyVScrolledWindow
, 0 | 0 );
13905 if (!SWIG_IsOK(res1
)) {
13906 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VScrolledWindow_ScrollToLine" "', expected argument " "1"" of type '" "wxPyVScrolledWindow *""'");
13908 arg1
= reinterpret_cast< wxPyVScrolledWindow
* >(argp1
);
13909 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
13910 if (!SWIG_IsOK(ecode2
)) {
13911 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "VScrolledWindow_ScrollToLine" "', expected argument " "2"" of type '" "size_t""'");
13913 arg2
= static_cast< size_t >(val2
);
13915 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13916 result
= (bool)(arg1
)->ScrollToLine(arg2
);
13917 wxPyEndAllowThreads(__tstate
);
13918 if (PyErr_Occurred()) SWIG_fail
;
13921 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13929 SWIGINTERN PyObject
*_wrap_VScrolledWindow_RefreshLine(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13930 PyObject
*resultobj
= 0;
13931 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
13937 PyObject
* obj0
= 0 ;
13938 PyObject
* obj1
= 0 ;
13939 char * kwnames
[] = {
13940 (char *) "self",(char *) "line", NULL
13943 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VScrolledWindow_RefreshLine",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13944 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyVScrolledWindow
, 0 | 0 );
13945 if (!SWIG_IsOK(res1
)) {
13946 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VScrolledWindow_RefreshLine" "', expected argument " "1"" of type '" "wxPyVScrolledWindow *""'");
13948 arg1
= reinterpret_cast< wxPyVScrolledWindow
* >(argp1
);
13949 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
13950 if (!SWIG_IsOK(ecode2
)) {
13951 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "VScrolledWindow_RefreshLine" "', expected argument " "2"" of type '" "size_t""'");
13953 arg2
= static_cast< size_t >(val2
);
13955 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13956 (arg1
)->RefreshLine(arg2
);
13957 wxPyEndAllowThreads(__tstate
);
13958 if (PyErr_Occurred()) SWIG_fail
;
13960 resultobj
= SWIG_Py_Void();
13967 SWIGINTERN PyObject
*_wrap_VScrolledWindow_RefreshLines(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13968 PyObject
*resultobj
= 0;
13969 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
13978 PyObject
* obj0
= 0 ;
13979 PyObject
* obj1
= 0 ;
13980 PyObject
* obj2
= 0 ;
13981 char * kwnames
[] = {
13982 (char *) "self",(char *) "from",(char *) "to", NULL
13985 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:VScrolledWindow_RefreshLines",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
13986 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyVScrolledWindow
, 0 | 0 );
13987 if (!SWIG_IsOK(res1
)) {
13988 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VScrolledWindow_RefreshLines" "', expected argument " "1"" of type '" "wxPyVScrolledWindow *""'");
13990 arg1
= reinterpret_cast< wxPyVScrolledWindow
* >(argp1
);
13991 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
13992 if (!SWIG_IsOK(ecode2
)) {
13993 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "VScrolledWindow_RefreshLines" "', expected argument " "2"" of type '" "size_t""'");
13995 arg2
= static_cast< size_t >(val2
);
13996 ecode3
= SWIG_AsVal_size_t(obj2
, &val3
);
13997 if (!SWIG_IsOK(ecode3
)) {
13998 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "VScrolledWindow_RefreshLines" "', expected argument " "3"" of type '" "size_t""'");
14000 arg3
= static_cast< size_t >(val3
);
14002 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14003 (arg1
)->RefreshLines(arg2
,arg3
);
14004 wxPyEndAllowThreads(__tstate
);
14005 if (PyErr_Occurred()) SWIG_fail
;
14007 resultobj
= SWIG_Py_Void();
14014 SWIGINTERN PyObject
*_wrap_VScrolledWindow_HitTestXY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14015 PyObject
*resultobj
= 0;
14016 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
14026 PyObject
* obj0
= 0 ;
14027 PyObject
* obj1
= 0 ;
14028 PyObject
* obj2
= 0 ;
14029 char * kwnames
[] = {
14030 (char *) "self",(char *) "x",(char *) "y", NULL
14033 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:VScrolledWindow_HitTestXY",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
14034 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyVScrolledWindow
, 0 | 0 );
14035 if (!SWIG_IsOK(res1
)) {
14036 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VScrolledWindow_HitTestXY" "', expected argument " "1"" of type '" "wxPyVScrolledWindow const *""'");
14038 arg1
= reinterpret_cast< wxPyVScrolledWindow
* >(argp1
);
14039 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
14040 if (!SWIG_IsOK(ecode2
)) {
14041 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "VScrolledWindow_HitTestXY" "', expected argument " "2"" of type '" "int""'");
14043 arg2
= static_cast< int >(val2
);
14044 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
14045 if (!SWIG_IsOK(ecode3
)) {
14046 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "VScrolledWindow_HitTestXY" "', expected argument " "3"" of type '" "int""'");
14048 arg3
= static_cast< int >(val3
);
14050 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14051 result
= (int)((wxPyVScrolledWindow
const *)arg1
)->HitTest(arg2
,arg3
);
14052 wxPyEndAllowThreads(__tstate
);
14053 if (PyErr_Occurred()) SWIG_fail
;
14055 resultobj
= SWIG_From_int(static_cast< int >(result
));
14062 SWIGINTERN PyObject
*_wrap_VScrolledWindow_HitTest(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14063 PyObject
*resultobj
= 0;
14064 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
14065 wxPoint
*arg2
= 0 ;
14070 PyObject
* obj0
= 0 ;
14071 PyObject
* obj1
= 0 ;
14072 char * kwnames
[] = {
14073 (char *) "self",(char *) "pt", NULL
14076 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VScrolledWindow_HitTest",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
14077 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyVScrolledWindow
, 0 | 0 );
14078 if (!SWIG_IsOK(res1
)) {
14079 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VScrolledWindow_HitTest" "', expected argument " "1"" of type '" "wxPyVScrolledWindow const *""'");
14081 arg1
= reinterpret_cast< wxPyVScrolledWindow
* >(argp1
);
14084 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
14087 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14088 result
= (int)((wxPyVScrolledWindow
const *)arg1
)->HitTest((wxPoint
const &)*arg2
);
14089 wxPyEndAllowThreads(__tstate
);
14090 if (PyErr_Occurred()) SWIG_fail
;
14092 resultobj
= SWIG_From_int(static_cast< int >(result
));
14099 SWIGINTERN PyObject
*_wrap_VScrolledWindow_RefreshAll(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14100 PyObject
*resultobj
= 0;
14101 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
14104 PyObject
*swig_obj
[1] ;
14106 if (!args
) SWIG_fail
;
14107 swig_obj
[0] = args
;
14108 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyVScrolledWindow
, 0 | 0 );
14109 if (!SWIG_IsOK(res1
)) {
14110 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VScrolledWindow_RefreshAll" "', expected argument " "1"" of type '" "wxPyVScrolledWindow *""'");
14112 arg1
= reinterpret_cast< wxPyVScrolledWindow
* >(argp1
);
14114 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14115 (arg1
)->RefreshAll();
14116 wxPyEndAllowThreads(__tstate
);
14117 if (PyErr_Occurred()) SWIG_fail
;
14119 resultobj
= SWIG_Py_Void();
14126 SWIGINTERN PyObject
*_wrap_VScrolledWindow_GetLineCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14127 PyObject
*resultobj
= 0;
14128 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
14132 PyObject
*swig_obj
[1] ;
14134 if (!args
) SWIG_fail
;
14135 swig_obj
[0] = args
;
14136 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyVScrolledWindow
, 0 | 0 );
14137 if (!SWIG_IsOK(res1
)) {
14138 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VScrolledWindow_GetLineCount" "', expected argument " "1"" of type '" "wxPyVScrolledWindow const *""'");
14140 arg1
= reinterpret_cast< wxPyVScrolledWindow
* >(argp1
);
14142 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14143 result
= (size_t)((wxPyVScrolledWindow
const *)arg1
)->GetLineCount();
14144 wxPyEndAllowThreads(__tstate
);
14145 if (PyErr_Occurred()) SWIG_fail
;
14147 resultobj
= SWIG_From_size_t(static_cast< size_t >(result
));
14154 SWIGINTERN PyObject
*_wrap_VScrolledWindow_GetVisibleBegin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14155 PyObject
*resultobj
= 0;
14156 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
14160 PyObject
*swig_obj
[1] ;
14162 if (!args
) SWIG_fail
;
14163 swig_obj
[0] = args
;
14164 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyVScrolledWindow
, 0 | 0 );
14165 if (!SWIG_IsOK(res1
)) {
14166 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VScrolledWindow_GetVisibleBegin" "', expected argument " "1"" of type '" "wxPyVScrolledWindow const *""'");
14168 arg1
= reinterpret_cast< wxPyVScrolledWindow
* >(argp1
);
14170 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14171 result
= (size_t)((wxPyVScrolledWindow
const *)arg1
)->GetVisibleBegin();
14172 wxPyEndAllowThreads(__tstate
);
14173 if (PyErr_Occurred()) SWIG_fail
;
14175 resultobj
= SWIG_From_size_t(static_cast< size_t >(result
));
14182 SWIGINTERN PyObject
*_wrap_VScrolledWindow_GetVisibleEnd(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14183 PyObject
*resultobj
= 0;
14184 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
14188 PyObject
*swig_obj
[1] ;
14190 if (!args
) SWIG_fail
;
14191 swig_obj
[0] = args
;
14192 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyVScrolledWindow
, 0 | 0 );
14193 if (!SWIG_IsOK(res1
)) {
14194 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VScrolledWindow_GetVisibleEnd" "', expected argument " "1"" of type '" "wxPyVScrolledWindow const *""'");
14196 arg1
= reinterpret_cast< wxPyVScrolledWindow
* >(argp1
);
14198 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14199 result
= (size_t)((wxPyVScrolledWindow
const *)arg1
)->GetVisibleEnd();
14200 wxPyEndAllowThreads(__tstate
);
14201 if (PyErr_Occurred()) SWIG_fail
;
14203 resultobj
= SWIG_From_size_t(static_cast< size_t >(result
));
14210 SWIGINTERN PyObject
*_wrap_VScrolledWindow_IsVisible(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14211 PyObject
*resultobj
= 0;
14212 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
14219 PyObject
* obj0
= 0 ;
14220 PyObject
* obj1
= 0 ;
14221 char * kwnames
[] = {
14222 (char *) "self",(char *) "line", NULL
14225 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VScrolledWindow_IsVisible",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
14226 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyVScrolledWindow
, 0 | 0 );
14227 if (!SWIG_IsOK(res1
)) {
14228 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VScrolledWindow_IsVisible" "', expected argument " "1"" of type '" "wxPyVScrolledWindow const *""'");
14230 arg1
= reinterpret_cast< wxPyVScrolledWindow
* >(argp1
);
14231 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
14232 if (!SWIG_IsOK(ecode2
)) {
14233 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "VScrolledWindow_IsVisible" "', expected argument " "2"" of type '" "size_t""'");
14235 arg2
= static_cast< size_t >(val2
);
14237 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14238 result
= (bool)((wxPyVScrolledWindow
const *)arg1
)->IsVisible(arg2
);
14239 wxPyEndAllowThreads(__tstate
);
14240 if (PyErr_Occurred()) SWIG_fail
;
14243 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14251 SWIGINTERN PyObject
*_wrap_VScrolledWindow_GetFirstVisibleLine(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14252 PyObject
*resultobj
= 0;
14253 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
14257 PyObject
*swig_obj
[1] ;
14259 if (!args
) SWIG_fail
;
14260 swig_obj
[0] = args
;
14261 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyVScrolledWindow
, 0 | 0 );
14262 if (!SWIG_IsOK(res1
)) {
14263 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VScrolledWindow_GetFirstVisibleLine" "', expected argument " "1"" of type '" "wxPyVScrolledWindow const *""'");
14265 arg1
= reinterpret_cast< wxPyVScrolledWindow
* >(argp1
);
14267 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14268 result
= (size_t)((wxPyVScrolledWindow
const *)arg1
)->GetFirstVisibleLine();
14269 wxPyEndAllowThreads(__tstate
);
14270 if (PyErr_Occurred()) SWIG_fail
;
14272 resultobj
= SWIG_From_size_t(static_cast< size_t >(result
));
14279 SWIGINTERN PyObject
*_wrap_VScrolledWindow_GetLastVisibleLine(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14280 PyObject
*resultobj
= 0;
14281 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
14285 PyObject
*swig_obj
[1] ;
14287 if (!args
) SWIG_fail
;
14288 swig_obj
[0] = args
;
14289 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyVScrolledWindow
, 0 | 0 );
14290 if (!SWIG_IsOK(res1
)) {
14291 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VScrolledWindow_GetLastVisibleLine" "', expected argument " "1"" of type '" "wxPyVScrolledWindow const *""'");
14293 arg1
= reinterpret_cast< wxPyVScrolledWindow
* >(argp1
);
14295 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14296 result
= (size_t)((wxPyVScrolledWindow
const *)arg1
)->GetLastVisibleLine();
14297 wxPyEndAllowThreads(__tstate
);
14298 if (PyErr_Occurred()) SWIG_fail
;
14300 resultobj
= SWIG_From_size_t(static_cast< size_t >(result
));
14307 SWIGINTERN PyObject
*_wrap_VScrolledWindow_FindFirstFromBottom(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14308 PyObject
*resultobj
= 0;
14309 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
14311 bool arg3
= (bool) false ;
14319 PyObject
* obj0
= 0 ;
14320 PyObject
* obj1
= 0 ;
14321 PyObject
* obj2
= 0 ;
14322 char * kwnames
[] = {
14323 (char *) "self",(char *) "lineLast",(char *) "fullyVisible", NULL
14326 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:VScrolledWindow_FindFirstFromBottom",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
14327 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyVScrolledWindow
, 0 | 0 );
14328 if (!SWIG_IsOK(res1
)) {
14329 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VScrolledWindow_FindFirstFromBottom" "', expected argument " "1"" of type '" "wxPyVScrolledWindow *""'");
14331 arg1
= reinterpret_cast< wxPyVScrolledWindow
* >(argp1
);
14332 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
14333 if (!SWIG_IsOK(ecode2
)) {
14334 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "VScrolledWindow_FindFirstFromBottom" "', expected argument " "2"" of type '" "size_t""'");
14336 arg2
= static_cast< size_t >(val2
);
14338 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
14339 if (!SWIG_IsOK(ecode3
)) {
14340 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "VScrolledWindow_FindFirstFromBottom" "', expected argument " "3"" of type '" "bool""'");
14342 arg3
= static_cast< bool >(val3
);
14345 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14346 result
= (size_t)(arg1
)->FindFirstFromBottom(arg2
,arg3
);
14347 wxPyEndAllowThreads(__tstate
);
14348 if (PyErr_Occurred()) SWIG_fail
;
14350 resultobj
= SWIG_From_size_t(static_cast< size_t >(result
));
14357 SWIGINTERN PyObject
*_wrap_VScrolledWindow_GetLinesHeight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14358 PyObject
*resultobj
= 0;
14359 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
14369 PyObject
* obj0
= 0 ;
14370 PyObject
* obj1
= 0 ;
14371 PyObject
* obj2
= 0 ;
14372 char * kwnames
[] = {
14373 (char *) "self",(char *) "lineMin",(char *) "lineMax", NULL
14376 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:VScrolledWindow_GetLinesHeight",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
14377 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyVScrolledWindow
, 0 | 0 );
14378 if (!SWIG_IsOK(res1
)) {
14379 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VScrolledWindow_GetLinesHeight" "', expected argument " "1"" of type '" "wxPyVScrolledWindow const *""'");
14381 arg1
= reinterpret_cast< wxPyVScrolledWindow
* >(argp1
);
14382 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
14383 if (!SWIG_IsOK(ecode2
)) {
14384 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "VScrolledWindow_GetLinesHeight" "', expected argument " "2"" of type '" "size_t""'");
14386 arg2
= static_cast< size_t >(val2
);
14387 ecode3
= SWIG_AsVal_size_t(obj2
, &val3
);
14388 if (!SWIG_IsOK(ecode3
)) {
14389 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "VScrolledWindow_GetLinesHeight" "', expected argument " "3"" of type '" "size_t""'");
14391 arg3
= static_cast< size_t >(val3
);
14393 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14394 result
= (int)((wxPyVScrolledWindow
const *)arg1
)->GetLinesHeight(arg2
,arg3
);
14395 wxPyEndAllowThreads(__tstate
);
14396 if (PyErr_Occurred()) SWIG_fail
;
14398 resultobj
= SWIG_From_int(static_cast< int >(result
));
14405 SWIGINTERN PyObject
*VScrolledWindow_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14407 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
14408 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyVScrolledWindow
, SWIG_NewClientData(obj
));
14409 return SWIG_Py_Void();
14412 SWIGINTERN PyObject
*VScrolledWindow_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14413 return SWIG_Python_InitShadowInstance(args
);
14416 SWIGINTERN
int VListBoxNameStr_set(PyObject
*) {
14417 SWIG_Error(SWIG_AttributeError
,"Variable VListBoxNameStr is read-only.");
14422 SWIGINTERN PyObject
*VListBoxNameStr_get(void) {
14423 PyObject
*pyobj
= 0;
14427 pyobj
= PyUnicode_FromWideChar((&wxPyVListBoxNameStr
)->c_str(), (&wxPyVListBoxNameStr
)->Len());
14429 pyobj
= PyString_FromStringAndSize((&wxPyVListBoxNameStr
)->c_str(), (&wxPyVListBoxNameStr
)->Len());
14436 SWIGINTERN PyObject
*_wrap_new_VListBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14437 PyObject
*resultobj
= 0;
14438 wxWindow
*arg1
= (wxWindow
*) 0 ;
14439 int arg2
= (int) wxID_ANY
;
14440 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
14441 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
14442 wxSize
const &arg4_defvalue
= wxDefaultSize
;
14443 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
14444 long arg5
= (long) 0 ;
14445 wxString
const &arg6_defvalue
= wxPyVListBoxNameStr
;
14446 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
14447 wxPyVListBox
*result
= 0 ;
14456 bool temp6
= false ;
14457 PyObject
* obj0
= 0 ;
14458 PyObject
* obj1
= 0 ;
14459 PyObject
* obj2
= 0 ;
14460 PyObject
* obj3
= 0 ;
14461 PyObject
* obj4
= 0 ;
14462 PyObject
* obj5
= 0 ;
14463 char * kwnames
[] = {
14464 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
14467 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_VListBox",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
14468 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
14469 if (!SWIG_IsOK(res1
)) {
14470 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_VListBox" "', expected argument " "1"" of type '" "wxWindow *""'");
14472 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
14474 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
14475 if (!SWIG_IsOK(ecode2
)) {
14476 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_VListBox" "', expected argument " "2"" of type '" "int""'");
14478 arg2
= static_cast< int >(val2
);
14483 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
14489 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
14493 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
14494 if (!SWIG_IsOK(ecode5
)) {
14495 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_VListBox" "', expected argument " "5"" of type '" "long""'");
14497 arg5
= static_cast< long >(val5
);
14501 arg6
= wxString_in_helper(obj5
);
14502 if (arg6
== NULL
) SWIG_fail
;
14507 if (!wxPyCheckForApp()) SWIG_fail
;
14508 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14509 result
= (wxPyVListBox
*)new wxPyVListBox(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
14510 wxPyEndAllowThreads(__tstate
);
14511 if (PyErr_Occurred()) SWIG_fail
;
14513 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyVListBox
, SWIG_POINTER_NEW
| 0 );
14528 SWIGINTERN PyObject
*_wrap_new_PreVListBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14529 PyObject
*resultobj
= 0;
14530 wxPyVListBox
*result
= 0 ;
14532 if (!SWIG_Python_UnpackTuple(args
,"new_PreVListBox",0,0,0)) SWIG_fail
;
14534 if (!wxPyCheckForApp()) SWIG_fail
;
14535 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14536 result
= (wxPyVListBox
*)new wxPyVListBox();
14537 wxPyEndAllowThreads(__tstate
);
14538 if (PyErr_Occurred()) SWIG_fail
;
14540 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyVListBox
, SWIG_POINTER_OWN
| 0 );
14547 SWIGINTERN PyObject
*_wrap_VListBox__setCallbackInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14548 PyObject
*resultobj
= 0;
14549 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
14550 PyObject
*arg2
= (PyObject
*) 0 ;
14551 PyObject
*arg3
= (PyObject
*) 0 ;
14554 PyObject
* obj0
= 0 ;
14555 PyObject
* obj1
= 0 ;
14556 PyObject
* obj2
= 0 ;
14557 char * kwnames
[] = {
14558 (char *) "self",(char *) "self",(char *) "_class", NULL
14561 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:VListBox__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
14562 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyVListBox
, 0 | 0 );
14563 if (!SWIG_IsOK(res1
)) {
14564 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VListBox__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
14566 arg1
= reinterpret_cast< wxPyVListBox
* >(argp1
);
14570 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14571 (arg1
)->_setCallbackInfo(arg2
,arg3
);
14572 wxPyEndAllowThreads(__tstate
);
14573 if (PyErr_Occurred()) SWIG_fail
;
14575 resultobj
= SWIG_Py_Void();
14582 SWIGINTERN PyObject
*_wrap_VListBox_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14583 PyObject
*resultobj
= 0;
14584 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
14585 wxWindow
*arg2
= (wxWindow
*) 0 ;
14586 int arg3
= (int) wxID_ANY
;
14587 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
14588 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
14589 wxSize
const &arg5_defvalue
= wxDefaultSize
;
14590 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
14591 long arg6
= (long) 0 ;
14592 wxString
const &arg7_defvalue
= wxPyVListBoxNameStr
;
14593 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
14605 bool temp7
= false ;
14606 PyObject
* obj0
= 0 ;
14607 PyObject
* obj1
= 0 ;
14608 PyObject
* obj2
= 0 ;
14609 PyObject
* obj3
= 0 ;
14610 PyObject
* obj4
= 0 ;
14611 PyObject
* obj5
= 0 ;
14612 PyObject
* obj6
= 0 ;
14613 char * kwnames
[] = {
14614 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
14617 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:VListBox_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
14618 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyVListBox
, 0 | 0 );
14619 if (!SWIG_IsOK(res1
)) {
14620 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VListBox_Create" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
14622 arg1
= reinterpret_cast< wxPyVListBox
* >(argp1
);
14623 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
14624 if (!SWIG_IsOK(res2
)) {
14625 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "VListBox_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
14627 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
14629 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
14630 if (!SWIG_IsOK(ecode3
)) {
14631 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "VListBox_Create" "', expected argument " "3"" of type '" "int""'");
14633 arg3
= static_cast< int >(val3
);
14638 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
14644 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
14648 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
14649 if (!SWIG_IsOK(ecode6
)) {
14650 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "VListBox_Create" "', expected argument " "6"" of type '" "long""'");
14652 arg6
= static_cast< long >(val6
);
14656 arg7
= wxString_in_helper(obj6
);
14657 if (arg7
== NULL
) SWIG_fail
;
14662 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14663 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
14664 wxPyEndAllowThreads(__tstate
);
14665 if (PyErr_Occurred()) SWIG_fail
;
14668 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14684 SWIGINTERN PyObject
*_wrap_VListBox_GetItemCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14685 PyObject
*resultobj
= 0;
14686 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
14690 PyObject
*swig_obj
[1] ;
14692 if (!args
) SWIG_fail
;
14693 swig_obj
[0] = args
;
14694 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyVListBox
, 0 | 0 );
14695 if (!SWIG_IsOK(res1
)) {
14696 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VListBox_GetItemCount" "', expected argument " "1"" of type '" "wxPyVListBox const *""'");
14698 arg1
= reinterpret_cast< wxPyVListBox
* >(argp1
);
14700 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14701 result
= (size_t)((wxPyVListBox
const *)arg1
)->GetItemCount();
14702 wxPyEndAllowThreads(__tstate
);
14703 if (PyErr_Occurred()) SWIG_fail
;
14705 resultobj
= SWIG_From_size_t(static_cast< size_t >(result
));
14712 SWIGINTERN PyObject
*_wrap_VListBox_HasMultipleSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14713 PyObject
*resultobj
= 0;
14714 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
14718 PyObject
*swig_obj
[1] ;
14720 if (!args
) SWIG_fail
;
14721 swig_obj
[0] = args
;
14722 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyVListBox
, 0 | 0 );
14723 if (!SWIG_IsOK(res1
)) {
14724 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VListBox_HasMultipleSelection" "', expected argument " "1"" of type '" "wxPyVListBox const *""'");
14726 arg1
= reinterpret_cast< wxPyVListBox
* >(argp1
);
14728 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14729 result
= (bool)((wxPyVListBox
const *)arg1
)->HasMultipleSelection();
14730 wxPyEndAllowThreads(__tstate
);
14731 if (PyErr_Occurred()) SWIG_fail
;
14734 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14742 SWIGINTERN PyObject
*_wrap_VListBox_GetSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14743 PyObject
*resultobj
= 0;
14744 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
14748 PyObject
*swig_obj
[1] ;
14750 if (!args
) SWIG_fail
;
14751 swig_obj
[0] = args
;
14752 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyVListBox
, 0 | 0 );
14753 if (!SWIG_IsOK(res1
)) {
14754 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VListBox_GetSelection" "', expected argument " "1"" of type '" "wxPyVListBox const *""'");
14756 arg1
= reinterpret_cast< wxPyVListBox
* >(argp1
);
14758 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14759 result
= (int)((wxPyVListBox
const *)arg1
)->GetSelection();
14760 wxPyEndAllowThreads(__tstate
);
14761 if (PyErr_Occurred()) SWIG_fail
;
14763 resultobj
= SWIG_From_int(static_cast< int >(result
));
14770 SWIGINTERN PyObject
*_wrap_VListBox_IsCurrent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14771 PyObject
*resultobj
= 0;
14772 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
14779 PyObject
* obj0
= 0 ;
14780 PyObject
* obj1
= 0 ;
14781 char * kwnames
[] = {
14782 (char *) "self",(char *) "item", NULL
14785 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VListBox_IsCurrent",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
14786 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyVListBox
, 0 | 0 );
14787 if (!SWIG_IsOK(res1
)) {
14788 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VListBox_IsCurrent" "', expected argument " "1"" of type '" "wxPyVListBox const *""'");
14790 arg1
= reinterpret_cast< wxPyVListBox
* >(argp1
);
14791 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
14792 if (!SWIG_IsOK(ecode2
)) {
14793 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "VListBox_IsCurrent" "', expected argument " "2"" of type '" "size_t""'");
14795 arg2
= static_cast< size_t >(val2
);
14797 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14798 result
= (bool)((wxPyVListBox
const *)arg1
)->IsCurrent(arg2
);
14799 wxPyEndAllowThreads(__tstate
);
14800 if (PyErr_Occurred()) SWIG_fail
;
14803 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14811 SWIGINTERN PyObject
*_wrap_VListBox_IsSelected(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14812 PyObject
*resultobj
= 0;
14813 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
14820 PyObject
* obj0
= 0 ;
14821 PyObject
* obj1
= 0 ;
14822 char * kwnames
[] = {
14823 (char *) "self",(char *) "item", NULL
14826 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VListBox_IsSelected",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
14827 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyVListBox
, 0 | 0 );
14828 if (!SWIG_IsOK(res1
)) {
14829 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VListBox_IsSelected" "', expected argument " "1"" of type '" "wxPyVListBox const *""'");
14831 arg1
= reinterpret_cast< wxPyVListBox
* >(argp1
);
14832 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
14833 if (!SWIG_IsOK(ecode2
)) {
14834 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "VListBox_IsSelected" "', expected argument " "2"" of type '" "size_t""'");
14836 arg2
= static_cast< size_t >(val2
);
14838 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14839 result
= (bool)((wxPyVListBox
const *)arg1
)->IsSelected(arg2
);
14840 wxPyEndAllowThreads(__tstate
);
14841 if (PyErr_Occurred()) SWIG_fail
;
14844 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14852 SWIGINTERN PyObject
*_wrap_VListBox_GetSelectedCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14853 PyObject
*resultobj
= 0;
14854 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
14858 PyObject
*swig_obj
[1] ;
14860 if (!args
) SWIG_fail
;
14861 swig_obj
[0] = args
;
14862 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyVListBox
, 0 | 0 );
14863 if (!SWIG_IsOK(res1
)) {
14864 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VListBox_GetSelectedCount" "', expected argument " "1"" of type '" "wxPyVListBox const *""'");
14866 arg1
= reinterpret_cast< wxPyVListBox
* >(argp1
);
14868 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14869 result
= (size_t)((wxPyVListBox
const *)arg1
)->GetSelectedCount();
14870 wxPyEndAllowThreads(__tstate
);
14871 if (PyErr_Occurred()) SWIG_fail
;
14873 resultobj
= SWIG_From_size_t(static_cast< size_t >(result
));
14880 SWIGINTERN PyObject
*_wrap_VListBox_GetFirstSelected(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14881 PyObject
*resultobj
= 0;
14882 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
14883 PyObject
*result
= 0 ;
14886 PyObject
*swig_obj
[1] ;
14888 if (!args
) SWIG_fail
;
14889 swig_obj
[0] = args
;
14890 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyVListBox
, 0 | 0 );
14891 if (!SWIG_IsOK(res1
)) {
14892 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VListBox_GetFirstSelected" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
14894 arg1
= reinterpret_cast< wxPyVListBox
* >(argp1
);
14896 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14897 result
= (PyObject
*)wxPyVListBox_GetFirstSelected(arg1
);
14898 wxPyEndAllowThreads(__tstate
);
14899 if (PyErr_Occurred()) SWIG_fail
;
14901 resultobj
= result
;
14908 SWIGINTERN PyObject
*_wrap_VListBox_GetNextSelected(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14909 PyObject
*resultobj
= 0;
14910 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
14911 unsigned long arg2
;
14912 PyObject
*result
= 0 ;
14915 unsigned long val2
;
14917 PyObject
* obj0
= 0 ;
14918 PyObject
* obj1
= 0 ;
14919 char * kwnames
[] = {
14920 (char *) "self",(char *) "cookie", NULL
14923 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VListBox_GetNextSelected",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
14924 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyVListBox
, 0 | 0 );
14925 if (!SWIG_IsOK(res1
)) {
14926 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VListBox_GetNextSelected" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
14928 arg1
= reinterpret_cast< wxPyVListBox
* >(argp1
);
14929 ecode2
= SWIG_AsVal_unsigned_SS_long(obj1
, &val2
);
14930 if (!SWIG_IsOK(ecode2
)) {
14931 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "VListBox_GetNextSelected" "', expected argument " "2"" of type '" "unsigned long""'");
14933 arg2
= static_cast< unsigned long >(val2
);
14935 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14936 result
= (PyObject
*)wxPyVListBox_GetNextSelected(arg1
,arg2
);
14937 wxPyEndAllowThreads(__tstate
);
14938 if (PyErr_Occurred()) SWIG_fail
;
14940 resultobj
= result
;
14947 SWIGINTERN PyObject
*_wrap_VListBox_GetMargins(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14948 PyObject
*resultobj
= 0;
14949 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
14953 PyObject
*swig_obj
[1] ;
14955 if (!args
) SWIG_fail
;
14956 swig_obj
[0] = args
;
14957 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyVListBox
, 0 | 0 );
14958 if (!SWIG_IsOK(res1
)) {
14959 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VListBox_GetMargins" "', expected argument " "1"" of type '" "wxPyVListBox const *""'");
14961 arg1
= reinterpret_cast< wxPyVListBox
* >(argp1
);
14963 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14964 result
= ((wxPyVListBox
const *)arg1
)->GetMargins();
14965 wxPyEndAllowThreads(__tstate
);
14966 if (PyErr_Occurred()) SWIG_fail
;
14968 resultobj
= SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint
& >(result
))), SWIGTYPE_p_wxPoint
, SWIG_POINTER_OWN
| 0 );
14975 SWIGINTERN PyObject
*_wrap_VListBox_GetSelectionBackground(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14976 PyObject
*resultobj
= 0;
14977 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
14978 wxColour
*result
= 0 ;
14981 PyObject
*swig_obj
[1] ;
14983 if (!args
) SWIG_fail
;
14984 swig_obj
[0] = args
;
14985 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyVListBox
, 0 | 0 );
14986 if (!SWIG_IsOK(res1
)) {
14987 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VListBox_GetSelectionBackground" "', expected argument " "1"" of type '" "wxPyVListBox const *""'");
14989 arg1
= reinterpret_cast< wxPyVListBox
* >(argp1
);
14991 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14993 wxColour
const &_result_ref
= ((wxPyVListBox
const *)arg1
)->GetSelectionBackground();
14994 result
= (wxColour
*) &_result_ref
;
14996 wxPyEndAllowThreads(__tstate
);
14997 if (PyErr_Occurred()) SWIG_fail
;
14999 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxColour
, 0 | 0 );
15006 SWIGINTERN PyObject
*_wrap_VListBox_SetItemCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15007 PyObject
*resultobj
= 0;
15008 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
15014 PyObject
* obj0
= 0 ;
15015 PyObject
* obj1
= 0 ;
15016 char * kwnames
[] = {
15017 (char *) "self",(char *) "count", NULL
15020 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VListBox_SetItemCount",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
15021 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyVListBox
, 0 | 0 );
15022 if (!SWIG_IsOK(res1
)) {
15023 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VListBox_SetItemCount" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
15025 arg1
= reinterpret_cast< wxPyVListBox
* >(argp1
);
15026 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
15027 if (!SWIG_IsOK(ecode2
)) {
15028 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "VListBox_SetItemCount" "', expected argument " "2"" of type '" "size_t""'");
15030 arg2
= static_cast< size_t >(val2
);
15032 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15033 (arg1
)->SetItemCount(arg2
);
15034 wxPyEndAllowThreads(__tstate
);
15035 if (PyErr_Occurred()) SWIG_fail
;
15037 resultobj
= SWIG_Py_Void();
15044 SWIGINTERN PyObject
*_wrap_VListBox_Clear(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15045 PyObject
*resultobj
= 0;
15046 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
15049 PyObject
*swig_obj
[1] ;
15051 if (!args
) SWIG_fail
;
15052 swig_obj
[0] = args
;
15053 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyVListBox
, 0 | 0 );
15054 if (!SWIG_IsOK(res1
)) {
15055 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VListBox_Clear" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
15057 arg1
= reinterpret_cast< wxPyVListBox
* >(argp1
);
15059 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15061 wxPyEndAllowThreads(__tstate
);
15062 if (PyErr_Occurred()) SWIG_fail
;
15064 resultobj
= SWIG_Py_Void();
15071 SWIGINTERN PyObject
*_wrap_VListBox_SetSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15072 PyObject
*resultobj
= 0;
15073 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
15079 PyObject
* obj0
= 0 ;
15080 PyObject
* obj1
= 0 ;
15081 char * kwnames
[] = {
15082 (char *) "self",(char *) "selection", NULL
15085 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VListBox_SetSelection",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
15086 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyVListBox
, 0 | 0 );
15087 if (!SWIG_IsOK(res1
)) {
15088 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VListBox_SetSelection" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
15090 arg1
= reinterpret_cast< wxPyVListBox
* >(argp1
);
15091 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
15092 if (!SWIG_IsOK(ecode2
)) {
15093 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "VListBox_SetSelection" "', expected argument " "2"" of type '" "int""'");
15095 arg2
= static_cast< int >(val2
);
15097 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15098 (arg1
)->SetSelection(arg2
);
15099 wxPyEndAllowThreads(__tstate
);
15100 if (PyErr_Occurred()) SWIG_fail
;
15102 resultobj
= SWIG_Py_Void();
15109 SWIGINTERN PyObject
*_wrap_VListBox_Select(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15110 PyObject
*resultobj
= 0;
15111 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
15113 bool arg3
= (bool) true ;
15121 PyObject
* obj0
= 0 ;
15122 PyObject
* obj1
= 0 ;
15123 PyObject
* obj2
= 0 ;
15124 char * kwnames
[] = {
15125 (char *) "self",(char *) "item",(char *) "select", NULL
15128 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:VListBox_Select",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
15129 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyVListBox
, 0 | 0 );
15130 if (!SWIG_IsOK(res1
)) {
15131 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VListBox_Select" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
15133 arg1
= reinterpret_cast< wxPyVListBox
* >(argp1
);
15134 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
15135 if (!SWIG_IsOK(ecode2
)) {
15136 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "VListBox_Select" "', expected argument " "2"" of type '" "size_t""'");
15138 arg2
= static_cast< size_t >(val2
);
15140 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
15141 if (!SWIG_IsOK(ecode3
)) {
15142 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "VListBox_Select" "', expected argument " "3"" of type '" "bool""'");
15144 arg3
= static_cast< bool >(val3
);
15147 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15148 result
= (bool)(arg1
)->Select(arg2
,arg3
);
15149 wxPyEndAllowThreads(__tstate
);
15150 if (PyErr_Occurred()) SWIG_fail
;
15153 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15161 SWIGINTERN PyObject
*_wrap_VListBox_SelectRange(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15162 PyObject
*resultobj
= 0;
15163 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
15173 PyObject
* obj0
= 0 ;
15174 PyObject
* obj1
= 0 ;
15175 PyObject
* obj2
= 0 ;
15176 char * kwnames
[] = {
15177 (char *) "self",(char *) "from",(char *) "to", NULL
15180 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:VListBox_SelectRange",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
15181 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyVListBox
, 0 | 0 );
15182 if (!SWIG_IsOK(res1
)) {
15183 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VListBox_SelectRange" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
15185 arg1
= reinterpret_cast< wxPyVListBox
* >(argp1
);
15186 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
15187 if (!SWIG_IsOK(ecode2
)) {
15188 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "VListBox_SelectRange" "', expected argument " "2"" of type '" "size_t""'");
15190 arg2
= static_cast< size_t >(val2
);
15191 ecode3
= SWIG_AsVal_size_t(obj2
, &val3
);
15192 if (!SWIG_IsOK(ecode3
)) {
15193 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "VListBox_SelectRange" "', expected argument " "3"" of type '" "size_t""'");
15195 arg3
= static_cast< size_t >(val3
);
15197 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15198 result
= (bool)(arg1
)->SelectRange(arg2
,arg3
);
15199 wxPyEndAllowThreads(__tstate
);
15200 if (PyErr_Occurred()) SWIG_fail
;
15203 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15211 SWIGINTERN PyObject
*_wrap_VListBox_Toggle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15212 PyObject
*resultobj
= 0;
15213 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
15219 PyObject
* obj0
= 0 ;
15220 PyObject
* obj1
= 0 ;
15221 char * kwnames
[] = {
15222 (char *) "self",(char *) "item", NULL
15225 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VListBox_Toggle",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
15226 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyVListBox
, 0 | 0 );
15227 if (!SWIG_IsOK(res1
)) {
15228 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VListBox_Toggle" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
15230 arg1
= reinterpret_cast< wxPyVListBox
* >(argp1
);
15231 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
15232 if (!SWIG_IsOK(ecode2
)) {
15233 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "VListBox_Toggle" "', expected argument " "2"" of type '" "size_t""'");
15235 arg2
= static_cast< size_t >(val2
);
15237 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15238 (arg1
)->Toggle(arg2
);
15239 wxPyEndAllowThreads(__tstate
);
15240 if (PyErr_Occurred()) SWIG_fail
;
15242 resultobj
= SWIG_Py_Void();
15249 SWIGINTERN PyObject
*_wrap_VListBox_SelectAll(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15250 PyObject
*resultobj
= 0;
15251 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
15255 PyObject
*swig_obj
[1] ;
15257 if (!args
) SWIG_fail
;
15258 swig_obj
[0] = args
;
15259 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyVListBox
, 0 | 0 );
15260 if (!SWIG_IsOK(res1
)) {
15261 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VListBox_SelectAll" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
15263 arg1
= reinterpret_cast< wxPyVListBox
* >(argp1
);
15265 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15266 result
= (bool)(arg1
)->SelectAll();
15267 wxPyEndAllowThreads(__tstate
);
15268 if (PyErr_Occurred()) SWIG_fail
;
15271 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15279 SWIGINTERN PyObject
*_wrap_VListBox_DeselectAll(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15280 PyObject
*resultobj
= 0;
15281 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
15285 PyObject
*swig_obj
[1] ;
15287 if (!args
) SWIG_fail
;
15288 swig_obj
[0] = args
;
15289 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyVListBox
, 0 | 0 );
15290 if (!SWIG_IsOK(res1
)) {
15291 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VListBox_DeselectAll" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
15293 arg1
= reinterpret_cast< wxPyVListBox
* >(argp1
);
15295 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15296 result
= (bool)(arg1
)->DeselectAll();
15297 wxPyEndAllowThreads(__tstate
);
15298 if (PyErr_Occurred()) SWIG_fail
;
15301 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15309 SWIGINTERN PyObject
*_wrap_VListBox_SetMargins(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15310 PyObject
*resultobj
= 0;
15311 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
15312 wxPoint
*arg2
= 0 ;
15316 PyObject
* obj0
= 0 ;
15317 PyObject
* obj1
= 0 ;
15318 char * kwnames
[] = {
15319 (char *) "self",(char *) "pt", NULL
15322 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VListBox_SetMargins",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
15323 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyVListBox
, 0 | 0 );
15324 if (!SWIG_IsOK(res1
)) {
15325 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VListBox_SetMargins" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
15327 arg1
= reinterpret_cast< wxPyVListBox
* >(argp1
);
15330 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
15333 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15334 (arg1
)->SetMargins((wxPoint
const &)*arg2
);
15335 wxPyEndAllowThreads(__tstate
);
15336 if (PyErr_Occurred()) SWIG_fail
;
15338 resultobj
= SWIG_Py_Void();
15345 SWIGINTERN PyObject
*_wrap_VListBox_SetMarginsXY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15346 PyObject
*resultobj
= 0;
15347 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
15356 PyObject
* obj0
= 0 ;
15357 PyObject
* obj1
= 0 ;
15358 PyObject
* obj2
= 0 ;
15359 char * kwnames
[] = {
15360 (char *) "self",(char *) "x",(char *) "y", NULL
15363 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:VListBox_SetMarginsXY",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
15364 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyVListBox
, 0 | 0 );
15365 if (!SWIG_IsOK(res1
)) {
15366 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VListBox_SetMarginsXY" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
15368 arg1
= reinterpret_cast< wxPyVListBox
* >(argp1
);
15369 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
15370 if (!SWIG_IsOK(ecode2
)) {
15371 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "VListBox_SetMarginsXY" "', expected argument " "2"" of type '" "int""'");
15373 arg2
= static_cast< int >(val2
);
15374 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
15375 if (!SWIG_IsOK(ecode3
)) {
15376 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "VListBox_SetMarginsXY" "', expected argument " "3"" of type '" "int""'");
15378 arg3
= static_cast< int >(val3
);
15380 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15381 (arg1
)->SetMargins(arg2
,arg3
);
15382 wxPyEndAllowThreads(__tstate
);
15383 if (PyErr_Occurred()) SWIG_fail
;
15385 resultobj
= SWIG_Py_Void();
15392 SWIGINTERN PyObject
*_wrap_VListBox_SetSelectionBackground(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15393 PyObject
*resultobj
= 0;
15394 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
15395 wxColour
*arg2
= 0 ;
15399 PyObject
* obj0
= 0 ;
15400 PyObject
* obj1
= 0 ;
15401 char * kwnames
[] = {
15402 (char *) "self",(char *) "col", NULL
15405 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VListBox_SetSelectionBackground",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
15406 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyVListBox
, 0 | 0 );
15407 if (!SWIG_IsOK(res1
)) {
15408 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VListBox_SetSelectionBackground" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
15410 arg1
= reinterpret_cast< wxPyVListBox
* >(argp1
);
15413 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
15416 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15417 (arg1
)->SetSelectionBackground((wxColour
const &)*arg2
);
15418 wxPyEndAllowThreads(__tstate
);
15419 if (PyErr_Occurred()) SWIG_fail
;
15421 resultobj
= SWIG_Py_Void();
15428 SWIGINTERN PyObject
*_wrap_VListBox_OnDrawSeparator(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15429 PyObject
*resultobj
= 0;
15430 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
15441 PyObject
* obj0
= 0 ;
15442 PyObject
* obj1
= 0 ;
15443 PyObject
* obj2
= 0 ;
15444 PyObject
* obj3
= 0 ;
15445 char * kwnames
[] = {
15446 (char *) "self",(char *) "dc",(char *) "rect",(char *) "n", NULL
15449 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:VListBox_OnDrawSeparator",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
15450 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyVListBox
, 0 | 0 );
15451 if (!SWIG_IsOK(res1
)) {
15452 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VListBox_OnDrawSeparator" "', expected argument " "1"" of type '" "wxPyVListBox const *""'");
15454 arg1
= reinterpret_cast< wxPyVListBox
* >(argp1
);
15455 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxDC
, 0 );
15456 if (!SWIG_IsOK(res2
)) {
15457 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "VListBox_OnDrawSeparator" "', expected argument " "2"" of type '" "wxDC &""'");
15460 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "VListBox_OnDrawSeparator" "', expected argument " "2"" of type '" "wxDC &""'");
15462 arg2
= reinterpret_cast< wxDC
* >(argp2
);
15465 if ( ! wxRect_helper(obj2
, &arg3
)) SWIG_fail
;
15467 ecode4
= SWIG_AsVal_size_t(obj3
, &val4
);
15468 if (!SWIG_IsOK(ecode4
)) {
15469 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "VListBox_OnDrawSeparator" "', expected argument " "4"" of type '" "size_t""'");
15471 arg4
= static_cast< size_t >(val4
);
15473 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15474 ((wxPyVListBox
const *)arg1
)->OnDrawSeparator(*arg2
,*arg3
,arg4
);
15475 wxPyEndAllowThreads(__tstate
);
15476 if (PyErr_Occurred()) SWIG_fail
;
15478 resultobj
= SWIG_Py_Void();
15485 SWIGINTERN PyObject
*_wrap_VListBox_OnDrawBackground(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15486 PyObject
*resultobj
= 0;
15487 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
15498 PyObject
* obj0
= 0 ;
15499 PyObject
* obj1
= 0 ;
15500 PyObject
* obj2
= 0 ;
15501 PyObject
* obj3
= 0 ;
15502 char * kwnames
[] = {
15503 (char *) "self",(char *) "dc",(char *) "rect",(char *) "n", NULL
15506 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:VListBox_OnDrawBackground",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
15507 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyVListBox
, 0 | 0 );
15508 if (!SWIG_IsOK(res1
)) {
15509 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VListBox_OnDrawBackground" "', expected argument " "1"" of type '" "wxPyVListBox const *""'");
15511 arg1
= reinterpret_cast< wxPyVListBox
* >(argp1
);
15512 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxDC
, 0 );
15513 if (!SWIG_IsOK(res2
)) {
15514 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "VListBox_OnDrawBackground" "', expected argument " "2"" of type '" "wxDC &""'");
15517 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "VListBox_OnDrawBackground" "', expected argument " "2"" of type '" "wxDC &""'");
15519 arg2
= reinterpret_cast< wxDC
* >(argp2
);
15522 if ( ! wxRect_helper(obj2
, &arg3
)) SWIG_fail
;
15524 ecode4
= SWIG_AsVal_size_t(obj3
, &val4
);
15525 if (!SWIG_IsOK(ecode4
)) {
15526 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "VListBox_OnDrawBackground" "', expected argument " "4"" of type '" "size_t""'");
15528 arg4
= static_cast< size_t >(val4
);
15530 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15531 ((wxPyVListBox
const *)arg1
)->OnDrawBackground(*arg2
,(wxRect
const &)*arg3
,arg4
);
15532 wxPyEndAllowThreads(__tstate
);
15533 if (PyErr_Occurred()) SWIG_fail
;
15535 resultobj
= SWIG_Py_Void();
15542 SWIGINTERN PyObject
*VListBox_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15544 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
15545 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyVListBox
, SWIG_NewClientData(obj
));
15546 return SWIG_Py_Void();
15549 SWIGINTERN PyObject
*VListBox_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15550 return SWIG_Python_InitShadowInstance(args
);
15553 SWIGINTERN PyObject
*_wrap_new_HtmlListBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15554 PyObject
*resultobj
= 0;
15555 wxWindow
*arg1
= (wxWindow
*) 0 ;
15556 int arg2
= (int) wxID_ANY
;
15557 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
15558 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
15559 wxSize
const &arg4_defvalue
= wxDefaultSize
;
15560 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
15561 long arg5
= (long) 0 ;
15562 wxString
const &arg6_defvalue
= wxPyVListBoxNameStr
;
15563 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
15564 wxPyHtmlListBox
*result
= 0 ;
15573 bool temp6
= false ;
15574 PyObject
* obj0
= 0 ;
15575 PyObject
* obj1
= 0 ;
15576 PyObject
* obj2
= 0 ;
15577 PyObject
* obj3
= 0 ;
15578 PyObject
* obj4
= 0 ;
15579 PyObject
* obj5
= 0 ;
15580 char * kwnames
[] = {
15581 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
15584 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_HtmlListBox",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
15585 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
15586 if (!SWIG_IsOK(res1
)) {
15587 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_HtmlListBox" "', expected argument " "1"" of type '" "wxWindow *""'");
15589 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
15591 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
15592 if (!SWIG_IsOK(ecode2
)) {
15593 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_HtmlListBox" "', expected argument " "2"" of type '" "int""'");
15595 arg2
= static_cast< int >(val2
);
15600 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
15606 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
15610 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
15611 if (!SWIG_IsOK(ecode5
)) {
15612 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_HtmlListBox" "', expected argument " "5"" of type '" "long""'");
15614 arg5
= static_cast< long >(val5
);
15618 arg6
= wxString_in_helper(obj5
);
15619 if (arg6
== NULL
) SWIG_fail
;
15624 if (!wxPyCheckForApp()) SWIG_fail
;
15625 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15626 result
= (wxPyHtmlListBox
*)new wxPyHtmlListBox(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
15627 wxPyEndAllowThreads(__tstate
);
15628 if (PyErr_Occurred()) SWIG_fail
;
15630 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyHtmlListBox
, SWIG_POINTER_NEW
| 0 );
15645 SWIGINTERN PyObject
*_wrap_new_PreHtmlListBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15646 PyObject
*resultobj
= 0;
15647 wxPyHtmlListBox
*result
= 0 ;
15649 if (!SWIG_Python_UnpackTuple(args
,"new_PreHtmlListBox",0,0,0)) SWIG_fail
;
15651 if (!wxPyCheckForApp()) SWIG_fail
;
15652 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15653 result
= (wxPyHtmlListBox
*)new wxPyHtmlListBox();
15654 wxPyEndAllowThreads(__tstate
);
15655 if (PyErr_Occurred()) SWIG_fail
;
15657 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyHtmlListBox
, SWIG_POINTER_OWN
| 0 );
15664 SWIGINTERN PyObject
*_wrap_HtmlListBox__setCallbackInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15665 PyObject
*resultobj
= 0;
15666 wxPyHtmlListBox
*arg1
= (wxPyHtmlListBox
*) 0 ;
15667 PyObject
*arg2
= (PyObject
*) 0 ;
15668 PyObject
*arg3
= (PyObject
*) 0 ;
15671 PyObject
* obj0
= 0 ;
15672 PyObject
* obj1
= 0 ;
15673 PyObject
* obj2
= 0 ;
15674 char * kwnames
[] = {
15675 (char *) "self",(char *) "self",(char *) "_class", NULL
15678 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:HtmlListBox__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
15679 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyHtmlListBox
, 0 | 0 );
15680 if (!SWIG_IsOK(res1
)) {
15681 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlListBox__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyHtmlListBox *""'");
15683 arg1
= reinterpret_cast< wxPyHtmlListBox
* >(argp1
);
15687 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15688 (arg1
)->_setCallbackInfo(arg2
,arg3
);
15689 wxPyEndAllowThreads(__tstate
);
15690 if (PyErr_Occurred()) SWIG_fail
;
15692 resultobj
= SWIG_Py_Void();
15699 SWIGINTERN PyObject
*_wrap_HtmlListBox_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15700 PyObject
*resultobj
= 0;
15701 wxPyHtmlListBox
*arg1
= (wxPyHtmlListBox
*) 0 ;
15702 wxWindow
*arg2
= (wxWindow
*) 0 ;
15703 int arg3
= (int) wxID_ANY
;
15704 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
15705 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
15706 wxSize
const &arg5_defvalue
= wxDefaultSize
;
15707 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
15708 long arg6
= (long) 0 ;
15709 wxString
const &arg7_defvalue
= wxPyVListBoxNameStr
;
15710 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
15722 bool temp7
= false ;
15723 PyObject
* obj0
= 0 ;
15724 PyObject
* obj1
= 0 ;
15725 PyObject
* obj2
= 0 ;
15726 PyObject
* obj3
= 0 ;
15727 PyObject
* obj4
= 0 ;
15728 PyObject
* obj5
= 0 ;
15729 PyObject
* obj6
= 0 ;
15730 char * kwnames
[] = {
15731 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
15734 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:HtmlListBox_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
15735 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyHtmlListBox
, 0 | 0 );
15736 if (!SWIG_IsOK(res1
)) {
15737 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlListBox_Create" "', expected argument " "1"" of type '" "wxPyHtmlListBox *""'");
15739 arg1
= reinterpret_cast< wxPyHtmlListBox
* >(argp1
);
15740 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
15741 if (!SWIG_IsOK(res2
)) {
15742 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "HtmlListBox_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
15744 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
15746 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
15747 if (!SWIG_IsOK(ecode3
)) {
15748 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "HtmlListBox_Create" "', expected argument " "3"" of type '" "int""'");
15750 arg3
= static_cast< int >(val3
);
15755 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
15761 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
15765 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
15766 if (!SWIG_IsOK(ecode6
)) {
15767 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "HtmlListBox_Create" "', expected argument " "6"" of type '" "long""'");
15769 arg6
= static_cast< long >(val6
);
15773 arg7
= wxString_in_helper(obj6
);
15774 if (arg7
== NULL
) SWIG_fail
;
15779 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15780 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
15781 wxPyEndAllowThreads(__tstate
);
15782 if (PyErr_Occurred()) SWIG_fail
;
15785 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15801 SWIGINTERN PyObject
*_wrap_HtmlListBox_SetItemCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15802 PyObject
*resultobj
= 0;
15803 wxPyHtmlListBox
*arg1
= (wxPyHtmlListBox
*) 0 ;
15809 PyObject
* obj0
= 0 ;
15810 PyObject
* obj1
= 0 ;
15811 char * kwnames
[] = {
15812 (char *) "self",(char *) "count", NULL
15815 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlListBox_SetItemCount",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
15816 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyHtmlListBox
, 0 | 0 );
15817 if (!SWIG_IsOK(res1
)) {
15818 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlListBox_SetItemCount" "', expected argument " "1"" of type '" "wxPyHtmlListBox *""'");
15820 arg1
= reinterpret_cast< wxPyHtmlListBox
* >(argp1
);
15821 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
15822 if (!SWIG_IsOK(ecode2
)) {
15823 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "HtmlListBox_SetItemCount" "', expected argument " "2"" of type '" "size_t""'");
15825 arg2
= static_cast< size_t >(val2
);
15827 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15828 (arg1
)->SetItemCount(arg2
);
15829 wxPyEndAllowThreads(__tstate
);
15830 if (PyErr_Occurred()) SWIG_fail
;
15832 resultobj
= SWIG_Py_Void();
15839 SWIGINTERN PyObject
*_wrap_HtmlListBox_GetFileSystem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15840 PyObject
*resultobj
= 0;
15841 wxPyHtmlListBox
*arg1
= (wxPyHtmlListBox
*) 0 ;
15842 wxFileSystem
*result
= 0 ;
15845 PyObject
*swig_obj
[1] ;
15847 if (!args
) SWIG_fail
;
15848 swig_obj
[0] = args
;
15849 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyHtmlListBox
, 0 | 0 );
15850 if (!SWIG_IsOK(res1
)) {
15851 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlListBox_GetFileSystem" "', expected argument " "1"" of type '" "wxPyHtmlListBox *""'");
15853 arg1
= reinterpret_cast< wxPyHtmlListBox
* >(argp1
);
15855 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15857 wxFileSystem
&_result_ref
= (arg1
)->GetFileSystem();
15858 result
= (wxFileSystem
*) &_result_ref
;
15860 wxPyEndAllowThreads(__tstate
);
15861 if (PyErr_Occurred()) SWIG_fail
;
15863 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFileSystem
, 0 | 0 );
15870 SWIGINTERN PyObject
*_wrap_HtmlListBox_OnLinkClicked(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15871 PyObject
*resultobj
= 0;
15872 wxPyHtmlListBox
*arg1
= (wxPyHtmlListBox
*) 0 ;
15874 wxHtmlLinkInfo
*arg3
= 0 ;
15881 PyObject
* obj0
= 0 ;
15882 PyObject
* obj1
= 0 ;
15883 PyObject
* obj2
= 0 ;
15884 char * kwnames
[] = {
15885 (char *) "self",(char *) "n",(char *) "link", NULL
15888 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:HtmlListBox_OnLinkClicked",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
15889 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyHtmlListBox
, 0 | 0 );
15890 if (!SWIG_IsOK(res1
)) {
15891 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlListBox_OnLinkClicked" "', expected argument " "1"" of type '" "wxPyHtmlListBox *""'");
15893 arg1
= reinterpret_cast< wxPyHtmlListBox
* >(argp1
);
15894 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
15895 if (!SWIG_IsOK(ecode2
)) {
15896 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "HtmlListBox_OnLinkClicked" "', expected argument " "2"" of type '" "size_t""'");
15898 arg2
= static_cast< size_t >(val2
);
15899 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxHtmlLinkInfo
, 0 | 0);
15900 if (!SWIG_IsOK(res3
)) {
15901 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "HtmlListBox_OnLinkClicked" "', expected argument " "3"" of type '" "wxHtmlLinkInfo const &""'");
15904 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "HtmlListBox_OnLinkClicked" "', expected argument " "3"" of type '" "wxHtmlLinkInfo const &""'");
15906 arg3
= reinterpret_cast< wxHtmlLinkInfo
* >(argp3
);
15908 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15909 (arg1
)->OnLinkClicked(arg2
,(wxHtmlLinkInfo
const &)*arg3
);
15910 wxPyEndAllowThreads(__tstate
);
15911 if (PyErr_Occurred()) SWIG_fail
;
15913 resultobj
= SWIG_Py_Void();
15920 SWIGINTERN PyObject
*HtmlListBox_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15922 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
15923 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyHtmlListBox
, SWIG_NewClientData(obj
));
15924 return SWIG_Py_Void();
15927 SWIGINTERN PyObject
*HtmlListBox_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15928 return SWIG_Python_InitShadowInstance(args
);
15931 SWIGINTERN PyObject
*_wrap_new_TaskBarIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15932 PyObject
*resultobj
= 0;
15933 wxPyTaskBarIcon
*result
= 0 ;
15935 if (!SWIG_Python_UnpackTuple(args
,"new_TaskBarIcon",0,0,0)) SWIG_fail
;
15937 if (!wxPyCheckForApp()) SWIG_fail
;
15938 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15939 result
= (wxPyTaskBarIcon
*)new wxPyTaskBarIcon();
15940 wxPyEndAllowThreads(__tstate
);
15941 if (PyErr_Occurred()) SWIG_fail
;
15943 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyTaskBarIcon
, SWIG_POINTER_NEW
| 0 );
15950 SWIGINTERN PyObject
*_wrap_delete_TaskBarIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15951 PyObject
*resultobj
= 0;
15952 wxPyTaskBarIcon
*arg1
= (wxPyTaskBarIcon
*) 0 ;
15955 PyObject
*swig_obj
[1] ;
15957 if (!args
) SWIG_fail
;
15958 swig_obj
[0] = args
;
15959 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTaskBarIcon
, SWIG_POINTER_DISOWN
| 0 );
15960 if (!SWIG_IsOK(res1
)) {
15961 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_TaskBarIcon" "', expected argument " "1"" of type '" "wxPyTaskBarIcon *""'");
15963 arg1
= reinterpret_cast< wxPyTaskBarIcon
* >(argp1
);
15965 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15968 wxPyEndAllowThreads(__tstate
);
15969 if (PyErr_Occurred()) SWIG_fail
;
15971 resultobj
= SWIG_Py_Void();
15978 SWIGINTERN PyObject
*_wrap_TaskBarIcon__setCallbackInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15979 PyObject
*resultobj
= 0;
15980 wxPyTaskBarIcon
*arg1
= (wxPyTaskBarIcon
*) 0 ;
15981 PyObject
*arg2
= (PyObject
*) 0 ;
15982 PyObject
*arg3
= (PyObject
*) 0 ;
15988 PyObject
* obj0
= 0 ;
15989 PyObject
* obj1
= 0 ;
15990 PyObject
* obj2
= 0 ;
15991 PyObject
* obj3
= 0 ;
15992 char * kwnames
[] = {
15993 (char *) "self",(char *) "self",(char *) "_class",(char *) "incref", NULL
15996 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:TaskBarIcon__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
15997 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTaskBarIcon
, 0 | 0 );
15998 if (!SWIG_IsOK(res1
)) {
15999 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TaskBarIcon__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyTaskBarIcon *""'");
16001 arg1
= reinterpret_cast< wxPyTaskBarIcon
* >(argp1
);
16004 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
16005 if (!SWIG_IsOK(ecode4
)) {
16006 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "TaskBarIcon__setCallbackInfo" "', expected argument " "4"" of type '" "int""'");
16008 arg4
= static_cast< int >(val4
);
16010 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16011 (arg1
)->_setCallbackInfo(arg2
,arg3
,arg4
);
16012 wxPyEndAllowThreads(__tstate
);
16013 if (PyErr_Occurred()) SWIG_fail
;
16015 resultobj
= SWIG_Py_Void();
16022 SWIGINTERN PyObject
*_wrap_TaskBarIcon_Destroy(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16023 PyObject
*resultobj
= 0;
16024 wxPyTaskBarIcon
*arg1
= (wxPyTaskBarIcon
*) 0 ;
16027 PyObject
*swig_obj
[1] ;
16029 if (!args
) SWIG_fail
;
16030 swig_obj
[0] = args
;
16031 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTaskBarIcon
, 0 | 0 );
16032 if (!SWIG_IsOK(res1
)) {
16033 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TaskBarIcon_Destroy" "', expected argument " "1"" of type '" "wxPyTaskBarIcon *""'");
16035 arg1
= reinterpret_cast< wxPyTaskBarIcon
* >(argp1
);
16037 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16038 wxPyTaskBarIcon_Destroy(arg1
);
16039 wxPyEndAllowThreads(__tstate
);
16040 if (PyErr_Occurred()) SWIG_fail
;
16042 resultobj
= SWIG_Py_Void();
16049 SWIGINTERN PyObject
*_wrap_TaskBarIcon_IsOk(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16050 PyObject
*resultobj
= 0;
16051 wxPyTaskBarIcon
*arg1
= (wxPyTaskBarIcon
*) 0 ;
16055 PyObject
*swig_obj
[1] ;
16057 if (!args
) SWIG_fail
;
16058 swig_obj
[0] = args
;
16059 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTaskBarIcon
, 0 | 0 );
16060 if (!SWIG_IsOK(res1
)) {
16061 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TaskBarIcon_IsOk" "', expected argument " "1"" of type '" "wxPyTaskBarIcon const *""'");
16063 arg1
= reinterpret_cast< wxPyTaskBarIcon
* >(argp1
);
16065 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16066 result
= (bool)((wxPyTaskBarIcon
const *)arg1
)->IsOk();
16067 wxPyEndAllowThreads(__tstate
);
16068 if (PyErr_Occurred()) SWIG_fail
;
16071 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16079 SWIGINTERN PyObject
*_wrap_TaskBarIcon_IsIconInstalled(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16080 PyObject
*resultobj
= 0;
16081 wxPyTaskBarIcon
*arg1
= (wxPyTaskBarIcon
*) 0 ;
16085 PyObject
*swig_obj
[1] ;
16087 if (!args
) SWIG_fail
;
16088 swig_obj
[0] = args
;
16089 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTaskBarIcon
, 0 | 0 );
16090 if (!SWIG_IsOK(res1
)) {
16091 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TaskBarIcon_IsIconInstalled" "', expected argument " "1"" of type '" "wxPyTaskBarIcon const *""'");
16093 arg1
= reinterpret_cast< wxPyTaskBarIcon
* >(argp1
);
16095 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16096 result
= (bool)((wxPyTaskBarIcon
const *)arg1
)->IsIconInstalled();
16097 wxPyEndAllowThreads(__tstate
);
16098 if (PyErr_Occurred()) SWIG_fail
;
16101 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16109 SWIGINTERN PyObject
*_wrap_TaskBarIcon_SetIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16110 PyObject
*resultobj
= 0;
16111 wxPyTaskBarIcon
*arg1
= (wxPyTaskBarIcon
*) 0 ;
16113 wxString
const &arg3_defvalue
= wxPyEmptyString
;
16114 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
16120 bool temp3
= false ;
16121 PyObject
* obj0
= 0 ;
16122 PyObject
* obj1
= 0 ;
16123 PyObject
* obj2
= 0 ;
16124 char * kwnames
[] = {
16125 (char *) "self",(char *) "icon",(char *) "tooltip", NULL
16128 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TaskBarIcon_SetIcon",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
16129 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTaskBarIcon
, 0 | 0 );
16130 if (!SWIG_IsOK(res1
)) {
16131 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TaskBarIcon_SetIcon" "', expected argument " "1"" of type '" "wxPyTaskBarIcon *""'");
16133 arg1
= reinterpret_cast< wxPyTaskBarIcon
* >(argp1
);
16134 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxIcon
, 0 | 0);
16135 if (!SWIG_IsOK(res2
)) {
16136 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TaskBarIcon_SetIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
16139 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TaskBarIcon_SetIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
16141 arg2
= reinterpret_cast< wxIcon
* >(argp2
);
16144 arg3
= wxString_in_helper(obj2
);
16145 if (arg3
== NULL
) SWIG_fail
;
16150 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16151 result
= (bool)(arg1
)->SetIcon((wxIcon
const &)*arg2
,(wxString
const &)*arg3
);
16152 wxPyEndAllowThreads(__tstate
);
16153 if (PyErr_Occurred()) SWIG_fail
;
16156 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16172 SWIGINTERN PyObject
*_wrap_TaskBarIcon_RemoveIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16173 PyObject
*resultobj
= 0;
16174 wxPyTaskBarIcon
*arg1
= (wxPyTaskBarIcon
*) 0 ;
16178 PyObject
*swig_obj
[1] ;
16180 if (!args
) SWIG_fail
;
16181 swig_obj
[0] = args
;
16182 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTaskBarIcon
, 0 | 0 );
16183 if (!SWIG_IsOK(res1
)) {
16184 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TaskBarIcon_RemoveIcon" "', expected argument " "1"" of type '" "wxPyTaskBarIcon *""'");
16186 arg1
= reinterpret_cast< wxPyTaskBarIcon
* >(argp1
);
16188 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16189 result
= (bool)(arg1
)->RemoveIcon();
16190 wxPyEndAllowThreads(__tstate
);
16191 if (PyErr_Occurred()) SWIG_fail
;
16194 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16202 SWIGINTERN PyObject
*_wrap_TaskBarIcon_PopupMenu(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16203 PyObject
*resultobj
= 0;
16204 wxPyTaskBarIcon
*arg1
= (wxPyTaskBarIcon
*) 0 ;
16205 wxMenu
*arg2
= (wxMenu
*) 0 ;
16211 PyObject
* obj0
= 0 ;
16212 PyObject
* obj1
= 0 ;
16213 char * kwnames
[] = {
16214 (char *) "self",(char *) "menu", NULL
16217 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TaskBarIcon_PopupMenu",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
16218 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTaskBarIcon
, 0 | 0 );
16219 if (!SWIG_IsOK(res1
)) {
16220 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TaskBarIcon_PopupMenu" "', expected argument " "1"" of type '" "wxPyTaskBarIcon *""'");
16222 arg1
= reinterpret_cast< wxPyTaskBarIcon
* >(argp1
);
16223 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxMenu
, 0 | 0 );
16224 if (!SWIG_IsOK(res2
)) {
16225 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TaskBarIcon_PopupMenu" "', expected argument " "2"" of type '" "wxMenu *""'");
16227 arg2
= reinterpret_cast< wxMenu
* >(argp2
);
16229 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16230 result
= (bool)(arg1
)->PopupMenu(arg2
);
16231 wxPyEndAllowThreads(__tstate
);
16232 if (PyErr_Occurred()) SWIG_fail
;
16235 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16243 SWIGINTERN PyObject
*TaskBarIcon_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16245 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
16246 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyTaskBarIcon
, SWIG_NewClientData(obj
));
16247 return SWIG_Py_Void();
16250 SWIGINTERN PyObject
*TaskBarIcon_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16251 return SWIG_Python_InitShadowInstance(args
);
16254 SWIGINTERN PyObject
*_wrap_new_TaskBarIconEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16255 PyObject
*resultobj
= 0;
16257 wxTaskBarIcon
*arg2
= (wxTaskBarIcon
*) 0 ;
16258 wxTaskBarIconEvent
*result
= 0 ;
16263 PyObject
* obj0
= 0 ;
16264 PyObject
* obj1
= 0 ;
16265 char * kwnames
[] = {
16266 (char *) "evtType",(char *) "tbIcon", NULL
16269 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_TaskBarIconEvent",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
16270 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
16271 if (!SWIG_IsOK(ecode1
)) {
16272 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_TaskBarIconEvent" "', expected argument " "1"" of type '" "wxEventType""'");
16274 arg1
= static_cast< wxEventType
>(val1
);
16275 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxTaskBarIcon
, 0 | 0 );
16276 if (!SWIG_IsOK(res2
)) {
16277 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_TaskBarIconEvent" "', expected argument " "2"" of type '" "wxTaskBarIcon *""'");
16279 arg2
= reinterpret_cast< wxTaskBarIcon
* >(argp2
);
16281 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16282 result
= (wxTaskBarIconEvent
*)new wxTaskBarIconEvent(arg1
,arg2
);
16283 wxPyEndAllowThreads(__tstate
);
16284 if (PyErr_Occurred()) SWIG_fail
;
16286 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxTaskBarIconEvent
, SWIG_POINTER_NEW
| 0 );
16293 SWIGINTERN PyObject
*TaskBarIconEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16295 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
16296 SWIG_TypeNewClientData(SWIGTYPE_p_wxTaskBarIconEvent
, SWIG_NewClientData(obj
));
16297 return SWIG_Py_Void();
16300 SWIGINTERN PyObject
*TaskBarIconEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16301 return SWIG_Python_InitShadowInstance(args
);
16304 SWIGINTERN
int FileSelectorPromptStr_set(PyObject
*) {
16305 SWIG_Error(SWIG_AttributeError
,"Variable FileSelectorPromptStr is read-only.");
16310 SWIGINTERN PyObject
*FileSelectorPromptStr_get(void) {
16311 PyObject
*pyobj
= 0;
16315 pyobj
= PyUnicode_FromWideChar((&wxPyFileSelectorPromptStr
)->c_str(), (&wxPyFileSelectorPromptStr
)->Len());
16317 pyobj
= PyString_FromStringAndSize((&wxPyFileSelectorPromptStr
)->c_str(), (&wxPyFileSelectorPromptStr
)->Len());
16324 SWIGINTERN
int DirSelectorPromptStr_set(PyObject
*) {
16325 SWIG_Error(SWIG_AttributeError
,"Variable DirSelectorPromptStr is read-only.");
16330 SWIGINTERN PyObject
*DirSelectorPromptStr_get(void) {
16331 PyObject
*pyobj
= 0;
16335 pyobj
= PyUnicode_FromWideChar((&wxPyDirSelectorPromptStr
)->c_str(), (&wxPyDirSelectorPromptStr
)->Len());
16337 pyobj
= PyString_FromStringAndSize((&wxPyDirSelectorPromptStr
)->c_str(), (&wxPyDirSelectorPromptStr
)->Len());
16344 SWIGINTERN
int DirDialogNameStr_set(PyObject
*) {
16345 SWIG_Error(SWIG_AttributeError
,"Variable DirDialogNameStr is read-only.");
16350 SWIGINTERN PyObject
*DirDialogNameStr_get(void) {
16351 PyObject
*pyobj
= 0;
16355 pyobj
= PyUnicode_FromWideChar((&wxPyDirDialogNameStr
)->c_str(), (&wxPyDirDialogNameStr
)->Len());
16357 pyobj
= PyString_FromStringAndSize((&wxPyDirDialogNameStr
)->c_str(), (&wxPyDirDialogNameStr
)->Len());
16364 SWIGINTERN
int FileSelectorDefaultWildcardStr_set(PyObject
*) {
16365 SWIG_Error(SWIG_AttributeError
,"Variable FileSelectorDefaultWildcardStr is read-only.");
16370 SWIGINTERN PyObject
*FileSelectorDefaultWildcardStr_get(void) {
16371 PyObject
*pyobj
= 0;
16375 pyobj
= PyUnicode_FromWideChar((&wxPyFileSelectorDefaultWildcardStr
)->c_str(), (&wxPyFileSelectorDefaultWildcardStr
)->Len());
16377 pyobj
= PyString_FromStringAndSize((&wxPyFileSelectorDefaultWildcardStr
)->c_str(), (&wxPyFileSelectorDefaultWildcardStr
)->Len());
16384 SWIGINTERN
int GetTextFromUserPromptStr_set(PyObject
*) {
16385 SWIG_Error(SWIG_AttributeError
,"Variable GetTextFromUserPromptStr is read-only.");
16390 SWIGINTERN PyObject
*GetTextFromUserPromptStr_get(void) {
16391 PyObject
*pyobj
= 0;
16395 pyobj
= PyUnicode_FromWideChar((&wxPyGetTextFromUserPromptStr
)->c_str(), (&wxPyGetTextFromUserPromptStr
)->Len());
16397 pyobj
= PyString_FromStringAndSize((&wxPyGetTextFromUserPromptStr
)->c_str(), (&wxPyGetTextFromUserPromptStr
)->Len());
16404 SWIGINTERN
int MessageBoxCaptionStr_set(PyObject
*) {
16405 SWIG_Error(SWIG_AttributeError
,"Variable MessageBoxCaptionStr is read-only.");
16410 SWIGINTERN PyObject
*MessageBoxCaptionStr_get(void) {
16411 PyObject
*pyobj
= 0;
16415 pyobj
= PyUnicode_FromWideChar((&wxPyMessageBoxCaptionStr
)->c_str(), (&wxPyMessageBoxCaptionStr
)->Len());
16417 pyobj
= PyString_FromStringAndSize((&wxPyMessageBoxCaptionStr
)->c_str(), (&wxPyMessageBoxCaptionStr
)->Len());
16424 SWIGINTERN PyObject
*_wrap_new_ColourData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16425 PyObject
*resultobj
= 0;
16426 wxColourData
*result
= 0 ;
16428 if (!SWIG_Python_UnpackTuple(args
,"new_ColourData",0,0,0)) SWIG_fail
;
16430 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16431 result
= (wxColourData
*)new wxColourData();
16432 wxPyEndAllowThreads(__tstate
);
16433 if (PyErr_Occurred()) SWIG_fail
;
16435 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxColourData
, SWIG_POINTER_NEW
| 0 );
16442 SWIGINTERN PyObject
*_wrap_delete_ColourData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16443 PyObject
*resultobj
= 0;
16444 wxColourData
*arg1
= (wxColourData
*) 0 ;
16447 PyObject
*swig_obj
[1] ;
16449 if (!args
) SWIG_fail
;
16450 swig_obj
[0] = args
;
16451 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxColourData
, SWIG_POINTER_DISOWN
| 0 );
16452 if (!SWIG_IsOK(res1
)) {
16453 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_ColourData" "', expected argument " "1"" of type '" "wxColourData *""'");
16455 arg1
= reinterpret_cast< wxColourData
* >(argp1
);
16457 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16460 wxPyEndAllowThreads(__tstate
);
16461 if (PyErr_Occurred()) SWIG_fail
;
16463 resultobj
= SWIG_Py_Void();
16470 SWIGINTERN PyObject
*_wrap_ColourData_GetChooseFull(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16471 PyObject
*resultobj
= 0;
16472 wxColourData
*arg1
= (wxColourData
*) 0 ;
16476 PyObject
*swig_obj
[1] ;
16478 if (!args
) SWIG_fail
;
16479 swig_obj
[0] = args
;
16480 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxColourData
, 0 | 0 );
16481 if (!SWIG_IsOK(res1
)) {
16482 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ColourData_GetChooseFull" "', expected argument " "1"" of type '" "wxColourData *""'");
16484 arg1
= reinterpret_cast< wxColourData
* >(argp1
);
16486 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16487 result
= (bool)(arg1
)->GetChooseFull();
16488 wxPyEndAllowThreads(__tstate
);
16489 if (PyErr_Occurred()) SWIG_fail
;
16492 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16500 SWIGINTERN PyObject
*_wrap_ColourData_GetColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16501 PyObject
*resultobj
= 0;
16502 wxColourData
*arg1
= (wxColourData
*) 0 ;
16506 PyObject
*swig_obj
[1] ;
16508 if (!args
) SWIG_fail
;
16509 swig_obj
[0] = args
;
16510 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxColourData
, 0 | 0 );
16511 if (!SWIG_IsOK(res1
)) {
16512 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ColourData_GetColour" "', expected argument " "1"" of type '" "wxColourData *""'");
16514 arg1
= reinterpret_cast< wxColourData
* >(argp1
);
16516 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16517 result
= (arg1
)->GetColour();
16518 wxPyEndAllowThreads(__tstate
);
16519 if (PyErr_Occurred()) SWIG_fail
;
16521 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
16528 SWIGINTERN PyObject
*_wrap_ColourData_GetCustomColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16529 PyObject
*resultobj
= 0;
16530 wxColourData
*arg1
= (wxColourData
*) 0 ;
16537 PyObject
* obj0
= 0 ;
16538 PyObject
* obj1
= 0 ;
16539 char * kwnames
[] = {
16540 (char *) "self",(char *) "i", NULL
16543 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ColourData_GetCustomColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
16544 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxColourData
, 0 | 0 );
16545 if (!SWIG_IsOK(res1
)) {
16546 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ColourData_GetCustomColour" "', expected argument " "1"" of type '" "wxColourData *""'");
16548 arg1
= reinterpret_cast< wxColourData
* >(argp1
);
16549 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
16550 if (!SWIG_IsOK(ecode2
)) {
16551 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ColourData_GetCustomColour" "', expected argument " "2"" of type '" "int""'");
16553 arg2
= static_cast< int >(val2
);
16555 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16556 result
= (arg1
)->GetCustomColour(arg2
);
16557 wxPyEndAllowThreads(__tstate
);
16558 if (PyErr_Occurred()) SWIG_fail
;
16560 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
16567 SWIGINTERN PyObject
*_wrap_ColourData_SetChooseFull(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16568 PyObject
*resultobj
= 0;
16569 wxColourData
*arg1
= (wxColourData
*) 0 ;
16575 PyObject
* obj0
= 0 ;
16576 PyObject
* obj1
= 0 ;
16577 char * kwnames
[] = {
16578 (char *) "self",(char *) "flag", NULL
16581 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ColourData_SetChooseFull",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
16582 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxColourData
, 0 | 0 );
16583 if (!SWIG_IsOK(res1
)) {
16584 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ColourData_SetChooseFull" "', expected argument " "1"" of type '" "wxColourData *""'");
16586 arg1
= reinterpret_cast< wxColourData
* >(argp1
);
16587 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
16588 if (!SWIG_IsOK(ecode2
)) {
16589 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ColourData_SetChooseFull" "', expected argument " "2"" of type '" "int""'");
16591 arg2
= static_cast< int >(val2
);
16593 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16594 (arg1
)->SetChooseFull(arg2
);
16595 wxPyEndAllowThreads(__tstate
);
16596 if (PyErr_Occurred()) SWIG_fail
;
16598 resultobj
= SWIG_Py_Void();
16605 SWIGINTERN PyObject
*_wrap_ColourData_SetColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16606 PyObject
*resultobj
= 0;
16607 wxColourData
*arg1
= (wxColourData
*) 0 ;
16608 wxColour
*arg2
= 0 ;
16612 PyObject
* obj0
= 0 ;
16613 PyObject
* obj1
= 0 ;
16614 char * kwnames
[] = {
16615 (char *) "self",(char *) "colour", NULL
16618 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ColourData_SetColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
16619 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxColourData
, 0 | 0 );
16620 if (!SWIG_IsOK(res1
)) {
16621 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ColourData_SetColour" "', expected argument " "1"" of type '" "wxColourData *""'");
16623 arg1
= reinterpret_cast< wxColourData
* >(argp1
);
16626 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
16629 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16630 (arg1
)->SetColour((wxColour
const &)*arg2
);
16631 wxPyEndAllowThreads(__tstate
);
16632 if (PyErr_Occurred()) SWIG_fail
;
16634 resultobj
= SWIG_Py_Void();
16641 SWIGINTERN PyObject
*_wrap_ColourData_SetCustomColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16642 PyObject
*resultobj
= 0;
16643 wxColourData
*arg1
= (wxColourData
*) 0 ;
16645 wxColour
*arg3
= 0 ;
16651 PyObject
* obj0
= 0 ;
16652 PyObject
* obj1
= 0 ;
16653 PyObject
* obj2
= 0 ;
16654 char * kwnames
[] = {
16655 (char *) "self",(char *) "i",(char *) "colour", NULL
16658 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ColourData_SetCustomColour",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
16659 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxColourData
, 0 | 0 );
16660 if (!SWIG_IsOK(res1
)) {
16661 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ColourData_SetCustomColour" "', expected argument " "1"" of type '" "wxColourData *""'");
16663 arg1
= reinterpret_cast< wxColourData
* >(argp1
);
16664 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
16665 if (!SWIG_IsOK(ecode2
)) {
16666 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ColourData_SetCustomColour" "', expected argument " "2"" of type '" "int""'");
16668 arg2
= static_cast< int >(val2
);
16671 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
16674 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16675 (arg1
)->SetCustomColour(arg2
,(wxColour
const &)*arg3
);
16676 wxPyEndAllowThreads(__tstate
);
16677 if (PyErr_Occurred()) SWIG_fail
;
16679 resultobj
= SWIG_Py_Void();
16686 SWIGINTERN PyObject
*ColourData_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16688 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
16689 SWIG_TypeNewClientData(SWIGTYPE_p_wxColourData
, SWIG_NewClientData(obj
));
16690 return SWIG_Py_Void();
16693 SWIGINTERN PyObject
*ColourData_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16694 return SWIG_Python_InitShadowInstance(args
);
16697 SWIGINTERN PyObject
*_wrap_new_ColourDialog(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16698 PyObject
*resultobj
= 0;
16699 wxWindow
*arg1
= (wxWindow
*) 0 ;
16700 wxColourData
*arg2
= (wxColourData
*) NULL
;
16701 wxColourDialog
*result
= 0 ;
16706 PyObject
* obj0
= 0 ;
16707 PyObject
* obj1
= 0 ;
16708 char * kwnames
[] = {
16709 (char *) "parent",(char *) "data", NULL
16712 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_ColourDialog",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
16713 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
16714 if (!SWIG_IsOK(res1
)) {
16715 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_ColourDialog" "', expected argument " "1"" of type '" "wxWindow *""'");
16717 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
16719 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxColourData
, 0 | 0 );
16720 if (!SWIG_IsOK(res2
)) {
16721 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_ColourDialog" "', expected argument " "2"" of type '" "wxColourData *""'");
16723 arg2
= reinterpret_cast< wxColourData
* >(argp2
);
16726 if (!wxPyCheckForApp()) SWIG_fail
;
16727 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16728 result
= (wxColourDialog
*)new wxColourDialog(arg1
,arg2
);
16729 wxPyEndAllowThreads(__tstate
);
16730 if (PyErr_Occurred()) SWIG_fail
;
16732 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxColourDialog
, SWIG_POINTER_NEW
| 0 );
16739 SWIGINTERN PyObject
*_wrap_ColourDialog_GetColourData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16740 PyObject
*resultobj
= 0;
16741 wxColourDialog
*arg1
= (wxColourDialog
*) 0 ;
16742 wxColourData
*result
= 0 ;
16745 PyObject
*swig_obj
[1] ;
16747 if (!args
) SWIG_fail
;
16748 swig_obj
[0] = args
;
16749 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxColourDialog
, 0 | 0 );
16750 if (!SWIG_IsOK(res1
)) {
16751 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ColourDialog_GetColourData" "', expected argument " "1"" of type '" "wxColourDialog *""'");
16753 arg1
= reinterpret_cast< wxColourDialog
* >(argp1
);
16755 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16757 wxColourData
&_result_ref
= (arg1
)->GetColourData();
16758 result
= (wxColourData
*) &_result_ref
;
16760 wxPyEndAllowThreads(__tstate
);
16761 if (PyErr_Occurred()) SWIG_fail
;
16763 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxColourData
, 0 | 0 );
16770 SWIGINTERN PyObject
*ColourDialog_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16772 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
16773 SWIG_TypeNewClientData(SWIGTYPE_p_wxColourDialog
, SWIG_NewClientData(obj
));
16774 return SWIG_Py_Void();
16777 SWIGINTERN PyObject
*ColourDialog_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16778 return SWIG_Python_InitShadowInstance(args
);
16781 SWIGINTERN PyObject
*_wrap_GetColourFromUser(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16782 PyObject
*resultobj
= 0;
16783 wxWindow
*arg1
= (wxWindow
*) (wxWindow
*) NULL
;
16784 wxColour
const &arg2_defvalue
= wxNullColour
;
16785 wxColour
*arg2
= (wxColour
*) &arg2_defvalue
;
16786 wxString
const &arg3_defvalue
= wxPyEmptyString
;
16787 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
16792 bool temp3
= false ;
16793 PyObject
* obj0
= 0 ;
16794 PyObject
* obj1
= 0 ;
16795 PyObject
* obj2
= 0 ;
16796 char * kwnames
[] = {
16797 (char *) "parent",(char *) "colInit",(char *) "caption", NULL
16800 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOO:GetColourFromUser",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
16802 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
16803 if (!SWIG_IsOK(res1
)) {
16804 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GetColourFromUser" "', expected argument " "1"" of type '" "wxWindow *""'");
16806 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
16811 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
16816 arg3
= wxString_in_helper(obj2
);
16817 if (arg3
== NULL
) SWIG_fail
;
16822 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16823 result
= wxGetColourFromUser(arg1
,(wxColour
const &)*arg2
,(wxString
const &)*arg3
);
16824 wxPyEndAllowThreads(__tstate
);
16825 if (PyErr_Occurred()) SWIG_fail
;
16827 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
16842 SWIGINTERN PyObject
*_wrap_new_DirDialog(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16843 PyObject
*resultobj
= 0;
16844 wxWindow
*arg1
= (wxWindow
*) 0 ;
16845 wxString
const &arg2_defvalue
= wxPyDirSelectorPromptStr
;
16846 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
16847 wxString
const &arg3_defvalue
= wxPyEmptyString
;
16848 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
16849 long arg4
= (long) wxDD_DEFAULT_STYLE
;
16850 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
16851 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
16852 wxSize
const &arg6_defvalue
= wxDefaultSize
;
16853 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
16854 wxString
const &arg7_defvalue
= wxPyDirDialogNameStr
;
16855 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
16856 wxDirDialog
*result
= 0 ;
16859 bool temp2
= false ;
16860 bool temp3
= false ;
16865 bool temp7
= false ;
16866 PyObject
* obj0
= 0 ;
16867 PyObject
* obj1
= 0 ;
16868 PyObject
* obj2
= 0 ;
16869 PyObject
* obj3
= 0 ;
16870 PyObject
* obj4
= 0 ;
16871 PyObject
* obj5
= 0 ;
16872 PyObject
* obj6
= 0 ;
16873 char * kwnames
[] = {
16874 (char *) "parent",(char *) "message",(char *) "defaultPath",(char *) "style",(char *) "pos",(char *) "size",(char *) "name", NULL
16877 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_DirDialog",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
16878 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
16879 if (!SWIG_IsOK(res1
)) {
16880 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_DirDialog" "', expected argument " "1"" of type '" "wxWindow *""'");
16882 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
16885 arg2
= wxString_in_helper(obj1
);
16886 if (arg2
== NULL
) SWIG_fail
;
16892 arg3
= wxString_in_helper(obj2
);
16893 if (arg3
== NULL
) SWIG_fail
;
16898 ecode4
= SWIG_AsVal_long(obj3
, &val4
);
16899 if (!SWIG_IsOK(ecode4
)) {
16900 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_DirDialog" "', expected argument " "4"" of type '" "long""'");
16902 arg4
= static_cast< long >(val4
);
16907 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
16913 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
16918 arg7
= wxString_in_helper(obj6
);
16919 if (arg7
== NULL
) SWIG_fail
;
16924 if (!wxPyCheckForApp()) SWIG_fail
;
16925 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16926 result
= (wxDirDialog
*)new wxDirDialog(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,(wxString
const &)*arg7
);
16927 wxPyEndAllowThreads(__tstate
);
16928 if (PyErr_Occurred()) SWIG_fail
;
16930 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDirDialog
, SWIG_POINTER_NEW
| 0 );
16961 SWIGINTERN PyObject
*_wrap_DirDialog_GetPath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16962 PyObject
*resultobj
= 0;
16963 wxDirDialog
*arg1
= (wxDirDialog
*) 0 ;
16967 PyObject
*swig_obj
[1] ;
16969 if (!args
) SWIG_fail
;
16970 swig_obj
[0] = args
;
16971 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDirDialog
, 0 | 0 );
16972 if (!SWIG_IsOK(res1
)) {
16973 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DirDialog_GetPath" "', expected argument " "1"" of type '" "wxDirDialog *""'");
16975 arg1
= reinterpret_cast< wxDirDialog
* >(argp1
);
16977 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16978 result
= (arg1
)->GetPath();
16979 wxPyEndAllowThreads(__tstate
);
16980 if (PyErr_Occurred()) SWIG_fail
;
16984 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
16986 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
16995 SWIGINTERN PyObject
*_wrap_DirDialog_GetMessage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16996 PyObject
*resultobj
= 0;
16997 wxDirDialog
*arg1
= (wxDirDialog
*) 0 ;
17001 PyObject
*swig_obj
[1] ;
17003 if (!args
) SWIG_fail
;
17004 swig_obj
[0] = args
;
17005 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDirDialog
, 0 | 0 );
17006 if (!SWIG_IsOK(res1
)) {
17007 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DirDialog_GetMessage" "', expected argument " "1"" of type '" "wxDirDialog *""'");
17009 arg1
= reinterpret_cast< wxDirDialog
* >(argp1
);
17011 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17012 result
= (arg1
)->GetMessage();
17013 wxPyEndAllowThreads(__tstate
);
17014 if (PyErr_Occurred()) SWIG_fail
;
17018 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
17020 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
17029 SWIGINTERN PyObject
*_wrap_DirDialog_SetMessage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17030 PyObject
*resultobj
= 0;
17031 wxDirDialog
*arg1
= (wxDirDialog
*) 0 ;
17032 wxString
*arg2
= 0 ;
17035 bool temp2
= false ;
17036 PyObject
* obj0
= 0 ;
17037 PyObject
* obj1
= 0 ;
17038 char * kwnames
[] = {
17039 (char *) "self",(char *) "message", NULL
17042 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DirDialog_SetMessage",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
17043 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDirDialog
, 0 | 0 );
17044 if (!SWIG_IsOK(res1
)) {
17045 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DirDialog_SetMessage" "', expected argument " "1"" of type '" "wxDirDialog *""'");
17047 arg1
= reinterpret_cast< wxDirDialog
* >(argp1
);
17049 arg2
= wxString_in_helper(obj1
);
17050 if (arg2
== NULL
) SWIG_fail
;
17054 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17055 (arg1
)->SetMessage((wxString
const &)*arg2
);
17056 wxPyEndAllowThreads(__tstate
);
17057 if (PyErr_Occurred()) SWIG_fail
;
17059 resultobj
= SWIG_Py_Void();
17074 SWIGINTERN PyObject
*_wrap_DirDialog_SetPath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17075 PyObject
*resultobj
= 0;
17076 wxDirDialog
*arg1
= (wxDirDialog
*) 0 ;
17077 wxString
*arg2
= 0 ;
17080 bool temp2
= false ;
17081 PyObject
* obj0
= 0 ;
17082 PyObject
* obj1
= 0 ;
17083 char * kwnames
[] = {
17084 (char *) "self",(char *) "path", NULL
17087 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DirDialog_SetPath",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
17088 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDirDialog
, 0 | 0 );
17089 if (!SWIG_IsOK(res1
)) {
17090 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DirDialog_SetPath" "', expected argument " "1"" of type '" "wxDirDialog *""'");
17092 arg1
= reinterpret_cast< wxDirDialog
* >(argp1
);
17094 arg2
= wxString_in_helper(obj1
);
17095 if (arg2
== NULL
) SWIG_fail
;
17099 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17100 (arg1
)->SetPath((wxString
const &)*arg2
);
17101 wxPyEndAllowThreads(__tstate
);
17102 if (PyErr_Occurred()) SWIG_fail
;
17104 resultobj
= SWIG_Py_Void();
17119 SWIGINTERN PyObject
*DirDialog_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17121 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
17122 SWIG_TypeNewClientData(SWIGTYPE_p_wxDirDialog
, SWIG_NewClientData(obj
));
17123 return SWIG_Py_Void();
17126 SWIGINTERN PyObject
*DirDialog_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17127 return SWIG_Python_InitShadowInstance(args
);
17130 SWIGINTERN PyObject
*_wrap_new_FileDialog(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17131 PyObject
*resultobj
= 0;
17132 wxWindow
*arg1
= (wxWindow
*) 0 ;
17133 wxString
const &arg2_defvalue
= wxPyFileSelectorPromptStr
;
17134 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
17135 wxString
const &arg3_defvalue
= wxPyEmptyString
;
17136 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
17137 wxString
const &arg4_defvalue
= wxPyEmptyString
;
17138 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
17139 wxString
const &arg5_defvalue
= wxPyFileSelectorDefaultWildcardStr
;
17140 wxString
*arg5
= (wxString
*) &arg5_defvalue
;
17141 long arg6
= (long) wxFD_DEFAULT_STYLE
;
17142 wxPoint
const &arg7_defvalue
= wxDefaultPosition
;
17143 wxPoint
*arg7
= (wxPoint
*) &arg7_defvalue
;
17144 wxFileDialog
*result
= 0 ;
17147 bool temp2
= false ;
17148 bool temp3
= false ;
17149 bool temp4
= false ;
17150 bool temp5
= false ;
17154 PyObject
* obj0
= 0 ;
17155 PyObject
* obj1
= 0 ;
17156 PyObject
* obj2
= 0 ;
17157 PyObject
* obj3
= 0 ;
17158 PyObject
* obj4
= 0 ;
17159 PyObject
* obj5
= 0 ;
17160 PyObject
* obj6
= 0 ;
17161 char * kwnames
[] = {
17162 (char *) "parent",(char *) "message",(char *) "defaultDir",(char *) "defaultFile",(char *) "wildcard",(char *) "style",(char *) "pos", NULL
17165 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_FileDialog",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
17166 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
17167 if (!SWIG_IsOK(res1
)) {
17168 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_FileDialog" "', expected argument " "1"" of type '" "wxWindow *""'");
17170 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
17173 arg2
= wxString_in_helper(obj1
);
17174 if (arg2
== NULL
) SWIG_fail
;
17180 arg3
= wxString_in_helper(obj2
);
17181 if (arg3
== NULL
) SWIG_fail
;
17187 arg4
= wxString_in_helper(obj3
);
17188 if (arg4
== NULL
) SWIG_fail
;
17194 arg5
= wxString_in_helper(obj4
);
17195 if (arg5
== NULL
) SWIG_fail
;
17200 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
17201 if (!SWIG_IsOK(ecode6
)) {
17202 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_FileDialog" "', expected argument " "6"" of type '" "long""'");
17204 arg6
= static_cast< long >(val6
);
17209 if ( ! wxPoint_helper(obj6
, &arg7
)) SWIG_fail
;
17213 if (!wxPyCheckForApp()) SWIG_fail
;
17214 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17215 result
= (wxFileDialog
*)new wxFileDialog(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
,(wxString
const &)*arg5
,arg6
,(wxPoint
const &)*arg7
);
17216 wxPyEndAllowThreads(__tstate
);
17217 if (PyErr_Occurred()) SWIG_fail
;
17219 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFileDialog
, SWIG_POINTER_NEW
| 0 );
17258 SWIGINTERN PyObject
*_wrap_FileDialog_SetMessage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17259 PyObject
*resultobj
= 0;
17260 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
17261 wxString
*arg2
= 0 ;
17264 bool temp2
= false ;
17265 PyObject
* obj0
= 0 ;
17266 PyObject
* obj1
= 0 ;
17267 char * kwnames
[] = {
17268 (char *) "self",(char *) "message", NULL
17271 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileDialog_SetMessage",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
17272 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFileDialog
, 0 | 0 );
17273 if (!SWIG_IsOK(res1
)) {
17274 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileDialog_SetMessage" "', expected argument " "1"" of type '" "wxFileDialog *""'");
17276 arg1
= reinterpret_cast< wxFileDialog
* >(argp1
);
17278 arg2
= wxString_in_helper(obj1
);
17279 if (arg2
== NULL
) SWIG_fail
;
17283 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17284 (arg1
)->SetMessage((wxString
const &)*arg2
);
17285 wxPyEndAllowThreads(__tstate
);
17286 if (PyErr_Occurred()) SWIG_fail
;
17288 resultobj
= SWIG_Py_Void();
17303 SWIGINTERN PyObject
*_wrap_FileDialog_SetPath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17304 PyObject
*resultobj
= 0;
17305 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
17306 wxString
*arg2
= 0 ;
17309 bool temp2
= false ;
17310 PyObject
* obj0
= 0 ;
17311 PyObject
* obj1
= 0 ;
17312 char * kwnames
[] = {
17313 (char *) "self",(char *) "path", NULL
17316 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileDialog_SetPath",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
17317 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFileDialog
, 0 | 0 );
17318 if (!SWIG_IsOK(res1
)) {
17319 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileDialog_SetPath" "', expected argument " "1"" of type '" "wxFileDialog *""'");
17321 arg1
= reinterpret_cast< wxFileDialog
* >(argp1
);
17323 arg2
= wxString_in_helper(obj1
);
17324 if (arg2
== NULL
) SWIG_fail
;
17328 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17329 (arg1
)->SetPath((wxString
const &)*arg2
);
17330 wxPyEndAllowThreads(__tstate
);
17331 if (PyErr_Occurred()) SWIG_fail
;
17333 resultobj
= SWIG_Py_Void();
17348 SWIGINTERN PyObject
*_wrap_FileDialog_SetDirectory(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17349 PyObject
*resultobj
= 0;
17350 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
17351 wxString
*arg2
= 0 ;
17354 bool temp2
= false ;
17355 PyObject
* obj0
= 0 ;
17356 PyObject
* obj1
= 0 ;
17357 char * kwnames
[] = {
17358 (char *) "self",(char *) "dir", NULL
17361 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileDialog_SetDirectory",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
17362 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFileDialog
, 0 | 0 );
17363 if (!SWIG_IsOK(res1
)) {
17364 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileDialog_SetDirectory" "', expected argument " "1"" of type '" "wxFileDialog *""'");
17366 arg1
= reinterpret_cast< wxFileDialog
* >(argp1
);
17368 arg2
= wxString_in_helper(obj1
);
17369 if (arg2
== NULL
) SWIG_fail
;
17373 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17374 (arg1
)->SetDirectory((wxString
const &)*arg2
);
17375 wxPyEndAllowThreads(__tstate
);
17376 if (PyErr_Occurred()) SWIG_fail
;
17378 resultobj
= SWIG_Py_Void();
17393 SWIGINTERN PyObject
*_wrap_FileDialog_SetFilename(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17394 PyObject
*resultobj
= 0;
17395 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
17396 wxString
*arg2
= 0 ;
17399 bool temp2
= false ;
17400 PyObject
* obj0
= 0 ;
17401 PyObject
* obj1
= 0 ;
17402 char * kwnames
[] = {
17403 (char *) "self",(char *) "name", NULL
17406 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileDialog_SetFilename",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
17407 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFileDialog
, 0 | 0 );
17408 if (!SWIG_IsOK(res1
)) {
17409 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileDialog_SetFilename" "', expected argument " "1"" of type '" "wxFileDialog *""'");
17411 arg1
= reinterpret_cast< wxFileDialog
* >(argp1
);
17413 arg2
= wxString_in_helper(obj1
);
17414 if (arg2
== NULL
) SWIG_fail
;
17418 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17419 (arg1
)->SetFilename((wxString
const &)*arg2
);
17420 wxPyEndAllowThreads(__tstate
);
17421 if (PyErr_Occurred()) SWIG_fail
;
17423 resultobj
= SWIG_Py_Void();
17438 SWIGINTERN PyObject
*_wrap_FileDialog_SetWildcard(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17439 PyObject
*resultobj
= 0;
17440 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
17441 wxString
*arg2
= 0 ;
17444 bool temp2
= false ;
17445 PyObject
* obj0
= 0 ;
17446 PyObject
* obj1
= 0 ;
17447 char * kwnames
[] = {
17448 (char *) "self",(char *) "wildCard", NULL
17451 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileDialog_SetWildcard",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
17452 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFileDialog
, 0 | 0 );
17453 if (!SWIG_IsOK(res1
)) {
17454 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileDialog_SetWildcard" "', expected argument " "1"" of type '" "wxFileDialog *""'");
17456 arg1
= reinterpret_cast< wxFileDialog
* >(argp1
);
17458 arg2
= wxString_in_helper(obj1
);
17459 if (arg2
== NULL
) SWIG_fail
;
17463 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17464 (arg1
)->SetWildcard((wxString
const &)*arg2
);
17465 wxPyEndAllowThreads(__tstate
);
17466 if (PyErr_Occurred()) SWIG_fail
;
17468 resultobj
= SWIG_Py_Void();
17483 SWIGINTERN PyObject
*_wrap_FileDialog_SetFilterIndex(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17484 PyObject
*resultobj
= 0;
17485 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
17491 PyObject
* obj0
= 0 ;
17492 PyObject
* obj1
= 0 ;
17493 char * kwnames
[] = {
17494 (char *) "self",(char *) "filterIndex", NULL
17497 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileDialog_SetFilterIndex",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
17498 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFileDialog
, 0 | 0 );
17499 if (!SWIG_IsOK(res1
)) {
17500 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileDialog_SetFilterIndex" "', expected argument " "1"" of type '" "wxFileDialog *""'");
17502 arg1
= reinterpret_cast< wxFileDialog
* >(argp1
);
17503 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
17504 if (!SWIG_IsOK(ecode2
)) {
17505 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "FileDialog_SetFilterIndex" "', expected argument " "2"" of type '" "int""'");
17507 arg2
= static_cast< int >(val2
);
17509 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17510 (arg1
)->SetFilterIndex(arg2
);
17511 wxPyEndAllowThreads(__tstate
);
17512 if (PyErr_Occurred()) SWIG_fail
;
17514 resultobj
= SWIG_Py_Void();
17521 SWIGINTERN PyObject
*_wrap_FileDialog_GetMessage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17522 PyObject
*resultobj
= 0;
17523 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
17527 PyObject
*swig_obj
[1] ;
17529 if (!args
) SWIG_fail
;
17530 swig_obj
[0] = args
;
17531 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFileDialog
, 0 | 0 );
17532 if (!SWIG_IsOK(res1
)) {
17533 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileDialog_GetMessage" "', expected argument " "1"" of type '" "wxFileDialog const *""'");
17535 arg1
= reinterpret_cast< wxFileDialog
* >(argp1
);
17537 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17538 result
= ((wxFileDialog
const *)arg1
)->GetMessage();
17539 wxPyEndAllowThreads(__tstate
);
17540 if (PyErr_Occurred()) SWIG_fail
;
17544 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
17546 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
17555 SWIGINTERN PyObject
*_wrap_FileDialog_GetPath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17556 PyObject
*resultobj
= 0;
17557 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
17561 PyObject
*swig_obj
[1] ;
17563 if (!args
) SWIG_fail
;
17564 swig_obj
[0] = args
;
17565 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFileDialog
, 0 | 0 );
17566 if (!SWIG_IsOK(res1
)) {
17567 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileDialog_GetPath" "', expected argument " "1"" of type '" "wxFileDialog const *""'");
17569 arg1
= reinterpret_cast< wxFileDialog
* >(argp1
);
17571 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17572 result
= ((wxFileDialog
const *)arg1
)->GetPath();
17573 wxPyEndAllowThreads(__tstate
);
17574 if (PyErr_Occurred()) SWIG_fail
;
17578 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
17580 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
17589 SWIGINTERN PyObject
*_wrap_FileDialog_GetDirectory(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17590 PyObject
*resultobj
= 0;
17591 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
17595 PyObject
*swig_obj
[1] ;
17597 if (!args
) SWIG_fail
;
17598 swig_obj
[0] = args
;
17599 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFileDialog
, 0 | 0 );
17600 if (!SWIG_IsOK(res1
)) {
17601 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileDialog_GetDirectory" "', expected argument " "1"" of type '" "wxFileDialog const *""'");
17603 arg1
= reinterpret_cast< wxFileDialog
* >(argp1
);
17605 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17606 result
= ((wxFileDialog
const *)arg1
)->GetDirectory();
17607 wxPyEndAllowThreads(__tstate
);
17608 if (PyErr_Occurred()) SWIG_fail
;
17612 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
17614 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
17623 SWIGINTERN PyObject
*_wrap_FileDialog_GetFilename(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17624 PyObject
*resultobj
= 0;
17625 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
17629 PyObject
*swig_obj
[1] ;
17631 if (!args
) SWIG_fail
;
17632 swig_obj
[0] = args
;
17633 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFileDialog
, 0 | 0 );
17634 if (!SWIG_IsOK(res1
)) {
17635 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileDialog_GetFilename" "', expected argument " "1"" of type '" "wxFileDialog const *""'");
17637 arg1
= reinterpret_cast< wxFileDialog
* >(argp1
);
17639 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17640 result
= ((wxFileDialog
const *)arg1
)->GetFilename();
17641 wxPyEndAllowThreads(__tstate
);
17642 if (PyErr_Occurred()) SWIG_fail
;
17646 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
17648 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
17657 SWIGINTERN PyObject
*_wrap_FileDialog_GetWildcard(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17658 PyObject
*resultobj
= 0;
17659 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
17663 PyObject
*swig_obj
[1] ;
17665 if (!args
) SWIG_fail
;
17666 swig_obj
[0] = args
;
17667 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFileDialog
, 0 | 0 );
17668 if (!SWIG_IsOK(res1
)) {
17669 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileDialog_GetWildcard" "', expected argument " "1"" of type '" "wxFileDialog const *""'");
17671 arg1
= reinterpret_cast< wxFileDialog
* >(argp1
);
17673 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17674 result
= ((wxFileDialog
const *)arg1
)->GetWildcard();
17675 wxPyEndAllowThreads(__tstate
);
17676 if (PyErr_Occurred()) SWIG_fail
;
17680 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
17682 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
17691 SWIGINTERN PyObject
*_wrap_FileDialog_GetFilterIndex(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17692 PyObject
*resultobj
= 0;
17693 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
17697 PyObject
*swig_obj
[1] ;
17699 if (!args
) SWIG_fail
;
17700 swig_obj
[0] = args
;
17701 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFileDialog
, 0 | 0 );
17702 if (!SWIG_IsOK(res1
)) {
17703 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileDialog_GetFilterIndex" "', expected argument " "1"" of type '" "wxFileDialog const *""'");
17705 arg1
= reinterpret_cast< wxFileDialog
* >(argp1
);
17707 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17708 result
= (int)((wxFileDialog
const *)arg1
)->GetFilterIndex();
17709 wxPyEndAllowThreads(__tstate
);
17710 if (PyErr_Occurred()) SWIG_fail
;
17712 resultobj
= SWIG_From_int(static_cast< int >(result
));
17719 SWIGINTERN PyObject
*_wrap_FileDialog_GetFilenames(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17720 PyObject
*resultobj
= 0;
17721 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
17722 PyObject
*result
= 0 ;
17725 PyObject
*swig_obj
[1] ;
17727 if (!args
) SWIG_fail
;
17728 swig_obj
[0] = args
;
17729 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFileDialog
, 0 | 0 );
17730 if (!SWIG_IsOK(res1
)) {
17731 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileDialog_GetFilenames" "', expected argument " "1"" of type '" "wxFileDialog *""'");
17733 arg1
= reinterpret_cast< wxFileDialog
* >(argp1
);
17735 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17736 result
= (PyObject
*)wxFileDialog_GetFilenames(arg1
);
17737 wxPyEndAllowThreads(__tstate
);
17738 if (PyErr_Occurred()) SWIG_fail
;
17740 resultobj
= result
;
17747 SWIGINTERN PyObject
*_wrap_FileDialog_GetPaths(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17748 PyObject
*resultobj
= 0;
17749 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
17750 PyObject
*result
= 0 ;
17753 PyObject
*swig_obj
[1] ;
17755 if (!args
) SWIG_fail
;
17756 swig_obj
[0] = args
;
17757 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFileDialog
, 0 | 0 );
17758 if (!SWIG_IsOK(res1
)) {
17759 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileDialog_GetPaths" "', expected argument " "1"" of type '" "wxFileDialog *""'");
17761 arg1
= reinterpret_cast< wxFileDialog
* >(argp1
);
17763 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17764 result
= (PyObject
*)wxFileDialog_GetPaths(arg1
);
17765 wxPyEndAllowThreads(__tstate
);
17766 if (PyErr_Occurred()) SWIG_fail
;
17768 resultobj
= result
;
17775 SWIGINTERN PyObject
*FileDialog_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17777 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
17778 SWIG_TypeNewClientData(SWIGTYPE_p_wxFileDialog
, SWIG_NewClientData(obj
));
17779 return SWIG_Py_Void();
17782 SWIGINTERN PyObject
*FileDialog_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17783 return SWIG_Python_InitShadowInstance(args
);
17786 SWIGINTERN PyObject
*_wrap_new_MultiChoiceDialog(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17787 PyObject
*resultobj
= 0;
17788 wxWindow
*arg1
= (wxWindow
*) 0 ;
17789 wxString
*arg2
= 0 ;
17790 wxString
*arg3
= 0 ;
17791 int arg4
= (int) 0 ;
17792 wxString
*arg5
= (wxString
*) NULL
;
17793 long arg6
= (long) wxCHOICEDLG_STYLE
;
17794 wxPoint
const &arg7_defvalue
= wxDefaultPosition
;
17795 wxPoint
*arg7
= (wxPoint
*) &arg7_defvalue
;
17796 wxMultiChoiceDialog
*result
= 0 ;
17799 bool temp2
= false ;
17800 bool temp3
= false ;
17804 PyObject
* obj0
= 0 ;
17805 PyObject
* obj1
= 0 ;
17806 PyObject
* obj2
= 0 ;
17807 PyObject
* obj3
= 0 ;
17808 PyObject
* obj4
= 0 ;
17809 PyObject
* obj5
= 0 ;
17810 char * kwnames
[] = {
17811 (char *) "parent",(char *) "message",(char *) "caption",(char *) "choices",(char *) "style",(char *) "pos", NULL
17814 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOO:new_MultiChoiceDialog",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
17815 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
17816 if (!SWIG_IsOK(res1
)) {
17817 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_MultiChoiceDialog" "', expected argument " "1"" of type '" "wxWindow *""'");
17819 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
17821 arg2
= wxString_in_helper(obj1
);
17822 if (arg2
== NULL
) SWIG_fail
;
17826 arg3
= wxString_in_helper(obj2
);
17827 if (arg3
== NULL
) SWIG_fail
;
17832 arg4
= PyList_Size(obj3
);
17833 arg5
= wxString_LIST_helper(obj3
);
17834 if (arg5
== NULL
) SWIG_fail
;
17838 ecode6
= SWIG_AsVal_long(obj4
, &val6
);
17839 if (!SWIG_IsOK(ecode6
)) {
17840 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_MultiChoiceDialog" "', expected argument " "6"" of type '" "long""'");
17842 arg6
= static_cast< long >(val6
);
17847 if ( ! wxPoint_helper(obj5
, &arg7
)) SWIG_fail
;
17851 if (!wxPyCheckForApp()) SWIG_fail
;
17852 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17853 result
= (wxMultiChoiceDialog
*)new wxMultiChoiceDialog(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,arg4
,arg5
,arg6
,(wxPoint
const &)*arg7
);
17854 wxPyEndAllowThreads(__tstate
);
17855 if (PyErr_Occurred()) SWIG_fail
;
17857 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMultiChoiceDialog
, SWIG_POINTER_NEW
| 0 );
17867 if (arg5
) delete [] arg5
;
17880 if (arg5
) delete [] arg5
;
17886 SWIGINTERN PyObject
*_wrap_MultiChoiceDialog_SetSelections(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17887 PyObject
*resultobj
= 0;
17888 wxMultiChoiceDialog
*arg1
= (wxMultiChoiceDialog
*) 0 ;
17889 wxArrayInt
*arg2
= 0 ;
17892 bool temp2
= false ;
17893 PyObject
* obj0
= 0 ;
17894 PyObject
* obj1
= 0 ;
17895 char * kwnames
[] = {
17896 (char *) "self",(char *) "selections", NULL
17899 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MultiChoiceDialog_SetSelections",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
17900 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMultiChoiceDialog
, 0 | 0 );
17901 if (!SWIG_IsOK(res1
)) {
17902 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MultiChoiceDialog_SetSelections" "', expected argument " "1"" of type '" "wxMultiChoiceDialog *""'");
17904 arg1
= reinterpret_cast< wxMultiChoiceDialog
* >(argp1
);
17906 if (! PySequence_Check(obj1
)) {
17907 PyErr_SetString(PyExc_TypeError
, "Sequence of integers expected.");
17910 arg2
= new wxArrayInt
;
17912 int i
, len
=PySequence_Length(obj1
);
17913 for (i
=0; i
<len
; i
++) {
17914 PyObject
* item
= PySequence_GetItem(obj1
, i
);
17915 PyObject
* number
= PyNumber_Int(item
);
17917 PyErr_SetString(PyExc_TypeError
, "Sequence of integers expected.");
17920 arg2
->Add(PyInt_AS_LONG(number
));
17926 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17927 (arg1
)->SetSelections((wxArrayInt
const &)*arg2
);
17928 wxPyEndAllowThreads(__tstate
);
17929 if (PyErr_Occurred()) SWIG_fail
;
17931 resultobj
= SWIG_Py_Void();
17933 if (temp2
) delete arg2
;
17938 if (temp2
) delete arg2
;
17944 SWIGINTERN PyObject
*_wrap_MultiChoiceDialog_GetSelections(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17945 PyObject
*resultobj
= 0;
17946 wxMultiChoiceDialog
*arg1
= (wxMultiChoiceDialog
*) 0 ;
17947 PyObject
*result
= 0 ;
17950 PyObject
*swig_obj
[1] ;
17952 if (!args
) SWIG_fail
;
17953 swig_obj
[0] = args
;
17954 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMultiChoiceDialog
, 0 | 0 );
17955 if (!SWIG_IsOK(res1
)) {
17956 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MultiChoiceDialog_GetSelections" "', expected argument " "1"" of type '" "wxMultiChoiceDialog *""'");
17958 arg1
= reinterpret_cast< wxMultiChoiceDialog
* >(argp1
);
17960 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17961 result
= (PyObject
*)wxMultiChoiceDialog_GetSelections(arg1
);
17962 wxPyEndAllowThreads(__tstate
);
17963 if (PyErr_Occurred()) SWIG_fail
;
17965 resultobj
= result
;
17972 SWIGINTERN PyObject
*MultiChoiceDialog_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17974 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
17975 SWIG_TypeNewClientData(SWIGTYPE_p_wxMultiChoiceDialog
, SWIG_NewClientData(obj
));
17976 return SWIG_Py_Void();
17979 SWIGINTERN PyObject
*MultiChoiceDialog_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17980 return SWIG_Python_InitShadowInstance(args
);
17983 SWIGINTERN PyObject
*_wrap_new_SingleChoiceDialog(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17984 PyObject
*resultobj
= 0;
17985 wxWindow
*arg1
= (wxWindow
*) 0 ;
17986 wxString
*arg2
= 0 ;
17987 wxString
*arg3
= 0 ;
17989 wxString
*arg5
= (wxString
*) 0 ;
17990 long arg6
= (long) wxCHOICEDLG_STYLE
;
17991 wxPoint
const &arg7_defvalue
= wxDefaultPosition
;
17992 wxPoint
*arg7
= (wxPoint
*) &arg7_defvalue
;
17993 wxSingleChoiceDialog
*result
= 0 ;
17996 bool temp2
= false ;
17997 bool temp3
= false ;
18001 PyObject
* obj0
= 0 ;
18002 PyObject
* obj1
= 0 ;
18003 PyObject
* obj2
= 0 ;
18004 PyObject
* obj3
= 0 ;
18005 PyObject
* obj4
= 0 ;
18006 PyObject
* obj5
= 0 ;
18007 char * kwnames
[] = {
18008 (char *) "parent",(char *) "message",(char *) "caption",(char *) "choices",(char *) "style",(char *) "pos", NULL
18011 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OO:new_SingleChoiceDialog",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
18012 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
18013 if (!SWIG_IsOK(res1
)) {
18014 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_SingleChoiceDialog" "', expected argument " "1"" of type '" "wxWindow *""'");
18016 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
18018 arg2
= wxString_in_helper(obj1
);
18019 if (arg2
== NULL
) SWIG_fail
;
18023 arg3
= wxString_in_helper(obj2
);
18024 if (arg3
== NULL
) SWIG_fail
;
18028 arg4
= PyList_Size(obj3
);
18029 arg5
= wxString_LIST_helper(obj3
);
18030 if (arg5
== NULL
) SWIG_fail
;
18033 ecode6
= SWIG_AsVal_long(obj4
, &val6
);
18034 if (!SWIG_IsOK(ecode6
)) {
18035 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_SingleChoiceDialog" "', expected argument " "6"" of type '" "long""'");
18037 arg6
= static_cast< long >(val6
);
18042 if ( ! wxPoint_helper(obj5
, &arg7
)) SWIG_fail
;
18046 if (!wxPyCheckForApp()) SWIG_fail
;
18047 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18048 result
= (wxSingleChoiceDialog
*)new_wxSingleChoiceDialog(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,arg4
,arg5
,arg6
,(wxPoint
const &)*arg7
);
18049 wxPyEndAllowThreads(__tstate
);
18050 if (PyErr_Occurred()) SWIG_fail
;
18052 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSingleChoiceDialog
, SWIG_POINTER_NEW
| 0 );
18062 if (arg5
) delete [] arg5
;
18075 if (arg5
) delete [] arg5
;
18081 SWIGINTERN PyObject
*_wrap_SingleChoiceDialog_GetSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18082 PyObject
*resultobj
= 0;
18083 wxSingleChoiceDialog
*arg1
= (wxSingleChoiceDialog
*) 0 ;
18087 PyObject
*swig_obj
[1] ;
18089 if (!args
) SWIG_fail
;
18090 swig_obj
[0] = args
;
18091 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSingleChoiceDialog
, 0 | 0 );
18092 if (!SWIG_IsOK(res1
)) {
18093 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SingleChoiceDialog_GetSelection" "', expected argument " "1"" of type '" "wxSingleChoiceDialog *""'");
18095 arg1
= reinterpret_cast< wxSingleChoiceDialog
* >(argp1
);
18097 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18098 result
= (int)(arg1
)->GetSelection();
18099 wxPyEndAllowThreads(__tstate
);
18100 if (PyErr_Occurred()) SWIG_fail
;
18102 resultobj
= SWIG_From_int(static_cast< int >(result
));
18109 SWIGINTERN PyObject
*_wrap_SingleChoiceDialog_GetStringSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18110 PyObject
*resultobj
= 0;
18111 wxSingleChoiceDialog
*arg1
= (wxSingleChoiceDialog
*) 0 ;
18115 PyObject
*swig_obj
[1] ;
18117 if (!args
) SWIG_fail
;
18118 swig_obj
[0] = args
;
18119 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSingleChoiceDialog
, 0 | 0 );
18120 if (!SWIG_IsOK(res1
)) {
18121 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SingleChoiceDialog_GetStringSelection" "', expected argument " "1"" of type '" "wxSingleChoiceDialog *""'");
18123 arg1
= reinterpret_cast< wxSingleChoiceDialog
* >(argp1
);
18125 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18126 result
= (arg1
)->GetStringSelection();
18127 wxPyEndAllowThreads(__tstate
);
18128 if (PyErr_Occurred()) SWIG_fail
;
18132 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
18134 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
18143 SWIGINTERN PyObject
*_wrap_SingleChoiceDialog_SetSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18144 PyObject
*resultobj
= 0;
18145 wxSingleChoiceDialog
*arg1
= (wxSingleChoiceDialog
*) 0 ;
18151 PyObject
* obj0
= 0 ;
18152 PyObject
* obj1
= 0 ;
18153 char * kwnames
[] = {
18154 (char *) "self",(char *) "sel", NULL
18157 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SingleChoiceDialog_SetSelection",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
18158 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSingleChoiceDialog
, 0 | 0 );
18159 if (!SWIG_IsOK(res1
)) {
18160 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SingleChoiceDialog_SetSelection" "', expected argument " "1"" of type '" "wxSingleChoiceDialog *""'");
18162 arg1
= reinterpret_cast< wxSingleChoiceDialog
* >(argp1
);
18163 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
18164 if (!SWIG_IsOK(ecode2
)) {
18165 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SingleChoiceDialog_SetSelection" "', expected argument " "2"" of type '" "int""'");
18167 arg2
= static_cast< int >(val2
);
18169 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18170 (arg1
)->SetSelection(arg2
);
18171 wxPyEndAllowThreads(__tstate
);
18172 if (PyErr_Occurred()) SWIG_fail
;
18174 resultobj
= SWIG_Py_Void();
18181 SWIGINTERN PyObject
*SingleChoiceDialog_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18183 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
18184 SWIG_TypeNewClientData(SWIGTYPE_p_wxSingleChoiceDialog
, SWIG_NewClientData(obj
));
18185 return SWIG_Py_Void();
18188 SWIGINTERN PyObject
*SingleChoiceDialog_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18189 return SWIG_Python_InitShadowInstance(args
);
18192 SWIGINTERN PyObject
*_wrap_new_TextEntryDialog(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18193 PyObject
*resultobj
= 0;
18194 wxWindow
*arg1
= (wxWindow
*) 0 ;
18195 wxString
*arg2
= 0 ;
18196 wxString
const &arg3_defvalue
= wxPyGetTextFromUserPromptStr
;
18197 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
18198 wxString
const &arg4_defvalue
= wxPyEmptyString
;
18199 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
18200 long arg5
= (long) wxTextEntryDialogStyle
;
18201 wxPoint
const &arg6_defvalue
= wxDefaultPosition
;
18202 wxPoint
*arg6
= (wxPoint
*) &arg6_defvalue
;
18203 wxTextEntryDialog
*result
= 0 ;
18206 bool temp2
= false ;
18207 bool temp3
= false ;
18208 bool temp4
= false ;
18212 PyObject
* obj0
= 0 ;
18213 PyObject
* obj1
= 0 ;
18214 PyObject
* obj2
= 0 ;
18215 PyObject
* obj3
= 0 ;
18216 PyObject
* obj4
= 0 ;
18217 PyObject
* obj5
= 0 ;
18218 char * kwnames
[] = {
18219 (char *) "parent",(char *) "message",(char *) "caption",(char *) "defaultValue",(char *) "style",(char *) "pos", NULL
18222 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOO:new_TextEntryDialog",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
18223 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
18224 if (!SWIG_IsOK(res1
)) {
18225 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_TextEntryDialog" "', expected argument " "1"" of type '" "wxWindow *""'");
18227 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
18229 arg2
= wxString_in_helper(obj1
);
18230 if (arg2
== NULL
) SWIG_fail
;
18235 arg3
= wxString_in_helper(obj2
);
18236 if (arg3
== NULL
) SWIG_fail
;
18242 arg4
= wxString_in_helper(obj3
);
18243 if (arg4
== NULL
) SWIG_fail
;
18248 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
18249 if (!SWIG_IsOK(ecode5
)) {
18250 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_TextEntryDialog" "', expected argument " "5"" of type '" "long""'");
18252 arg5
= static_cast< long >(val5
);
18257 if ( ! wxPoint_helper(obj5
, &arg6
)) SWIG_fail
;
18261 if (!wxPyCheckForApp()) SWIG_fail
;
18262 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18263 result
= (wxTextEntryDialog
*)new wxTextEntryDialog(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
,arg5
,(wxPoint
const &)*arg6
);
18264 wxPyEndAllowThreads(__tstate
);
18265 if (PyErr_Occurred()) SWIG_fail
;
18267 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxTextEntryDialog
, SWIG_POINTER_NEW
| 0 );
18298 SWIGINTERN PyObject
*_wrap_TextEntryDialog_GetValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18299 PyObject
*resultobj
= 0;
18300 wxTextEntryDialog
*arg1
= (wxTextEntryDialog
*) 0 ;
18304 PyObject
*swig_obj
[1] ;
18306 if (!args
) SWIG_fail
;
18307 swig_obj
[0] = args
;
18308 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextEntryDialog
, 0 | 0 );
18309 if (!SWIG_IsOK(res1
)) {
18310 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextEntryDialog_GetValue" "', expected argument " "1"" of type '" "wxTextEntryDialog *""'");
18312 arg1
= reinterpret_cast< wxTextEntryDialog
* >(argp1
);
18314 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18315 result
= (arg1
)->GetValue();
18316 wxPyEndAllowThreads(__tstate
);
18317 if (PyErr_Occurred()) SWIG_fail
;
18321 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
18323 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
18332 SWIGINTERN PyObject
*_wrap_TextEntryDialog_SetValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18333 PyObject
*resultobj
= 0;
18334 wxTextEntryDialog
*arg1
= (wxTextEntryDialog
*) 0 ;
18335 wxString
*arg2
= 0 ;
18338 bool temp2
= false ;
18339 PyObject
* obj0
= 0 ;
18340 PyObject
* obj1
= 0 ;
18341 char * kwnames
[] = {
18342 (char *) "self",(char *) "value", NULL
18345 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextEntryDialog_SetValue",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
18346 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextEntryDialog
, 0 | 0 );
18347 if (!SWIG_IsOK(res1
)) {
18348 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextEntryDialog_SetValue" "', expected argument " "1"" of type '" "wxTextEntryDialog *""'");
18350 arg1
= reinterpret_cast< wxTextEntryDialog
* >(argp1
);
18352 arg2
= wxString_in_helper(obj1
);
18353 if (arg2
== NULL
) SWIG_fail
;
18357 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18358 (arg1
)->SetValue((wxString
const &)*arg2
);
18359 wxPyEndAllowThreads(__tstate
);
18360 if (PyErr_Occurred()) SWIG_fail
;
18362 resultobj
= SWIG_Py_Void();
18377 SWIGINTERN PyObject
*TextEntryDialog_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18379 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
18380 SWIG_TypeNewClientData(SWIGTYPE_p_wxTextEntryDialog
, SWIG_NewClientData(obj
));
18381 return SWIG_Py_Void();
18384 SWIGINTERN PyObject
*TextEntryDialog_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18385 return SWIG_Python_InitShadowInstance(args
);
18388 SWIGINTERN
int GetPasswordFromUserPromptStr_set(PyObject
*) {
18389 SWIG_Error(SWIG_AttributeError
,"Variable GetPasswordFromUserPromptStr is read-only.");
18394 SWIGINTERN PyObject
*GetPasswordFromUserPromptStr_get(void) {
18395 PyObject
*pyobj
= 0;
18399 pyobj
= PyUnicode_FromWideChar((&wxPyGetPasswordFromUserPromptStr
)->c_str(), (&wxPyGetPasswordFromUserPromptStr
)->Len());
18401 pyobj
= PyString_FromStringAndSize((&wxPyGetPasswordFromUserPromptStr
)->c_str(), (&wxPyGetPasswordFromUserPromptStr
)->Len());
18408 SWIGINTERN PyObject
*_wrap_new_PasswordEntryDialog(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18409 PyObject
*resultobj
= 0;
18410 wxWindow
*arg1
= (wxWindow
*) 0 ;
18411 wxString
*arg2
= 0 ;
18412 wxString
const &arg3_defvalue
= wxPyGetPasswordFromUserPromptStr
;
18413 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
18414 wxString
const &arg4_defvalue
= wxPyEmptyString
;
18415 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
18416 long arg5
= (long) wxTextEntryDialogStyle
;
18417 wxPoint
const &arg6_defvalue
= wxDefaultPosition
;
18418 wxPoint
*arg6
= (wxPoint
*) &arg6_defvalue
;
18419 wxPasswordEntryDialog
*result
= 0 ;
18422 bool temp2
= false ;
18423 bool temp3
= false ;
18424 bool temp4
= false ;
18428 PyObject
* obj0
= 0 ;
18429 PyObject
* obj1
= 0 ;
18430 PyObject
* obj2
= 0 ;
18431 PyObject
* obj3
= 0 ;
18432 PyObject
* obj4
= 0 ;
18433 PyObject
* obj5
= 0 ;
18434 char * kwnames
[] = {
18435 (char *) "parent",(char *) "message",(char *) "caption",(char *) "value",(char *) "style",(char *) "pos", NULL
18438 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOO:new_PasswordEntryDialog",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
18439 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
18440 if (!SWIG_IsOK(res1
)) {
18441 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PasswordEntryDialog" "', expected argument " "1"" of type '" "wxWindow *""'");
18443 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
18445 arg2
= wxString_in_helper(obj1
);
18446 if (arg2
== NULL
) SWIG_fail
;
18451 arg3
= wxString_in_helper(obj2
);
18452 if (arg3
== NULL
) SWIG_fail
;
18458 arg4
= wxString_in_helper(obj3
);
18459 if (arg4
== NULL
) SWIG_fail
;
18464 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
18465 if (!SWIG_IsOK(ecode5
)) {
18466 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_PasswordEntryDialog" "', expected argument " "5"" of type '" "long""'");
18468 arg5
= static_cast< long >(val5
);
18473 if ( ! wxPoint_helper(obj5
, &arg6
)) SWIG_fail
;
18477 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18478 result
= (wxPasswordEntryDialog
*)new wxPasswordEntryDialog(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
,arg5
,(wxPoint
const &)*arg6
);
18479 wxPyEndAllowThreads(__tstate
);
18480 if (PyErr_Occurred()) SWIG_fail
;
18482 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPasswordEntryDialog
, SWIG_POINTER_NEW
| 0 );
18513 SWIGINTERN PyObject
*PasswordEntryDialog_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18515 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
18516 SWIG_TypeNewClientData(SWIGTYPE_p_wxPasswordEntryDialog
, SWIG_NewClientData(obj
));
18517 return SWIG_Py_Void();
18520 SWIGINTERN PyObject
*PasswordEntryDialog_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18521 return SWIG_Python_InitShadowInstance(args
);
18524 SWIGINTERN PyObject
*_wrap_new_NumberEntryDialog(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18525 PyObject
*resultobj
= 0;
18526 wxWindow
*arg1
= (wxWindow
*) 0 ;
18527 wxString
*arg2
= 0 ;
18528 wxString
*arg3
= 0 ;
18529 wxString
*arg4
= 0 ;
18533 wxPoint
const &arg8_defvalue
= wxDefaultPosition
;
18534 wxPoint
*arg8
= (wxPoint
*) &arg8_defvalue
;
18535 wxNumberEntryDialog
*result
= 0 ;
18538 bool temp2
= false ;
18539 bool temp3
= false ;
18540 bool temp4
= false ;
18548 PyObject
* obj0
= 0 ;
18549 PyObject
* obj1
= 0 ;
18550 PyObject
* obj2
= 0 ;
18551 PyObject
* obj3
= 0 ;
18552 PyObject
* obj4
= 0 ;
18553 PyObject
* obj5
= 0 ;
18554 PyObject
* obj6
= 0 ;
18555 PyObject
* obj7
= 0 ;
18556 char * kwnames
[] = {
18557 (char *) "parent",(char *) "message",(char *) "prompt",(char *) "caption",(char *) "value",(char *) "min",(char *) "max",(char *) "pos", NULL
18560 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOOO|O:new_NumberEntryDialog",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
18561 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
18562 if (!SWIG_IsOK(res1
)) {
18563 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_NumberEntryDialog" "', expected argument " "1"" of type '" "wxWindow *""'");
18565 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
18567 arg2
= wxString_in_helper(obj1
);
18568 if (arg2
== NULL
) SWIG_fail
;
18572 arg3
= wxString_in_helper(obj2
);
18573 if (arg3
== NULL
) SWIG_fail
;
18577 arg4
= wxString_in_helper(obj3
);
18578 if (arg4
== NULL
) SWIG_fail
;
18581 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
18582 if (!SWIG_IsOK(ecode5
)) {
18583 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_NumberEntryDialog" "', expected argument " "5"" of type '" "long""'");
18585 arg5
= static_cast< long >(val5
);
18586 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
18587 if (!SWIG_IsOK(ecode6
)) {
18588 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_NumberEntryDialog" "', expected argument " "6"" of type '" "long""'");
18590 arg6
= static_cast< long >(val6
);
18591 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
18592 if (!SWIG_IsOK(ecode7
)) {
18593 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "new_NumberEntryDialog" "', expected argument " "7"" of type '" "long""'");
18595 arg7
= static_cast< long >(val7
);
18599 if ( ! wxPoint_helper(obj7
, &arg8
)) SWIG_fail
;
18603 if (!wxPyCheckForApp()) SWIG_fail
;
18604 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18605 result
= (wxNumberEntryDialog
*)new wxNumberEntryDialog(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
,arg5
,arg6
,arg7
,(wxPoint
const &)*arg8
);
18606 wxPyEndAllowThreads(__tstate
);
18607 if (PyErr_Occurred()) SWIG_fail
;
18609 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxNumberEntryDialog
, SWIG_POINTER_NEW
| 0 );
18640 SWIGINTERN PyObject
*_wrap_NumberEntryDialog_GetValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18641 PyObject
*resultobj
= 0;
18642 wxNumberEntryDialog
*arg1
= (wxNumberEntryDialog
*) 0 ;
18646 PyObject
*swig_obj
[1] ;
18648 if (!args
) SWIG_fail
;
18649 swig_obj
[0] = args
;
18650 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNumberEntryDialog
, 0 | 0 );
18651 if (!SWIG_IsOK(res1
)) {
18652 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NumberEntryDialog_GetValue" "', expected argument " "1"" of type '" "wxNumberEntryDialog *""'");
18654 arg1
= reinterpret_cast< wxNumberEntryDialog
* >(argp1
);
18656 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18657 result
= (long)(arg1
)->GetValue();
18658 wxPyEndAllowThreads(__tstate
);
18659 if (PyErr_Occurred()) SWIG_fail
;
18661 resultobj
= SWIG_From_long(static_cast< long >(result
));
18668 SWIGINTERN PyObject
*NumberEntryDialog_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18670 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
18671 SWIG_TypeNewClientData(SWIGTYPE_p_wxNumberEntryDialog
, SWIG_NewClientData(obj
));
18672 return SWIG_Py_Void();
18675 SWIGINTERN PyObject
*NumberEntryDialog_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18676 return SWIG_Python_InitShadowInstance(args
);
18679 SWIGINTERN PyObject
*_wrap_new_FontData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18680 PyObject
*resultobj
= 0;
18681 wxFontData
*result
= 0 ;
18683 if (!SWIG_Python_UnpackTuple(args
,"new_FontData",0,0,0)) SWIG_fail
;
18685 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18686 result
= (wxFontData
*)new wxFontData();
18687 wxPyEndAllowThreads(__tstate
);
18688 if (PyErr_Occurred()) SWIG_fail
;
18690 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFontData
, SWIG_POINTER_NEW
| 0 );
18697 SWIGINTERN PyObject
*_wrap_delete_FontData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18698 PyObject
*resultobj
= 0;
18699 wxFontData
*arg1
= (wxFontData
*) 0 ;
18702 PyObject
*swig_obj
[1] ;
18704 if (!args
) SWIG_fail
;
18705 swig_obj
[0] = args
;
18706 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFontData
, SWIG_POINTER_DISOWN
| 0 );
18707 if (!SWIG_IsOK(res1
)) {
18708 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_FontData" "', expected argument " "1"" of type '" "wxFontData *""'");
18710 arg1
= reinterpret_cast< wxFontData
* >(argp1
);
18712 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18715 wxPyEndAllowThreads(__tstate
);
18716 if (PyErr_Occurred()) SWIG_fail
;
18718 resultobj
= SWIG_Py_Void();
18725 SWIGINTERN PyObject
*_wrap_FontData_EnableEffects(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18726 PyObject
*resultobj
= 0;
18727 wxFontData
*arg1
= (wxFontData
*) 0 ;
18733 PyObject
* obj0
= 0 ;
18734 PyObject
* obj1
= 0 ;
18735 char * kwnames
[] = {
18736 (char *) "self",(char *) "enable", NULL
18739 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontData_EnableEffects",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
18740 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFontData
, 0 | 0 );
18741 if (!SWIG_IsOK(res1
)) {
18742 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontData_EnableEffects" "', expected argument " "1"" of type '" "wxFontData *""'");
18744 arg1
= reinterpret_cast< wxFontData
* >(argp1
);
18745 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
18746 if (!SWIG_IsOK(ecode2
)) {
18747 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "FontData_EnableEffects" "', expected argument " "2"" of type '" "bool""'");
18749 arg2
= static_cast< bool >(val2
);
18751 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18752 (arg1
)->EnableEffects(arg2
);
18753 wxPyEndAllowThreads(__tstate
);
18754 if (PyErr_Occurred()) SWIG_fail
;
18756 resultobj
= SWIG_Py_Void();
18763 SWIGINTERN PyObject
*_wrap_FontData_GetAllowSymbols(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18764 PyObject
*resultobj
= 0;
18765 wxFontData
*arg1
= (wxFontData
*) 0 ;
18769 PyObject
*swig_obj
[1] ;
18771 if (!args
) SWIG_fail
;
18772 swig_obj
[0] = args
;
18773 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFontData
, 0 | 0 );
18774 if (!SWIG_IsOK(res1
)) {
18775 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontData_GetAllowSymbols" "', expected argument " "1"" of type '" "wxFontData *""'");
18777 arg1
= reinterpret_cast< wxFontData
* >(argp1
);
18779 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18780 result
= (bool)(arg1
)->GetAllowSymbols();
18781 wxPyEndAllowThreads(__tstate
);
18782 if (PyErr_Occurred()) SWIG_fail
;
18785 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18793 SWIGINTERN PyObject
*_wrap_FontData_GetColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18794 PyObject
*resultobj
= 0;
18795 wxFontData
*arg1
= (wxFontData
*) 0 ;
18799 PyObject
*swig_obj
[1] ;
18801 if (!args
) SWIG_fail
;
18802 swig_obj
[0] = args
;
18803 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFontData
, 0 | 0 );
18804 if (!SWIG_IsOK(res1
)) {
18805 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontData_GetColour" "', expected argument " "1"" of type '" "wxFontData *""'");
18807 arg1
= reinterpret_cast< wxFontData
* >(argp1
);
18809 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18810 result
= (arg1
)->GetColour();
18811 wxPyEndAllowThreads(__tstate
);
18812 if (PyErr_Occurred()) SWIG_fail
;
18814 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
18821 SWIGINTERN PyObject
*_wrap_FontData_GetChosenFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18822 PyObject
*resultobj
= 0;
18823 wxFontData
*arg1
= (wxFontData
*) 0 ;
18827 PyObject
*swig_obj
[1] ;
18829 if (!args
) SWIG_fail
;
18830 swig_obj
[0] = args
;
18831 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFontData
, 0 | 0 );
18832 if (!SWIG_IsOK(res1
)) {
18833 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontData_GetChosenFont" "', expected argument " "1"" of type '" "wxFontData *""'");
18835 arg1
= reinterpret_cast< wxFontData
* >(argp1
);
18837 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18838 result
= (arg1
)->GetChosenFont();
18839 wxPyEndAllowThreads(__tstate
);
18840 if (PyErr_Occurred()) SWIG_fail
;
18842 resultobj
= SWIG_NewPointerObj((new wxFont(static_cast< const wxFont
& >(result
))), SWIGTYPE_p_wxFont
, SWIG_POINTER_OWN
| 0 );
18849 SWIGINTERN PyObject
*_wrap_FontData_GetEnableEffects(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18850 PyObject
*resultobj
= 0;
18851 wxFontData
*arg1
= (wxFontData
*) 0 ;
18855 PyObject
*swig_obj
[1] ;
18857 if (!args
) SWIG_fail
;
18858 swig_obj
[0] = args
;
18859 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFontData
, 0 | 0 );
18860 if (!SWIG_IsOK(res1
)) {
18861 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontData_GetEnableEffects" "', expected argument " "1"" of type '" "wxFontData *""'");
18863 arg1
= reinterpret_cast< wxFontData
* >(argp1
);
18865 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18866 result
= (bool)(arg1
)->GetEnableEffects();
18867 wxPyEndAllowThreads(__tstate
);
18868 if (PyErr_Occurred()) SWIG_fail
;
18871 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18879 SWIGINTERN PyObject
*_wrap_FontData_GetInitialFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18880 PyObject
*resultobj
= 0;
18881 wxFontData
*arg1
= (wxFontData
*) 0 ;
18885 PyObject
*swig_obj
[1] ;
18887 if (!args
) SWIG_fail
;
18888 swig_obj
[0] = args
;
18889 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFontData
, 0 | 0 );
18890 if (!SWIG_IsOK(res1
)) {
18891 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontData_GetInitialFont" "', expected argument " "1"" of type '" "wxFontData *""'");
18893 arg1
= reinterpret_cast< wxFontData
* >(argp1
);
18895 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18896 result
= (arg1
)->GetInitialFont();
18897 wxPyEndAllowThreads(__tstate
);
18898 if (PyErr_Occurred()) SWIG_fail
;
18900 resultobj
= SWIG_NewPointerObj((new wxFont(static_cast< const wxFont
& >(result
))), SWIGTYPE_p_wxFont
, SWIG_POINTER_OWN
| 0 );
18907 SWIGINTERN PyObject
*_wrap_FontData_GetShowHelp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18908 PyObject
*resultobj
= 0;
18909 wxFontData
*arg1
= (wxFontData
*) 0 ;
18913 PyObject
*swig_obj
[1] ;
18915 if (!args
) SWIG_fail
;
18916 swig_obj
[0] = args
;
18917 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFontData
, 0 | 0 );
18918 if (!SWIG_IsOK(res1
)) {
18919 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontData_GetShowHelp" "', expected argument " "1"" of type '" "wxFontData *""'");
18921 arg1
= reinterpret_cast< wxFontData
* >(argp1
);
18923 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18924 result
= (bool)(arg1
)->GetShowHelp();
18925 wxPyEndAllowThreads(__tstate
);
18926 if (PyErr_Occurred()) SWIG_fail
;
18929 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18937 SWIGINTERN PyObject
*_wrap_FontData_SetAllowSymbols(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18938 PyObject
*resultobj
= 0;
18939 wxFontData
*arg1
= (wxFontData
*) 0 ;
18945 PyObject
* obj0
= 0 ;
18946 PyObject
* obj1
= 0 ;
18947 char * kwnames
[] = {
18948 (char *) "self",(char *) "allowSymbols", NULL
18951 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontData_SetAllowSymbols",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
18952 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFontData
, 0 | 0 );
18953 if (!SWIG_IsOK(res1
)) {
18954 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontData_SetAllowSymbols" "', expected argument " "1"" of type '" "wxFontData *""'");
18956 arg1
= reinterpret_cast< wxFontData
* >(argp1
);
18957 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
18958 if (!SWIG_IsOK(ecode2
)) {
18959 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "FontData_SetAllowSymbols" "', expected argument " "2"" of type '" "bool""'");
18961 arg2
= static_cast< bool >(val2
);
18963 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18964 (arg1
)->SetAllowSymbols(arg2
);
18965 wxPyEndAllowThreads(__tstate
);
18966 if (PyErr_Occurred()) SWIG_fail
;
18968 resultobj
= SWIG_Py_Void();
18975 SWIGINTERN PyObject
*_wrap_FontData_SetChosenFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18976 PyObject
*resultobj
= 0;
18977 wxFontData
*arg1
= (wxFontData
*) 0 ;
18983 PyObject
* obj0
= 0 ;
18984 PyObject
* obj1
= 0 ;
18985 char * kwnames
[] = {
18986 (char *) "self",(char *) "font", NULL
18989 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontData_SetChosenFont",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
18990 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFontData
, 0 | 0 );
18991 if (!SWIG_IsOK(res1
)) {
18992 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontData_SetChosenFont" "', expected argument " "1"" of type '" "wxFontData *""'");
18994 arg1
= reinterpret_cast< wxFontData
* >(argp1
);
18995 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxFont
, 0 | 0);
18996 if (!SWIG_IsOK(res2
)) {
18997 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "FontData_SetChosenFont" "', expected argument " "2"" of type '" "wxFont const &""'");
19000 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "FontData_SetChosenFont" "', expected argument " "2"" of type '" "wxFont const &""'");
19002 arg2
= reinterpret_cast< wxFont
* >(argp2
);
19004 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19005 (arg1
)->SetChosenFont((wxFont
const &)*arg2
);
19006 wxPyEndAllowThreads(__tstate
);
19007 if (PyErr_Occurred()) SWIG_fail
;
19009 resultobj
= SWIG_Py_Void();
19016 SWIGINTERN PyObject
*_wrap_FontData_SetColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19017 PyObject
*resultobj
= 0;
19018 wxFontData
*arg1
= (wxFontData
*) 0 ;
19019 wxColour
*arg2
= 0 ;
19023 PyObject
* obj0
= 0 ;
19024 PyObject
* obj1
= 0 ;
19025 char * kwnames
[] = {
19026 (char *) "self",(char *) "colour", NULL
19029 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontData_SetColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19030 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFontData
, 0 | 0 );
19031 if (!SWIG_IsOK(res1
)) {
19032 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontData_SetColour" "', expected argument " "1"" of type '" "wxFontData *""'");
19034 arg1
= reinterpret_cast< wxFontData
* >(argp1
);
19037 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
19040 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19041 (arg1
)->SetColour((wxColour
const &)*arg2
);
19042 wxPyEndAllowThreads(__tstate
);
19043 if (PyErr_Occurred()) SWIG_fail
;
19045 resultobj
= SWIG_Py_Void();
19052 SWIGINTERN PyObject
*_wrap_FontData_SetInitialFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19053 PyObject
*resultobj
= 0;
19054 wxFontData
*arg1
= (wxFontData
*) 0 ;
19060 PyObject
* obj0
= 0 ;
19061 PyObject
* obj1
= 0 ;
19062 char * kwnames
[] = {
19063 (char *) "self",(char *) "font", NULL
19066 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontData_SetInitialFont",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19067 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFontData
, 0 | 0 );
19068 if (!SWIG_IsOK(res1
)) {
19069 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontData_SetInitialFont" "', expected argument " "1"" of type '" "wxFontData *""'");
19071 arg1
= reinterpret_cast< wxFontData
* >(argp1
);
19072 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxFont
, 0 | 0);
19073 if (!SWIG_IsOK(res2
)) {
19074 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "FontData_SetInitialFont" "', expected argument " "2"" of type '" "wxFont const &""'");
19077 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "FontData_SetInitialFont" "', expected argument " "2"" of type '" "wxFont const &""'");
19079 arg2
= reinterpret_cast< wxFont
* >(argp2
);
19081 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19082 (arg1
)->SetInitialFont((wxFont
const &)*arg2
);
19083 wxPyEndAllowThreads(__tstate
);
19084 if (PyErr_Occurred()) SWIG_fail
;
19086 resultobj
= SWIG_Py_Void();
19093 SWIGINTERN PyObject
*_wrap_FontData_SetRange(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19094 PyObject
*resultobj
= 0;
19095 wxFontData
*arg1
= (wxFontData
*) 0 ;
19104 PyObject
* obj0
= 0 ;
19105 PyObject
* obj1
= 0 ;
19106 PyObject
* obj2
= 0 ;
19107 char * kwnames
[] = {
19108 (char *) "self",(char *) "min",(char *) "max", NULL
19111 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:FontData_SetRange",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
19112 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFontData
, 0 | 0 );
19113 if (!SWIG_IsOK(res1
)) {
19114 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontData_SetRange" "', expected argument " "1"" of type '" "wxFontData *""'");
19116 arg1
= reinterpret_cast< wxFontData
* >(argp1
);
19117 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
19118 if (!SWIG_IsOK(ecode2
)) {
19119 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "FontData_SetRange" "', expected argument " "2"" of type '" "int""'");
19121 arg2
= static_cast< int >(val2
);
19122 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
19123 if (!SWIG_IsOK(ecode3
)) {
19124 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "FontData_SetRange" "', expected argument " "3"" of type '" "int""'");
19126 arg3
= static_cast< int >(val3
);
19128 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19129 (arg1
)->SetRange(arg2
,arg3
);
19130 wxPyEndAllowThreads(__tstate
);
19131 if (PyErr_Occurred()) SWIG_fail
;
19133 resultobj
= SWIG_Py_Void();
19140 SWIGINTERN PyObject
*_wrap_FontData_SetShowHelp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19141 PyObject
*resultobj
= 0;
19142 wxFontData
*arg1
= (wxFontData
*) 0 ;
19148 PyObject
* obj0
= 0 ;
19149 PyObject
* obj1
= 0 ;
19150 char * kwnames
[] = {
19151 (char *) "self",(char *) "showHelp", NULL
19154 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontData_SetShowHelp",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19155 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFontData
, 0 | 0 );
19156 if (!SWIG_IsOK(res1
)) {
19157 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontData_SetShowHelp" "', expected argument " "1"" of type '" "wxFontData *""'");
19159 arg1
= reinterpret_cast< wxFontData
* >(argp1
);
19160 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
19161 if (!SWIG_IsOK(ecode2
)) {
19162 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "FontData_SetShowHelp" "', expected argument " "2"" of type '" "bool""'");
19164 arg2
= static_cast< bool >(val2
);
19166 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19167 (arg1
)->SetShowHelp(arg2
);
19168 wxPyEndAllowThreads(__tstate
);
19169 if (PyErr_Occurred()) SWIG_fail
;
19171 resultobj
= SWIG_Py_Void();
19178 SWIGINTERN PyObject
*FontData_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19180 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
19181 SWIG_TypeNewClientData(SWIGTYPE_p_wxFontData
, SWIG_NewClientData(obj
));
19182 return SWIG_Py_Void();
19185 SWIGINTERN PyObject
*FontData_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19186 return SWIG_Python_InitShadowInstance(args
);
19189 SWIGINTERN PyObject
*_wrap_new_FontDialog(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19190 PyObject
*resultobj
= 0;
19191 wxWindow
*arg1
= (wxWindow
*) 0 ;
19192 wxFontData
*arg2
= 0 ;
19193 wxFontDialog
*result
= 0 ;
19198 PyObject
* obj0
= 0 ;
19199 PyObject
* obj1
= 0 ;
19200 char * kwnames
[] = {
19201 (char *) "parent",(char *) "data", NULL
19204 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_FontDialog",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19205 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
19206 if (!SWIG_IsOK(res1
)) {
19207 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_FontDialog" "', expected argument " "1"" of type '" "wxWindow *""'");
19209 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
19210 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxFontData
, 0 | 0);
19211 if (!SWIG_IsOK(res2
)) {
19212 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_FontDialog" "', expected argument " "2"" of type '" "wxFontData const &""'");
19215 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_FontDialog" "', expected argument " "2"" of type '" "wxFontData const &""'");
19217 arg2
= reinterpret_cast< wxFontData
* >(argp2
);
19219 if (!wxPyCheckForApp()) SWIG_fail
;
19220 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19221 result
= (wxFontDialog
*)new wxFontDialog(arg1
,(wxFontData
const &)*arg2
);
19222 wxPyEndAllowThreads(__tstate
);
19223 if (PyErr_Occurred()) SWIG_fail
;
19225 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFontDialog
, SWIG_POINTER_NEW
| 0 );
19232 SWIGINTERN PyObject
*_wrap_FontDialog_GetFontData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19233 PyObject
*resultobj
= 0;
19234 wxFontDialog
*arg1
= (wxFontDialog
*) 0 ;
19235 wxFontData
*result
= 0 ;
19238 PyObject
*swig_obj
[1] ;
19240 if (!args
) SWIG_fail
;
19241 swig_obj
[0] = args
;
19242 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFontDialog
, 0 | 0 );
19243 if (!SWIG_IsOK(res1
)) {
19244 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontDialog_GetFontData" "', expected argument " "1"" of type '" "wxFontDialog *""'");
19246 arg1
= reinterpret_cast< wxFontDialog
* >(argp1
);
19248 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19250 wxFontData
&_result_ref
= (arg1
)->GetFontData();
19251 result
= (wxFontData
*) &_result_ref
;
19253 wxPyEndAllowThreads(__tstate
);
19254 if (PyErr_Occurred()) SWIG_fail
;
19256 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFontData
, 0 | 0 );
19263 SWIGINTERN PyObject
*FontDialog_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19265 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
19266 SWIG_TypeNewClientData(SWIGTYPE_p_wxFontDialog
, SWIG_NewClientData(obj
));
19267 return SWIG_Py_Void();
19270 SWIGINTERN PyObject
*FontDialog_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19271 return SWIG_Python_InitShadowInstance(args
);
19274 SWIGINTERN PyObject
*_wrap_GetFontFromUser(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19275 PyObject
*resultobj
= 0;
19276 wxWindow
*arg1
= (wxWindow
*) NULL
;
19277 wxFont
const &arg2_defvalue
= wxNullFont
;
19278 wxFont
*arg2
= (wxFont
*) &arg2_defvalue
;
19279 wxString
const &arg3_defvalue
= wxPyEmptyString
;
19280 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
19286 bool temp3
= false ;
19287 PyObject
* obj0
= 0 ;
19288 PyObject
* obj1
= 0 ;
19289 PyObject
* obj2
= 0 ;
19290 char * kwnames
[] = {
19291 (char *) "parent",(char *) "fontInit",(char *) "caption", NULL
19294 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOO:GetFontFromUser",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
19296 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
19297 if (!SWIG_IsOK(res1
)) {
19298 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GetFontFromUser" "', expected argument " "1"" of type '" "wxWindow *""'");
19300 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
19303 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxFont
, 0 | 0);
19304 if (!SWIG_IsOK(res2
)) {
19305 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GetFontFromUser" "', expected argument " "2"" of type '" "wxFont const &""'");
19308 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GetFontFromUser" "', expected argument " "2"" of type '" "wxFont const &""'");
19310 arg2
= reinterpret_cast< wxFont
* >(argp2
);
19314 arg3
= wxString_in_helper(obj2
);
19315 if (arg3
== NULL
) SWIG_fail
;
19320 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19321 result
= wxGetFontFromUser(arg1
,(wxFont
const &)*arg2
,(wxString
const &)*arg3
);
19322 wxPyEndAllowThreads(__tstate
);
19323 if (PyErr_Occurred()) SWIG_fail
;
19325 resultobj
= SWIG_NewPointerObj((new wxFont(static_cast< const wxFont
& >(result
))), SWIGTYPE_p_wxFont
, SWIG_POINTER_OWN
| 0 );
19340 SWIGINTERN PyObject
*_wrap_new_MessageDialog(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19341 PyObject
*resultobj
= 0;
19342 wxWindow
*arg1
= (wxWindow
*) 0 ;
19343 wxString
*arg2
= 0 ;
19344 wxString
const &arg3_defvalue
= wxPyMessageBoxCaptionStr
;
19345 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
19346 long arg4
= (long) wxOK
|wxCANCEL
|wxCENTRE
;
19347 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
19348 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
19349 wxMessageDialog
*result
= 0 ;
19352 bool temp2
= false ;
19353 bool temp3
= false ;
19357 PyObject
* obj0
= 0 ;
19358 PyObject
* obj1
= 0 ;
19359 PyObject
* obj2
= 0 ;
19360 PyObject
* obj3
= 0 ;
19361 PyObject
* obj4
= 0 ;
19362 char * kwnames
[] = {
19363 (char *) "parent",(char *) "message",(char *) "caption",(char *) "style",(char *) "pos", NULL
19366 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOO:new_MessageDialog",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
19367 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
19368 if (!SWIG_IsOK(res1
)) {
19369 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_MessageDialog" "', expected argument " "1"" of type '" "wxWindow *""'");
19371 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
19373 arg2
= wxString_in_helper(obj1
);
19374 if (arg2
== NULL
) SWIG_fail
;
19379 arg3
= wxString_in_helper(obj2
);
19380 if (arg3
== NULL
) SWIG_fail
;
19385 ecode4
= SWIG_AsVal_long(obj3
, &val4
);
19386 if (!SWIG_IsOK(ecode4
)) {
19387 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_MessageDialog" "', expected argument " "4"" of type '" "long""'");
19389 arg4
= static_cast< long >(val4
);
19394 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
19398 if (!wxPyCheckForApp()) SWIG_fail
;
19399 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19400 result
= (wxMessageDialog
*)new wxMessageDialog(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,arg4
,(wxPoint
const &)*arg5
);
19401 wxPyEndAllowThreads(__tstate
);
19402 if (PyErr_Occurred()) SWIG_fail
;
19404 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMessageDialog
, SWIG_POINTER_NEW
| 0 );
19427 SWIGINTERN PyObject
*MessageDialog_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19429 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
19430 SWIG_TypeNewClientData(SWIGTYPE_p_wxMessageDialog
, SWIG_NewClientData(obj
));
19431 return SWIG_Py_Void();
19434 SWIGINTERN PyObject
*MessageDialog_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19435 return SWIG_Python_InitShadowInstance(args
);
19438 SWIGINTERN PyObject
*_wrap_new_ProgressDialog(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19439 PyObject
*resultobj
= 0;
19440 wxString
*arg1
= 0 ;
19441 wxString
*arg2
= 0 ;
19442 int arg3
= (int) 100 ;
19443 wxWindow
*arg4
= (wxWindow
*) NULL
;
19444 int arg5
= (int) wxPD_AUTO_HIDE
|wxPD_APP_MODAL
;
19445 wxProgressDialog
*result
= 0 ;
19446 bool temp1
= false ;
19447 bool temp2
= false ;
19454 PyObject
* obj0
= 0 ;
19455 PyObject
* obj1
= 0 ;
19456 PyObject
* obj2
= 0 ;
19457 PyObject
* obj3
= 0 ;
19458 PyObject
* obj4
= 0 ;
19459 char * kwnames
[] = {
19460 (char *) "title",(char *) "message",(char *) "maximum",(char *) "parent",(char *) "style", NULL
19463 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOO:new_ProgressDialog",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
19465 arg1
= wxString_in_helper(obj0
);
19466 if (arg1
== NULL
) SWIG_fail
;
19470 arg2
= wxString_in_helper(obj1
);
19471 if (arg2
== NULL
) SWIG_fail
;
19475 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
19476 if (!SWIG_IsOK(ecode3
)) {
19477 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_ProgressDialog" "', expected argument " "3"" of type '" "int""'");
19479 arg3
= static_cast< int >(val3
);
19482 res4
= SWIG_ConvertPtr(obj3
, &argp4
,SWIGTYPE_p_wxWindow
, 0 | 0 );
19483 if (!SWIG_IsOK(res4
)) {
19484 SWIG_exception_fail(SWIG_ArgError(res4
), "in method '" "new_ProgressDialog" "', expected argument " "4"" of type '" "wxWindow *""'");
19486 arg4
= reinterpret_cast< wxWindow
* >(argp4
);
19489 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
19490 if (!SWIG_IsOK(ecode5
)) {
19491 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_ProgressDialog" "', expected argument " "5"" of type '" "int""'");
19493 arg5
= static_cast< int >(val5
);
19496 if (!wxPyCheckForApp()) SWIG_fail
;
19497 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19498 result
= (wxProgressDialog
*)new wxProgressDialog((wxString
const &)*arg1
,(wxString
const &)*arg2
,arg3
,arg4
,arg5
);
19499 wxPyEndAllowThreads(__tstate
);
19500 if (PyErr_Occurred()) SWIG_fail
;
19502 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxProgressDialog
, SWIG_POINTER_NEW
| 0 );
19525 SWIGINTERN PyObject
*_wrap_ProgressDialog_Update(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19526 PyObject
*resultobj
= 0;
19527 wxProgressDialog
*arg1
= (wxProgressDialog
*) 0 ;
19529 wxString
const &arg3_defvalue
= wxPyEmptyString
;
19530 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
19531 bool *arg4
= (bool *) 0 ;
19537 bool temp3
= false ;
19539 int res4
= SWIG_TMPOBJ
;
19540 PyObject
* obj0
= 0 ;
19541 PyObject
* obj1
= 0 ;
19542 PyObject
* obj2
= 0 ;
19543 char * kwnames
[] = {
19544 (char *) "self",(char *) "value",(char *) "newmsg", NULL
19548 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ProgressDialog_Update",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
19549 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxProgressDialog
, 0 | 0 );
19550 if (!SWIG_IsOK(res1
)) {
19551 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ProgressDialog_Update" "', expected argument " "1"" of type '" "wxProgressDialog *""'");
19553 arg1
= reinterpret_cast< wxProgressDialog
* >(argp1
);
19554 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
19555 if (!SWIG_IsOK(ecode2
)) {
19556 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ProgressDialog_Update" "', expected argument " "2"" of type '" "int""'");
19558 arg2
= static_cast< int >(val2
);
19561 arg3
= wxString_in_helper(obj2
);
19562 if (arg3
== NULL
) SWIG_fail
;
19567 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19568 result
= (bool)(arg1
)->Update(arg2
,(wxString
const &)*arg3
,arg4
);
19569 wxPyEndAllowThreads(__tstate
);
19570 if (PyErr_Occurred()) SWIG_fail
;
19573 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19575 if (SWIG_IsTmpObj(res4
)) {
19576 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_bool((*arg4
)));
19578 int new_flags
= SWIG_IsNewObj(res4
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
19579 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_bool
, new_flags
));
19595 SWIGINTERN PyObject
*_wrap_ProgressDialog_Pulse(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19596 PyObject
*resultobj
= 0;
19597 wxProgressDialog
*arg1
= (wxProgressDialog
*) 0 ;
19598 wxString
const &arg2_defvalue
= wxPyEmptyString
;
19599 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
19600 bool *arg3
= (bool *) 0 ;
19604 bool temp2
= false ;
19606 int res3
= SWIG_TMPOBJ
;
19607 PyObject
* obj0
= 0 ;
19608 PyObject
* obj1
= 0 ;
19609 char * kwnames
[] = {
19610 (char *) "self",(char *) "newmsg", NULL
19614 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:ProgressDialog_Pulse",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19615 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxProgressDialog
, 0 | 0 );
19616 if (!SWIG_IsOK(res1
)) {
19617 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ProgressDialog_Pulse" "', expected argument " "1"" of type '" "wxProgressDialog *""'");
19619 arg1
= reinterpret_cast< wxProgressDialog
* >(argp1
);
19622 arg2
= wxString_in_helper(obj1
);
19623 if (arg2
== NULL
) SWIG_fail
;
19628 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19629 result
= (bool)(arg1
)->Pulse((wxString
const &)*arg2
,arg3
);
19630 wxPyEndAllowThreads(__tstate
);
19631 if (PyErr_Occurred()) SWIG_fail
;
19634 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19636 if (SWIG_IsTmpObj(res3
)) {
19637 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_bool((*arg3
)));
19639 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
19640 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_bool
, new_flags
));
19656 SWIGINTERN PyObject
*_wrap_ProgressDialog_Resume(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19657 PyObject
*resultobj
= 0;
19658 wxProgressDialog
*arg1
= (wxProgressDialog
*) 0 ;
19661 PyObject
*swig_obj
[1] ;
19663 if (!args
) SWIG_fail
;
19664 swig_obj
[0] = args
;
19665 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxProgressDialog
, 0 | 0 );
19666 if (!SWIG_IsOK(res1
)) {
19667 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ProgressDialog_Resume" "', expected argument " "1"" of type '" "wxProgressDialog *""'");
19669 arg1
= reinterpret_cast< wxProgressDialog
* >(argp1
);
19671 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19673 wxPyEndAllowThreads(__tstate
);
19674 if (PyErr_Occurred()) SWIG_fail
;
19676 resultobj
= SWIG_Py_Void();
19683 SWIGINTERN PyObject
*ProgressDialog_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19685 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
19686 SWIG_TypeNewClientData(SWIGTYPE_p_wxProgressDialog
, SWIG_NewClientData(obj
));
19687 return SWIG_Py_Void();
19690 SWIGINTERN PyObject
*ProgressDialog_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19691 return SWIG_Python_InitShadowInstance(args
);
19694 SWIGINTERN PyObject
*_wrap_new_FindDialogEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19695 PyObject
*resultobj
= 0;
19696 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
19697 int arg2
= (int) 0 ;
19698 wxFindDialogEvent
*result
= 0 ;
19703 PyObject
* obj0
= 0 ;
19704 PyObject
* obj1
= 0 ;
19705 char * kwnames
[] = {
19706 (char *) "commandType",(char *) "id", NULL
19709 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_FindDialogEvent",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19711 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
19712 if (!SWIG_IsOK(ecode1
)) {
19713 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_FindDialogEvent" "', expected argument " "1"" of type '" "wxEventType""'");
19715 arg1
= static_cast< wxEventType
>(val1
);
19718 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
19719 if (!SWIG_IsOK(ecode2
)) {
19720 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_FindDialogEvent" "', expected argument " "2"" of type '" "int""'");
19722 arg2
= static_cast< int >(val2
);
19725 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19726 result
= (wxFindDialogEvent
*)new wxFindDialogEvent(arg1
,arg2
);
19727 wxPyEndAllowThreads(__tstate
);
19728 if (PyErr_Occurred()) SWIG_fail
;
19730 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFindDialogEvent
, SWIG_POINTER_NEW
| 0 );
19737 SWIGINTERN PyObject
*_wrap_FindDialogEvent_GetFlags(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19738 PyObject
*resultobj
= 0;
19739 wxFindDialogEvent
*arg1
= (wxFindDialogEvent
*) 0 ;
19743 PyObject
*swig_obj
[1] ;
19745 if (!args
) SWIG_fail
;
19746 swig_obj
[0] = args
;
19747 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFindDialogEvent
, 0 | 0 );
19748 if (!SWIG_IsOK(res1
)) {
19749 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FindDialogEvent_GetFlags" "', expected argument " "1"" of type '" "wxFindDialogEvent *""'");
19751 arg1
= reinterpret_cast< wxFindDialogEvent
* >(argp1
);
19753 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19754 result
= (int)(arg1
)->GetFlags();
19755 wxPyEndAllowThreads(__tstate
);
19756 if (PyErr_Occurred()) SWIG_fail
;
19758 resultobj
= SWIG_From_int(static_cast< int >(result
));
19765 SWIGINTERN PyObject
*_wrap_FindDialogEvent_GetFindString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19766 PyObject
*resultobj
= 0;
19767 wxFindDialogEvent
*arg1
= (wxFindDialogEvent
*) 0 ;
19768 wxString
*result
= 0 ;
19771 PyObject
*swig_obj
[1] ;
19773 if (!args
) SWIG_fail
;
19774 swig_obj
[0] = args
;
19775 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFindDialogEvent
, 0 | 0 );
19776 if (!SWIG_IsOK(res1
)) {
19777 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FindDialogEvent_GetFindString" "', expected argument " "1"" of type '" "wxFindDialogEvent *""'");
19779 arg1
= reinterpret_cast< wxFindDialogEvent
* >(argp1
);
19781 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19783 wxString
const &_result_ref
= (arg1
)->GetFindString();
19784 result
= (wxString
*) &_result_ref
;
19786 wxPyEndAllowThreads(__tstate
);
19787 if (PyErr_Occurred()) SWIG_fail
;
19791 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
19793 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
19802 SWIGINTERN PyObject
*_wrap_FindDialogEvent_GetReplaceString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19803 PyObject
*resultobj
= 0;
19804 wxFindDialogEvent
*arg1
= (wxFindDialogEvent
*) 0 ;
19805 wxString
*result
= 0 ;
19808 PyObject
*swig_obj
[1] ;
19810 if (!args
) SWIG_fail
;
19811 swig_obj
[0] = args
;
19812 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFindDialogEvent
, 0 | 0 );
19813 if (!SWIG_IsOK(res1
)) {
19814 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FindDialogEvent_GetReplaceString" "', expected argument " "1"" of type '" "wxFindDialogEvent *""'");
19816 arg1
= reinterpret_cast< wxFindDialogEvent
* >(argp1
);
19818 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19820 wxString
const &_result_ref
= (arg1
)->GetReplaceString();
19821 result
= (wxString
*) &_result_ref
;
19823 wxPyEndAllowThreads(__tstate
);
19824 if (PyErr_Occurred()) SWIG_fail
;
19828 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
19830 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
19839 SWIGINTERN PyObject
*_wrap_FindDialogEvent_GetDialog(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19840 PyObject
*resultobj
= 0;
19841 wxFindDialogEvent
*arg1
= (wxFindDialogEvent
*) 0 ;
19842 wxFindReplaceDialog
*result
= 0 ;
19845 PyObject
*swig_obj
[1] ;
19847 if (!args
) SWIG_fail
;
19848 swig_obj
[0] = args
;
19849 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFindDialogEvent
, 0 | 0 );
19850 if (!SWIG_IsOK(res1
)) {
19851 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FindDialogEvent_GetDialog" "', expected argument " "1"" of type '" "wxFindDialogEvent *""'");
19853 arg1
= reinterpret_cast< wxFindDialogEvent
* >(argp1
);
19855 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19856 result
= (wxFindReplaceDialog
*)(arg1
)->GetDialog();
19857 wxPyEndAllowThreads(__tstate
);
19858 if (PyErr_Occurred()) SWIG_fail
;
19860 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFindReplaceDialog
, 0 | 0 );
19867 SWIGINTERN PyObject
*_wrap_FindDialogEvent_SetFlags(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19868 PyObject
*resultobj
= 0;
19869 wxFindDialogEvent
*arg1
= (wxFindDialogEvent
*) 0 ;
19875 PyObject
* obj0
= 0 ;
19876 PyObject
* obj1
= 0 ;
19877 char * kwnames
[] = {
19878 (char *) "self",(char *) "flags", NULL
19881 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FindDialogEvent_SetFlags",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19882 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFindDialogEvent
, 0 | 0 );
19883 if (!SWIG_IsOK(res1
)) {
19884 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FindDialogEvent_SetFlags" "', expected argument " "1"" of type '" "wxFindDialogEvent *""'");
19886 arg1
= reinterpret_cast< wxFindDialogEvent
* >(argp1
);
19887 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
19888 if (!SWIG_IsOK(ecode2
)) {
19889 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "FindDialogEvent_SetFlags" "', expected argument " "2"" of type '" "int""'");
19891 arg2
= static_cast< int >(val2
);
19893 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19894 (arg1
)->SetFlags(arg2
);
19895 wxPyEndAllowThreads(__tstate
);
19896 if (PyErr_Occurred()) SWIG_fail
;
19898 resultobj
= SWIG_Py_Void();
19905 SWIGINTERN PyObject
*_wrap_FindDialogEvent_SetFindString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19906 PyObject
*resultobj
= 0;
19907 wxFindDialogEvent
*arg1
= (wxFindDialogEvent
*) 0 ;
19908 wxString
*arg2
= 0 ;
19911 bool temp2
= false ;
19912 PyObject
* obj0
= 0 ;
19913 PyObject
* obj1
= 0 ;
19914 char * kwnames
[] = {
19915 (char *) "self",(char *) "str", NULL
19918 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FindDialogEvent_SetFindString",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19919 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFindDialogEvent
, 0 | 0 );
19920 if (!SWIG_IsOK(res1
)) {
19921 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FindDialogEvent_SetFindString" "', expected argument " "1"" of type '" "wxFindDialogEvent *""'");
19923 arg1
= reinterpret_cast< wxFindDialogEvent
* >(argp1
);
19925 arg2
= wxString_in_helper(obj1
);
19926 if (arg2
== NULL
) SWIG_fail
;
19930 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19931 (arg1
)->SetFindString((wxString
const &)*arg2
);
19932 wxPyEndAllowThreads(__tstate
);
19933 if (PyErr_Occurred()) SWIG_fail
;
19935 resultobj
= SWIG_Py_Void();
19950 SWIGINTERN PyObject
*_wrap_FindDialogEvent_SetReplaceString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19951 PyObject
*resultobj
= 0;
19952 wxFindDialogEvent
*arg1
= (wxFindDialogEvent
*) 0 ;
19953 wxString
*arg2
= 0 ;
19956 bool temp2
= false ;
19957 PyObject
* obj0
= 0 ;
19958 PyObject
* obj1
= 0 ;
19959 char * kwnames
[] = {
19960 (char *) "self",(char *) "str", NULL
19963 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FindDialogEvent_SetReplaceString",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19964 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFindDialogEvent
, 0 | 0 );
19965 if (!SWIG_IsOK(res1
)) {
19966 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FindDialogEvent_SetReplaceString" "', expected argument " "1"" of type '" "wxFindDialogEvent *""'");
19968 arg1
= reinterpret_cast< wxFindDialogEvent
* >(argp1
);
19970 arg2
= wxString_in_helper(obj1
);
19971 if (arg2
== NULL
) SWIG_fail
;
19975 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19976 (arg1
)->SetReplaceString((wxString
const &)*arg2
);
19977 wxPyEndAllowThreads(__tstate
);
19978 if (PyErr_Occurred()) SWIG_fail
;
19980 resultobj
= SWIG_Py_Void();
19995 SWIGINTERN PyObject
*FindDialogEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19997 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
19998 SWIG_TypeNewClientData(SWIGTYPE_p_wxFindDialogEvent
, SWIG_NewClientData(obj
));
19999 return SWIG_Py_Void();
20002 SWIGINTERN PyObject
*FindDialogEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20003 return SWIG_Python_InitShadowInstance(args
);
20006 SWIGINTERN PyObject
*_wrap_new_FindReplaceData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20007 PyObject
*resultobj
= 0;
20008 int arg1
= (int) 0 ;
20009 wxFindReplaceData
*result
= 0 ;
20012 PyObject
* obj0
= 0 ;
20013 char * kwnames
[] = {
20014 (char *) "flags", NULL
20017 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_FindReplaceData",kwnames
,&obj0
)) SWIG_fail
;
20019 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
20020 if (!SWIG_IsOK(ecode1
)) {
20021 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_FindReplaceData" "', expected argument " "1"" of type '" "int""'");
20023 arg1
= static_cast< int >(val1
);
20026 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20027 result
= (wxFindReplaceData
*)new wxFindReplaceData(arg1
);
20028 wxPyEndAllowThreads(__tstate
);
20029 if (PyErr_Occurred()) SWIG_fail
;
20031 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFindReplaceData
, SWIG_POINTER_NEW
| 0 );
20038 SWIGINTERN PyObject
*_wrap_delete_FindReplaceData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20039 PyObject
*resultobj
= 0;
20040 wxFindReplaceData
*arg1
= (wxFindReplaceData
*) 0 ;
20043 PyObject
*swig_obj
[1] ;
20045 if (!args
) SWIG_fail
;
20046 swig_obj
[0] = args
;
20047 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFindReplaceData
, SWIG_POINTER_DISOWN
| 0 );
20048 if (!SWIG_IsOK(res1
)) {
20049 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_FindReplaceData" "', expected argument " "1"" of type '" "wxFindReplaceData *""'");
20051 arg1
= reinterpret_cast< wxFindReplaceData
* >(argp1
);
20053 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20056 wxPyEndAllowThreads(__tstate
);
20057 if (PyErr_Occurred()) SWIG_fail
;
20059 resultobj
= SWIG_Py_Void();
20066 SWIGINTERN PyObject
*_wrap_FindReplaceData_GetFindString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20067 PyObject
*resultobj
= 0;
20068 wxFindReplaceData
*arg1
= (wxFindReplaceData
*) 0 ;
20069 wxString
*result
= 0 ;
20072 PyObject
*swig_obj
[1] ;
20074 if (!args
) SWIG_fail
;
20075 swig_obj
[0] = args
;
20076 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFindReplaceData
, 0 | 0 );
20077 if (!SWIG_IsOK(res1
)) {
20078 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FindReplaceData_GetFindString" "', expected argument " "1"" of type '" "wxFindReplaceData *""'");
20080 arg1
= reinterpret_cast< wxFindReplaceData
* >(argp1
);
20082 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20084 wxString
const &_result_ref
= (arg1
)->GetFindString();
20085 result
= (wxString
*) &_result_ref
;
20087 wxPyEndAllowThreads(__tstate
);
20088 if (PyErr_Occurred()) SWIG_fail
;
20092 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
20094 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
20103 SWIGINTERN PyObject
*_wrap_FindReplaceData_GetReplaceString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20104 PyObject
*resultobj
= 0;
20105 wxFindReplaceData
*arg1
= (wxFindReplaceData
*) 0 ;
20106 wxString
*result
= 0 ;
20109 PyObject
*swig_obj
[1] ;
20111 if (!args
) SWIG_fail
;
20112 swig_obj
[0] = args
;
20113 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFindReplaceData
, 0 | 0 );
20114 if (!SWIG_IsOK(res1
)) {
20115 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FindReplaceData_GetReplaceString" "', expected argument " "1"" of type '" "wxFindReplaceData *""'");
20117 arg1
= reinterpret_cast< wxFindReplaceData
* >(argp1
);
20119 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20121 wxString
const &_result_ref
= (arg1
)->GetReplaceString();
20122 result
= (wxString
*) &_result_ref
;
20124 wxPyEndAllowThreads(__tstate
);
20125 if (PyErr_Occurred()) SWIG_fail
;
20129 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
20131 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
20140 SWIGINTERN PyObject
*_wrap_FindReplaceData_GetFlags(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20141 PyObject
*resultobj
= 0;
20142 wxFindReplaceData
*arg1
= (wxFindReplaceData
*) 0 ;
20146 PyObject
*swig_obj
[1] ;
20148 if (!args
) SWIG_fail
;
20149 swig_obj
[0] = args
;
20150 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFindReplaceData
, 0 | 0 );
20151 if (!SWIG_IsOK(res1
)) {
20152 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FindReplaceData_GetFlags" "', expected argument " "1"" of type '" "wxFindReplaceData *""'");
20154 arg1
= reinterpret_cast< wxFindReplaceData
* >(argp1
);
20156 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20157 result
= (int)(arg1
)->GetFlags();
20158 wxPyEndAllowThreads(__tstate
);
20159 if (PyErr_Occurred()) SWIG_fail
;
20161 resultobj
= SWIG_From_int(static_cast< int >(result
));
20168 SWIGINTERN PyObject
*_wrap_FindReplaceData_SetFlags(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20169 PyObject
*resultobj
= 0;
20170 wxFindReplaceData
*arg1
= (wxFindReplaceData
*) 0 ;
20176 PyObject
* obj0
= 0 ;
20177 PyObject
* obj1
= 0 ;
20178 char * kwnames
[] = {
20179 (char *) "self",(char *) "flags", NULL
20182 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FindReplaceData_SetFlags",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20183 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFindReplaceData
, 0 | 0 );
20184 if (!SWIG_IsOK(res1
)) {
20185 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FindReplaceData_SetFlags" "', expected argument " "1"" of type '" "wxFindReplaceData *""'");
20187 arg1
= reinterpret_cast< wxFindReplaceData
* >(argp1
);
20188 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
20189 if (!SWIG_IsOK(ecode2
)) {
20190 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "FindReplaceData_SetFlags" "', expected argument " "2"" of type '" "int""'");
20192 arg2
= static_cast< int >(val2
);
20194 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20195 (arg1
)->SetFlags(arg2
);
20196 wxPyEndAllowThreads(__tstate
);
20197 if (PyErr_Occurred()) SWIG_fail
;
20199 resultobj
= SWIG_Py_Void();
20206 SWIGINTERN PyObject
*_wrap_FindReplaceData_SetFindString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20207 PyObject
*resultobj
= 0;
20208 wxFindReplaceData
*arg1
= (wxFindReplaceData
*) 0 ;
20209 wxString
*arg2
= 0 ;
20212 bool temp2
= false ;
20213 PyObject
* obj0
= 0 ;
20214 PyObject
* obj1
= 0 ;
20215 char * kwnames
[] = {
20216 (char *) "self",(char *) "str", NULL
20219 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FindReplaceData_SetFindString",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20220 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFindReplaceData
, 0 | 0 );
20221 if (!SWIG_IsOK(res1
)) {
20222 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FindReplaceData_SetFindString" "', expected argument " "1"" of type '" "wxFindReplaceData *""'");
20224 arg1
= reinterpret_cast< wxFindReplaceData
* >(argp1
);
20226 arg2
= wxString_in_helper(obj1
);
20227 if (arg2
== NULL
) SWIG_fail
;
20231 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20232 (arg1
)->SetFindString((wxString
const &)*arg2
);
20233 wxPyEndAllowThreads(__tstate
);
20234 if (PyErr_Occurred()) SWIG_fail
;
20236 resultobj
= SWIG_Py_Void();
20251 SWIGINTERN PyObject
*_wrap_FindReplaceData_SetReplaceString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20252 PyObject
*resultobj
= 0;
20253 wxFindReplaceData
*arg1
= (wxFindReplaceData
*) 0 ;
20254 wxString
*arg2
= 0 ;
20257 bool temp2
= false ;
20258 PyObject
* obj0
= 0 ;
20259 PyObject
* obj1
= 0 ;
20260 char * kwnames
[] = {
20261 (char *) "self",(char *) "str", NULL
20264 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FindReplaceData_SetReplaceString",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20265 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFindReplaceData
, 0 | 0 );
20266 if (!SWIG_IsOK(res1
)) {
20267 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FindReplaceData_SetReplaceString" "', expected argument " "1"" of type '" "wxFindReplaceData *""'");
20269 arg1
= reinterpret_cast< wxFindReplaceData
* >(argp1
);
20271 arg2
= wxString_in_helper(obj1
);
20272 if (arg2
== NULL
) SWIG_fail
;
20276 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20277 (arg1
)->SetReplaceString((wxString
const &)*arg2
);
20278 wxPyEndAllowThreads(__tstate
);
20279 if (PyErr_Occurred()) SWIG_fail
;
20281 resultobj
= SWIG_Py_Void();
20296 SWIGINTERN PyObject
*FindReplaceData_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20298 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
20299 SWIG_TypeNewClientData(SWIGTYPE_p_wxFindReplaceData
, SWIG_NewClientData(obj
));
20300 return SWIG_Py_Void();
20303 SWIGINTERN PyObject
*FindReplaceData_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20304 return SWIG_Python_InitShadowInstance(args
);
20307 SWIGINTERN PyObject
*_wrap_new_FindReplaceDialog(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20308 PyObject
*resultobj
= 0;
20309 wxWindow
*arg1
= (wxWindow
*) 0 ;
20310 wxFindReplaceData
*arg2
= (wxFindReplaceData
*) 0 ;
20311 wxString
*arg3
= 0 ;
20312 int arg4
= (int) 0 ;
20313 wxFindReplaceDialog
*result
= 0 ;
20318 bool temp3
= false ;
20321 PyObject
* obj0
= 0 ;
20322 PyObject
* obj1
= 0 ;
20323 PyObject
* obj2
= 0 ;
20324 PyObject
* obj3
= 0 ;
20325 char * kwnames
[] = {
20326 (char *) "parent",(char *) "data",(char *) "title",(char *) "style", NULL
20329 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:new_FindReplaceDialog",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
20330 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
20331 if (!SWIG_IsOK(res1
)) {
20332 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_FindReplaceDialog" "', expected argument " "1"" of type '" "wxWindow *""'");
20334 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
20335 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxFindReplaceData
, 0 | 0 );
20336 if (!SWIG_IsOK(res2
)) {
20337 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_FindReplaceDialog" "', expected argument " "2"" of type '" "wxFindReplaceData *""'");
20339 arg2
= reinterpret_cast< wxFindReplaceData
* >(argp2
);
20341 arg3
= wxString_in_helper(obj2
);
20342 if (arg3
== NULL
) SWIG_fail
;
20346 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
20347 if (!SWIG_IsOK(ecode4
)) {
20348 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_FindReplaceDialog" "', expected argument " "4"" of type '" "int""'");
20350 arg4
= static_cast< int >(val4
);
20353 if (!wxPyCheckForApp()) SWIG_fail
;
20354 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20355 result
= (wxFindReplaceDialog
*)new wxFindReplaceDialog(arg1
,arg2
,(wxString
const &)*arg3
,arg4
);
20356 wxPyEndAllowThreads(__tstate
);
20357 if (PyErr_Occurred()) SWIG_fail
;
20359 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFindReplaceDialog
, SWIG_POINTER_NEW
| 0 );
20374 SWIGINTERN PyObject
*_wrap_new_PreFindReplaceDialog(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20375 PyObject
*resultobj
= 0;
20376 wxFindReplaceDialog
*result
= 0 ;
20378 if (!SWIG_Python_UnpackTuple(args
,"new_PreFindReplaceDialog",0,0,0)) SWIG_fail
;
20380 if (!wxPyCheckForApp()) SWIG_fail
;
20381 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20382 result
= (wxFindReplaceDialog
*)new wxFindReplaceDialog();
20383 wxPyEndAllowThreads(__tstate
);
20384 if (PyErr_Occurred()) SWIG_fail
;
20386 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFindReplaceDialog
, SWIG_POINTER_OWN
| 0 );
20393 SWIGINTERN PyObject
*_wrap_FindReplaceDialog_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20394 PyObject
*resultobj
= 0;
20395 wxFindReplaceDialog
*arg1
= (wxFindReplaceDialog
*) 0 ;
20396 wxWindow
*arg2
= (wxWindow
*) 0 ;
20397 wxFindReplaceData
*arg3
= (wxFindReplaceData
*) 0 ;
20398 wxString
*arg4
= 0 ;
20399 int arg5
= (int) 0 ;
20407 bool temp4
= false ;
20410 PyObject
* obj0
= 0 ;
20411 PyObject
* obj1
= 0 ;
20412 PyObject
* obj2
= 0 ;
20413 PyObject
* obj3
= 0 ;
20414 PyObject
* obj4
= 0 ;
20415 char * kwnames
[] = {
20416 (char *) "self",(char *) "parent",(char *) "data",(char *) "title",(char *) "style", NULL
20419 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:FindReplaceDialog_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
20420 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFindReplaceDialog
, 0 | 0 );
20421 if (!SWIG_IsOK(res1
)) {
20422 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FindReplaceDialog_Create" "', expected argument " "1"" of type '" "wxFindReplaceDialog *""'");
20424 arg1
= reinterpret_cast< wxFindReplaceDialog
* >(argp1
);
20425 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
20426 if (!SWIG_IsOK(res2
)) {
20427 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "FindReplaceDialog_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
20429 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
20430 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxFindReplaceData
, 0 | 0 );
20431 if (!SWIG_IsOK(res3
)) {
20432 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "FindReplaceDialog_Create" "', expected argument " "3"" of type '" "wxFindReplaceData *""'");
20434 arg3
= reinterpret_cast< wxFindReplaceData
* >(argp3
);
20436 arg4
= wxString_in_helper(obj3
);
20437 if (arg4
== NULL
) SWIG_fail
;
20441 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
20442 if (!SWIG_IsOK(ecode5
)) {
20443 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "FindReplaceDialog_Create" "', expected argument " "5"" of type '" "int""'");
20445 arg5
= static_cast< int >(val5
);
20448 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20449 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,arg5
);
20450 wxPyEndAllowThreads(__tstate
);
20451 if (PyErr_Occurred()) SWIG_fail
;
20454 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20470 SWIGINTERN PyObject
*_wrap_FindReplaceDialog_GetData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20471 PyObject
*resultobj
= 0;
20472 wxFindReplaceDialog
*arg1
= (wxFindReplaceDialog
*) 0 ;
20473 wxFindReplaceData
*result
= 0 ;
20476 PyObject
*swig_obj
[1] ;
20478 if (!args
) SWIG_fail
;
20479 swig_obj
[0] = args
;
20480 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFindReplaceDialog
, 0 | 0 );
20481 if (!SWIG_IsOK(res1
)) {
20482 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FindReplaceDialog_GetData" "', expected argument " "1"" of type '" "wxFindReplaceDialog *""'");
20484 arg1
= reinterpret_cast< wxFindReplaceDialog
* >(argp1
);
20486 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20487 result
= (wxFindReplaceData
*)(arg1
)->GetData();
20488 wxPyEndAllowThreads(__tstate
);
20489 if (PyErr_Occurred()) SWIG_fail
;
20491 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFindReplaceData
, 0 | 0 );
20498 SWIGINTERN PyObject
*_wrap_FindReplaceDialog_SetData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20499 PyObject
*resultobj
= 0;
20500 wxFindReplaceDialog
*arg1
= (wxFindReplaceDialog
*) 0 ;
20501 wxFindReplaceData
*arg2
= (wxFindReplaceData
*) 0 ;
20506 PyObject
* obj0
= 0 ;
20507 PyObject
* obj1
= 0 ;
20508 char * kwnames
[] = {
20509 (char *) "self",(char *) "data", NULL
20512 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FindReplaceDialog_SetData",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20513 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFindReplaceDialog
, 0 | 0 );
20514 if (!SWIG_IsOK(res1
)) {
20515 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FindReplaceDialog_SetData" "', expected argument " "1"" of type '" "wxFindReplaceDialog *""'");
20517 arg1
= reinterpret_cast< wxFindReplaceDialog
* >(argp1
);
20518 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxFindReplaceData
, 0 | 0 );
20519 if (!SWIG_IsOK(res2
)) {
20520 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "FindReplaceDialog_SetData" "', expected argument " "2"" of type '" "wxFindReplaceData *""'");
20522 arg2
= reinterpret_cast< wxFindReplaceData
* >(argp2
);
20524 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20525 (arg1
)->SetData(arg2
);
20526 wxPyEndAllowThreads(__tstate
);
20527 if (PyErr_Occurred()) SWIG_fail
;
20529 resultobj
= SWIG_Py_Void();
20536 SWIGINTERN PyObject
*FindReplaceDialog_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20538 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
20539 SWIG_TypeNewClientData(SWIGTYPE_p_wxFindReplaceDialog
, SWIG_NewClientData(obj
));
20540 return SWIG_Py_Void();
20543 SWIGINTERN PyObject
*FindReplaceDialog_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20544 return SWIG_Python_InitShadowInstance(args
);
20547 SWIGINTERN PyObject
*_wrap_new_MDIParentFrame(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20548 PyObject
*resultobj
= 0;
20549 wxWindow
*arg1
= (wxWindow
*) 0 ;
20550 int arg2
= (int) (int)-1 ;
20551 wxString
const &arg3_defvalue
= wxPyEmptyString
;
20552 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
20553 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
20554 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
20555 wxSize
const &arg5_defvalue
= wxDefaultSize
;
20556 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
20557 long arg6
= (long) wxDEFAULT_FRAME_STYLE
|wxVSCROLL
|wxHSCROLL
;
20558 wxString
const &arg7_defvalue
= wxPyFrameNameStr
;
20559 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
20560 wxMDIParentFrame
*result
= 0 ;
20565 bool temp3
= false ;
20570 bool temp7
= false ;
20571 PyObject
* obj0
= 0 ;
20572 PyObject
* obj1
= 0 ;
20573 PyObject
* obj2
= 0 ;
20574 PyObject
* obj3
= 0 ;
20575 PyObject
* obj4
= 0 ;
20576 PyObject
* obj5
= 0 ;
20577 PyObject
* obj6
= 0 ;
20578 char * kwnames
[] = {
20579 (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
20582 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_MDIParentFrame",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
20583 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
20584 if (!SWIG_IsOK(res1
)) {
20585 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_MDIParentFrame" "', expected argument " "1"" of type '" "wxWindow *""'");
20587 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
20589 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
20590 if (!SWIG_IsOK(ecode2
)) {
20591 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_MDIParentFrame" "', expected argument " "2"" of type '" "int""'");
20593 arg2
= static_cast< int >(val2
);
20597 arg3
= wxString_in_helper(obj2
);
20598 if (arg3
== NULL
) SWIG_fail
;
20605 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
20611 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
20615 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
20616 if (!SWIG_IsOK(ecode6
)) {
20617 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_MDIParentFrame" "', expected argument " "6"" of type '" "long""'");
20619 arg6
= static_cast< long >(val6
);
20623 arg7
= wxString_in_helper(obj6
);
20624 if (arg7
== NULL
) SWIG_fail
;
20629 if (!wxPyCheckForApp()) SWIG_fail
;
20630 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20631 result
= (wxMDIParentFrame
*)new wxMDIParentFrame(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
20632 wxPyEndAllowThreads(__tstate
);
20633 if (PyErr_Occurred()) SWIG_fail
;
20635 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMDIParentFrame
, SWIG_POINTER_NEW
| 0 );
20658 SWIGINTERN PyObject
*_wrap_new_PreMDIParentFrame(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20659 PyObject
*resultobj
= 0;
20660 wxMDIParentFrame
*result
= 0 ;
20662 if (!SWIG_Python_UnpackTuple(args
,"new_PreMDIParentFrame",0,0,0)) SWIG_fail
;
20664 if (!wxPyCheckForApp()) SWIG_fail
;
20665 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20666 result
= (wxMDIParentFrame
*)new wxMDIParentFrame();
20667 wxPyEndAllowThreads(__tstate
);
20668 if (PyErr_Occurred()) SWIG_fail
;
20670 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMDIParentFrame
, SWIG_POINTER_OWN
| 0 );
20677 SWIGINTERN PyObject
*_wrap_MDIParentFrame_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20678 PyObject
*resultobj
= 0;
20679 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
20680 wxWindow
*arg2
= (wxWindow
*) 0 ;
20681 int arg3
= (int) (int)-1 ;
20682 wxString
const &arg4_defvalue
= wxPyEmptyString
;
20683 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
20684 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
20685 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
20686 wxSize
const &arg6_defvalue
= wxDefaultSize
;
20687 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
20688 long arg7
= (long) wxDEFAULT_FRAME_STYLE
|wxVSCROLL
|wxHSCROLL
;
20689 wxString
const &arg8_defvalue
= wxPyFrameNameStr
;
20690 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
20698 bool temp4
= false ;
20703 bool temp8
= false ;
20704 PyObject
* obj0
= 0 ;
20705 PyObject
* obj1
= 0 ;
20706 PyObject
* obj2
= 0 ;
20707 PyObject
* obj3
= 0 ;
20708 PyObject
* obj4
= 0 ;
20709 PyObject
* obj5
= 0 ;
20710 PyObject
* obj6
= 0 ;
20711 PyObject
* obj7
= 0 ;
20712 char * kwnames
[] = {
20713 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
20716 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:MDIParentFrame_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
20717 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMDIParentFrame
, 0 | 0 );
20718 if (!SWIG_IsOK(res1
)) {
20719 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MDIParentFrame_Create" "', expected argument " "1"" of type '" "wxMDIParentFrame *""'");
20721 arg1
= reinterpret_cast< wxMDIParentFrame
* >(argp1
);
20722 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
20723 if (!SWIG_IsOK(res2
)) {
20724 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "MDIParentFrame_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
20726 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
20728 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
20729 if (!SWIG_IsOK(ecode3
)) {
20730 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "MDIParentFrame_Create" "', expected argument " "3"" of type '" "int""'");
20732 arg3
= static_cast< int >(val3
);
20736 arg4
= wxString_in_helper(obj3
);
20737 if (arg4
== NULL
) SWIG_fail
;
20744 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
20750 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
20754 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
20755 if (!SWIG_IsOK(ecode7
)) {
20756 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "MDIParentFrame_Create" "', expected argument " "7"" of type '" "long""'");
20758 arg7
= static_cast< long >(val7
);
20762 arg8
= wxString_in_helper(obj7
);
20763 if (arg8
== NULL
) SWIG_fail
;
20768 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20769 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxString
const &)*arg8
);
20770 wxPyEndAllowThreads(__tstate
);
20771 if (PyErr_Occurred()) SWIG_fail
;
20774 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20798 SWIGINTERN PyObject
*_wrap_MDIParentFrame_ActivateNext(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20799 PyObject
*resultobj
= 0;
20800 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
20803 PyObject
*swig_obj
[1] ;
20805 if (!args
) SWIG_fail
;
20806 swig_obj
[0] = args
;
20807 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMDIParentFrame
, 0 | 0 );
20808 if (!SWIG_IsOK(res1
)) {
20809 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MDIParentFrame_ActivateNext" "', expected argument " "1"" of type '" "wxMDIParentFrame *""'");
20811 arg1
= reinterpret_cast< wxMDIParentFrame
* >(argp1
);
20813 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20814 (arg1
)->ActivateNext();
20815 wxPyEndAllowThreads(__tstate
);
20816 if (PyErr_Occurred()) SWIG_fail
;
20818 resultobj
= SWIG_Py_Void();
20825 SWIGINTERN PyObject
*_wrap_MDIParentFrame_ActivatePrevious(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20826 PyObject
*resultobj
= 0;
20827 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
20830 PyObject
*swig_obj
[1] ;
20832 if (!args
) SWIG_fail
;
20833 swig_obj
[0] = args
;
20834 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMDIParentFrame
, 0 | 0 );
20835 if (!SWIG_IsOK(res1
)) {
20836 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MDIParentFrame_ActivatePrevious" "', expected argument " "1"" of type '" "wxMDIParentFrame *""'");
20838 arg1
= reinterpret_cast< wxMDIParentFrame
* >(argp1
);
20840 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20841 (arg1
)->ActivatePrevious();
20842 wxPyEndAllowThreads(__tstate
);
20843 if (PyErr_Occurred()) SWIG_fail
;
20845 resultobj
= SWIG_Py_Void();
20852 SWIGINTERN PyObject
*_wrap_MDIParentFrame_ArrangeIcons(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20853 PyObject
*resultobj
= 0;
20854 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
20857 PyObject
*swig_obj
[1] ;
20859 if (!args
) SWIG_fail
;
20860 swig_obj
[0] = args
;
20861 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMDIParentFrame
, 0 | 0 );
20862 if (!SWIG_IsOK(res1
)) {
20863 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MDIParentFrame_ArrangeIcons" "', expected argument " "1"" of type '" "wxMDIParentFrame *""'");
20865 arg1
= reinterpret_cast< wxMDIParentFrame
* >(argp1
);
20867 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20868 (arg1
)->ArrangeIcons();
20869 wxPyEndAllowThreads(__tstate
);
20870 if (PyErr_Occurred()) SWIG_fail
;
20872 resultobj
= SWIG_Py_Void();
20879 SWIGINTERN PyObject
*_wrap_MDIParentFrame_Cascade(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20880 PyObject
*resultobj
= 0;
20881 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
20884 PyObject
*swig_obj
[1] ;
20886 if (!args
) SWIG_fail
;
20887 swig_obj
[0] = args
;
20888 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMDIParentFrame
, 0 | 0 );
20889 if (!SWIG_IsOK(res1
)) {
20890 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MDIParentFrame_Cascade" "', expected argument " "1"" of type '" "wxMDIParentFrame *""'");
20892 arg1
= reinterpret_cast< wxMDIParentFrame
* >(argp1
);
20894 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20896 wxPyEndAllowThreads(__tstate
);
20897 if (PyErr_Occurred()) SWIG_fail
;
20899 resultobj
= SWIG_Py_Void();
20906 SWIGINTERN PyObject
*_wrap_MDIParentFrame_GetActiveChild(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20907 PyObject
*resultobj
= 0;
20908 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
20909 wxMDIChildFrame
*result
= 0 ;
20912 PyObject
*swig_obj
[1] ;
20914 if (!args
) SWIG_fail
;
20915 swig_obj
[0] = args
;
20916 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMDIParentFrame
, 0 | 0 );
20917 if (!SWIG_IsOK(res1
)) {
20918 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MDIParentFrame_GetActiveChild" "', expected argument " "1"" of type '" "wxMDIParentFrame *""'");
20920 arg1
= reinterpret_cast< wxMDIParentFrame
* >(argp1
);
20922 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20923 result
= (wxMDIChildFrame
*)(arg1
)->GetActiveChild();
20924 wxPyEndAllowThreads(__tstate
);
20925 if (PyErr_Occurred()) SWIG_fail
;
20928 resultobj
= wxPyMake_wxObject(result
, (bool)0);
20936 SWIGINTERN PyObject
*_wrap_MDIParentFrame_GetClientWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20937 PyObject
*resultobj
= 0;
20938 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
20939 wxMDIClientWindow
*result
= 0 ;
20942 PyObject
*swig_obj
[1] ;
20944 if (!args
) SWIG_fail
;
20945 swig_obj
[0] = args
;
20946 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMDIParentFrame
, 0 | 0 );
20947 if (!SWIG_IsOK(res1
)) {
20948 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MDIParentFrame_GetClientWindow" "', expected argument " "1"" of type '" "wxMDIParentFrame *""'");
20950 arg1
= reinterpret_cast< wxMDIParentFrame
* >(argp1
);
20952 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20953 result
= (wxMDIClientWindow
*)(arg1
)->GetClientWindow();
20954 wxPyEndAllowThreads(__tstate
);
20955 if (PyErr_Occurred()) SWIG_fail
;
20958 resultobj
= wxPyMake_wxObject(result
, (bool)0);
20966 SWIGINTERN PyObject
*_wrap_MDIParentFrame_Tile(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20967 PyObject
*resultobj
= 0;
20968 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
20969 wxOrientation arg2
= (wxOrientation
) wxHORIZONTAL
;
20974 PyObject
* obj0
= 0 ;
20975 PyObject
* obj1
= 0 ;
20976 char * kwnames
[] = {
20977 (char *) "self",(char *) "orient", NULL
20980 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:MDIParentFrame_Tile",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20981 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMDIParentFrame
, 0 | 0 );
20982 if (!SWIG_IsOK(res1
)) {
20983 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MDIParentFrame_Tile" "', expected argument " "1"" of type '" "wxMDIParentFrame *""'");
20985 arg1
= reinterpret_cast< wxMDIParentFrame
* >(argp1
);
20987 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
20988 if (!SWIG_IsOK(ecode2
)) {
20989 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "MDIParentFrame_Tile" "', expected argument " "2"" of type '" "wxOrientation""'");
20991 arg2
= static_cast< wxOrientation
>(val2
);
20994 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20995 (arg1
)->Tile(arg2
);
20996 wxPyEndAllowThreads(__tstate
);
20997 if (PyErr_Occurred()) SWIG_fail
;
20999 resultobj
= SWIG_Py_Void();
21006 SWIGINTERN PyObject
*MDIParentFrame_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21008 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
21009 SWIG_TypeNewClientData(SWIGTYPE_p_wxMDIParentFrame
, SWIG_NewClientData(obj
));
21010 return SWIG_Py_Void();
21013 SWIGINTERN PyObject
*MDIParentFrame_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21014 return SWIG_Python_InitShadowInstance(args
);
21017 SWIGINTERN PyObject
*_wrap_new_MDIChildFrame(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21018 PyObject
*resultobj
= 0;
21019 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
21020 int arg2
= (int) (int)-1 ;
21021 wxString
const &arg3_defvalue
= wxPyEmptyString
;
21022 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
21023 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
21024 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
21025 wxSize
const &arg5_defvalue
= wxDefaultSize
;
21026 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
21027 long arg6
= (long) wxDEFAULT_FRAME_STYLE
;
21028 wxString
const &arg7_defvalue
= wxPyFrameNameStr
;
21029 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
21030 wxMDIChildFrame
*result
= 0 ;
21035 bool temp3
= false ;
21040 bool temp7
= false ;
21041 PyObject
* obj0
= 0 ;
21042 PyObject
* obj1
= 0 ;
21043 PyObject
* obj2
= 0 ;
21044 PyObject
* obj3
= 0 ;
21045 PyObject
* obj4
= 0 ;
21046 PyObject
* obj5
= 0 ;
21047 PyObject
* obj6
= 0 ;
21048 char * kwnames
[] = {
21049 (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
21052 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_MDIChildFrame",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
21053 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMDIParentFrame
, 0 | 0 );
21054 if (!SWIG_IsOK(res1
)) {
21055 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_MDIChildFrame" "', expected argument " "1"" of type '" "wxMDIParentFrame *""'");
21057 arg1
= reinterpret_cast< wxMDIParentFrame
* >(argp1
);
21059 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
21060 if (!SWIG_IsOK(ecode2
)) {
21061 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_MDIChildFrame" "', expected argument " "2"" of type '" "int""'");
21063 arg2
= static_cast< int >(val2
);
21067 arg3
= wxString_in_helper(obj2
);
21068 if (arg3
== NULL
) SWIG_fail
;
21075 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
21081 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
21085 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
21086 if (!SWIG_IsOK(ecode6
)) {
21087 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_MDIChildFrame" "', expected argument " "6"" of type '" "long""'");
21089 arg6
= static_cast< long >(val6
);
21093 arg7
= wxString_in_helper(obj6
);
21094 if (arg7
== NULL
) SWIG_fail
;
21099 if (!wxPyCheckForApp()) SWIG_fail
;
21100 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21101 result
= (wxMDIChildFrame
*)new wxMDIChildFrame(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
21102 wxPyEndAllowThreads(__tstate
);
21103 if (PyErr_Occurred()) SWIG_fail
;
21105 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMDIChildFrame
, SWIG_POINTER_NEW
| 0 );
21128 SWIGINTERN PyObject
*_wrap_new_PreMDIChildFrame(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21129 PyObject
*resultobj
= 0;
21130 wxMDIChildFrame
*result
= 0 ;
21132 if (!SWIG_Python_UnpackTuple(args
,"new_PreMDIChildFrame",0,0,0)) SWIG_fail
;
21134 if (!wxPyCheckForApp()) SWIG_fail
;
21135 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21136 result
= (wxMDIChildFrame
*)new wxMDIChildFrame();
21137 wxPyEndAllowThreads(__tstate
);
21138 if (PyErr_Occurred()) SWIG_fail
;
21140 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMDIChildFrame
, SWIG_POINTER_OWN
| 0 );
21147 SWIGINTERN PyObject
*_wrap_MDIChildFrame_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21148 PyObject
*resultobj
= 0;
21149 wxMDIChildFrame
*arg1
= (wxMDIChildFrame
*) 0 ;
21150 wxMDIParentFrame
*arg2
= (wxMDIParentFrame
*) 0 ;
21151 int arg3
= (int) (int)-1 ;
21152 wxString
const &arg4_defvalue
= wxPyEmptyString
;
21153 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
21154 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
21155 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
21156 wxSize
const &arg6_defvalue
= wxDefaultSize
;
21157 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
21158 long arg7
= (long) wxDEFAULT_FRAME_STYLE
;
21159 wxString
const &arg8_defvalue
= wxPyFrameNameStr
;
21160 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
21168 bool temp4
= false ;
21173 bool temp8
= false ;
21174 PyObject
* obj0
= 0 ;
21175 PyObject
* obj1
= 0 ;
21176 PyObject
* obj2
= 0 ;
21177 PyObject
* obj3
= 0 ;
21178 PyObject
* obj4
= 0 ;
21179 PyObject
* obj5
= 0 ;
21180 PyObject
* obj6
= 0 ;
21181 PyObject
* obj7
= 0 ;
21182 char * kwnames
[] = {
21183 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
21186 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:MDIChildFrame_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
21187 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMDIChildFrame
, 0 | 0 );
21188 if (!SWIG_IsOK(res1
)) {
21189 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MDIChildFrame_Create" "', expected argument " "1"" of type '" "wxMDIChildFrame *""'");
21191 arg1
= reinterpret_cast< wxMDIChildFrame
* >(argp1
);
21192 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxMDIParentFrame
, 0 | 0 );
21193 if (!SWIG_IsOK(res2
)) {
21194 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "MDIChildFrame_Create" "', expected argument " "2"" of type '" "wxMDIParentFrame *""'");
21196 arg2
= reinterpret_cast< wxMDIParentFrame
* >(argp2
);
21198 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
21199 if (!SWIG_IsOK(ecode3
)) {
21200 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "MDIChildFrame_Create" "', expected argument " "3"" of type '" "int""'");
21202 arg3
= static_cast< int >(val3
);
21206 arg4
= wxString_in_helper(obj3
);
21207 if (arg4
== NULL
) SWIG_fail
;
21214 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
21220 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
21224 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
21225 if (!SWIG_IsOK(ecode7
)) {
21226 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "MDIChildFrame_Create" "', expected argument " "7"" of type '" "long""'");
21228 arg7
= static_cast< long >(val7
);
21232 arg8
= wxString_in_helper(obj7
);
21233 if (arg8
== NULL
) SWIG_fail
;
21238 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21239 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxString
const &)*arg8
);
21240 wxPyEndAllowThreads(__tstate
);
21241 if (PyErr_Occurred()) SWIG_fail
;
21244 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21268 SWIGINTERN PyObject
*_wrap_MDIChildFrame_Activate(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21269 PyObject
*resultobj
= 0;
21270 wxMDIChildFrame
*arg1
= (wxMDIChildFrame
*) 0 ;
21273 PyObject
*swig_obj
[1] ;
21275 if (!args
) SWIG_fail
;
21276 swig_obj
[0] = args
;
21277 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMDIChildFrame
, 0 | 0 );
21278 if (!SWIG_IsOK(res1
)) {
21279 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MDIChildFrame_Activate" "', expected argument " "1"" of type '" "wxMDIChildFrame *""'");
21281 arg1
= reinterpret_cast< wxMDIChildFrame
* >(argp1
);
21283 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21284 (arg1
)->Activate();
21285 wxPyEndAllowThreads(__tstate
);
21286 if (PyErr_Occurred()) SWIG_fail
;
21288 resultobj
= SWIG_Py_Void();
21295 SWIGINTERN PyObject
*MDIChildFrame_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21297 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
21298 SWIG_TypeNewClientData(SWIGTYPE_p_wxMDIChildFrame
, SWIG_NewClientData(obj
));
21299 return SWIG_Py_Void();
21302 SWIGINTERN PyObject
*MDIChildFrame_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21303 return SWIG_Python_InitShadowInstance(args
);
21306 SWIGINTERN PyObject
*_wrap_new_MDIClientWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21307 PyObject
*resultobj
= 0;
21308 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
21309 long arg2
= (long) 0 ;
21310 wxMDIClientWindow
*result
= 0 ;
21315 PyObject
* obj0
= 0 ;
21316 PyObject
* obj1
= 0 ;
21317 char * kwnames
[] = {
21318 (char *) "parent",(char *) "style", NULL
21321 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_MDIClientWindow",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
21322 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMDIParentFrame
, 0 | 0 );
21323 if (!SWIG_IsOK(res1
)) {
21324 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_MDIClientWindow" "', expected argument " "1"" of type '" "wxMDIParentFrame *""'");
21326 arg1
= reinterpret_cast< wxMDIParentFrame
* >(argp1
);
21328 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
21329 if (!SWIG_IsOK(ecode2
)) {
21330 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_MDIClientWindow" "', expected argument " "2"" of type '" "long""'");
21332 arg2
= static_cast< long >(val2
);
21335 if (!wxPyCheckForApp()) SWIG_fail
;
21336 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21337 result
= (wxMDIClientWindow
*)new wxMDIClientWindow(arg1
,arg2
);
21338 wxPyEndAllowThreads(__tstate
);
21339 if (PyErr_Occurred()) SWIG_fail
;
21341 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMDIClientWindow
, SWIG_POINTER_NEW
| 0 );
21348 SWIGINTERN PyObject
*_wrap_new_PreMDIClientWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21349 PyObject
*resultobj
= 0;
21350 wxMDIClientWindow
*result
= 0 ;
21352 if (!SWIG_Python_UnpackTuple(args
,"new_PreMDIClientWindow",0,0,0)) SWIG_fail
;
21354 if (!wxPyCheckForApp()) SWIG_fail
;
21355 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21356 result
= (wxMDIClientWindow
*)new wxMDIClientWindow();
21357 wxPyEndAllowThreads(__tstate
);
21358 if (PyErr_Occurred()) SWIG_fail
;
21360 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMDIClientWindow
, SWIG_POINTER_OWN
| 0 );
21367 SWIGINTERN PyObject
*_wrap_MDIClientWindow_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21368 PyObject
*resultobj
= 0;
21369 wxMDIClientWindow
*arg1
= (wxMDIClientWindow
*) 0 ;
21370 wxMDIParentFrame
*arg2
= (wxMDIParentFrame
*) 0 ;
21371 long arg3
= (long) 0 ;
21379 PyObject
* obj0
= 0 ;
21380 PyObject
* obj1
= 0 ;
21381 PyObject
* obj2
= 0 ;
21382 char * kwnames
[] = {
21383 (char *) "self",(char *) "parent",(char *) "style", NULL
21386 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:MDIClientWindow_Create",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
21387 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMDIClientWindow
, 0 | 0 );
21388 if (!SWIG_IsOK(res1
)) {
21389 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MDIClientWindow_Create" "', expected argument " "1"" of type '" "wxMDIClientWindow *""'");
21391 arg1
= reinterpret_cast< wxMDIClientWindow
* >(argp1
);
21392 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxMDIParentFrame
, 0 | 0 );
21393 if (!SWIG_IsOK(res2
)) {
21394 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "MDIClientWindow_Create" "', expected argument " "2"" of type '" "wxMDIParentFrame *""'");
21396 arg2
= reinterpret_cast< wxMDIParentFrame
* >(argp2
);
21398 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
21399 if (!SWIG_IsOK(ecode3
)) {
21400 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "MDIClientWindow_Create" "', expected argument " "3"" of type '" "long""'");
21402 arg3
= static_cast< long >(val3
);
21405 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21406 result
= (bool)(arg1
)->Create(arg2
,arg3
);
21407 wxPyEndAllowThreads(__tstate
);
21408 if (PyErr_Occurred()) SWIG_fail
;
21411 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21419 SWIGINTERN PyObject
*MDIClientWindow_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21421 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
21422 SWIG_TypeNewClientData(SWIGTYPE_p_wxMDIClientWindow
, SWIG_NewClientData(obj
));
21423 return SWIG_Py_Void();
21426 SWIGINTERN PyObject
*MDIClientWindow_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21427 return SWIG_Python_InitShadowInstance(args
);
21430 SWIGINTERN PyObject
*_wrap_new_PyWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21431 PyObject
*resultobj
= 0;
21432 wxWindow
*arg1
= (wxWindow
*) 0 ;
21433 int arg2
= (int) (int)-1 ;
21434 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
21435 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
21436 wxSize
const &arg4_defvalue
= wxDefaultSize
;
21437 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
21438 long arg5
= (long) 0 ;
21439 wxString
const &arg6_defvalue
= wxPyPanelNameStr
;
21440 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
21441 wxPyWindow
*result
= 0 ;
21450 bool temp6
= false ;
21451 PyObject
* obj0
= 0 ;
21452 PyObject
* obj1
= 0 ;
21453 PyObject
* obj2
= 0 ;
21454 PyObject
* obj3
= 0 ;
21455 PyObject
* obj4
= 0 ;
21456 PyObject
* obj5
= 0 ;
21457 char * kwnames
[] = {
21458 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
21461 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_PyWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
21462 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
21463 if (!SWIG_IsOK(res1
)) {
21464 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PyWindow" "', expected argument " "1"" of type '" "wxWindow *""'");
21466 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
21468 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
21469 if (!SWIG_IsOK(ecode2
)) {
21470 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_PyWindow" "', expected argument " "2"" of type '" "int""'");
21472 arg2
= static_cast< int >(val2
);
21477 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
21483 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
21487 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
21488 if (!SWIG_IsOK(ecode5
)) {
21489 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_PyWindow" "', expected argument " "5"" of type '" "long""'");
21491 arg5
= static_cast< long >(val5
);
21495 arg6
= wxString_in_helper(obj5
);
21496 if (arg6
== NULL
) SWIG_fail
;
21501 if (!wxPyCheckForApp()) SWIG_fail
;
21502 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21503 result
= (wxPyWindow
*)new wxPyWindow(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
21504 wxPyEndAllowThreads(__tstate
);
21505 if (PyErr_Occurred()) SWIG_fail
;
21507 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyWindow
, SWIG_POINTER_NEW
| 0 );
21522 SWIGINTERN PyObject
*_wrap_new_PrePyWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21523 PyObject
*resultobj
= 0;
21524 wxPyWindow
*result
= 0 ;
21526 if (!SWIG_Python_UnpackTuple(args
,"new_PrePyWindow",0,0,0)) SWIG_fail
;
21528 if (!wxPyCheckForApp()) SWIG_fail
;
21529 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21530 result
= (wxPyWindow
*)new wxPyWindow();
21531 wxPyEndAllowThreads(__tstate
);
21532 if (PyErr_Occurred()) SWIG_fail
;
21534 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyWindow
, SWIG_POINTER_OWN
| 0 );
21541 SWIGINTERN PyObject
*_wrap_PyWindow__setCallbackInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21542 PyObject
*resultobj
= 0;
21543 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
21544 PyObject
*arg2
= (PyObject
*) 0 ;
21545 PyObject
*arg3
= (PyObject
*) 0 ;
21548 PyObject
* obj0
= 0 ;
21549 PyObject
* obj1
= 0 ;
21550 PyObject
* obj2
= 0 ;
21551 char * kwnames
[] = {
21552 (char *) "self",(char *) "self",(char *) "_class", NULL
21555 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyWindow__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
21556 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyWindow
, 0 | 0 );
21557 if (!SWIG_IsOK(res1
)) {
21558 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyWindow__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyWindow *""'");
21560 arg1
= reinterpret_cast< wxPyWindow
* >(argp1
);
21564 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21565 (arg1
)->_setCallbackInfo(arg2
,arg3
);
21566 wxPyEndAllowThreads(__tstate
);
21567 if (PyErr_Occurred()) SWIG_fail
;
21569 resultobj
= SWIG_Py_Void();
21576 SWIGINTERN PyObject
*_wrap_PyWindow_DoEraseBackground(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21577 PyObject
*resultobj
= 0;
21578 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
21579 wxDC
*arg2
= (wxDC
*) 0 ;
21585 PyObject
* obj0
= 0 ;
21586 PyObject
* obj1
= 0 ;
21587 char * kwnames
[] = {
21588 (char *) "self",(char *) "dc", NULL
21591 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyWindow_DoEraseBackground",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
21592 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyWindow
, 0 | 0 );
21593 if (!SWIG_IsOK(res1
)) {
21594 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyWindow_DoEraseBackground" "', expected argument " "1"" of type '" "wxPyWindow *""'");
21596 arg1
= reinterpret_cast< wxPyWindow
* >(argp1
);
21597 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxDC
, 0 | 0 );
21598 if (!SWIG_IsOK(res2
)) {
21599 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PyWindow_DoEraseBackground" "', expected argument " "2"" of type '" "wxDC *""'");
21601 arg2
= reinterpret_cast< wxDC
* >(argp2
);
21603 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21604 result
= (bool)(arg1
)->DoEraseBackground(arg2
);
21605 wxPyEndAllowThreads(__tstate
);
21606 if (PyErr_Occurred()) SWIG_fail
;
21609 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21617 SWIGINTERN PyObject
*_wrap_PyWindow_DoMoveWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21618 PyObject
*resultobj
= 0;
21619 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
21634 PyObject
* obj0
= 0 ;
21635 PyObject
* obj1
= 0 ;
21636 PyObject
* obj2
= 0 ;
21637 PyObject
* obj3
= 0 ;
21638 PyObject
* obj4
= 0 ;
21639 char * kwnames
[] = {
21640 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
21643 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:PyWindow_DoMoveWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
21644 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyWindow
, 0 | 0 );
21645 if (!SWIG_IsOK(res1
)) {
21646 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyWindow_DoMoveWindow" "', expected argument " "1"" of type '" "wxPyWindow *""'");
21648 arg1
= reinterpret_cast< wxPyWindow
* >(argp1
);
21649 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
21650 if (!SWIG_IsOK(ecode2
)) {
21651 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PyWindow_DoMoveWindow" "', expected argument " "2"" of type '" "int""'");
21653 arg2
= static_cast< int >(val2
);
21654 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
21655 if (!SWIG_IsOK(ecode3
)) {
21656 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PyWindow_DoMoveWindow" "', expected argument " "3"" of type '" "int""'");
21658 arg3
= static_cast< int >(val3
);
21659 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
21660 if (!SWIG_IsOK(ecode4
)) {
21661 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PyWindow_DoMoveWindow" "', expected argument " "4"" of type '" "int""'");
21663 arg4
= static_cast< int >(val4
);
21664 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
21665 if (!SWIG_IsOK(ecode5
)) {
21666 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PyWindow_DoMoveWindow" "', expected argument " "5"" of type '" "int""'");
21668 arg5
= static_cast< int >(val5
);
21670 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21671 (arg1
)->DoMoveWindow(arg2
,arg3
,arg4
,arg5
);
21672 wxPyEndAllowThreads(__tstate
);
21673 if (PyErr_Occurred()) SWIG_fail
;
21675 resultobj
= SWIG_Py_Void();
21682 SWIGINTERN PyObject
*_wrap_PyWindow_DoSetSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21683 PyObject
*resultobj
= 0;
21684 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
21689 int arg6
= (int) wxSIZE_AUTO
;
21702 PyObject
* obj0
= 0 ;
21703 PyObject
* obj1
= 0 ;
21704 PyObject
* obj2
= 0 ;
21705 PyObject
* obj3
= 0 ;
21706 PyObject
* obj4
= 0 ;
21707 PyObject
* obj5
= 0 ;
21708 char * kwnames
[] = {
21709 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "sizeFlags", NULL
21712 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|O:PyWindow_DoSetSize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
21713 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyWindow
, 0 | 0 );
21714 if (!SWIG_IsOK(res1
)) {
21715 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyWindow_DoSetSize" "', expected argument " "1"" of type '" "wxPyWindow *""'");
21717 arg1
= reinterpret_cast< wxPyWindow
* >(argp1
);
21718 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
21719 if (!SWIG_IsOK(ecode2
)) {
21720 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PyWindow_DoSetSize" "', expected argument " "2"" of type '" "int""'");
21722 arg2
= static_cast< int >(val2
);
21723 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
21724 if (!SWIG_IsOK(ecode3
)) {
21725 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PyWindow_DoSetSize" "', expected argument " "3"" of type '" "int""'");
21727 arg3
= static_cast< int >(val3
);
21728 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
21729 if (!SWIG_IsOK(ecode4
)) {
21730 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PyWindow_DoSetSize" "', expected argument " "4"" of type '" "int""'");
21732 arg4
= static_cast< int >(val4
);
21733 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
21734 if (!SWIG_IsOK(ecode5
)) {
21735 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PyWindow_DoSetSize" "', expected argument " "5"" of type '" "int""'");
21737 arg5
= static_cast< int >(val5
);
21739 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
21740 if (!SWIG_IsOK(ecode6
)) {
21741 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "PyWindow_DoSetSize" "', expected argument " "6"" of type '" "int""'");
21743 arg6
= static_cast< int >(val6
);
21746 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21747 (arg1
)->DoSetSize(arg2
,arg3
,arg4
,arg5
,arg6
);
21748 wxPyEndAllowThreads(__tstate
);
21749 if (PyErr_Occurred()) SWIG_fail
;
21751 resultobj
= SWIG_Py_Void();
21758 SWIGINTERN PyObject
*_wrap_PyWindow_DoSetClientSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21759 PyObject
*resultobj
= 0;
21760 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
21769 PyObject
* obj0
= 0 ;
21770 PyObject
* obj1
= 0 ;
21771 PyObject
* obj2
= 0 ;
21772 char * kwnames
[] = {
21773 (char *) "self",(char *) "width",(char *) "height", NULL
21776 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyWindow_DoSetClientSize",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
21777 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyWindow
, 0 | 0 );
21778 if (!SWIG_IsOK(res1
)) {
21779 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyWindow_DoSetClientSize" "', expected argument " "1"" of type '" "wxPyWindow *""'");
21781 arg1
= reinterpret_cast< wxPyWindow
* >(argp1
);
21782 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
21783 if (!SWIG_IsOK(ecode2
)) {
21784 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PyWindow_DoSetClientSize" "', expected argument " "2"" of type '" "int""'");
21786 arg2
= static_cast< int >(val2
);
21787 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
21788 if (!SWIG_IsOK(ecode3
)) {
21789 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PyWindow_DoSetClientSize" "', expected argument " "3"" of type '" "int""'");
21791 arg3
= static_cast< int >(val3
);
21793 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21794 (arg1
)->DoSetClientSize(arg2
,arg3
);
21795 wxPyEndAllowThreads(__tstate
);
21796 if (PyErr_Occurred()) SWIG_fail
;
21798 resultobj
= SWIG_Py_Void();
21805 SWIGINTERN PyObject
*_wrap_PyWindow_DoSetVirtualSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21806 PyObject
*resultobj
= 0;
21807 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
21816 PyObject
* obj0
= 0 ;
21817 PyObject
* obj1
= 0 ;
21818 PyObject
* obj2
= 0 ;
21819 char * kwnames
[] = {
21820 (char *) "self",(char *) "x",(char *) "y", NULL
21823 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyWindow_DoSetVirtualSize",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
21824 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyWindow
, 0 | 0 );
21825 if (!SWIG_IsOK(res1
)) {
21826 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyWindow_DoSetVirtualSize" "', expected argument " "1"" of type '" "wxPyWindow *""'");
21828 arg1
= reinterpret_cast< wxPyWindow
* >(argp1
);
21829 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
21830 if (!SWIG_IsOK(ecode2
)) {
21831 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PyWindow_DoSetVirtualSize" "', expected argument " "2"" of type '" "int""'");
21833 arg2
= static_cast< int >(val2
);
21834 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
21835 if (!SWIG_IsOK(ecode3
)) {
21836 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PyWindow_DoSetVirtualSize" "', expected argument " "3"" of type '" "int""'");
21838 arg3
= static_cast< int >(val3
);
21840 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21841 (arg1
)->DoSetVirtualSize(arg2
,arg3
);
21842 wxPyEndAllowThreads(__tstate
);
21843 if (PyErr_Occurred()) SWIG_fail
;
21845 resultobj
= SWIG_Py_Void();
21852 SWIGINTERN PyObject
*_wrap_PyWindow_DoGetSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21853 PyObject
*resultobj
= 0;
21854 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
21855 int *arg2
= (int *) 0 ;
21856 int *arg3
= (int *) 0 ;
21860 int res2
= SWIG_TMPOBJ
;
21862 int res3
= SWIG_TMPOBJ
;
21863 PyObject
*swig_obj
[1] ;
21867 if (!args
) SWIG_fail
;
21868 swig_obj
[0] = args
;
21869 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyWindow
, 0 | 0 );
21870 if (!SWIG_IsOK(res1
)) {
21871 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyWindow_DoGetSize" "', expected argument " "1"" of type '" "wxPyWindow const *""'");
21873 arg1
= reinterpret_cast< wxPyWindow
* >(argp1
);
21875 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21876 ((wxPyWindow
const *)arg1
)->DoGetSize(arg2
,arg3
);
21877 wxPyEndAllowThreads(__tstate
);
21878 if (PyErr_Occurred()) SWIG_fail
;
21880 resultobj
= SWIG_Py_Void();
21881 if (SWIG_IsTmpObj(res2
)) {
21882 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
21884 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
21885 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
21887 if (SWIG_IsTmpObj(res3
)) {
21888 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
21890 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
21891 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
21899 SWIGINTERN PyObject
*_wrap_PyWindow_DoGetClientSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21900 PyObject
*resultobj
= 0;
21901 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
21902 int *arg2
= (int *) 0 ;
21903 int *arg3
= (int *) 0 ;
21907 int res2
= SWIG_TMPOBJ
;
21909 int res3
= SWIG_TMPOBJ
;
21910 PyObject
*swig_obj
[1] ;
21914 if (!args
) SWIG_fail
;
21915 swig_obj
[0] = args
;
21916 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyWindow
, 0 | 0 );
21917 if (!SWIG_IsOK(res1
)) {
21918 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyWindow_DoGetClientSize" "', expected argument " "1"" of type '" "wxPyWindow const *""'");
21920 arg1
= reinterpret_cast< wxPyWindow
* >(argp1
);
21922 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21923 ((wxPyWindow
const *)arg1
)->DoGetClientSize(arg2
,arg3
);
21924 wxPyEndAllowThreads(__tstate
);
21925 if (PyErr_Occurred()) SWIG_fail
;
21927 resultobj
= SWIG_Py_Void();
21928 if (SWIG_IsTmpObj(res2
)) {
21929 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
21931 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
21932 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
21934 if (SWIG_IsTmpObj(res3
)) {
21935 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
21937 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
21938 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
21946 SWIGINTERN PyObject
*_wrap_PyWindow_DoGetPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21947 PyObject
*resultobj
= 0;
21948 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
21949 int *arg2
= (int *) 0 ;
21950 int *arg3
= (int *) 0 ;
21954 int res2
= SWIG_TMPOBJ
;
21956 int res3
= SWIG_TMPOBJ
;
21957 PyObject
*swig_obj
[1] ;
21961 if (!args
) SWIG_fail
;
21962 swig_obj
[0] = args
;
21963 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyWindow
, 0 | 0 );
21964 if (!SWIG_IsOK(res1
)) {
21965 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyWindow_DoGetPosition" "', expected argument " "1"" of type '" "wxPyWindow const *""'");
21967 arg1
= reinterpret_cast< wxPyWindow
* >(argp1
);
21969 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21970 ((wxPyWindow
const *)arg1
)->DoGetPosition(arg2
,arg3
);
21971 wxPyEndAllowThreads(__tstate
);
21972 if (PyErr_Occurred()) SWIG_fail
;
21974 resultobj
= SWIG_Py_Void();
21975 if (SWIG_IsTmpObj(res2
)) {
21976 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
21978 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
21979 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
21981 if (SWIG_IsTmpObj(res3
)) {
21982 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
21984 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
21985 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
21993 SWIGINTERN PyObject
*_wrap_PyWindow_DoGetVirtualSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21994 PyObject
*resultobj
= 0;
21995 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
21999 PyObject
*swig_obj
[1] ;
22001 if (!args
) SWIG_fail
;
22002 swig_obj
[0] = args
;
22003 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyWindow
, 0 | 0 );
22004 if (!SWIG_IsOK(res1
)) {
22005 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyWindow_DoGetVirtualSize" "', expected argument " "1"" of type '" "wxPyWindow const *""'");
22007 arg1
= reinterpret_cast< wxPyWindow
* >(argp1
);
22009 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22010 result
= ((wxPyWindow
const *)arg1
)->DoGetVirtualSize();
22011 wxPyEndAllowThreads(__tstate
);
22012 if (PyErr_Occurred()) SWIG_fail
;
22014 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
22021 SWIGINTERN PyObject
*_wrap_PyWindow_DoGetBestSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22022 PyObject
*resultobj
= 0;
22023 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
22027 PyObject
*swig_obj
[1] ;
22029 if (!args
) SWIG_fail
;
22030 swig_obj
[0] = args
;
22031 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyWindow
, 0 | 0 );
22032 if (!SWIG_IsOK(res1
)) {
22033 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyWindow_DoGetBestSize" "', expected argument " "1"" of type '" "wxPyWindow const *""'");
22035 arg1
= reinterpret_cast< wxPyWindow
* >(argp1
);
22037 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22038 result
= ((wxPyWindow
const *)arg1
)->DoGetBestSize();
22039 wxPyEndAllowThreads(__tstate
);
22040 if (PyErr_Occurred()) SWIG_fail
;
22042 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
22049 SWIGINTERN PyObject
*_wrap_PyWindow_GetDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22050 PyObject
*resultobj
= 0;
22051 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
22052 SwigValueWrapper
<wxVisualAttributes
> result
;
22055 PyObject
*swig_obj
[1] ;
22057 if (!args
) SWIG_fail
;
22058 swig_obj
[0] = args
;
22059 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyWindow
, 0 | 0 );
22060 if (!SWIG_IsOK(res1
)) {
22061 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyWindow_GetDefaultAttributes" "', expected argument " "1"" of type '" "wxPyWindow *""'");
22063 arg1
= reinterpret_cast< wxPyWindow
* >(argp1
);
22065 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22066 result
= (arg1
)->GetDefaultAttributes();
22067 wxPyEndAllowThreads(__tstate
);
22068 if (PyErr_Occurred()) SWIG_fail
;
22070 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
22077 SWIGINTERN PyObject
*_wrap_PyWindow_OnInternalIdle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22078 PyObject
*resultobj
= 0;
22079 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
22082 PyObject
*swig_obj
[1] ;
22084 if (!args
) SWIG_fail
;
22085 swig_obj
[0] = args
;
22086 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyWindow
, 0 | 0 );
22087 if (!SWIG_IsOK(res1
)) {
22088 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyWindow_OnInternalIdle" "', expected argument " "1"" of type '" "wxPyWindow *""'");
22090 arg1
= reinterpret_cast< wxPyWindow
* >(argp1
);
22092 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22093 (arg1
)->OnInternalIdle();
22094 wxPyEndAllowThreads(__tstate
);
22095 if (PyErr_Occurred()) SWIG_fail
;
22097 resultobj
= SWIG_Py_Void();
22104 SWIGINTERN PyObject
*PyWindow_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22106 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
22107 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyWindow
, SWIG_NewClientData(obj
));
22108 return SWIG_Py_Void();
22111 SWIGINTERN PyObject
*PyWindow_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22112 return SWIG_Python_InitShadowInstance(args
);
22115 SWIGINTERN PyObject
*_wrap_new_PyPanel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22116 PyObject
*resultobj
= 0;
22117 wxWindow
*arg1
= (wxWindow
*) 0 ;
22118 int arg2
= (int) (int)-1 ;
22119 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
22120 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
22121 wxSize
const &arg4_defvalue
= wxDefaultSize
;
22122 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
22123 long arg5
= (long) 0 ;
22124 wxString
const &arg6_defvalue
= wxPyPanelNameStr
;
22125 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
22126 wxPyPanel
*result
= 0 ;
22135 bool temp6
= false ;
22136 PyObject
* obj0
= 0 ;
22137 PyObject
* obj1
= 0 ;
22138 PyObject
* obj2
= 0 ;
22139 PyObject
* obj3
= 0 ;
22140 PyObject
* obj4
= 0 ;
22141 PyObject
* obj5
= 0 ;
22142 char * kwnames
[] = {
22143 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
22146 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_PyPanel",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
22147 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
22148 if (!SWIG_IsOK(res1
)) {
22149 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PyPanel" "', expected argument " "1"" of type '" "wxWindow *""'");
22151 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
22153 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
22154 if (!SWIG_IsOK(ecode2
)) {
22155 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_PyPanel" "', expected argument " "2"" of type '" "int""'");
22157 arg2
= static_cast< int >(val2
);
22162 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
22168 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
22172 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
22173 if (!SWIG_IsOK(ecode5
)) {
22174 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_PyPanel" "', expected argument " "5"" of type '" "long""'");
22176 arg5
= static_cast< long >(val5
);
22180 arg6
= wxString_in_helper(obj5
);
22181 if (arg6
== NULL
) SWIG_fail
;
22186 if (!wxPyCheckForApp()) SWIG_fail
;
22187 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22188 result
= (wxPyPanel
*)new wxPyPanel(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
22189 wxPyEndAllowThreads(__tstate
);
22190 if (PyErr_Occurred()) SWIG_fail
;
22192 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyPanel
, SWIG_POINTER_NEW
| 0 );
22207 SWIGINTERN PyObject
*_wrap_new_PrePyPanel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22208 PyObject
*resultobj
= 0;
22209 wxPyPanel
*result
= 0 ;
22211 if (!SWIG_Python_UnpackTuple(args
,"new_PrePyPanel",0,0,0)) SWIG_fail
;
22213 if (!wxPyCheckForApp()) SWIG_fail
;
22214 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22215 result
= (wxPyPanel
*)new wxPyPanel();
22216 wxPyEndAllowThreads(__tstate
);
22217 if (PyErr_Occurred()) SWIG_fail
;
22219 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyPanel
, SWIG_POINTER_OWN
| 0 );
22226 SWIGINTERN PyObject
*_wrap_PyPanel__setCallbackInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22227 PyObject
*resultobj
= 0;
22228 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
22229 PyObject
*arg2
= (PyObject
*) 0 ;
22230 PyObject
*arg3
= (PyObject
*) 0 ;
22233 PyObject
* obj0
= 0 ;
22234 PyObject
* obj1
= 0 ;
22235 PyObject
* obj2
= 0 ;
22236 char * kwnames
[] = {
22237 (char *) "self",(char *) "self",(char *) "_class", NULL
22240 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyPanel__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
22241 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPanel
, 0 | 0 );
22242 if (!SWIG_IsOK(res1
)) {
22243 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyPanel__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyPanel *""'");
22245 arg1
= reinterpret_cast< wxPyPanel
* >(argp1
);
22249 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22250 (arg1
)->_setCallbackInfo(arg2
,arg3
);
22251 wxPyEndAllowThreads(__tstate
);
22252 if (PyErr_Occurred()) SWIG_fail
;
22254 resultobj
= SWIG_Py_Void();
22261 SWIGINTERN PyObject
*_wrap_PyPanel_DoEraseBackground(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22262 PyObject
*resultobj
= 0;
22263 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
22264 wxDC
*arg2
= (wxDC
*) 0 ;
22270 PyObject
* obj0
= 0 ;
22271 PyObject
* obj1
= 0 ;
22272 char * kwnames
[] = {
22273 (char *) "self",(char *) "dc", NULL
22276 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyPanel_DoEraseBackground",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
22277 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPanel
, 0 | 0 );
22278 if (!SWIG_IsOK(res1
)) {
22279 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyPanel_DoEraseBackground" "', expected argument " "1"" of type '" "wxPyPanel *""'");
22281 arg1
= reinterpret_cast< wxPyPanel
* >(argp1
);
22282 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxDC
, 0 | 0 );
22283 if (!SWIG_IsOK(res2
)) {
22284 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PyPanel_DoEraseBackground" "', expected argument " "2"" of type '" "wxDC *""'");
22286 arg2
= reinterpret_cast< wxDC
* >(argp2
);
22288 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22289 result
= (bool)(arg1
)->DoEraseBackground(arg2
);
22290 wxPyEndAllowThreads(__tstate
);
22291 if (PyErr_Occurred()) SWIG_fail
;
22294 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22302 SWIGINTERN PyObject
*_wrap_PyPanel_DoMoveWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22303 PyObject
*resultobj
= 0;
22304 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
22319 PyObject
* obj0
= 0 ;
22320 PyObject
* obj1
= 0 ;
22321 PyObject
* obj2
= 0 ;
22322 PyObject
* obj3
= 0 ;
22323 PyObject
* obj4
= 0 ;
22324 char * kwnames
[] = {
22325 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
22328 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:PyPanel_DoMoveWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
22329 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPanel
, 0 | 0 );
22330 if (!SWIG_IsOK(res1
)) {
22331 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyPanel_DoMoveWindow" "', expected argument " "1"" of type '" "wxPyPanel *""'");
22333 arg1
= reinterpret_cast< wxPyPanel
* >(argp1
);
22334 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
22335 if (!SWIG_IsOK(ecode2
)) {
22336 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PyPanel_DoMoveWindow" "', expected argument " "2"" of type '" "int""'");
22338 arg2
= static_cast< int >(val2
);
22339 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
22340 if (!SWIG_IsOK(ecode3
)) {
22341 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PyPanel_DoMoveWindow" "', expected argument " "3"" of type '" "int""'");
22343 arg3
= static_cast< int >(val3
);
22344 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
22345 if (!SWIG_IsOK(ecode4
)) {
22346 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PyPanel_DoMoveWindow" "', expected argument " "4"" of type '" "int""'");
22348 arg4
= static_cast< int >(val4
);
22349 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
22350 if (!SWIG_IsOK(ecode5
)) {
22351 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PyPanel_DoMoveWindow" "', expected argument " "5"" of type '" "int""'");
22353 arg5
= static_cast< int >(val5
);
22355 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22356 (arg1
)->DoMoveWindow(arg2
,arg3
,arg4
,arg5
);
22357 wxPyEndAllowThreads(__tstate
);
22358 if (PyErr_Occurred()) SWIG_fail
;
22360 resultobj
= SWIG_Py_Void();
22367 SWIGINTERN PyObject
*_wrap_PyPanel_DoSetSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22368 PyObject
*resultobj
= 0;
22369 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
22374 int arg6
= (int) wxSIZE_AUTO
;
22387 PyObject
* obj0
= 0 ;
22388 PyObject
* obj1
= 0 ;
22389 PyObject
* obj2
= 0 ;
22390 PyObject
* obj3
= 0 ;
22391 PyObject
* obj4
= 0 ;
22392 PyObject
* obj5
= 0 ;
22393 char * kwnames
[] = {
22394 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "sizeFlags", NULL
22397 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|O:PyPanel_DoSetSize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
22398 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPanel
, 0 | 0 );
22399 if (!SWIG_IsOK(res1
)) {
22400 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyPanel_DoSetSize" "', expected argument " "1"" of type '" "wxPyPanel *""'");
22402 arg1
= reinterpret_cast< wxPyPanel
* >(argp1
);
22403 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
22404 if (!SWIG_IsOK(ecode2
)) {
22405 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PyPanel_DoSetSize" "', expected argument " "2"" of type '" "int""'");
22407 arg2
= static_cast< int >(val2
);
22408 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
22409 if (!SWIG_IsOK(ecode3
)) {
22410 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PyPanel_DoSetSize" "', expected argument " "3"" of type '" "int""'");
22412 arg3
= static_cast< int >(val3
);
22413 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
22414 if (!SWIG_IsOK(ecode4
)) {
22415 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PyPanel_DoSetSize" "', expected argument " "4"" of type '" "int""'");
22417 arg4
= static_cast< int >(val4
);
22418 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
22419 if (!SWIG_IsOK(ecode5
)) {
22420 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PyPanel_DoSetSize" "', expected argument " "5"" of type '" "int""'");
22422 arg5
= static_cast< int >(val5
);
22424 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
22425 if (!SWIG_IsOK(ecode6
)) {
22426 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "PyPanel_DoSetSize" "', expected argument " "6"" of type '" "int""'");
22428 arg6
= static_cast< int >(val6
);
22431 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22432 (arg1
)->DoSetSize(arg2
,arg3
,arg4
,arg5
,arg6
);
22433 wxPyEndAllowThreads(__tstate
);
22434 if (PyErr_Occurred()) SWIG_fail
;
22436 resultobj
= SWIG_Py_Void();
22443 SWIGINTERN PyObject
*_wrap_PyPanel_DoSetClientSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22444 PyObject
*resultobj
= 0;
22445 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
22454 PyObject
* obj0
= 0 ;
22455 PyObject
* obj1
= 0 ;
22456 PyObject
* obj2
= 0 ;
22457 char * kwnames
[] = {
22458 (char *) "self",(char *) "width",(char *) "height", NULL
22461 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyPanel_DoSetClientSize",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
22462 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPanel
, 0 | 0 );
22463 if (!SWIG_IsOK(res1
)) {
22464 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyPanel_DoSetClientSize" "', expected argument " "1"" of type '" "wxPyPanel *""'");
22466 arg1
= reinterpret_cast< wxPyPanel
* >(argp1
);
22467 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
22468 if (!SWIG_IsOK(ecode2
)) {
22469 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PyPanel_DoSetClientSize" "', expected argument " "2"" of type '" "int""'");
22471 arg2
= static_cast< int >(val2
);
22472 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
22473 if (!SWIG_IsOK(ecode3
)) {
22474 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PyPanel_DoSetClientSize" "', expected argument " "3"" of type '" "int""'");
22476 arg3
= static_cast< int >(val3
);
22478 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22479 (arg1
)->DoSetClientSize(arg2
,arg3
);
22480 wxPyEndAllowThreads(__tstate
);
22481 if (PyErr_Occurred()) SWIG_fail
;
22483 resultobj
= SWIG_Py_Void();
22490 SWIGINTERN PyObject
*_wrap_PyPanel_DoSetVirtualSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22491 PyObject
*resultobj
= 0;
22492 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
22501 PyObject
* obj0
= 0 ;
22502 PyObject
* obj1
= 0 ;
22503 PyObject
* obj2
= 0 ;
22504 char * kwnames
[] = {
22505 (char *) "self",(char *) "x",(char *) "y", NULL
22508 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyPanel_DoSetVirtualSize",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
22509 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPanel
, 0 | 0 );
22510 if (!SWIG_IsOK(res1
)) {
22511 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyPanel_DoSetVirtualSize" "', expected argument " "1"" of type '" "wxPyPanel *""'");
22513 arg1
= reinterpret_cast< wxPyPanel
* >(argp1
);
22514 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
22515 if (!SWIG_IsOK(ecode2
)) {
22516 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PyPanel_DoSetVirtualSize" "', expected argument " "2"" of type '" "int""'");
22518 arg2
= static_cast< int >(val2
);
22519 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
22520 if (!SWIG_IsOK(ecode3
)) {
22521 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PyPanel_DoSetVirtualSize" "', expected argument " "3"" of type '" "int""'");
22523 arg3
= static_cast< int >(val3
);
22525 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22526 (arg1
)->DoSetVirtualSize(arg2
,arg3
);
22527 wxPyEndAllowThreads(__tstate
);
22528 if (PyErr_Occurred()) SWIG_fail
;
22530 resultobj
= SWIG_Py_Void();
22537 SWIGINTERN PyObject
*_wrap_PyPanel_DoGetSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22538 PyObject
*resultobj
= 0;
22539 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
22540 int *arg2
= (int *) 0 ;
22541 int *arg3
= (int *) 0 ;
22545 int res2
= SWIG_TMPOBJ
;
22547 int res3
= SWIG_TMPOBJ
;
22548 PyObject
*swig_obj
[1] ;
22552 if (!args
) SWIG_fail
;
22553 swig_obj
[0] = args
;
22554 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPanel
, 0 | 0 );
22555 if (!SWIG_IsOK(res1
)) {
22556 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyPanel_DoGetSize" "', expected argument " "1"" of type '" "wxPyPanel const *""'");
22558 arg1
= reinterpret_cast< wxPyPanel
* >(argp1
);
22560 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22561 ((wxPyPanel
const *)arg1
)->DoGetSize(arg2
,arg3
);
22562 wxPyEndAllowThreads(__tstate
);
22563 if (PyErr_Occurred()) SWIG_fail
;
22565 resultobj
= SWIG_Py_Void();
22566 if (SWIG_IsTmpObj(res2
)) {
22567 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
22569 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
22570 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
22572 if (SWIG_IsTmpObj(res3
)) {
22573 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
22575 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
22576 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
22584 SWIGINTERN PyObject
*_wrap_PyPanel_DoGetClientSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22585 PyObject
*resultobj
= 0;
22586 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
22587 int *arg2
= (int *) 0 ;
22588 int *arg3
= (int *) 0 ;
22592 int res2
= SWIG_TMPOBJ
;
22594 int res3
= SWIG_TMPOBJ
;
22595 PyObject
*swig_obj
[1] ;
22599 if (!args
) SWIG_fail
;
22600 swig_obj
[0] = args
;
22601 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPanel
, 0 | 0 );
22602 if (!SWIG_IsOK(res1
)) {
22603 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyPanel_DoGetClientSize" "', expected argument " "1"" of type '" "wxPyPanel const *""'");
22605 arg1
= reinterpret_cast< wxPyPanel
* >(argp1
);
22607 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22608 ((wxPyPanel
const *)arg1
)->DoGetClientSize(arg2
,arg3
);
22609 wxPyEndAllowThreads(__tstate
);
22610 if (PyErr_Occurred()) SWIG_fail
;
22612 resultobj
= SWIG_Py_Void();
22613 if (SWIG_IsTmpObj(res2
)) {
22614 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
22616 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
22617 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
22619 if (SWIG_IsTmpObj(res3
)) {
22620 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
22622 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
22623 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
22631 SWIGINTERN PyObject
*_wrap_PyPanel_DoGetPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22632 PyObject
*resultobj
= 0;
22633 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
22634 int *arg2
= (int *) 0 ;
22635 int *arg3
= (int *) 0 ;
22639 int res2
= SWIG_TMPOBJ
;
22641 int res3
= SWIG_TMPOBJ
;
22642 PyObject
*swig_obj
[1] ;
22646 if (!args
) SWIG_fail
;
22647 swig_obj
[0] = args
;
22648 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPanel
, 0 | 0 );
22649 if (!SWIG_IsOK(res1
)) {
22650 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyPanel_DoGetPosition" "', expected argument " "1"" of type '" "wxPyPanel const *""'");
22652 arg1
= reinterpret_cast< wxPyPanel
* >(argp1
);
22654 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22655 ((wxPyPanel
const *)arg1
)->DoGetPosition(arg2
,arg3
);
22656 wxPyEndAllowThreads(__tstate
);
22657 if (PyErr_Occurred()) SWIG_fail
;
22659 resultobj
= SWIG_Py_Void();
22660 if (SWIG_IsTmpObj(res2
)) {
22661 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
22663 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
22664 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
22666 if (SWIG_IsTmpObj(res3
)) {
22667 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
22669 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
22670 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
22678 SWIGINTERN PyObject
*_wrap_PyPanel_DoGetVirtualSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22679 PyObject
*resultobj
= 0;
22680 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
22684 PyObject
*swig_obj
[1] ;
22686 if (!args
) SWIG_fail
;
22687 swig_obj
[0] = args
;
22688 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPanel
, 0 | 0 );
22689 if (!SWIG_IsOK(res1
)) {
22690 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyPanel_DoGetVirtualSize" "', expected argument " "1"" of type '" "wxPyPanel const *""'");
22692 arg1
= reinterpret_cast< wxPyPanel
* >(argp1
);
22694 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22695 result
= ((wxPyPanel
const *)arg1
)->DoGetVirtualSize();
22696 wxPyEndAllowThreads(__tstate
);
22697 if (PyErr_Occurred()) SWIG_fail
;
22699 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
22706 SWIGINTERN PyObject
*_wrap_PyPanel_DoGetBestSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22707 PyObject
*resultobj
= 0;
22708 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
22712 PyObject
*swig_obj
[1] ;
22714 if (!args
) SWIG_fail
;
22715 swig_obj
[0] = args
;
22716 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPanel
, 0 | 0 );
22717 if (!SWIG_IsOK(res1
)) {
22718 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyPanel_DoGetBestSize" "', expected argument " "1"" of type '" "wxPyPanel const *""'");
22720 arg1
= reinterpret_cast< wxPyPanel
* >(argp1
);
22722 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22723 result
= ((wxPyPanel
const *)arg1
)->DoGetBestSize();
22724 wxPyEndAllowThreads(__tstate
);
22725 if (PyErr_Occurred()) SWIG_fail
;
22727 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
22734 SWIGINTERN PyObject
*_wrap_PyPanel_GetDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22735 PyObject
*resultobj
= 0;
22736 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
22737 SwigValueWrapper
<wxVisualAttributes
> result
;
22740 PyObject
*swig_obj
[1] ;
22742 if (!args
) SWIG_fail
;
22743 swig_obj
[0] = args
;
22744 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPanel
, 0 | 0 );
22745 if (!SWIG_IsOK(res1
)) {
22746 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyPanel_GetDefaultAttributes" "', expected argument " "1"" of type '" "wxPyPanel *""'");
22748 arg1
= reinterpret_cast< wxPyPanel
* >(argp1
);
22750 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22751 result
= (arg1
)->GetDefaultAttributes();
22752 wxPyEndAllowThreads(__tstate
);
22753 if (PyErr_Occurred()) SWIG_fail
;
22755 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
22762 SWIGINTERN PyObject
*_wrap_PyPanel_OnInternalIdle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22763 PyObject
*resultobj
= 0;
22764 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
22767 PyObject
*swig_obj
[1] ;
22769 if (!args
) SWIG_fail
;
22770 swig_obj
[0] = args
;
22771 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPanel
, 0 | 0 );
22772 if (!SWIG_IsOK(res1
)) {
22773 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyPanel_OnInternalIdle" "', expected argument " "1"" of type '" "wxPyPanel *""'");
22775 arg1
= reinterpret_cast< wxPyPanel
* >(argp1
);
22777 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22778 (arg1
)->OnInternalIdle();
22779 wxPyEndAllowThreads(__tstate
);
22780 if (PyErr_Occurred()) SWIG_fail
;
22782 resultobj
= SWIG_Py_Void();
22789 SWIGINTERN PyObject
*PyPanel_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22791 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
22792 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyPanel
, SWIG_NewClientData(obj
));
22793 return SWIG_Py_Void();
22796 SWIGINTERN PyObject
*PyPanel_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22797 return SWIG_Python_InitShadowInstance(args
);
22800 SWIGINTERN PyObject
*_wrap_new_PyScrolledWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22801 PyObject
*resultobj
= 0;
22802 wxWindow
*arg1
= (wxWindow
*) 0 ;
22803 int arg2
= (int) (int)-1 ;
22804 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
22805 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
22806 wxSize
const &arg4_defvalue
= wxDefaultSize
;
22807 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
22808 long arg5
= (long) 0 ;
22809 wxString
const &arg6_defvalue
= wxPyPanelNameStr
;
22810 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
22811 wxPyScrolledWindow
*result
= 0 ;
22820 bool temp6
= false ;
22821 PyObject
* obj0
= 0 ;
22822 PyObject
* obj1
= 0 ;
22823 PyObject
* obj2
= 0 ;
22824 PyObject
* obj3
= 0 ;
22825 PyObject
* obj4
= 0 ;
22826 PyObject
* obj5
= 0 ;
22827 char * kwnames
[] = {
22828 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
22831 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_PyScrolledWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
22832 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
22833 if (!SWIG_IsOK(res1
)) {
22834 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PyScrolledWindow" "', expected argument " "1"" of type '" "wxWindow *""'");
22836 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
22838 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
22839 if (!SWIG_IsOK(ecode2
)) {
22840 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_PyScrolledWindow" "', expected argument " "2"" of type '" "int""'");
22842 arg2
= static_cast< int >(val2
);
22847 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
22853 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
22857 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
22858 if (!SWIG_IsOK(ecode5
)) {
22859 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_PyScrolledWindow" "', expected argument " "5"" of type '" "long""'");
22861 arg5
= static_cast< long >(val5
);
22865 arg6
= wxString_in_helper(obj5
);
22866 if (arg6
== NULL
) SWIG_fail
;
22871 if (!wxPyCheckForApp()) SWIG_fail
;
22872 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22873 result
= (wxPyScrolledWindow
*)new wxPyScrolledWindow(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
22874 wxPyEndAllowThreads(__tstate
);
22875 if (PyErr_Occurred()) SWIG_fail
;
22877 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyScrolledWindow
, SWIG_POINTER_NEW
| 0 );
22892 SWIGINTERN PyObject
*_wrap_new_PrePyScrolledWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22893 PyObject
*resultobj
= 0;
22894 wxPyScrolledWindow
*result
= 0 ;
22896 if (!SWIG_Python_UnpackTuple(args
,"new_PrePyScrolledWindow",0,0,0)) SWIG_fail
;
22898 if (!wxPyCheckForApp()) SWIG_fail
;
22899 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22900 result
= (wxPyScrolledWindow
*)new wxPyScrolledWindow();
22901 wxPyEndAllowThreads(__tstate
);
22902 if (PyErr_Occurred()) SWIG_fail
;
22904 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyScrolledWindow
, SWIG_POINTER_OWN
| 0 );
22911 SWIGINTERN PyObject
*_wrap_PyScrolledWindow__setCallbackInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22912 PyObject
*resultobj
= 0;
22913 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
22914 PyObject
*arg2
= (PyObject
*) 0 ;
22915 PyObject
*arg3
= (PyObject
*) 0 ;
22918 PyObject
* obj0
= 0 ;
22919 PyObject
* obj1
= 0 ;
22920 PyObject
* obj2
= 0 ;
22921 char * kwnames
[] = {
22922 (char *) "self",(char *) "self",(char *) "_class", NULL
22925 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyScrolledWindow__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
22926 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyScrolledWindow
, 0 | 0 );
22927 if (!SWIG_IsOK(res1
)) {
22928 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyScrolledWindow__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyScrolledWindow *""'");
22930 arg1
= reinterpret_cast< wxPyScrolledWindow
* >(argp1
);
22934 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22935 (arg1
)->_setCallbackInfo(arg2
,arg3
);
22936 wxPyEndAllowThreads(__tstate
);
22937 if (PyErr_Occurred()) SWIG_fail
;
22939 resultobj
= SWIG_Py_Void();
22946 SWIGINTERN PyObject
*_wrap_PyScrolledWindow_DoEraseBackground(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22947 PyObject
*resultobj
= 0;
22948 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
22949 wxDC
*arg2
= (wxDC
*) 0 ;
22955 PyObject
* obj0
= 0 ;
22956 PyObject
* obj1
= 0 ;
22957 char * kwnames
[] = {
22958 (char *) "self",(char *) "dc", NULL
22961 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyScrolledWindow_DoEraseBackground",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
22962 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyScrolledWindow
, 0 | 0 );
22963 if (!SWIG_IsOK(res1
)) {
22964 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyScrolledWindow_DoEraseBackground" "', expected argument " "1"" of type '" "wxPyScrolledWindow *""'");
22966 arg1
= reinterpret_cast< wxPyScrolledWindow
* >(argp1
);
22967 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxDC
, 0 | 0 );
22968 if (!SWIG_IsOK(res2
)) {
22969 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PyScrolledWindow_DoEraseBackground" "', expected argument " "2"" of type '" "wxDC *""'");
22971 arg2
= reinterpret_cast< wxDC
* >(argp2
);
22973 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22974 result
= (bool)(arg1
)->DoEraseBackground(arg2
);
22975 wxPyEndAllowThreads(__tstate
);
22976 if (PyErr_Occurred()) SWIG_fail
;
22979 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22987 SWIGINTERN PyObject
*_wrap_PyScrolledWindow_DoMoveWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22988 PyObject
*resultobj
= 0;
22989 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
23004 PyObject
* obj0
= 0 ;
23005 PyObject
* obj1
= 0 ;
23006 PyObject
* obj2
= 0 ;
23007 PyObject
* obj3
= 0 ;
23008 PyObject
* obj4
= 0 ;
23009 char * kwnames
[] = {
23010 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
23013 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:PyScrolledWindow_DoMoveWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
23014 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyScrolledWindow
, 0 | 0 );
23015 if (!SWIG_IsOK(res1
)) {
23016 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyScrolledWindow_DoMoveWindow" "', expected argument " "1"" of type '" "wxPyScrolledWindow *""'");
23018 arg1
= reinterpret_cast< wxPyScrolledWindow
* >(argp1
);
23019 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
23020 if (!SWIG_IsOK(ecode2
)) {
23021 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PyScrolledWindow_DoMoveWindow" "', expected argument " "2"" of type '" "int""'");
23023 arg2
= static_cast< int >(val2
);
23024 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
23025 if (!SWIG_IsOK(ecode3
)) {
23026 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PyScrolledWindow_DoMoveWindow" "', expected argument " "3"" of type '" "int""'");
23028 arg3
= static_cast< int >(val3
);
23029 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
23030 if (!SWIG_IsOK(ecode4
)) {
23031 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PyScrolledWindow_DoMoveWindow" "', expected argument " "4"" of type '" "int""'");
23033 arg4
= static_cast< int >(val4
);
23034 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
23035 if (!SWIG_IsOK(ecode5
)) {
23036 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PyScrolledWindow_DoMoveWindow" "', expected argument " "5"" of type '" "int""'");
23038 arg5
= static_cast< int >(val5
);
23040 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23041 (arg1
)->DoMoveWindow(arg2
,arg3
,arg4
,arg5
);
23042 wxPyEndAllowThreads(__tstate
);
23043 if (PyErr_Occurred()) SWIG_fail
;
23045 resultobj
= SWIG_Py_Void();
23052 SWIGINTERN PyObject
*_wrap_PyScrolledWindow_DoSetSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23053 PyObject
*resultobj
= 0;
23054 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
23059 int arg6
= (int) wxSIZE_AUTO
;
23072 PyObject
* obj0
= 0 ;
23073 PyObject
* obj1
= 0 ;
23074 PyObject
* obj2
= 0 ;
23075 PyObject
* obj3
= 0 ;
23076 PyObject
* obj4
= 0 ;
23077 PyObject
* obj5
= 0 ;
23078 char * kwnames
[] = {
23079 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "sizeFlags", NULL
23082 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|O:PyScrolledWindow_DoSetSize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
23083 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyScrolledWindow
, 0 | 0 );
23084 if (!SWIG_IsOK(res1
)) {
23085 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyScrolledWindow_DoSetSize" "', expected argument " "1"" of type '" "wxPyScrolledWindow *""'");
23087 arg1
= reinterpret_cast< wxPyScrolledWindow
* >(argp1
);
23088 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
23089 if (!SWIG_IsOK(ecode2
)) {
23090 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PyScrolledWindow_DoSetSize" "', expected argument " "2"" of type '" "int""'");
23092 arg2
= static_cast< int >(val2
);
23093 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
23094 if (!SWIG_IsOK(ecode3
)) {
23095 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PyScrolledWindow_DoSetSize" "', expected argument " "3"" of type '" "int""'");
23097 arg3
= static_cast< int >(val3
);
23098 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
23099 if (!SWIG_IsOK(ecode4
)) {
23100 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PyScrolledWindow_DoSetSize" "', expected argument " "4"" of type '" "int""'");
23102 arg4
= static_cast< int >(val4
);
23103 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
23104 if (!SWIG_IsOK(ecode5
)) {
23105 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PyScrolledWindow_DoSetSize" "', expected argument " "5"" of type '" "int""'");
23107 arg5
= static_cast< int >(val5
);
23109 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
23110 if (!SWIG_IsOK(ecode6
)) {
23111 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "PyScrolledWindow_DoSetSize" "', expected argument " "6"" of type '" "int""'");
23113 arg6
= static_cast< int >(val6
);
23116 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23117 (arg1
)->DoSetSize(arg2
,arg3
,arg4
,arg5
,arg6
);
23118 wxPyEndAllowThreads(__tstate
);
23119 if (PyErr_Occurred()) SWIG_fail
;
23121 resultobj
= SWIG_Py_Void();
23128 SWIGINTERN PyObject
*_wrap_PyScrolledWindow_DoSetClientSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23129 PyObject
*resultobj
= 0;
23130 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
23139 PyObject
* obj0
= 0 ;
23140 PyObject
* obj1
= 0 ;
23141 PyObject
* obj2
= 0 ;
23142 char * kwnames
[] = {
23143 (char *) "self",(char *) "width",(char *) "height", NULL
23146 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyScrolledWindow_DoSetClientSize",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
23147 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyScrolledWindow
, 0 | 0 );
23148 if (!SWIG_IsOK(res1
)) {
23149 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyScrolledWindow_DoSetClientSize" "', expected argument " "1"" of type '" "wxPyScrolledWindow *""'");
23151 arg1
= reinterpret_cast< wxPyScrolledWindow
* >(argp1
);
23152 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
23153 if (!SWIG_IsOK(ecode2
)) {
23154 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PyScrolledWindow_DoSetClientSize" "', expected argument " "2"" of type '" "int""'");
23156 arg2
= static_cast< int >(val2
);
23157 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
23158 if (!SWIG_IsOK(ecode3
)) {
23159 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PyScrolledWindow_DoSetClientSize" "', expected argument " "3"" of type '" "int""'");
23161 arg3
= static_cast< int >(val3
);
23163 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23164 (arg1
)->DoSetClientSize(arg2
,arg3
);
23165 wxPyEndAllowThreads(__tstate
);
23166 if (PyErr_Occurred()) SWIG_fail
;
23168 resultobj
= SWIG_Py_Void();
23175 SWIGINTERN PyObject
*_wrap_PyScrolledWindow_DoSetVirtualSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23176 PyObject
*resultobj
= 0;
23177 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
23186 PyObject
* obj0
= 0 ;
23187 PyObject
* obj1
= 0 ;
23188 PyObject
* obj2
= 0 ;
23189 char * kwnames
[] = {
23190 (char *) "self",(char *) "x",(char *) "y", NULL
23193 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyScrolledWindow_DoSetVirtualSize",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
23194 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyScrolledWindow
, 0 | 0 );
23195 if (!SWIG_IsOK(res1
)) {
23196 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyScrolledWindow_DoSetVirtualSize" "', expected argument " "1"" of type '" "wxPyScrolledWindow *""'");
23198 arg1
= reinterpret_cast< wxPyScrolledWindow
* >(argp1
);
23199 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
23200 if (!SWIG_IsOK(ecode2
)) {
23201 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PyScrolledWindow_DoSetVirtualSize" "', expected argument " "2"" of type '" "int""'");
23203 arg2
= static_cast< int >(val2
);
23204 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
23205 if (!SWIG_IsOK(ecode3
)) {
23206 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PyScrolledWindow_DoSetVirtualSize" "', expected argument " "3"" of type '" "int""'");
23208 arg3
= static_cast< int >(val3
);
23210 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23211 (arg1
)->DoSetVirtualSize(arg2
,arg3
);
23212 wxPyEndAllowThreads(__tstate
);
23213 if (PyErr_Occurred()) SWIG_fail
;
23215 resultobj
= SWIG_Py_Void();
23222 SWIGINTERN PyObject
*_wrap_PyScrolledWindow_DoGetSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23223 PyObject
*resultobj
= 0;
23224 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
23225 int *arg2
= (int *) 0 ;
23226 int *arg3
= (int *) 0 ;
23230 int res2
= SWIG_TMPOBJ
;
23232 int res3
= SWIG_TMPOBJ
;
23233 PyObject
*swig_obj
[1] ;
23237 if (!args
) SWIG_fail
;
23238 swig_obj
[0] = args
;
23239 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyScrolledWindow
, 0 | 0 );
23240 if (!SWIG_IsOK(res1
)) {
23241 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyScrolledWindow_DoGetSize" "', expected argument " "1"" of type '" "wxPyScrolledWindow const *""'");
23243 arg1
= reinterpret_cast< wxPyScrolledWindow
* >(argp1
);
23245 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23246 ((wxPyScrolledWindow
const *)arg1
)->DoGetSize(arg2
,arg3
);
23247 wxPyEndAllowThreads(__tstate
);
23248 if (PyErr_Occurred()) SWIG_fail
;
23250 resultobj
= SWIG_Py_Void();
23251 if (SWIG_IsTmpObj(res2
)) {
23252 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
23254 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
23255 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
23257 if (SWIG_IsTmpObj(res3
)) {
23258 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
23260 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
23261 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
23269 SWIGINTERN PyObject
*_wrap_PyScrolledWindow_DoGetClientSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23270 PyObject
*resultobj
= 0;
23271 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
23272 int *arg2
= (int *) 0 ;
23273 int *arg3
= (int *) 0 ;
23277 int res2
= SWIG_TMPOBJ
;
23279 int res3
= SWIG_TMPOBJ
;
23280 PyObject
*swig_obj
[1] ;
23284 if (!args
) SWIG_fail
;
23285 swig_obj
[0] = args
;
23286 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyScrolledWindow
, 0 | 0 );
23287 if (!SWIG_IsOK(res1
)) {
23288 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyScrolledWindow_DoGetClientSize" "', expected argument " "1"" of type '" "wxPyScrolledWindow const *""'");
23290 arg1
= reinterpret_cast< wxPyScrolledWindow
* >(argp1
);
23292 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23293 ((wxPyScrolledWindow
const *)arg1
)->DoGetClientSize(arg2
,arg3
);
23294 wxPyEndAllowThreads(__tstate
);
23295 if (PyErr_Occurred()) SWIG_fail
;
23297 resultobj
= SWIG_Py_Void();
23298 if (SWIG_IsTmpObj(res2
)) {
23299 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
23301 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
23302 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
23304 if (SWIG_IsTmpObj(res3
)) {
23305 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
23307 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
23308 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
23316 SWIGINTERN PyObject
*_wrap_PyScrolledWindow_DoGetPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23317 PyObject
*resultobj
= 0;
23318 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
23319 int *arg2
= (int *) 0 ;
23320 int *arg3
= (int *) 0 ;
23324 int res2
= SWIG_TMPOBJ
;
23326 int res3
= SWIG_TMPOBJ
;
23327 PyObject
*swig_obj
[1] ;
23331 if (!args
) SWIG_fail
;
23332 swig_obj
[0] = args
;
23333 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyScrolledWindow
, 0 | 0 );
23334 if (!SWIG_IsOK(res1
)) {
23335 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyScrolledWindow_DoGetPosition" "', expected argument " "1"" of type '" "wxPyScrolledWindow const *""'");
23337 arg1
= reinterpret_cast< wxPyScrolledWindow
* >(argp1
);
23339 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23340 ((wxPyScrolledWindow
const *)arg1
)->DoGetPosition(arg2
,arg3
);
23341 wxPyEndAllowThreads(__tstate
);
23342 if (PyErr_Occurred()) SWIG_fail
;
23344 resultobj
= SWIG_Py_Void();
23345 if (SWIG_IsTmpObj(res2
)) {
23346 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
23348 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
23349 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
23351 if (SWIG_IsTmpObj(res3
)) {
23352 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
23354 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
23355 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
23363 SWIGINTERN PyObject
*_wrap_PyScrolledWindow_DoGetVirtualSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23364 PyObject
*resultobj
= 0;
23365 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
23369 PyObject
*swig_obj
[1] ;
23371 if (!args
) SWIG_fail
;
23372 swig_obj
[0] = args
;
23373 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyScrolledWindow
, 0 | 0 );
23374 if (!SWIG_IsOK(res1
)) {
23375 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyScrolledWindow_DoGetVirtualSize" "', expected argument " "1"" of type '" "wxPyScrolledWindow const *""'");
23377 arg1
= reinterpret_cast< wxPyScrolledWindow
* >(argp1
);
23379 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23380 result
= ((wxPyScrolledWindow
const *)arg1
)->DoGetVirtualSize();
23381 wxPyEndAllowThreads(__tstate
);
23382 if (PyErr_Occurred()) SWIG_fail
;
23384 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
23391 SWIGINTERN PyObject
*_wrap_PyScrolledWindow_DoGetBestSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23392 PyObject
*resultobj
= 0;
23393 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
23397 PyObject
*swig_obj
[1] ;
23399 if (!args
) SWIG_fail
;
23400 swig_obj
[0] = args
;
23401 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyScrolledWindow
, 0 | 0 );
23402 if (!SWIG_IsOK(res1
)) {
23403 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyScrolledWindow_DoGetBestSize" "', expected argument " "1"" of type '" "wxPyScrolledWindow const *""'");
23405 arg1
= reinterpret_cast< wxPyScrolledWindow
* >(argp1
);
23407 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23408 result
= ((wxPyScrolledWindow
const *)arg1
)->DoGetBestSize();
23409 wxPyEndAllowThreads(__tstate
);
23410 if (PyErr_Occurred()) SWIG_fail
;
23412 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
23419 SWIGINTERN PyObject
*_wrap_PyScrolledWindow_GetDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23420 PyObject
*resultobj
= 0;
23421 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
23422 SwigValueWrapper
<wxVisualAttributes
> result
;
23425 PyObject
*swig_obj
[1] ;
23427 if (!args
) SWIG_fail
;
23428 swig_obj
[0] = args
;
23429 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyScrolledWindow
, 0 | 0 );
23430 if (!SWIG_IsOK(res1
)) {
23431 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyScrolledWindow_GetDefaultAttributes" "', expected argument " "1"" of type '" "wxPyScrolledWindow *""'");
23433 arg1
= reinterpret_cast< wxPyScrolledWindow
* >(argp1
);
23435 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23436 result
= (arg1
)->GetDefaultAttributes();
23437 wxPyEndAllowThreads(__tstate
);
23438 if (PyErr_Occurred()) SWIG_fail
;
23440 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
23447 SWIGINTERN PyObject
*_wrap_PyScrolledWindow_OnInternalIdle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23448 PyObject
*resultobj
= 0;
23449 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
23452 PyObject
*swig_obj
[1] ;
23454 if (!args
) SWIG_fail
;
23455 swig_obj
[0] = args
;
23456 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyScrolledWindow
, 0 | 0 );
23457 if (!SWIG_IsOK(res1
)) {
23458 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyScrolledWindow_OnInternalIdle" "', expected argument " "1"" of type '" "wxPyScrolledWindow *""'");
23460 arg1
= reinterpret_cast< wxPyScrolledWindow
* >(argp1
);
23462 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23463 (arg1
)->OnInternalIdle();
23464 wxPyEndAllowThreads(__tstate
);
23465 if (PyErr_Occurred()) SWIG_fail
;
23467 resultobj
= SWIG_Py_Void();
23474 SWIGINTERN PyObject
*PyScrolledWindow_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23476 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
23477 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyScrolledWindow
, SWIG_NewClientData(obj
));
23478 return SWIG_Py_Void();
23481 SWIGINTERN PyObject
*PyScrolledWindow_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23482 return SWIG_Python_InitShadowInstance(args
);
23485 SWIGINTERN
int PrintoutTitleStr_set(PyObject
*) {
23486 SWIG_Error(SWIG_AttributeError
,"Variable PrintoutTitleStr is read-only.");
23491 SWIGINTERN PyObject
*PrintoutTitleStr_get(void) {
23492 PyObject
*pyobj
= 0;
23496 pyobj
= PyUnicode_FromWideChar((&wxPyPrintoutTitleStr
)->c_str(), (&wxPyPrintoutTitleStr
)->Len());
23498 pyobj
= PyString_FromStringAndSize((&wxPyPrintoutTitleStr
)->c_str(), (&wxPyPrintoutTitleStr
)->Len());
23505 SWIGINTERN
int PreviewCanvasNameStr_set(PyObject
*) {
23506 SWIG_Error(SWIG_AttributeError
,"Variable PreviewCanvasNameStr is read-only.");
23511 SWIGINTERN PyObject
*PreviewCanvasNameStr_get(void) {
23512 PyObject
*pyobj
= 0;
23516 pyobj
= PyUnicode_FromWideChar((&wxPyPreviewCanvasNameStr
)->c_str(), (&wxPyPreviewCanvasNameStr
)->Len());
23518 pyobj
= PyString_FromStringAndSize((&wxPyPreviewCanvasNameStr
)->c_str(), (&wxPyPreviewCanvasNameStr
)->Len());
23525 SWIGINTERN PyObject
*_wrap_new_PrintData__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**SWIGUNUSEDPARM(swig_obj
)) {
23526 PyObject
*resultobj
= 0;
23527 wxPrintData
*result
= 0 ;
23529 if ((nobjs
< 0) || (nobjs
> 0)) SWIG_fail
;
23531 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23532 result
= (wxPrintData
*)new wxPrintData();
23533 wxPyEndAllowThreads(__tstate
);
23534 if (PyErr_Occurred()) SWIG_fail
;
23536 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPrintData
, SWIG_POINTER_NEW
| 0 );
23543 SWIGINTERN PyObject
*_wrap_new_PrintData__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
23544 PyObject
*resultobj
= 0;
23545 wxPrintData
*arg1
= 0 ;
23546 wxPrintData
*result
= 0 ;
23550 if ((nobjs
< 1) || (nobjs
> 1)) SWIG_fail
;
23551 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
, SWIGTYPE_p_wxPrintData
, 0 | 0);
23552 if (!SWIG_IsOK(res1
)) {
23553 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PrintData" "', expected argument " "1"" of type '" "wxPrintData const &""'");
23556 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_PrintData" "', expected argument " "1"" of type '" "wxPrintData const &""'");
23558 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
23560 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23561 result
= (wxPrintData
*)new wxPrintData((wxPrintData
const &)*arg1
);
23562 wxPyEndAllowThreads(__tstate
);
23563 if (PyErr_Occurred()) SWIG_fail
;
23565 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPrintData
, SWIG_POINTER_NEW
| 0 );
23572 SWIGINTERN PyObject
*_wrap_new_PrintData(PyObject
*self
, PyObject
*args
) {
23576 if (!(argc
= SWIG_Python_UnpackTuple(args
,"new_PrintData",0,1,argv
))) SWIG_fail
;
23579 return _wrap_new_PrintData__SWIG_0(self
, argc
, argv
);
23582 return _wrap_new_PrintData__SWIG_1(self
, argc
, argv
);
23586 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'new_PrintData'");
23591 SWIGINTERN PyObject
*_wrap_delete_PrintData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23592 PyObject
*resultobj
= 0;
23593 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
23596 PyObject
*swig_obj
[1] ;
23598 if (!args
) SWIG_fail
;
23599 swig_obj
[0] = args
;
23600 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintData
, SWIG_POINTER_DISOWN
| 0 );
23601 if (!SWIG_IsOK(res1
)) {
23602 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_PrintData" "', expected argument " "1"" of type '" "wxPrintData *""'");
23604 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
23606 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23609 wxPyEndAllowThreads(__tstate
);
23610 if (PyErr_Occurred()) SWIG_fail
;
23612 resultobj
= SWIG_Py_Void();
23619 SWIGINTERN PyObject
*_wrap_PrintData_GetNoCopies(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23620 PyObject
*resultobj
= 0;
23621 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
23625 PyObject
*swig_obj
[1] ;
23627 if (!args
) SWIG_fail
;
23628 swig_obj
[0] = args
;
23629 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
23630 if (!SWIG_IsOK(res1
)) {
23631 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_GetNoCopies" "', expected argument " "1"" of type '" "wxPrintData *""'");
23633 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
23635 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23636 result
= (int)(arg1
)->GetNoCopies();
23637 wxPyEndAllowThreads(__tstate
);
23638 if (PyErr_Occurred()) SWIG_fail
;
23640 resultobj
= SWIG_From_int(static_cast< int >(result
));
23647 SWIGINTERN PyObject
*_wrap_PrintData_GetCollate(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23648 PyObject
*resultobj
= 0;
23649 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
23653 PyObject
*swig_obj
[1] ;
23655 if (!args
) SWIG_fail
;
23656 swig_obj
[0] = args
;
23657 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
23658 if (!SWIG_IsOK(res1
)) {
23659 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_GetCollate" "', expected argument " "1"" of type '" "wxPrintData *""'");
23661 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
23663 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23664 result
= (bool)(arg1
)->GetCollate();
23665 wxPyEndAllowThreads(__tstate
);
23666 if (PyErr_Occurred()) SWIG_fail
;
23669 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23677 SWIGINTERN PyObject
*_wrap_PrintData_GetOrientation(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23678 PyObject
*resultobj
= 0;
23679 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
23683 PyObject
*swig_obj
[1] ;
23685 if (!args
) SWIG_fail
;
23686 swig_obj
[0] = args
;
23687 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
23688 if (!SWIG_IsOK(res1
)) {
23689 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_GetOrientation" "', expected argument " "1"" of type '" "wxPrintData *""'");
23691 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
23693 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23694 result
= (int)(arg1
)->GetOrientation();
23695 wxPyEndAllowThreads(__tstate
);
23696 if (PyErr_Occurred()) SWIG_fail
;
23698 resultobj
= SWIG_From_int(static_cast< int >(result
));
23705 SWIGINTERN PyObject
*_wrap_PrintData_IsOk(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23706 PyObject
*resultobj
= 0;
23707 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
23711 PyObject
*swig_obj
[1] ;
23713 if (!args
) SWIG_fail
;
23714 swig_obj
[0] = args
;
23715 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
23716 if (!SWIG_IsOK(res1
)) {
23717 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_IsOk" "', expected argument " "1"" of type '" "wxPrintData *""'");
23719 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
23721 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23722 result
= (bool)(arg1
)->IsOk();
23723 wxPyEndAllowThreads(__tstate
);
23724 if (PyErr_Occurred()) SWIG_fail
;
23727 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23735 SWIGINTERN PyObject
*_wrap_PrintData_GetPrinterName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23736 PyObject
*resultobj
= 0;
23737 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
23738 wxString
*result
= 0 ;
23741 PyObject
*swig_obj
[1] ;
23743 if (!args
) SWIG_fail
;
23744 swig_obj
[0] = args
;
23745 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
23746 if (!SWIG_IsOK(res1
)) {
23747 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_GetPrinterName" "', expected argument " "1"" of type '" "wxPrintData *""'");
23749 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
23751 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23753 wxString
const &_result_ref
= (arg1
)->GetPrinterName();
23754 result
= (wxString
*) &_result_ref
;
23756 wxPyEndAllowThreads(__tstate
);
23757 if (PyErr_Occurred()) SWIG_fail
;
23761 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
23763 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
23772 SWIGINTERN PyObject
*_wrap_PrintData_GetColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23773 PyObject
*resultobj
= 0;
23774 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
23778 PyObject
*swig_obj
[1] ;
23780 if (!args
) SWIG_fail
;
23781 swig_obj
[0] = args
;
23782 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
23783 if (!SWIG_IsOK(res1
)) {
23784 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_GetColour" "', expected argument " "1"" of type '" "wxPrintData *""'");
23786 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
23788 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23789 result
= (bool)(arg1
)->GetColour();
23790 wxPyEndAllowThreads(__tstate
);
23791 if (PyErr_Occurred()) SWIG_fail
;
23794 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23802 SWIGINTERN PyObject
*_wrap_PrintData_GetDuplex(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23803 PyObject
*resultobj
= 0;
23804 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
23805 wxDuplexMode result
;
23808 PyObject
*swig_obj
[1] ;
23810 if (!args
) SWIG_fail
;
23811 swig_obj
[0] = args
;
23812 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
23813 if (!SWIG_IsOK(res1
)) {
23814 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_GetDuplex" "', expected argument " "1"" of type '" "wxPrintData *""'");
23816 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
23818 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23819 result
= (wxDuplexMode
)(arg1
)->GetDuplex();
23820 wxPyEndAllowThreads(__tstate
);
23821 if (PyErr_Occurred()) SWIG_fail
;
23823 resultobj
= SWIG_From_int(static_cast< int >(result
));
23830 SWIGINTERN PyObject
*_wrap_PrintData_GetPaperId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23831 PyObject
*resultobj
= 0;
23832 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
23833 wxPaperSize result
;
23836 PyObject
*swig_obj
[1] ;
23838 if (!args
) SWIG_fail
;
23839 swig_obj
[0] = args
;
23840 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
23841 if (!SWIG_IsOK(res1
)) {
23842 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_GetPaperId" "', expected argument " "1"" of type '" "wxPrintData *""'");
23844 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
23846 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23847 result
= (wxPaperSize
)(arg1
)->GetPaperId();
23848 wxPyEndAllowThreads(__tstate
);
23849 if (PyErr_Occurred()) SWIG_fail
;
23851 resultobj
= SWIG_From_int(static_cast< int >(result
));
23858 SWIGINTERN PyObject
*_wrap_PrintData_GetPaperSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23859 PyObject
*resultobj
= 0;
23860 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
23861 wxSize
*result
= 0 ;
23864 PyObject
*swig_obj
[1] ;
23866 if (!args
) SWIG_fail
;
23867 swig_obj
[0] = args
;
23868 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
23869 if (!SWIG_IsOK(res1
)) {
23870 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_GetPaperSize" "', expected argument " "1"" of type '" "wxPrintData *""'");
23872 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
23874 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23876 wxSize
const &_result_ref
= (arg1
)->GetPaperSize();
23877 result
= (wxSize
*) &_result_ref
;
23879 wxPyEndAllowThreads(__tstate
);
23880 if (PyErr_Occurred()) SWIG_fail
;
23882 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSize
, 0 | 0 );
23889 SWIGINTERN PyObject
*_wrap_PrintData_GetQuality(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23890 PyObject
*resultobj
= 0;
23891 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
23895 PyObject
*swig_obj
[1] ;
23897 if (!args
) SWIG_fail
;
23898 swig_obj
[0] = args
;
23899 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
23900 if (!SWIG_IsOK(res1
)) {
23901 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_GetQuality" "', expected argument " "1"" of type '" "wxPrintData *""'");
23903 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
23905 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23906 result
= (int)(arg1
)->GetQuality();
23907 wxPyEndAllowThreads(__tstate
);
23908 if (PyErr_Occurred()) SWIG_fail
;
23910 resultobj
= SWIG_From_int(static_cast< int >(result
));
23917 SWIGINTERN PyObject
*_wrap_PrintData_GetBin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23918 PyObject
*resultobj
= 0;
23919 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
23923 PyObject
*swig_obj
[1] ;
23925 if (!args
) SWIG_fail
;
23926 swig_obj
[0] = args
;
23927 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
23928 if (!SWIG_IsOK(res1
)) {
23929 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_GetBin" "', expected argument " "1"" of type '" "wxPrintData *""'");
23931 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
23933 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23934 result
= (wxPrintBin
)(arg1
)->GetBin();
23935 wxPyEndAllowThreads(__tstate
);
23936 if (PyErr_Occurred()) SWIG_fail
;
23938 resultobj
= SWIG_From_int(static_cast< int >(result
));
23945 SWIGINTERN PyObject
*_wrap_PrintData_GetPrintMode(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23946 PyObject
*resultobj
= 0;
23947 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
23948 wxPrintMode result
;
23951 PyObject
*swig_obj
[1] ;
23953 if (!args
) SWIG_fail
;
23954 swig_obj
[0] = args
;
23955 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
23956 if (!SWIG_IsOK(res1
)) {
23957 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_GetPrintMode" "', expected argument " "1"" of type '" "wxPrintData const *""'");
23959 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
23961 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23962 result
= (wxPrintMode
)((wxPrintData
const *)arg1
)->GetPrintMode();
23963 wxPyEndAllowThreads(__tstate
);
23964 if (PyErr_Occurred()) SWIG_fail
;
23966 resultobj
= SWIG_From_int(static_cast< int >(result
));
23973 SWIGINTERN PyObject
*_wrap_PrintData_GetMedia(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23974 PyObject
*resultobj
= 0;
23975 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
23979 PyObject
*swig_obj
[1] ;
23981 if (!args
) SWIG_fail
;
23982 swig_obj
[0] = args
;
23983 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
23984 if (!SWIG_IsOK(res1
)) {
23985 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_GetMedia" "', expected argument " "1"" of type '" "wxPrintData const *""'");
23987 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
23989 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23990 result
= (int)((wxPrintData
const *)arg1
)->GetMedia();
23991 wxPyEndAllowThreads(__tstate
);
23992 if (PyErr_Occurred()) SWIG_fail
;
23994 resultobj
= SWIG_From_int(static_cast< int >(result
));
24001 SWIGINTERN PyObject
*_wrap_PrintData_SetNoCopies(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24002 PyObject
*resultobj
= 0;
24003 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
24009 PyObject
* obj0
= 0 ;
24010 PyObject
* obj1
= 0 ;
24011 char * kwnames
[] = {
24012 (char *) "self",(char *) "v", NULL
24015 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetNoCopies",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24016 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
24017 if (!SWIG_IsOK(res1
)) {
24018 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_SetNoCopies" "', expected argument " "1"" of type '" "wxPrintData *""'");
24020 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
24021 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24022 if (!SWIG_IsOK(ecode2
)) {
24023 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintData_SetNoCopies" "', expected argument " "2"" of type '" "int""'");
24025 arg2
= static_cast< int >(val2
);
24027 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24028 (arg1
)->SetNoCopies(arg2
);
24029 wxPyEndAllowThreads(__tstate
);
24030 if (PyErr_Occurred()) SWIG_fail
;
24032 resultobj
= SWIG_Py_Void();
24039 SWIGINTERN PyObject
*_wrap_PrintData_SetCollate(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24040 PyObject
*resultobj
= 0;
24041 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
24047 PyObject
* obj0
= 0 ;
24048 PyObject
* obj1
= 0 ;
24049 char * kwnames
[] = {
24050 (char *) "self",(char *) "flag", NULL
24053 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetCollate",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24054 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
24055 if (!SWIG_IsOK(res1
)) {
24056 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_SetCollate" "', expected argument " "1"" of type '" "wxPrintData *""'");
24058 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
24059 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
24060 if (!SWIG_IsOK(ecode2
)) {
24061 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintData_SetCollate" "', expected argument " "2"" of type '" "bool""'");
24063 arg2
= static_cast< bool >(val2
);
24065 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24066 (arg1
)->SetCollate(arg2
);
24067 wxPyEndAllowThreads(__tstate
);
24068 if (PyErr_Occurred()) SWIG_fail
;
24070 resultobj
= SWIG_Py_Void();
24077 SWIGINTERN PyObject
*_wrap_PrintData_SetOrientation(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24078 PyObject
*resultobj
= 0;
24079 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
24085 PyObject
* obj0
= 0 ;
24086 PyObject
* obj1
= 0 ;
24087 char * kwnames
[] = {
24088 (char *) "self",(char *) "orient", NULL
24091 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetOrientation",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24092 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
24093 if (!SWIG_IsOK(res1
)) {
24094 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_SetOrientation" "', expected argument " "1"" of type '" "wxPrintData *""'");
24096 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
24097 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24098 if (!SWIG_IsOK(ecode2
)) {
24099 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintData_SetOrientation" "', expected argument " "2"" of type '" "int""'");
24101 arg2
= static_cast< int >(val2
);
24103 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24104 (arg1
)->SetOrientation(arg2
);
24105 wxPyEndAllowThreads(__tstate
);
24106 if (PyErr_Occurred()) SWIG_fail
;
24108 resultobj
= SWIG_Py_Void();
24115 SWIGINTERN PyObject
*_wrap_PrintData_SetPrinterName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24116 PyObject
*resultobj
= 0;
24117 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
24118 wxString
*arg2
= 0 ;
24121 bool temp2
= false ;
24122 PyObject
* obj0
= 0 ;
24123 PyObject
* obj1
= 0 ;
24124 char * kwnames
[] = {
24125 (char *) "self",(char *) "name", NULL
24128 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetPrinterName",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24129 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
24130 if (!SWIG_IsOK(res1
)) {
24131 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_SetPrinterName" "', expected argument " "1"" of type '" "wxPrintData *""'");
24133 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
24135 arg2
= wxString_in_helper(obj1
);
24136 if (arg2
== NULL
) SWIG_fail
;
24140 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24141 (arg1
)->SetPrinterName((wxString
const &)*arg2
);
24142 wxPyEndAllowThreads(__tstate
);
24143 if (PyErr_Occurred()) SWIG_fail
;
24145 resultobj
= SWIG_Py_Void();
24160 SWIGINTERN PyObject
*_wrap_PrintData_SetColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24161 PyObject
*resultobj
= 0;
24162 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
24168 PyObject
* obj0
= 0 ;
24169 PyObject
* obj1
= 0 ;
24170 char * kwnames
[] = {
24171 (char *) "self",(char *) "colour", NULL
24174 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24175 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
24176 if (!SWIG_IsOK(res1
)) {
24177 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_SetColour" "', expected argument " "1"" of type '" "wxPrintData *""'");
24179 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
24180 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
24181 if (!SWIG_IsOK(ecode2
)) {
24182 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintData_SetColour" "', expected argument " "2"" of type '" "bool""'");
24184 arg2
= static_cast< bool >(val2
);
24186 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24187 (arg1
)->SetColour(arg2
);
24188 wxPyEndAllowThreads(__tstate
);
24189 if (PyErr_Occurred()) SWIG_fail
;
24191 resultobj
= SWIG_Py_Void();
24198 SWIGINTERN PyObject
*_wrap_PrintData_SetDuplex(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24199 PyObject
*resultobj
= 0;
24200 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
24201 wxDuplexMode arg2
;
24206 PyObject
* obj0
= 0 ;
24207 PyObject
* obj1
= 0 ;
24208 char * kwnames
[] = {
24209 (char *) "self",(char *) "duplex", NULL
24212 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetDuplex",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24213 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
24214 if (!SWIG_IsOK(res1
)) {
24215 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_SetDuplex" "', expected argument " "1"" of type '" "wxPrintData *""'");
24217 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
24218 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24219 if (!SWIG_IsOK(ecode2
)) {
24220 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintData_SetDuplex" "', expected argument " "2"" of type '" "wxDuplexMode""'");
24222 arg2
= static_cast< wxDuplexMode
>(val2
);
24224 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24225 (arg1
)->SetDuplex(arg2
);
24226 wxPyEndAllowThreads(__tstate
);
24227 if (PyErr_Occurred()) SWIG_fail
;
24229 resultobj
= SWIG_Py_Void();
24236 SWIGINTERN PyObject
*_wrap_PrintData_SetPaperId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24237 PyObject
*resultobj
= 0;
24238 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
24244 PyObject
* obj0
= 0 ;
24245 PyObject
* obj1
= 0 ;
24246 char * kwnames
[] = {
24247 (char *) "self",(char *) "sizeId", NULL
24250 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetPaperId",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24251 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
24252 if (!SWIG_IsOK(res1
)) {
24253 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_SetPaperId" "', expected argument " "1"" of type '" "wxPrintData *""'");
24255 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
24256 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24257 if (!SWIG_IsOK(ecode2
)) {
24258 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintData_SetPaperId" "', expected argument " "2"" of type '" "wxPaperSize""'");
24260 arg2
= static_cast< wxPaperSize
>(val2
);
24262 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24263 (arg1
)->SetPaperId(arg2
);
24264 wxPyEndAllowThreads(__tstate
);
24265 if (PyErr_Occurred()) SWIG_fail
;
24267 resultobj
= SWIG_Py_Void();
24274 SWIGINTERN PyObject
*_wrap_PrintData_SetPaperSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24275 PyObject
*resultobj
= 0;
24276 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
24281 PyObject
* obj0
= 0 ;
24282 PyObject
* obj1
= 0 ;
24283 char * kwnames
[] = {
24284 (char *) "self",(char *) "sz", NULL
24287 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetPaperSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24288 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
24289 if (!SWIG_IsOK(res1
)) {
24290 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_SetPaperSize" "', expected argument " "1"" of type '" "wxPrintData *""'");
24292 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
24295 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
24298 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24299 (arg1
)->SetPaperSize((wxSize
const &)*arg2
);
24300 wxPyEndAllowThreads(__tstate
);
24301 if (PyErr_Occurred()) SWIG_fail
;
24303 resultobj
= SWIG_Py_Void();
24310 SWIGINTERN PyObject
*_wrap_PrintData_SetQuality(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24311 PyObject
*resultobj
= 0;
24312 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
24318 PyObject
* obj0
= 0 ;
24319 PyObject
* obj1
= 0 ;
24320 char * kwnames
[] = {
24321 (char *) "self",(char *) "quality", NULL
24324 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetQuality",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24325 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
24326 if (!SWIG_IsOK(res1
)) {
24327 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_SetQuality" "', expected argument " "1"" of type '" "wxPrintData *""'");
24329 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
24330 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24331 if (!SWIG_IsOK(ecode2
)) {
24332 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintData_SetQuality" "', expected argument " "2"" of type '" "int""'");
24334 arg2
= static_cast< int >(val2
);
24336 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24337 (arg1
)->SetQuality(arg2
);
24338 wxPyEndAllowThreads(__tstate
);
24339 if (PyErr_Occurred()) SWIG_fail
;
24341 resultobj
= SWIG_Py_Void();
24348 SWIGINTERN PyObject
*_wrap_PrintData_SetBin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24349 PyObject
*resultobj
= 0;
24350 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
24356 PyObject
* obj0
= 0 ;
24357 PyObject
* obj1
= 0 ;
24358 char * kwnames
[] = {
24359 (char *) "self",(char *) "bin", NULL
24362 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetBin",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24363 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
24364 if (!SWIG_IsOK(res1
)) {
24365 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_SetBin" "', expected argument " "1"" of type '" "wxPrintData *""'");
24367 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
24368 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24369 if (!SWIG_IsOK(ecode2
)) {
24370 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintData_SetBin" "', expected argument " "2"" of type '" "wxPrintBin""'");
24372 arg2
= static_cast< wxPrintBin
>(val2
);
24374 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24375 (arg1
)->SetBin(arg2
);
24376 wxPyEndAllowThreads(__tstate
);
24377 if (PyErr_Occurred()) SWIG_fail
;
24379 resultobj
= SWIG_Py_Void();
24386 SWIGINTERN PyObject
*_wrap_PrintData_SetPrintMode(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24387 PyObject
*resultobj
= 0;
24388 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
24394 PyObject
* obj0
= 0 ;
24395 PyObject
* obj1
= 0 ;
24396 char * kwnames
[] = {
24397 (char *) "self",(char *) "printMode", NULL
24400 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetPrintMode",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24401 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
24402 if (!SWIG_IsOK(res1
)) {
24403 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_SetPrintMode" "', expected argument " "1"" of type '" "wxPrintData *""'");
24405 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
24406 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24407 if (!SWIG_IsOK(ecode2
)) {
24408 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintData_SetPrintMode" "', expected argument " "2"" of type '" "wxPrintMode""'");
24410 arg2
= static_cast< wxPrintMode
>(val2
);
24412 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24413 (arg1
)->SetPrintMode(arg2
);
24414 wxPyEndAllowThreads(__tstate
);
24415 if (PyErr_Occurred()) SWIG_fail
;
24417 resultobj
= SWIG_Py_Void();
24424 SWIGINTERN PyObject
*_wrap_PrintData_SetMedia(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24425 PyObject
*resultobj
= 0;
24426 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
24432 PyObject
* obj0
= 0 ;
24433 PyObject
* obj1
= 0 ;
24434 char * kwnames
[] = {
24435 (char *) "self",(char *) "media", NULL
24438 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetMedia",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24439 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
24440 if (!SWIG_IsOK(res1
)) {
24441 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_SetMedia" "', expected argument " "1"" of type '" "wxPrintData *""'");
24443 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
24444 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24445 if (!SWIG_IsOK(ecode2
)) {
24446 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintData_SetMedia" "', expected argument " "2"" of type '" "int""'");
24448 arg2
= static_cast< int >(val2
);
24450 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24451 (arg1
)->SetMedia(arg2
);
24452 wxPyEndAllowThreads(__tstate
);
24453 if (PyErr_Occurred()) SWIG_fail
;
24455 resultobj
= SWIG_Py_Void();
24462 SWIGINTERN PyObject
*_wrap_PrintData_GetFilename(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24463 PyObject
*resultobj
= 0;
24464 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
24468 PyObject
*swig_obj
[1] ;
24470 if (!args
) SWIG_fail
;
24471 swig_obj
[0] = args
;
24472 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
24473 if (!SWIG_IsOK(res1
)) {
24474 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_GetFilename" "', expected argument " "1"" of type '" "wxPrintData const *""'");
24476 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
24478 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24479 result
= ((wxPrintData
const *)arg1
)->GetFilename();
24480 wxPyEndAllowThreads(__tstate
);
24481 if (PyErr_Occurred()) SWIG_fail
;
24485 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
24487 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
24496 SWIGINTERN PyObject
*_wrap_PrintData_SetFilename(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24497 PyObject
*resultobj
= 0;
24498 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
24499 wxString
*arg2
= 0 ;
24502 bool temp2
= false ;
24503 PyObject
* obj0
= 0 ;
24504 PyObject
* obj1
= 0 ;
24505 char * kwnames
[] = {
24506 (char *) "self",(char *) "filename", NULL
24509 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetFilename",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24510 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
24511 if (!SWIG_IsOK(res1
)) {
24512 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_SetFilename" "', expected argument " "1"" of type '" "wxPrintData *""'");
24514 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
24516 arg2
= wxString_in_helper(obj1
);
24517 if (arg2
== NULL
) SWIG_fail
;
24521 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24522 (arg1
)->SetFilename((wxString
const &)*arg2
);
24523 wxPyEndAllowThreads(__tstate
);
24524 if (PyErr_Occurred()) SWIG_fail
;
24526 resultobj
= SWIG_Py_Void();
24541 SWIGINTERN PyObject
*_wrap_PrintData_GetPrivData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24542 PyObject
*resultobj
= 0;
24543 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
24544 PyObject
*result
= 0 ;
24547 PyObject
*swig_obj
[1] ;
24549 if (!args
) SWIG_fail
;
24550 swig_obj
[0] = args
;
24551 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
24552 if (!SWIG_IsOK(res1
)) {
24553 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_GetPrivData" "', expected argument " "1"" of type '" "wxPrintData *""'");
24555 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
24557 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24558 result
= (PyObject
*)wxPrintData_GetPrivData(arg1
);
24559 wxPyEndAllowThreads(__tstate
);
24560 if (PyErr_Occurred()) SWIG_fail
;
24562 resultobj
= result
;
24569 SWIGINTERN PyObject
*_wrap_PrintData_SetPrivData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24570 PyObject
*resultobj
= 0;
24571 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
24572 PyObject
*arg2
= (PyObject
*) 0 ;
24575 PyObject
* obj0
= 0 ;
24576 PyObject
* obj1
= 0 ;
24577 char * kwnames
[] = {
24578 (char *) "self",(char *) "data", NULL
24581 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetPrivData",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24582 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
24583 if (!SWIG_IsOK(res1
)) {
24584 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_SetPrivData" "', expected argument " "1"" of type '" "wxPrintData *""'");
24586 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
24589 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24590 wxPrintData_SetPrivData(arg1
,arg2
);
24591 wxPyEndAllowThreads(__tstate
);
24592 if (PyErr_Occurred()) SWIG_fail
;
24594 resultobj
= SWIG_Py_Void();
24601 SWIGINTERN PyObject
*PrintData_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24603 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
24604 SWIG_TypeNewClientData(SWIGTYPE_p_wxPrintData
, SWIG_NewClientData(obj
));
24605 return SWIG_Py_Void();
24608 SWIGINTERN PyObject
*PrintData_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24609 return SWIG_Python_InitShadowInstance(args
);
24612 SWIGINTERN PyObject
*_wrap_new_PageSetupDialogData__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**SWIGUNUSEDPARM(swig_obj
)) {
24613 PyObject
*resultobj
= 0;
24614 wxPageSetupDialogData
*result
= 0 ;
24616 if ((nobjs
< 0) || (nobjs
> 0)) SWIG_fail
;
24618 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24619 result
= (wxPageSetupDialogData
*)new wxPageSetupDialogData();
24620 wxPyEndAllowThreads(__tstate
);
24621 if (PyErr_Occurred()) SWIG_fail
;
24623 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPageSetupDialogData
, SWIG_POINTER_NEW
| 0 );
24630 SWIGINTERN PyObject
*_wrap_new_PageSetupDialogData__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
24631 PyObject
*resultobj
= 0;
24632 wxPageSetupDialogData
*arg1
= 0 ;
24633 wxPageSetupDialogData
*result
= 0 ;
24637 if ((nobjs
< 1) || (nobjs
> 1)) SWIG_fail
;
24638 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
, SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0);
24639 if (!SWIG_IsOK(res1
)) {
24640 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PageSetupDialogData" "', expected argument " "1"" of type '" "wxPageSetupDialogData const &""'");
24643 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_PageSetupDialogData" "', expected argument " "1"" of type '" "wxPageSetupDialogData const &""'");
24645 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
24647 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24648 result
= (wxPageSetupDialogData
*)new wxPageSetupDialogData((wxPageSetupDialogData
const &)*arg1
);
24649 wxPyEndAllowThreads(__tstate
);
24650 if (PyErr_Occurred()) SWIG_fail
;
24652 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPageSetupDialogData
, SWIG_POINTER_NEW
| 0 );
24659 SWIGINTERN PyObject
*_wrap_new_PageSetupDialogData__SWIG_2(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
24660 PyObject
*resultobj
= 0;
24661 wxPrintData
*arg1
= 0 ;
24662 wxPageSetupDialogData
*result
= 0 ;
24666 if ((nobjs
< 1) || (nobjs
> 1)) SWIG_fail
;
24667 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
, SWIGTYPE_p_wxPrintData
, 0 | 0);
24668 if (!SWIG_IsOK(res1
)) {
24669 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PageSetupDialogData" "', expected argument " "1"" of type '" "wxPrintData const &""'");
24672 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_PageSetupDialogData" "', expected argument " "1"" of type '" "wxPrintData const &""'");
24674 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
24676 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24677 result
= (wxPageSetupDialogData
*)new wxPageSetupDialogData((wxPrintData
const &)*arg1
);
24678 wxPyEndAllowThreads(__tstate
);
24679 if (PyErr_Occurred()) SWIG_fail
;
24681 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPageSetupDialogData
, SWIG_POINTER_NEW
| 0 );
24688 SWIGINTERN PyObject
*_wrap_new_PageSetupDialogData(PyObject
*self
, PyObject
*args
) {
24692 if (!(argc
= SWIG_Python_UnpackTuple(args
,"new_PageSetupDialogData",0,1,argv
))) SWIG_fail
;
24695 return _wrap_new_PageSetupDialogData__SWIG_0(self
, argc
, argv
);
24700 int res
= SWIG_ConvertPtr(argv
[0], 0, SWIGTYPE_p_wxPageSetupDialogData
, 0);
24701 _v
= SWIG_CheckState(res
);
24703 if (!_v
) goto check_2
;
24704 return _wrap_new_PageSetupDialogData__SWIG_1(self
, argc
, argv
);
24709 return _wrap_new_PageSetupDialogData__SWIG_2(self
, argc
, argv
);
24713 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'new_PageSetupDialogData'");
24718 SWIGINTERN PyObject
*_wrap_delete_PageSetupDialogData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24719 PyObject
*resultobj
= 0;
24720 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
24723 PyObject
*swig_obj
[1] ;
24725 if (!args
) SWIG_fail
;
24726 swig_obj
[0] = args
;
24727 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, SWIG_POINTER_DISOWN
| 0 );
24728 if (!SWIG_IsOK(res1
)) {
24729 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_PageSetupDialogData" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
24731 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
24733 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24736 wxPyEndAllowThreads(__tstate
);
24737 if (PyErr_Occurred()) SWIG_fail
;
24739 resultobj
= SWIG_Py_Void();
24746 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_EnableHelp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24747 PyObject
*resultobj
= 0;
24748 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
24754 PyObject
* obj0
= 0 ;
24755 PyObject
* obj1
= 0 ;
24756 char * kwnames
[] = {
24757 (char *) "self",(char *) "flag", NULL
24760 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_EnableHelp",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24761 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
24762 if (!SWIG_IsOK(res1
)) {
24763 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_EnableHelp" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
24765 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
24766 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
24767 if (!SWIG_IsOK(ecode2
)) {
24768 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PageSetupDialogData_EnableHelp" "', expected argument " "2"" of type '" "bool""'");
24770 arg2
= static_cast< bool >(val2
);
24772 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24773 (arg1
)->EnableHelp(arg2
);
24774 wxPyEndAllowThreads(__tstate
);
24775 if (PyErr_Occurred()) SWIG_fail
;
24777 resultobj
= SWIG_Py_Void();
24784 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_EnableMargins(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24785 PyObject
*resultobj
= 0;
24786 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
24792 PyObject
* obj0
= 0 ;
24793 PyObject
* obj1
= 0 ;
24794 char * kwnames
[] = {
24795 (char *) "self",(char *) "flag", NULL
24798 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_EnableMargins",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24799 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
24800 if (!SWIG_IsOK(res1
)) {
24801 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_EnableMargins" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
24803 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
24804 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
24805 if (!SWIG_IsOK(ecode2
)) {
24806 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PageSetupDialogData_EnableMargins" "', expected argument " "2"" of type '" "bool""'");
24808 arg2
= static_cast< bool >(val2
);
24810 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24811 (arg1
)->EnableMargins(arg2
);
24812 wxPyEndAllowThreads(__tstate
);
24813 if (PyErr_Occurred()) SWIG_fail
;
24815 resultobj
= SWIG_Py_Void();
24822 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_EnableOrientation(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24823 PyObject
*resultobj
= 0;
24824 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
24830 PyObject
* obj0
= 0 ;
24831 PyObject
* obj1
= 0 ;
24832 char * kwnames
[] = {
24833 (char *) "self",(char *) "flag", NULL
24836 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_EnableOrientation",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24837 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
24838 if (!SWIG_IsOK(res1
)) {
24839 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_EnableOrientation" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
24841 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
24842 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
24843 if (!SWIG_IsOK(ecode2
)) {
24844 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PageSetupDialogData_EnableOrientation" "', expected argument " "2"" of type '" "bool""'");
24846 arg2
= static_cast< bool >(val2
);
24848 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24849 (arg1
)->EnableOrientation(arg2
);
24850 wxPyEndAllowThreads(__tstate
);
24851 if (PyErr_Occurred()) SWIG_fail
;
24853 resultobj
= SWIG_Py_Void();
24860 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_EnablePaper(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24861 PyObject
*resultobj
= 0;
24862 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
24868 PyObject
* obj0
= 0 ;
24869 PyObject
* obj1
= 0 ;
24870 char * kwnames
[] = {
24871 (char *) "self",(char *) "flag", NULL
24874 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_EnablePaper",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24875 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
24876 if (!SWIG_IsOK(res1
)) {
24877 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_EnablePaper" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
24879 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
24880 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
24881 if (!SWIG_IsOK(ecode2
)) {
24882 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PageSetupDialogData_EnablePaper" "', expected argument " "2"" of type '" "bool""'");
24884 arg2
= static_cast< bool >(val2
);
24886 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24887 (arg1
)->EnablePaper(arg2
);
24888 wxPyEndAllowThreads(__tstate
);
24889 if (PyErr_Occurred()) SWIG_fail
;
24891 resultobj
= SWIG_Py_Void();
24898 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_EnablePrinter(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24899 PyObject
*resultobj
= 0;
24900 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
24906 PyObject
* obj0
= 0 ;
24907 PyObject
* obj1
= 0 ;
24908 char * kwnames
[] = {
24909 (char *) "self",(char *) "flag", NULL
24912 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_EnablePrinter",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24913 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
24914 if (!SWIG_IsOK(res1
)) {
24915 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_EnablePrinter" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
24917 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
24918 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
24919 if (!SWIG_IsOK(ecode2
)) {
24920 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PageSetupDialogData_EnablePrinter" "', expected argument " "2"" of type '" "bool""'");
24922 arg2
= static_cast< bool >(val2
);
24924 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24925 (arg1
)->EnablePrinter(arg2
);
24926 wxPyEndAllowThreads(__tstate
);
24927 if (PyErr_Occurred()) SWIG_fail
;
24929 resultobj
= SWIG_Py_Void();
24936 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_GetDefaultMinMargins(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24937 PyObject
*resultobj
= 0;
24938 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
24942 PyObject
*swig_obj
[1] ;
24944 if (!args
) SWIG_fail
;
24945 swig_obj
[0] = args
;
24946 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
24947 if (!SWIG_IsOK(res1
)) {
24948 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_GetDefaultMinMargins" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
24950 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
24952 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24953 result
= (bool)(arg1
)->GetDefaultMinMargins();
24954 wxPyEndAllowThreads(__tstate
);
24955 if (PyErr_Occurred()) SWIG_fail
;
24958 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24966 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_GetEnableMargins(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24967 PyObject
*resultobj
= 0;
24968 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
24972 PyObject
*swig_obj
[1] ;
24974 if (!args
) SWIG_fail
;
24975 swig_obj
[0] = args
;
24976 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
24977 if (!SWIG_IsOK(res1
)) {
24978 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_GetEnableMargins" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
24980 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
24982 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24983 result
= (bool)(arg1
)->GetEnableMargins();
24984 wxPyEndAllowThreads(__tstate
);
24985 if (PyErr_Occurred()) SWIG_fail
;
24988 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24996 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_GetEnableOrientation(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24997 PyObject
*resultobj
= 0;
24998 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
25002 PyObject
*swig_obj
[1] ;
25004 if (!args
) SWIG_fail
;
25005 swig_obj
[0] = args
;
25006 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
25007 if (!SWIG_IsOK(res1
)) {
25008 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_GetEnableOrientation" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25010 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
25012 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25013 result
= (bool)(arg1
)->GetEnableOrientation();
25014 wxPyEndAllowThreads(__tstate
);
25015 if (PyErr_Occurred()) SWIG_fail
;
25018 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25026 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_GetEnablePaper(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25027 PyObject
*resultobj
= 0;
25028 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
25032 PyObject
*swig_obj
[1] ;
25034 if (!args
) SWIG_fail
;
25035 swig_obj
[0] = args
;
25036 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
25037 if (!SWIG_IsOK(res1
)) {
25038 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_GetEnablePaper" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25040 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
25042 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25043 result
= (bool)(arg1
)->GetEnablePaper();
25044 wxPyEndAllowThreads(__tstate
);
25045 if (PyErr_Occurred()) SWIG_fail
;
25048 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25056 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_GetEnablePrinter(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25057 PyObject
*resultobj
= 0;
25058 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
25062 PyObject
*swig_obj
[1] ;
25064 if (!args
) SWIG_fail
;
25065 swig_obj
[0] = args
;
25066 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
25067 if (!SWIG_IsOK(res1
)) {
25068 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_GetEnablePrinter" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25070 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
25072 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25073 result
= (bool)(arg1
)->GetEnablePrinter();
25074 wxPyEndAllowThreads(__tstate
);
25075 if (PyErr_Occurred()) SWIG_fail
;
25078 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25086 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_GetEnableHelp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25087 PyObject
*resultobj
= 0;
25088 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
25092 PyObject
*swig_obj
[1] ;
25094 if (!args
) SWIG_fail
;
25095 swig_obj
[0] = args
;
25096 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
25097 if (!SWIG_IsOK(res1
)) {
25098 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_GetEnableHelp" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25100 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
25102 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25103 result
= (bool)(arg1
)->GetEnableHelp();
25104 wxPyEndAllowThreads(__tstate
);
25105 if (PyErr_Occurred()) SWIG_fail
;
25108 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25116 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_GetDefaultInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25117 PyObject
*resultobj
= 0;
25118 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
25122 PyObject
*swig_obj
[1] ;
25124 if (!args
) SWIG_fail
;
25125 swig_obj
[0] = args
;
25126 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
25127 if (!SWIG_IsOK(res1
)) {
25128 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_GetDefaultInfo" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25130 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
25132 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25133 result
= (bool)(arg1
)->GetDefaultInfo();
25134 wxPyEndAllowThreads(__tstate
);
25135 if (PyErr_Occurred()) SWIG_fail
;
25138 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25146 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_GetMarginTopLeft(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25147 PyObject
*resultobj
= 0;
25148 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
25152 PyObject
*swig_obj
[1] ;
25154 if (!args
) SWIG_fail
;
25155 swig_obj
[0] = args
;
25156 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
25157 if (!SWIG_IsOK(res1
)) {
25158 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_GetMarginTopLeft" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25160 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
25162 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25163 result
= (arg1
)->GetMarginTopLeft();
25164 wxPyEndAllowThreads(__tstate
);
25165 if (PyErr_Occurred()) SWIG_fail
;
25167 resultobj
= SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint
& >(result
))), SWIGTYPE_p_wxPoint
, SWIG_POINTER_OWN
| 0 );
25174 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_GetMarginBottomRight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25175 PyObject
*resultobj
= 0;
25176 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
25180 PyObject
*swig_obj
[1] ;
25182 if (!args
) SWIG_fail
;
25183 swig_obj
[0] = args
;
25184 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
25185 if (!SWIG_IsOK(res1
)) {
25186 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_GetMarginBottomRight" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25188 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
25190 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25191 result
= (arg1
)->GetMarginBottomRight();
25192 wxPyEndAllowThreads(__tstate
);
25193 if (PyErr_Occurred()) SWIG_fail
;
25195 resultobj
= SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint
& >(result
))), SWIGTYPE_p_wxPoint
, SWIG_POINTER_OWN
| 0 );
25202 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_GetMinMarginTopLeft(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25203 PyObject
*resultobj
= 0;
25204 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
25208 PyObject
*swig_obj
[1] ;
25210 if (!args
) SWIG_fail
;
25211 swig_obj
[0] = args
;
25212 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
25213 if (!SWIG_IsOK(res1
)) {
25214 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_GetMinMarginTopLeft" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25216 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
25218 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25219 result
= (arg1
)->GetMinMarginTopLeft();
25220 wxPyEndAllowThreads(__tstate
);
25221 if (PyErr_Occurred()) SWIG_fail
;
25223 resultobj
= SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint
& >(result
))), SWIGTYPE_p_wxPoint
, SWIG_POINTER_OWN
| 0 );
25230 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_GetMinMarginBottomRight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25231 PyObject
*resultobj
= 0;
25232 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
25236 PyObject
*swig_obj
[1] ;
25238 if (!args
) SWIG_fail
;
25239 swig_obj
[0] = args
;
25240 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
25241 if (!SWIG_IsOK(res1
)) {
25242 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_GetMinMarginBottomRight" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25244 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
25246 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25247 result
= (arg1
)->GetMinMarginBottomRight();
25248 wxPyEndAllowThreads(__tstate
);
25249 if (PyErr_Occurred()) SWIG_fail
;
25251 resultobj
= SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint
& >(result
))), SWIGTYPE_p_wxPoint
, SWIG_POINTER_OWN
| 0 );
25258 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_GetPaperId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25259 PyObject
*resultobj
= 0;
25260 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
25261 wxPaperSize result
;
25264 PyObject
*swig_obj
[1] ;
25266 if (!args
) SWIG_fail
;
25267 swig_obj
[0] = args
;
25268 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
25269 if (!SWIG_IsOK(res1
)) {
25270 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_GetPaperId" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25272 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
25274 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25275 result
= (wxPaperSize
)(arg1
)->GetPaperId();
25276 wxPyEndAllowThreads(__tstate
);
25277 if (PyErr_Occurred()) SWIG_fail
;
25279 resultobj
= SWIG_From_int(static_cast< int >(result
));
25286 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_GetPaperSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25287 PyObject
*resultobj
= 0;
25288 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
25292 PyObject
*swig_obj
[1] ;
25294 if (!args
) SWIG_fail
;
25295 swig_obj
[0] = args
;
25296 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
25297 if (!SWIG_IsOK(res1
)) {
25298 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_GetPaperSize" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25300 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
25302 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25303 result
= (arg1
)->GetPaperSize();
25304 wxPyEndAllowThreads(__tstate
);
25305 if (PyErr_Occurred()) SWIG_fail
;
25307 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
25314 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_GetPrintData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25315 PyObject
*resultobj
= 0;
25316 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
25317 wxPrintData
*result
= 0 ;
25320 PyObject
*swig_obj
[1] ;
25322 if (!args
) SWIG_fail
;
25323 swig_obj
[0] = args
;
25324 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
25325 if (!SWIG_IsOK(res1
)) {
25326 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_GetPrintData" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25328 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
25330 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25332 wxPrintData
&_result_ref
= (arg1
)->GetPrintData();
25333 result
= (wxPrintData
*) &_result_ref
;
25335 wxPyEndAllowThreads(__tstate
);
25336 if (PyErr_Occurred()) SWIG_fail
;
25338 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPrintData
, 0 | 0 );
25345 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_IsOk(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25346 PyObject
*resultobj
= 0;
25347 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
25351 PyObject
*swig_obj
[1] ;
25353 if (!args
) SWIG_fail
;
25354 swig_obj
[0] = args
;
25355 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
25356 if (!SWIG_IsOK(res1
)) {
25357 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_IsOk" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25359 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
25361 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25362 result
= (bool)(arg1
)->IsOk();
25363 wxPyEndAllowThreads(__tstate
);
25364 if (PyErr_Occurred()) SWIG_fail
;
25367 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25375 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_SetDefaultInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25376 PyObject
*resultobj
= 0;
25377 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
25383 PyObject
* obj0
= 0 ;
25384 PyObject
* obj1
= 0 ;
25385 char * kwnames
[] = {
25386 (char *) "self",(char *) "flag", NULL
25389 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_SetDefaultInfo",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25390 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
25391 if (!SWIG_IsOK(res1
)) {
25392 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_SetDefaultInfo" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25394 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
25395 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
25396 if (!SWIG_IsOK(ecode2
)) {
25397 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PageSetupDialogData_SetDefaultInfo" "', expected argument " "2"" of type '" "bool""'");
25399 arg2
= static_cast< bool >(val2
);
25401 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25402 (arg1
)->SetDefaultInfo(arg2
);
25403 wxPyEndAllowThreads(__tstate
);
25404 if (PyErr_Occurred()) SWIG_fail
;
25406 resultobj
= SWIG_Py_Void();
25413 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_SetDefaultMinMargins(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25414 PyObject
*resultobj
= 0;
25415 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
25421 PyObject
* obj0
= 0 ;
25422 PyObject
* obj1
= 0 ;
25423 char * kwnames
[] = {
25424 (char *) "self",(char *) "flag", NULL
25427 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_SetDefaultMinMargins",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25428 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
25429 if (!SWIG_IsOK(res1
)) {
25430 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_SetDefaultMinMargins" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25432 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
25433 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
25434 if (!SWIG_IsOK(ecode2
)) {
25435 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PageSetupDialogData_SetDefaultMinMargins" "', expected argument " "2"" of type '" "bool""'");
25437 arg2
= static_cast< bool >(val2
);
25439 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25440 (arg1
)->SetDefaultMinMargins(arg2
);
25441 wxPyEndAllowThreads(__tstate
);
25442 if (PyErr_Occurred()) SWIG_fail
;
25444 resultobj
= SWIG_Py_Void();
25451 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_SetMarginTopLeft(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25452 PyObject
*resultobj
= 0;
25453 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
25454 wxPoint
*arg2
= 0 ;
25458 PyObject
* obj0
= 0 ;
25459 PyObject
* obj1
= 0 ;
25460 char * kwnames
[] = {
25461 (char *) "self",(char *) "pt", NULL
25464 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_SetMarginTopLeft",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25465 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
25466 if (!SWIG_IsOK(res1
)) {
25467 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_SetMarginTopLeft" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25469 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
25472 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
25475 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25476 (arg1
)->SetMarginTopLeft((wxPoint
const &)*arg2
);
25477 wxPyEndAllowThreads(__tstate
);
25478 if (PyErr_Occurred()) SWIG_fail
;
25480 resultobj
= SWIG_Py_Void();
25487 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_SetMarginBottomRight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25488 PyObject
*resultobj
= 0;
25489 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
25490 wxPoint
*arg2
= 0 ;
25494 PyObject
* obj0
= 0 ;
25495 PyObject
* obj1
= 0 ;
25496 char * kwnames
[] = {
25497 (char *) "self",(char *) "pt", NULL
25500 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_SetMarginBottomRight",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25501 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
25502 if (!SWIG_IsOK(res1
)) {
25503 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_SetMarginBottomRight" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25505 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
25508 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
25511 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25512 (arg1
)->SetMarginBottomRight((wxPoint
const &)*arg2
);
25513 wxPyEndAllowThreads(__tstate
);
25514 if (PyErr_Occurred()) SWIG_fail
;
25516 resultobj
= SWIG_Py_Void();
25523 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_SetMinMarginTopLeft(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25524 PyObject
*resultobj
= 0;
25525 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
25526 wxPoint
*arg2
= 0 ;
25530 PyObject
* obj0
= 0 ;
25531 PyObject
* obj1
= 0 ;
25532 char * kwnames
[] = {
25533 (char *) "self",(char *) "pt", NULL
25536 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_SetMinMarginTopLeft",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25537 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
25538 if (!SWIG_IsOK(res1
)) {
25539 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_SetMinMarginTopLeft" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25541 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
25544 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
25547 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25548 (arg1
)->SetMinMarginTopLeft((wxPoint
const &)*arg2
);
25549 wxPyEndAllowThreads(__tstate
);
25550 if (PyErr_Occurred()) SWIG_fail
;
25552 resultobj
= SWIG_Py_Void();
25559 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_SetMinMarginBottomRight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25560 PyObject
*resultobj
= 0;
25561 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
25562 wxPoint
*arg2
= 0 ;
25566 PyObject
* obj0
= 0 ;
25567 PyObject
* obj1
= 0 ;
25568 char * kwnames
[] = {
25569 (char *) "self",(char *) "pt", NULL
25572 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_SetMinMarginBottomRight",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25573 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
25574 if (!SWIG_IsOK(res1
)) {
25575 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_SetMinMarginBottomRight" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25577 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
25580 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
25583 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25584 (arg1
)->SetMinMarginBottomRight((wxPoint
const &)*arg2
);
25585 wxPyEndAllowThreads(__tstate
);
25586 if (PyErr_Occurred()) SWIG_fail
;
25588 resultobj
= SWIG_Py_Void();
25595 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_SetPaperId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25596 PyObject
*resultobj
= 0;
25597 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
25603 PyObject
* obj0
= 0 ;
25604 PyObject
* obj1
= 0 ;
25605 char * kwnames
[] = {
25606 (char *) "self",(char *) "id", NULL
25609 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_SetPaperId",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25610 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
25611 if (!SWIG_IsOK(res1
)) {
25612 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_SetPaperId" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25614 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
25615 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
25616 if (!SWIG_IsOK(ecode2
)) {
25617 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PageSetupDialogData_SetPaperId" "', expected argument " "2"" of type '" "wxPaperSize""'");
25619 arg2
= static_cast< wxPaperSize
>(val2
);
25621 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25622 (arg1
)->SetPaperId(arg2
);
25623 wxPyEndAllowThreads(__tstate
);
25624 if (PyErr_Occurred()) SWIG_fail
;
25626 resultobj
= SWIG_Py_Void();
25633 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_SetPaperSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25634 PyObject
*resultobj
= 0;
25635 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
25640 PyObject
* obj0
= 0 ;
25641 PyObject
* obj1
= 0 ;
25642 char * kwnames
[] = {
25643 (char *) "self",(char *) "size", NULL
25646 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_SetPaperSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25647 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
25648 if (!SWIG_IsOK(res1
)) {
25649 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_SetPaperSize" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25651 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
25654 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
25657 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25658 (arg1
)->SetPaperSize((wxSize
const &)*arg2
);
25659 wxPyEndAllowThreads(__tstate
);
25660 if (PyErr_Occurred()) SWIG_fail
;
25662 resultobj
= SWIG_Py_Void();
25669 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_SetPrintData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25670 PyObject
*resultobj
= 0;
25671 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
25672 wxPrintData
*arg2
= 0 ;
25677 PyObject
* obj0
= 0 ;
25678 PyObject
* obj1
= 0 ;
25679 char * kwnames
[] = {
25680 (char *) "self",(char *) "printData", NULL
25683 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_SetPrintData",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25684 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
25685 if (!SWIG_IsOK(res1
)) {
25686 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_SetPrintData" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25688 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
25689 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxPrintData
, 0 | 0);
25690 if (!SWIG_IsOK(res2
)) {
25691 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PageSetupDialogData_SetPrintData" "', expected argument " "2"" of type '" "wxPrintData const &""'");
25694 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "PageSetupDialogData_SetPrintData" "', expected argument " "2"" of type '" "wxPrintData const &""'");
25696 arg2
= reinterpret_cast< wxPrintData
* >(argp2
);
25698 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25699 (arg1
)->SetPrintData((wxPrintData
const &)*arg2
);
25700 wxPyEndAllowThreads(__tstate
);
25701 if (PyErr_Occurred()) SWIG_fail
;
25703 resultobj
= SWIG_Py_Void();
25710 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_CalculateIdFromPaperSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25711 PyObject
*resultobj
= 0;
25712 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
25715 PyObject
*swig_obj
[1] ;
25717 if (!args
) SWIG_fail
;
25718 swig_obj
[0] = args
;
25719 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
25720 if (!SWIG_IsOK(res1
)) {
25721 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_CalculateIdFromPaperSize" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25723 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
25725 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25726 (arg1
)->CalculateIdFromPaperSize();
25727 wxPyEndAllowThreads(__tstate
);
25728 if (PyErr_Occurred()) SWIG_fail
;
25730 resultobj
= SWIG_Py_Void();
25737 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_CalculatePaperSizeFromId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25738 PyObject
*resultobj
= 0;
25739 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
25742 PyObject
*swig_obj
[1] ;
25744 if (!args
) SWIG_fail
;
25745 swig_obj
[0] = args
;
25746 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
25747 if (!SWIG_IsOK(res1
)) {
25748 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_CalculatePaperSizeFromId" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25750 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
25752 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25753 (arg1
)->CalculatePaperSizeFromId();
25754 wxPyEndAllowThreads(__tstate
);
25755 if (PyErr_Occurred()) SWIG_fail
;
25757 resultobj
= SWIG_Py_Void();
25764 SWIGINTERN PyObject
*PageSetupDialogData_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25766 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
25767 SWIG_TypeNewClientData(SWIGTYPE_p_wxPageSetupDialogData
, SWIG_NewClientData(obj
));
25768 return SWIG_Py_Void();
25771 SWIGINTERN PyObject
*PageSetupDialogData_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25772 return SWIG_Python_InitShadowInstance(args
);
25775 SWIGINTERN PyObject
*_wrap_new_PageSetupDialog(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25776 PyObject
*resultobj
= 0;
25777 wxWindow
*arg1
= (wxWindow
*) 0 ;
25778 wxPageSetupDialogData
*arg2
= (wxPageSetupDialogData
*) NULL
;
25779 wxPageSetupDialog
*result
= 0 ;
25784 PyObject
* obj0
= 0 ;
25785 PyObject
* obj1
= 0 ;
25786 char * kwnames
[] = {
25787 (char *) "parent",(char *) "data", NULL
25790 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_PageSetupDialog",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25791 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
25792 if (!SWIG_IsOK(res1
)) {
25793 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PageSetupDialog" "', expected argument " "1"" of type '" "wxWindow *""'");
25795 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
25797 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
25798 if (!SWIG_IsOK(res2
)) {
25799 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_PageSetupDialog" "', expected argument " "2"" of type '" "wxPageSetupDialogData *""'");
25801 arg2
= reinterpret_cast< wxPageSetupDialogData
* >(argp2
);
25804 if (!wxPyCheckForApp()) SWIG_fail
;
25805 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25806 result
= (wxPageSetupDialog
*)new wxPageSetupDialog(arg1
,arg2
);
25807 wxPyEndAllowThreads(__tstate
);
25808 if (PyErr_Occurred()) SWIG_fail
;
25810 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPageSetupDialog
, SWIG_POINTER_NEW
| 0 );
25817 SWIGINTERN PyObject
*_wrap_delete_PageSetupDialog(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25818 PyObject
*resultobj
= 0;
25819 wxPageSetupDialog
*arg1
= (wxPageSetupDialog
*) 0 ;
25822 PyObject
*swig_obj
[1] ;
25824 if (!args
) SWIG_fail
;
25825 swig_obj
[0] = args
;
25826 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPageSetupDialog
, SWIG_POINTER_DISOWN
| 0 );
25827 if (!SWIG_IsOK(res1
)) {
25828 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_PageSetupDialog" "', expected argument " "1"" of type '" "wxPageSetupDialog *""'");
25830 arg1
= reinterpret_cast< wxPageSetupDialog
* >(argp1
);
25832 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25835 wxPyEndAllowThreads(__tstate
);
25836 if (PyErr_Occurred()) SWIG_fail
;
25838 resultobj
= SWIG_Py_Void();
25845 SWIGINTERN PyObject
*_wrap_PageSetupDialog_GetPageSetupData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25846 PyObject
*resultobj
= 0;
25847 wxPageSetupDialog
*arg1
= (wxPageSetupDialog
*) 0 ;
25848 wxPageSetupDialogData
*result
= 0 ;
25851 PyObject
*swig_obj
[1] ;
25853 if (!args
) SWIG_fail
;
25854 swig_obj
[0] = args
;
25855 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPageSetupDialog
, 0 | 0 );
25856 if (!SWIG_IsOK(res1
)) {
25857 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialog_GetPageSetupData" "', expected argument " "1"" of type '" "wxPageSetupDialog *""'");
25859 arg1
= reinterpret_cast< wxPageSetupDialog
* >(argp1
);
25861 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25863 wxPageSetupDialogData
&_result_ref
= (arg1
)->GetPageSetupData();
25864 result
= (wxPageSetupDialogData
*) &_result_ref
;
25866 wxPyEndAllowThreads(__tstate
);
25867 if (PyErr_Occurred()) SWIG_fail
;
25869 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
25876 SWIGINTERN PyObject
*_wrap_PageSetupDialog_GetPageSetupDialogData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25877 PyObject
*resultobj
= 0;
25878 wxPageSetupDialog
*arg1
= (wxPageSetupDialog
*) 0 ;
25879 wxPageSetupDialogData
*result
= 0 ;
25882 PyObject
*swig_obj
[1] ;
25884 if (!args
) SWIG_fail
;
25885 swig_obj
[0] = args
;
25886 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPageSetupDialog
, 0 | 0 );
25887 if (!SWIG_IsOK(res1
)) {
25888 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialog_GetPageSetupDialogData" "', expected argument " "1"" of type '" "wxPageSetupDialog *""'");
25890 arg1
= reinterpret_cast< wxPageSetupDialog
* >(argp1
);
25892 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25894 wxPageSetupDialogData
&_result_ref
= (arg1
)->GetPageSetupDialogData();
25895 result
= (wxPageSetupDialogData
*) &_result_ref
;
25897 wxPyEndAllowThreads(__tstate
);
25898 if (PyErr_Occurred()) SWIG_fail
;
25900 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
25907 SWIGINTERN PyObject
*_wrap_PageSetupDialog_ShowModal(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25908 PyObject
*resultobj
= 0;
25909 wxPageSetupDialog
*arg1
= (wxPageSetupDialog
*) 0 ;
25913 PyObject
*swig_obj
[1] ;
25915 if (!args
) SWIG_fail
;
25916 swig_obj
[0] = args
;
25917 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPageSetupDialog
, 0 | 0 );
25918 if (!SWIG_IsOK(res1
)) {
25919 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialog_ShowModal" "', expected argument " "1"" of type '" "wxPageSetupDialog *""'");
25921 arg1
= reinterpret_cast< wxPageSetupDialog
* >(argp1
);
25923 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25924 result
= (int)(arg1
)->ShowModal();
25925 wxPyEndAllowThreads(__tstate
);
25926 if (PyErr_Occurred()) SWIG_fail
;
25928 resultobj
= SWIG_From_int(static_cast< int >(result
));
25935 SWIGINTERN PyObject
*PageSetupDialog_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25937 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
25938 SWIG_TypeNewClientData(SWIGTYPE_p_wxPageSetupDialog
, SWIG_NewClientData(obj
));
25939 return SWIG_Py_Void();
25942 SWIGINTERN PyObject
*PageSetupDialog_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25943 return SWIG_Python_InitShadowInstance(args
);
25946 SWIGINTERN PyObject
*_wrap_new_PrintDialogData__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**SWIGUNUSEDPARM(swig_obj
)) {
25947 PyObject
*resultobj
= 0;
25948 wxPrintDialogData
*result
= 0 ;
25950 if ((nobjs
< 0) || (nobjs
> 0)) SWIG_fail
;
25952 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25953 result
= (wxPrintDialogData
*)new wxPrintDialogData();
25954 wxPyEndAllowThreads(__tstate
);
25955 if (PyErr_Occurred()) SWIG_fail
;
25957 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPrintDialogData
, SWIG_POINTER_NEW
| 0 );
25964 SWIGINTERN PyObject
*_wrap_new_PrintDialogData__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
25965 PyObject
*resultobj
= 0;
25966 wxPrintData
*arg1
= 0 ;
25967 wxPrintDialogData
*result
= 0 ;
25971 if ((nobjs
< 1) || (nobjs
> 1)) SWIG_fail
;
25972 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
, SWIGTYPE_p_wxPrintData
, 0 | 0);
25973 if (!SWIG_IsOK(res1
)) {
25974 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PrintDialogData" "', expected argument " "1"" of type '" "wxPrintData const &""'");
25977 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_PrintDialogData" "', expected argument " "1"" of type '" "wxPrintData const &""'");
25979 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
25981 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25982 result
= (wxPrintDialogData
*)new wxPrintDialogData((wxPrintData
const &)*arg1
);
25983 wxPyEndAllowThreads(__tstate
);
25984 if (PyErr_Occurred()) SWIG_fail
;
25986 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPrintDialogData
, SWIG_POINTER_NEW
| 0 );
25993 SWIGINTERN PyObject
*_wrap_new_PrintDialogData__SWIG_2(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
25994 PyObject
*resultobj
= 0;
25995 wxPrintDialogData
*arg1
= 0 ;
25996 wxPrintDialogData
*result
= 0 ;
26000 if ((nobjs
< 1) || (nobjs
> 1)) SWIG_fail
;
26001 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
, SWIGTYPE_p_wxPrintDialogData
, 0 | 0);
26002 if (!SWIG_IsOK(res1
)) {
26003 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PrintDialogData" "', expected argument " "1"" of type '" "wxPrintDialogData const &""'");
26006 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_PrintDialogData" "', expected argument " "1"" of type '" "wxPrintDialogData const &""'");
26008 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
26010 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26011 result
= (wxPrintDialogData
*)new wxPrintDialogData((wxPrintDialogData
const &)*arg1
);
26012 wxPyEndAllowThreads(__tstate
);
26013 if (PyErr_Occurred()) SWIG_fail
;
26015 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPrintDialogData
, SWIG_POINTER_NEW
| 0 );
26022 SWIGINTERN PyObject
*_wrap_new_PrintDialogData(PyObject
*self
, PyObject
*args
) {
26026 if (!(argc
= SWIG_Python_UnpackTuple(args
,"new_PrintDialogData",0,1,argv
))) SWIG_fail
;
26029 return _wrap_new_PrintDialogData__SWIG_0(self
, argc
, argv
);
26034 int res
= SWIG_ConvertPtr(argv
[0], 0, SWIGTYPE_p_wxPrintData
, 0);
26035 _v
= SWIG_CheckState(res
);
26037 if (!_v
) goto check_2
;
26038 return _wrap_new_PrintDialogData__SWIG_1(self
, argc
, argv
);
26043 return _wrap_new_PrintDialogData__SWIG_2(self
, argc
, argv
);
26047 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'new_PrintDialogData'");
26052 SWIGINTERN PyObject
*_wrap_delete_PrintDialogData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26053 PyObject
*resultobj
= 0;
26054 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
26057 PyObject
*swig_obj
[1] ;
26059 if (!args
) SWIG_fail
;
26060 swig_obj
[0] = args
;
26061 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintDialogData
, SWIG_POINTER_DISOWN
| 0 );
26062 if (!SWIG_IsOK(res1
)) {
26063 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_PrintDialogData" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
26065 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
26067 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26070 wxPyEndAllowThreads(__tstate
);
26071 if (PyErr_Occurred()) SWIG_fail
;
26073 resultobj
= SWIG_Py_Void();
26080 SWIGINTERN PyObject
*_wrap_PrintDialogData_GetFromPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26081 PyObject
*resultobj
= 0;
26082 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
26086 PyObject
*swig_obj
[1] ;
26088 if (!args
) SWIG_fail
;
26089 swig_obj
[0] = args
;
26090 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
26091 if (!SWIG_IsOK(res1
)) {
26092 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_GetFromPage" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
26094 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
26096 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26097 result
= (int)((wxPrintDialogData
const *)arg1
)->GetFromPage();
26098 wxPyEndAllowThreads(__tstate
);
26099 if (PyErr_Occurred()) SWIG_fail
;
26101 resultobj
= SWIG_From_int(static_cast< int >(result
));
26108 SWIGINTERN PyObject
*_wrap_PrintDialogData_GetToPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26109 PyObject
*resultobj
= 0;
26110 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
26114 PyObject
*swig_obj
[1] ;
26116 if (!args
) SWIG_fail
;
26117 swig_obj
[0] = args
;
26118 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
26119 if (!SWIG_IsOK(res1
)) {
26120 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_GetToPage" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
26122 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
26124 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26125 result
= (int)((wxPrintDialogData
const *)arg1
)->GetToPage();
26126 wxPyEndAllowThreads(__tstate
);
26127 if (PyErr_Occurred()) SWIG_fail
;
26129 resultobj
= SWIG_From_int(static_cast< int >(result
));
26136 SWIGINTERN PyObject
*_wrap_PrintDialogData_GetMinPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26137 PyObject
*resultobj
= 0;
26138 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
26142 PyObject
*swig_obj
[1] ;
26144 if (!args
) SWIG_fail
;
26145 swig_obj
[0] = args
;
26146 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
26147 if (!SWIG_IsOK(res1
)) {
26148 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_GetMinPage" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
26150 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
26152 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26153 result
= (int)((wxPrintDialogData
const *)arg1
)->GetMinPage();
26154 wxPyEndAllowThreads(__tstate
);
26155 if (PyErr_Occurred()) SWIG_fail
;
26157 resultobj
= SWIG_From_int(static_cast< int >(result
));
26164 SWIGINTERN PyObject
*_wrap_PrintDialogData_GetMaxPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26165 PyObject
*resultobj
= 0;
26166 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
26170 PyObject
*swig_obj
[1] ;
26172 if (!args
) SWIG_fail
;
26173 swig_obj
[0] = args
;
26174 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
26175 if (!SWIG_IsOK(res1
)) {
26176 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_GetMaxPage" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
26178 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
26180 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26181 result
= (int)((wxPrintDialogData
const *)arg1
)->GetMaxPage();
26182 wxPyEndAllowThreads(__tstate
);
26183 if (PyErr_Occurred()) SWIG_fail
;
26185 resultobj
= SWIG_From_int(static_cast< int >(result
));
26192 SWIGINTERN PyObject
*_wrap_PrintDialogData_GetNoCopies(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26193 PyObject
*resultobj
= 0;
26194 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
26198 PyObject
*swig_obj
[1] ;
26200 if (!args
) SWIG_fail
;
26201 swig_obj
[0] = args
;
26202 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
26203 if (!SWIG_IsOK(res1
)) {
26204 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_GetNoCopies" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
26206 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
26208 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26209 result
= (int)((wxPrintDialogData
const *)arg1
)->GetNoCopies();
26210 wxPyEndAllowThreads(__tstate
);
26211 if (PyErr_Occurred()) SWIG_fail
;
26213 resultobj
= SWIG_From_int(static_cast< int >(result
));
26220 SWIGINTERN PyObject
*_wrap_PrintDialogData_GetAllPages(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26221 PyObject
*resultobj
= 0;
26222 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
26226 PyObject
*swig_obj
[1] ;
26228 if (!args
) SWIG_fail
;
26229 swig_obj
[0] = args
;
26230 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
26231 if (!SWIG_IsOK(res1
)) {
26232 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_GetAllPages" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
26234 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
26236 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26237 result
= (bool)((wxPrintDialogData
const *)arg1
)->GetAllPages();
26238 wxPyEndAllowThreads(__tstate
);
26239 if (PyErr_Occurred()) SWIG_fail
;
26242 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26250 SWIGINTERN PyObject
*_wrap_PrintDialogData_GetSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26251 PyObject
*resultobj
= 0;
26252 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
26256 PyObject
*swig_obj
[1] ;
26258 if (!args
) SWIG_fail
;
26259 swig_obj
[0] = args
;
26260 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
26261 if (!SWIG_IsOK(res1
)) {
26262 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_GetSelection" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
26264 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
26266 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26267 result
= (bool)((wxPrintDialogData
const *)arg1
)->GetSelection();
26268 wxPyEndAllowThreads(__tstate
);
26269 if (PyErr_Occurred()) SWIG_fail
;
26272 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26280 SWIGINTERN PyObject
*_wrap_PrintDialogData_GetCollate(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26281 PyObject
*resultobj
= 0;
26282 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
26286 PyObject
*swig_obj
[1] ;
26288 if (!args
) SWIG_fail
;
26289 swig_obj
[0] = args
;
26290 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
26291 if (!SWIG_IsOK(res1
)) {
26292 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_GetCollate" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
26294 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
26296 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26297 result
= (bool)((wxPrintDialogData
const *)arg1
)->GetCollate();
26298 wxPyEndAllowThreads(__tstate
);
26299 if (PyErr_Occurred()) SWIG_fail
;
26302 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26310 SWIGINTERN PyObject
*_wrap_PrintDialogData_GetPrintToFile(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26311 PyObject
*resultobj
= 0;
26312 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
26316 PyObject
*swig_obj
[1] ;
26318 if (!args
) SWIG_fail
;
26319 swig_obj
[0] = args
;
26320 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
26321 if (!SWIG_IsOK(res1
)) {
26322 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_GetPrintToFile" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
26324 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
26326 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26327 result
= (bool)((wxPrintDialogData
const *)arg1
)->GetPrintToFile();
26328 wxPyEndAllowThreads(__tstate
);
26329 if (PyErr_Occurred()) SWIG_fail
;
26332 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26340 SWIGINTERN PyObject
*_wrap_PrintDialogData_SetFromPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26341 PyObject
*resultobj
= 0;
26342 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
26348 PyObject
* obj0
= 0 ;
26349 PyObject
* obj1
= 0 ;
26350 char * kwnames
[] = {
26351 (char *) "self",(char *) "v", NULL
26354 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetFromPage",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26355 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
26356 if (!SWIG_IsOK(res1
)) {
26357 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_SetFromPage" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
26359 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
26360 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
26361 if (!SWIG_IsOK(ecode2
)) {
26362 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintDialogData_SetFromPage" "', expected argument " "2"" of type '" "int""'");
26364 arg2
= static_cast< int >(val2
);
26366 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26367 (arg1
)->SetFromPage(arg2
);
26368 wxPyEndAllowThreads(__tstate
);
26369 if (PyErr_Occurred()) SWIG_fail
;
26371 resultobj
= SWIG_Py_Void();
26378 SWIGINTERN PyObject
*_wrap_PrintDialogData_SetToPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26379 PyObject
*resultobj
= 0;
26380 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
26386 PyObject
* obj0
= 0 ;
26387 PyObject
* obj1
= 0 ;
26388 char * kwnames
[] = {
26389 (char *) "self",(char *) "v", NULL
26392 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetToPage",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26393 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
26394 if (!SWIG_IsOK(res1
)) {
26395 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_SetToPage" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
26397 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
26398 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
26399 if (!SWIG_IsOK(ecode2
)) {
26400 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintDialogData_SetToPage" "', expected argument " "2"" of type '" "int""'");
26402 arg2
= static_cast< int >(val2
);
26404 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26405 (arg1
)->SetToPage(arg2
);
26406 wxPyEndAllowThreads(__tstate
);
26407 if (PyErr_Occurred()) SWIG_fail
;
26409 resultobj
= SWIG_Py_Void();
26416 SWIGINTERN PyObject
*_wrap_PrintDialogData_SetMinPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26417 PyObject
*resultobj
= 0;
26418 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
26424 PyObject
* obj0
= 0 ;
26425 PyObject
* obj1
= 0 ;
26426 char * kwnames
[] = {
26427 (char *) "self",(char *) "v", NULL
26430 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetMinPage",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26431 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
26432 if (!SWIG_IsOK(res1
)) {
26433 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_SetMinPage" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
26435 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
26436 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
26437 if (!SWIG_IsOK(ecode2
)) {
26438 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintDialogData_SetMinPage" "', expected argument " "2"" of type '" "int""'");
26440 arg2
= static_cast< int >(val2
);
26442 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26443 (arg1
)->SetMinPage(arg2
);
26444 wxPyEndAllowThreads(__tstate
);
26445 if (PyErr_Occurred()) SWIG_fail
;
26447 resultobj
= SWIG_Py_Void();
26454 SWIGINTERN PyObject
*_wrap_PrintDialogData_SetMaxPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26455 PyObject
*resultobj
= 0;
26456 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
26462 PyObject
* obj0
= 0 ;
26463 PyObject
* obj1
= 0 ;
26464 char * kwnames
[] = {
26465 (char *) "self",(char *) "v", NULL
26468 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetMaxPage",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26469 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
26470 if (!SWIG_IsOK(res1
)) {
26471 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_SetMaxPage" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
26473 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
26474 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
26475 if (!SWIG_IsOK(ecode2
)) {
26476 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintDialogData_SetMaxPage" "', expected argument " "2"" of type '" "int""'");
26478 arg2
= static_cast< int >(val2
);
26480 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26481 (arg1
)->SetMaxPage(arg2
);
26482 wxPyEndAllowThreads(__tstate
);
26483 if (PyErr_Occurred()) SWIG_fail
;
26485 resultobj
= SWIG_Py_Void();
26492 SWIGINTERN PyObject
*_wrap_PrintDialogData_SetNoCopies(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26493 PyObject
*resultobj
= 0;
26494 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
26500 PyObject
* obj0
= 0 ;
26501 PyObject
* obj1
= 0 ;
26502 char * kwnames
[] = {
26503 (char *) "self",(char *) "v", NULL
26506 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetNoCopies",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26507 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
26508 if (!SWIG_IsOK(res1
)) {
26509 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_SetNoCopies" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
26511 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
26512 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
26513 if (!SWIG_IsOK(ecode2
)) {
26514 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintDialogData_SetNoCopies" "', expected argument " "2"" of type '" "int""'");
26516 arg2
= static_cast< int >(val2
);
26518 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26519 (arg1
)->SetNoCopies(arg2
);
26520 wxPyEndAllowThreads(__tstate
);
26521 if (PyErr_Occurred()) SWIG_fail
;
26523 resultobj
= SWIG_Py_Void();
26530 SWIGINTERN PyObject
*_wrap_PrintDialogData_SetAllPages(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26531 PyObject
*resultobj
= 0;
26532 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
26538 PyObject
* obj0
= 0 ;
26539 PyObject
* obj1
= 0 ;
26540 char * kwnames
[] = {
26541 (char *) "self",(char *) "flag", NULL
26544 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetAllPages",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26545 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
26546 if (!SWIG_IsOK(res1
)) {
26547 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_SetAllPages" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
26549 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
26550 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
26551 if (!SWIG_IsOK(ecode2
)) {
26552 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintDialogData_SetAllPages" "', expected argument " "2"" of type '" "bool""'");
26554 arg2
= static_cast< bool >(val2
);
26556 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26557 (arg1
)->SetAllPages(arg2
);
26558 wxPyEndAllowThreads(__tstate
);
26559 if (PyErr_Occurred()) SWIG_fail
;
26561 resultobj
= SWIG_Py_Void();
26568 SWIGINTERN PyObject
*_wrap_PrintDialogData_SetSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26569 PyObject
*resultobj
= 0;
26570 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
26576 PyObject
* obj0
= 0 ;
26577 PyObject
* obj1
= 0 ;
26578 char * kwnames
[] = {
26579 (char *) "self",(char *) "flag", NULL
26582 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetSelection",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26583 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
26584 if (!SWIG_IsOK(res1
)) {
26585 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_SetSelection" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
26587 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
26588 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
26589 if (!SWIG_IsOK(ecode2
)) {
26590 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintDialogData_SetSelection" "', expected argument " "2"" of type '" "bool""'");
26592 arg2
= static_cast< bool >(val2
);
26594 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26595 (arg1
)->SetSelection(arg2
);
26596 wxPyEndAllowThreads(__tstate
);
26597 if (PyErr_Occurred()) SWIG_fail
;
26599 resultobj
= SWIG_Py_Void();
26606 SWIGINTERN PyObject
*_wrap_PrintDialogData_SetCollate(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26607 PyObject
*resultobj
= 0;
26608 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
26614 PyObject
* obj0
= 0 ;
26615 PyObject
* obj1
= 0 ;
26616 char * kwnames
[] = {
26617 (char *) "self",(char *) "flag", NULL
26620 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetCollate",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26621 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
26622 if (!SWIG_IsOK(res1
)) {
26623 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_SetCollate" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
26625 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
26626 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
26627 if (!SWIG_IsOK(ecode2
)) {
26628 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintDialogData_SetCollate" "', expected argument " "2"" of type '" "bool""'");
26630 arg2
= static_cast< bool >(val2
);
26632 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26633 (arg1
)->SetCollate(arg2
);
26634 wxPyEndAllowThreads(__tstate
);
26635 if (PyErr_Occurred()) SWIG_fail
;
26637 resultobj
= SWIG_Py_Void();
26644 SWIGINTERN PyObject
*_wrap_PrintDialogData_SetPrintToFile(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26645 PyObject
*resultobj
= 0;
26646 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
26652 PyObject
* obj0
= 0 ;
26653 PyObject
* obj1
= 0 ;
26654 char * kwnames
[] = {
26655 (char *) "self",(char *) "flag", NULL
26658 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetPrintToFile",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26659 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
26660 if (!SWIG_IsOK(res1
)) {
26661 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_SetPrintToFile" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
26663 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
26664 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
26665 if (!SWIG_IsOK(ecode2
)) {
26666 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintDialogData_SetPrintToFile" "', expected argument " "2"" of type '" "bool""'");
26668 arg2
= static_cast< bool >(val2
);
26670 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26671 (arg1
)->SetPrintToFile(arg2
);
26672 wxPyEndAllowThreads(__tstate
);
26673 if (PyErr_Occurred()) SWIG_fail
;
26675 resultobj
= SWIG_Py_Void();
26682 SWIGINTERN PyObject
*_wrap_PrintDialogData_EnablePrintToFile(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26683 PyObject
*resultobj
= 0;
26684 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
26690 PyObject
* obj0
= 0 ;
26691 PyObject
* obj1
= 0 ;
26692 char * kwnames
[] = {
26693 (char *) "self",(char *) "flag", NULL
26696 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_EnablePrintToFile",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26697 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
26698 if (!SWIG_IsOK(res1
)) {
26699 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_EnablePrintToFile" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
26701 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
26702 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
26703 if (!SWIG_IsOK(ecode2
)) {
26704 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintDialogData_EnablePrintToFile" "', expected argument " "2"" of type '" "bool""'");
26706 arg2
= static_cast< bool >(val2
);
26708 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26709 (arg1
)->EnablePrintToFile(arg2
);
26710 wxPyEndAllowThreads(__tstate
);
26711 if (PyErr_Occurred()) SWIG_fail
;
26713 resultobj
= SWIG_Py_Void();
26720 SWIGINTERN PyObject
*_wrap_PrintDialogData_EnableSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26721 PyObject
*resultobj
= 0;
26722 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
26728 PyObject
* obj0
= 0 ;
26729 PyObject
* obj1
= 0 ;
26730 char * kwnames
[] = {
26731 (char *) "self",(char *) "flag", NULL
26734 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_EnableSelection",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26735 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
26736 if (!SWIG_IsOK(res1
)) {
26737 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_EnableSelection" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
26739 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
26740 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
26741 if (!SWIG_IsOK(ecode2
)) {
26742 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintDialogData_EnableSelection" "', expected argument " "2"" of type '" "bool""'");
26744 arg2
= static_cast< bool >(val2
);
26746 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26747 (arg1
)->EnableSelection(arg2
);
26748 wxPyEndAllowThreads(__tstate
);
26749 if (PyErr_Occurred()) SWIG_fail
;
26751 resultobj
= SWIG_Py_Void();
26758 SWIGINTERN PyObject
*_wrap_PrintDialogData_EnablePageNumbers(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26759 PyObject
*resultobj
= 0;
26760 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
26766 PyObject
* obj0
= 0 ;
26767 PyObject
* obj1
= 0 ;
26768 char * kwnames
[] = {
26769 (char *) "self",(char *) "flag", NULL
26772 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_EnablePageNumbers",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26773 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
26774 if (!SWIG_IsOK(res1
)) {
26775 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_EnablePageNumbers" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
26777 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
26778 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
26779 if (!SWIG_IsOK(ecode2
)) {
26780 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintDialogData_EnablePageNumbers" "', expected argument " "2"" of type '" "bool""'");
26782 arg2
= static_cast< bool >(val2
);
26784 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26785 (arg1
)->EnablePageNumbers(arg2
);
26786 wxPyEndAllowThreads(__tstate
);
26787 if (PyErr_Occurred()) SWIG_fail
;
26789 resultobj
= SWIG_Py_Void();
26796 SWIGINTERN PyObject
*_wrap_PrintDialogData_EnableHelp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26797 PyObject
*resultobj
= 0;
26798 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
26804 PyObject
* obj0
= 0 ;
26805 PyObject
* obj1
= 0 ;
26806 char * kwnames
[] = {
26807 (char *) "self",(char *) "flag", NULL
26810 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_EnableHelp",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26811 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
26812 if (!SWIG_IsOK(res1
)) {
26813 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_EnableHelp" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
26815 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
26816 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
26817 if (!SWIG_IsOK(ecode2
)) {
26818 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintDialogData_EnableHelp" "', expected argument " "2"" of type '" "bool""'");
26820 arg2
= static_cast< bool >(val2
);
26822 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26823 (arg1
)->EnableHelp(arg2
);
26824 wxPyEndAllowThreads(__tstate
);
26825 if (PyErr_Occurred()) SWIG_fail
;
26827 resultobj
= SWIG_Py_Void();
26834 SWIGINTERN PyObject
*_wrap_PrintDialogData_GetEnablePrintToFile(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26835 PyObject
*resultobj
= 0;
26836 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
26840 PyObject
*swig_obj
[1] ;
26842 if (!args
) SWIG_fail
;
26843 swig_obj
[0] = args
;
26844 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
26845 if (!SWIG_IsOK(res1
)) {
26846 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_GetEnablePrintToFile" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
26848 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
26850 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26851 result
= (bool)((wxPrintDialogData
const *)arg1
)->GetEnablePrintToFile();
26852 wxPyEndAllowThreads(__tstate
);
26853 if (PyErr_Occurred()) SWIG_fail
;
26856 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26864 SWIGINTERN PyObject
*_wrap_PrintDialogData_GetEnableSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26865 PyObject
*resultobj
= 0;
26866 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
26870 PyObject
*swig_obj
[1] ;
26872 if (!args
) SWIG_fail
;
26873 swig_obj
[0] = args
;
26874 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
26875 if (!SWIG_IsOK(res1
)) {
26876 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_GetEnableSelection" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
26878 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
26880 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26881 result
= (bool)((wxPrintDialogData
const *)arg1
)->GetEnableSelection();
26882 wxPyEndAllowThreads(__tstate
);
26883 if (PyErr_Occurred()) SWIG_fail
;
26886 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26894 SWIGINTERN PyObject
*_wrap_PrintDialogData_GetEnablePageNumbers(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26895 PyObject
*resultobj
= 0;
26896 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
26900 PyObject
*swig_obj
[1] ;
26902 if (!args
) SWIG_fail
;
26903 swig_obj
[0] = args
;
26904 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
26905 if (!SWIG_IsOK(res1
)) {
26906 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_GetEnablePageNumbers" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
26908 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
26910 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26911 result
= (bool)((wxPrintDialogData
const *)arg1
)->GetEnablePageNumbers();
26912 wxPyEndAllowThreads(__tstate
);
26913 if (PyErr_Occurred()) SWIG_fail
;
26916 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26924 SWIGINTERN PyObject
*_wrap_PrintDialogData_GetEnableHelp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26925 PyObject
*resultobj
= 0;
26926 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
26930 PyObject
*swig_obj
[1] ;
26932 if (!args
) SWIG_fail
;
26933 swig_obj
[0] = args
;
26934 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
26935 if (!SWIG_IsOK(res1
)) {
26936 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_GetEnableHelp" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
26938 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
26940 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26941 result
= (bool)((wxPrintDialogData
const *)arg1
)->GetEnableHelp();
26942 wxPyEndAllowThreads(__tstate
);
26943 if (PyErr_Occurred()) SWIG_fail
;
26946 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26954 SWIGINTERN PyObject
*_wrap_PrintDialogData_IsOk(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26955 PyObject
*resultobj
= 0;
26956 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
26960 PyObject
*swig_obj
[1] ;
26962 if (!args
) SWIG_fail
;
26963 swig_obj
[0] = args
;
26964 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
26965 if (!SWIG_IsOK(res1
)) {
26966 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_IsOk" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
26968 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
26970 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26971 result
= (bool)((wxPrintDialogData
const *)arg1
)->IsOk();
26972 wxPyEndAllowThreads(__tstate
);
26973 if (PyErr_Occurred()) SWIG_fail
;
26976 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26984 SWIGINTERN PyObject
*_wrap_PrintDialogData_GetPrintData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26985 PyObject
*resultobj
= 0;
26986 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
26987 wxPrintData
*result
= 0 ;
26990 PyObject
*swig_obj
[1] ;
26992 if (!args
) SWIG_fail
;
26993 swig_obj
[0] = args
;
26994 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
26995 if (!SWIG_IsOK(res1
)) {
26996 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_GetPrintData" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
26998 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
27000 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27002 wxPrintData
&_result_ref
= (arg1
)->GetPrintData();
27003 result
= (wxPrintData
*) &_result_ref
;
27005 wxPyEndAllowThreads(__tstate
);
27006 if (PyErr_Occurred()) SWIG_fail
;
27008 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPrintData
, 0 | 0 );
27015 SWIGINTERN PyObject
*_wrap_PrintDialogData_SetPrintData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27016 PyObject
*resultobj
= 0;
27017 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
27018 wxPrintData
*arg2
= 0 ;
27023 PyObject
* obj0
= 0 ;
27024 PyObject
* obj1
= 0 ;
27025 char * kwnames
[] = {
27026 (char *) "self",(char *) "printData", NULL
27029 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetPrintData",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
27030 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
27031 if (!SWIG_IsOK(res1
)) {
27032 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_SetPrintData" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
27034 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
27035 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxPrintData
, 0 | 0);
27036 if (!SWIG_IsOK(res2
)) {
27037 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PrintDialogData_SetPrintData" "', expected argument " "2"" of type '" "wxPrintData const &""'");
27040 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "PrintDialogData_SetPrintData" "', expected argument " "2"" of type '" "wxPrintData const &""'");
27042 arg2
= reinterpret_cast< wxPrintData
* >(argp2
);
27044 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27045 (arg1
)->SetPrintData((wxPrintData
const &)*arg2
);
27046 wxPyEndAllowThreads(__tstate
);
27047 if (PyErr_Occurred()) SWIG_fail
;
27049 resultobj
= SWIG_Py_Void();
27056 SWIGINTERN PyObject
*PrintDialogData_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27058 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
27059 SWIG_TypeNewClientData(SWIGTYPE_p_wxPrintDialogData
, SWIG_NewClientData(obj
));
27060 return SWIG_Py_Void();
27063 SWIGINTERN PyObject
*PrintDialogData_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27064 return SWIG_Python_InitShadowInstance(args
);
27067 SWIGINTERN PyObject
*_wrap_new_PrintDialog(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27068 PyObject
*resultobj
= 0;
27069 wxWindow
*arg1
= (wxWindow
*) 0 ;
27070 wxPrintDialogData
*arg2
= (wxPrintDialogData
*) NULL
;
27071 wxPrintDialog
*result
= 0 ;
27076 PyObject
* obj0
= 0 ;
27077 PyObject
* obj1
= 0 ;
27078 char * kwnames
[] = {
27079 (char *) "parent",(char *) "data", NULL
27082 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_PrintDialog",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
27083 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
27084 if (!SWIG_IsOK(res1
)) {
27085 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PrintDialog" "', expected argument " "1"" of type '" "wxWindow *""'");
27087 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
27089 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
27090 if (!SWIG_IsOK(res2
)) {
27091 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_PrintDialog" "', expected argument " "2"" of type '" "wxPrintDialogData *""'");
27093 arg2
= reinterpret_cast< wxPrintDialogData
* >(argp2
);
27096 if (!wxPyCheckForApp()) SWIG_fail
;
27097 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27098 result
= (wxPrintDialog
*)new wxPrintDialog(arg1
,arg2
);
27099 wxPyEndAllowThreads(__tstate
);
27100 if (PyErr_Occurred()) SWIG_fail
;
27102 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPrintDialog
, SWIG_POINTER_NEW
| 0 );
27109 SWIGINTERN PyObject
*_wrap_delete_PrintDialog(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27110 PyObject
*resultobj
= 0;
27111 wxPrintDialog
*arg1
= (wxPrintDialog
*) 0 ;
27114 PyObject
*swig_obj
[1] ;
27116 if (!args
) SWIG_fail
;
27117 swig_obj
[0] = args
;
27118 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintDialog
, SWIG_POINTER_DISOWN
| 0 );
27119 if (!SWIG_IsOK(res1
)) {
27120 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_PrintDialog" "', expected argument " "1"" of type '" "wxPrintDialog *""'");
27122 arg1
= reinterpret_cast< wxPrintDialog
* >(argp1
);
27124 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27127 wxPyEndAllowThreads(__tstate
);
27128 if (PyErr_Occurred()) SWIG_fail
;
27130 resultobj
= SWIG_Py_Void();
27137 SWIGINTERN PyObject
*_wrap_PrintDialog_ShowModal(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27138 PyObject
*resultobj
= 0;
27139 wxPrintDialog
*arg1
= (wxPrintDialog
*) 0 ;
27143 PyObject
*swig_obj
[1] ;
27145 if (!args
) SWIG_fail
;
27146 swig_obj
[0] = args
;
27147 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintDialog
, 0 | 0 );
27148 if (!SWIG_IsOK(res1
)) {
27149 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialog_ShowModal" "', expected argument " "1"" of type '" "wxPrintDialog *""'");
27151 arg1
= reinterpret_cast< wxPrintDialog
* >(argp1
);
27153 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27154 result
= (int)(arg1
)->ShowModal();
27155 wxPyEndAllowThreads(__tstate
);
27156 if (PyErr_Occurred()) SWIG_fail
;
27158 resultobj
= SWIG_From_int(static_cast< int >(result
));
27165 SWIGINTERN PyObject
*_wrap_PrintDialog_GetPrintDialogData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27166 PyObject
*resultobj
= 0;
27167 wxPrintDialog
*arg1
= (wxPrintDialog
*) 0 ;
27168 wxPrintDialogData
*result
= 0 ;
27171 PyObject
*swig_obj
[1] ;
27173 if (!args
) SWIG_fail
;
27174 swig_obj
[0] = args
;
27175 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintDialog
, 0 | 0 );
27176 if (!SWIG_IsOK(res1
)) {
27177 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialog_GetPrintDialogData" "', expected argument " "1"" of type '" "wxPrintDialog *""'");
27179 arg1
= reinterpret_cast< wxPrintDialog
* >(argp1
);
27181 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27183 wxPrintDialogData
&_result_ref
= (arg1
)->GetPrintDialogData();
27184 result
= (wxPrintDialogData
*) &_result_ref
;
27186 wxPyEndAllowThreads(__tstate
);
27187 if (PyErr_Occurred()) SWIG_fail
;
27189 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
27196 SWIGINTERN PyObject
*_wrap_PrintDialog_GetPrintData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27197 PyObject
*resultobj
= 0;
27198 wxPrintDialog
*arg1
= (wxPrintDialog
*) 0 ;
27199 wxPrintData
*result
= 0 ;
27202 PyObject
*swig_obj
[1] ;
27204 if (!args
) SWIG_fail
;
27205 swig_obj
[0] = args
;
27206 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintDialog
, 0 | 0 );
27207 if (!SWIG_IsOK(res1
)) {
27208 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialog_GetPrintData" "', expected argument " "1"" of type '" "wxPrintDialog *""'");
27210 arg1
= reinterpret_cast< wxPrintDialog
* >(argp1
);
27212 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27214 wxPrintData
&_result_ref
= (arg1
)->GetPrintData();
27215 result
= (wxPrintData
*) &_result_ref
;
27217 wxPyEndAllowThreads(__tstate
);
27218 if (PyErr_Occurred()) SWIG_fail
;
27220 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPrintData
, 0 | 0 );
27227 SWIGINTERN PyObject
*_wrap_PrintDialog_GetPrintDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27228 PyObject
*resultobj
= 0;
27229 wxPrintDialog
*arg1
= (wxPrintDialog
*) 0 ;
27233 PyObject
*swig_obj
[1] ;
27235 if (!args
) SWIG_fail
;
27236 swig_obj
[0] = args
;
27237 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintDialog
, 0 | 0 );
27238 if (!SWIG_IsOK(res1
)) {
27239 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialog_GetPrintDC" "', expected argument " "1"" of type '" "wxPrintDialog *""'");
27241 arg1
= reinterpret_cast< wxPrintDialog
* >(argp1
);
27243 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27244 result
= (wxDC
*)(arg1
)->GetPrintDC();
27245 wxPyEndAllowThreads(__tstate
);
27246 if (PyErr_Occurred()) SWIG_fail
;
27249 resultobj
= wxPyMake_wxObject(result
, (bool)SWIG_POINTER_OWN
);
27257 SWIGINTERN PyObject
*PrintDialog_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27259 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
27260 SWIG_TypeNewClientData(SWIGTYPE_p_wxPrintDialog
, SWIG_NewClientData(obj
));
27261 return SWIG_Py_Void();
27264 SWIGINTERN PyObject
*PrintDialog_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27265 return SWIG_Python_InitShadowInstance(args
);
27268 SWIGINTERN PyObject
*_wrap_new_Printer(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27269 PyObject
*resultobj
= 0;
27270 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) NULL
;
27271 wxPrinter
*result
= 0 ;
27274 PyObject
* obj0
= 0 ;
27275 char * kwnames
[] = {
27276 (char *) "data", NULL
27279 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_Printer",kwnames
,&obj0
)) SWIG_fail
;
27281 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
27282 if (!SWIG_IsOK(res1
)) {
27283 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_Printer" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
27285 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
27288 if (!wxPyCheckForApp()) SWIG_fail
;
27289 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27290 result
= (wxPrinter
*)new wxPrinter(arg1
);
27291 wxPyEndAllowThreads(__tstate
);
27292 if (PyErr_Occurred()) SWIG_fail
;
27294 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPrinter
, SWIG_POINTER_NEW
| 0 );
27301 SWIGINTERN PyObject
*_wrap_delete_Printer(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27302 PyObject
*resultobj
= 0;
27303 wxPrinter
*arg1
= (wxPrinter
*) 0 ;
27306 PyObject
*swig_obj
[1] ;
27308 if (!args
) SWIG_fail
;
27309 swig_obj
[0] = args
;
27310 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrinter
, SWIG_POINTER_DISOWN
| 0 );
27311 if (!SWIG_IsOK(res1
)) {
27312 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_Printer" "', expected argument " "1"" of type '" "wxPrinter *""'");
27314 arg1
= reinterpret_cast< wxPrinter
* >(argp1
);
27316 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27319 wxPyEndAllowThreads(__tstate
);
27320 if (PyErr_Occurred()) SWIG_fail
;
27322 resultobj
= SWIG_Py_Void();
27329 SWIGINTERN PyObject
*_wrap_Printer_CreateAbortWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27330 PyObject
*resultobj
= 0;
27331 wxPrinter
*arg1
= (wxPrinter
*) 0 ;
27332 wxWindow
*arg2
= (wxWindow
*) 0 ;
27333 wxPyPrintout
*arg3
= (wxPyPrintout
*) 0 ;
27334 wxWindow
*result
= 0 ;
27341 PyObject
* obj0
= 0 ;
27342 PyObject
* obj1
= 0 ;
27343 PyObject
* obj2
= 0 ;
27344 char * kwnames
[] = {
27345 (char *) "self",(char *) "parent",(char *) "printout", NULL
27348 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Printer_CreateAbortWindow",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
27349 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrinter
, 0 | 0 );
27350 if (!SWIG_IsOK(res1
)) {
27351 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printer_CreateAbortWindow" "', expected argument " "1"" of type '" "wxPrinter *""'");
27353 arg1
= reinterpret_cast< wxPrinter
* >(argp1
);
27354 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
27355 if (!SWIG_IsOK(res2
)) {
27356 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Printer_CreateAbortWindow" "', expected argument " "2"" of type '" "wxWindow *""'");
27358 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
27359 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
27360 if (!SWIG_IsOK(res3
)) {
27361 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "Printer_CreateAbortWindow" "', expected argument " "3"" of type '" "wxPyPrintout *""'");
27363 arg3
= reinterpret_cast< wxPyPrintout
* >(argp3
);
27365 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27366 result
= (wxWindow
*)(arg1
)->CreateAbortWindow(arg2
,arg3
);
27367 wxPyEndAllowThreads(__tstate
);
27368 if (PyErr_Occurred()) SWIG_fail
;
27371 resultobj
= wxPyMake_wxObject(result
, 0);
27379 SWIGINTERN PyObject
*_wrap_Printer_ReportError(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27380 PyObject
*resultobj
= 0;
27381 wxPrinter
*arg1
= (wxPrinter
*) 0 ;
27382 wxWindow
*arg2
= (wxWindow
*) 0 ;
27383 wxPyPrintout
*arg3
= (wxPyPrintout
*) 0 ;
27384 wxString
*arg4
= 0 ;
27391 bool temp4
= false ;
27392 PyObject
* obj0
= 0 ;
27393 PyObject
* obj1
= 0 ;
27394 PyObject
* obj2
= 0 ;
27395 PyObject
* obj3
= 0 ;
27396 char * kwnames
[] = {
27397 (char *) "self",(char *) "parent",(char *) "printout",(char *) "message", NULL
27400 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:Printer_ReportError",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
27401 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrinter
, 0 | 0 );
27402 if (!SWIG_IsOK(res1
)) {
27403 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printer_ReportError" "', expected argument " "1"" of type '" "wxPrinter *""'");
27405 arg1
= reinterpret_cast< wxPrinter
* >(argp1
);
27406 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
27407 if (!SWIG_IsOK(res2
)) {
27408 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Printer_ReportError" "', expected argument " "2"" of type '" "wxWindow *""'");
27410 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
27411 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
27412 if (!SWIG_IsOK(res3
)) {
27413 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "Printer_ReportError" "', expected argument " "3"" of type '" "wxPyPrintout *""'");
27415 arg3
= reinterpret_cast< wxPyPrintout
* >(argp3
);
27417 arg4
= wxString_in_helper(obj3
);
27418 if (arg4
== NULL
) SWIG_fail
;
27422 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27423 (arg1
)->ReportError(arg2
,arg3
,(wxString
const &)*arg4
);
27424 wxPyEndAllowThreads(__tstate
);
27425 if (PyErr_Occurred()) SWIG_fail
;
27427 resultobj
= SWIG_Py_Void();
27442 SWIGINTERN PyObject
*_wrap_Printer_Setup(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27443 PyObject
*resultobj
= 0;
27444 wxPrinter
*arg1
= (wxPrinter
*) 0 ;
27445 wxWindow
*arg2
= (wxWindow
*) 0 ;
27451 PyObject
* obj0
= 0 ;
27452 PyObject
* obj1
= 0 ;
27453 char * kwnames
[] = {
27454 (char *) "self",(char *) "parent", NULL
27457 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Printer_Setup",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
27458 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrinter
, 0 | 0 );
27459 if (!SWIG_IsOK(res1
)) {
27460 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printer_Setup" "', expected argument " "1"" of type '" "wxPrinter *""'");
27462 arg1
= reinterpret_cast< wxPrinter
* >(argp1
);
27463 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
27464 if (!SWIG_IsOK(res2
)) {
27465 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Printer_Setup" "', expected argument " "2"" of type '" "wxWindow *""'");
27467 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
27469 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27470 result
= (bool)(arg1
)->Setup(arg2
);
27471 wxPyEndAllowThreads(__tstate
);
27472 if (PyErr_Occurred()) SWIG_fail
;
27475 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27483 SWIGINTERN PyObject
*_wrap_Printer_Print(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27484 PyObject
*resultobj
= 0;
27485 wxPrinter
*arg1
= (wxPrinter
*) 0 ;
27486 wxWindow
*arg2
= (wxWindow
*) 0 ;
27487 wxPyPrintout
*arg3
= (wxPyPrintout
*) 0 ;
27488 bool arg4
= (bool) true ;
27498 PyObject
* obj0
= 0 ;
27499 PyObject
* obj1
= 0 ;
27500 PyObject
* obj2
= 0 ;
27501 PyObject
* obj3
= 0 ;
27502 char * kwnames
[] = {
27503 (char *) "self",(char *) "parent",(char *) "printout",(char *) "prompt", NULL
27506 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Printer_Print",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
27507 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrinter
, 0 | 0 );
27508 if (!SWIG_IsOK(res1
)) {
27509 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printer_Print" "', expected argument " "1"" of type '" "wxPrinter *""'");
27511 arg1
= reinterpret_cast< wxPrinter
* >(argp1
);
27512 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
27513 if (!SWIG_IsOK(res2
)) {
27514 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Printer_Print" "', expected argument " "2"" of type '" "wxWindow *""'");
27516 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
27517 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
27518 if (!SWIG_IsOK(res3
)) {
27519 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "Printer_Print" "', expected argument " "3"" of type '" "wxPyPrintout *""'");
27521 arg3
= reinterpret_cast< wxPyPrintout
* >(argp3
);
27523 ecode4
= SWIG_AsVal_bool(obj3
, &val4
);
27524 if (!SWIG_IsOK(ecode4
)) {
27525 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Printer_Print" "', expected argument " "4"" of type '" "bool""'");
27527 arg4
= static_cast< bool >(val4
);
27530 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27531 result
= (bool)(arg1
)->Print(arg2
,arg3
,arg4
);
27532 wxPyEndAllowThreads(__tstate
);
27533 if (PyErr_Occurred()) SWIG_fail
;
27536 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27544 SWIGINTERN PyObject
*_wrap_Printer_PrintDialog(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27545 PyObject
*resultobj
= 0;
27546 wxPrinter
*arg1
= (wxPrinter
*) 0 ;
27547 wxWindow
*arg2
= (wxWindow
*) 0 ;
27553 PyObject
* obj0
= 0 ;
27554 PyObject
* obj1
= 0 ;
27555 char * kwnames
[] = {
27556 (char *) "self",(char *) "parent", NULL
27559 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Printer_PrintDialog",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
27560 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrinter
, 0 | 0 );
27561 if (!SWIG_IsOK(res1
)) {
27562 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printer_PrintDialog" "', expected argument " "1"" of type '" "wxPrinter *""'");
27564 arg1
= reinterpret_cast< wxPrinter
* >(argp1
);
27565 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
27566 if (!SWIG_IsOK(res2
)) {
27567 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Printer_PrintDialog" "', expected argument " "2"" of type '" "wxWindow *""'");
27569 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
27571 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27572 result
= (wxDC
*)(arg1
)->PrintDialog(arg2
);
27573 wxPyEndAllowThreads(__tstate
);
27574 if (PyErr_Occurred()) SWIG_fail
;
27577 resultobj
= wxPyMake_wxObject(result
, (bool)0);
27585 SWIGINTERN PyObject
*_wrap_Printer_GetPrintDialogData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27586 PyObject
*resultobj
= 0;
27587 wxPrinter
*arg1
= (wxPrinter
*) 0 ;
27588 wxPrintDialogData
*result
= 0 ;
27591 PyObject
*swig_obj
[1] ;
27593 if (!args
) SWIG_fail
;
27594 swig_obj
[0] = args
;
27595 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrinter
, 0 | 0 );
27596 if (!SWIG_IsOK(res1
)) {
27597 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printer_GetPrintDialogData" "', expected argument " "1"" of type '" "wxPrinter const *""'");
27599 arg1
= reinterpret_cast< wxPrinter
* >(argp1
);
27601 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27603 wxPrintDialogData
&_result_ref
= ((wxPrinter
const *)arg1
)->GetPrintDialogData();
27604 result
= (wxPrintDialogData
*) &_result_ref
;
27606 wxPyEndAllowThreads(__tstate
);
27607 if (PyErr_Occurred()) SWIG_fail
;
27609 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
27616 SWIGINTERN PyObject
*_wrap_Printer_GetAbort(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27617 PyObject
*resultobj
= 0;
27618 wxPrinter
*arg1
= (wxPrinter
*) 0 ;
27622 PyObject
*swig_obj
[1] ;
27624 if (!args
) SWIG_fail
;
27625 swig_obj
[0] = args
;
27626 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrinter
, 0 | 0 );
27627 if (!SWIG_IsOK(res1
)) {
27628 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printer_GetAbort" "', expected argument " "1"" of type '" "wxPrinter *""'");
27630 arg1
= reinterpret_cast< wxPrinter
* >(argp1
);
27632 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27633 result
= (bool)(arg1
)->GetAbort();
27634 wxPyEndAllowThreads(__tstate
);
27635 if (PyErr_Occurred()) SWIG_fail
;
27638 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27646 SWIGINTERN PyObject
*_wrap_Printer_GetLastError(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27647 PyObject
*resultobj
= 0;
27648 wxPrinterError result
;
27650 if (!SWIG_Python_UnpackTuple(args
,"Printer_GetLastError",0,0,0)) SWIG_fail
;
27652 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27653 result
= (wxPrinterError
)wxPrinter::GetLastError();
27654 wxPyEndAllowThreads(__tstate
);
27655 if (PyErr_Occurred()) SWIG_fail
;
27657 resultobj
= SWIG_From_int(static_cast< int >(result
));
27664 SWIGINTERN PyObject
*Printer_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27666 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
27667 SWIG_TypeNewClientData(SWIGTYPE_p_wxPrinter
, SWIG_NewClientData(obj
));
27668 return SWIG_Py_Void();
27671 SWIGINTERN PyObject
*Printer_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27672 return SWIG_Python_InitShadowInstance(args
);
27675 SWIGINTERN PyObject
*_wrap_new_Printout(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27676 PyObject
*resultobj
= 0;
27677 wxString
const &arg1_defvalue
= wxPyPrintoutTitleStr
;
27678 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
27679 wxPyPrintout
*result
= 0 ;
27680 bool temp1
= false ;
27681 PyObject
* obj0
= 0 ;
27682 char * kwnames
[] = {
27683 (char *) "title", NULL
27686 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_Printout",kwnames
,&obj0
)) SWIG_fail
;
27689 arg1
= wxString_in_helper(obj0
);
27690 if (arg1
== NULL
) SWIG_fail
;
27695 if (!wxPyCheckForApp()) SWIG_fail
;
27696 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27697 result
= (wxPyPrintout
*)new wxPyPrintout((wxString
const &)*arg1
);
27698 wxPyEndAllowThreads(__tstate
);
27699 if (PyErr_Occurred()) SWIG_fail
;
27701 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyPrintout
, SWIG_POINTER_NEW
| 0 );
27716 SWIGINTERN PyObject
*_wrap_delete_Printout(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27717 PyObject
*resultobj
= 0;
27718 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
27721 PyObject
*swig_obj
[1] ;
27723 if (!args
) SWIG_fail
;
27724 swig_obj
[0] = args
;
27725 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPrintout
, SWIG_POINTER_DISOWN
| 0 );
27726 if (!SWIG_IsOK(res1
)) {
27727 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_Printout" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
27729 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
27731 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27734 wxPyEndAllowThreads(__tstate
);
27735 if (PyErr_Occurred()) SWIG_fail
;
27737 resultobj
= SWIG_Py_Void();
27744 SWIGINTERN PyObject
*_wrap_Printout__setCallbackInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27745 PyObject
*resultobj
= 0;
27746 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
27747 PyObject
*arg2
= (PyObject
*) 0 ;
27748 PyObject
*arg3
= (PyObject
*) 0 ;
27751 PyObject
* obj0
= 0 ;
27752 PyObject
* obj1
= 0 ;
27753 PyObject
* obj2
= 0 ;
27754 char * kwnames
[] = {
27755 (char *) "self",(char *) "self",(char *) "_class", NULL
27758 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Printout__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
27759 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
27760 if (!SWIG_IsOK(res1
)) {
27761 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
27763 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
27767 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27768 (arg1
)->_setCallbackInfo(arg2
,arg3
);
27769 wxPyEndAllowThreads(__tstate
);
27770 if (PyErr_Occurred()) SWIG_fail
;
27772 resultobj
= SWIG_Py_Void();
27779 SWIGINTERN PyObject
*_wrap_Printout_GetTitle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27780 PyObject
*resultobj
= 0;
27781 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
27785 PyObject
*swig_obj
[1] ;
27787 if (!args
) SWIG_fail
;
27788 swig_obj
[0] = args
;
27789 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
27790 if (!SWIG_IsOK(res1
)) {
27791 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout_GetTitle" "', expected argument " "1"" of type '" "wxPyPrintout const *""'");
27793 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
27795 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27796 result
= ((wxPyPrintout
const *)arg1
)->GetTitle();
27797 wxPyEndAllowThreads(__tstate
);
27798 if (PyErr_Occurred()) SWIG_fail
;
27802 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
27804 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
27813 SWIGINTERN PyObject
*_wrap_Printout_GetDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27814 PyObject
*resultobj
= 0;
27815 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
27819 PyObject
*swig_obj
[1] ;
27821 if (!args
) SWIG_fail
;
27822 swig_obj
[0] = args
;
27823 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
27824 if (!SWIG_IsOK(res1
)) {
27825 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout_GetDC" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
27827 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
27829 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27830 result
= (wxDC
*)(arg1
)->GetDC();
27831 wxPyEndAllowThreads(__tstate
);
27832 if (PyErr_Occurred()) SWIG_fail
;
27835 resultobj
= wxPyMake_wxObject(result
, (bool)0);
27843 SWIGINTERN PyObject
*_wrap_Printout_SetDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27844 PyObject
*resultobj
= 0;
27845 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
27846 wxDC
*arg2
= (wxDC
*) 0 ;
27851 PyObject
* obj0
= 0 ;
27852 PyObject
* obj1
= 0 ;
27853 char * kwnames
[] = {
27854 (char *) "self",(char *) "dc", NULL
27857 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Printout_SetDC",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
27858 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
27859 if (!SWIG_IsOK(res1
)) {
27860 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout_SetDC" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
27862 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
27863 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxDC
, 0 | 0 );
27864 if (!SWIG_IsOK(res2
)) {
27865 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Printout_SetDC" "', expected argument " "2"" of type '" "wxDC *""'");
27867 arg2
= reinterpret_cast< wxDC
* >(argp2
);
27869 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27870 (arg1
)->SetDC(arg2
);
27871 wxPyEndAllowThreads(__tstate
);
27872 if (PyErr_Occurred()) SWIG_fail
;
27874 resultobj
= SWIG_Py_Void();
27881 SWIGINTERN PyObject
*_wrap_Printout_FitThisSizeToPaper(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27882 PyObject
*resultobj
= 0;
27883 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
27888 PyObject
* obj0
= 0 ;
27889 PyObject
* obj1
= 0 ;
27890 char * kwnames
[] = {
27891 (char *) "self",(char *) "imageSize", NULL
27894 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Printout_FitThisSizeToPaper",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
27895 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
27896 if (!SWIG_IsOK(res1
)) {
27897 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout_FitThisSizeToPaper" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
27899 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
27902 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
27905 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27906 (arg1
)->FitThisSizeToPaper((wxSize
const &)*arg2
);
27907 wxPyEndAllowThreads(__tstate
);
27908 if (PyErr_Occurred()) SWIG_fail
;
27910 resultobj
= SWIG_Py_Void();
27917 SWIGINTERN PyObject
*_wrap_Printout_FitThisSizeToPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27918 PyObject
*resultobj
= 0;
27919 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
27924 PyObject
* obj0
= 0 ;
27925 PyObject
* obj1
= 0 ;
27926 char * kwnames
[] = {
27927 (char *) "self",(char *) "imageSize", NULL
27930 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Printout_FitThisSizeToPage",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
27931 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
27932 if (!SWIG_IsOK(res1
)) {
27933 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout_FitThisSizeToPage" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
27935 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
27938 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
27941 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27942 (arg1
)->FitThisSizeToPage((wxSize
const &)*arg2
);
27943 wxPyEndAllowThreads(__tstate
);
27944 if (PyErr_Occurred()) SWIG_fail
;
27946 resultobj
= SWIG_Py_Void();
27953 SWIGINTERN PyObject
*_wrap_Printout_FitThisSizeToPageMargins(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27954 PyObject
*resultobj
= 0;
27955 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
27957 wxPageSetupDialogData
*arg3
= 0 ;
27963 PyObject
* obj0
= 0 ;
27964 PyObject
* obj1
= 0 ;
27965 PyObject
* obj2
= 0 ;
27966 char * kwnames
[] = {
27967 (char *) "self",(char *) "imageSize",(char *) "pageSetupData", NULL
27970 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Printout_FitThisSizeToPageMargins",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
27971 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
27972 if (!SWIG_IsOK(res1
)) {
27973 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout_FitThisSizeToPageMargins" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
27975 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
27978 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
27980 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0);
27981 if (!SWIG_IsOK(res3
)) {
27982 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "Printout_FitThisSizeToPageMargins" "', expected argument " "3"" of type '" "wxPageSetupDialogData const &""'");
27985 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Printout_FitThisSizeToPageMargins" "', expected argument " "3"" of type '" "wxPageSetupDialogData const &""'");
27987 arg3
= reinterpret_cast< wxPageSetupDialogData
* >(argp3
);
27989 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27990 (arg1
)->FitThisSizeToPageMargins((wxSize
const &)*arg2
,(wxPageSetupDialogData
const &)*arg3
);
27991 wxPyEndAllowThreads(__tstate
);
27992 if (PyErr_Occurred()) SWIG_fail
;
27994 resultobj
= SWIG_Py_Void();
28001 SWIGINTERN PyObject
*_wrap_Printout_MapScreenSizeToPaper(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28002 PyObject
*resultobj
= 0;
28003 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
28006 PyObject
*swig_obj
[1] ;
28008 if (!args
) SWIG_fail
;
28009 swig_obj
[0] = args
;
28010 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
28011 if (!SWIG_IsOK(res1
)) {
28012 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout_MapScreenSizeToPaper" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
28014 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
28016 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28017 (arg1
)->MapScreenSizeToPaper();
28018 wxPyEndAllowThreads(__tstate
);
28019 if (PyErr_Occurred()) SWIG_fail
;
28021 resultobj
= SWIG_Py_Void();
28028 SWIGINTERN PyObject
*_wrap_Printout_MapScreenSizeToPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28029 PyObject
*resultobj
= 0;
28030 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
28033 PyObject
*swig_obj
[1] ;
28035 if (!args
) SWIG_fail
;
28036 swig_obj
[0] = args
;
28037 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
28038 if (!SWIG_IsOK(res1
)) {
28039 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout_MapScreenSizeToPage" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
28041 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
28043 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28044 (arg1
)->MapScreenSizeToPage();
28045 wxPyEndAllowThreads(__tstate
);
28046 if (PyErr_Occurred()) SWIG_fail
;
28048 resultobj
= SWIG_Py_Void();
28055 SWIGINTERN PyObject
*_wrap_Printout_MapScreenSizeToPageMargins(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28056 PyObject
*resultobj
= 0;
28057 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
28058 wxPageSetupDialogData
*arg2
= 0 ;
28063 PyObject
* obj0
= 0 ;
28064 PyObject
* obj1
= 0 ;
28065 char * kwnames
[] = {
28066 (char *) "self",(char *) "pageSetupData", NULL
28069 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Printout_MapScreenSizeToPageMargins",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
28070 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
28071 if (!SWIG_IsOK(res1
)) {
28072 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout_MapScreenSizeToPageMargins" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
28074 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
28075 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0);
28076 if (!SWIG_IsOK(res2
)) {
28077 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Printout_MapScreenSizeToPageMargins" "', expected argument " "2"" of type '" "wxPageSetupDialogData const &""'");
28080 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Printout_MapScreenSizeToPageMargins" "', expected argument " "2"" of type '" "wxPageSetupDialogData const &""'");
28082 arg2
= reinterpret_cast< wxPageSetupDialogData
* >(argp2
);
28084 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28085 (arg1
)->MapScreenSizeToPageMargins((wxPageSetupDialogData
const &)*arg2
);
28086 wxPyEndAllowThreads(__tstate
);
28087 if (PyErr_Occurred()) SWIG_fail
;
28089 resultobj
= SWIG_Py_Void();
28096 SWIGINTERN PyObject
*_wrap_Printout_MapScreenSizeToDevice(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28097 PyObject
*resultobj
= 0;
28098 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
28101 PyObject
*swig_obj
[1] ;
28103 if (!args
) SWIG_fail
;
28104 swig_obj
[0] = args
;
28105 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
28106 if (!SWIG_IsOK(res1
)) {
28107 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout_MapScreenSizeToDevice" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
28109 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
28111 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28112 (arg1
)->MapScreenSizeToDevice();
28113 wxPyEndAllowThreads(__tstate
);
28114 if (PyErr_Occurred()) SWIG_fail
;
28116 resultobj
= SWIG_Py_Void();
28123 SWIGINTERN PyObject
*_wrap_Printout_GetLogicalPaperRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28124 PyObject
*resultobj
= 0;
28125 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
28129 PyObject
*swig_obj
[1] ;
28131 if (!args
) SWIG_fail
;
28132 swig_obj
[0] = args
;
28133 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
28134 if (!SWIG_IsOK(res1
)) {
28135 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout_GetLogicalPaperRect" "', expected argument " "1"" of type '" "wxPyPrintout const *""'");
28137 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
28139 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28140 result
= ((wxPyPrintout
const *)arg1
)->GetLogicalPaperRect();
28141 wxPyEndAllowThreads(__tstate
);
28142 if (PyErr_Occurred()) SWIG_fail
;
28144 resultobj
= SWIG_NewPointerObj((new wxRect(static_cast< const wxRect
& >(result
))), SWIGTYPE_p_wxRect
, SWIG_POINTER_OWN
| 0 );
28151 SWIGINTERN PyObject
*_wrap_Printout_GetLogicalPageRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28152 PyObject
*resultobj
= 0;
28153 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
28157 PyObject
*swig_obj
[1] ;
28159 if (!args
) SWIG_fail
;
28160 swig_obj
[0] = args
;
28161 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
28162 if (!SWIG_IsOK(res1
)) {
28163 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout_GetLogicalPageRect" "', expected argument " "1"" of type '" "wxPyPrintout const *""'");
28165 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
28167 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28168 result
= ((wxPyPrintout
const *)arg1
)->GetLogicalPageRect();
28169 wxPyEndAllowThreads(__tstate
);
28170 if (PyErr_Occurred()) SWIG_fail
;
28172 resultobj
= SWIG_NewPointerObj((new wxRect(static_cast< const wxRect
& >(result
))), SWIGTYPE_p_wxRect
, SWIG_POINTER_OWN
| 0 );
28179 SWIGINTERN PyObject
*_wrap_Printout_GetLogicalPageMarginsRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28180 PyObject
*resultobj
= 0;
28181 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
28182 wxPageSetupDialogData
*arg2
= 0 ;
28188 PyObject
* obj0
= 0 ;
28189 PyObject
* obj1
= 0 ;
28190 char * kwnames
[] = {
28191 (char *) "self",(char *) "pageSetupData", NULL
28194 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Printout_GetLogicalPageMarginsRect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
28195 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
28196 if (!SWIG_IsOK(res1
)) {
28197 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout_GetLogicalPageMarginsRect" "', expected argument " "1"" of type '" "wxPyPrintout const *""'");
28199 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
28200 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0);
28201 if (!SWIG_IsOK(res2
)) {
28202 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Printout_GetLogicalPageMarginsRect" "', expected argument " "2"" of type '" "wxPageSetupDialogData const &""'");
28205 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Printout_GetLogicalPageMarginsRect" "', expected argument " "2"" of type '" "wxPageSetupDialogData const &""'");
28207 arg2
= reinterpret_cast< wxPageSetupDialogData
* >(argp2
);
28209 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28210 result
= ((wxPyPrintout
const *)arg1
)->GetLogicalPageMarginsRect((wxPageSetupDialogData
const &)*arg2
);
28211 wxPyEndAllowThreads(__tstate
);
28212 if (PyErr_Occurred()) SWIG_fail
;
28214 resultobj
= SWIG_NewPointerObj((new wxRect(static_cast< const wxRect
& >(result
))), SWIGTYPE_p_wxRect
, SWIG_POINTER_OWN
| 0 );
28221 SWIGINTERN PyObject
*_wrap_Printout_SetLogicalOrigin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28222 PyObject
*resultobj
= 0;
28223 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
28232 PyObject
* obj0
= 0 ;
28233 PyObject
* obj1
= 0 ;
28234 PyObject
* obj2
= 0 ;
28235 char * kwnames
[] = {
28236 (char *) "self",(char *) "x",(char *) "y", NULL
28239 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Printout_SetLogicalOrigin",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
28240 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
28241 if (!SWIG_IsOK(res1
)) {
28242 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout_SetLogicalOrigin" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
28244 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
28245 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
28246 if (!SWIG_IsOK(ecode2
)) {
28247 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Printout_SetLogicalOrigin" "', expected argument " "2"" of type '" "int""'");
28249 arg2
= static_cast< int >(val2
);
28250 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
28251 if (!SWIG_IsOK(ecode3
)) {
28252 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Printout_SetLogicalOrigin" "', expected argument " "3"" of type '" "int""'");
28254 arg3
= static_cast< int >(val3
);
28256 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28257 (arg1
)->SetLogicalOrigin(arg2
,arg3
);
28258 wxPyEndAllowThreads(__tstate
);
28259 if (PyErr_Occurred()) SWIG_fail
;
28261 resultobj
= SWIG_Py_Void();
28268 SWIGINTERN PyObject
*_wrap_Printout_OffsetLogicalOrigin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28269 PyObject
*resultobj
= 0;
28270 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
28279 PyObject
* obj0
= 0 ;
28280 PyObject
* obj1
= 0 ;
28281 PyObject
* obj2
= 0 ;
28282 char * kwnames
[] = {
28283 (char *) "self",(char *) "xoff",(char *) "yoff", NULL
28286 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Printout_OffsetLogicalOrigin",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
28287 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
28288 if (!SWIG_IsOK(res1
)) {
28289 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout_OffsetLogicalOrigin" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
28291 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
28292 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
28293 if (!SWIG_IsOK(ecode2
)) {
28294 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Printout_OffsetLogicalOrigin" "', expected argument " "2"" of type '" "int""'");
28296 arg2
= static_cast< int >(val2
);
28297 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
28298 if (!SWIG_IsOK(ecode3
)) {
28299 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Printout_OffsetLogicalOrigin" "', expected argument " "3"" of type '" "int""'");
28301 arg3
= static_cast< int >(val3
);
28303 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28304 (arg1
)->OffsetLogicalOrigin(arg2
,arg3
);
28305 wxPyEndAllowThreads(__tstate
);
28306 if (PyErr_Occurred()) SWIG_fail
;
28308 resultobj
= SWIG_Py_Void();
28315 SWIGINTERN PyObject
*_wrap_Printout_SetPageSizePixels(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28316 PyObject
*resultobj
= 0;
28317 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
28326 PyObject
* obj0
= 0 ;
28327 PyObject
* obj1
= 0 ;
28328 PyObject
* obj2
= 0 ;
28329 char * kwnames
[] = {
28330 (char *) "self",(char *) "w",(char *) "h", NULL
28333 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Printout_SetPageSizePixels",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
28334 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
28335 if (!SWIG_IsOK(res1
)) {
28336 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout_SetPageSizePixels" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
28338 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
28339 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
28340 if (!SWIG_IsOK(ecode2
)) {
28341 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Printout_SetPageSizePixels" "', expected argument " "2"" of type '" "int""'");
28343 arg2
= static_cast< int >(val2
);
28344 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
28345 if (!SWIG_IsOK(ecode3
)) {
28346 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Printout_SetPageSizePixels" "', expected argument " "3"" of type '" "int""'");
28348 arg3
= static_cast< int >(val3
);
28350 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28351 (arg1
)->SetPageSizePixels(arg2
,arg3
);
28352 wxPyEndAllowThreads(__tstate
);
28353 if (PyErr_Occurred()) SWIG_fail
;
28355 resultobj
= SWIG_Py_Void();
28362 SWIGINTERN PyObject
*_wrap_Printout_GetPageSizePixels(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28363 PyObject
*resultobj
= 0;
28364 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
28365 int *arg2
= (int *) 0 ;
28366 int *arg3
= (int *) 0 ;
28370 int res2
= SWIG_TMPOBJ
;
28372 int res3
= SWIG_TMPOBJ
;
28373 PyObject
*swig_obj
[1] ;
28377 if (!args
) SWIG_fail
;
28378 swig_obj
[0] = args
;
28379 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
28380 if (!SWIG_IsOK(res1
)) {
28381 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout_GetPageSizePixels" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
28383 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
28385 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28386 (arg1
)->GetPageSizePixels(arg2
,arg3
);
28387 wxPyEndAllowThreads(__tstate
);
28388 if (PyErr_Occurred()) SWIG_fail
;
28390 resultobj
= SWIG_Py_Void();
28391 if (SWIG_IsTmpObj(res2
)) {
28392 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
28394 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
28395 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
28397 if (SWIG_IsTmpObj(res3
)) {
28398 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
28400 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
28401 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
28409 SWIGINTERN PyObject
*_wrap_Printout_SetPageSizeMM(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28410 PyObject
*resultobj
= 0;
28411 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
28420 PyObject
* obj0
= 0 ;
28421 PyObject
* obj1
= 0 ;
28422 PyObject
* obj2
= 0 ;
28423 char * kwnames
[] = {
28424 (char *) "self",(char *) "w",(char *) "h", NULL
28427 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Printout_SetPageSizeMM",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
28428 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
28429 if (!SWIG_IsOK(res1
)) {
28430 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout_SetPageSizeMM" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
28432 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
28433 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
28434 if (!SWIG_IsOK(ecode2
)) {
28435 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Printout_SetPageSizeMM" "', expected argument " "2"" of type '" "int""'");
28437 arg2
= static_cast< int >(val2
);
28438 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
28439 if (!SWIG_IsOK(ecode3
)) {
28440 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Printout_SetPageSizeMM" "', expected argument " "3"" of type '" "int""'");
28442 arg3
= static_cast< int >(val3
);
28444 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28445 (arg1
)->SetPageSizeMM(arg2
,arg3
);
28446 wxPyEndAllowThreads(__tstate
);
28447 if (PyErr_Occurred()) SWIG_fail
;
28449 resultobj
= SWIG_Py_Void();
28456 SWIGINTERN PyObject
*_wrap_Printout_GetPageSizeMM(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28457 PyObject
*resultobj
= 0;
28458 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
28459 int *arg2
= (int *) 0 ;
28460 int *arg3
= (int *) 0 ;
28464 int res2
= SWIG_TMPOBJ
;
28466 int res3
= SWIG_TMPOBJ
;
28467 PyObject
*swig_obj
[1] ;
28471 if (!args
) SWIG_fail
;
28472 swig_obj
[0] = args
;
28473 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
28474 if (!SWIG_IsOK(res1
)) {
28475 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout_GetPageSizeMM" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
28477 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
28479 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28480 (arg1
)->GetPageSizeMM(arg2
,arg3
);
28481 wxPyEndAllowThreads(__tstate
);
28482 if (PyErr_Occurred()) SWIG_fail
;
28484 resultobj
= SWIG_Py_Void();
28485 if (SWIG_IsTmpObj(res2
)) {
28486 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
28488 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
28489 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
28491 if (SWIG_IsTmpObj(res3
)) {
28492 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
28494 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
28495 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
28503 SWIGINTERN PyObject
*_wrap_Printout_SetPPIScreen(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28504 PyObject
*resultobj
= 0;
28505 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
28514 PyObject
* obj0
= 0 ;
28515 PyObject
* obj1
= 0 ;
28516 PyObject
* obj2
= 0 ;
28517 char * kwnames
[] = {
28518 (char *) "self",(char *) "x",(char *) "y", NULL
28521 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Printout_SetPPIScreen",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
28522 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
28523 if (!SWIG_IsOK(res1
)) {
28524 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout_SetPPIScreen" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
28526 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
28527 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
28528 if (!SWIG_IsOK(ecode2
)) {
28529 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Printout_SetPPIScreen" "', expected argument " "2"" of type '" "int""'");
28531 arg2
= static_cast< int >(val2
);
28532 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
28533 if (!SWIG_IsOK(ecode3
)) {
28534 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Printout_SetPPIScreen" "', expected argument " "3"" of type '" "int""'");
28536 arg3
= static_cast< int >(val3
);
28538 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28539 (arg1
)->SetPPIScreen(arg2
,arg3
);
28540 wxPyEndAllowThreads(__tstate
);
28541 if (PyErr_Occurred()) SWIG_fail
;
28543 resultobj
= SWIG_Py_Void();
28550 SWIGINTERN PyObject
*_wrap_Printout_GetPPIScreen(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28551 PyObject
*resultobj
= 0;
28552 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
28553 int *arg2
= (int *) 0 ;
28554 int *arg3
= (int *) 0 ;
28558 int res2
= SWIG_TMPOBJ
;
28560 int res3
= SWIG_TMPOBJ
;
28561 PyObject
*swig_obj
[1] ;
28565 if (!args
) SWIG_fail
;
28566 swig_obj
[0] = args
;
28567 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
28568 if (!SWIG_IsOK(res1
)) {
28569 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout_GetPPIScreen" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
28571 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
28573 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28574 (arg1
)->GetPPIScreen(arg2
,arg3
);
28575 wxPyEndAllowThreads(__tstate
);
28576 if (PyErr_Occurred()) SWIG_fail
;
28578 resultobj
= SWIG_Py_Void();
28579 if (SWIG_IsTmpObj(res2
)) {
28580 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
28582 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
28583 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
28585 if (SWIG_IsTmpObj(res3
)) {
28586 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
28588 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
28589 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
28597 SWIGINTERN PyObject
*_wrap_Printout_SetPPIPrinter(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28598 PyObject
*resultobj
= 0;
28599 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
28608 PyObject
* obj0
= 0 ;
28609 PyObject
* obj1
= 0 ;
28610 PyObject
* obj2
= 0 ;
28611 char * kwnames
[] = {
28612 (char *) "self",(char *) "x",(char *) "y", NULL
28615 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Printout_SetPPIPrinter",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
28616 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
28617 if (!SWIG_IsOK(res1
)) {
28618 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout_SetPPIPrinter" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
28620 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
28621 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
28622 if (!SWIG_IsOK(ecode2
)) {
28623 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Printout_SetPPIPrinter" "', expected argument " "2"" of type '" "int""'");
28625 arg2
= static_cast< int >(val2
);
28626 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
28627 if (!SWIG_IsOK(ecode3
)) {
28628 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Printout_SetPPIPrinter" "', expected argument " "3"" of type '" "int""'");
28630 arg3
= static_cast< int >(val3
);
28632 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28633 (arg1
)->SetPPIPrinter(arg2
,arg3
);
28634 wxPyEndAllowThreads(__tstate
);
28635 if (PyErr_Occurred()) SWIG_fail
;
28637 resultobj
= SWIG_Py_Void();
28644 SWIGINTERN PyObject
*_wrap_Printout_GetPPIPrinter(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28645 PyObject
*resultobj
= 0;
28646 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
28647 int *arg2
= (int *) 0 ;
28648 int *arg3
= (int *) 0 ;
28652 int res2
= SWIG_TMPOBJ
;
28654 int res3
= SWIG_TMPOBJ
;
28655 PyObject
*swig_obj
[1] ;
28659 if (!args
) SWIG_fail
;
28660 swig_obj
[0] = args
;
28661 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
28662 if (!SWIG_IsOK(res1
)) {
28663 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout_GetPPIPrinter" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
28665 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
28667 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28668 (arg1
)->GetPPIPrinter(arg2
,arg3
);
28669 wxPyEndAllowThreads(__tstate
);
28670 if (PyErr_Occurred()) SWIG_fail
;
28672 resultobj
= SWIG_Py_Void();
28673 if (SWIG_IsTmpObj(res2
)) {
28674 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
28676 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
28677 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
28679 if (SWIG_IsTmpObj(res3
)) {
28680 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
28682 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
28683 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
28691 SWIGINTERN PyObject
*_wrap_Printout_SetPaperRectPixels(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28692 PyObject
*resultobj
= 0;
28693 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
28698 PyObject
* obj0
= 0 ;
28699 PyObject
* obj1
= 0 ;
28700 char * kwnames
[] = {
28701 (char *) "self",(char *) "paperRectPixels", NULL
28704 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Printout_SetPaperRectPixels",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
28705 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
28706 if (!SWIG_IsOK(res1
)) {
28707 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout_SetPaperRectPixels" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
28709 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
28712 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
28715 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28716 (arg1
)->SetPaperRectPixels((wxRect
const &)*arg2
);
28717 wxPyEndAllowThreads(__tstate
);
28718 if (PyErr_Occurred()) SWIG_fail
;
28720 resultobj
= SWIG_Py_Void();
28727 SWIGINTERN PyObject
*_wrap_Printout_GetPaperRectPixels(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28728 PyObject
*resultobj
= 0;
28729 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
28733 PyObject
*swig_obj
[1] ;
28735 if (!args
) SWIG_fail
;
28736 swig_obj
[0] = args
;
28737 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
28738 if (!SWIG_IsOK(res1
)) {
28739 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout_GetPaperRectPixels" "', expected argument " "1"" of type '" "wxPyPrintout const *""'");
28741 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
28743 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28744 result
= ((wxPyPrintout
const *)arg1
)->GetPaperRectPixels();
28745 wxPyEndAllowThreads(__tstate
);
28746 if (PyErr_Occurred()) SWIG_fail
;
28748 resultobj
= SWIG_NewPointerObj((new wxRect(static_cast< const wxRect
& >(result
))), SWIGTYPE_p_wxRect
, SWIG_POINTER_OWN
| 0 );
28755 SWIGINTERN PyObject
*_wrap_Printout_IsPreview(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28756 PyObject
*resultobj
= 0;
28757 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
28761 PyObject
*swig_obj
[1] ;
28763 if (!args
) SWIG_fail
;
28764 swig_obj
[0] = args
;
28765 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
28766 if (!SWIG_IsOK(res1
)) {
28767 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout_IsPreview" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
28769 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
28771 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28772 result
= (bool)(arg1
)->IsPreview();
28773 wxPyEndAllowThreads(__tstate
);
28774 if (PyErr_Occurred()) SWIG_fail
;
28777 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28785 SWIGINTERN PyObject
*_wrap_Printout_SetIsPreview(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28786 PyObject
*resultobj
= 0;
28787 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
28793 PyObject
* obj0
= 0 ;
28794 PyObject
* obj1
= 0 ;
28795 char * kwnames
[] = {
28796 (char *) "self",(char *) "p", NULL
28799 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Printout_SetIsPreview",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
28800 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
28801 if (!SWIG_IsOK(res1
)) {
28802 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout_SetIsPreview" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
28804 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
28805 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
28806 if (!SWIG_IsOK(ecode2
)) {
28807 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Printout_SetIsPreview" "', expected argument " "2"" of type '" "bool""'");
28809 arg2
= static_cast< bool >(val2
);
28811 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28812 (arg1
)->SetIsPreview(arg2
);
28813 wxPyEndAllowThreads(__tstate
);
28814 if (PyErr_Occurred()) SWIG_fail
;
28816 resultobj
= SWIG_Py_Void();
28823 SWIGINTERN PyObject
*_wrap_Printout_OnBeginDocument(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28824 PyObject
*resultobj
= 0;
28825 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
28835 PyObject
* obj0
= 0 ;
28836 PyObject
* obj1
= 0 ;
28837 PyObject
* obj2
= 0 ;
28838 char * kwnames
[] = {
28839 (char *) "self",(char *) "startPage",(char *) "endPage", NULL
28842 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Printout_OnBeginDocument",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
28843 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
28844 if (!SWIG_IsOK(res1
)) {
28845 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout_OnBeginDocument" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
28847 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
28848 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
28849 if (!SWIG_IsOK(ecode2
)) {
28850 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Printout_OnBeginDocument" "', expected argument " "2"" of type '" "int""'");
28852 arg2
= static_cast< int >(val2
);
28853 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
28854 if (!SWIG_IsOK(ecode3
)) {
28855 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Printout_OnBeginDocument" "', expected argument " "3"" of type '" "int""'");
28857 arg3
= static_cast< int >(val3
);
28859 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28860 result
= (bool)(arg1
)->OnBeginDocument(arg2
,arg3
);
28861 wxPyEndAllowThreads(__tstate
);
28862 if (PyErr_Occurred()) SWIG_fail
;
28865 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28873 SWIGINTERN PyObject
*_wrap_Printout_OnEndDocument(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28874 PyObject
*resultobj
= 0;
28875 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
28878 PyObject
*swig_obj
[1] ;
28880 if (!args
) SWIG_fail
;
28881 swig_obj
[0] = args
;
28882 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
28883 if (!SWIG_IsOK(res1
)) {
28884 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout_OnEndDocument" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
28886 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
28888 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28889 (arg1
)->OnEndDocument();
28890 wxPyEndAllowThreads(__tstate
);
28891 if (PyErr_Occurred()) SWIG_fail
;
28893 resultobj
= SWIG_Py_Void();
28900 SWIGINTERN PyObject
*_wrap_Printout_OnBeginPrinting(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28901 PyObject
*resultobj
= 0;
28902 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
28905 PyObject
*swig_obj
[1] ;
28907 if (!args
) SWIG_fail
;
28908 swig_obj
[0] = args
;
28909 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
28910 if (!SWIG_IsOK(res1
)) {
28911 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout_OnBeginPrinting" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
28913 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
28915 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28916 (arg1
)->OnBeginPrinting();
28917 wxPyEndAllowThreads(__tstate
);
28918 if (PyErr_Occurred()) SWIG_fail
;
28920 resultobj
= SWIG_Py_Void();
28927 SWIGINTERN PyObject
*_wrap_Printout_OnEndPrinting(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28928 PyObject
*resultobj
= 0;
28929 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
28932 PyObject
*swig_obj
[1] ;
28934 if (!args
) SWIG_fail
;
28935 swig_obj
[0] = args
;
28936 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
28937 if (!SWIG_IsOK(res1
)) {
28938 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout_OnEndPrinting" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
28940 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
28942 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28943 (arg1
)->OnEndPrinting();
28944 wxPyEndAllowThreads(__tstate
);
28945 if (PyErr_Occurred()) SWIG_fail
;
28947 resultobj
= SWIG_Py_Void();
28954 SWIGINTERN PyObject
*_wrap_Printout_OnPreparePrinting(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28955 PyObject
*resultobj
= 0;
28956 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
28959 PyObject
*swig_obj
[1] ;
28961 if (!args
) SWIG_fail
;
28962 swig_obj
[0] = args
;
28963 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
28964 if (!SWIG_IsOK(res1
)) {
28965 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout_OnPreparePrinting" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
28967 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
28969 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28970 (arg1
)->OnPreparePrinting();
28971 wxPyEndAllowThreads(__tstate
);
28972 if (PyErr_Occurred()) SWIG_fail
;
28974 resultobj
= SWIG_Py_Void();
28981 SWIGINTERN PyObject
*_wrap_Printout_HasPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28982 PyObject
*resultobj
= 0;
28983 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
28990 PyObject
* obj0
= 0 ;
28991 PyObject
* obj1
= 0 ;
28992 char * kwnames
[] = {
28993 (char *) "self",(char *) "page", NULL
28996 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Printout_HasPage",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
28997 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
28998 if (!SWIG_IsOK(res1
)) {
28999 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout_HasPage" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
29001 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
29002 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
29003 if (!SWIG_IsOK(ecode2
)) {
29004 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Printout_HasPage" "', expected argument " "2"" of type '" "int""'");
29006 arg2
= static_cast< int >(val2
);
29008 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29009 result
= (bool)(arg1
)->HasPage(arg2
);
29010 wxPyEndAllowThreads(__tstate
);
29011 if (PyErr_Occurred()) SWIG_fail
;
29014 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29022 SWIGINTERN PyObject
*_wrap_Printout_GetPageInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29023 PyObject
*resultobj
= 0;
29024 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
29025 int *arg2
= (int *) 0 ;
29026 int *arg3
= (int *) 0 ;
29027 int *arg4
= (int *) 0 ;
29028 int *arg5
= (int *) 0 ;
29032 int res2
= SWIG_TMPOBJ
;
29034 int res3
= SWIG_TMPOBJ
;
29036 int res4
= SWIG_TMPOBJ
;
29038 int res5
= SWIG_TMPOBJ
;
29039 PyObject
*swig_obj
[1] ;
29045 if (!args
) SWIG_fail
;
29046 swig_obj
[0] = args
;
29047 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
29048 if (!SWIG_IsOK(res1
)) {
29049 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout_GetPageInfo" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
29051 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
29053 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29054 (arg1
)->GetPageInfo(arg2
,arg3
,arg4
,arg5
);
29055 wxPyEndAllowThreads(__tstate
);
29056 if (PyErr_Occurred()) SWIG_fail
;
29058 resultobj
= SWIG_Py_Void();
29059 if (SWIG_IsTmpObj(res2
)) {
29060 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
29062 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
29063 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
29065 if (SWIG_IsTmpObj(res3
)) {
29066 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
29068 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
29069 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
29071 if (SWIG_IsTmpObj(res4
)) {
29072 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg4
)));
29074 int new_flags
= SWIG_IsNewObj(res4
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
29075 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_int
, new_flags
));
29077 if (SWIG_IsTmpObj(res5
)) {
29078 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg5
)));
29080 int new_flags
= SWIG_IsNewObj(res5
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
29081 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg5
), SWIGTYPE_p_int
, new_flags
));
29089 SWIGINTERN PyObject
*Printout_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29091 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
29092 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyPrintout
, SWIG_NewClientData(obj
));
29093 return SWIG_Py_Void();
29096 SWIGINTERN PyObject
*Printout_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29097 return SWIG_Python_InitShadowInstance(args
);
29100 SWIGINTERN PyObject
*_wrap_new_PreviewCanvas(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29101 PyObject
*resultobj
= 0;
29102 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
29103 wxWindow
*arg2
= (wxWindow
*) 0 ;
29104 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
29105 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
29106 wxSize
const &arg4_defvalue
= wxDefaultSize
;
29107 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
29108 long arg5
= (long) 0 ;
29109 wxString
const &arg6_defvalue
= wxPyPreviewCanvasNameStr
;
29110 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
29111 wxPreviewCanvas
*result
= 0 ;
29120 bool temp6
= false ;
29121 PyObject
* obj0
= 0 ;
29122 PyObject
* obj1
= 0 ;
29123 PyObject
* obj2
= 0 ;
29124 PyObject
* obj3
= 0 ;
29125 PyObject
* obj4
= 0 ;
29126 PyObject
* obj5
= 0 ;
29127 char * kwnames
[] = {
29128 (char *) "preview",(char *) "parent",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
29131 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOO:new_PreviewCanvas",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
29132 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintPreview
, 0 | 0 );
29133 if (!SWIG_IsOK(res1
)) {
29134 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PreviewCanvas" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
29136 arg1
= reinterpret_cast< wxPrintPreview
* >(argp1
);
29137 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
29138 if (!SWIG_IsOK(res2
)) {
29139 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_PreviewCanvas" "', expected argument " "2"" of type '" "wxWindow *""'");
29141 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
29145 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
29151 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
29155 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
29156 if (!SWIG_IsOK(ecode5
)) {
29157 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_PreviewCanvas" "', expected argument " "5"" of type '" "long""'");
29159 arg5
= static_cast< long >(val5
);
29163 arg6
= wxString_in_helper(obj5
);
29164 if (arg6
== NULL
) SWIG_fail
;
29169 if (!wxPyCheckForApp()) SWIG_fail
;
29170 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29171 result
= (wxPreviewCanvas
*)new wxPreviewCanvas(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
29172 wxPyEndAllowThreads(__tstate
);
29173 if (PyErr_Occurred()) SWIG_fail
;
29175 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPreviewCanvas
, SWIG_POINTER_NEW
| 0 );
29190 SWIGINTERN PyObject
*PreviewCanvas_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29192 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
29193 SWIG_TypeNewClientData(SWIGTYPE_p_wxPreviewCanvas
, SWIG_NewClientData(obj
));
29194 return SWIG_Py_Void();
29197 SWIGINTERN PyObject
*PreviewCanvas_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29198 return SWIG_Python_InitShadowInstance(args
);
29201 SWIGINTERN PyObject
*_wrap_new_PreviewFrame(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29202 PyObject
*resultobj
= 0;
29203 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
29204 wxFrame
*arg2
= (wxFrame
*) 0 ;
29205 wxString
*arg3
= 0 ;
29206 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
29207 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
29208 wxSize
const &arg5_defvalue
= wxDefaultSize
;
29209 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
29210 long arg6
= (long) wxDEFAULT_FRAME_STYLE
;
29211 wxString
const &arg7_defvalue
= wxPyFrameNameStr
;
29212 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
29213 wxPreviewFrame
*result
= 0 ;
29217 bool temp3
= false ;
29222 bool temp7
= false ;
29223 PyObject
* obj0
= 0 ;
29224 PyObject
* obj1
= 0 ;
29225 PyObject
* obj2
= 0 ;
29226 PyObject
* obj3
= 0 ;
29227 PyObject
* obj4
= 0 ;
29228 PyObject
* obj5
= 0 ;
29229 PyObject
* obj6
= 0 ;
29230 char * kwnames
[] = {
29231 (char *) "preview",(char *) "parent",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
29234 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:new_PreviewFrame",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
29235 res1
= SWIG_ConvertPtr(obj0
, SWIG_as_voidptrptr(&arg1
), SWIGTYPE_p_wxPrintPreview
, SWIG_POINTER_DISOWN
| 0 );
29236 if (!SWIG_IsOK(res1
)) {
29237 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PreviewFrame" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
29239 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxFrame
, 0 | 0 );
29240 if (!SWIG_IsOK(res2
)) {
29241 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_PreviewFrame" "', expected argument " "2"" of type '" "wxFrame *""'");
29243 arg2
= reinterpret_cast< wxFrame
* >(argp2
);
29245 arg3
= wxString_in_helper(obj2
);
29246 if (arg3
== NULL
) SWIG_fail
;
29252 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
29258 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
29262 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
29263 if (!SWIG_IsOK(ecode6
)) {
29264 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_PreviewFrame" "', expected argument " "6"" of type '" "long""'");
29266 arg6
= static_cast< long >(val6
);
29270 arg7
= wxString_in_helper(obj6
);
29271 if (arg7
== NULL
) SWIG_fail
;
29276 if (!wxPyCheckForApp()) SWIG_fail
;
29277 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29278 result
= (wxPreviewFrame
*)new wxPreviewFrame(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
29279 wxPyEndAllowThreads(__tstate
);
29280 if (PyErr_Occurred()) SWIG_fail
;
29282 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPreviewFrame
, SWIG_POINTER_NEW
| 0 );
29305 SWIGINTERN PyObject
*_wrap_PreviewFrame_Initialize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29306 PyObject
*resultobj
= 0;
29307 wxPreviewFrame
*arg1
= (wxPreviewFrame
*) 0 ;
29310 PyObject
*swig_obj
[1] ;
29312 if (!args
) SWIG_fail
;
29313 swig_obj
[0] = args
;
29314 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPreviewFrame
, 0 | 0 );
29315 if (!SWIG_IsOK(res1
)) {
29316 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PreviewFrame_Initialize" "', expected argument " "1"" of type '" "wxPreviewFrame *""'");
29318 arg1
= reinterpret_cast< wxPreviewFrame
* >(argp1
);
29320 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29321 (arg1
)->Initialize();
29322 wxPyEndAllowThreads(__tstate
);
29323 if (PyErr_Occurred()) SWIG_fail
;
29325 resultobj
= SWIG_Py_Void();
29332 SWIGINTERN PyObject
*_wrap_PreviewFrame_CreateControlBar(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29333 PyObject
*resultobj
= 0;
29334 wxPreviewFrame
*arg1
= (wxPreviewFrame
*) 0 ;
29337 PyObject
*swig_obj
[1] ;
29339 if (!args
) SWIG_fail
;
29340 swig_obj
[0] = args
;
29341 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPreviewFrame
, 0 | 0 );
29342 if (!SWIG_IsOK(res1
)) {
29343 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PreviewFrame_CreateControlBar" "', expected argument " "1"" of type '" "wxPreviewFrame *""'");
29345 arg1
= reinterpret_cast< wxPreviewFrame
* >(argp1
);
29347 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29348 (arg1
)->CreateControlBar();
29349 wxPyEndAllowThreads(__tstate
);
29350 if (PyErr_Occurred()) SWIG_fail
;
29352 resultobj
= SWIG_Py_Void();
29359 SWIGINTERN PyObject
*_wrap_PreviewFrame_CreateCanvas(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29360 PyObject
*resultobj
= 0;
29361 wxPreviewFrame
*arg1
= (wxPreviewFrame
*) 0 ;
29364 PyObject
*swig_obj
[1] ;
29366 if (!args
) SWIG_fail
;
29367 swig_obj
[0] = args
;
29368 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPreviewFrame
, 0 | 0 );
29369 if (!SWIG_IsOK(res1
)) {
29370 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PreviewFrame_CreateCanvas" "', expected argument " "1"" of type '" "wxPreviewFrame *""'");
29372 arg1
= reinterpret_cast< wxPreviewFrame
* >(argp1
);
29374 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29375 (arg1
)->CreateCanvas();
29376 wxPyEndAllowThreads(__tstate
);
29377 if (PyErr_Occurred()) SWIG_fail
;
29379 resultobj
= SWIG_Py_Void();
29386 SWIGINTERN PyObject
*_wrap_PreviewFrame_GetControlBar(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29387 PyObject
*resultobj
= 0;
29388 wxPreviewFrame
*arg1
= (wxPreviewFrame
*) 0 ;
29389 wxPreviewControlBar
*result
= 0 ;
29392 PyObject
*swig_obj
[1] ;
29394 if (!args
) SWIG_fail
;
29395 swig_obj
[0] = args
;
29396 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPreviewFrame
, 0 | 0 );
29397 if (!SWIG_IsOK(res1
)) {
29398 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PreviewFrame_GetControlBar" "', expected argument " "1"" of type '" "wxPreviewFrame const *""'");
29400 arg1
= reinterpret_cast< wxPreviewFrame
* >(argp1
);
29402 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29403 result
= (wxPreviewControlBar
*)((wxPreviewFrame
const *)arg1
)->GetControlBar();
29404 wxPyEndAllowThreads(__tstate
);
29405 if (PyErr_Occurred()) SWIG_fail
;
29407 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPreviewControlBar
, 0 | 0 );
29414 SWIGINTERN PyObject
*PreviewFrame_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29416 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
29417 SWIG_TypeNewClientData(SWIGTYPE_p_wxPreviewFrame
, SWIG_NewClientData(obj
));
29418 return SWIG_Py_Void();
29421 SWIGINTERN PyObject
*PreviewFrame_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29422 return SWIG_Python_InitShadowInstance(args
);
29425 SWIGINTERN PyObject
*_wrap_new_PreviewControlBar(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29426 PyObject
*resultobj
= 0;
29427 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
29429 wxWindow
*arg3
= (wxWindow
*) 0 ;
29430 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
29431 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
29432 wxSize
const &arg5_defvalue
= wxDefaultSize
;
29433 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
29434 long arg6
= (long) wxTAB_TRAVERSAL
;
29435 wxString
const &arg7_defvalue
= wxPyPanelNameStr
;
29436 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
29437 wxPreviewControlBar
*result
= 0 ;
29448 bool temp7
= false ;
29449 PyObject
* obj0
= 0 ;
29450 PyObject
* obj1
= 0 ;
29451 PyObject
* obj2
= 0 ;
29452 PyObject
* obj3
= 0 ;
29453 PyObject
* obj4
= 0 ;
29454 PyObject
* obj5
= 0 ;
29455 PyObject
* obj6
= 0 ;
29456 char * kwnames
[] = {
29457 (char *) "preview",(char *) "buttons",(char *) "parent",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
29460 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:new_PreviewControlBar",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
29461 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintPreview
, 0 | 0 );
29462 if (!SWIG_IsOK(res1
)) {
29463 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PreviewControlBar" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
29465 arg1
= reinterpret_cast< wxPrintPreview
* >(argp1
);
29466 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
29467 if (!SWIG_IsOK(ecode2
)) {
29468 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_PreviewControlBar" "', expected argument " "2"" of type '" "long""'");
29470 arg2
= static_cast< long >(val2
);
29471 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxWindow
, 0 | 0 );
29472 if (!SWIG_IsOK(res3
)) {
29473 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "new_PreviewControlBar" "', expected argument " "3"" of type '" "wxWindow *""'");
29475 arg3
= reinterpret_cast< wxWindow
* >(argp3
);
29479 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
29485 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
29489 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
29490 if (!SWIG_IsOK(ecode6
)) {
29491 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_PreviewControlBar" "', expected argument " "6"" of type '" "long""'");
29493 arg6
= static_cast< long >(val6
);
29497 arg7
= wxString_in_helper(obj6
);
29498 if (arg7
== NULL
) SWIG_fail
;
29503 if (!wxPyCheckForApp()) SWIG_fail
;
29504 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29505 result
= (wxPreviewControlBar
*)new wxPreviewControlBar(arg1
,arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
29506 wxPyEndAllowThreads(__tstate
);
29507 if (PyErr_Occurred()) SWIG_fail
;
29509 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPreviewControlBar
, SWIG_POINTER_NEW
| 0 );
29524 SWIGINTERN PyObject
*_wrap_PreviewControlBar_GetZoomControl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29525 PyObject
*resultobj
= 0;
29526 wxPreviewControlBar
*arg1
= (wxPreviewControlBar
*) 0 ;
29530 PyObject
*swig_obj
[1] ;
29532 if (!args
) SWIG_fail
;
29533 swig_obj
[0] = args
;
29534 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPreviewControlBar
, 0 | 0 );
29535 if (!SWIG_IsOK(res1
)) {
29536 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PreviewControlBar_GetZoomControl" "', expected argument " "1"" of type '" "wxPreviewControlBar *""'");
29538 arg1
= reinterpret_cast< wxPreviewControlBar
* >(argp1
);
29540 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29541 result
= (int)(arg1
)->GetZoomControl();
29542 wxPyEndAllowThreads(__tstate
);
29543 if (PyErr_Occurred()) SWIG_fail
;
29545 resultobj
= SWIG_From_int(static_cast< int >(result
));
29552 SWIGINTERN PyObject
*_wrap_PreviewControlBar_SetZoomControl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29553 PyObject
*resultobj
= 0;
29554 wxPreviewControlBar
*arg1
= (wxPreviewControlBar
*) 0 ;
29560 PyObject
* obj0
= 0 ;
29561 PyObject
* obj1
= 0 ;
29562 char * kwnames
[] = {
29563 (char *) "self",(char *) "zoom", NULL
29566 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PreviewControlBar_SetZoomControl",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
29567 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPreviewControlBar
, 0 | 0 );
29568 if (!SWIG_IsOK(res1
)) {
29569 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PreviewControlBar_SetZoomControl" "', expected argument " "1"" of type '" "wxPreviewControlBar *""'");
29571 arg1
= reinterpret_cast< wxPreviewControlBar
* >(argp1
);
29572 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
29573 if (!SWIG_IsOK(ecode2
)) {
29574 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PreviewControlBar_SetZoomControl" "', expected argument " "2"" of type '" "int""'");
29576 arg2
= static_cast< int >(val2
);
29578 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29579 (arg1
)->SetZoomControl(arg2
);
29580 wxPyEndAllowThreads(__tstate
);
29581 if (PyErr_Occurred()) SWIG_fail
;
29583 resultobj
= SWIG_Py_Void();
29590 SWIGINTERN PyObject
*_wrap_PreviewControlBar_GetPrintPreview(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29591 PyObject
*resultobj
= 0;
29592 wxPreviewControlBar
*arg1
= (wxPreviewControlBar
*) 0 ;
29593 wxPrintPreview
*result
= 0 ;
29596 PyObject
*swig_obj
[1] ;
29598 if (!args
) SWIG_fail
;
29599 swig_obj
[0] = args
;
29600 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPreviewControlBar
, 0 | 0 );
29601 if (!SWIG_IsOK(res1
)) {
29602 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PreviewControlBar_GetPrintPreview" "', expected argument " "1"" of type '" "wxPreviewControlBar *""'");
29604 arg1
= reinterpret_cast< wxPreviewControlBar
* >(argp1
);
29606 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29607 result
= (wxPrintPreview
*)(arg1
)->GetPrintPreview();
29608 wxPyEndAllowThreads(__tstate
);
29609 if (PyErr_Occurred()) SWIG_fail
;
29611 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPrintPreview
, 0 | 0 );
29618 SWIGINTERN PyObject
*_wrap_PreviewControlBar_OnNext(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29619 PyObject
*resultobj
= 0;
29620 wxPreviewControlBar
*arg1
= (wxPreviewControlBar
*) 0 ;
29623 PyObject
*swig_obj
[1] ;
29625 if (!args
) SWIG_fail
;
29626 swig_obj
[0] = args
;
29627 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPreviewControlBar
, 0 | 0 );
29628 if (!SWIG_IsOK(res1
)) {
29629 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PreviewControlBar_OnNext" "', expected argument " "1"" of type '" "wxPreviewControlBar *""'");
29631 arg1
= reinterpret_cast< wxPreviewControlBar
* >(argp1
);
29633 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29635 wxPyEndAllowThreads(__tstate
);
29636 if (PyErr_Occurred()) SWIG_fail
;
29638 resultobj
= SWIG_Py_Void();
29645 SWIGINTERN PyObject
*_wrap_PreviewControlBar_OnPrevious(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29646 PyObject
*resultobj
= 0;
29647 wxPreviewControlBar
*arg1
= (wxPreviewControlBar
*) 0 ;
29650 PyObject
*swig_obj
[1] ;
29652 if (!args
) SWIG_fail
;
29653 swig_obj
[0] = args
;
29654 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPreviewControlBar
, 0 | 0 );
29655 if (!SWIG_IsOK(res1
)) {
29656 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PreviewControlBar_OnPrevious" "', expected argument " "1"" of type '" "wxPreviewControlBar *""'");
29658 arg1
= reinterpret_cast< wxPreviewControlBar
* >(argp1
);
29660 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29661 (arg1
)->OnPrevious();
29662 wxPyEndAllowThreads(__tstate
);
29663 if (PyErr_Occurred()) SWIG_fail
;
29665 resultobj
= SWIG_Py_Void();
29672 SWIGINTERN PyObject
*_wrap_PreviewControlBar_OnFirst(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29673 PyObject
*resultobj
= 0;
29674 wxPreviewControlBar
*arg1
= (wxPreviewControlBar
*) 0 ;
29677 PyObject
*swig_obj
[1] ;
29679 if (!args
) SWIG_fail
;
29680 swig_obj
[0] = args
;
29681 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPreviewControlBar
, 0 | 0 );
29682 if (!SWIG_IsOK(res1
)) {
29683 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PreviewControlBar_OnFirst" "', expected argument " "1"" of type '" "wxPreviewControlBar *""'");
29685 arg1
= reinterpret_cast< wxPreviewControlBar
* >(argp1
);
29687 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29689 wxPyEndAllowThreads(__tstate
);
29690 if (PyErr_Occurred()) SWIG_fail
;
29692 resultobj
= SWIG_Py_Void();
29699 SWIGINTERN PyObject
*_wrap_PreviewControlBar_OnLast(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29700 PyObject
*resultobj
= 0;
29701 wxPreviewControlBar
*arg1
= (wxPreviewControlBar
*) 0 ;
29704 PyObject
*swig_obj
[1] ;
29706 if (!args
) SWIG_fail
;
29707 swig_obj
[0] = args
;
29708 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPreviewControlBar
, 0 | 0 );
29709 if (!SWIG_IsOK(res1
)) {
29710 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PreviewControlBar_OnLast" "', expected argument " "1"" of type '" "wxPreviewControlBar *""'");
29712 arg1
= reinterpret_cast< wxPreviewControlBar
* >(argp1
);
29714 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29716 wxPyEndAllowThreads(__tstate
);
29717 if (PyErr_Occurred()) SWIG_fail
;
29719 resultobj
= SWIG_Py_Void();
29726 SWIGINTERN PyObject
*_wrap_PreviewControlBar_OnGoto(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29727 PyObject
*resultobj
= 0;
29728 wxPreviewControlBar
*arg1
= (wxPreviewControlBar
*) 0 ;
29731 PyObject
*swig_obj
[1] ;
29733 if (!args
) SWIG_fail
;
29734 swig_obj
[0] = args
;
29735 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPreviewControlBar
, 0 | 0 );
29736 if (!SWIG_IsOK(res1
)) {
29737 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PreviewControlBar_OnGoto" "', expected argument " "1"" of type '" "wxPreviewControlBar *""'");
29739 arg1
= reinterpret_cast< wxPreviewControlBar
* >(argp1
);
29741 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29743 wxPyEndAllowThreads(__tstate
);
29744 if (PyErr_Occurred()) SWIG_fail
;
29746 resultobj
= SWIG_Py_Void();
29753 SWIGINTERN PyObject
*PreviewControlBar_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29755 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
29756 SWIG_TypeNewClientData(SWIGTYPE_p_wxPreviewControlBar
, SWIG_NewClientData(obj
));
29757 return SWIG_Py_Void();
29760 SWIGINTERN PyObject
*PreviewControlBar_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29761 return SWIG_Python_InitShadowInstance(args
);
29764 SWIGINTERN PyObject
*_wrap_new_PrintPreview__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
29765 PyObject
*resultobj
= 0;
29766 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
29767 wxPyPrintout
*arg2
= (wxPyPrintout
*) 0 ;
29768 wxPrintDialogData
*arg3
= (wxPrintDialogData
*) NULL
;
29769 wxPrintPreview
*result
= 0 ;
29775 if ((nobjs
< 2) || (nobjs
> 3)) SWIG_fail
;
29776 res1
= SWIG_ConvertPtr(swig_obj
[0], SWIG_as_voidptrptr(&arg1
), SWIGTYPE_p_wxPyPrintout
, SWIG_POINTER_DISOWN
| 0 );
29777 if (!SWIG_IsOK(res1
)) {
29778 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PrintPreview" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
29780 res2
= SWIG_ConvertPtr(swig_obj
[1], SWIG_as_voidptrptr(&arg2
), SWIGTYPE_p_wxPyPrintout
, SWIG_POINTER_DISOWN
| 0 );
29781 if (!SWIG_IsOK(res2
)) {
29782 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_PrintPreview" "', expected argument " "2"" of type '" "wxPyPrintout *""'");
29785 res3
= SWIG_ConvertPtr(swig_obj
[2], &argp3
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
29786 if (!SWIG_IsOK(res3
)) {
29787 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "new_PrintPreview" "', expected argument " "3"" of type '" "wxPrintDialogData *""'");
29789 arg3
= reinterpret_cast< wxPrintDialogData
* >(argp3
);
29792 if (!wxPyCheckForApp()) SWIG_fail
;
29793 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29794 result
= (wxPrintPreview
*)new wxPrintPreview(arg1
,arg2
,arg3
);
29795 wxPyEndAllowThreads(__tstate
);
29796 if (PyErr_Occurred()) SWIG_fail
;
29798 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPrintPreview
, SWIG_POINTER_NEW
| 0 );
29805 SWIGINTERN PyObject
*_wrap_new_PrintPreview__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
29806 PyObject
*resultobj
= 0;
29807 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
29808 wxPyPrintout
*arg2
= (wxPyPrintout
*) 0 ;
29809 wxPrintData
*arg3
= (wxPrintData
*) 0 ;
29810 wxPrintPreview
*result
= 0 ;
29816 if ((nobjs
< 3) || (nobjs
> 3)) SWIG_fail
;
29817 res1
= SWIG_ConvertPtr(swig_obj
[0], SWIG_as_voidptrptr(&arg1
), SWIGTYPE_p_wxPyPrintout
, SWIG_POINTER_DISOWN
| 0 );
29818 if (!SWIG_IsOK(res1
)) {
29819 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PrintPreview" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
29821 res2
= SWIG_ConvertPtr(swig_obj
[1], SWIG_as_voidptrptr(&arg2
), SWIGTYPE_p_wxPyPrintout
, SWIG_POINTER_DISOWN
| 0 );
29822 if (!SWIG_IsOK(res2
)) {
29823 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_PrintPreview" "', expected argument " "2"" of type '" "wxPyPrintout *""'");
29825 res3
= SWIG_ConvertPtr(swig_obj
[2], &argp3
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
29826 if (!SWIG_IsOK(res3
)) {
29827 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "new_PrintPreview" "', expected argument " "3"" of type '" "wxPrintData *""'");
29829 arg3
= reinterpret_cast< wxPrintData
* >(argp3
);
29831 if (!wxPyCheckForApp()) SWIG_fail
;
29832 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29833 result
= (wxPrintPreview
*)new wxPrintPreview(arg1
,arg2
,arg3
);
29834 wxPyEndAllowThreads(__tstate
);
29835 if (PyErr_Occurred()) SWIG_fail
;
29837 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPrintPreview
, SWIG_POINTER_NEW
| 0 );
29844 SWIGINTERN PyObject
*_wrap_new_PrintPreview(PyObject
*self
, PyObject
*args
) {
29848 if (!(argc
= SWIG_Python_UnpackTuple(args
,"new_PrintPreview",0,3,argv
))) SWIG_fail
;
29850 if ((argc
>= 2) && (argc
<= 3)) {
29855 int res
= SWIG_ConvertPtr(argv
[2], &vptr
, SWIGTYPE_p_wxPrintDialogData
, 0);
29856 _v
= SWIG_CheckState(res
);
29858 if (!_v
) goto check_1
;
29860 return _wrap_new_PrintPreview__SWIG_0(self
, argc
, argv
);
29865 return _wrap_new_PrintPreview__SWIG_1(self
, argc
, argv
);
29869 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'new_PrintPreview'");
29874 SWIGINTERN PyObject
*_wrap_delete_PrintPreview(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29875 PyObject
*resultobj
= 0;
29876 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
29879 PyObject
*swig_obj
[1] ;
29881 if (!args
) SWIG_fail
;
29882 swig_obj
[0] = args
;
29883 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintPreview
, SWIG_POINTER_DISOWN
| 0 );
29884 if (!SWIG_IsOK(res1
)) {
29885 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_PrintPreview" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
29887 arg1
= reinterpret_cast< wxPrintPreview
* >(argp1
);
29889 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29892 wxPyEndAllowThreads(__tstate
);
29893 if (PyErr_Occurred()) SWIG_fail
;
29895 resultobj
= SWIG_Py_Void();
29902 SWIGINTERN PyObject
*_wrap_PrintPreview_SetCurrentPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29903 PyObject
*resultobj
= 0;
29904 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
29911 PyObject
* obj0
= 0 ;
29912 PyObject
* obj1
= 0 ;
29913 char * kwnames
[] = {
29914 (char *) "self",(char *) "pageNum", NULL
29917 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintPreview_SetCurrentPage",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
29918 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintPreview
, 0 | 0 );
29919 if (!SWIG_IsOK(res1
)) {
29920 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintPreview_SetCurrentPage" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
29922 arg1
= reinterpret_cast< wxPrintPreview
* >(argp1
);
29923 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
29924 if (!SWIG_IsOK(ecode2
)) {
29925 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintPreview_SetCurrentPage" "', expected argument " "2"" of type '" "int""'");
29927 arg2
= static_cast< int >(val2
);
29929 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29930 result
= (bool)(arg1
)->SetCurrentPage(arg2
);
29931 wxPyEndAllowThreads(__tstate
);
29932 if (PyErr_Occurred()) SWIG_fail
;
29935 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29943 SWIGINTERN PyObject
*_wrap_PrintPreview_GetCurrentPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29944 PyObject
*resultobj
= 0;
29945 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
29949 PyObject
*swig_obj
[1] ;
29951 if (!args
) SWIG_fail
;
29952 swig_obj
[0] = args
;
29953 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintPreview
, 0 | 0 );
29954 if (!SWIG_IsOK(res1
)) {
29955 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintPreview_GetCurrentPage" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
29957 arg1
= reinterpret_cast< wxPrintPreview
* >(argp1
);
29959 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29960 result
= (int)(arg1
)->GetCurrentPage();
29961 wxPyEndAllowThreads(__tstate
);
29962 if (PyErr_Occurred()) SWIG_fail
;
29964 resultobj
= SWIG_From_int(static_cast< int >(result
));
29971 SWIGINTERN PyObject
*_wrap_PrintPreview_SetPrintout(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29972 PyObject
*resultobj
= 0;
29973 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
29974 wxPyPrintout
*arg2
= (wxPyPrintout
*) 0 ;
29978 PyObject
* obj0
= 0 ;
29979 PyObject
* obj1
= 0 ;
29980 char * kwnames
[] = {
29981 (char *) "self",(char *) "printout", NULL
29984 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintPreview_SetPrintout",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
29985 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintPreview
, 0 | 0 );
29986 if (!SWIG_IsOK(res1
)) {
29987 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintPreview_SetPrintout" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
29989 arg1
= reinterpret_cast< wxPrintPreview
* >(argp1
);
29990 res2
= SWIG_ConvertPtr(obj1
, SWIG_as_voidptrptr(&arg2
), SWIGTYPE_p_wxPyPrintout
, SWIG_POINTER_DISOWN
| 0 );
29991 if (!SWIG_IsOK(res2
)) {
29992 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PrintPreview_SetPrintout" "', expected argument " "2"" of type '" "wxPyPrintout *""'");
29995 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29996 (arg1
)->SetPrintout(arg2
);
29997 wxPyEndAllowThreads(__tstate
);
29998 if (PyErr_Occurred()) SWIG_fail
;
30000 resultobj
= SWIG_Py_Void();
30007 SWIGINTERN PyObject
*_wrap_PrintPreview_GetPrintout(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30008 PyObject
*resultobj
= 0;
30009 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
30010 wxPyPrintout
*result
= 0 ;
30013 PyObject
*swig_obj
[1] ;
30015 if (!args
) SWIG_fail
;
30016 swig_obj
[0] = args
;
30017 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintPreview
, 0 | 0 );
30018 if (!SWIG_IsOK(res1
)) {
30019 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintPreview_GetPrintout" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
30021 arg1
= reinterpret_cast< wxPrintPreview
* >(argp1
);
30023 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30024 result
= (wxPyPrintout
*)(arg1
)->GetPrintout();
30025 wxPyEndAllowThreads(__tstate
);
30026 if (PyErr_Occurred()) SWIG_fail
;
30029 resultobj
= wxPyMake_wxObject(result
, 0);
30037 SWIGINTERN PyObject
*_wrap_PrintPreview_GetPrintoutForPrinting(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30038 PyObject
*resultobj
= 0;
30039 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
30040 wxPyPrintout
*result
= 0 ;
30043 PyObject
*swig_obj
[1] ;
30045 if (!args
) SWIG_fail
;
30046 swig_obj
[0] = args
;
30047 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintPreview
, 0 | 0 );
30048 if (!SWIG_IsOK(res1
)) {
30049 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintPreview_GetPrintoutForPrinting" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
30051 arg1
= reinterpret_cast< wxPrintPreview
* >(argp1
);
30053 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30054 result
= (wxPyPrintout
*)(arg1
)->GetPrintoutForPrinting();
30055 wxPyEndAllowThreads(__tstate
);
30056 if (PyErr_Occurred()) SWIG_fail
;
30059 resultobj
= wxPyMake_wxObject(result
, 0);
30067 SWIGINTERN PyObject
*_wrap_PrintPreview_SetFrame(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30068 PyObject
*resultobj
= 0;
30069 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
30070 wxFrame
*arg2
= (wxFrame
*) 0 ;
30075 PyObject
* obj0
= 0 ;
30076 PyObject
* obj1
= 0 ;
30077 char * kwnames
[] = {
30078 (char *) "self",(char *) "frame", NULL
30081 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintPreview_SetFrame",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
30082 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintPreview
, 0 | 0 );
30083 if (!SWIG_IsOK(res1
)) {
30084 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintPreview_SetFrame" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
30086 arg1
= reinterpret_cast< wxPrintPreview
* >(argp1
);
30087 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxFrame
, 0 | 0 );
30088 if (!SWIG_IsOK(res2
)) {
30089 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PrintPreview_SetFrame" "', expected argument " "2"" of type '" "wxFrame *""'");
30091 arg2
= reinterpret_cast< wxFrame
* >(argp2
);
30093 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30094 (arg1
)->SetFrame(arg2
);
30095 wxPyEndAllowThreads(__tstate
);
30096 if (PyErr_Occurred()) SWIG_fail
;
30098 resultobj
= SWIG_Py_Void();
30105 SWIGINTERN PyObject
*_wrap_PrintPreview_SetCanvas(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30106 PyObject
*resultobj
= 0;
30107 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
30108 wxPreviewCanvas
*arg2
= (wxPreviewCanvas
*) 0 ;
30113 PyObject
* obj0
= 0 ;
30114 PyObject
* obj1
= 0 ;
30115 char * kwnames
[] = {
30116 (char *) "self",(char *) "canvas", NULL
30119 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintPreview_SetCanvas",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
30120 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintPreview
, 0 | 0 );
30121 if (!SWIG_IsOK(res1
)) {
30122 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintPreview_SetCanvas" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
30124 arg1
= reinterpret_cast< wxPrintPreview
* >(argp1
);
30125 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxPreviewCanvas
, 0 | 0 );
30126 if (!SWIG_IsOK(res2
)) {
30127 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PrintPreview_SetCanvas" "', expected argument " "2"" of type '" "wxPreviewCanvas *""'");
30129 arg2
= reinterpret_cast< wxPreviewCanvas
* >(argp2
);
30131 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30132 (arg1
)->SetCanvas(arg2
);
30133 wxPyEndAllowThreads(__tstate
);
30134 if (PyErr_Occurred()) SWIG_fail
;
30136 resultobj
= SWIG_Py_Void();
30143 SWIGINTERN PyObject
*_wrap_PrintPreview_GetFrame(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30144 PyObject
*resultobj
= 0;
30145 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
30146 wxFrame
*result
= 0 ;
30149 PyObject
*swig_obj
[1] ;
30151 if (!args
) SWIG_fail
;
30152 swig_obj
[0] = args
;
30153 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintPreview
, 0 | 0 );
30154 if (!SWIG_IsOK(res1
)) {
30155 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintPreview_GetFrame" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
30157 arg1
= reinterpret_cast< wxPrintPreview
* >(argp1
);
30159 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30160 result
= (wxFrame
*)(arg1
)->GetFrame();
30161 wxPyEndAllowThreads(__tstate
);
30162 if (PyErr_Occurred()) SWIG_fail
;
30165 resultobj
= wxPyMake_wxObject(result
, 0);
30173 SWIGINTERN PyObject
*_wrap_PrintPreview_GetCanvas(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30174 PyObject
*resultobj
= 0;
30175 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
30176 wxPreviewCanvas
*result
= 0 ;
30179 PyObject
*swig_obj
[1] ;
30181 if (!args
) SWIG_fail
;
30182 swig_obj
[0] = args
;
30183 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintPreview
, 0 | 0 );
30184 if (!SWIG_IsOK(res1
)) {
30185 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintPreview_GetCanvas" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
30187 arg1
= reinterpret_cast< wxPrintPreview
* >(argp1
);
30189 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30190 result
= (wxPreviewCanvas
*)(arg1
)->GetCanvas();
30191 wxPyEndAllowThreads(__tstate
);
30192 if (PyErr_Occurred()) SWIG_fail
;
30194 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPreviewCanvas
, 0 | 0 );
30201 SWIGINTERN PyObject
*_wrap_PrintPreview_PaintPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30202 PyObject
*resultobj
= 0;
30203 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
30204 wxPreviewCanvas
*arg2
= (wxPreviewCanvas
*) 0 ;
30213 PyObject
* obj0
= 0 ;
30214 PyObject
* obj1
= 0 ;
30215 PyObject
* obj2
= 0 ;
30216 char * kwnames
[] = {
30217 (char *) "self",(char *) "canvas",(char *) "dc", NULL
30220 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PrintPreview_PaintPage",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
30221 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintPreview
, 0 | 0 );
30222 if (!SWIG_IsOK(res1
)) {
30223 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintPreview_PaintPage" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
30225 arg1
= reinterpret_cast< wxPrintPreview
* >(argp1
);
30226 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxPreviewCanvas
, 0 | 0 );
30227 if (!SWIG_IsOK(res2
)) {
30228 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PrintPreview_PaintPage" "', expected argument " "2"" of type '" "wxPreviewCanvas *""'");
30230 arg2
= reinterpret_cast< wxPreviewCanvas
* >(argp2
);
30231 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxDC
, 0 );
30232 if (!SWIG_IsOK(res3
)) {
30233 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "PrintPreview_PaintPage" "', expected argument " "3"" of type '" "wxDC &""'");
30236 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "PrintPreview_PaintPage" "', expected argument " "3"" of type '" "wxDC &""'");
30238 arg3
= reinterpret_cast< wxDC
* >(argp3
);
30240 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30241 result
= (bool)(arg1
)->PaintPage(arg2
,*arg3
);
30242 wxPyEndAllowThreads(__tstate
);
30243 if (PyErr_Occurred()) SWIG_fail
;
30246 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30254 SWIGINTERN PyObject
*_wrap_PrintPreview_DrawBlankPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30255 PyObject
*resultobj
= 0;
30256 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
30257 wxPreviewCanvas
*arg2
= (wxPreviewCanvas
*) 0 ;
30266 PyObject
* obj0
= 0 ;
30267 PyObject
* obj1
= 0 ;
30268 PyObject
* obj2
= 0 ;
30269 char * kwnames
[] = {
30270 (char *) "self",(char *) "canvas",(char *) "dc", NULL
30273 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PrintPreview_DrawBlankPage",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
30274 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintPreview
, 0 | 0 );
30275 if (!SWIG_IsOK(res1
)) {
30276 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintPreview_DrawBlankPage" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
30278 arg1
= reinterpret_cast< wxPrintPreview
* >(argp1
);
30279 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxPreviewCanvas
, 0 | 0 );
30280 if (!SWIG_IsOK(res2
)) {
30281 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PrintPreview_DrawBlankPage" "', expected argument " "2"" of type '" "wxPreviewCanvas *""'");
30283 arg2
= reinterpret_cast< wxPreviewCanvas
* >(argp2
);
30284 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxDC
, 0 );
30285 if (!SWIG_IsOK(res3
)) {
30286 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "PrintPreview_DrawBlankPage" "', expected argument " "3"" of type '" "wxDC &""'");
30289 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "PrintPreview_DrawBlankPage" "', expected argument " "3"" of type '" "wxDC &""'");
30291 arg3
= reinterpret_cast< wxDC
* >(argp3
);
30293 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30294 result
= (bool)(arg1
)->DrawBlankPage(arg2
,*arg3
);
30295 wxPyEndAllowThreads(__tstate
);
30296 if (PyErr_Occurred()) SWIG_fail
;
30299 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30307 SWIGINTERN PyObject
*_wrap_PrintPreview_RenderPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30308 PyObject
*resultobj
= 0;
30309 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
30316 PyObject
* obj0
= 0 ;
30317 PyObject
* obj1
= 0 ;
30318 char * kwnames
[] = {
30319 (char *) "self",(char *) "pageNum", NULL
30322 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintPreview_RenderPage",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
30323 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintPreview
, 0 | 0 );
30324 if (!SWIG_IsOK(res1
)) {
30325 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintPreview_RenderPage" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
30327 arg1
= reinterpret_cast< wxPrintPreview
* >(argp1
);
30328 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
30329 if (!SWIG_IsOK(ecode2
)) {
30330 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintPreview_RenderPage" "', expected argument " "2"" of type '" "int""'");
30332 arg2
= static_cast< int >(val2
);
30334 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30335 result
= (bool)(arg1
)->RenderPage(arg2
);
30336 wxPyEndAllowThreads(__tstate
);
30337 if (PyErr_Occurred()) SWIG_fail
;
30340 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30348 SWIGINTERN PyObject
*_wrap_PrintPreview_AdjustScrollbars(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30349 PyObject
*resultobj
= 0;
30350 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
30351 wxPreviewCanvas
*arg2
= (wxPreviewCanvas
*) 0 ;
30356 PyObject
* obj0
= 0 ;
30357 PyObject
* obj1
= 0 ;
30358 char * kwnames
[] = {
30359 (char *) "self",(char *) "canvas", NULL
30362 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintPreview_AdjustScrollbars",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
30363 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintPreview
, 0 | 0 );
30364 if (!SWIG_IsOK(res1
)) {
30365 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintPreview_AdjustScrollbars" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
30367 arg1
= reinterpret_cast< wxPrintPreview
* >(argp1
);
30368 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxPreviewCanvas
, 0 | 0 );
30369 if (!SWIG_IsOK(res2
)) {
30370 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PrintPreview_AdjustScrollbars" "', expected argument " "2"" of type '" "wxPreviewCanvas *""'");
30372 arg2
= reinterpret_cast< wxPreviewCanvas
* >(argp2
);
30374 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30375 (arg1
)->AdjustScrollbars(arg2
);
30376 wxPyEndAllowThreads(__tstate
);
30377 if (PyErr_Occurred()) SWIG_fail
;
30379 resultobj
= SWIG_Py_Void();
30386 SWIGINTERN PyObject
*_wrap_PrintPreview_GetPrintDialogData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30387 PyObject
*resultobj
= 0;
30388 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
30389 wxPrintDialogData
*result
= 0 ;
30392 PyObject
*swig_obj
[1] ;
30394 if (!args
) SWIG_fail
;
30395 swig_obj
[0] = args
;
30396 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintPreview
, 0 | 0 );
30397 if (!SWIG_IsOK(res1
)) {
30398 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintPreview_GetPrintDialogData" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
30400 arg1
= reinterpret_cast< wxPrintPreview
* >(argp1
);
30402 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30404 wxPrintDialogData
&_result_ref
= (arg1
)->GetPrintDialogData();
30405 result
= (wxPrintDialogData
*) &_result_ref
;
30407 wxPyEndAllowThreads(__tstate
);
30408 if (PyErr_Occurred()) SWIG_fail
;
30410 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
30417 SWIGINTERN PyObject
*_wrap_PrintPreview_SetZoom(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30418 PyObject
*resultobj
= 0;
30419 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
30425 PyObject
* obj0
= 0 ;
30426 PyObject
* obj1
= 0 ;
30427 char * kwnames
[] = {
30428 (char *) "self",(char *) "percent", NULL
30431 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintPreview_SetZoom",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
30432 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintPreview
, 0 | 0 );
30433 if (!SWIG_IsOK(res1
)) {
30434 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintPreview_SetZoom" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
30436 arg1
= reinterpret_cast< wxPrintPreview
* >(argp1
);
30437 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
30438 if (!SWIG_IsOK(ecode2
)) {
30439 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintPreview_SetZoom" "', expected argument " "2"" of type '" "int""'");
30441 arg2
= static_cast< int >(val2
);
30443 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30444 (arg1
)->SetZoom(arg2
);
30445 wxPyEndAllowThreads(__tstate
);
30446 if (PyErr_Occurred()) SWIG_fail
;
30448 resultobj
= SWIG_Py_Void();
30455 SWIGINTERN PyObject
*_wrap_PrintPreview_GetZoom(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30456 PyObject
*resultobj
= 0;
30457 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
30461 PyObject
*swig_obj
[1] ;
30463 if (!args
) SWIG_fail
;
30464 swig_obj
[0] = args
;
30465 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintPreview
, 0 | 0 );
30466 if (!SWIG_IsOK(res1
)) {
30467 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintPreview_GetZoom" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
30469 arg1
= reinterpret_cast< wxPrintPreview
* >(argp1
);
30471 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30472 result
= (int)(arg1
)->GetZoom();
30473 wxPyEndAllowThreads(__tstate
);
30474 if (PyErr_Occurred()) SWIG_fail
;
30476 resultobj
= SWIG_From_int(static_cast< int >(result
));
30483 SWIGINTERN PyObject
*_wrap_PrintPreview_GetMaxPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30484 PyObject
*resultobj
= 0;
30485 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
30489 PyObject
*swig_obj
[1] ;
30491 if (!args
) SWIG_fail
;
30492 swig_obj
[0] = args
;
30493 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintPreview
, 0 | 0 );
30494 if (!SWIG_IsOK(res1
)) {
30495 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintPreview_GetMaxPage" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
30497 arg1
= reinterpret_cast< wxPrintPreview
* >(argp1
);
30499 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30500 result
= (int)(arg1
)->GetMaxPage();
30501 wxPyEndAllowThreads(__tstate
);
30502 if (PyErr_Occurred()) SWIG_fail
;
30504 resultobj
= SWIG_From_int(static_cast< int >(result
));
30511 SWIGINTERN PyObject
*_wrap_PrintPreview_GetMinPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30512 PyObject
*resultobj
= 0;
30513 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
30517 PyObject
*swig_obj
[1] ;
30519 if (!args
) SWIG_fail
;
30520 swig_obj
[0] = args
;
30521 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintPreview
, 0 | 0 );
30522 if (!SWIG_IsOK(res1
)) {
30523 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintPreview_GetMinPage" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
30525 arg1
= reinterpret_cast< wxPrintPreview
* >(argp1
);
30527 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30528 result
= (int)(arg1
)->GetMinPage();
30529 wxPyEndAllowThreads(__tstate
);
30530 if (PyErr_Occurred()) SWIG_fail
;
30532 resultobj
= SWIG_From_int(static_cast< int >(result
));
30539 SWIGINTERN PyObject
*_wrap_PrintPreview_IsOk(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30540 PyObject
*resultobj
= 0;
30541 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
30545 PyObject
*swig_obj
[1] ;
30547 if (!args
) SWIG_fail
;
30548 swig_obj
[0] = args
;
30549 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintPreview
, 0 | 0 );
30550 if (!SWIG_IsOK(res1
)) {
30551 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintPreview_IsOk" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
30553 arg1
= reinterpret_cast< wxPrintPreview
* >(argp1
);
30555 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30556 result
= (bool)(arg1
)->IsOk();
30557 wxPyEndAllowThreads(__tstate
);
30558 if (PyErr_Occurred()) SWIG_fail
;
30561 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30569 SWIGINTERN PyObject
*_wrap_PrintPreview_SetOk(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30570 PyObject
*resultobj
= 0;
30571 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
30577 PyObject
* obj0
= 0 ;
30578 PyObject
* obj1
= 0 ;
30579 char * kwnames
[] = {
30580 (char *) "self",(char *) "ok", NULL
30583 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintPreview_SetOk",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
30584 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintPreview
, 0 | 0 );
30585 if (!SWIG_IsOK(res1
)) {
30586 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintPreview_SetOk" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
30588 arg1
= reinterpret_cast< wxPrintPreview
* >(argp1
);
30589 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
30590 if (!SWIG_IsOK(ecode2
)) {
30591 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintPreview_SetOk" "', expected argument " "2"" of type '" "bool""'");
30593 arg2
= static_cast< bool >(val2
);
30595 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30596 (arg1
)->SetOk(arg2
);
30597 wxPyEndAllowThreads(__tstate
);
30598 if (PyErr_Occurred()) SWIG_fail
;
30600 resultobj
= SWIG_Py_Void();
30607 SWIGINTERN PyObject
*_wrap_PrintPreview_Print(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30608 PyObject
*resultobj
= 0;
30609 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
30616 PyObject
* obj0
= 0 ;
30617 PyObject
* obj1
= 0 ;
30618 char * kwnames
[] = {
30619 (char *) "self",(char *) "interactive", NULL
30622 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintPreview_Print",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
30623 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintPreview
, 0 | 0 );
30624 if (!SWIG_IsOK(res1
)) {
30625 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintPreview_Print" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
30627 arg1
= reinterpret_cast< wxPrintPreview
* >(argp1
);
30628 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
30629 if (!SWIG_IsOK(ecode2
)) {
30630 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintPreview_Print" "', expected argument " "2"" of type '" "bool""'");
30632 arg2
= static_cast< bool >(val2
);
30634 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30635 result
= (bool)(arg1
)->Print(arg2
);
30636 wxPyEndAllowThreads(__tstate
);
30637 if (PyErr_Occurred()) SWIG_fail
;
30640 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30648 SWIGINTERN PyObject
*_wrap_PrintPreview_DetermineScaling(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30649 PyObject
*resultobj
= 0;
30650 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
30653 PyObject
*swig_obj
[1] ;
30655 if (!args
) SWIG_fail
;
30656 swig_obj
[0] = args
;
30657 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintPreview
, 0 | 0 );
30658 if (!SWIG_IsOK(res1
)) {
30659 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintPreview_DetermineScaling" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
30661 arg1
= reinterpret_cast< wxPrintPreview
* >(argp1
);
30663 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30664 (arg1
)->DetermineScaling();
30665 wxPyEndAllowThreads(__tstate
);
30666 if (PyErr_Occurred()) SWIG_fail
;
30668 resultobj
= SWIG_Py_Void();
30675 SWIGINTERN PyObject
*PrintPreview_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30677 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
30678 SWIG_TypeNewClientData(SWIGTYPE_p_wxPrintPreview
, SWIG_NewClientData(obj
));
30679 return SWIG_Py_Void();
30682 SWIGINTERN PyObject
*PrintPreview_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30683 return SWIG_Python_InitShadowInstance(args
);
30686 SWIGINTERN PyObject
*_wrap_new_PyPrintPreview__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
30687 PyObject
*resultobj
= 0;
30688 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
30689 wxPyPrintout
*arg2
= (wxPyPrintout
*) 0 ;
30690 wxPrintDialogData
*arg3
= (wxPrintDialogData
*) NULL
;
30691 wxPyPrintPreview
*result
= 0 ;
30697 if ((nobjs
< 2) || (nobjs
> 3)) SWIG_fail
;
30698 res1
= SWIG_ConvertPtr(swig_obj
[0], SWIG_as_voidptrptr(&arg1
), SWIGTYPE_p_wxPyPrintout
, SWIG_POINTER_DISOWN
| 0 );
30699 if (!SWIG_IsOK(res1
)) {
30700 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PyPrintPreview" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
30702 res2
= SWIG_ConvertPtr(swig_obj
[1], SWIG_as_voidptrptr(&arg2
), SWIGTYPE_p_wxPyPrintout
, SWIG_POINTER_DISOWN
| 0 );
30703 if (!SWIG_IsOK(res2
)) {
30704 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_PyPrintPreview" "', expected argument " "2"" of type '" "wxPyPrintout *""'");
30707 res3
= SWIG_ConvertPtr(swig_obj
[2], &argp3
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
30708 if (!SWIG_IsOK(res3
)) {
30709 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "new_PyPrintPreview" "', expected argument " "3"" of type '" "wxPrintDialogData *""'");
30711 arg3
= reinterpret_cast< wxPrintDialogData
* >(argp3
);
30714 if (!wxPyCheckForApp()) SWIG_fail
;
30715 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30716 result
= (wxPyPrintPreview
*)new wxPyPrintPreview(arg1
,arg2
,arg3
);
30717 wxPyEndAllowThreads(__tstate
);
30718 if (PyErr_Occurred()) SWIG_fail
;
30720 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyPrintPreview
, SWIG_POINTER_NEW
| 0 );
30727 SWIGINTERN PyObject
*_wrap_new_PyPrintPreview__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
30728 PyObject
*resultobj
= 0;
30729 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
30730 wxPyPrintout
*arg2
= (wxPyPrintout
*) 0 ;
30731 wxPrintData
*arg3
= (wxPrintData
*) 0 ;
30732 wxPyPrintPreview
*result
= 0 ;
30738 if ((nobjs
< 3) || (nobjs
> 3)) SWIG_fail
;
30739 res1
= SWIG_ConvertPtr(swig_obj
[0], SWIG_as_voidptrptr(&arg1
), SWIGTYPE_p_wxPyPrintout
, SWIG_POINTER_DISOWN
| 0 );
30740 if (!SWIG_IsOK(res1
)) {
30741 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PyPrintPreview" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
30743 res2
= SWIG_ConvertPtr(swig_obj
[1], SWIG_as_voidptrptr(&arg2
), SWIGTYPE_p_wxPyPrintout
, SWIG_POINTER_DISOWN
| 0 );
30744 if (!SWIG_IsOK(res2
)) {
30745 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_PyPrintPreview" "', expected argument " "2"" of type '" "wxPyPrintout *""'");
30747 res3
= SWIG_ConvertPtr(swig_obj
[2], &argp3
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
30748 if (!SWIG_IsOK(res3
)) {
30749 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "new_PyPrintPreview" "', expected argument " "3"" of type '" "wxPrintData *""'");
30751 arg3
= reinterpret_cast< wxPrintData
* >(argp3
);
30753 if (!wxPyCheckForApp()) SWIG_fail
;
30754 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30755 result
= (wxPyPrintPreview
*)new wxPyPrintPreview(arg1
,arg2
,arg3
);
30756 wxPyEndAllowThreads(__tstate
);
30757 if (PyErr_Occurred()) SWIG_fail
;
30759 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyPrintPreview
, SWIG_POINTER_NEW
| 0 );
30766 SWIGINTERN PyObject
*_wrap_new_PyPrintPreview(PyObject
*self
, PyObject
*args
) {
30770 if (!(argc
= SWIG_Python_UnpackTuple(args
,"new_PyPrintPreview",0,3,argv
))) SWIG_fail
;
30772 if ((argc
>= 2) && (argc
<= 3)) {
30777 int res
= SWIG_ConvertPtr(argv
[2], &vptr
, SWIGTYPE_p_wxPrintDialogData
, 0);
30778 _v
= SWIG_CheckState(res
);
30780 if (!_v
) goto check_1
;
30782 return _wrap_new_PyPrintPreview__SWIG_0(self
, argc
, argv
);
30787 return _wrap_new_PyPrintPreview__SWIG_1(self
, argc
, argv
);
30791 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'new_PyPrintPreview'");
30796 SWIGINTERN PyObject
*_wrap_PyPrintPreview__setCallbackInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30797 PyObject
*resultobj
= 0;
30798 wxPyPrintPreview
*arg1
= (wxPyPrintPreview
*) 0 ;
30799 PyObject
*arg2
= (PyObject
*) 0 ;
30800 PyObject
*arg3
= (PyObject
*) 0 ;
30803 PyObject
* obj0
= 0 ;
30804 PyObject
* obj1
= 0 ;
30805 PyObject
* obj2
= 0 ;
30806 char * kwnames
[] = {
30807 (char *) "self",(char *) "self",(char *) "_class", NULL
30810 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyPrintPreview__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
30811 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPrintPreview
, 0 | 0 );
30812 if (!SWIG_IsOK(res1
)) {
30813 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyPrintPreview__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyPrintPreview *""'");
30815 arg1
= reinterpret_cast< wxPyPrintPreview
* >(argp1
);
30819 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30820 (arg1
)->_setCallbackInfo(arg2
,arg3
);
30821 wxPyEndAllowThreads(__tstate
);
30822 if (PyErr_Occurred()) SWIG_fail
;
30824 resultobj
= SWIG_Py_Void();
30831 SWIGINTERN PyObject
*PyPrintPreview_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30833 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
30834 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyPrintPreview
, SWIG_NewClientData(obj
));
30835 return SWIG_Py_Void();
30838 SWIGINTERN PyObject
*PyPrintPreview_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30839 return SWIG_Python_InitShadowInstance(args
);
30842 SWIGINTERN PyObject
*_wrap_new_PyPreviewFrame(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30843 PyObject
*resultobj
= 0;
30844 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
30845 wxFrame
*arg2
= (wxFrame
*) 0 ;
30846 wxString
*arg3
= 0 ;
30847 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
30848 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
30849 wxSize
const &arg5_defvalue
= wxDefaultSize
;
30850 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
30851 long arg6
= (long) wxDEFAULT_FRAME_STYLE
;
30852 wxString
const &arg7_defvalue
= wxPyFrameNameStr
;
30853 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
30854 wxPyPreviewFrame
*result
= 0 ;
30858 bool temp3
= false ;
30863 bool temp7
= false ;
30864 PyObject
* obj0
= 0 ;
30865 PyObject
* obj1
= 0 ;
30866 PyObject
* obj2
= 0 ;
30867 PyObject
* obj3
= 0 ;
30868 PyObject
* obj4
= 0 ;
30869 PyObject
* obj5
= 0 ;
30870 PyObject
* obj6
= 0 ;
30871 char * kwnames
[] = {
30872 (char *) "preview",(char *) "parent",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
30875 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:new_PyPreviewFrame",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
30876 res1
= SWIG_ConvertPtr(obj0
, SWIG_as_voidptrptr(&arg1
), SWIGTYPE_p_wxPrintPreview
, SWIG_POINTER_DISOWN
| 0 );
30877 if (!SWIG_IsOK(res1
)) {
30878 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PyPreviewFrame" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
30880 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxFrame
, 0 | 0 );
30881 if (!SWIG_IsOK(res2
)) {
30882 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_PyPreviewFrame" "', expected argument " "2"" of type '" "wxFrame *""'");
30884 arg2
= reinterpret_cast< wxFrame
* >(argp2
);
30886 arg3
= wxString_in_helper(obj2
);
30887 if (arg3
== NULL
) SWIG_fail
;
30893 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
30899 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
30903 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
30904 if (!SWIG_IsOK(ecode6
)) {
30905 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_PyPreviewFrame" "', expected argument " "6"" of type '" "long""'");
30907 arg6
= static_cast< long >(val6
);
30911 arg7
= wxString_in_helper(obj6
);
30912 if (arg7
== NULL
) SWIG_fail
;
30917 if (!wxPyCheckForApp()) SWIG_fail
;
30918 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30919 result
= (wxPyPreviewFrame
*)new wxPyPreviewFrame(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
30920 wxPyEndAllowThreads(__tstate
);
30921 if (PyErr_Occurred()) SWIG_fail
;
30923 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyPreviewFrame
, SWIG_POINTER_NEW
| 0 );
30946 SWIGINTERN PyObject
*_wrap_PyPreviewFrame__setCallbackInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30947 PyObject
*resultobj
= 0;
30948 wxPyPreviewFrame
*arg1
= (wxPyPreviewFrame
*) 0 ;
30949 PyObject
*arg2
= (PyObject
*) 0 ;
30950 PyObject
*arg3
= (PyObject
*) 0 ;
30953 PyObject
* obj0
= 0 ;
30954 PyObject
* obj1
= 0 ;
30955 PyObject
* obj2
= 0 ;
30956 char * kwnames
[] = {
30957 (char *) "self",(char *) "self",(char *) "_class", NULL
30960 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyPreviewFrame__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
30961 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPreviewFrame
, 0 | 0 );
30962 if (!SWIG_IsOK(res1
)) {
30963 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyPreviewFrame__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyPreviewFrame *""'");
30965 arg1
= reinterpret_cast< wxPyPreviewFrame
* >(argp1
);
30969 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30970 (arg1
)->_setCallbackInfo(arg2
,arg3
);
30971 wxPyEndAllowThreads(__tstate
);
30972 if (PyErr_Occurred()) SWIG_fail
;
30974 resultobj
= SWIG_Py_Void();
30981 SWIGINTERN PyObject
*_wrap_PyPreviewFrame_SetPreviewCanvas(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30982 PyObject
*resultobj
= 0;
30983 wxPyPreviewFrame
*arg1
= (wxPyPreviewFrame
*) 0 ;
30984 wxPreviewCanvas
*arg2
= (wxPreviewCanvas
*) 0 ;
30989 PyObject
* obj0
= 0 ;
30990 PyObject
* obj1
= 0 ;
30991 char * kwnames
[] = {
30992 (char *) "self",(char *) "canvas", NULL
30995 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyPreviewFrame_SetPreviewCanvas",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
30996 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPreviewFrame
, 0 | 0 );
30997 if (!SWIG_IsOK(res1
)) {
30998 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyPreviewFrame_SetPreviewCanvas" "', expected argument " "1"" of type '" "wxPyPreviewFrame *""'");
31000 arg1
= reinterpret_cast< wxPyPreviewFrame
* >(argp1
);
31001 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxPreviewCanvas
, 0 | 0 );
31002 if (!SWIG_IsOK(res2
)) {
31003 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PyPreviewFrame_SetPreviewCanvas" "', expected argument " "2"" of type '" "wxPreviewCanvas *""'");
31005 arg2
= reinterpret_cast< wxPreviewCanvas
* >(argp2
);
31007 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31008 (arg1
)->SetPreviewCanvas(arg2
);
31009 wxPyEndAllowThreads(__tstate
);
31010 if (PyErr_Occurred()) SWIG_fail
;
31012 resultobj
= SWIG_Py_Void();
31019 SWIGINTERN PyObject
*_wrap_PyPreviewFrame_SetControlBar(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31020 PyObject
*resultobj
= 0;
31021 wxPyPreviewFrame
*arg1
= (wxPyPreviewFrame
*) 0 ;
31022 wxPreviewControlBar
*arg2
= (wxPreviewControlBar
*) 0 ;
31027 PyObject
* obj0
= 0 ;
31028 PyObject
* obj1
= 0 ;
31029 char * kwnames
[] = {
31030 (char *) "self",(char *) "bar", NULL
31033 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyPreviewFrame_SetControlBar",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
31034 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPreviewFrame
, 0 | 0 );
31035 if (!SWIG_IsOK(res1
)) {
31036 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyPreviewFrame_SetControlBar" "', expected argument " "1"" of type '" "wxPyPreviewFrame *""'");
31038 arg1
= reinterpret_cast< wxPyPreviewFrame
* >(argp1
);
31039 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxPreviewControlBar
, 0 | 0 );
31040 if (!SWIG_IsOK(res2
)) {
31041 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PyPreviewFrame_SetControlBar" "', expected argument " "2"" of type '" "wxPreviewControlBar *""'");
31043 arg2
= reinterpret_cast< wxPreviewControlBar
* >(argp2
);
31045 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31046 (arg1
)->SetControlBar(arg2
);
31047 wxPyEndAllowThreads(__tstate
);
31048 if (PyErr_Occurred()) SWIG_fail
;
31050 resultobj
= SWIG_Py_Void();
31057 SWIGINTERN PyObject
*_wrap_PyPreviewFrame_Initialize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31058 PyObject
*resultobj
= 0;
31059 wxPyPreviewFrame
*arg1
= (wxPyPreviewFrame
*) 0 ;
31062 PyObject
*swig_obj
[1] ;
31064 if (!args
) SWIG_fail
;
31065 swig_obj
[0] = args
;
31066 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPreviewFrame
, 0 | 0 );
31067 if (!SWIG_IsOK(res1
)) {
31068 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyPreviewFrame_Initialize" "', expected argument " "1"" of type '" "wxPyPreviewFrame *""'");
31070 arg1
= reinterpret_cast< wxPyPreviewFrame
* >(argp1
);
31072 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31073 (arg1
)->Initialize();
31074 wxPyEndAllowThreads(__tstate
);
31075 if (PyErr_Occurred()) SWIG_fail
;
31077 resultobj
= SWIG_Py_Void();
31084 SWIGINTERN PyObject
*_wrap_PyPreviewFrame_CreateCanvas(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31085 PyObject
*resultobj
= 0;
31086 wxPyPreviewFrame
*arg1
= (wxPyPreviewFrame
*) 0 ;
31089 PyObject
*swig_obj
[1] ;
31091 if (!args
) SWIG_fail
;
31092 swig_obj
[0] = args
;
31093 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPreviewFrame
, 0 | 0 );
31094 if (!SWIG_IsOK(res1
)) {
31095 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyPreviewFrame_CreateCanvas" "', expected argument " "1"" of type '" "wxPyPreviewFrame *""'");
31097 arg1
= reinterpret_cast< wxPyPreviewFrame
* >(argp1
);
31099 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31100 (arg1
)->CreateCanvas();
31101 wxPyEndAllowThreads(__tstate
);
31102 if (PyErr_Occurred()) SWIG_fail
;
31104 resultobj
= SWIG_Py_Void();
31111 SWIGINTERN PyObject
*_wrap_PyPreviewFrame_CreateControlBar(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31112 PyObject
*resultobj
= 0;
31113 wxPyPreviewFrame
*arg1
= (wxPyPreviewFrame
*) 0 ;
31116 PyObject
*swig_obj
[1] ;
31118 if (!args
) SWIG_fail
;
31119 swig_obj
[0] = args
;
31120 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPreviewFrame
, 0 | 0 );
31121 if (!SWIG_IsOK(res1
)) {
31122 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyPreviewFrame_CreateControlBar" "', expected argument " "1"" of type '" "wxPyPreviewFrame *""'");
31124 arg1
= reinterpret_cast< wxPyPreviewFrame
* >(argp1
);
31126 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31127 (arg1
)->CreateControlBar();
31128 wxPyEndAllowThreads(__tstate
);
31129 if (PyErr_Occurred()) SWIG_fail
;
31131 resultobj
= SWIG_Py_Void();
31138 SWIGINTERN PyObject
*PyPreviewFrame_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31140 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
31141 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyPreviewFrame
, SWIG_NewClientData(obj
));
31142 return SWIG_Py_Void();
31145 SWIGINTERN PyObject
*PyPreviewFrame_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31146 return SWIG_Python_InitShadowInstance(args
);
31149 SWIGINTERN PyObject
*_wrap_new_PyPreviewControlBar(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31150 PyObject
*resultobj
= 0;
31151 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
31153 wxWindow
*arg3
= (wxWindow
*) 0 ;
31154 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
31155 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
31156 wxSize
const &arg5_defvalue
= wxDefaultSize
;
31157 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
31158 long arg6
= (long) 0 ;
31159 wxString
const &arg7_defvalue
= wxPyPanelNameStr
;
31160 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
31161 wxPyPreviewControlBar
*result
= 0 ;
31171 bool temp7
= false ;
31172 PyObject
* obj0
= 0 ;
31173 PyObject
* obj1
= 0 ;
31174 PyObject
* obj2
= 0 ;
31175 PyObject
* obj3
= 0 ;
31176 PyObject
* obj4
= 0 ;
31177 PyObject
* obj5
= 0 ;
31178 PyObject
* obj6
= 0 ;
31179 char * kwnames
[] = {
31180 (char *) "preview",(char *) "buttons",(char *) "parent",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
31183 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:new_PyPreviewControlBar",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
31184 res1
= SWIG_ConvertPtr(obj0
, SWIG_as_voidptrptr(&arg1
), SWIGTYPE_p_wxPrintPreview
, SWIG_POINTER_DISOWN
| 0 );
31185 if (!SWIG_IsOK(res1
)) {
31186 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PyPreviewControlBar" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
31188 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
31189 if (!SWIG_IsOK(ecode2
)) {
31190 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_PyPreviewControlBar" "', expected argument " "2"" of type '" "long""'");
31192 arg2
= static_cast< long >(val2
);
31193 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxWindow
, 0 | 0 );
31194 if (!SWIG_IsOK(res3
)) {
31195 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "new_PyPreviewControlBar" "', expected argument " "3"" of type '" "wxWindow *""'");
31197 arg3
= reinterpret_cast< wxWindow
* >(argp3
);
31201 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
31207 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
31211 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
31212 if (!SWIG_IsOK(ecode6
)) {
31213 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_PyPreviewControlBar" "', expected argument " "6"" of type '" "long""'");
31215 arg6
= static_cast< long >(val6
);
31219 arg7
= wxString_in_helper(obj6
);
31220 if (arg7
== NULL
) SWIG_fail
;
31225 if (!wxPyCheckForApp()) SWIG_fail
;
31226 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31227 result
= (wxPyPreviewControlBar
*)new wxPyPreviewControlBar(arg1
,arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
31228 wxPyEndAllowThreads(__tstate
);
31229 if (PyErr_Occurred()) SWIG_fail
;
31231 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyPreviewControlBar
, SWIG_POINTER_NEW
| 0 );
31246 SWIGINTERN PyObject
*_wrap_PyPreviewControlBar__setCallbackInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31247 PyObject
*resultobj
= 0;
31248 wxPyPreviewControlBar
*arg1
= (wxPyPreviewControlBar
*) 0 ;
31249 PyObject
*arg2
= (PyObject
*) 0 ;
31250 PyObject
*arg3
= (PyObject
*) 0 ;
31253 PyObject
* obj0
= 0 ;
31254 PyObject
* obj1
= 0 ;
31255 PyObject
* obj2
= 0 ;
31256 char * kwnames
[] = {
31257 (char *) "self",(char *) "self",(char *) "_class", NULL
31260 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyPreviewControlBar__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
31261 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPreviewControlBar
, 0 | 0 );
31262 if (!SWIG_IsOK(res1
)) {
31263 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyPreviewControlBar__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyPreviewControlBar *""'");
31265 arg1
= reinterpret_cast< wxPyPreviewControlBar
* >(argp1
);
31269 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31270 (arg1
)->_setCallbackInfo(arg2
,arg3
);
31271 wxPyEndAllowThreads(__tstate
);
31272 if (PyErr_Occurred()) SWIG_fail
;
31274 resultobj
= SWIG_Py_Void();
31281 SWIGINTERN PyObject
*_wrap_PyPreviewControlBar_SetPrintPreview(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31282 PyObject
*resultobj
= 0;
31283 wxPyPreviewControlBar
*arg1
= (wxPyPreviewControlBar
*) 0 ;
31284 wxPrintPreview
*arg2
= (wxPrintPreview
*) 0 ;
31288 PyObject
* obj0
= 0 ;
31289 PyObject
* obj1
= 0 ;
31290 char * kwnames
[] = {
31291 (char *) "self",(char *) "preview", NULL
31294 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyPreviewControlBar_SetPrintPreview",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
31295 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPreviewControlBar
, 0 | 0 );
31296 if (!SWIG_IsOK(res1
)) {
31297 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyPreviewControlBar_SetPrintPreview" "', expected argument " "1"" of type '" "wxPyPreviewControlBar *""'");
31299 arg1
= reinterpret_cast< wxPyPreviewControlBar
* >(argp1
);
31300 res2
= SWIG_ConvertPtr(obj1
, SWIG_as_voidptrptr(&arg2
), SWIGTYPE_p_wxPrintPreview
, SWIG_POINTER_DISOWN
| 0 );
31301 if (!SWIG_IsOK(res2
)) {
31302 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PyPreviewControlBar_SetPrintPreview" "', expected argument " "2"" of type '" "wxPrintPreview *""'");
31305 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31306 (arg1
)->SetPrintPreview(arg2
);
31307 wxPyEndAllowThreads(__tstate
);
31308 if (PyErr_Occurred()) SWIG_fail
;
31310 resultobj
= SWIG_Py_Void();
31317 SWIGINTERN PyObject
*_wrap_PyPreviewControlBar_CreateButtons(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31318 PyObject
*resultobj
= 0;
31319 wxPyPreviewControlBar
*arg1
= (wxPyPreviewControlBar
*) 0 ;
31322 PyObject
*swig_obj
[1] ;
31324 if (!args
) SWIG_fail
;
31325 swig_obj
[0] = args
;
31326 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPreviewControlBar
, 0 | 0 );
31327 if (!SWIG_IsOK(res1
)) {
31328 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyPreviewControlBar_CreateButtons" "', expected argument " "1"" of type '" "wxPyPreviewControlBar *""'");
31330 arg1
= reinterpret_cast< wxPyPreviewControlBar
* >(argp1
);
31332 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31333 (arg1
)->CreateButtons();
31334 wxPyEndAllowThreads(__tstate
);
31335 if (PyErr_Occurred()) SWIG_fail
;
31337 resultobj
= SWIG_Py_Void();
31344 SWIGINTERN PyObject
*_wrap_PyPreviewControlBar_SetZoomControl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31345 PyObject
*resultobj
= 0;
31346 wxPyPreviewControlBar
*arg1
= (wxPyPreviewControlBar
*) 0 ;
31352 PyObject
* obj0
= 0 ;
31353 PyObject
* obj1
= 0 ;
31354 char * kwnames
[] = {
31355 (char *) "self",(char *) "zoom", NULL
31358 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyPreviewControlBar_SetZoomControl",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
31359 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPreviewControlBar
, 0 | 0 );
31360 if (!SWIG_IsOK(res1
)) {
31361 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyPreviewControlBar_SetZoomControl" "', expected argument " "1"" of type '" "wxPyPreviewControlBar *""'");
31363 arg1
= reinterpret_cast< wxPyPreviewControlBar
* >(argp1
);
31364 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
31365 if (!SWIG_IsOK(ecode2
)) {
31366 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PyPreviewControlBar_SetZoomControl" "', expected argument " "2"" of type '" "int""'");
31368 arg2
= static_cast< int >(val2
);
31370 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31371 (arg1
)->SetZoomControl(arg2
);
31372 wxPyEndAllowThreads(__tstate
);
31373 if (PyErr_Occurred()) SWIG_fail
;
31375 resultobj
= SWIG_Py_Void();
31382 SWIGINTERN PyObject
*PyPreviewControlBar_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31384 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
31385 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyPreviewControlBar
, SWIG_NewClientData(obj
));
31386 return SWIG_Py_Void();
31389 SWIGINTERN PyObject
*PyPreviewControlBar_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31390 return SWIG_Python_InitShadowInstance(args
);
31393 static PyMethodDef SwigMethods
[] = {
31394 { (char *)"new_Panel", (PyCFunction
) _wrap_new_Panel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31395 { (char *)"new_PrePanel", (PyCFunction
)_wrap_new_PrePanel
, METH_NOARGS
, NULL
},
31396 { (char *)"Panel_Create", (PyCFunction
) _wrap_Panel_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31397 { (char *)"Panel_SetFocusIgnoringChildren", (PyCFunction
)_wrap_Panel_SetFocusIgnoringChildren
, METH_O
, NULL
},
31398 { (char *)"Panel_GetClassDefaultAttributes", (PyCFunction
) _wrap_Panel_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31399 { (char *)"Panel_swigregister", Panel_swigregister
, METH_VARARGS
, NULL
},
31400 { (char *)"Panel_swiginit", Panel_swiginit
, METH_VARARGS
, NULL
},
31401 { (char *)"new_ScrolledWindow", (PyCFunction
) _wrap_new_ScrolledWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31402 { (char *)"new_PreScrolledWindow", (PyCFunction
)_wrap_new_PreScrolledWindow
, METH_NOARGS
, NULL
},
31403 { (char *)"ScrolledWindow_Create", (PyCFunction
) _wrap_ScrolledWindow_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31404 { (char *)"ScrolledWindow_SetScrollbars", (PyCFunction
) _wrap_ScrolledWindow_SetScrollbars
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31405 { (char *)"ScrolledWindow_Scroll", (PyCFunction
) _wrap_ScrolledWindow_Scroll
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31406 { (char *)"ScrolledWindow_GetScrollPageSize", (PyCFunction
) _wrap_ScrolledWindow_GetScrollPageSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31407 { (char *)"ScrolledWindow_SetScrollPageSize", (PyCFunction
) _wrap_ScrolledWindow_SetScrollPageSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31408 { (char *)"ScrolledWindow_SetScrollRate", (PyCFunction
) _wrap_ScrolledWindow_SetScrollRate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31409 { (char *)"ScrolledWindow_GetScrollPixelsPerUnit", (PyCFunction
)_wrap_ScrolledWindow_GetScrollPixelsPerUnit
, METH_O
, NULL
},
31410 { (char *)"ScrolledWindow_EnableScrolling", (PyCFunction
) _wrap_ScrolledWindow_EnableScrolling
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31411 { (char *)"ScrolledWindow_GetViewStart", (PyCFunction
)_wrap_ScrolledWindow_GetViewStart
, METH_O
, NULL
},
31412 { (char *)"ScrolledWindow_SetScale", (PyCFunction
) _wrap_ScrolledWindow_SetScale
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31413 { (char *)"ScrolledWindow_GetScaleX", (PyCFunction
)_wrap_ScrolledWindow_GetScaleX
, METH_O
, NULL
},
31414 { (char *)"ScrolledWindow_GetScaleY", (PyCFunction
)_wrap_ScrolledWindow_GetScaleY
, METH_O
, NULL
},
31415 { (char *)"ScrolledWindow_CalcScrolledPosition", _wrap_ScrolledWindow_CalcScrolledPosition
, METH_VARARGS
, NULL
},
31416 { (char *)"ScrolledWindow_CalcUnscrolledPosition", _wrap_ScrolledWindow_CalcUnscrolledPosition
, METH_VARARGS
, NULL
},
31417 { (char *)"ScrolledWindow_AdjustScrollbars", (PyCFunction
)_wrap_ScrolledWindow_AdjustScrollbars
, METH_O
, NULL
},
31418 { (char *)"ScrolledWindow_CalcScrollInc", (PyCFunction
) _wrap_ScrolledWindow_CalcScrollInc
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31419 { (char *)"ScrolledWindow_SetTargetWindow", (PyCFunction
) _wrap_ScrolledWindow_SetTargetWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31420 { (char *)"ScrolledWindow_GetTargetWindow", (PyCFunction
)_wrap_ScrolledWindow_GetTargetWindow
, METH_O
, NULL
},
31421 { (char *)"ScrolledWindow_DoPrepareDC", (PyCFunction
) _wrap_ScrolledWindow_DoPrepareDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31422 { (char *)"ScrolledWindow_GetClassDefaultAttributes", (PyCFunction
) _wrap_ScrolledWindow_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31423 { (char *)"ScrolledWindow_swigregister", ScrolledWindow_swigregister
, METH_VARARGS
, NULL
},
31424 { (char *)"ScrolledWindow_swiginit", ScrolledWindow_swiginit
, METH_VARARGS
, NULL
},
31425 { (char *)"TopLevelWindow_Maximize", (PyCFunction
) _wrap_TopLevelWindow_Maximize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31426 { (char *)"TopLevelWindow_Restore", (PyCFunction
)_wrap_TopLevelWindow_Restore
, METH_O
, NULL
},
31427 { (char *)"TopLevelWindow_Iconize", (PyCFunction
) _wrap_TopLevelWindow_Iconize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31428 { (char *)"TopLevelWindow_IsMaximized", (PyCFunction
)_wrap_TopLevelWindow_IsMaximized
, METH_O
, NULL
},
31429 { (char *)"TopLevelWindow_IsAlwaysMaximized", (PyCFunction
)_wrap_TopLevelWindow_IsAlwaysMaximized
, METH_O
, NULL
},
31430 { (char *)"TopLevelWindow_IsIconized", (PyCFunction
)_wrap_TopLevelWindow_IsIconized
, METH_O
, NULL
},
31431 { (char *)"TopLevelWindow_GetIcon", (PyCFunction
)_wrap_TopLevelWindow_GetIcon
, METH_O
, NULL
},
31432 { (char *)"TopLevelWindow_SetIcon", (PyCFunction
) _wrap_TopLevelWindow_SetIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31433 { (char *)"TopLevelWindow_SetIcons", (PyCFunction
) _wrap_TopLevelWindow_SetIcons
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31434 { (char *)"TopLevelWindow_ShowFullScreen", (PyCFunction
) _wrap_TopLevelWindow_ShowFullScreen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31435 { (char *)"TopLevelWindow_IsFullScreen", (PyCFunction
)_wrap_TopLevelWindow_IsFullScreen
, METH_O
, NULL
},
31436 { (char *)"TopLevelWindow_SetTitle", (PyCFunction
) _wrap_TopLevelWindow_SetTitle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31437 { (char *)"TopLevelWindow_GetTitle", (PyCFunction
)_wrap_TopLevelWindow_GetTitle
, METH_O
, NULL
},
31438 { (char *)"TopLevelWindow_EnableCloseButton", (PyCFunction
) _wrap_TopLevelWindow_EnableCloseButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31439 { (char *)"TopLevelWindow_SetShape", (PyCFunction
) _wrap_TopLevelWindow_SetShape
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31440 { (char *)"TopLevelWindow_RequestUserAttention", (PyCFunction
) _wrap_TopLevelWindow_RequestUserAttention
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31441 { (char *)"TopLevelWindow_IsActive", (PyCFunction
)_wrap_TopLevelWindow_IsActive
, METH_O
, NULL
},
31442 { (char *)"TopLevelWindow_MacSetMetalAppearance", (PyCFunction
) _wrap_TopLevelWindow_MacSetMetalAppearance
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31443 { (char *)"TopLevelWindow_MacGetMetalAppearance", (PyCFunction
)_wrap_TopLevelWindow_MacGetMetalAppearance
, METH_O
, NULL
},
31444 { (char *)"TopLevelWindow_CenterOnScreen", (PyCFunction
) _wrap_TopLevelWindow_CenterOnScreen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31445 { (char *)"TopLevelWindow_GetDefaultItem", (PyCFunction
)_wrap_TopLevelWindow_GetDefaultItem
, METH_O
, NULL
},
31446 { (char *)"TopLevelWindow_SetDefaultItem", (PyCFunction
) _wrap_TopLevelWindow_SetDefaultItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31447 { (char *)"TopLevelWindow_SetTmpDefaultItem", (PyCFunction
) _wrap_TopLevelWindow_SetTmpDefaultItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31448 { (char *)"TopLevelWindow_GetTmpDefaultItem", (PyCFunction
)_wrap_TopLevelWindow_GetTmpDefaultItem
, METH_O
, NULL
},
31449 { (char *)"TopLevelWindow_swigregister", TopLevelWindow_swigregister
, METH_VARARGS
, NULL
},
31450 { (char *)"new_Frame", (PyCFunction
) _wrap_new_Frame
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31451 { (char *)"new_PreFrame", (PyCFunction
)_wrap_new_PreFrame
, METH_NOARGS
, NULL
},
31452 { (char *)"Frame_Create", (PyCFunction
) _wrap_Frame_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31453 { (char *)"Frame_SendSizeEvent", (PyCFunction
)_wrap_Frame_SendSizeEvent
, METH_O
, NULL
},
31454 { (char *)"Frame_SetMenuBar", (PyCFunction
) _wrap_Frame_SetMenuBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31455 { (char *)"Frame_GetMenuBar", (PyCFunction
)_wrap_Frame_GetMenuBar
, METH_O
, NULL
},
31456 { (char *)"Frame_ProcessCommand", (PyCFunction
) _wrap_Frame_ProcessCommand
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31457 { (char *)"Frame_CreateStatusBar", (PyCFunction
) _wrap_Frame_CreateStatusBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31458 { (char *)"Frame_GetStatusBar", (PyCFunction
)_wrap_Frame_GetStatusBar
, METH_O
, NULL
},
31459 { (char *)"Frame_SetStatusBar", (PyCFunction
) _wrap_Frame_SetStatusBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31460 { (char *)"Frame_SetStatusText", (PyCFunction
) _wrap_Frame_SetStatusText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31461 { (char *)"Frame_SetStatusWidths", (PyCFunction
) _wrap_Frame_SetStatusWidths
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31462 { (char *)"Frame_PushStatusText", (PyCFunction
) _wrap_Frame_PushStatusText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31463 { (char *)"Frame_PopStatusText", (PyCFunction
) _wrap_Frame_PopStatusText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31464 { (char *)"Frame_SetStatusBarPane", (PyCFunction
) _wrap_Frame_SetStatusBarPane
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31465 { (char *)"Frame_GetStatusBarPane", (PyCFunction
)_wrap_Frame_GetStatusBarPane
, METH_O
, NULL
},
31466 { (char *)"Frame_CreateToolBar", (PyCFunction
) _wrap_Frame_CreateToolBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31467 { (char *)"Frame_GetToolBar", (PyCFunction
)_wrap_Frame_GetToolBar
, METH_O
, NULL
},
31468 { (char *)"Frame_SetToolBar", (PyCFunction
) _wrap_Frame_SetToolBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31469 { (char *)"Frame_DoGiveHelp", (PyCFunction
) _wrap_Frame_DoGiveHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31470 { (char *)"Frame_DoMenuUpdates", (PyCFunction
) _wrap_Frame_DoMenuUpdates
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31471 { (char *)"Frame_GetClassDefaultAttributes", (PyCFunction
) _wrap_Frame_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31472 { (char *)"Frame_swigregister", Frame_swigregister
, METH_VARARGS
, NULL
},
31473 { (char *)"Frame_swiginit", Frame_swiginit
, METH_VARARGS
, NULL
},
31474 { (char *)"new_Dialog", (PyCFunction
) _wrap_new_Dialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31475 { (char *)"new_PreDialog", (PyCFunction
)_wrap_new_PreDialog
, METH_NOARGS
, NULL
},
31476 { (char *)"Dialog_Create", (PyCFunction
) _wrap_Dialog_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31477 { (char *)"Dialog_SetReturnCode", (PyCFunction
) _wrap_Dialog_SetReturnCode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31478 { (char *)"Dialog_GetReturnCode", (PyCFunction
)_wrap_Dialog_GetReturnCode
, METH_O
, NULL
},
31479 { (char *)"Dialog_SetAffirmativeId", (PyCFunction
) _wrap_Dialog_SetAffirmativeId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31480 { (char *)"Dialog_GetAffirmativeId", (PyCFunction
)_wrap_Dialog_GetAffirmativeId
, METH_O
, NULL
},
31481 { (char *)"Dialog_SetEscapeId", (PyCFunction
) _wrap_Dialog_SetEscapeId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31482 { (char *)"Dialog_GetEscapeId", (PyCFunction
)_wrap_Dialog_GetEscapeId
, METH_O
, NULL
},
31483 { (char *)"Dialog_CreateTextSizer", (PyCFunction
) _wrap_Dialog_CreateTextSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31484 { (char *)"Dialog__CreateButtonSizer", (PyCFunction
) _wrap_Dialog__CreateButtonSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31485 { (char *)"Dialog_CreateSeparatedButtonSizer", (PyCFunction
) _wrap_Dialog_CreateSeparatedButtonSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31486 { (char *)"Dialog_CreateStdDialogButtonSizer", (PyCFunction
) _wrap_Dialog_CreateStdDialogButtonSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31487 { (char *)"Dialog_IsModal", (PyCFunction
)_wrap_Dialog_IsModal
, METH_O
, NULL
},
31488 { (char *)"Dialog_ShowModal", (PyCFunction
)_wrap_Dialog_ShowModal
, METH_O
, NULL
},
31489 { (char *)"Dialog_EndModal", (PyCFunction
) _wrap_Dialog_EndModal
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31490 { (char *)"Dialog_GetClassDefaultAttributes", (PyCFunction
) _wrap_Dialog_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31491 { (char *)"Dialog_swigregister", Dialog_swigregister
, METH_VARARGS
, NULL
},
31492 { (char *)"Dialog_swiginit", Dialog_swiginit
, METH_VARARGS
, NULL
},
31493 { (char *)"new_MiniFrame", (PyCFunction
) _wrap_new_MiniFrame
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31494 { (char *)"new_PreMiniFrame", (PyCFunction
)_wrap_new_PreMiniFrame
, METH_NOARGS
, NULL
},
31495 { (char *)"MiniFrame_Create", (PyCFunction
) _wrap_MiniFrame_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31496 { (char *)"MiniFrame_swigregister", MiniFrame_swigregister
, METH_VARARGS
, NULL
},
31497 { (char *)"MiniFrame_swiginit", MiniFrame_swiginit
, METH_VARARGS
, NULL
},
31498 { (char *)"new_SplashScreenWindow", (PyCFunction
) _wrap_new_SplashScreenWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31499 { (char *)"SplashScreenWindow_SetBitmap", (PyCFunction
) _wrap_SplashScreenWindow_SetBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31500 { (char *)"SplashScreenWindow_GetBitmap", (PyCFunction
)_wrap_SplashScreenWindow_GetBitmap
, METH_O
, NULL
},
31501 { (char *)"SplashScreenWindow_swigregister", SplashScreenWindow_swigregister
, METH_VARARGS
, NULL
},
31502 { (char *)"SplashScreenWindow_swiginit", SplashScreenWindow_swiginit
, METH_VARARGS
, NULL
},
31503 { (char *)"new_SplashScreen", (PyCFunction
) _wrap_new_SplashScreen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31504 { (char *)"SplashScreen_GetSplashStyle", (PyCFunction
)_wrap_SplashScreen_GetSplashStyle
, METH_O
, NULL
},
31505 { (char *)"SplashScreen_GetSplashWindow", (PyCFunction
)_wrap_SplashScreen_GetSplashWindow
, METH_O
, NULL
},
31506 { (char *)"SplashScreen_GetTimeout", (PyCFunction
)_wrap_SplashScreen_GetTimeout
, METH_O
, NULL
},
31507 { (char *)"SplashScreen_swigregister", SplashScreen_swigregister
, METH_VARARGS
, NULL
},
31508 { (char *)"SplashScreen_swiginit", SplashScreen_swiginit
, METH_VARARGS
, NULL
},
31509 { (char *)"new_StatusBar", (PyCFunction
) _wrap_new_StatusBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31510 { (char *)"new_PreStatusBar", (PyCFunction
)_wrap_new_PreStatusBar
, METH_NOARGS
, NULL
},
31511 { (char *)"StatusBar_Create", (PyCFunction
) _wrap_StatusBar_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31512 { (char *)"StatusBar_SetFieldsCount", (PyCFunction
) _wrap_StatusBar_SetFieldsCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31513 { (char *)"StatusBar_GetFieldsCount", (PyCFunction
)_wrap_StatusBar_GetFieldsCount
, METH_O
, NULL
},
31514 { (char *)"StatusBar_SetStatusText", (PyCFunction
) _wrap_StatusBar_SetStatusText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31515 { (char *)"StatusBar_GetStatusText", (PyCFunction
) _wrap_StatusBar_GetStatusText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31516 { (char *)"StatusBar_PushStatusText", (PyCFunction
) _wrap_StatusBar_PushStatusText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31517 { (char *)"StatusBar_PopStatusText", (PyCFunction
) _wrap_StatusBar_PopStatusText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31518 { (char *)"StatusBar_SetStatusWidths", (PyCFunction
) _wrap_StatusBar_SetStatusWidths
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31519 { (char *)"StatusBar_SetStatusStyles", (PyCFunction
) _wrap_StatusBar_SetStatusStyles
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31520 { (char *)"StatusBar_GetFieldRect", (PyCFunction
) _wrap_StatusBar_GetFieldRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31521 { (char *)"StatusBar_SetMinHeight", (PyCFunction
) _wrap_StatusBar_SetMinHeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31522 { (char *)"StatusBar_GetBorderX", (PyCFunction
)_wrap_StatusBar_GetBorderX
, METH_O
, NULL
},
31523 { (char *)"StatusBar_GetBorderY", (PyCFunction
)_wrap_StatusBar_GetBorderY
, METH_O
, NULL
},
31524 { (char *)"StatusBar_GetClassDefaultAttributes", (PyCFunction
) _wrap_StatusBar_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31525 { (char *)"StatusBar_swigregister", StatusBar_swigregister
, METH_VARARGS
, NULL
},
31526 { (char *)"StatusBar_swiginit", StatusBar_swiginit
, METH_VARARGS
, NULL
},
31527 { (char *)"new_SplitterWindow", (PyCFunction
) _wrap_new_SplitterWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31528 { (char *)"new_PreSplitterWindow", (PyCFunction
)_wrap_new_PreSplitterWindow
, METH_NOARGS
, NULL
},
31529 { (char *)"SplitterWindow_Create", (PyCFunction
) _wrap_SplitterWindow_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31530 { (char *)"SplitterWindow_GetWindow1", (PyCFunction
)_wrap_SplitterWindow_GetWindow1
, METH_O
, NULL
},
31531 { (char *)"SplitterWindow_GetWindow2", (PyCFunction
)_wrap_SplitterWindow_GetWindow2
, METH_O
, NULL
},
31532 { (char *)"SplitterWindow_SetSplitMode", (PyCFunction
) _wrap_SplitterWindow_SetSplitMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31533 { (char *)"SplitterWindow_GetSplitMode", (PyCFunction
)_wrap_SplitterWindow_GetSplitMode
, METH_O
, NULL
},
31534 { (char *)"SplitterWindow_Initialize", (PyCFunction
) _wrap_SplitterWindow_Initialize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31535 { (char *)"SplitterWindow_SplitVertically", (PyCFunction
) _wrap_SplitterWindow_SplitVertically
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31536 { (char *)"SplitterWindow_SplitHorizontally", (PyCFunction
) _wrap_SplitterWindow_SplitHorizontally
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31537 { (char *)"SplitterWindow_Unsplit", (PyCFunction
) _wrap_SplitterWindow_Unsplit
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31538 { (char *)"SplitterWindow_ReplaceWindow", (PyCFunction
) _wrap_SplitterWindow_ReplaceWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31539 { (char *)"SplitterWindow_UpdateSize", (PyCFunction
)_wrap_SplitterWindow_UpdateSize
, METH_O
, NULL
},
31540 { (char *)"SplitterWindow_IsSplit", (PyCFunction
)_wrap_SplitterWindow_IsSplit
, METH_O
, NULL
},
31541 { (char *)"SplitterWindow_SetSashSize", (PyCFunction
) _wrap_SplitterWindow_SetSashSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31542 { (char *)"SplitterWindow_SetBorderSize", (PyCFunction
) _wrap_SplitterWindow_SetBorderSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31543 { (char *)"SplitterWindow_GetSashSize", (PyCFunction
)_wrap_SplitterWindow_GetSashSize
, METH_O
, NULL
},
31544 { (char *)"SplitterWindow_GetBorderSize", (PyCFunction
)_wrap_SplitterWindow_GetBorderSize
, METH_O
, NULL
},
31545 { (char *)"SplitterWindow_SetSashPosition", (PyCFunction
) _wrap_SplitterWindow_SetSashPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31546 { (char *)"SplitterWindow_GetSashPosition", (PyCFunction
)_wrap_SplitterWindow_GetSashPosition
, METH_O
, NULL
},
31547 { (char *)"SplitterWindow_SetSashGravity", (PyCFunction
) _wrap_SplitterWindow_SetSashGravity
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31548 { (char *)"SplitterWindow_GetSashGravity", (PyCFunction
)_wrap_SplitterWindow_GetSashGravity
, METH_O
, NULL
},
31549 { (char *)"SplitterWindow_SetMinimumPaneSize", (PyCFunction
) _wrap_SplitterWindow_SetMinimumPaneSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31550 { (char *)"SplitterWindow_GetMinimumPaneSize", (PyCFunction
)_wrap_SplitterWindow_GetMinimumPaneSize
, METH_O
, NULL
},
31551 { (char *)"SplitterWindow_SashHitTest", (PyCFunction
) _wrap_SplitterWindow_SashHitTest
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31552 { (char *)"SplitterWindow_SizeWindows", (PyCFunction
)_wrap_SplitterWindow_SizeWindows
, METH_O
, NULL
},
31553 { (char *)"SplitterWindow_SetNeedUpdating", (PyCFunction
) _wrap_SplitterWindow_SetNeedUpdating
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31554 { (char *)"SplitterWindow_GetNeedUpdating", (PyCFunction
)_wrap_SplitterWindow_GetNeedUpdating
, METH_O
, NULL
},
31555 { (char *)"SplitterWindow_GetClassDefaultAttributes", (PyCFunction
) _wrap_SplitterWindow_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31556 { (char *)"SplitterWindow_swigregister", SplitterWindow_swigregister
, METH_VARARGS
, NULL
},
31557 { (char *)"SplitterWindow_swiginit", SplitterWindow_swiginit
, METH_VARARGS
, NULL
},
31558 { (char *)"new_SplitterEvent", (PyCFunction
) _wrap_new_SplitterEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31559 { (char *)"SplitterEvent_SetSashPosition", (PyCFunction
) _wrap_SplitterEvent_SetSashPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31560 { (char *)"SplitterEvent_GetSashPosition", (PyCFunction
)_wrap_SplitterEvent_GetSashPosition
, METH_O
, NULL
},
31561 { (char *)"SplitterEvent_GetWindowBeingRemoved", (PyCFunction
)_wrap_SplitterEvent_GetWindowBeingRemoved
, METH_O
, NULL
},
31562 { (char *)"SplitterEvent_GetX", (PyCFunction
)_wrap_SplitterEvent_GetX
, METH_O
, NULL
},
31563 { (char *)"SplitterEvent_GetY", (PyCFunction
)_wrap_SplitterEvent_GetY
, METH_O
, NULL
},
31564 { (char *)"SplitterEvent_swigregister", SplitterEvent_swigregister
, METH_VARARGS
, NULL
},
31565 { (char *)"SplitterEvent_swiginit", SplitterEvent_swiginit
, METH_VARARGS
, NULL
},
31566 { (char *)"new_SashWindow", (PyCFunction
) _wrap_new_SashWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31567 { (char *)"new_PreSashWindow", (PyCFunction
)_wrap_new_PreSashWindow
, METH_NOARGS
, NULL
},
31568 { (char *)"SashWindow_Create", (PyCFunction
) _wrap_SashWindow_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31569 { (char *)"SashWindow_SetSashVisible", (PyCFunction
) _wrap_SashWindow_SetSashVisible
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31570 { (char *)"SashWindow_GetSashVisible", (PyCFunction
) _wrap_SashWindow_GetSashVisible
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31571 { (char *)"SashWindow_SetSashBorder", (PyCFunction
) _wrap_SashWindow_SetSashBorder
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31572 { (char *)"SashWindow_HasBorder", (PyCFunction
) _wrap_SashWindow_HasBorder
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31573 { (char *)"SashWindow_GetEdgeMargin", (PyCFunction
) _wrap_SashWindow_GetEdgeMargin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31574 { (char *)"SashWindow_SetDefaultBorderSize", (PyCFunction
) _wrap_SashWindow_SetDefaultBorderSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31575 { (char *)"SashWindow_GetDefaultBorderSize", (PyCFunction
)_wrap_SashWindow_GetDefaultBorderSize
, METH_O
, NULL
},
31576 { (char *)"SashWindow_SetExtraBorderSize", (PyCFunction
) _wrap_SashWindow_SetExtraBorderSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31577 { (char *)"SashWindow_GetExtraBorderSize", (PyCFunction
)_wrap_SashWindow_GetExtraBorderSize
, METH_O
, NULL
},
31578 { (char *)"SashWindow_SetMinimumSizeX", (PyCFunction
) _wrap_SashWindow_SetMinimumSizeX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31579 { (char *)"SashWindow_SetMinimumSizeY", (PyCFunction
) _wrap_SashWindow_SetMinimumSizeY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31580 { (char *)"SashWindow_GetMinimumSizeX", (PyCFunction
)_wrap_SashWindow_GetMinimumSizeX
, METH_O
, NULL
},
31581 { (char *)"SashWindow_GetMinimumSizeY", (PyCFunction
)_wrap_SashWindow_GetMinimumSizeY
, METH_O
, NULL
},
31582 { (char *)"SashWindow_SetMaximumSizeX", (PyCFunction
) _wrap_SashWindow_SetMaximumSizeX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31583 { (char *)"SashWindow_SetMaximumSizeY", (PyCFunction
) _wrap_SashWindow_SetMaximumSizeY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31584 { (char *)"SashWindow_GetMaximumSizeX", (PyCFunction
)_wrap_SashWindow_GetMaximumSizeX
, METH_O
, NULL
},
31585 { (char *)"SashWindow_GetMaximumSizeY", (PyCFunction
)_wrap_SashWindow_GetMaximumSizeY
, METH_O
, NULL
},
31586 { (char *)"SashWindow_SashHitTest", (PyCFunction
) _wrap_SashWindow_SashHitTest
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31587 { (char *)"SashWindow_SizeWindows", (PyCFunction
)_wrap_SashWindow_SizeWindows
, METH_O
, NULL
},
31588 { (char *)"SashWindow_swigregister", SashWindow_swigregister
, METH_VARARGS
, NULL
},
31589 { (char *)"SashWindow_swiginit", SashWindow_swiginit
, METH_VARARGS
, NULL
},
31590 { (char *)"new_SashEvent", (PyCFunction
) _wrap_new_SashEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31591 { (char *)"SashEvent_SetEdge", (PyCFunction
) _wrap_SashEvent_SetEdge
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31592 { (char *)"SashEvent_GetEdge", (PyCFunction
)_wrap_SashEvent_GetEdge
, METH_O
, NULL
},
31593 { (char *)"SashEvent_SetDragRect", (PyCFunction
) _wrap_SashEvent_SetDragRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31594 { (char *)"SashEvent_GetDragRect", (PyCFunction
)_wrap_SashEvent_GetDragRect
, METH_O
, NULL
},
31595 { (char *)"SashEvent_SetDragStatus", (PyCFunction
) _wrap_SashEvent_SetDragStatus
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31596 { (char *)"SashEvent_GetDragStatus", (PyCFunction
)_wrap_SashEvent_GetDragStatus
, METH_O
, NULL
},
31597 { (char *)"SashEvent_swigregister", SashEvent_swigregister
, METH_VARARGS
, NULL
},
31598 { (char *)"SashEvent_swiginit", SashEvent_swiginit
, METH_VARARGS
, NULL
},
31599 { (char *)"new_QueryLayoutInfoEvent", (PyCFunction
) _wrap_new_QueryLayoutInfoEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31600 { (char *)"QueryLayoutInfoEvent_SetRequestedLength", (PyCFunction
) _wrap_QueryLayoutInfoEvent_SetRequestedLength
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31601 { (char *)"QueryLayoutInfoEvent_GetRequestedLength", (PyCFunction
)_wrap_QueryLayoutInfoEvent_GetRequestedLength
, METH_O
, NULL
},
31602 { (char *)"QueryLayoutInfoEvent_SetFlags", (PyCFunction
) _wrap_QueryLayoutInfoEvent_SetFlags
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31603 { (char *)"QueryLayoutInfoEvent_GetFlags", (PyCFunction
)_wrap_QueryLayoutInfoEvent_GetFlags
, METH_O
, NULL
},
31604 { (char *)"QueryLayoutInfoEvent_SetSize", (PyCFunction
) _wrap_QueryLayoutInfoEvent_SetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31605 { (char *)"QueryLayoutInfoEvent_GetSize", (PyCFunction
)_wrap_QueryLayoutInfoEvent_GetSize
, METH_O
, NULL
},
31606 { (char *)"QueryLayoutInfoEvent_SetOrientation", (PyCFunction
) _wrap_QueryLayoutInfoEvent_SetOrientation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31607 { (char *)"QueryLayoutInfoEvent_GetOrientation", (PyCFunction
)_wrap_QueryLayoutInfoEvent_GetOrientation
, METH_O
, NULL
},
31608 { (char *)"QueryLayoutInfoEvent_SetAlignment", (PyCFunction
) _wrap_QueryLayoutInfoEvent_SetAlignment
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31609 { (char *)"QueryLayoutInfoEvent_GetAlignment", (PyCFunction
)_wrap_QueryLayoutInfoEvent_GetAlignment
, METH_O
, NULL
},
31610 { (char *)"QueryLayoutInfoEvent_swigregister", QueryLayoutInfoEvent_swigregister
, METH_VARARGS
, NULL
},
31611 { (char *)"QueryLayoutInfoEvent_swiginit", QueryLayoutInfoEvent_swiginit
, METH_VARARGS
, NULL
},
31612 { (char *)"new_CalculateLayoutEvent", (PyCFunction
) _wrap_new_CalculateLayoutEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31613 { (char *)"CalculateLayoutEvent_SetFlags", (PyCFunction
) _wrap_CalculateLayoutEvent_SetFlags
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31614 { (char *)"CalculateLayoutEvent_GetFlags", (PyCFunction
)_wrap_CalculateLayoutEvent_GetFlags
, METH_O
, NULL
},
31615 { (char *)"CalculateLayoutEvent_SetRect", (PyCFunction
) _wrap_CalculateLayoutEvent_SetRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31616 { (char *)"CalculateLayoutEvent_GetRect", (PyCFunction
)_wrap_CalculateLayoutEvent_GetRect
, METH_O
, NULL
},
31617 { (char *)"CalculateLayoutEvent_swigregister", CalculateLayoutEvent_swigregister
, METH_VARARGS
, NULL
},
31618 { (char *)"CalculateLayoutEvent_swiginit", CalculateLayoutEvent_swiginit
, METH_VARARGS
, NULL
},
31619 { (char *)"new_SashLayoutWindow", (PyCFunction
) _wrap_new_SashLayoutWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31620 { (char *)"new_PreSashLayoutWindow", (PyCFunction
)_wrap_new_PreSashLayoutWindow
, METH_NOARGS
, NULL
},
31621 { (char *)"SashLayoutWindow_Create", (PyCFunction
) _wrap_SashLayoutWindow_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31622 { (char *)"SashLayoutWindow_GetAlignment", (PyCFunction
)_wrap_SashLayoutWindow_GetAlignment
, METH_O
, NULL
},
31623 { (char *)"SashLayoutWindow_GetOrientation", (PyCFunction
)_wrap_SashLayoutWindow_GetOrientation
, METH_O
, NULL
},
31624 { (char *)"SashLayoutWindow_SetAlignment", (PyCFunction
) _wrap_SashLayoutWindow_SetAlignment
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31625 { (char *)"SashLayoutWindow_SetDefaultSize", (PyCFunction
) _wrap_SashLayoutWindow_SetDefaultSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31626 { (char *)"SashLayoutWindow_SetOrientation", (PyCFunction
) _wrap_SashLayoutWindow_SetOrientation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31627 { (char *)"SashLayoutWindow_swigregister", SashLayoutWindow_swigregister
, METH_VARARGS
, NULL
},
31628 { (char *)"SashLayoutWindow_swiginit", SashLayoutWindow_swiginit
, METH_VARARGS
, NULL
},
31629 { (char *)"new_LayoutAlgorithm", (PyCFunction
)_wrap_new_LayoutAlgorithm
, METH_NOARGS
, NULL
},
31630 { (char *)"delete_LayoutAlgorithm", (PyCFunction
)_wrap_delete_LayoutAlgorithm
, METH_O
, NULL
},
31631 { (char *)"LayoutAlgorithm_LayoutMDIFrame", (PyCFunction
) _wrap_LayoutAlgorithm_LayoutMDIFrame
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31632 { (char *)"LayoutAlgorithm_LayoutFrame", (PyCFunction
) _wrap_LayoutAlgorithm_LayoutFrame
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31633 { (char *)"LayoutAlgorithm_LayoutWindow", (PyCFunction
) _wrap_LayoutAlgorithm_LayoutWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31634 { (char *)"LayoutAlgorithm_swigregister", LayoutAlgorithm_swigregister
, METH_VARARGS
, NULL
},
31635 { (char *)"LayoutAlgorithm_swiginit", LayoutAlgorithm_swiginit
, METH_VARARGS
, NULL
},
31636 { (char *)"new_PopupWindow", (PyCFunction
) _wrap_new_PopupWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31637 { (char *)"new_PrePopupWindow", (PyCFunction
)_wrap_new_PrePopupWindow
, METH_NOARGS
, NULL
},
31638 { (char *)"PopupWindow_Create", (PyCFunction
) _wrap_PopupWindow_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31639 { (char *)"PopupWindow_Position", (PyCFunction
) _wrap_PopupWindow_Position
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31640 { (char *)"PopupWindow_swigregister", PopupWindow_swigregister
, METH_VARARGS
, NULL
},
31641 { (char *)"PopupWindow_swiginit", PopupWindow_swiginit
, METH_VARARGS
, NULL
},
31642 { (char *)"new_PopupTransientWindow", (PyCFunction
) _wrap_new_PopupTransientWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31643 { (char *)"new_PrePopupTransientWindow", (PyCFunction
)_wrap_new_PrePopupTransientWindow
, METH_NOARGS
, NULL
},
31644 { (char *)"PopupTransientWindow__setCallbackInfo", (PyCFunction
) _wrap_PopupTransientWindow__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31645 { (char *)"PopupTransientWindow_Popup", (PyCFunction
) _wrap_PopupTransientWindow_Popup
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31646 { (char *)"PopupTransientWindow_Dismiss", (PyCFunction
)_wrap_PopupTransientWindow_Dismiss
, METH_O
, NULL
},
31647 { (char *)"PopupTransientWindow_swigregister", PopupTransientWindow_swigregister
, METH_VARARGS
, NULL
},
31648 { (char *)"PopupTransientWindow_swiginit", PopupTransientWindow_swiginit
, METH_VARARGS
, NULL
},
31649 { (char *)"new_TipWindow", (PyCFunction
) _wrap_new_TipWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31650 { (char *)"TipWindow_SetBoundingRect", (PyCFunction
) _wrap_TipWindow_SetBoundingRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31651 { (char *)"TipWindow_Close", (PyCFunction
)_wrap_TipWindow_Close
, METH_O
, NULL
},
31652 { (char *)"TipWindow_swigregister", TipWindow_swigregister
, METH_VARARGS
, NULL
},
31653 { (char *)"TipWindow_swiginit", TipWindow_swiginit
, METH_VARARGS
, NULL
},
31654 { (char *)"new_VScrolledWindow", (PyCFunction
) _wrap_new_VScrolledWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31655 { (char *)"new_PreVScrolledWindow", (PyCFunction
)_wrap_new_PreVScrolledWindow
, METH_NOARGS
, NULL
},
31656 { (char *)"VScrolledWindow__setCallbackInfo", (PyCFunction
) _wrap_VScrolledWindow__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31657 { (char *)"VScrolledWindow_Create", (PyCFunction
) _wrap_VScrolledWindow_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31658 { (char *)"VScrolledWindow_SetLineCount", (PyCFunction
) _wrap_VScrolledWindow_SetLineCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31659 { (char *)"VScrolledWindow_ScrollToLine", (PyCFunction
) _wrap_VScrolledWindow_ScrollToLine
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31660 { (char *)"VScrolledWindow_RefreshLine", (PyCFunction
) _wrap_VScrolledWindow_RefreshLine
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31661 { (char *)"VScrolledWindow_RefreshLines", (PyCFunction
) _wrap_VScrolledWindow_RefreshLines
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31662 { (char *)"VScrolledWindow_HitTestXY", (PyCFunction
) _wrap_VScrolledWindow_HitTestXY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31663 { (char *)"VScrolledWindow_HitTest", (PyCFunction
) _wrap_VScrolledWindow_HitTest
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31664 { (char *)"VScrolledWindow_RefreshAll", (PyCFunction
)_wrap_VScrolledWindow_RefreshAll
, METH_O
, NULL
},
31665 { (char *)"VScrolledWindow_GetLineCount", (PyCFunction
)_wrap_VScrolledWindow_GetLineCount
, METH_O
, NULL
},
31666 { (char *)"VScrolledWindow_GetVisibleBegin", (PyCFunction
)_wrap_VScrolledWindow_GetVisibleBegin
, METH_O
, NULL
},
31667 { (char *)"VScrolledWindow_GetVisibleEnd", (PyCFunction
)_wrap_VScrolledWindow_GetVisibleEnd
, METH_O
, NULL
},
31668 { (char *)"VScrolledWindow_IsVisible", (PyCFunction
) _wrap_VScrolledWindow_IsVisible
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31669 { (char *)"VScrolledWindow_GetFirstVisibleLine", (PyCFunction
)_wrap_VScrolledWindow_GetFirstVisibleLine
, METH_O
, NULL
},
31670 { (char *)"VScrolledWindow_GetLastVisibleLine", (PyCFunction
)_wrap_VScrolledWindow_GetLastVisibleLine
, METH_O
, NULL
},
31671 { (char *)"VScrolledWindow_FindFirstFromBottom", (PyCFunction
) _wrap_VScrolledWindow_FindFirstFromBottom
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31672 { (char *)"VScrolledWindow_GetLinesHeight", (PyCFunction
) _wrap_VScrolledWindow_GetLinesHeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31673 { (char *)"VScrolledWindow_swigregister", VScrolledWindow_swigregister
, METH_VARARGS
, NULL
},
31674 { (char *)"VScrolledWindow_swiginit", VScrolledWindow_swiginit
, METH_VARARGS
, NULL
},
31675 { (char *)"new_VListBox", (PyCFunction
) _wrap_new_VListBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31676 { (char *)"new_PreVListBox", (PyCFunction
)_wrap_new_PreVListBox
, METH_NOARGS
, NULL
},
31677 { (char *)"VListBox__setCallbackInfo", (PyCFunction
) _wrap_VListBox__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31678 { (char *)"VListBox_Create", (PyCFunction
) _wrap_VListBox_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31679 { (char *)"VListBox_GetItemCount", (PyCFunction
)_wrap_VListBox_GetItemCount
, METH_O
, NULL
},
31680 { (char *)"VListBox_HasMultipleSelection", (PyCFunction
)_wrap_VListBox_HasMultipleSelection
, METH_O
, NULL
},
31681 { (char *)"VListBox_GetSelection", (PyCFunction
)_wrap_VListBox_GetSelection
, METH_O
, NULL
},
31682 { (char *)"VListBox_IsCurrent", (PyCFunction
) _wrap_VListBox_IsCurrent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31683 { (char *)"VListBox_IsSelected", (PyCFunction
) _wrap_VListBox_IsSelected
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31684 { (char *)"VListBox_GetSelectedCount", (PyCFunction
)_wrap_VListBox_GetSelectedCount
, METH_O
, NULL
},
31685 { (char *)"VListBox_GetFirstSelected", (PyCFunction
)_wrap_VListBox_GetFirstSelected
, METH_O
, NULL
},
31686 { (char *)"VListBox_GetNextSelected", (PyCFunction
) _wrap_VListBox_GetNextSelected
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31687 { (char *)"VListBox_GetMargins", (PyCFunction
)_wrap_VListBox_GetMargins
, METH_O
, NULL
},
31688 { (char *)"VListBox_GetSelectionBackground", (PyCFunction
)_wrap_VListBox_GetSelectionBackground
, METH_O
, NULL
},
31689 { (char *)"VListBox_SetItemCount", (PyCFunction
) _wrap_VListBox_SetItemCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31690 { (char *)"VListBox_Clear", (PyCFunction
)_wrap_VListBox_Clear
, METH_O
, NULL
},
31691 { (char *)"VListBox_SetSelection", (PyCFunction
) _wrap_VListBox_SetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31692 { (char *)"VListBox_Select", (PyCFunction
) _wrap_VListBox_Select
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31693 { (char *)"VListBox_SelectRange", (PyCFunction
) _wrap_VListBox_SelectRange
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31694 { (char *)"VListBox_Toggle", (PyCFunction
) _wrap_VListBox_Toggle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31695 { (char *)"VListBox_SelectAll", (PyCFunction
)_wrap_VListBox_SelectAll
, METH_O
, NULL
},
31696 { (char *)"VListBox_DeselectAll", (PyCFunction
)_wrap_VListBox_DeselectAll
, METH_O
, NULL
},
31697 { (char *)"VListBox_SetMargins", (PyCFunction
) _wrap_VListBox_SetMargins
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31698 { (char *)"VListBox_SetMarginsXY", (PyCFunction
) _wrap_VListBox_SetMarginsXY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31699 { (char *)"VListBox_SetSelectionBackground", (PyCFunction
) _wrap_VListBox_SetSelectionBackground
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31700 { (char *)"VListBox_OnDrawSeparator", (PyCFunction
) _wrap_VListBox_OnDrawSeparator
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31701 { (char *)"VListBox_OnDrawBackground", (PyCFunction
) _wrap_VListBox_OnDrawBackground
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31702 { (char *)"VListBox_swigregister", VListBox_swigregister
, METH_VARARGS
, NULL
},
31703 { (char *)"VListBox_swiginit", VListBox_swiginit
, METH_VARARGS
, NULL
},
31704 { (char *)"new_HtmlListBox", (PyCFunction
) _wrap_new_HtmlListBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31705 { (char *)"new_PreHtmlListBox", (PyCFunction
)_wrap_new_PreHtmlListBox
, METH_NOARGS
, NULL
},
31706 { (char *)"HtmlListBox__setCallbackInfo", (PyCFunction
) _wrap_HtmlListBox__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31707 { (char *)"HtmlListBox_Create", (PyCFunction
) _wrap_HtmlListBox_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31708 { (char *)"HtmlListBox_SetItemCount", (PyCFunction
) _wrap_HtmlListBox_SetItemCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31709 { (char *)"HtmlListBox_GetFileSystem", (PyCFunction
)_wrap_HtmlListBox_GetFileSystem
, METH_O
, NULL
},
31710 { (char *)"HtmlListBox_OnLinkClicked", (PyCFunction
) _wrap_HtmlListBox_OnLinkClicked
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31711 { (char *)"HtmlListBox_swigregister", HtmlListBox_swigregister
, METH_VARARGS
, NULL
},
31712 { (char *)"HtmlListBox_swiginit", HtmlListBox_swiginit
, METH_VARARGS
, NULL
},
31713 { (char *)"new_TaskBarIcon", (PyCFunction
)_wrap_new_TaskBarIcon
, METH_NOARGS
, NULL
},
31714 { (char *)"delete_TaskBarIcon", (PyCFunction
)_wrap_delete_TaskBarIcon
, METH_O
, NULL
},
31715 { (char *)"TaskBarIcon__setCallbackInfo", (PyCFunction
) _wrap_TaskBarIcon__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31716 { (char *)"TaskBarIcon_Destroy", (PyCFunction
)_wrap_TaskBarIcon_Destroy
, METH_O
, NULL
},
31717 { (char *)"TaskBarIcon_IsOk", (PyCFunction
)_wrap_TaskBarIcon_IsOk
, METH_O
, NULL
},
31718 { (char *)"TaskBarIcon_IsIconInstalled", (PyCFunction
)_wrap_TaskBarIcon_IsIconInstalled
, METH_O
, NULL
},
31719 { (char *)"TaskBarIcon_SetIcon", (PyCFunction
) _wrap_TaskBarIcon_SetIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31720 { (char *)"TaskBarIcon_RemoveIcon", (PyCFunction
)_wrap_TaskBarIcon_RemoveIcon
, METH_O
, NULL
},
31721 { (char *)"TaskBarIcon_PopupMenu", (PyCFunction
) _wrap_TaskBarIcon_PopupMenu
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31722 { (char *)"TaskBarIcon_swigregister", TaskBarIcon_swigregister
, METH_VARARGS
, NULL
},
31723 { (char *)"TaskBarIcon_swiginit", TaskBarIcon_swiginit
, METH_VARARGS
, NULL
},
31724 { (char *)"new_TaskBarIconEvent", (PyCFunction
) _wrap_new_TaskBarIconEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31725 { (char *)"TaskBarIconEvent_swigregister", TaskBarIconEvent_swigregister
, METH_VARARGS
, NULL
},
31726 { (char *)"TaskBarIconEvent_swiginit", TaskBarIconEvent_swiginit
, METH_VARARGS
, NULL
},
31727 { (char *)"new_ColourData", (PyCFunction
)_wrap_new_ColourData
, METH_NOARGS
, NULL
},
31728 { (char *)"delete_ColourData", (PyCFunction
)_wrap_delete_ColourData
, METH_O
, NULL
},
31729 { (char *)"ColourData_GetChooseFull", (PyCFunction
)_wrap_ColourData_GetChooseFull
, METH_O
, NULL
},
31730 { (char *)"ColourData_GetColour", (PyCFunction
)_wrap_ColourData_GetColour
, METH_O
, NULL
},
31731 { (char *)"ColourData_GetCustomColour", (PyCFunction
) _wrap_ColourData_GetCustomColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31732 { (char *)"ColourData_SetChooseFull", (PyCFunction
) _wrap_ColourData_SetChooseFull
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31733 { (char *)"ColourData_SetColour", (PyCFunction
) _wrap_ColourData_SetColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31734 { (char *)"ColourData_SetCustomColour", (PyCFunction
) _wrap_ColourData_SetCustomColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31735 { (char *)"ColourData_swigregister", ColourData_swigregister
, METH_VARARGS
, NULL
},
31736 { (char *)"ColourData_swiginit", ColourData_swiginit
, METH_VARARGS
, NULL
},
31737 { (char *)"new_ColourDialog", (PyCFunction
) _wrap_new_ColourDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31738 { (char *)"ColourDialog_GetColourData", (PyCFunction
)_wrap_ColourDialog_GetColourData
, METH_O
, NULL
},
31739 { (char *)"ColourDialog_swigregister", ColourDialog_swigregister
, METH_VARARGS
, NULL
},
31740 { (char *)"ColourDialog_swiginit", ColourDialog_swiginit
, METH_VARARGS
, NULL
},
31741 { (char *)"GetColourFromUser", (PyCFunction
) _wrap_GetColourFromUser
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31742 { (char *)"new_DirDialog", (PyCFunction
) _wrap_new_DirDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31743 { (char *)"DirDialog_GetPath", (PyCFunction
)_wrap_DirDialog_GetPath
, METH_O
, NULL
},
31744 { (char *)"DirDialog_GetMessage", (PyCFunction
)_wrap_DirDialog_GetMessage
, METH_O
, NULL
},
31745 { (char *)"DirDialog_SetMessage", (PyCFunction
) _wrap_DirDialog_SetMessage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31746 { (char *)"DirDialog_SetPath", (PyCFunction
) _wrap_DirDialog_SetPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31747 { (char *)"DirDialog_swigregister", DirDialog_swigregister
, METH_VARARGS
, NULL
},
31748 { (char *)"DirDialog_swiginit", DirDialog_swiginit
, METH_VARARGS
, NULL
},
31749 { (char *)"new_FileDialog", (PyCFunction
) _wrap_new_FileDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31750 { (char *)"FileDialog_SetMessage", (PyCFunction
) _wrap_FileDialog_SetMessage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31751 { (char *)"FileDialog_SetPath", (PyCFunction
) _wrap_FileDialog_SetPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31752 { (char *)"FileDialog_SetDirectory", (PyCFunction
) _wrap_FileDialog_SetDirectory
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31753 { (char *)"FileDialog_SetFilename", (PyCFunction
) _wrap_FileDialog_SetFilename
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31754 { (char *)"FileDialog_SetWildcard", (PyCFunction
) _wrap_FileDialog_SetWildcard
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31755 { (char *)"FileDialog_SetFilterIndex", (PyCFunction
) _wrap_FileDialog_SetFilterIndex
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31756 { (char *)"FileDialog_GetMessage", (PyCFunction
)_wrap_FileDialog_GetMessage
, METH_O
, NULL
},
31757 { (char *)"FileDialog_GetPath", (PyCFunction
)_wrap_FileDialog_GetPath
, METH_O
, NULL
},
31758 { (char *)"FileDialog_GetDirectory", (PyCFunction
)_wrap_FileDialog_GetDirectory
, METH_O
, NULL
},
31759 { (char *)"FileDialog_GetFilename", (PyCFunction
)_wrap_FileDialog_GetFilename
, METH_O
, NULL
},
31760 { (char *)"FileDialog_GetWildcard", (PyCFunction
)_wrap_FileDialog_GetWildcard
, METH_O
, NULL
},
31761 { (char *)"FileDialog_GetFilterIndex", (PyCFunction
)_wrap_FileDialog_GetFilterIndex
, METH_O
, NULL
},
31762 { (char *)"FileDialog_GetFilenames", (PyCFunction
)_wrap_FileDialog_GetFilenames
, METH_O
, NULL
},
31763 { (char *)"FileDialog_GetPaths", (PyCFunction
)_wrap_FileDialog_GetPaths
, METH_O
, NULL
},
31764 { (char *)"FileDialog_swigregister", FileDialog_swigregister
, METH_VARARGS
, NULL
},
31765 { (char *)"FileDialog_swiginit", FileDialog_swiginit
, METH_VARARGS
, NULL
},
31766 { (char *)"new_MultiChoiceDialog", (PyCFunction
) _wrap_new_MultiChoiceDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31767 { (char *)"MultiChoiceDialog_SetSelections", (PyCFunction
) _wrap_MultiChoiceDialog_SetSelections
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31768 { (char *)"MultiChoiceDialog_GetSelections", (PyCFunction
)_wrap_MultiChoiceDialog_GetSelections
, METH_O
, NULL
},
31769 { (char *)"MultiChoiceDialog_swigregister", MultiChoiceDialog_swigregister
, METH_VARARGS
, NULL
},
31770 { (char *)"MultiChoiceDialog_swiginit", MultiChoiceDialog_swiginit
, METH_VARARGS
, NULL
},
31771 { (char *)"new_SingleChoiceDialog", (PyCFunction
) _wrap_new_SingleChoiceDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31772 { (char *)"SingleChoiceDialog_GetSelection", (PyCFunction
)_wrap_SingleChoiceDialog_GetSelection
, METH_O
, NULL
},
31773 { (char *)"SingleChoiceDialog_GetStringSelection", (PyCFunction
)_wrap_SingleChoiceDialog_GetStringSelection
, METH_O
, NULL
},
31774 { (char *)"SingleChoiceDialog_SetSelection", (PyCFunction
) _wrap_SingleChoiceDialog_SetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31775 { (char *)"SingleChoiceDialog_swigregister", SingleChoiceDialog_swigregister
, METH_VARARGS
, NULL
},
31776 { (char *)"SingleChoiceDialog_swiginit", SingleChoiceDialog_swiginit
, METH_VARARGS
, NULL
},
31777 { (char *)"new_TextEntryDialog", (PyCFunction
) _wrap_new_TextEntryDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31778 { (char *)"TextEntryDialog_GetValue", (PyCFunction
)_wrap_TextEntryDialog_GetValue
, METH_O
, NULL
},
31779 { (char *)"TextEntryDialog_SetValue", (PyCFunction
) _wrap_TextEntryDialog_SetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31780 { (char *)"TextEntryDialog_swigregister", TextEntryDialog_swigregister
, METH_VARARGS
, NULL
},
31781 { (char *)"TextEntryDialog_swiginit", TextEntryDialog_swiginit
, METH_VARARGS
, NULL
},
31782 { (char *)"new_PasswordEntryDialog", (PyCFunction
) _wrap_new_PasswordEntryDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31783 { (char *)"PasswordEntryDialog_swigregister", PasswordEntryDialog_swigregister
, METH_VARARGS
, NULL
},
31784 { (char *)"PasswordEntryDialog_swiginit", PasswordEntryDialog_swiginit
, METH_VARARGS
, NULL
},
31785 { (char *)"new_NumberEntryDialog", (PyCFunction
) _wrap_new_NumberEntryDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31786 { (char *)"NumberEntryDialog_GetValue", (PyCFunction
)_wrap_NumberEntryDialog_GetValue
, METH_O
, NULL
},
31787 { (char *)"NumberEntryDialog_swigregister", NumberEntryDialog_swigregister
, METH_VARARGS
, NULL
},
31788 { (char *)"NumberEntryDialog_swiginit", NumberEntryDialog_swiginit
, METH_VARARGS
, NULL
},
31789 { (char *)"new_FontData", (PyCFunction
)_wrap_new_FontData
, METH_NOARGS
, NULL
},
31790 { (char *)"delete_FontData", (PyCFunction
)_wrap_delete_FontData
, METH_O
, NULL
},
31791 { (char *)"FontData_EnableEffects", (PyCFunction
) _wrap_FontData_EnableEffects
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31792 { (char *)"FontData_GetAllowSymbols", (PyCFunction
)_wrap_FontData_GetAllowSymbols
, METH_O
, NULL
},
31793 { (char *)"FontData_GetColour", (PyCFunction
)_wrap_FontData_GetColour
, METH_O
, NULL
},
31794 { (char *)"FontData_GetChosenFont", (PyCFunction
)_wrap_FontData_GetChosenFont
, METH_O
, NULL
},
31795 { (char *)"FontData_GetEnableEffects", (PyCFunction
)_wrap_FontData_GetEnableEffects
, METH_O
, NULL
},
31796 { (char *)"FontData_GetInitialFont", (PyCFunction
)_wrap_FontData_GetInitialFont
, METH_O
, NULL
},
31797 { (char *)"FontData_GetShowHelp", (PyCFunction
)_wrap_FontData_GetShowHelp
, METH_O
, NULL
},
31798 { (char *)"FontData_SetAllowSymbols", (PyCFunction
) _wrap_FontData_SetAllowSymbols
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31799 { (char *)"FontData_SetChosenFont", (PyCFunction
) _wrap_FontData_SetChosenFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31800 { (char *)"FontData_SetColour", (PyCFunction
) _wrap_FontData_SetColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31801 { (char *)"FontData_SetInitialFont", (PyCFunction
) _wrap_FontData_SetInitialFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31802 { (char *)"FontData_SetRange", (PyCFunction
) _wrap_FontData_SetRange
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31803 { (char *)"FontData_SetShowHelp", (PyCFunction
) _wrap_FontData_SetShowHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31804 { (char *)"FontData_swigregister", FontData_swigregister
, METH_VARARGS
, NULL
},
31805 { (char *)"FontData_swiginit", FontData_swiginit
, METH_VARARGS
, NULL
},
31806 { (char *)"new_FontDialog", (PyCFunction
) _wrap_new_FontDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31807 { (char *)"FontDialog_GetFontData", (PyCFunction
)_wrap_FontDialog_GetFontData
, METH_O
, NULL
},
31808 { (char *)"FontDialog_swigregister", FontDialog_swigregister
, METH_VARARGS
, NULL
},
31809 { (char *)"FontDialog_swiginit", FontDialog_swiginit
, METH_VARARGS
, NULL
},
31810 { (char *)"GetFontFromUser", (PyCFunction
) _wrap_GetFontFromUser
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31811 { (char *)"new_MessageDialog", (PyCFunction
) _wrap_new_MessageDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31812 { (char *)"MessageDialog_swigregister", MessageDialog_swigregister
, METH_VARARGS
, NULL
},
31813 { (char *)"MessageDialog_swiginit", MessageDialog_swiginit
, METH_VARARGS
, NULL
},
31814 { (char *)"new_ProgressDialog", (PyCFunction
) _wrap_new_ProgressDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31815 { (char *)"ProgressDialog_Update", (PyCFunction
) _wrap_ProgressDialog_Update
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31816 { (char *)"ProgressDialog_Pulse", (PyCFunction
) _wrap_ProgressDialog_Pulse
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31817 { (char *)"ProgressDialog_Resume", (PyCFunction
)_wrap_ProgressDialog_Resume
, METH_O
, NULL
},
31818 { (char *)"ProgressDialog_swigregister", ProgressDialog_swigregister
, METH_VARARGS
, NULL
},
31819 { (char *)"ProgressDialog_swiginit", ProgressDialog_swiginit
, METH_VARARGS
, NULL
},
31820 { (char *)"new_FindDialogEvent", (PyCFunction
) _wrap_new_FindDialogEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31821 { (char *)"FindDialogEvent_GetFlags", (PyCFunction
)_wrap_FindDialogEvent_GetFlags
, METH_O
, NULL
},
31822 { (char *)"FindDialogEvent_GetFindString", (PyCFunction
)_wrap_FindDialogEvent_GetFindString
, METH_O
, NULL
},
31823 { (char *)"FindDialogEvent_GetReplaceString", (PyCFunction
)_wrap_FindDialogEvent_GetReplaceString
, METH_O
, NULL
},
31824 { (char *)"FindDialogEvent_GetDialog", (PyCFunction
)_wrap_FindDialogEvent_GetDialog
, METH_O
, NULL
},
31825 { (char *)"FindDialogEvent_SetFlags", (PyCFunction
) _wrap_FindDialogEvent_SetFlags
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31826 { (char *)"FindDialogEvent_SetFindString", (PyCFunction
) _wrap_FindDialogEvent_SetFindString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31827 { (char *)"FindDialogEvent_SetReplaceString", (PyCFunction
) _wrap_FindDialogEvent_SetReplaceString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31828 { (char *)"FindDialogEvent_swigregister", FindDialogEvent_swigregister
, METH_VARARGS
, NULL
},
31829 { (char *)"FindDialogEvent_swiginit", FindDialogEvent_swiginit
, METH_VARARGS
, NULL
},
31830 { (char *)"new_FindReplaceData", (PyCFunction
) _wrap_new_FindReplaceData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31831 { (char *)"delete_FindReplaceData", (PyCFunction
)_wrap_delete_FindReplaceData
, METH_O
, NULL
},
31832 { (char *)"FindReplaceData_GetFindString", (PyCFunction
)_wrap_FindReplaceData_GetFindString
, METH_O
, NULL
},
31833 { (char *)"FindReplaceData_GetReplaceString", (PyCFunction
)_wrap_FindReplaceData_GetReplaceString
, METH_O
, NULL
},
31834 { (char *)"FindReplaceData_GetFlags", (PyCFunction
)_wrap_FindReplaceData_GetFlags
, METH_O
, NULL
},
31835 { (char *)"FindReplaceData_SetFlags", (PyCFunction
) _wrap_FindReplaceData_SetFlags
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31836 { (char *)"FindReplaceData_SetFindString", (PyCFunction
) _wrap_FindReplaceData_SetFindString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31837 { (char *)"FindReplaceData_SetReplaceString", (PyCFunction
) _wrap_FindReplaceData_SetReplaceString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31838 { (char *)"FindReplaceData_swigregister", FindReplaceData_swigregister
, METH_VARARGS
, NULL
},
31839 { (char *)"FindReplaceData_swiginit", FindReplaceData_swiginit
, METH_VARARGS
, NULL
},
31840 { (char *)"new_FindReplaceDialog", (PyCFunction
) _wrap_new_FindReplaceDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31841 { (char *)"new_PreFindReplaceDialog", (PyCFunction
)_wrap_new_PreFindReplaceDialog
, METH_NOARGS
, NULL
},
31842 { (char *)"FindReplaceDialog_Create", (PyCFunction
) _wrap_FindReplaceDialog_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31843 { (char *)"FindReplaceDialog_GetData", (PyCFunction
)_wrap_FindReplaceDialog_GetData
, METH_O
, NULL
},
31844 { (char *)"FindReplaceDialog_SetData", (PyCFunction
) _wrap_FindReplaceDialog_SetData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31845 { (char *)"FindReplaceDialog_swigregister", FindReplaceDialog_swigregister
, METH_VARARGS
, NULL
},
31846 { (char *)"FindReplaceDialog_swiginit", FindReplaceDialog_swiginit
, METH_VARARGS
, NULL
},
31847 { (char *)"new_MDIParentFrame", (PyCFunction
) _wrap_new_MDIParentFrame
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31848 { (char *)"new_PreMDIParentFrame", (PyCFunction
)_wrap_new_PreMDIParentFrame
, METH_NOARGS
, NULL
},
31849 { (char *)"MDIParentFrame_Create", (PyCFunction
) _wrap_MDIParentFrame_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31850 { (char *)"MDIParentFrame_ActivateNext", (PyCFunction
)_wrap_MDIParentFrame_ActivateNext
, METH_O
, NULL
},
31851 { (char *)"MDIParentFrame_ActivatePrevious", (PyCFunction
)_wrap_MDIParentFrame_ActivatePrevious
, METH_O
, NULL
},
31852 { (char *)"MDIParentFrame_ArrangeIcons", (PyCFunction
)_wrap_MDIParentFrame_ArrangeIcons
, METH_O
, NULL
},
31853 { (char *)"MDIParentFrame_Cascade", (PyCFunction
)_wrap_MDIParentFrame_Cascade
, METH_O
, NULL
},
31854 { (char *)"MDIParentFrame_GetActiveChild", (PyCFunction
)_wrap_MDIParentFrame_GetActiveChild
, METH_O
, NULL
},
31855 { (char *)"MDIParentFrame_GetClientWindow", (PyCFunction
)_wrap_MDIParentFrame_GetClientWindow
, METH_O
, NULL
},
31856 { (char *)"MDIParentFrame_Tile", (PyCFunction
) _wrap_MDIParentFrame_Tile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31857 { (char *)"MDIParentFrame_swigregister", MDIParentFrame_swigregister
, METH_VARARGS
, NULL
},
31858 { (char *)"MDIParentFrame_swiginit", MDIParentFrame_swiginit
, METH_VARARGS
, NULL
},
31859 { (char *)"new_MDIChildFrame", (PyCFunction
) _wrap_new_MDIChildFrame
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31860 { (char *)"new_PreMDIChildFrame", (PyCFunction
)_wrap_new_PreMDIChildFrame
, METH_NOARGS
, NULL
},
31861 { (char *)"MDIChildFrame_Create", (PyCFunction
) _wrap_MDIChildFrame_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31862 { (char *)"MDIChildFrame_Activate", (PyCFunction
)_wrap_MDIChildFrame_Activate
, METH_O
, NULL
},
31863 { (char *)"MDIChildFrame_swigregister", MDIChildFrame_swigregister
, METH_VARARGS
, NULL
},
31864 { (char *)"MDIChildFrame_swiginit", MDIChildFrame_swiginit
, METH_VARARGS
, NULL
},
31865 { (char *)"new_MDIClientWindow", (PyCFunction
) _wrap_new_MDIClientWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31866 { (char *)"new_PreMDIClientWindow", (PyCFunction
)_wrap_new_PreMDIClientWindow
, METH_NOARGS
, NULL
},
31867 { (char *)"MDIClientWindow_Create", (PyCFunction
) _wrap_MDIClientWindow_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31868 { (char *)"MDIClientWindow_swigregister", MDIClientWindow_swigregister
, METH_VARARGS
, NULL
},
31869 { (char *)"MDIClientWindow_swiginit", MDIClientWindow_swiginit
, METH_VARARGS
, NULL
},
31870 { (char *)"new_PyWindow", (PyCFunction
) _wrap_new_PyWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31871 { (char *)"new_PrePyWindow", (PyCFunction
)_wrap_new_PrePyWindow
, METH_NOARGS
, NULL
},
31872 { (char *)"PyWindow__setCallbackInfo", (PyCFunction
) _wrap_PyWindow__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31873 { (char *)"PyWindow_DoEraseBackground", (PyCFunction
) _wrap_PyWindow_DoEraseBackground
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31874 { (char *)"PyWindow_DoMoveWindow", (PyCFunction
) _wrap_PyWindow_DoMoveWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31875 { (char *)"PyWindow_DoSetSize", (PyCFunction
) _wrap_PyWindow_DoSetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31876 { (char *)"PyWindow_DoSetClientSize", (PyCFunction
) _wrap_PyWindow_DoSetClientSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31877 { (char *)"PyWindow_DoSetVirtualSize", (PyCFunction
) _wrap_PyWindow_DoSetVirtualSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31878 { (char *)"PyWindow_DoGetSize", (PyCFunction
)_wrap_PyWindow_DoGetSize
, METH_O
, NULL
},
31879 { (char *)"PyWindow_DoGetClientSize", (PyCFunction
)_wrap_PyWindow_DoGetClientSize
, METH_O
, NULL
},
31880 { (char *)"PyWindow_DoGetPosition", (PyCFunction
)_wrap_PyWindow_DoGetPosition
, METH_O
, NULL
},
31881 { (char *)"PyWindow_DoGetVirtualSize", (PyCFunction
)_wrap_PyWindow_DoGetVirtualSize
, METH_O
, NULL
},
31882 { (char *)"PyWindow_DoGetBestSize", (PyCFunction
)_wrap_PyWindow_DoGetBestSize
, METH_O
, NULL
},
31883 { (char *)"PyWindow_GetDefaultAttributes", (PyCFunction
)_wrap_PyWindow_GetDefaultAttributes
, METH_O
, NULL
},
31884 { (char *)"PyWindow_OnInternalIdle", (PyCFunction
)_wrap_PyWindow_OnInternalIdle
, METH_O
, NULL
},
31885 { (char *)"PyWindow_swigregister", PyWindow_swigregister
, METH_VARARGS
, NULL
},
31886 { (char *)"PyWindow_swiginit", PyWindow_swiginit
, METH_VARARGS
, NULL
},
31887 { (char *)"new_PyPanel", (PyCFunction
) _wrap_new_PyPanel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31888 { (char *)"new_PrePyPanel", (PyCFunction
)_wrap_new_PrePyPanel
, METH_NOARGS
, NULL
},
31889 { (char *)"PyPanel__setCallbackInfo", (PyCFunction
) _wrap_PyPanel__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31890 { (char *)"PyPanel_DoEraseBackground", (PyCFunction
) _wrap_PyPanel_DoEraseBackground
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31891 { (char *)"PyPanel_DoMoveWindow", (PyCFunction
) _wrap_PyPanel_DoMoveWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31892 { (char *)"PyPanel_DoSetSize", (PyCFunction
) _wrap_PyPanel_DoSetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31893 { (char *)"PyPanel_DoSetClientSize", (PyCFunction
) _wrap_PyPanel_DoSetClientSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31894 { (char *)"PyPanel_DoSetVirtualSize", (PyCFunction
) _wrap_PyPanel_DoSetVirtualSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31895 { (char *)"PyPanel_DoGetSize", (PyCFunction
)_wrap_PyPanel_DoGetSize
, METH_O
, NULL
},
31896 { (char *)"PyPanel_DoGetClientSize", (PyCFunction
)_wrap_PyPanel_DoGetClientSize
, METH_O
, NULL
},
31897 { (char *)"PyPanel_DoGetPosition", (PyCFunction
)_wrap_PyPanel_DoGetPosition
, METH_O
, NULL
},
31898 { (char *)"PyPanel_DoGetVirtualSize", (PyCFunction
)_wrap_PyPanel_DoGetVirtualSize
, METH_O
, NULL
},
31899 { (char *)"PyPanel_DoGetBestSize", (PyCFunction
)_wrap_PyPanel_DoGetBestSize
, METH_O
, NULL
},
31900 { (char *)"PyPanel_GetDefaultAttributes", (PyCFunction
)_wrap_PyPanel_GetDefaultAttributes
, METH_O
, NULL
},
31901 { (char *)"PyPanel_OnInternalIdle", (PyCFunction
)_wrap_PyPanel_OnInternalIdle
, METH_O
, NULL
},
31902 { (char *)"PyPanel_swigregister", PyPanel_swigregister
, METH_VARARGS
, NULL
},
31903 { (char *)"PyPanel_swiginit", PyPanel_swiginit
, METH_VARARGS
, NULL
},
31904 { (char *)"new_PyScrolledWindow", (PyCFunction
) _wrap_new_PyScrolledWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31905 { (char *)"new_PrePyScrolledWindow", (PyCFunction
)_wrap_new_PrePyScrolledWindow
, METH_NOARGS
, NULL
},
31906 { (char *)"PyScrolledWindow__setCallbackInfo", (PyCFunction
) _wrap_PyScrolledWindow__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31907 { (char *)"PyScrolledWindow_DoEraseBackground", (PyCFunction
) _wrap_PyScrolledWindow_DoEraseBackground
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31908 { (char *)"PyScrolledWindow_DoMoveWindow", (PyCFunction
) _wrap_PyScrolledWindow_DoMoveWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31909 { (char *)"PyScrolledWindow_DoSetSize", (PyCFunction
) _wrap_PyScrolledWindow_DoSetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31910 { (char *)"PyScrolledWindow_DoSetClientSize", (PyCFunction
) _wrap_PyScrolledWindow_DoSetClientSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31911 { (char *)"PyScrolledWindow_DoSetVirtualSize", (PyCFunction
) _wrap_PyScrolledWindow_DoSetVirtualSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31912 { (char *)"PyScrolledWindow_DoGetSize", (PyCFunction
)_wrap_PyScrolledWindow_DoGetSize
, METH_O
, NULL
},
31913 { (char *)"PyScrolledWindow_DoGetClientSize", (PyCFunction
)_wrap_PyScrolledWindow_DoGetClientSize
, METH_O
, NULL
},
31914 { (char *)"PyScrolledWindow_DoGetPosition", (PyCFunction
)_wrap_PyScrolledWindow_DoGetPosition
, METH_O
, NULL
},
31915 { (char *)"PyScrolledWindow_DoGetVirtualSize", (PyCFunction
)_wrap_PyScrolledWindow_DoGetVirtualSize
, METH_O
, NULL
},
31916 { (char *)"PyScrolledWindow_DoGetBestSize", (PyCFunction
)_wrap_PyScrolledWindow_DoGetBestSize
, METH_O
, NULL
},
31917 { (char *)"PyScrolledWindow_GetDefaultAttributes", (PyCFunction
)_wrap_PyScrolledWindow_GetDefaultAttributes
, METH_O
, NULL
},
31918 { (char *)"PyScrolledWindow_OnInternalIdle", (PyCFunction
)_wrap_PyScrolledWindow_OnInternalIdle
, METH_O
, NULL
},
31919 { (char *)"PyScrolledWindow_swigregister", PyScrolledWindow_swigregister
, METH_VARARGS
, NULL
},
31920 { (char *)"PyScrolledWindow_swiginit", PyScrolledWindow_swiginit
, METH_VARARGS
, NULL
},
31921 { (char *)"new_PrintData", _wrap_new_PrintData
, METH_VARARGS
, NULL
},
31922 { (char *)"delete_PrintData", (PyCFunction
)_wrap_delete_PrintData
, METH_O
, NULL
},
31923 { (char *)"PrintData_GetNoCopies", (PyCFunction
)_wrap_PrintData_GetNoCopies
, METH_O
, NULL
},
31924 { (char *)"PrintData_GetCollate", (PyCFunction
)_wrap_PrintData_GetCollate
, METH_O
, NULL
},
31925 { (char *)"PrintData_GetOrientation", (PyCFunction
)_wrap_PrintData_GetOrientation
, METH_O
, NULL
},
31926 { (char *)"PrintData_IsOk", (PyCFunction
)_wrap_PrintData_IsOk
, METH_O
, NULL
},
31927 { (char *)"PrintData_GetPrinterName", (PyCFunction
)_wrap_PrintData_GetPrinterName
, METH_O
, NULL
},
31928 { (char *)"PrintData_GetColour", (PyCFunction
)_wrap_PrintData_GetColour
, METH_O
, NULL
},
31929 { (char *)"PrintData_GetDuplex", (PyCFunction
)_wrap_PrintData_GetDuplex
, METH_O
, NULL
},
31930 { (char *)"PrintData_GetPaperId", (PyCFunction
)_wrap_PrintData_GetPaperId
, METH_O
, NULL
},
31931 { (char *)"PrintData_GetPaperSize", (PyCFunction
)_wrap_PrintData_GetPaperSize
, METH_O
, NULL
},
31932 { (char *)"PrintData_GetQuality", (PyCFunction
)_wrap_PrintData_GetQuality
, METH_O
, NULL
},
31933 { (char *)"PrintData_GetBin", (PyCFunction
)_wrap_PrintData_GetBin
, METH_O
, NULL
},
31934 { (char *)"PrintData_GetPrintMode", (PyCFunction
)_wrap_PrintData_GetPrintMode
, METH_O
, NULL
},
31935 { (char *)"PrintData_GetMedia", (PyCFunction
)_wrap_PrintData_GetMedia
, METH_O
, NULL
},
31936 { (char *)"PrintData_SetNoCopies", (PyCFunction
) _wrap_PrintData_SetNoCopies
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31937 { (char *)"PrintData_SetCollate", (PyCFunction
) _wrap_PrintData_SetCollate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31938 { (char *)"PrintData_SetOrientation", (PyCFunction
) _wrap_PrintData_SetOrientation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31939 { (char *)"PrintData_SetPrinterName", (PyCFunction
) _wrap_PrintData_SetPrinterName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31940 { (char *)"PrintData_SetColour", (PyCFunction
) _wrap_PrintData_SetColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31941 { (char *)"PrintData_SetDuplex", (PyCFunction
) _wrap_PrintData_SetDuplex
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31942 { (char *)"PrintData_SetPaperId", (PyCFunction
) _wrap_PrintData_SetPaperId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31943 { (char *)"PrintData_SetPaperSize", (PyCFunction
) _wrap_PrintData_SetPaperSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31944 { (char *)"PrintData_SetQuality", (PyCFunction
) _wrap_PrintData_SetQuality
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31945 { (char *)"PrintData_SetBin", (PyCFunction
) _wrap_PrintData_SetBin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31946 { (char *)"PrintData_SetPrintMode", (PyCFunction
) _wrap_PrintData_SetPrintMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31947 { (char *)"PrintData_SetMedia", (PyCFunction
) _wrap_PrintData_SetMedia
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31948 { (char *)"PrintData_GetFilename", (PyCFunction
)_wrap_PrintData_GetFilename
, METH_O
, NULL
},
31949 { (char *)"PrintData_SetFilename", (PyCFunction
) _wrap_PrintData_SetFilename
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31950 { (char *)"PrintData_GetPrivData", (PyCFunction
)_wrap_PrintData_GetPrivData
, METH_O
, NULL
},
31951 { (char *)"PrintData_SetPrivData", (PyCFunction
) _wrap_PrintData_SetPrivData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31952 { (char *)"PrintData_swigregister", PrintData_swigregister
, METH_VARARGS
, NULL
},
31953 { (char *)"PrintData_swiginit", PrintData_swiginit
, METH_VARARGS
, NULL
},
31954 { (char *)"new_PageSetupDialogData", _wrap_new_PageSetupDialogData
, METH_VARARGS
, NULL
},
31955 { (char *)"delete_PageSetupDialogData", (PyCFunction
)_wrap_delete_PageSetupDialogData
, METH_O
, NULL
},
31956 { (char *)"PageSetupDialogData_EnableHelp", (PyCFunction
) _wrap_PageSetupDialogData_EnableHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31957 { (char *)"PageSetupDialogData_EnableMargins", (PyCFunction
) _wrap_PageSetupDialogData_EnableMargins
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31958 { (char *)"PageSetupDialogData_EnableOrientation", (PyCFunction
) _wrap_PageSetupDialogData_EnableOrientation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31959 { (char *)"PageSetupDialogData_EnablePaper", (PyCFunction
) _wrap_PageSetupDialogData_EnablePaper
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31960 { (char *)"PageSetupDialogData_EnablePrinter", (PyCFunction
) _wrap_PageSetupDialogData_EnablePrinter
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31961 { (char *)"PageSetupDialogData_GetDefaultMinMargins", (PyCFunction
)_wrap_PageSetupDialogData_GetDefaultMinMargins
, METH_O
, NULL
},
31962 { (char *)"PageSetupDialogData_GetEnableMargins", (PyCFunction
)_wrap_PageSetupDialogData_GetEnableMargins
, METH_O
, NULL
},
31963 { (char *)"PageSetupDialogData_GetEnableOrientation", (PyCFunction
)_wrap_PageSetupDialogData_GetEnableOrientation
, METH_O
, NULL
},
31964 { (char *)"PageSetupDialogData_GetEnablePaper", (PyCFunction
)_wrap_PageSetupDialogData_GetEnablePaper
, METH_O
, NULL
},
31965 { (char *)"PageSetupDialogData_GetEnablePrinter", (PyCFunction
)_wrap_PageSetupDialogData_GetEnablePrinter
, METH_O
, NULL
},
31966 { (char *)"PageSetupDialogData_GetEnableHelp", (PyCFunction
)_wrap_PageSetupDialogData_GetEnableHelp
, METH_O
, NULL
},
31967 { (char *)"PageSetupDialogData_GetDefaultInfo", (PyCFunction
)_wrap_PageSetupDialogData_GetDefaultInfo
, METH_O
, NULL
},
31968 { (char *)"PageSetupDialogData_GetMarginTopLeft", (PyCFunction
)_wrap_PageSetupDialogData_GetMarginTopLeft
, METH_O
, NULL
},
31969 { (char *)"PageSetupDialogData_GetMarginBottomRight", (PyCFunction
)_wrap_PageSetupDialogData_GetMarginBottomRight
, METH_O
, NULL
},
31970 { (char *)"PageSetupDialogData_GetMinMarginTopLeft", (PyCFunction
)_wrap_PageSetupDialogData_GetMinMarginTopLeft
, METH_O
, NULL
},
31971 { (char *)"PageSetupDialogData_GetMinMarginBottomRight", (PyCFunction
)_wrap_PageSetupDialogData_GetMinMarginBottomRight
, METH_O
, NULL
},
31972 { (char *)"PageSetupDialogData_GetPaperId", (PyCFunction
)_wrap_PageSetupDialogData_GetPaperId
, METH_O
, NULL
},
31973 { (char *)"PageSetupDialogData_GetPaperSize", (PyCFunction
)_wrap_PageSetupDialogData_GetPaperSize
, METH_O
, NULL
},
31974 { (char *)"PageSetupDialogData_GetPrintData", (PyCFunction
)_wrap_PageSetupDialogData_GetPrintData
, METH_O
, NULL
},
31975 { (char *)"PageSetupDialogData_IsOk", (PyCFunction
)_wrap_PageSetupDialogData_IsOk
, METH_O
, NULL
},
31976 { (char *)"PageSetupDialogData_SetDefaultInfo", (PyCFunction
) _wrap_PageSetupDialogData_SetDefaultInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31977 { (char *)"PageSetupDialogData_SetDefaultMinMargins", (PyCFunction
) _wrap_PageSetupDialogData_SetDefaultMinMargins
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31978 { (char *)"PageSetupDialogData_SetMarginTopLeft", (PyCFunction
) _wrap_PageSetupDialogData_SetMarginTopLeft
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31979 { (char *)"PageSetupDialogData_SetMarginBottomRight", (PyCFunction
) _wrap_PageSetupDialogData_SetMarginBottomRight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31980 { (char *)"PageSetupDialogData_SetMinMarginTopLeft", (PyCFunction
) _wrap_PageSetupDialogData_SetMinMarginTopLeft
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31981 { (char *)"PageSetupDialogData_SetMinMarginBottomRight", (PyCFunction
) _wrap_PageSetupDialogData_SetMinMarginBottomRight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31982 { (char *)"PageSetupDialogData_SetPaperId", (PyCFunction
) _wrap_PageSetupDialogData_SetPaperId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31983 { (char *)"PageSetupDialogData_SetPaperSize", (PyCFunction
) _wrap_PageSetupDialogData_SetPaperSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31984 { (char *)"PageSetupDialogData_SetPrintData", (PyCFunction
) _wrap_PageSetupDialogData_SetPrintData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31985 { (char *)"PageSetupDialogData_CalculateIdFromPaperSize", (PyCFunction
)_wrap_PageSetupDialogData_CalculateIdFromPaperSize
, METH_O
, NULL
},
31986 { (char *)"PageSetupDialogData_CalculatePaperSizeFromId", (PyCFunction
)_wrap_PageSetupDialogData_CalculatePaperSizeFromId
, METH_O
, NULL
},
31987 { (char *)"PageSetupDialogData_swigregister", PageSetupDialogData_swigregister
, METH_VARARGS
, NULL
},
31988 { (char *)"PageSetupDialogData_swiginit", PageSetupDialogData_swiginit
, METH_VARARGS
, NULL
},
31989 { (char *)"new_PageSetupDialog", (PyCFunction
) _wrap_new_PageSetupDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31990 { (char *)"delete_PageSetupDialog", (PyCFunction
)_wrap_delete_PageSetupDialog
, METH_O
, NULL
},
31991 { (char *)"PageSetupDialog_GetPageSetupData", (PyCFunction
)_wrap_PageSetupDialog_GetPageSetupData
, METH_O
, NULL
},
31992 { (char *)"PageSetupDialog_GetPageSetupDialogData", (PyCFunction
)_wrap_PageSetupDialog_GetPageSetupDialogData
, METH_O
, NULL
},
31993 { (char *)"PageSetupDialog_ShowModal", (PyCFunction
)_wrap_PageSetupDialog_ShowModal
, METH_O
, NULL
},
31994 { (char *)"PageSetupDialog_swigregister", PageSetupDialog_swigregister
, METH_VARARGS
, NULL
},
31995 { (char *)"PageSetupDialog_swiginit", PageSetupDialog_swiginit
, METH_VARARGS
, NULL
},
31996 { (char *)"new_PrintDialogData", _wrap_new_PrintDialogData
, METH_VARARGS
, NULL
},
31997 { (char *)"delete_PrintDialogData", (PyCFunction
)_wrap_delete_PrintDialogData
, METH_O
, NULL
},
31998 { (char *)"PrintDialogData_GetFromPage", (PyCFunction
)_wrap_PrintDialogData_GetFromPage
, METH_O
, NULL
},
31999 { (char *)"PrintDialogData_GetToPage", (PyCFunction
)_wrap_PrintDialogData_GetToPage
, METH_O
, NULL
},
32000 { (char *)"PrintDialogData_GetMinPage", (PyCFunction
)_wrap_PrintDialogData_GetMinPage
, METH_O
, NULL
},
32001 { (char *)"PrintDialogData_GetMaxPage", (PyCFunction
)_wrap_PrintDialogData_GetMaxPage
, METH_O
, NULL
},
32002 { (char *)"PrintDialogData_GetNoCopies", (PyCFunction
)_wrap_PrintDialogData_GetNoCopies
, METH_O
, NULL
},
32003 { (char *)"PrintDialogData_GetAllPages", (PyCFunction
)_wrap_PrintDialogData_GetAllPages
, METH_O
, NULL
},
32004 { (char *)"PrintDialogData_GetSelection", (PyCFunction
)_wrap_PrintDialogData_GetSelection
, METH_O
, NULL
},
32005 { (char *)"PrintDialogData_GetCollate", (PyCFunction
)_wrap_PrintDialogData_GetCollate
, METH_O
, NULL
},
32006 { (char *)"PrintDialogData_GetPrintToFile", (PyCFunction
)_wrap_PrintDialogData_GetPrintToFile
, METH_O
, NULL
},
32007 { (char *)"PrintDialogData_SetFromPage", (PyCFunction
) _wrap_PrintDialogData_SetFromPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32008 { (char *)"PrintDialogData_SetToPage", (PyCFunction
) _wrap_PrintDialogData_SetToPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32009 { (char *)"PrintDialogData_SetMinPage", (PyCFunction
) _wrap_PrintDialogData_SetMinPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32010 { (char *)"PrintDialogData_SetMaxPage", (PyCFunction
) _wrap_PrintDialogData_SetMaxPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32011 { (char *)"PrintDialogData_SetNoCopies", (PyCFunction
) _wrap_PrintDialogData_SetNoCopies
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32012 { (char *)"PrintDialogData_SetAllPages", (PyCFunction
) _wrap_PrintDialogData_SetAllPages
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32013 { (char *)"PrintDialogData_SetSelection", (PyCFunction
) _wrap_PrintDialogData_SetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32014 { (char *)"PrintDialogData_SetCollate", (PyCFunction
) _wrap_PrintDialogData_SetCollate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32015 { (char *)"PrintDialogData_SetPrintToFile", (PyCFunction
) _wrap_PrintDialogData_SetPrintToFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32016 { (char *)"PrintDialogData_EnablePrintToFile", (PyCFunction
) _wrap_PrintDialogData_EnablePrintToFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32017 { (char *)"PrintDialogData_EnableSelection", (PyCFunction
) _wrap_PrintDialogData_EnableSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32018 { (char *)"PrintDialogData_EnablePageNumbers", (PyCFunction
) _wrap_PrintDialogData_EnablePageNumbers
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32019 { (char *)"PrintDialogData_EnableHelp", (PyCFunction
) _wrap_PrintDialogData_EnableHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32020 { (char *)"PrintDialogData_GetEnablePrintToFile", (PyCFunction
)_wrap_PrintDialogData_GetEnablePrintToFile
, METH_O
, NULL
},
32021 { (char *)"PrintDialogData_GetEnableSelection", (PyCFunction
)_wrap_PrintDialogData_GetEnableSelection
, METH_O
, NULL
},
32022 { (char *)"PrintDialogData_GetEnablePageNumbers", (PyCFunction
)_wrap_PrintDialogData_GetEnablePageNumbers
, METH_O
, NULL
},
32023 { (char *)"PrintDialogData_GetEnableHelp", (PyCFunction
)_wrap_PrintDialogData_GetEnableHelp
, METH_O
, NULL
},
32024 { (char *)"PrintDialogData_IsOk", (PyCFunction
)_wrap_PrintDialogData_IsOk
, METH_O
, NULL
},
32025 { (char *)"PrintDialogData_GetPrintData", (PyCFunction
)_wrap_PrintDialogData_GetPrintData
, METH_O
, NULL
},
32026 { (char *)"PrintDialogData_SetPrintData", (PyCFunction
) _wrap_PrintDialogData_SetPrintData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32027 { (char *)"PrintDialogData_swigregister", PrintDialogData_swigregister
, METH_VARARGS
, NULL
},
32028 { (char *)"PrintDialogData_swiginit", PrintDialogData_swiginit
, METH_VARARGS
, NULL
},
32029 { (char *)"new_PrintDialog", (PyCFunction
) _wrap_new_PrintDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32030 { (char *)"delete_PrintDialog", (PyCFunction
)_wrap_delete_PrintDialog
, METH_O
, NULL
},
32031 { (char *)"PrintDialog_ShowModal", (PyCFunction
)_wrap_PrintDialog_ShowModal
, METH_O
, NULL
},
32032 { (char *)"PrintDialog_GetPrintDialogData", (PyCFunction
)_wrap_PrintDialog_GetPrintDialogData
, METH_O
, NULL
},
32033 { (char *)"PrintDialog_GetPrintData", (PyCFunction
)_wrap_PrintDialog_GetPrintData
, METH_O
, NULL
},
32034 { (char *)"PrintDialog_GetPrintDC", (PyCFunction
)_wrap_PrintDialog_GetPrintDC
, METH_O
, NULL
},
32035 { (char *)"PrintDialog_swigregister", PrintDialog_swigregister
, METH_VARARGS
, NULL
},
32036 { (char *)"PrintDialog_swiginit", PrintDialog_swiginit
, METH_VARARGS
, NULL
},
32037 { (char *)"new_Printer", (PyCFunction
) _wrap_new_Printer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32038 { (char *)"delete_Printer", (PyCFunction
)_wrap_delete_Printer
, METH_O
, NULL
},
32039 { (char *)"Printer_CreateAbortWindow", (PyCFunction
) _wrap_Printer_CreateAbortWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32040 { (char *)"Printer_ReportError", (PyCFunction
) _wrap_Printer_ReportError
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32041 { (char *)"Printer_Setup", (PyCFunction
) _wrap_Printer_Setup
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32042 { (char *)"Printer_Print", (PyCFunction
) _wrap_Printer_Print
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32043 { (char *)"Printer_PrintDialog", (PyCFunction
) _wrap_Printer_PrintDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32044 { (char *)"Printer_GetPrintDialogData", (PyCFunction
)_wrap_Printer_GetPrintDialogData
, METH_O
, NULL
},
32045 { (char *)"Printer_GetAbort", (PyCFunction
)_wrap_Printer_GetAbort
, METH_O
, NULL
},
32046 { (char *)"Printer_GetLastError", (PyCFunction
)_wrap_Printer_GetLastError
, METH_NOARGS
, NULL
},
32047 { (char *)"Printer_swigregister", Printer_swigregister
, METH_VARARGS
, NULL
},
32048 { (char *)"Printer_swiginit", Printer_swiginit
, METH_VARARGS
, NULL
},
32049 { (char *)"new_Printout", (PyCFunction
) _wrap_new_Printout
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32050 { (char *)"delete_Printout", (PyCFunction
)_wrap_delete_Printout
, METH_O
, NULL
},
32051 { (char *)"Printout__setCallbackInfo", (PyCFunction
) _wrap_Printout__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32052 { (char *)"Printout_GetTitle", (PyCFunction
)_wrap_Printout_GetTitle
, METH_O
, NULL
},
32053 { (char *)"Printout_GetDC", (PyCFunction
)_wrap_Printout_GetDC
, METH_O
, NULL
},
32054 { (char *)"Printout_SetDC", (PyCFunction
) _wrap_Printout_SetDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32055 { (char *)"Printout_FitThisSizeToPaper", (PyCFunction
) _wrap_Printout_FitThisSizeToPaper
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32056 { (char *)"Printout_FitThisSizeToPage", (PyCFunction
) _wrap_Printout_FitThisSizeToPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32057 { (char *)"Printout_FitThisSizeToPageMargins", (PyCFunction
) _wrap_Printout_FitThisSizeToPageMargins
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32058 { (char *)"Printout_MapScreenSizeToPaper", (PyCFunction
)_wrap_Printout_MapScreenSizeToPaper
, METH_O
, NULL
},
32059 { (char *)"Printout_MapScreenSizeToPage", (PyCFunction
)_wrap_Printout_MapScreenSizeToPage
, METH_O
, NULL
},
32060 { (char *)"Printout_MapScreenSizeToPageMargins", (PyCFunction
) _wrap_Printout_MapScreenSizeToPageMargins
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32061 { (char *)"Printout_MapScreenSizeToDevice", (PyCFunction
)_wrap_Printout_MapScreenSizeToDevice
, METH_O
, NULL
},
32062 { (char *)"Printout_GetLogicalPaperRect", (PyCFunction
)_wrap_Printout_GetLogicalPaperRect
, METH_O
, NULL
},
32063 { (char *)"Printout_GetLogicalPageRect", (PyCFunction
)_wrap_Printout_GetLogicalPageRect
, METH_O
, NULL
},
32064 { (char *)"Printout_GetLogicalPageMarginsRect", (PyCFunction
) _wrap_Printout_GetLogicalPageMarginsRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32065 { (char *)"Printout_SetLogicalOrigin", (PyCFunction
) _wrap_Printout_SetLogicalOrigin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32066 { (char *)"Printout_OffsetLogicalOrigin", (PyCFunction
) _wrap_Printout_OffsetLogicalOrigin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32067 { (char *)"Printout_SetPageSizePixels", (PyCFunction
) _wrap_Printout_SetPageSizePixels
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32068 { (char *)"Printout_GetPageSizePixels", (PyCFunction
)_wrap_Printout_GetPageSizePixels
, METH_O
, NULL
},
32069 { (char *)"Printout_SetPageSizeMM", (PyCFunction
) _wrap_Printout_SetPageSizeMM
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32070 { (char *)"Printout_GetPageSizeMM", (PyCFunction
)_wrap_Printout_GetPageSizeMM
, METH_O
, NULL
},
32071 { (char *)"Printout_SetPPIScreen", (PyCFunction
) _wrap_Printout_SetPPIScreen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32072 { (char *)"Printout_GetPPIScreen", (PyCFunction
)_wrap_Printout_GetPPIScreen
, METH_O
, NULL
},
32073 { (char *)"Printout_SetPPIPrinter", (PyCFunction
) _wrap_Printout_SetPPIPrinter
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32074 { (char *)"Printout_GetPPIPrinter", (PyCFunction
)_wrap_Printout_GetPPIPrinter
, METH_O
, NULL
},
32075 { (char *)"Printout_SetPaperRectPixels", (PyCFunction
) _wrap_Printout_SetPaperRectPixels
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32076 { (char *)"Printout_GetPaperRectPixels", (PyCFunction
)_wrap_Printout_GetPaperRectPixels
, METH_O
, NULL
},
32077 { (char *)"Printout_IsPreview", (PyCFunction
)_wrap_Printout_IsPreview
, METH_O
, NULL
},
32078 { (char *)"Printout_SetIsPreview", (PyCFunction
) _wrap_Printout_SetIsPreview
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32079 { (char *)"Printout_OnBeginDocument", (PyCFunction
) _wrap_Printout_OnBeginDocument
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32080 { (char *)"Printout_OnEndDocument", (PyCFunction
)_wrap_Printout_OnEndDocument
, METH_O
, NULL
},
32081 { (char *)"Printout_OnBeginPrinting", (PyCFunction
)_wrap_Printout_OnBeginPrinting
, METH_O
, NULL
},
32082 { (char *)"Printout_OnEndPrinting", (PyCFunction
)_wrap_Printout_OnEndPrinting
, METH_O
, NULL
},
32083 { (char *)"Printout_OnPreparePrinting", (PyCFunction
)_wrap_Printout_OnPreparePrinting
, METH_O
, NULL
},
32084 { (char *)"Printout_HasPage", (PyCFunction
) _wrap_Printout_HasPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32085 { (char *)"Printout_GetPageInfo", (PyCFunction
)_wrap_Printout_GetPageInfo
, METH_O
, NULL
},
32086 { (char *)"Printout_swigregister", Printout_swigregister
, METH_VARARGS
, NULL
},
32087 { (char *)"Printout_swiginit", Printout_swiginit
, METH_VARARGS
, NULL
},
32088 { (char *)"new_PreviewCanvas", (PyCFunction
) _wrap_new_PreviewCanvas
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32089 { (char *)"PreviewCanvas_swigregister", PreviewCanvas_swigregister
, METH_VARARGS
, NULL
},
32090 { (char *)"PreviewCanvas_swiginit", PreviewCanvas_swiginit
, METH_VARARGS
, NULL
},
32091 { (char *)"new_PreviewFrame", (PyCFunction
) _wrap_new_PreviewFrame
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32092 { (char *)"PreviewFrame_Initialize", (PyCFunction
)_wrap_PreviewFrame_Initialize
, METH_O
, NULL
},
32093 { (char *)"PreviewFrame_CreateControlBar", (PyCFunction
)_wrap_PreviewFrame_CreateControlBar
, METH_O
, NULL
},
32094 { (char *)"PreviewFrame_CreateCanvas", (PyCFunction
)_wrap_PreviewFrame_CreateCanvas
, METH_O
, NULL
},
32095 { (char *)"PreviewFrame_GetControlBar", (PyCFunction
)_wrap_PreviewFrame_GetControlBar
, METH_O
, NULL
},
32096 { (char *)"PreviewFrame_swigregister", PreviewFrame_swigregister
, METH_VARARGS
, NULL
},
32097 { (char *)"PreviewFrame_swiginit", PreviewFrame_swiginit
, METH_VARARGS
, NULL
},
32098 { (char *)"new_PreviewControlBar", (PyCFunction
) _wrap_new_PreviewControlBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32099 { (char *)"PreviewControlBar_GetZoomControl", (PyCFunction
)_wrap_PreviewControlBar_GetZoomControl
, METH_O
, NULL
},
32100 { (char *)"PreviewControlBar_SetZoomControl", (PyCFunction
) _wrap_PreviewControlBar_SetZoomControl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32101 { (char *)"PreviewControlBar_GetPrintPreview", (PyCFunction
)_wrap_PreviewControlBar_GetPrintPreview
, METH_O
, NULL
},
32102 { (char *)"PreviewControlBar_OnNext", (PyCFunction
)_wrap_PreviewControlBar_OnNext
, METH_O
, NULL
},
32103 { (char *)"PreviewControlBar_OnPrevious", (PyCFunction
)_wrap_PreviewControlBar_OnPrevious
, METH_O
, NULL
},
32104 { (char *)"PreviewControlBar_OnFirst", (PyCFunction
)_wrap_PreviewControlBar_OnFirst
, METH_O
, NULL
},
32105 { (char *)"PreviewControlBar_OnLast", (PyCFunction
)_wrap_PreviewControlBar_OnLast
, METH_O
, NULL
},
32106 { (char *)"PreviewControlBar_OnGoto", (PyCFunction
)_wrap_PreviewControlBar_OnGoto
, METH_O
, NULL
},
32107 { (char *)"PreviewControlBar_swigregister", PreviewControlBar_swigregister
, METH_VARARGS
, NULL
},
32108 { (char *)"PreviewControlBar_swiginit", PreviewControlBar_swiginit
, METH_VARARGS
, NULL
},
32109 { (char *)"new_PrintPreview", _wrap_new_PrintPreview
, METH_VARARGS
, NULL
},
32110 { (char *)"delete_PrintPreview", (PyCFunction
)_wrap_delete_PrintPreview
, METH_O
, NULL
},
32111 { (char *)"PrintPreview_SetCurrentPage", (PyCFunction
) _wrap_PrintPreview_SetCurrentPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32112 { (char *)"PrintPreview_GetCurrentPage", (PyCFunction
)_wrap_PrintPreview_GetCurrentPage
, METH_O
, NULL
},
32113 { (char *)"PrintPreview_SetPrintout", (PyCFunction
) _wrap_PrintPreview_SetPrintout
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32114 { (char *)"PrintPreview_GetPrintout", (PyCFunction
)_wrap_PrintPreview_GetPrintout
, METH_O
, NULL
},
32115 { (char *)"PrintPreview_GetPrintoutForPrinting", (PyCFunction
)_wrap_PrintPreview_GetPrintoutForPrinting
, METH_O
, NULL
},
32116 { (char *)"PrintPreview_SetFrame", (PyCFunction
) _wrap_PrintPreview_SetFrame
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32117 { (char *)"PrintPreview_SetCanvas", (PyCFunction
) _wrap_PrintPreview_SetCanvas
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32118 { (char *)"PrintPreview_GetFrame", (PyCFunction
)_wrap_PrintPreview_GetFrame
, METH_O
, NULL
},
32119 { (char *)"PrintPreview_GetCanvas", (PyCFunction
)_wrap_PrintPreview_GetCanvas
, METH_O
, NULL
},
32120 { (char *)"PrintPreview_PaintPage", (PyCFunction
) _wrap_PrintPreview_PaintPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32121 { (char *)"PrintPreview_DrawBlankPage", (PyCFunction
) _wrap_PrintPreview_DrawBlankPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32122 { (char *)"PrintPreview_RenderPage", (PyCFunction
) _wrap_PrintPreview_RenderPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32123 { (char *)"PrintPreview_AdjustScrollbars", (PyCFunction
) _wrap_PrintPreview_AdjustScrollbars
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32124 { (char *)"PrintPreview_GetPrintDialogData", (PyCFunction
)_wrap_PrintPreview_GetPrintDialogData
, METH_O
, NULL
},
32125 { (char *)"PrintPreview_SetZoom", (PyCFunction
) _wrap_PrintPreview_SetZoom
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32126 { (char *)"PrintPreview_GetZoom", (PyCFunction
)_wrap_PrintPreview_GetZoom
, METH_O
, NULL
},
32127 { (char *)"PrintPreview_GetMaxPage", (PyCFunction
)_wrap_PrintPreview_GetMaxPage
, METH_O
, NULL
},
32128 { (char *)"PrintPreview_GetMinPage", (PyCFunction
)_wrap_PrintPreview_GetMinPage
, METH_O
, NULL
},
32129 { (char *)"PrintPreview_IsOk", (PyCFunction
)_wrap_PrintPreview_IsOk
, METH_O
, NULL
},
32130 { (char *)"PrintPreview_SetOk", (PyCFunction
) _wrap_PrintPreview_SetOk
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32131 { (char *)"PrintPreview_Print", (PyCFunction
) _wrap_PrintPreview_Print
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32132 { (char *)"PrintPreview_DetermineScaling", (PyCFunction
)_wrap_PrintPreview_DetermineScaling
, METH_O
, NULL
},
32133 { (char *)"PrintPreview_swigregister", PrintPreview_swigregister
, METH_VARARGS
, NULL
},
32134 { (char *)"PrintPreview_swiginit", PrintPreview_swiginit
, METH_VARARGS
, NULL
},
32135 { (char *)"new_PyPrintPreview", _wrap_new_PyPrintPreview
, METH_VARARGS
, NULL
},
32136 { (char *)"PyPrintPreview__setCallbackInfo", (PyCFunction
) _wrap_PyPrintPreview__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32137 { (char *)"PyPrintPreview_swigregister", PyPrintPreview_swigregister
, METH_VARARGS
, NULL
},
32138 { (char *)"PyPrintPreview_swiginit", PyPrintPreview_swiginit
, METH_VARARGS
, NULL
},
32139 { (char *)"new_PyPreviewFrame", (PyCFunction
) _wrap_new_PyPreviewFrame
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32140 { (char *)"PyPreviewFrame__setCallbackInfo", (PyCFunction
) _wrap_PyPreviewFrame__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32141 { (char *)"PyPreviewFrame_SetPreviewCanvas", (PyCFunction
) _wrap_PyPreviewFrame_SetPreviewCanvas
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32142 { (char *)"PyPreviewFrame_SetControlBar", (PyCFunction
) _wrap_PyPreviewFrame_SetControlBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32143 { (char *)"PyPreviewFrame_Initialize", (PyCFunction
)_wrap_PyPreviewFrame_Initialize
, METH_O
, NULL
},
32144 { (char *)"PyPreviewFrame_CreateCanvas", (PyCFunction
)_wrap_PyPreviewFrame_CreateCanvas
, METH_O
, NULL
},
32145 { (char *)"PyPreviewFrame_CreateControlBar", (PyCFunction
)_wrap_PyPreviewFrame_CreateControlBar
, METH_O
, NULL
},
32146 { (char *)"PyPreviewFrame_swigregister", PyPreviewFrame_swigregister
, METH_VARARGS
, NULL
},
32147 { (char *)"PyPreviewFrame_swiginit", PyPreviewFrame_swiginit
, METH_VARARGS
, NULL
},
32148 { (char *)"new_PyPreviewControlBar", (PyCFunction
) _wrap_new_PyPreviewControlBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32149 { (char *)"PyPreviewControlBar__setCallbackInfo", (PyCFunction
) _wrap_PyPreviewControlBar__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32150 { (char *)"PyPreviewControlBar_SetPrintPreview", (PyCFunction
) _wrap_PyPreviewControlBar_SetPrintPreview
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32151 { (char *)"PyPreviewControlBar_CreateButtons", (PyCFunction
)_wrap_PyPreviewControlBar_CreateButtons
, METH_O
, NULL
},
32152 { (char *)"PyPreviewControlBar_SetZoomControl", (PyCFunction
) _wrap_PyPreviewControlBar_SetZoomControl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32153 { (char *)"PyPreviewControlBar_swigregister", PyPreviewControlBar_swigregister
, METH_VARARGS
, NULL
},
32154 { (char *)"PyPreviewControlBar_swiginit", PyPreviewControlBar_swiginit
, METH_VARARGS
, NULL
},
32155 { NULL
, NULL
, 0, NULL
}
32159 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (BEGIN) -------- */
32161 static void *_p_wxPyPreviewFrameTo_p_wxPreviewFrame(void *x
) {
32162 return (void *)((wxPreviewFrame
*) ((wxPyPreviewFrame
*) x
));
32164 static void *_p_wxContextMenuEventTo_p_wxEvent(void *x
) {
32165 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
32167 static void *_p_wxMenuEventTo_p_wxEvent(void *x
) {
32168 return (void *)((wxEvent
*) ((wxMenuEvent
*) x
));
32170 static void *_p_wxCloseEventTo_p_wxEvent(void *x
) {
32171 return (void *)((wxEvent
*) ((wxCloseEvent
*) x
));
32173 static void *_p_wxMouseEventTo_p_wxEvent(void *x
) {
32174 return (void *)((wxEvent
*) ((wxMouseEvent
*) x
));
32176 static void *_p_wxEraseEventTo_p_wxEvent(void *x
) {
32177 return (void *)((wxEvent
*) ((wxEraseEvent
*) x
));
32179 static void *_p_wxSetCursorEventTo_p_wxEvent(void *x
) {
32180 return (void *)((wxEvent
*) ((wxSetCursorEvent
*) x
));
32182 static void *_p_wxSplitterEventTo_p_wxEvent(void *x
) {
32183 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*) ((wxSplitterEvent
*) x
));
32185 static void *_p_wxInitDialogEventTo_p_wxEvent(void *x
) {
32186 return (void *)((wxEvent
*) ((wxInitDialogEvent
*) x
));
32188 static void *_p_wxScrollEventTo_p_wxEvent(void *x
) {
32189 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxScrollEvent
*) x
));
32191 static void *_p_wxFindDialogEventTo_p_wxEvent(void *x
) {
32192 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxFindDialogEvent
*) x
));
32194 static void *_p_wxNotifyEventTo_p_wxEvent(void *x
) {
32195 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxNotifyEvent
*) x
));
32197 static void *_p_wxMouseCaptureLostEventTo_p_wxEvent(void *x
) {
32198 return (void *)((wxEvent
*) ((wxMouseCaptureLostEvent
*) x
));
32200 static void *_p_wxPyEventTo_p_wxEvent(void *x
) {
32201 return (void *)((wxEvent
*) ((wxPyEvent
*) x
));
32203 static void *_p_wxCalculateLayoutEventTo_p_wxEvent(void *x
) {
32204 return (void *)((wxEvent
*) ((wxCalculateLayoutEvent
*) x
));
32206 static void *_p_wxIdleEventTo_p_wxEvent(void *x
) {
32207 return (void *)((wxEvent
*) ((wxIdleEvent
*) x
));
32209 static void *_p_wxWindowCreateEventTo_p_wxEvent(void *x
) {
32210 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
32212 static void *_p_wxQueryNewPaletteEventTo_p_wxEvent(void *x
) {
32213 return (void *)((wxEvent
*) ((wxQueryNewPaletteEvent
*) x
));
32215 static void *_p_wxMaximizeEventTo_p_wxEvent(void *x
) {
32216 return (void *)((wxEvent
*) ((wxMaximizeEvent
*) x
));
32218 static void *_p_wxIconizeEventTo_p_wxEvent(void *x
) {
32219 return (void *)((wxEvent
*) ((wxIconizeEvent
*) x
));
32221 static void *_p_wxActivateEventTo_p_wxEvent(void *x
) {
32222 return (void *)((wxEvent
*) ((wxActivateEvent
*) x
));
32224 static void *_p_wxSizeEventTo_p_wxEvent(void *x
) {
32225 return (void *)((wxEvent
*) ((wxSizeEvent
*) x
));
32227 static void *_p_wxMoveEventTo_p_wxEvent(void *x
) {
32228 return (void *)((wxEvent
*) ((wxMoveEvent
*) x
));
32230 static void *_p_wxDateEventTo_p_wxEvent(void *x
) {
32231 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxDateEvent
*) x
));
32233 static void *_p_wxPaintEventTo_p_wxEvent(void *x
) {
32234 return (void *)((wxEvent
*) ((wxPaintEvent
*) x
));
32236 static void *_p_wxNcPaintEventTo_p_wxEvent(void *x
) {
32237 return (void *)((wxEvent
*) ((wxNcPaintEvent
*) x
));
32239 static void *_p_wxClipboardTextEventTo_p_wxEvent(void *x
) {
32240 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxClipboardTextEvent
*) x
));
32242 static void *_p_wxUpdateUIEventTo_p_wxEvent(void *x
) {
32243 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
32245 static void *_p_wxPaletteChangedEventTo_p_wxEvent(void *x
) {
32246 return (void *)((wxEvent
*) ((wxPaletteChangedEvent
*) x
));
32248 static void *_p_wxDisplayChangedEventTo_p_wxEvent(void *x
) {
32249 return (void *)((wxEvent
*) ((wxDisplayChangedEvent
*) x
));
32251 static void *_p_wxMouseCaptureChangedEventTo_p_wxEvent(void *x
) {
32252 return (void *)((wxEvent
*) ((wxMouseCaptureChangedEvent
*) x
));
32254 static void *_p_wxSysColourChangedEventTo_p_wxEvent(void *x
) {
32255 return (void *)((wxEvent
*) ((wxSysColourChangedEvent
*) x
));
32257 static void *_p_wxDropFilesEventTo_p_wxEvent(void *x
) {
32258 return (void *)((wxEvent
*) ((wxDropFilesEvent
*) x
));
32260 static void *_p_wxFocusEventTo_p_wxEvent(void *x
) {
32261 return (void *)((wxEvent
*) ((wxFocusEvent
*) x
));
32263 static void *_p_wxChildFocusEventTo_p_wxEvent(void *x
) {
32264 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
32266 static void *_p_wxSashEventTo_p_wxEvent(void *x
) {
32267 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxSashEvent
*) x
));
32269 static void *_p_wxQueryLayoutInfoEventTo_p_wxEvent(void *x
) {
32270 return (void *)((wxEvent
*) ((wxQueryLayoutInfoEvent
*) x
));
32272 static void *_p_wxShowEventTo_p_wxEvent(void *x
) {
32273 return (void *)((wxEvent
*) ((wxShowEvent
*) x
));
32275 static void *_p_wxCommandEventTo_p_wxEvent(void *x
) {
32276 return (void *)((wxEvent
*) ((wxCommandEvent
*) x
));
32278 static void *_p_wxPyCommandEventTo_p_wxEvent(void *x
) {
32279 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
32281 static void *_p_wxWindowDestroyEventTo_p_wxEvent(void *x
) {
32282 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
32284 static void *_p_wxNavigationKeyEventTo_p_wxEvent(void *x
) {
32285 return (void *)((wxEvent
*) ((wxNavigationKeyEvent
*) x
));
32287 static void *_p_wxKeyEventTo_p_wxEvent(void *x
) {
32288 return (void *)((wxEvent
*) ((wxKeyEvent
*) x
));
32290 static void *_p_wxScrollWinEventTo_p_wxEvent(void *x
) {
32291 return (void *)((wxEvent
*) ((wxScrollWinEvent
*) x
));
32293 static void *_p_wxTaskBarIconEventTo_p_wxEvent(void *x
) {
32294 return (void *)((wxEvent
*) ((wxTaskBarIconEvent
*) x
));
32296 static void *_p_wxSplitterEventTo_p_wxNotifyEvent(void *x
) {
32297 return (void *)((wxNotifyEvent
*) ((wxSplitterEvent
*) x
));
32299 static void *_p_wxPasswordEntryDialogTo_p_wxTextEntryDialog(void *x
) {
32300 return (void *)((wxTextEntryDialog
*) ((wxPasswordEntryDialog
*) x
));
32302 static void *_p_wxSplashScreenTo_p_wxEvtHandler(void *x
) {
32303 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxSplashScreen
*) x
));
32305 static void *_p_wxMiniFrameTo_p_wxEvtHandler(void *x
) {
32306 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxMiniFrame
*) x
));
32308 static void *_p_wxPyPanelTo_p_wxEvtHandler(void *x
) {
32309 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*) ((wxPyPanel
*) x
));
32311 static void *_p_wxMenuBarTo_p_wxEvtHandler(void *x
) {
32312 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxMenuBar
*) x
));
32314 static void *_p_wxValidatorTo_p_wxEvtHandler(void *x
) {
32315 return (void *)((wxEvtHandler
*) ((wxValidator
*) x
));
32317 static void *_p_wxPyValidatorTo_p_wxEvtHandler(void *x
) {
32318 return (void *)((wxEvtHandler
*) (wxValidator
*) ((wxPyValidator
*) x
));
32320 static void *_p_wxMenuTo_p_wxEvtHandler(void *x
) {
32321 return (void *)((wxEvtHandler
*) ((wxMenu
*) x
));
32323 static void *_p_wxPasswordEntryDialogTo_p_wxEvtHandler(void *x
) {
32324 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*)(wxTextEntryDialog
*) ((wxPasswordEntryDialog
*) x
));
32326 static void *_p_wxTextEntryDialogTo_p_wxEvtHandler(void *x
) {
32327 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxTextEntryDialog
*) x
));
32329 static void *_p_wxSingleChoiceDialogTo_p_wxEvtHandler(void *x
) {
32330 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxSingleChoiceDialog
*) x
));
32332 static void *_p_wxMultiChoiceDialogTo_p_wxEvtHandler(void *x
) {
32333 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxMultiChoiceDialog
*) x
));
32335 static void *_p_wxFileDialogTo_p_wxEvtHandler(void *x
) {
32336 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxFileDialog
*) x
));
32338 static void *_p_wxNumberEntryDialogTo_p_wxEvtHandler(void *x
) {
32339 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxNumberEntryDialog
*) x
));
32341 static void *_p_wxMessageDialogTo_p_wxEvtHandler(void *x
) {
32342 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxMessageDialog
*) x
));
32344 static void *_p_wxProgressDialogTo_p_wxEvtHandler(void *x
) {
32345 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxProgressDialog
*) x
));
32347 static void *_p_wxFindReplaceDialogTo_p_wxEvtHandler(void *x
) {
32348 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxFindReplaceDialog
*) x
));
32350 static void *_p_wxPanelTo_p_wxEvtHandler(void *x
) {
32351 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxPanel
*) x
));
32353 static void *_p_wxStatusBarTo_p_wxEvtHandler(void *x
) {
32354 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxStatusBar
*) x
));
32356 static void *_p_wxPyVScrolledWindowTo_p_wxEvtHandler(void *x
) {
32357 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*) ((wxPyVScrolledWindow
*) x
));
32359 static void *_p_wxTipWindowTo_p_wxEvtHandler(void *x
) {
32360 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPopupWindow
*)(wxPyPopupTransientWindow
*) ((wxTipWindow
*) x
));
32362 static void *_p_wxPyPopupTransientWindowTo_p_wxEvtHandler(void *x
) {
32363 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPopupWindow
*) ((wxPyPopupTransientWindow
*) x
));
32365 static void *_p_wxPopupWindowTo_p_wxEvtHandler(void *x
) {
32366 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxPopupWindow
*) x
));
32368 static void *_p_wxSashLayoutWindowTo_p_wxEvtHandler(void *x
) {
32369 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxSashWindow
*) ((wxSashLayoutWindow
*) x
));
32371 static void *_p_wxSashWindowTo_p_wxEvtHandler(void *x
) {
32372 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxSashWindow
*) x
));
32374 static void *_p_wxSplitterWindowTo_p_wxEvtHandler(void *x
) {
32375 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxSplitterWindow
*) x
));
32377 static void *_p_wxSplashScreenWindowTo_p_wxEvtHandler(void *x
) {
32378 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxSplashScreenWindow
*) x
));
32380 static void *_p_wxWindowTo_p_wxEvtHandler(void *x
) {
32381 return (void *)((wxEvtHandler
*) ((wxWindow
*) x
));
32383 static void *_p_wxScrolledWindowTo_p_wxEvtHandler(void *x
) {
32384 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*) ((wxScrolledWindow
*) x
));
32386 static void *_p_wxTopLevelWindowTo_p_wxEvtHandler(void *x
) {
32387 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxTopLevelWindow
*) x
));
32389 static void *_p_wxMDIClientWindowTo_p_wxEvtHandler(void *x
) {
32390 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxMDIClientWindow
*) x
));
32392 static void *_p_wxPyScrolledWindowTo_p_wxEvtHandler(void *x
) {
32393 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*)(wxScrolledWindow
*) ((wxPyScrolledWindow
*) x
));
32395 static void *_p_wxControlTo_p_wxEvtHandler(void *x
) {
32396 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxControl
*) x
));
32398 static void *_p_wxPreviewFrameTo_p_wxEvtHandler(void *x
) {
32399 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxPreviewFrame
*) x
));
32401 static void *_p_wxPyPreviewFrameTo_p_wxEvtHandler(void *x
) {
32402 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*)(wxPreviewFrame
*) ((wxPyPreviewFrame
*) x
));
32404 static void *_p_wxMDIChildFrameTo_p_wxEvtHandler(void *x
) {
32405 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxMDIChildFrame
*) x
));
32407 static void *_p_wxPyAppTo_p_wxEvtHandler(void *x
) {
32408 return (void *)((wxEvtHandler
*) ((wxPyApp
*) x
));
32410 static void *_p_wxControlWithItemsTo_p_wxEvtHandler(void *x
) {
32411 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxControlWithItems
*) x
));
32413 static void *_p_wxPyWindowTo_p_wxEvtHandler(void *x
) {
32414 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxPyWindow
*) x
));
32416 static void *_p_wxPreviewCanvasTo_p_wxEvtHandler(void *x
) {
32417 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*)(wxScrolledWindow
*) ((wxPreviewCanvas
*) x
));
32419 static void *_p_wxPyHtmlListBoxTo_p_wxEvtHandler(void *x
) {
32420 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*)(wxPyVScrolledWindow
*)(wxPyVListBox
*) ((wxPyHtmlListBox
*) x
));
32422 static void *_p_wxPyVListBoxTo_p_wxEvtHandler(void *x
) {
32423 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*)(wxPyVScrolledWindow
*) ((wxPyVListBox
*) x
));
32425 static void *_p_wxPreviewControlBarTo_p_wxEvtHandler(void *x
) {
32426 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*) ((wxPreviewControlBar
*) x
));
32428 static void *_p_wxPyPreviewControlBarTo_p_wxEvtHandler(void *x
) {
32429 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*)(wxPreviewControlBar
*) ((wxPyPreviewControlBar
*) x
));
32431 static void *_p_wxPyTaskBarIconTo_p_wxEvtHandler(void *x
) {
32432 return (void *)((wxEvtHandler
*) ((wxPyTaskBarIcon
*) x
));
32434 static void *_p_wxFrameTo_p_wxEvtHandler(void *x
) {
32435 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*) ((wxFrame
*) x
));
32437 static void *_p_wxDirDialogTo_p_wxEvtHandler(void *x
) {
32438 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxDirDialog
*) x
));
32440 static void *_p_wxColourDialogTo_p_wxEvtHandler(void *x
) {
32441 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxColourDialog
*) x
));
32443 static void *_p_wxDialogTo_p_wxEvtHandler(void *x
) {
32444 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*) ((wxDialog
*) x
));
32446 static void *_p_wxFontDialogTo_p_wxEvtHandler(void *x
) {
32447 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxFontDialog
*) x
));
32449 static void *_p_wxMDIParentFrameTo_p_wxEvtHandler(void *x
) {
32450 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxMDIParentFrame
*) x
));
32452 static void *_p_wxPyHtmlListBoxTo_p_wxPyVListBox(void *x
) {
32453 return (void *)((wxPyVListBox
*) ((wxPyHtmlListBox
*) x
));
32455 static void *_p_wxMDIChildFrameTo_p_wxFrame(void *x
) {
32456 return (void *)((wxFrame
*) ((wxMDIChildFrame
*) x
));
32458 static void *_p_wxProgressDialogTo_p_wxFrame(void *x
) {
32459 return (void *)((wxFrame
*) ((wxProgressDialog
*) x
));
32461 static void *_p_wxPreviewFrameTo_p_wxFrame(void *x
) {
32462 return (void *)((wxFrame
*) ((wxPreviewFrame
*) x
));
32464 static void *_p_wxPyPreviewFrameTo_p_wxFrame(void *x
) {
32465 return (void *)((wxFrame
*) (wxPreviewFrame
*) ((wxPyPreviewFrame
*) x
));
32467 static void *_p_wxMiniFrameTo_p_wxFrame(void *x
) {
32468 return (void *)((wxFrame
*) ((wxMiniFrame
*) x
));
32470 static void *_p_wxSplashScreenTo_p_wxFrame(void *x
) {
32471 return (void *)((wxFrame
*) ((wxSplashScreen
*) x
));
32473 static void *_p_wxMDIParentFrameTo_p_wxFrame(void *x
) {
32474 return (void *)((wxFrame
*) ((wxMDIParentFrame
*) x
));
32476 static void *_p_wxLayoutConstraintsTo_p_wxObject(void *x
) {
32477 return (void *)((wxObject
*) ((wxLayoutConstraints
*) x
));
32479 static void *_p_wxQueryLayoutInfoEventTo_p_wxObject(void *x
) {
32480 return (void *)((wxObject
*) (wxEvent
*) ((wxQueryLayoutInfoEvent
*) x
));
32482 static void *_p_wxPreviewFrameTo_p_wxObject(void *x
) {
32483 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxPreviewFrame
*) x
));
32485 static void *_p_wxPyPreviewFrameTo_p_wxObject(void *x
) {
32486 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*)(wxPreviewFrame
*) ((wxPyPreviewFrame
*) x
));
32488 static void *_p_wxSizerItemTo_p_wxObject(void *x
) {
32489 return (void *)((wxObject
*) ((wxSizerItem
*) x
));
32491 static void *_p_wxGBSizerItemTo_p_wxObject(void *x
) {
32492 return (void *)((wxObject
*) (wxSizerItem
*) ((wxGBSizerItem
*) x
));
32494 static void *_p_wxScrollEventTo_p_wxObject(void *x
) {
32495 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxScrollEvent
*) x
));
32497 static void *_p_wxIndividualLayoutConstraintTo_p_wxObject(void *x
) {
32498 return (void *)((wxObject
*) ((wxIndividualLayoutConstraint
*) x
));
32500 static void *_p_wxStaticBoxSizerTo_p_wxObject(void *x
) {
32501 return (void *)((wxObject
*) (wxSizer
*)(wxBoxSizer
*) ((wxStaticBoxSizer
*) x
));
32503 static void *_p_wxBoxSizerTo_p_wxObject(void *x
) {
32504 return (void *)((wxObject
*) (wxSizer
*) ((wxBoxSizer
*) x
));
32506 static void *_p_wxSizerTo_p_wxObject(void *x
) {
32507 return (void *)((wxObject
*) ((wxSizer
*) x
));
32509 static void *_p_wxGridBagSizerTo_p_wxObject(void *x
) {
32510 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*)(wxFlexGridSizer
*) ((wxGridBagSizer
*) x
));
32512 static void *_p_wxUpdateUIEventTo_p_wxObject(void *x
) {
32513 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
32515 static void *_p_wxPyPanelTo_p_wxObject(void *x
) {
32516 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*) ((wxPyPanel
*) x
));
32518 static void *_p_wxEventTo_p_wxObject(void *x
) {
32519 return (void *)((wxObject
*) ((wxEvent
*) x
));
32521 static void *_p_wxFontDataTo_p_wxObject(void *x
) {
32522 return (void *)((wxObject
*) ((wxFontData
*) x
));
32524 static void *_p_wxPrintDataTo_p_wxObject(void *x
) {
32525 return (void *)((wxObject
*) ((wxPrintData
*) x
));
32527 static void *_p_wxFlexGridSizerTo_p_wxObject(void *x
) {
32528 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*) ((wxFlexGridSizer
*) x
));
32530 static void *_p_wxGridSizerTo_p_wxObject(void *x
) {
32531 return (void *)((wxObject
*) (wxSizer
*) ((wxGridSizer
*) x
));
32533 static void *_p_wxInitDialogEventTo_p_wxObject(void *x
) {
32534 return (void *)((wxObject
*) (wxEvent
*) ((wxInitDialogEvent
*) x
));
32536 static void *_p_wxLayoutAlgorithmTo_p_wxObject(void *x
) {
32537 return (void *)((wxObject
*) ((wxLayoutAlgorithm
*) x
));
32539 static void *_p_wxPyTaskBarIconTo_p_wxObject(void *x
) {
32540 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxPyTaskBarIcon
*) x
));
32542 static void *_p_wxFindDialogEventTo_p_wxObject(void *x
) {
32543 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxFindDialogEvent
*) x
));
32545 static void *_p_wxClipboardTextEventTo_p_wxObject(void *x
) {
32546 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxClipboardTextEvent
*) x
));
32548 static void *_p_wxPaintEventTo_p_wxObject(void *x
) {
32549 return (void *)((wxObject
*) (wxEvent
*) ((wxPaintEvent
*) x
));
32551 static void *_p_wxNcPaintEventTo_p_wxObject(void *x
) {
32552 return (void *)((wxObject
*) (wxEvent
*) ((wxNcPaintEvent
*) x
));
32554 static void *_p_wxPaletteChangedEventTo_p_wxObject(void *x
) {
32555 return (void *)((wxObject
*) (wxEvent
*) ((wxPaletteChangedEvent
*) x
));
32557 static void *_p_wxDisplayChangedEventTo_p_wxObject(void *x
) {
32558 return (void *)((wxObject
*) (wxEvent
*) ((wxDisplayChangedEvent
*) x
));
32560 static void *_p_wxMouseCaptureChangedEventTo_p_wxObject(void *x
) {
32561 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseCaptureChangedEvent
*) x
));
32563 static void *_p_wxSysColourChangedEventTo_p_wxObject(void *x
) {
32564 return (void *)((wxObject
*) (wxEvent
*) ((wxSysColourChangedEvent
*) x
));
32566 static void *_p_wxPreviewCanvasTo_p_wxObject(void *x
) {
32567 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*)(wxScrolledWindow
*) ((wxPreviewCanvas
*) x
));
32569 static void *_p_wxControlTo_p_wxObject(void *x
) {
32570 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxControl
*) x
));
32572 static void *_p_wxSetCursorEventTo_p_wxObject(void *x
) {
32573 return (void *)((wxObject
*) (wxEvent
*) ((wxSetCursorEvent
*) x
));
32575 static void *_p_wxSplitterEventTo_p_wxObject(void *x
) {
32576 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*) ((wxSplitterEvent
*) x
));
32578 static void *_p_wxFSFileTo_p_wxObject(void *x
) {
32579 return (void *)((wxObject
*) ((wxFSFile
*) x
));
32581 static void *_p_wxFindReplaceDataTo_p_wxObject(void *x
) {
32582 return (void *)((wxObject
*) ((wxFindReplaceData
*) x
));
32584 static void *_p_wxPySizerTo_p_wxObject(void *x
) {
32585 return (void *)((wxObject
*) (wxSizer
*) ((wxPySizer
*) x
));
32587 static void *_p_wxMDIChildFrameTo_p_wxObject(void *x
) {
32588 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxMDIChildFrame
*) x
));
32590 static void *_p_wxColourDataTo_p_wxObject(void *x
) {
32591 return (void *)((wxObject
*) ((wxColourData
*) x
));
32593 static void *_p_wxPyEventTo_p_wxObject(void *x
) {
32594 return (void *)((wxObject
*) (wxEvent
*) ((wxPyEvent
*) x
));
32596 static void *_p_wxNotifyEventTo_p_wxObject(void *x
) {
32597 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxNotifyEvent
*) x
));
32599 static void *_p_wxPyWindowTo_p_wxObject(void *x
) {
32600 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxPyWindow
*) x
));
32602 static void *_p_wxSplashScreenTo_p_wxObject(void *x
) {
32603 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxSplashScreen
*) x
));
32605 static void *_p_wxFileDialogTo_p_wxObject(void *x
) {
32606 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxFileDialog
*) x
));
32608 static void *_p_wxMultiChoiceDialogTo_p_wxObject(void *x
) {
32609 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxMultiChoiceDialog
*) x
));
32611 static void *_p_wxSingleChoiceDialogTo_p_wxObject(void *x
) {
32612 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxSingleChoiceDialog
*) x
));
32614 static void *_p_wxTextEntryDialogTo_p_wxObject(void *x
) {
32615 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxTextEntryDialog
*) x
));
32617 static void *_p_wxPasswordEntryDialogTo_p_wxObject(void *x
) {
32618 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*)(wxTextEntryDialog
*) ((wxPasswordEntryDialog
*) x
));
32620 static void *_p_wxNumberEntryDialogTo_p_wxObject(void *x
) {
32621 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxNumberEntryDialog
*) x
));
32623 static void *_p_wxMessageDialogTo_p_wxObject(void *x
) {
32624 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxMessageDialog
*) x
));
32626 static void *_p_wxProgressDialogTo_p_wxObject(void *x
) {
32627 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxProgressDialog
*) x
));
32629 static void *_p_wxFindReplaceDialogTo_p_wxObject(void *x
) {
32630 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxFindReplaceDialog
*) x
));
32632 static void *_p_wxShowEventTo_p_wxObject(void *x
) {
32633 return (void *)((wxObject
*) (wxEvent
*) ((wxShowEvent
*) x
));
32635 static void *_p_wxPrinterTo_p_wxObject(void *x
) {
32636 return (void *)((wxObject
*) ((wxPrinter
*) x
));
32638 static void *_p_wxMenuItemTo_p_wxObject(void *x
) {
32639 return (void *)((wxObject
*) ((wxMenuItem
*) x
));
32641 static void *_p_wxDateEventTo_p_wxObject(void *x
) {
32642 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxDateEvent
*) x
));
32644 static void *_p_wxIdleEventTo_p_wxObject(void *x
) {
32645 return (void *)((wxObject
*) (wxEvent
*) ((wxIdleEvent
*) x
));
32647 static void *_p_wxWindowCreateEventTo_p_wxObject(void *x
) {
32648 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
32650 static void *_p_wxQueryNewPaletteEventTo_p_wxObject(void *x
) {
32651 return (void *)((wxObject
*) (wxEvent
*) ((wxQueryNewPaletteEvent
*) x
));
32653 static void *_p_wxMaximizeEventTo_p_wxObject(void *x
) {
32654 return (void *)((wxObject
*) (wxEvent
*) ((wxMaximizeEvent
*) x
));
32656 static void *_p_wxIconizeEventTo_p_wxObject(void *x
) {
32657 return (void *)((wxObject
*) (wxEvent
*) ((wxIconizeEvent
*) x
));
32659 static void *_p_wxSizeEventTo_p_wxObject(void *x
) {
32660 return (void *)((wxObject
*) (wxEvent
*) ((wxSizeEvent
*) x
));
32662 static void *_p_wxMoveEventTo_p_wxObject(void *x
) {
32663 return (void *)((wxObject
*) (wxEvent
*) ((wxMoveEvent
*) x
));
32665 static void *_p_wxActivateEventTo_p_wxObject(void *x
) {
32666 return (void *)((wxObject
*) (wxEvent
*) ((wxActivateEvent
*) x
));
32668 static void *_p_wxPNMHandlerTo_p_wxObject(void *x
) {
32669 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNMHandler
*) x
));
32671 static void *_p_wxJPEGHandlerTo_p_wxObject(void *x
) {
32672 return (void *)((wxObject
*) (wxImageHandler
*) ((wxJPEGHandler
*) x
));
32674 static void *_p_wxPCXHandlerTo_p_wxObject(void *x
) {
32675 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPCXHandler
*) x
));
32677 static void *_p_wxGIFHandlerTo_p_wxObject(void *x
) {
32678 return (void *)((wxObject
*) (wxImageHandler
*) ((wxGIFHandler
*) x
));
32680 static void *_p_wxPNGHandlerTo_p_wxObject(void *x
) {
32681 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNGHandler
*) x
));
32683 static void *_p_wxANIHandlerTo_p_wxObject(void *x
) {
32684 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*)(wxCURHandler
*) ((wxANIHandler
*) x
));
32686 static void *_p_wxCURHandlerTo_p_wxObject(void *x
) {
32687 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*) ((wxCURHandler
*) x
));
32689 static void *_p_wxICOHandlerTo_p_wxObject(void *x
) {
32690 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*) ((wxICOHandler
*) x
));
32692 static void *_p_wxBMPHandlerTo_p_wxObject(void *x
) {
32693 return (void *)((wxObject
*) (wxImageHandler
*) ((wxBMPHandler
*) x
));
32695 static void *_p_wxPyImageHandlerTo_p_wxObject(void *x
) {
32696 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPyImageHandler
*) x
));
32698 static void *_p_wxImageHandlerTo_p_wxObject(void *x
) {
32699 return (void *)((wxObject
*) ((wxImageHandler
*) x
));
32701 static void *_p_wxXPMHandlerTo_p_wxObject(void *x
) {
32702 return (void *)((wxObject
*) (wxImageHandler
*) ((wxXPMHandler
*) x
));
32704 static void *_p_wxTIFFHandlerTo_p_wxObject(void *x
) {
32705 return (void *)((wxObject
*) (wxImageHandler
*) ((wxTIFFHandler
*) x
));
32707 static void *_p_wxTGAHandlerTo_p_wxObject(void *x
) {
32708 return (void *)((wxObject
*) (wxImageHandler
*) ((wxTGAHandler
*) x
));
32710 static void *_p_wxEvtHandlerTo_p_wxObject(void *x
) {
32711 return (void *)((wxObject
*) ((wxEvtHandler
*) x
));
32713 static void *_p_wxMouseCaptureLostEventTo_p_wxObject(void *x
) {
32714 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseCaptureLostEvent
*) x
));
32716 static void *_p_wxCalculateLayoutEventTo_p_wxObject(void *x
) {
32717 return (void *)((wxObject
*) (wxEvent
*) ((wxCalculateLayoutEvent
*) x
));
32719 static void *_p_wxPyVListBoxTo_p_wxObject(void *x
) {
32720 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*)(wxPyVScrolledWindow
*) ((wxPyVListBox
*) x
));
32722 static void *_p_wxPyHtmlListBoxTo_p_wxObject(void *x
) {
32723 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*)(wxPyVScrolledWindow
*)(wxPyVListBox
*) ((wxPyHtmlListBox
*) x
));
32725 static void *_p_wxAcceleratorTableTo_p_wxObject(void *x
) {
32726 return (void *)((wxObject
*) ((wxAcceleratorTable
*) x
));
32728 static void *_p_wxStdDialogButtonSizerTo_p_wxObject(void *x
) {
32729 return (void *)((wxObject
*) (wxSizer
*)(wxBoxSizer
*) ((wxStdDialogButtonSizer
*) x
));
32731 static void *_p_wxMiniFrameTo_p_wxObject(void *x
) {
32732 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxMiniFrame
*) x
));
32734 static void *_p_wxImageTo_p_wxObject(void *x
) {
32735 return (void *)((wxObject
*) ((wxImage
*) x
));
32737 static void *_p_wxFrameTo_p_wxObject(void *x
) {
32738 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*) ((wxFrame
*) x
));
32740 static void *_p_wxPyPrintoutTo_p_wxObject(void *x
) {
32741 return (void *)((wxObject
*) ((wxPyPrintout
*) x
));
32743 static void *_p_wxScrollWinEventTo_p_wxObject(void *x
) {
32744 return (void *)((wxObject
*) (wxEvent
*) ((wxScrollWinEvent
*) x
));
32746 static void *_p_wxTaskBarIconEventTo_p_wxObject(void *x
) {
32747 return (void *)((wxObject
*) (wxEvent
*) ((wxTaskBarIconEvent
*) x
));
32749 static void *_p_wxStatusBarTo_p_wxObject(void *x
) {
32750 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxStatusBar
*) x
));
32752 static void *_p_wxMDIParentFrameTo_p_wxObject(void *x
) {
32753 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxMDIParentFrame
*) x
));
32755 static void *_p_wxWindowDestroyEventTo_p_wxObject(void *x
) {
32756 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
32758 static void *_p_wxNavigationKeyEventTo_p_wxObject(void *x
) {
32759 return (void *)((wxObject
*) (wxEvent
*) ((wxNavigationKeyEvent
*) x
));
32761 static void *_p_wxKeyEventTo_p_wxObject(void *x
) {
32762 return (void *)((wxObject
*) (wxEvent
*) ((wxKeyEvent
*) x
));
32764 static void *_p_wxWindowTo_p_wxObject(void *x
) {
32765 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxWindow
*) x
));
32767 static void *_p_wxMenuTo_p_wxObject(void *x
) {
32768 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxMenu
*) x
));
32770 static void *_p_wxMenuBarTo_p_wxObject(void *x
) {
32771 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxMenuBar
*) x
));
32773 static void *_p_wxScrolledWindowTo_p_wxObject(void *x
) {
32774 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*) ((wxScrolledWindow
*) x
));
32776 static void *_p_wxTopLevelWindowTo_p_wxObject(void *x
) {
32777 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxTopLevelWindow
*) x
));
32779 static void *_p_wxSplashScreenWindowTo_p_wxObject(void *x
) {
32780 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxSplashScreenWindow
*) x
));
32782 static void *_p_wxSplitterWindowTo_p_wxObject(void *x
) {
32783 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxSplitterWindow
*) x
));
32785 static void *_p_wxSashWindowTo_p_wxObject(void *x
) {
32786 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxSashWindow
*) x
));
32788 static void *_p_wxSashLayoutWindowTo_p_wxObject(void *x
) {
32789 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxSashWindow
*) ((wxSashLayoutWindow
*) x
));
32791 static void *_p_wxPopupWindowTo_p_wxObject(void *x
) {
32792 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxPopupWindow
*) x
));
32794 static void *_p_wxPyPopupTransientWindowTo_p_wxObject(void *x
) {
32795 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPopupWindow
*) ((wxPyPopupTransientWindow
*) x
));
32797 static void *_p_wxTipWindowTo_p_wxObject(void *x
) {
32798 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPopupWindow
*)(wxPyPopupTransientWindow
*) ((wxTipWindow
*) x
));
32800 static void *_p_wxPyVScrolledWindowTo_p_wxObject(void *x
) {
32801 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*) ((wxPyVScrolledWindow
*) x
));
32803 static void *_p_wxMDIClientWindowTo_p_wxObject(void *x
) {
32804 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxMDIClientWindow
*) x
));
32806 static void *_p_wxPyScrolledWindowTo_p_wxObject(void *x
) {
32807 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*)(wxScrolledWindow
*) ((wxPyScrolledWindow
*) x
));
32809 static void *_p_wxSashEventTo_p_wxObject(void *x
) {
32810 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxSashEvent
*) x
));
32812 static void *_p_wxPrintPreviewTo_p_wxObject(void *x
) {
32813 return (void *)((wxObject
*) ((wxPrintPreview
*) x
));
32815 static void *_p_wxPyPrintPreviewTo_p_wxObject(void *x
) {
32816 return (void *)((wxObject
*) (wxPrintPreview
*) ((wxPyPrintPreview
*) x
));
32818 static void *_p_wxPanelTo_p_wxObject(void *x
) {
32819 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxPanel
*) x
));
32821 static void *_p_wxDialogTo_p_wxObject(void *x
) {
32822 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*) ((wxDialog
*) x
));
32824 static void *_p_wxColourDialogTo_p_wxObject(void *x
) {
32825 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxColourDialog
*) x
));
32827 static void *_p_wxDirDialogTo_p_wxObject(void *x
) {
32828 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxDirDialog
*) x
));
32830 static void *_p_wxFontDialogTo_p_wxObject(void *x
) {
32831 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxFontDialog
*) x
));
32833 static void *_p_wxPageSetupDialogTo_p_wxObject(void *x
) {
32834 return (void *)((wxObject
*) ((wxPageSetupDialog
*) x
));
32836 static void *_p_wxPrintDialogTo_p_wxObject(void *x
) {
32837 return (void *)((wxObject
*) ((wxPrintDialog
*) x
));
32839 static void *_p_wxFileSystemTo_p_wxObject(void *x
) {
32840 return (void *)((wxObject
*) ((wxFileSystem
*) x
));
32842 static void *_p_wxContextMenuEventTo_p_wxObject(void *x
) {
32843 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
32845 static void *_p_wxMenuEventTo_p_wxObject(void *x
) {
32846 return (void *)((wxObject
*) (wxEvent
*) ((wxMenuEvent
*) x
));
32848 static void *_p_wxPyAppTo_p_wxObject(void *x
) {
32849 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxPyApp
*) x
));
32851 static void *_p_wxCloseEventTo_p_wxObject(void *x
) {
32852 return (void *)((wxObject
*) (wxEvent
*) ((wxCloseEvent
*) x
));
32854 static void *_p_wxMouseEventTo_p_wxObject(void *x
) {
32855 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseEvent
*) x
));
32857 static void *_p_wxEraseEventTo_p_wxObject(void *x
) {
32858 return (void *)((wxObject
*) (wxEvent
*) ((wxEraseEvent
*) x
));
32860 static void *_p_wxPyCommandEventTo_p_wxObject(void *x
) {
32861 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
32863 static void *_p_wxCommandEventTo_p_wxObject(void *x
) {
32864 return (void *)((wxObject
*) (wxEvent
*) ((wxCommandEvent
*) x
));
32866 static void *_p_wxPreviewControlBarTo_p_wxObject(void *x
) {
32867 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*) ((wxPreviewControlBar
*) x
));
32869 static void *_p_wxPyPreviewControlBarTo_p_wxObject(void *x
) {
32870 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*)(wxPreviewControlBar
*) ((wxPyPreviewControlBar
*) x
));
32872 static void *_p_wxDropFilesEventTo_p_wxObject(void *x
) {
32873 return (void *)((wxObject
*) (wxEvent
*) ((wxDropFilesEvent
*) x
));
32875 static void *_p_wxFocusEventTo_p_wxObject(void *x
) {
32876 return (void *)((wxObject
*) (wxEvent
*) ((wxFocusEvent
*) x
));
32878 static void *_p_wxChildFocusEventTo_p_wxObject(void *x
) {
32879 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
32881 static void *_p_wxControlWithItemsTo_p_wxObject(void *x
) {
32882 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxControlWithItems
*) x
));
32884 static void *_p_wxPageSetupDialogDataTo_p_wxObject(void *x
) {
32885 return (void *)((wxObject
*) ((wxPageSetupDialogData
*) x
));
32887 static void *_p_wxPrintDialogDataTo_p_wxObject(void *x
) {
32888 return (void *)((wxObject
*) ((wxPrintDialogData
*) x
));
32890 static void *_p_wxPyValidatorTo_p_wxObject(void *x
) {
32891 return (void *)((wxObject
*) (wxEvtHandler
*)(wxValidator
*) ((wxPyValidator
*) x
));
32893 static void *_p_wxValidatorTo_p_wxObject(void *x
) {
32894 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxValidator
*) x
));
32896 static void *_p_wxPyVListBoxTo_p_wxPyVScrolledWindow(void *x
) {
32897 return (void *)((wxPyVScrolledWindow
*) ((wxPyVListBox
*) x
));
32899 static void *_p_wxPyHtmlListBoxTo_p_wxPyVScrolledWindow(void *x
) {
32900 return (void *)((wxPyVScrolledWindow
*) (wxPyVListBox
*) ((wxPyHtmlListBox
*) x
));
32902 static void *_p_wxTipWindowTo_p_wxPyPopupTransientWindow(void *x
) {
32903 return (void *)((wxPyPopupTransientWindow
*) ((wxTipWindow
*) x
));
32905 static void *_p_wxPyPopupTransientWindowTo_p_wxPopupWindow(void *x
) {
32906 return (void *)((wxPopupWindow
*) ((wxPyPopupTransientWindow
*) x
));
32908 static void *_p_wxTipWindowTo_p_wxPopupWindow(void *x
) {
32909 return (void *)((wxPopupWindow
*) (wxPyPopupTransientWindow
*) ((wxTipWindow
*) x
));
32911 static void *_p_wxSashLayoutWindowTo_p_wxSashWindow(void *x
) {
32912 return (void *)((wxSashWindow
*) ((wxSashLayoutWindow
*) x
));
32914 static void *_p_wxFrameTo_p_wxTopLevelWindow(void *x
) {
32915 return (void *)((wxTopLevelWindow
*) ((wxFrame
*) x
));
32917 static void *_p_wxMiniFrameTo_p_wxTopLevelWindow(void *x
) {
32918 return (void *)((wxTopLevelWindow
*) (wxFrame
*) ((wxMiniFrame
*) x
));
32920 static void *_p_wxFontDialogTo_p_wxTopLevelWindow(void *x
) {
32921 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxFontDialog
*) x
));
32923 static void *_p_wxDirDialogTo_p_wxTopLevelWindow(void *x
) {
32924 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxDirDialog
*) x
));
32926 static void *_p_wxColourDialogTo_p_wxTopLevelWindow(void *x
) {
32927 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxColourDialog
*) x
));
32929 static void *_p_wxDialogTo_p_wxTopLevelWindow(void *x
) {
32930 return (void *)((wxTopLevelWindow
*) ((wxDialog
*) x
));
32932 static void *_p_wxSplashScreenTo_p_wxTopLevelWindow(void *x
) {
32933 return (void *)((wxTopLevelWindow
*) (wxFrame
*) ((wxSplashScreen
*) x
));
32935 static void *_p_wxMDIParentFrameTo_p_wxTopLevelWindow(void *x
) {
32936 return (void *)((wxTopLevelWindow
*) (wxFrame
*) ((wxMDIParentFrame
*) x
));
32938 static void *_p_wxMDIChildFrameTo_p_wxTopLevelWindow(void *x
) {
32939 return (void *)((wxTopLevelWindow
*) (wxFrame
*) ((wxMDIChildFrame
*) x
));
32941 static void *_p_wxMessageDialogTo_p_wxTopLevelWindow(void *x
) {
32942 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxMessageDialog
*) x
));
32944 static void *_p_wxNumberEntryDialogTo_p_wxTopLevelWindow(void *x
) {
32945 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxNumberEntryDialog
*) x
));
32947 static void *_p_wxPasswordEntryDialogTo_p_wxTopLevelWindow(void *x
) {
32948 return (void *)((wxTopLevelWindow
*) (wxDialog
*)(wxTextEntryDialog
*) ((wxPasswordEntryDialog
*) x
));
32950 static void *_p_wxTextEntryDialogTo_p_wxTopLevelWindow(void *x
) {
32951 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxTextEntryDialog
*) x
));
32953 static void *_p_wxSingleChoiceDialogTo_p_wxTopLevelWindow(void *x
) {
32954 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxSingleChoiceDialog
*) x
));
32956 static void *_p_wxMultiChoiceDialogTo_p_wxTopLevelWindow(void *x
) {
32957 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxMultiChoiceDialog
*) x
));
32959 static void *_p_wxFileDialogTo_p_wxTopLevelWindow(void *x
) {
32960 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxFileDialog
*) x
));
32962 static void *_p_wxProgressDialogTo_p_wxTopLevelWindow(void *x
) {
32963 return (void *)((wxTopLevelWindow
*) (wxFrame
*) ((wxProgressDialog
*) x
));
32965 static void *_p_wxFindReplaceDialogTo_p_wxTopLevelWindow(void *x
) {
32966 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxFindReplaceDialog
*) x
));
32968 static void *_p_wxPreviewFrameTo_p_wxTopLevelWindow(void *x
) {
32969 return (void *)((wxTopLevelWindow
*) (wxFrame
*) ((wxPreviewFrame
*) x
));
32971 static void *_p_wxPyPreviewFrameTo_p_wxTopLevelWindow(void *x
) {
32972 return (void *)((wxTopLevelWindow
*) (wxFrame
*)(wxPreviewFrame
*) ((wxPyPreviewFrame
*) x
));
32974 static void *_p_wxSplashScreenTo_p_wxWindow(void *x
) {
32975 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*) ((wxSplashScreen
*) x
));
32977 static void *_p_wxMiniFrameTo_p_wxWindow(void *x
) {
32978 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*) ((wxMiniFrame
*) x
));
32980 static void *_p_wxPyPanelTo_p_wxWindow(void *x
) {
32981 return (void *)((wxWindow
*) (wxPanel
*) ((wxPyPanel
*) x
));
32983 static void *_p_wxMenuBarTo_p_wxWindow(void *x
) {
32984 return (void *)((wxWindow
*) ((wxMenuBar
*) x
));
32986 static void *_p_wxFindReplaceDialogTo_p_wxWindow(void *x
) {
32987 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxFindReplaceDialog
*) x
));
32989 static void *_p_wxProgressDialogTo_p_wxWindow(void *x
) {
32990 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*) ((wxProgressDialog
*) x
));
32992 static void *_p_wxMessageDialogTo_p_wxWindow(void *x
) {
32993 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxMessageDialog
*) x
));
32995 static void *_p_wxNumberEntryDialogTo_p_wxWindow(void *x
) {
32996 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxNumberEntryDialog
*) x
));
32998 static void *_p_wxPasswordEntryDialogTo_p_wxWindow(void *x
) {
32999 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*)(wxTextEntryDialog
*) ((wxPasswordEntryDialog
*) x
));
33001 static void *_p_wxTextEntryDialogTo_p_wxWindow(void *x
) {
33002 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxTextEntryDialog
*) x
));
33004 static void *_p_wxSingleChoiceDialogTo_p_wxWindow(void *x
) {
33005 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxSingleChoiceDialog
*) x
));
33007 static void *_p_wxMultiChoiceDialogTo_p_wxWindow(void *x
) {
33008 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxMultiChoiceDialog
*) x
));
33010 static void *_p_wxFileDialogTo_p_wxWindow(void *x
) {
33011 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxFileDialog
*) x
));
33013 static void *_p_wxPanelTo_p_wxWindow(void *x
) {
33014 return (void *)((wxWindow
*) ((wxPanel
*) x
));
33016 static void *_p_wxStatusBarTo_p_wxWindow(void *x
) {
33017 return (void *)((wxWindow
*) ((wxStatusBar
*) x
));
33019 static void *_p_wxPyVScrolledWindowTo_p_wxWindow(void *x
) {
33020 return (void *)((wxWindow
*) (wxPanel
*) ((wxPyVScrolledWindow
*) x
));
33022 static void *_p_wxTipWindowTo_p_wxWindow(void *x
) {
33023 return (void *)((wxWindow
*) (wxPopupWindow
*)(wxPyPopupTransientWindow
*) ((wxTipWindow
*) x
));
33025 static void *_p_wxPyPopupTransientWindowTo_p_wxWindow(void *x
) {
33026 return (void *)((wxWindow
*) (wxPopupWindow
*) ((wxPyPopupTransientWindow
*) x
));
33028 static void *_p_wxPopupWindowTo_p_wxWindow(void *x
) {
33029 return (void *)((wxWindow
*) ((wxPopupWindow
*) x
));
33031 static void *_p_wxSashLayoutWindowTo_p_wxWindow(void *x
) {
33032 return (void *)((wxWindow
*) (wxSashWindow
*) ((wxSashLayoutWindow
*) x
));
33034 static void *_p_wxScrolledWindowTo_p_wxWindow(void *x
) {
33035 return (void *)((wxWindow
*) (wxPanel
*) ((wxScrolledWindow
*) x
));
33037 static void *_p_wxTopLevelWindowTo_p_wxWindow(void *x
) {
33038 return (void *)((wxWindow
*) ((wxTopLevelWindow
*) x
));
33040 static void *_p_wxSplashScreenWindowTo_p_wxWindow(void *x
) {
33041 return (void *)((wxWindow
*) ((wxSplashScreenWindow
*) x
));
33043 static void *_p_wxSplitterWindowTo_p_wxWindow(void *x
) {
33044 return (void *)((wxWindow
*) ((wxSplitterWindow
*) x
));
33046 static void *_p_wxSashWindowTo_p_wxWindow(void *x
) {
33047 return (void *)((wxWindow
*) ((wxSashWindow
*) x
));
33049 static void *_p_wxMDIClientWindowTo_p_wxWindow(void *x
) {
33050 return (void *)((wxWindow
*) ((wxMDIClientWindow
*) x
));
33052 static void *_p_wxPyScrolledWindowTo_p_wxWindow(void *x
) {
33053 return (void *)((wxWindow
*) (wxPanel
*)(wxScrolledWindow
*) ((wxPyScrolledWindow
*) x
));
33055 static void *_p_wxControlTo_p_wxWindow(void *x
) {
33056 return (void *)((wxWindow
*) ((wxControl
*) x
));
33058 static void *_p_wxPreviewFrameTo_p_wxWindow(void *x
) {
33059 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*) ((wxPreviewFrame
*) x
));
33061 static void *_p_wxPyPreviewFrameTo_p_wxWindow(void *x
) {
33062 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*)(wxPreviewFrame
*) ((wxPyPreviewFrame
*) x
));
33064 static void *_p_wxMDIChildFrameTo_p_wxWindow(void *x
) {
33065 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*) ((wxMDIChildFrame
*) x
));
33067 static void *_p_wxControlWithItemsTo_p_wxWindow(void *x
) {
33068 return (void *)((wxWindow
*) (wxControl
*) ((wxControlWithItems
*) x
));
33070 static void *_p_wxPyWindowTo_p_wxWindow(void *x
) {
33071 return (void *)((wxWindow
*) ((wxPyWindow
*) x
));
33073 static void *_p_wxPreviewCanvasTo_p_wxWindow(void *x
) {
33074 return (void *)((wxWindow
*) (wxPanel
*)(wxScrolledWindow
*) ((wxPreviewCanvas
*) x
));
33076 static void *_p_wxPyHtmlListBoxTo_p_wxWindow(void *x
) {
33077 return (void *)((wxWindow
*) (wxPanel
*)(wxPyVScrolledWindow
*)(wxPyVListBox
*) ((wxPyHtmlListBox
*) x
));
33079 static void *_p_wxPyVListBoxTo_p_wxWindow(void *x
) {
33080 return (void *)((wxWindow
*) (wxPanel
*)(wxPyVScrolledWindow
*) ((wxPyVListBox
*) x
));
33082 static void *_p_wxPreviewControlBarTo_p_wxWindow(void *x
) {
33083 return (void *)((wxWindow
*) (wxPanel
*) ((wxPreviewControlBar
*) x
));
33085 static void *_p_wxPyPreviewControlBarTo_p_wxWindow(void *x
) {
33086 return (void *)((wxWindow
*) (wxPanel
*)(wxPreviewControlBar
*) ((wxPyPreviewControlBar
*) x
));
33088 static void *_p_wxFrameTo_p_wxWindow(void *x
) {
33089 return (void *)((wxWindow
*) (wxTopLevelWindow
*) ((wxFrame
*) x
));
33091 static void *_p_wxFontDialogTo_p_wxWindow(void *x
) {
33092 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxFontDialog
*) x
));
33094 static void *_p_wxDirDialogTo_p_wxWindow(void *x
) {
33095 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxDirDialog
*) x
));
33097 static void *_p_wxColourDialogTo_p_wxWindow(void *x
) {
33098 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxColourDialog
*) x
));
33100 static void *_p_wxDialogTo_p_wxWindow(void *x
) {
33101 return (void *)((wxWindow
*) (wxTopLevelWindow
*) ((wxDialog
*) x
));
33103 static void *_p_wxMDIParentFrameTo_p_wxWindow(void *x
) {
33104 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*) ((wxMDIParentFrame
*) x
));
33106 static void *_p_wxPyScrolledWindowTo_p_wxScrolledWindow(void *x
) {
33107 return (void *)((wxScrolledWindow
*) ((wxPyScrolledWindow
*) x
));
33109 static void *_p_wxPreviewCanvasTo_p_wxScrolledWindow(void *x
) {
33110 return (void *)((wxScrolledWindow
*) ((wxPreviewCanvas
*) x
));
33112 static void *_p_wxPyPrintPreviewTo_p_wxPrintPreview(void *x
) {
33113 return (void *)((wxPrintPreview
*) ((wxPyPrintPreview
*) x
));
33115 static void *_p_wxColourDialogTo_p_wxDialog(void *x
) {
33116 return (void *)((wxDialog
*) ((wxColourDialog
*) x
));
33118 static void *_p_wxDirDialogTo_p_wxDialog(void *x
) {
33119 return (void *)((wxDialog
*) ((wxDirDialog
*) x
));
33121 static void *_p_wxFontDialogTo_p_wxDialog(void *x
) {
33122 return (void *)((wxDialog
*) ((wxFontDialog
*) x
));
33124 static void *_p_wxFileDialogTo_p_wxDialog(void *x
) {
33125 return (void *)((wxDialog
*) ((wxFileDialog
*) x
));
33127 static void *_p_wxMultiChoiceDialogTo_p_wxDialog(void *x
) {
33128 return (void *)((wxDialog
*) ((wxMultiChoiceDialog
*) x
));
33130 static void *_p_wxSingleChoiceDialogTo_p_wxDialog(void *x
) {
33131 return (void *)((wxDialog
*) ((wxSingleChoiceDialog
*) x
));
33133 static void *_p_wxTextEntryDialogTo_p_wxDialog(void *x
) {
33134 return (void *)((wxDialog
*) ((wxTextEntryDialog
*) x
));
33136 static void *_p_wxPasswordEntryDialogTo_p_wxDialog(void *x
) {
33137 return (void *)((wxDialog
*) (wxTextEntryDialog
*) ((wxPasswordEntryDialog
*) x
));
33139 static void *_p_wxNumberEntryDialogTo_p_wxDialog(void *x
) {
33140 return (void *)((wxDialog
*) ((wxNumberEntryDialog
*) x
));
33142 static void *_p_wxMessageDialogTo_p_wxDialog(void *x
) {
33143 return (void *)((wxDialog
*) ((wxMessageDialog
*) x
));
33145 static void *_p_wxFindReplaceDialogTo_p_wxDialog(void *x
) {
33146 return (void *)((wxDialog
*) ((wxFindReplaceDialog
*) x
));
33148 static void *_p_wxScrolledWindowTo_p_wxPanel(void *x
) {
33149 return (void *)((wxPanel
*) ((wxScrolledWindow
*) x
));
33151 static void *_p_wxPyVScrolledWindowTo_p_wxPanel(void *x
) {
33152 return (void *)((wxPanel
*) ((wxPyVScrolledWindow
*) x
));
33154 static void *_p_wxPyScrolledWindowTo_p_wxPanel(void *x
) {
33155 return (void *)((wxPanel
*) (wxScrolledWindow
*) ((wxPyScrolledWindow
*) x
));
33157 static void *_p_wxPyVListBoxTo_p_wxPanel(void *x
) {
33158 return (void *)((wxPanel
*) (wxPyVScrolledWindow
*) ((wxPyVListBox
*) x
));
33160 static void *_p_wxPyHtmlListBoxTo_p_wxPanel(void *x
) {
33161 return (void *)((wxPanel
*) (wxPyVScrolledWindow
*)(wxPyVListBox
*) ((wxPyHtmlListBox
*) x
));
33163 static void *_p_wxPyPanelTo_p_wxPanel(void *x
) {
33164 return (void *)((wxPanel
*) ((wxPyPanel
*) x
));
33166 static void *_p_wxPreviewCanvasTo_p_wxPanel(void *x
) {
33167 return (void *)((wxPanel
*) (wxScrolledWindow
*) ((wxPreviewCanvas
*) x
));
33169 static void *_p_wxPreviewControlBarTo_p_wxPanel(void *x
) {
33170 return (void *)((wxPanel
*) ((wxPreviewControlBar
*) x
));
33172 static void *_p_wxPyPreviewControlBarTo_p_wxPanel(void *x
) {
33173 return (void *)((wxPanel
*) (wxPreviewControlBar
*) ((wxPyPreviewControlBar
*) x
));
33175 static void *_p_wxChildFocusEventTo_p_wxCommandEvent(void *x
) {
33176 return (void *)((wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
33178 static void *_p_wxScrollEventTo_p_wxCommandEvent(void *x
) {
33179 return (void *)((wxCommandEvent
*) ((wxScrollEvent
*) x
));
33181 static void *_p_wxWindowCreateEventTo_p_wxCommandEvent(void *x
) {
33182 return (void *)((wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
33184 static void *_p_wxDateEventTo_p_wxCommandEvent(void *x
) {
33185 return (void *)((wxCommandEvent
*) ((wxDateEvent
*) x
));
33187 static void *_p_wxUpdateUIEventTo_p_wxCommandEvent(void *x
) {
33188 return (void *)((wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
33190 static void *_p_wxClipboardTextEventTo_p_wxCommandEvent(void *x
) {
33191 return (void *)((wxCommandEvent
*) ((wxClipboardTextEvent
*) x
));
33193 static void *_p_wxFindDialogEventTo_p_wxCommandEvent(void *x
) {
33194 return (void *)((wxCommandEvent
*) ((wxFindDialogEvent
*) x
));
33196 static void *_p_wxWindowDestroyEventTo_p_wxCommandEvent(void *x
) {
33197 return (void *)((wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
33199 static void *_p_wxContextMenuEventTo_p_wxCommandEvent(void *x
) {
33200 return (void *)((wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
33202 static void *_p_wxSplitterEventTo_p_wxCommandEvent(void *x
) {
33203 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*) ((wxSplitterEvent
*) x
));
33205 static void *_p_wxNotifyEventTo_p_wxCommandEvent(void *x
) {
33206 return (void *)((wxCommandEvent
*) ((wxNotifyEvent
*) x
));
33208 static void *_p_wxPyCommandEventTo_p_wxCommandEvent(void *x
) {
33209 return (void *)((wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
33211 static void *_p_wxSashEventTo_p_wxCommandEvent(void *x
) {
33212 return (void *)((wxCommandEvent
*) ((wxSashEvent
*) x
));
33214 static void *_p_wxPyPreviewControlBarTo_p_wxPreviewControlBar(void *x
) {
33215 return (void *)((wxPreviewControlBar
*) ((wxPyPreviewControlBar
*) x
));
33217 static swig_type_info _swigt__p_bool
= {"_p_bool", "bool *", 0, 0, (void*)0, 0};
33218 static swig_type_info _swigt__p_char
= {"_p_char", "char *", 0, 0, (void*)0, 0};
33219 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};
33220 static swig_type_info _swigt__p_int
= {"_p_int", "int *", 0, 0, (void*)0, 0};
33221 static swig_type_info _swigt__p_unsigned_char
= {"_p_unsigned_char", "unsigned char *|byte *", 0, 0, (void*)0, 0};
33222 static swig_type_info _swigt__p_unsigned_int
= {"_p_unsigned_int", "unsigned int *|time_t *", 0, 0, (void*)0, 0};
33223 static swig_type_info _swigt__p_unsigned_long
= {"_p_unsigned_long", "unsigned long *|wxUIntPtr *", 0, 0, (void*)0, 0};
33224 static swig_type_info _swigt__p_wxArrayInt
= {"_p_wxArrayInt", "wxArrayInt *", 0, 0, (void*)0, 0};
33225 static swig_type_info _swigt__p_wxBitmap
= {"_p_wxBitmap", "wxBitmap *", 0, 0, (void*)0, 0};
33226 static swig_type_info _swigt__p_wxCalculateLayoutEvent
= {"_p_wxCalculateLayoutEvent", "wxCalculateLayoutEvent *", 0, 0, (void*)0, 0};
33227 static swig_type_info _swigt__p_wxColour
= {"_p_wxColour", "wxColour *", 0, 0, (void*)0, 0};
33228 static swig_type_info _swigt__p_wxColourData
= {"_p_wxColourData", "wxColourData *", 0, 0, (void*)0, 0};
33229 static swig_type_info _swigt__p_wxColourDialog
= {"_p_wxColourDialog", "wxColourDialog *", 0, 0, (void*)0, 0};
33230 static swig_type_info _swigt__p_wxCommandEvent
= {"_p_wxCommandEvent", "wxCommandEvent *", 0, 0, (void*)0, 0};
33231 static swig_type_info _swigt__p_wxWindowDestroyEvent
= {"_p_wxWindowDestroyEvent", 0, 0, 0, 0, 0};
33232 static swig_type_info _swigt__p_wxClipboardTextEvent
= {"_p_wxClipboardTextEvent", 0, 0, 0, 0, 0};
33233 static swig_type_info _swigt__p_wxScrollEvent
= {"_p_wxScrollEvent", 0, 0, 0, 0, 0};
33234 static swig_type_info _swigt__p_wxPyCommandEvent
= {"_p_wxPyCommandEvent", 0, 0, 0, 0, 0};
33235 static swig_type_info _swigt__p_wxContextMenuEvent
= {"_p_wxContextMenuEvent", 0, 0, 0, 0, 0};
33236 static swig_type_info _swigt__p_wxChildFocusEvent
= {"_p_wxChildFocusEvent", 0, 0, 0, 0, 0};
33237 static swig_type_info _swigt__p_wxWindowCreateEvent
= {"_p_wxWindowCreateEvent", 0, 0, 0, 0, 0};
33238 static swig_type_info _swigt__p_wxDateEvent
= {"_p_wxDateEvent", 0, 0, 0, 0, 0};
33239 static swig_type_info _swigt__p_wxUpdateUIEvent
= {"_p_wxUpdateUIEvent", 0, 0, 0, 0, 0};
33240 static swig_type_info _swigt__p_wxDC
= {"_p_wxDC", "wxDC *", 0, 0, (void*)0, 0};
33241 static swig_type_info _swigt__p_wxDialog
= {"_p_wxDialog", "wxDialog *", 0, 0, (void*)0, 0};
33242 static swig_type_info _swigt__p_wxDirDialog
= {"_p_wxDirDialog", "wxDirDialog *", 0, 0, (void*)0, 0};
33243 static swig_type_info _swigt__p_wxDuplexMode
= {"_p_wxDuplexMode", "enum wxDuplexMode *|wxDuplexMode *", 0, 0, (void*)0, 0};
33244 static swig_type_info _swigt__p_wxEvent
= {"_p_wxEvent", "wxEvent *", 0, 0, (void*)0, 0};
33245 static swig_type_info _swigt__p_wxMenuEvent
= {"_p_wxMenuEvent", 0, 0, 0, 0, 0};
33246 static swig_type_info _swigt__p_wxCloseEvent
= {"_p_wxCloseEvent", 0, 0, 0, 0, 0};
33247 static swig_type_info _swigt__p_wxMouseEvent
= {"_p_wxMouseEvent", 0, 0, 0, 0, 0};
33248 static swig_type_info _swigt__p_wxEraseEvent
= {"_p_wxEraseEvent", 0, 0, 0, 0, 0};
33249 static swig_type_info _swigt__p_wxSetCursorEvent
= {"_p_wxSetCursorEvent", 0, 0, 0, 0, 0};
33250 static swig_type_info _swigt__p_wxInitDialogEvent
= {"_p_wxInitDialogEvent", 0, 0, 0, 0, 0};
33251 static swig_type_info _swigt__p_wxPyEvent
= {"_p_wxPyEvent", 0, 0, 0, 0, 0};
33252 static swig_type_info _swigt__p_wxMouseCaptureLostEvent
= {"_p_wxMouseCaptureLostEvent", 0, 0, 0, 0, 0};
33253 static swig_type_info _swigt__p_wxIdleEvent
= {"_p_wxIdleEvent", 0, 0, 0, 0, 0};
33254 static swig_type_info _swigt__p_wxQueryNewPaletteEvent
= {"_p_wxQueryNewPaletteEvent", 0, 0, 0, 0, 0};
33255 static swig_type_info _swigt__p_wxMaximizeEvent
= {"_p_wxMaximizeEvent", 0, 0, 0, 0, 0};
33256 static swig_type_info _swigt__p_wxIconizeEvent
= {"_p_wxIconizeEvent", 0, 0, 0, 0, 0};
33257 static swig_type_info _swigt__p_wxActivateEvent
= {"_p_wxActivateEvent", 0, 0, 0, 0, 0};
33258 static swig_type_info _swigt__p_wxSizeEvent
= {"_p_wxSizeEvent", 0, 0, 0, 0, 0};
33259 static swig_type_info _swigt__p_wxMoveEvent
= {"_p_wxMoveEvent", 0, 0, 0, 0, 0};
33260 static swig_type_info _swigt__p_wxPaintEvent
= {"_p_wxPaintEvent", 0, 0, 0, 0, 0};
33261 static swig_type_info _swigt__p_wxNcPaintEvent
= {"_p_wxNcPaintEvent", 0, 0, 0, 0, 0};
33262 static swig_type_info _swigt__p_wxPaletteChangedEvent
= {"_p_wxPaletteChangedEvent", 0, 0, 0, 0, 0};
33263 static swig_type_info _swigt__p_wxDisplayChangedEvent
= {"_p_wxDisplayChangedEvent", 0, 0, 0, 0, 0};
33264 static swig_type_info _swigt__p_wxMouseCaptureChangedEvent
= {"_p_wxMouseCaptureChangedEvent", 0, 0, 0, 0, 0};
33265 static swig_type_info _swigt__p_wxSysColourChangedEvent
= {"_p_wxSysColourChangedEvent", 0, 0, 0, 0, 0};
33266 static swig_type_info _swigt__p_wxDropFilesEvent
= {"_p_wxDropFilesEvent", 0, 0, 0, 0, 0};
33267 static swig_type_info _swigt__p_wxFocusEvent
= {"_p_wxFocusEvent", 0, 0, 0, 0, 0};
33268 static swig_type_info _swigt__p_wxShowEvent
= {"_p_wxShowEvent", 0, 0, 0, 0, 0};
33269 static swig_type_info _swigt__p_wxNavigationKeyEvent
= {"_p_wxNavigationKeyEvent", 0, 0, 0, 0, 0};
33270 static swig_type_info _swigt__p_wxKeyEvent
= {"_p_wxKeyEvent", 0, 0, 0, 0, 0};
33271 static swig_type_info _swigt__p_wxEvtHandler
= {"_p_wxEvtHandler", "wxEvtHandler *", 0, 0, (void*)0, 0};
33272 static swig_type_info _swigt__p_wxValidator
= {"_p_wxValidator", 0, 0, 0, 0, 0};
33273 static swig_type_info _swigt__p_wxPyValidator
= {"_p_wxPyValidator", 0, 0, 0, 0, 0};
33274 static swig_type_info _swigt__p_wxControl
= {"_p_wxControl", 0, 0, 0, 0, 0};
33275 static swig_type_info _swigt__p_wxPyApp
= {"_p_wxPyApp", 0, 0, 0, 0, 0};
33276 static swig_type_info _swigt__p_wxControlWithItems
= {"_p_wxControlWithItems", 0, 0, 0, 0, 0};
33277 static swig_type_info _swigt__p_wxFileDialog
= {"_p_wxFileDialog", "wxFileDialog *", 0, 0, (void*)0, 0};
33278 static swig_type_info _swigt__p_wxFileSystem
= {"_p_wxFileSystem", "wxFileSystem *", 0, 0, (void*)0, 0};
33279 static swig_type_info _swigt__p_wxFindDialogEvent
= {"_p_wxFindDialogEvent", "wxFindDialogEvent *", 0, 0, (void*)0, 0};
33280 static swig_type_info _swigt__p_wxFindReplaceData
= {"_p_wxFindReplaceData", "wxFindReplaceData *", 0, 0, (void*)0, 0};
33281 static swig_type_info _swigt__p_wxFindReplaceDialog
= {"_p_wxFindReplaceDialog", "wxFindReplaceDialog *", 0, 0, (void*)0, 0};
33282 static swig_type_info _swigt__p_wxFont
= {"_p_wxFont", "wxFont *", 0, 0, (void*)0, 0};
33283 static swig_type_info _swigt__p_wxFontData
= {"_p_wxFontData", "wxFontData *", 0, 0, (void*)0, 0};
33284 static swig_type_info _swigt__p_wxFontDialog
= {"_p_wxFontDialog", "wxFontDialog *", 0, 0, (void*)0, 0};
33285 static swig_type_info _swigt__p_wxFrame
= {"_p_wxFrame", "wxFrame *", 0, 0, (void*)0, 0};
33286 static swig_type_info _swigt__p_wxHtmlLinkInfo
= {"_p_wxHtmlLinkInfo", "wxHtmlLinkInfo *", 0, 0, (void*)0, 0};
33287 static swig_type_info _swigt__p_wxIcon
= {"_p_wxIcon", "wxIcon *", 0, 0, (void*)0, 0};
33288 static swig_type_info _swigt__p_wxIconBundle
= {"_p_wxIconBundle", "wxIconBundle *", 0, 0, (void*)0, 0};
33289 static swig_type_info _swigt__p_wxLayoutAlgorithm
= {"_p_wxLayoutAlgorithm", "wxLayoutAlgorithm *", 0, 0, (void*)0, 0};
33290 static swig_type_info _swigt__p_wxMDIChildFrame
= {"_p_wxMDIChildFrame", "wxMDIChildFrame *", 0, 0, (void*)0, 0};
33291 static swig_type_info _swigt__p_wxMDIClientWindow
= {"_p_wxMDIClientWindow", "wxMDIClientWindow *", 0, 0, (void*)0, 0};
33292 static swig_type_info _swigt__p_wxMDIParentFrame
= {"_p_wxMDIParentFrame", "wxMDIParentFrame *", 0, 0, (void*)0, 0};
33293 static swig_type_info _swigt__p_wxMenu
= {"_p_wxMenu", "wxMenu *", 0, 0, (void*)0, 0};
33294 static swig_type_info _swigt__p_wxMenuBar
= {"_p_wxMenuBar", "wxMenuBar *", 0, 0, (void*)0, 0};
33295 static swig_type_info _swigt__p_wxMessageDialog
= {"_p_wxMessageDialog", "wxMessageDialog *", 0, 0, (void*)0, 0};
33296 static swig_type_info _swigt__p_wxMiniFrame
= {"_p_wxMiniFrame", "wxMiniFrame *", 0, 0, (void*)0, 0};
33297 static swig_type_info _swigt__p_wxMultiChoiceDialog
= {"_p_wxMultiChoiceDialog", "wxMultiChoiceDialog *", 0, 0, (void*)0, 0};
33298 static swig_type_info _swigt__p_wxNotifyEvent
= {"_p_wxNotifyEvent", "wxNotifyEvent *", 0, 0, (void*)0, 0};
33299 static swig_type_info _swigt__p_wxNumberEntryDialog
= {"_p_wxNumberEntryDialog", "wxNumberEntryDialog *", 0, 0, (void*)0, 0};
33300 static swig_type_info _swigt__p_wxObject
= {"_p_wxObject", "wxObject *", 0, 0, (void*)0, 0};
33301 static swig_type_info _swigt__p_wxLayoutConstraints
= {"_p_wxLayoutConstraints", 0, 0, 0, 0, 0};
33302 static swig_type_info _swigt__p_wxSizerItem
= {"_p_wxSizerItem", 0, 0, 0, 0, 0};
33303 static swig_type_info _swigt__p_wxGBSizerItem
= {"_p_wxGBSizerItem", 0, 0, 0, 0, 0};
33304 static swig_type_info _swigt__p_wxIndividualLayoutConstraint
= {"_p_wxIndividualLayoutConstraint", 0, 0, 0, 0, 0};
33305 static swig_type_info _swigt__p_wxStaticBoxSizer
= {"_p_wxStaticBoxSizer", 0, 0, 0, 0, 0};
33306 static swig_type_info _swigt__p_wxBoxSizer
= {"_p_wxBoxSizer", 0, 0, 0, 0, 0};
33307 static swig_type_info _swigt__p_wxSizer
= {"_p_wxSizer", 0, 0, 0, 0, 0};
33308 static swig_type_info _swigt__p_wxGridBagSizer
= {"_p_wxGridBagSizer", 0, 0, 0, 0, 0};
33309 static swig_type_info _swigt__p_wxGridSizer
= {"_p_wxGridSizer", 0, 0, 0, 0, 0};
33310 static swig_type_info _swigt__p_wxFlexGridSizer
= {"_p_wxFlexGridSizer", 0, 0, 0, 0, 0};
33311 static swig_type_info _swigt__p_wxFSFile
= {"_p_wxFSFile", 0, 0, 0, 0, 0};
33312 static swig_type_info _swigt__p_wxPySizer
= {"_p_wxPySizer", 0, 0, 0, 0, 0};
33313 static swig_type_info _swigt__p_wxMenuItem
= {"_p_wxMenuItem", 0, 0, 0, 0, 0};
33314 static swig_type_info _swigt__p_wxBMPHandler
= {"_p_wxBMPHandler", 0, 0, 0, 0, 0};
33315 static swig_type_info _swigt__p_wxICOHandler
= {"_p_wxICOHandler", 0, 0, 0, 0, 0};
33316 static swig_type_info _swigt__p_wxCURHandler
= {"_p_wxCURHandler", 0, 0, 0, 0, 0};
33317 static swig_type_info _swigt__p_wxANIHandler
= {"_p_wxANIHandler", 0, 0, 0, 0, 0};
33318 static swig_type_info _swigt__p_wxPNGHandler
= {"_p_wxPNGHandler", 0, 0, 0, 0, 0};
33319 static swig_type_info _swigt__p_wxGIFHandler
= {"_p_wxGIFHandler", 0, 0, 0, 0, 0};
33320 static swig_type_info _swigt__p_wxPCXHandler
= {"_p_wxPCXHandler", 0, 0, 0, 0, 0};
33321 static swig_type_info _swigt__p_wxJPEGHandler
= {"_p_wxJPEGHandler", 0, 0, 0, 0, 0};
33322 static swig_type_info _swigt__p_wxPNMHandler
= {"_p_wxPNMHandler", 0, 0, 0, 0, 0};
33323 static swig_type_info _swigt__p_wxPyImageHandler
= {"_p_wxPyImageHandler", 0, 0, 0, 0, 0};
33324 static swig_type_info _swigt__p_wxImageHandler
= {"_p_wxImageHandler", 0, 0, 0, 0, 0};
33325 static swig_type_info _swigt__p_wxXPMHandler
= {"_p_wxXPMHandler", 0, 0, 0, 0, 0};
33326 static swig_type_info _swigt__p_wxTIFFHandler
= {"_p_wxTIFFHandler", 0, 0, 0, 0, 0};
33327 static swig_type_info _swigt__p_wxTGAHandler
= {"_p_wxTGAHandler", 0, 0, 0, 0, 0};
33328 static swig_type_info _swigt__p_wxAcceleratorTable
= {"_p_wxAcceleratorTable", 0, 0, 0, 0, 0};
33329 static swig_type_info _swigt__p_wxImage
= {"_p_wxImage", 0, 0, 0, 0, 0};
33330 static swig_type_info _swigt__p_wxPageSetupDialog
= {"_p_wxPageSetupDialog", "wxPageSetupDialog *", 0, 0, (void*)0, 0};
33331 static swig_type_info _swigt__p_wxPageSetupDialogData
= {"_p_wxPageSetupDialogData", "wxPageSetupDialogData *", 0, 0, (void*)0, 0};
33332 static swig_type_info _swigt__p_wxPanel
= {"_p_wxPanel", "wxPanel *", 0, 0, (void*)0, 0};
33333 static swig_type_info _swigt__p_wxPaperSize
= {"_p_wxPaperSize", "enum wxPaperSize *|wxPaperSize *", 0, 0, (void*)0, 0};
33334 static swig_type_info _swigt__p_wxPasswordEntryDialog
= {"_p_wxPasswordEntryDialog", "wxPasswordEntryDialog *", 0, 0, (void*)0, 0};
33335 static swig_type_info _swigt__p_wxPoint
= {"_p_wxPoint", "wxPoint *", 0, 0, (void*)0, 0};
33336 static swig_type_info _swigt__p_wxPopupWindow
= {"_p_wxPopupWindow", "wxPopupWindow *", 0, 0, (void*)0, 0};
33337 static swig_type_info _swigt__p_wxPreviewCanvas
= {"_p_wxPreviewCanvas", "wxPreviewCanvas *", 0, 0, (void*)0, 0};
33338 static swig_type_info _swigt__p_wxPreviewControlBar
= {"_p_wxPreviewControlBar", "wxPreviewControlBar *", 0, 0, (void*)0, 0};
33339 static swig_type_info _swigt__p_wxPreviewFrame
= {"_p_wxPreviewFrame", "wxPreviewFrame *", 0, 0, (void*)0, 0};
33340 static swig_type_info _swigt__p_wxPrintData
= {"_p_wxPrintData", "wxPrintData *", 0, 0, (void*)0, 0};
33341 static swig_type_info _swigt__p_wxPrintDialog
= {"_p_wxPrintDialog", "wxPrintDialog *", 0, 0, (void*)0, 0};
33342 static swig_type_info _swigt__p_wxPrintDialogData
= {"_p_wxPrintDialogData", "wxPrintDialogData *", 0, 0, (void*)0, 0};
33343 static swig_type_info _swigt__p_wxPrintPreview
= {"_p_wxPrintPreview", "wxPrintPreview *", 0, 0, (void*)0, 0};
33344 static swig_type_info _swigt__p_wxPrinter
= {"_p_wxPrinter", "wxPrinter *", 0, 0, (void*)0, 0};
33345 static swig_type_info _swigt__p_wxProgressDialog
= {"_p_wxProgressDialog", "wxProgressDialog *", 0, 0, (void*)0, 0};
33346 static swig_type_info _swigt__p_wxPyHtmlListBox
= {"_p_wxPyHtmlListBox", "wxPyHtmlListBox *", 0, 0, (void*)0, 0};
33347 static swig_type_info _swigt__p_wxPyPanel
= {"_p_wxPyPanel", "wxPyPanel *", 0, 0, (void*)0, 0};
33348 static swig_type_info _swigt__p_wxPyPopupTransientWindow
= {"_p_wxPyPopupTransientWindow", "wxPyPopupTransientWindow *", 0, 0, (void*)0, 0};
33349 static swig_type_info _swigt__p_wxPyPreviewControlBar
= {"_p_wxPyPreviewControlBar", "wxPyPreviewControlBar *", 0, 0, (void*)0, 0};
33350 static swig_type_info _swigt__p_wxPyPreviewFrame
= {"_p_wxPyPreviewFrame", "wxPyPreviewFrame *", 0, 0, (void*)0, 0};
33351 static swig_type_info _swigt__p_wxPyPrintPreview
= {"_p_wxPyPrintPreview", "wxPyPrintPreview *", 0, 0, (void*)0, 0};
33352 static swig_type_info _swigt__p_wxPyPrintout
= {"_p_wxPyPrintout", "wxPyPrintout *", 0, 0, (void*)0, 0};
33353 static swig_type_info _swigt__p_wxPyScrolledWindow
= {"_p_wxPyScrolledWindow", "wxPyScrolledWindow *", 0, 0, (void*)0, 0};
33354 static swig_type_info _swigt__p_wxPyTaskBarIcon
= {"_p_wxPyTaskBarIcon", "wxPyTaskBarIcon *", 0, 0, (void*)0, 0};
33355 static swig_type_info _swigt__p_wxPyVListBox
= {"_p_wxPyVListBox", "wxPyVListBox *", 0, 0, (void*)0, 0};
33356 static swig_type_info _swigt__p_wxPyVScrolledWindow
= {"_p_wxPyVScrolledWindow", "wxPyVScrolledWindow *", 0, 0, (void*)0, 0};
33357 static swig_type_info _swigt__p_wxPyWindow
= {"_p_wxPyWindow", "wxPyWindow *", 0, 0, (void*)0, 0};
33358 static swig_type_info _swigt__p_wxQueryLayoutInfoEvent
= {"_p_wxQueryLayoutInfoEvent", "wxQueryLayoutInfoEvent *", 0, 0, (void*)0, 0};
33359 static swig_type_info _swigt__p_wxRect
= {"_p_wxRect", "wxRect *", 0, 0, (void*)0, 0};
33360 static swig_type_info _swigt__p_wxRegion
= {"_p_wxRegion", "wxRegion *", 0, 0, (void*)0, 0};
33361 static swig_type_info _swigt__p_wxSashEvent
= {"_p_wxSashEvent", "wxSashEvent *", 0, 0, (void*)0, 0};
33362 static swig_type_info _swigt__p_wxSashLayoutWindow
= {"_p_wxSashLayoutWindow", "wxSashLayoutWindow *", 0, 0, (void*)0, 0};
33363 static swig_type_info _swigt__p_wxSashWindow
= {"_p_wxSashWindow", "wxSashWindow *", 0, 0, (void*)0, 0};
33364 static swig_type_info _swigt__p_wxScrollWinEvent
= {"_p_wxScrollWinEvent", "wxScrollWinEvent *", 0, 0, (void*)0, 0};
33365 static swig_type_info _swigt__p_wxScrolledWindow
= {"_p_wxScrolledWindow", "wxScrolledWindow *", 0, 0, (void*)0, 0};
33366 static swig_type_info _swigt__p_wxSingleChoiceDialog
= {"_p_wxSingleChoiceDialog", "wxSingleChoiceDialog *", 0, 0, (void*)0, 0};
33367 static swig_type_info _swigt__p_wxSize
= {"_p_wxSize", "wxSize *", 0, 0, (void*)0, 0};
33368 static swig_type_info _swigt__p_wxSplashScreen
= {"_p_wxSplashScreen", "wxSplashScreen *", 0, 0, (void*)0, 0};
33369 static swig_type_info _swigt__p_wxSplashScreenWindow
= {"_p_wxSplashScreenWindow", "wxSplashScreenWindow *", 0, 0, (void*)0, 0};
33370 static swig_type_info _swigt__p_wxSplitterEvent
= {"_p_wxSplitterEvent", "wxSplitterEvent *", 0, 0, (void*)0, 0};
33371 static swig_type_info _swigt__p_wxSplitterWindow
= {"_p_wxSplitterWindow", "wxSplitterWindow *", 0, 0, (void*)0, 0};
33372 static swig_type_info _swigt__p_wxStatusBar
= {"_p_wxStatusBar", "wxStatusBar *", 0, 0, (void*)0, 0};
33373 static swig_type_info _swigt__p_wxStdDialogButtonSizer
= {"_p_wxStdDialogButtonSizer", "wxStdDialogButtonSizer *", 0, 0, (void*)0, 0};
33374 static swig_type_info _swigt__p_wxString
= {"_p_wxString", "wxString *", 0, 0, (void*)0, 0};
33375 static swig_type_info _swigt__p_wxTaskBarIcon
= {"_p_wxTaskBarIcon", "wxTaskBarIcon *", 0, 0, (void*)0, 0};
33376 static swig_type_info _swigt__p_wxTaskBarIconEvent
= {"_p_wxTaskBarIconEvent", "wxTaskBarIconEvent *", 0, 0, (void*)0, 0};
33377 static swig_type_info _swigt__p_wxTextEntryDialog
= {"_p_wxTextEntryDialog", "wxTextEntryDialog *", 0, 0, (void*)0, 0};
33378 static swig_type_info _swigt__p_wxTipWindow
= {"_p_wxTipWindow", "wxTipWindow *", 0, 0, (void*)0, 0};
33379 static swig_type_info _swigt__p_wxToolBar
= {"_p_wxToolBar", "wxToolBar *", 0, 0, (void*)0, 0};
33380 static swig_type_info _swigt__p_wxTopLevelWindow
= {"_p_wxTopLevelWindow", "wxTopLevelWindow *", 0, 0, (void*)0, 0};
33381 static swig_type_info _swigt__p_wxVisualAttributes
= {"_p_wxVisualAttributes", "wxVisualAttributes *", 0, 0, (void*)0, 0};
33382 static swig_type_info _swigt__p_wxWindow
= {"_p_wxWindow", "wxWindow *", 0, 0, (void*)0, 0};
33384 static swig_type_info
*swig_type_initial
[] = {
33387 &_swigt__p_form_ops_t
,
33389 &_swigt__p_unsigned_char
,
33390 &_swigt__p_unsigned_int
,
33391 &_swigt__p_unsigned_long
,
33392 &_swigt__p_wxANIHandler
,
33393 &_swigt__p_wxAcceleratorTable
,
33394 &_swigt__p_wxActivateEvent
,
33395 &_swigt__p_wxArrayInt
,
33396 &_swigt__p_wxBMPHandler
,
33397 &_swigt__p_wxBitmap
,
33398 &_swigt__p_wxBoxSizer
,
33399 &_swigt__p_wxCURHandler
,
33400 &_swigt__p_wxCalculateLayoutEvent
,
33401 &_swigt__p_wxChildFocusEvent
,
33402 &_swigt__p_wxClipboardTextEvent
,
33403 &_swigt__p_wxCloseEvent
,
33404 &_swigt__p_wxColour
,
33405 &_swigt__p_wxColourData
,
33406 &_swigt__p_wxColourDialog
,
33407 &_swigt__p_wxCommandEvent
,
33408 &_swigt__p_wxContextMenuEvent
,
33409 &_swigt__p_wxControl
,
33410 &_swigt__p_wxControlWithItems
,
33412 &_swigt__p_wxDateEvent
,
33413 &_swigt__p_wxDialog
,
33414 &_swigt__p_wxDirDialog
,
33415 &_swigt__p_wxDisplayChangedEvent
,
33416 &_swigt__p_wxDropFilesEvent
,
33417 &_swigt__p_wxDuplexMode
,
33418 &_swigt__p_wxEraseEvent
,
33419 &_swigt__p_wxEvent
,
33420 &_swigt__p_wxEvtHandler
,
33421 &_swigt__p_wxFSFile
,
33422 &_swigt__p_wxFileDialog
,
33423 &_swigt__p_wxFileSystem
,
33424 &_swigt__p_wxFindDialogEvent
,
33425 &_swigt__p_wxFindReplaceData
,
33426 &_swigt__p_wxFindReplaceDialog
,
33427 &_swigt__p_wxFlexGridSizer
,
33428 &_swigt__p_wxFocusEvent
,
33430 &_swigt__p_wxFontData
,
33431 &_swigt__p_wxFontDialog
,
33432 &_swigt__p_wxFrame
,
33433 &_swigt__p_wxGBSizerItem
,
33434 &_swigt__p_wxGIFHandler
,
33435 &_swigt__p_wxGridBagSizer
,
33436 &_swigt__p_wxGridSizer
,
33437 &_swigt__p_wxHtmlLinkInfo
,
33438 &_swigt__p_wxICOHandler
,
33440 &_swigt__p_wxIconBundle
,
33441 &_swigt__p_wxIconizeEvent
,
33442 &_swigt__p_wxIdleEvent
,
33443 &_swigt__p_wxImage
,
33444 &_swigt__p_wxImageHandler
,
33445 &_swigt__p_wxIndividualLayoutConstraint
,
33446 &_swigt__p_wxInitDialogEvent
,
33447 &_swigt__p_wxJPEGHandler
,
33448 &_swigt__p_wxKeyEvent
,
33449 &_swigt__p_wxLayoutAlgorithm
,
33450 &_swigt__p_wxLayoutConstraints
,
33451 &_swigt__p_wxMDIChildFrame
,
33452 &_swigt__p_wxMDIClientWindow
,
33453 &_swigt__p_wxMDIParentFrame
,
33454 &_swigt__p_wxMaximizeEvent
,
33456 &_swigt__p_wxMenuBar
,
33457 &_swigt__p_wxMenuEvent
,
33458 &_swigt__p_wxMenuItem
,
33459 &_swigt__p_wxMessageDialog
,
33460 &_swigt__p_wxMiniFrame
,
33461 &_swigt__p_wxMouseCaptureChangedEvent
,
33462 &_swigt__p_wxMouseCaptureLostEvent
,
33463 &_swigt__p_wxMouseEvent
,
33464 &_swigt__p_wxMoveEvent
,
33465 &_swigt__p_wxMultiChoiceDialog
,
33466 &_swigt__p_wxNavigationKeyEvent
,
33467 &_swigt__p_wxNcPaintEvent
,
33468 &_swigt__p_wxNotifyEvent
,
33469 &_swigt__p_wxNumberEntryDialog
,
33470 &_swigt__p_wxObject
,
33471 &_swigt__p_wxPCXHandler
,
33472 &_swigt__p_wxPNGHandler
,
33473 &_swigt__p_wxPNMHandler
,
33474 &_swigt__p_wxPageSetupDialog
,
33475 &_swigt__p_wxPageSetupDialogData
,
33476 &_swigt__p_wxPaintEvent
,
33477 &_swigt__p_wxPaletteChangedEvent
,
33478 &_swigt__p_wxPanel
,
33479 &_swigt__p_wxPaperSize
,
33480 &_swigt__p_wxPasswordEntryDialog
,
33481 &_swigt__p_wxPoint
,
33482 &_swigt__p_wxPopupWindow
,
33483 &_swigt__p_wxPreviewCanvas
,
33484 &_swigt__p_wxPreviewControlBar
,
33485 &_swigt__p_wxPreviewFrame
,
33486 &_swigt__p_wxPrintData
,
33487 &_swigt__p_wxPrintDialog
,
33488 &_swigt__p_wxPrintDialogData
,
33489 &_swigt__p_wxPrintPreview
,
33490 &_swigt__p_wxPrinter
,
33491 &_swigt__p_wxProgressDialog
,
33492 &_swigt__p_wxPyApp
,
33493 &_swigt__p_wxPyCommandEvent
,
33494 &_swigt__p_wxPyEvent
,
33495 &_swigt__p_wxPyHtmlListBox
,
33496 &_swigt__p_wxPyImageHandler
,
33497 &_swigt__p_wxPyPanel
,
33498 &_swigt__p_wxPyPopupTransientWindow
,
33499 &_swigt__p_wxPyPreviewControlBar
,
33500 &_swigt__p_wxPyPreviewFrame
,
33501 &_swigt__p_wxPyPrintPreview
,
33502 &_swigt__p_wxPyPrintout
,
33503 &_swigt__p_wxPyScrolledWindow
,
33504 &_swigt__p_wxPySizer
,
33505 &_swigt__p_wxPyTaskBarIcon
,
33506 &_swigt__p_wxPyVListBox
,
33507 &_swigt__p_wxPyVScrolledWindow
,
33508 &_swigt__p_wxPyValidator
,
33509 &_swigt__p_wxPyWindow
,
33510 &_swigt__p_wxQueryLayoutInfoEvent
,
33511 &_swigt__p_wxQueryNewPaletteEvent
,
33513 &_swigt__p_wxRegion
,
33514 &_swigt__p_wxSashEvent
,
33515 &_swigt__p_wxSashLayoutWindow
,
33516 &_swigt__p_wxSashWindow
,
33517 &_swigt__p_wxScrollEvent
,
33518 &_swigt__p_wxScrollWinEvent
,
33519 &_swigt__p_wxScrolledWindow
,
33520 &_swigt__p_wxSetCursorEvent
,
33521 &_swigt__p_wxShowEvent
,
33522 &_swigt__p_wxSingleChoiceDialog
,
33524 &_swigt__p_wxSizeEvent
,
33525 &_swigt__p_wxSizer
,
33526 &_swigt__p_wxSizerItem
,
33527 &_swigt__p_wxSplashScreen
,
33528 &_swigt__p_wxSplashScreenWindow
,
33529 &_swigt__p_wxSplitterEvent
,
33530 &_swigt__p_wxSplitterWindow
,
33531 &_swigt__p_wxStaticBoxSizer
,
33532 &_swigt__p_wxStatusBar
,
33533 &_swigt__p_wxStdDialogButtonSizer
,
33534 &_swigt__p_wxString
,
33535 &_swigt__p_wxSysColourChangedEvent
,
33536 &_swigt__p_wxTGAHandler
,
33537 &_swigt__p_wxTIFFHandler
,
33538 &_swigt__p_wxTaskBarIcon
,
33539 &_swigt__p_wxTaskBarIconEvent
,
33540 &_swigt__p_wxTextEntryDialog
,
33541 &_swigt__p_wxTipWindow
,
33542 &_swigt__p_wxToolBar
,
33543 &_swigt__p_wxTopLevelWindow
,
33544 &_swigt__p_wxUpdateUIEvent
,
33545 &_swigt__p_wxValidator
,
33546 &_swigt__p_wxVisualAttributes
,
33547 &_swigt__p_wxWindow
,
33548 &_swigt__p_wxWindowCreateEvent
,
33549 &_swigt__p_wxWindowDestroyEvent
,
33550 &_swigt__p_wxXPMHandler
,
33553 static swig_cast_info _swigc__p_bool
[] = { {&_swigt__p_bool
, 0, 0, 0},{0, 0, 0, 0}};
33554 static swig_cast_info _swigc__p_char
[] = { {&_swigt__p_char
, 0, 0, 0},{0, 0, 0, 0}};
33555 static swig_cast_info _swigc__p_form_ops_t
[] = { {&_swigt__p_form_ops_t
, 0, 0, 0},{0, 0, 0, 0}};
33556 static swig_cast_info _swigc__p_int
[] = { {&_swigt__p_int
, 0, 0, 0},{0, 0, 0, 0}};
33557 static swig_cast_info _swigc__p_unsigned_char
[] = { {&_swigt__p_unsigned_char
, 0, 0, 0},{0, 0, 0, 0}};
33558 static swig_cast_info _swigc__p_unsigned_int
[] = { {&_swigt__p_unsigned_int
, 0, 0, 0},{0, 0, 0, 0}};
33559 static swig_cast_info _swigc__p_unsigned_long
[] = { {&_swigt__p_unsigned_long
, 0, 0, 0},{0, 0, 0, 0}};
33560 static swig_cast_info _swigc__p_wxArrayInt
[] = { {&_swigt__p_wxArrayInt
, 0, 0, 0},{0, 0, 0, 0}};
33561 static swig_cast_info _swigc__p_wxBitmap
[] = { {&_swigt__p_wxBitmap
, 0, 0, 0},{0, 0, 0, 0}};
33562 static swig_cast_info _swigc__p_wxCalculateLayoutEvent
[] = { {&_swigt__p_wxCalculateLayoutEvent
, 0, 0, 0},{0, 0, 0, 0}};
33563 static swig_cast_info _swigc__p_wxColour
[] = { {&_swigt__p_wxColour
, 0, 0, 0},{0, 0, 0, 0}};
33564 static swig_cast_info _swigc__p_wxColourData
[] = { {&_swigt__p_wxColourData
, 0, 0, 0},{0, 0, 0, 0}};
33565 static swig_cast_info _swigc__p_wxColourDialog
[] = { {&_swigt__p_wxColourDialog
, 0, 0, 0},{0, 0, 0, 0}};
33566 static swig_cast_info _swigc__p_wxWindowDestroyEvent
[] = {{&_swigt__p_wxWindowDestroyEvent
, 0, 0, 0},{0, 0, 0, 0}};
33567 static swig_cast_info _swigc__p_wxClipboardTextEvent
[] = {{&_swigt__p_wxClipboardTextEvent
, 0, 0, 0},{0, 0, 0, 0}};
33568 static swig_cast_info _swigc__p_wxScrollEvent
[] = {{&_swigt__p_wxScrollEvent
, 0, 0, 0},{0, 0, 0, 0}};
33569 static swig_cast_info _swigc__p_wxPyCommandEvent
[] = {{&_swigt__p_wxPyCommandEvent
, 0, 0, 0},{0, 0, 0, 0}};
33570 static swig_cast_info _swigc__p_wxContextMenuEvent
[] = {{&_swigt__p_wxContextMenuEvent
, 0, 0, 0},{0, 0, 0, 0}};
33571 static swig_cast_info _swigc__p_wxChildFocusEvent
[] = {{&_swigt__p_wxChildFocusEvent
, 0, 0, 0},{0, 0, 0, 0}};
33572 static swig_cast_info _swigc__p_wxWindowCreateEvent
[] = {{&_swigt__p_wxWindowCreateEvent
, 0, 0, 0},{0, 0, 0, 0}};
33573 static swig_cast_info _swigc__p_wxDateEvent
[] = {{&_swigt__p_wxDateEvent
, 0, 0, 0},{0, 0, 0, 0}};
33574 static swig_cast_info _swigc__p_wxUpdateUIEvent
[] = {{&_swigt__p_wxUpdateUIEvent
, 0, 0, 0},{0, 0, 0, 0}};
33575 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}};
33576 static swig_cast_info _swigc__p_wxDC
[] = { {&_swigt__p_wxDC
, 0, 0, 0},{0, 0, 0, 0}};
33577 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}};
33578 static swig_cast_info _swigc__p_wxDirDialog
[] = { {&_swigt__p_wxDirDialog
, 0, 0, 0},{0, 0, 0, 0}};
33579 static swig_cast_info _swigc__p_wxDuplexMode
[] = { {&_swigt__p_wxDuplexMode
, 0, 0, 0},{0, 0, 0, 0}};
33580 static swig_cast_info _swigc__p_wxMenuEvent
[] = {{&_swigt__p_wxMenuEvent
, 0, 0, 0},{0, 0, 0, 0}};
33581 static swig_cast_info _swigc__p_wxCloseEvent
[] = {{&_swigt__p_wxCloseEvent
, 0, 0, 0},{0, 0, 0, 0}};
33582 static swig_cast_info _swigc__p_wxMouseEvent
[] = {{&_swigt__p_wxMouseEvent
, 0, 0, 0},{0, 0, 0, 0}};
33583 static swig_cast_info _swigc__p_wxEraseEvent
[] = {{&_swigt__p_wxEraseEvent
, 0, 0, 0},{0, 0, 0, 0}};
33584 static swig_cast_info _swigc__p_wxSetCursorEvent
[] = {{&_swigt__p_wxSetCursorEvent
, 0, 0, 0},{0, 0, 0, 0}};
33585 static swig_cast_info _swigc__p_wxInitDialogEvent
[] = {{&_swigt__p_wxInitDialogEvent
, 0, 0, 0},{0, 0, 0, 0}};
33586 static swig_cast_info _swigc__p_wxPyEvent
[] = {{&_swigt__p_wxPyEvent
, 0, 0, 0},{0, 0, 0, 0}};
33587 static swig_cast_info _swigc__p_wxMouseCaptureLostEvent
[] = {{&_swigt__p_wxMouseCaptureLostEvent
, 0, 0, 0},{0, 0, 0, 0}};
33588 static swig_cast_info _swigc__p_wxIdleEvent
[] = {{&_swigt__p_wxIdleEvent
, 0, 0, 0},{0, 0, 0, 0}};
33589 static swig_cast_info _swigc__p_wxQueryNewPaletteEvent
[] = {{&_swigt__p_wxQueryNewPaletteEvent
, 0, 0, 0},{0, 0, 0, 0}};
33590 static swig_cast_info _swigc__p_wxMaximizeEvent
[] = {{&_swigt__p_wxMaximizeEvent
, 0, 0, 0},{0, 0, 0, 0}};
33591 static swig_cast_info _swigc__p_wxIconizeEvent
[] = {{&_swigt__p_wxIconizeEvent
, 0, 0, 0},{0, 0, 0, 0}};
33592 static swig_cast_info _swigc__p_wxActivateEvent
[] = {{&_swigt__p_wxActivateEvent
, 0, 0, 0},{0, 0, 0, 0}};
33593 static swig_cast_info _swigc__p_wxSizeEvent
[] = {{&_swigt__p_wxSizeEvent
, 0, 0, 0},{0, 0, 0, 0}};
33594 static swig_cast_info _swigc__p_wxMoveEvent
[] = {{&_swigt__p_wxMoveEvent
, 0, 0, 0},{0, 0, 0, 0}};
33595 static swig_cast_info _swigc__p_wxPaintEvent
[] = {{&_swigt__p_wxPaintEvent
, 0, 0, 0},{0, 0, 0, 0}};
33596 static swig_cast_info _swigc__p_wxNcPaintEvent
[] = {{&_swigt__p_wxNcPaintEvent
, 0, 0, 0},{0, 0, 0, 0}};
33597 static swig_cast_info _swigc__p_wxPaletteChangedEvent
[] = {{&_swigt__p_wxPaletteChangedEvent
, 0, 0, 0},{0, 0, 0, 0}};
33598 static swig_cast_info _swigc__p_wxDisplayChangedEvent
[] = {{&_swigt__p_wxDisplayChangedEvent
, 0, 0, 0},{0, 0, 0, 0}};
33599 static swig_cast_info _swigc__p_wxMouseCaptureChangedEvent
[] = {{&_swigt__p_wxMouseCaptureChangedEvent
, 0, 0, 0},{0, 0, 0, 0}};
33600 static swig_cast_info _swigc__p_wxSysColourChangedEvent
[] = {{&_swigt__p_wxSysColourChangedEvent
, 0, 0, 0},{0, 0, 0, 0}};
33601 static swig_cast_info _swigc__p_wxDropFilesEvent
[] = {{&_swigt__p_wxDropFilesEvent
, 0, 0, 0},{0, 0, 0, 0}};
33602 static swig_cast_info _swigc__p_wxFocusEvent
[] = {{&_swigt__p_wxFocusEvent
, 0, 0, 0},{0, 0, 0, 0}};
33603 static swig_cast_info _swigc__p_wxShowEvent
[] = {{&_swigt__p_wxShowEvent
, 0, 0, 0},{0, 0, 0, 0}};
33604 static swig_cast_info _swigc__p_wxNavigationKeyEvent
[] = {{&_swigt__p_wxNavigationKeyEvent
, 0, 0, 0},{0, 0, 0, 0}};
33605 static swig_cast_info _swigc__p_wxKeyEvent
[] = {{&_swigt__p_wxKeyEvent
, 0, 0, 0},{0, 0, 0, 0}};
33606 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}};
33607 static swig_cast_info _swigc__p_wxValidator
[] = {{&_swigt__p_wxValidator
, 0, 0, 0},{0, 0, 0, 0}};
33608 static swig_cast_info _swigc__p_wxPyValidator
[] = {{&_swigt__p_wxPyValidator
, 0, 0, 0},{0, 0, 0, 0}};
33609 static swig_cast_info _swigc__p_wxControl
[] = {{&_swigt__p_wxControl
, 0, 0, 0},{0, 0, 0, 0}};
33610 static swig_cast_info _swigc__p_wxPyApp
[] = {{&_swigt__p_wxPyApp
, 0, 0, 0},{0, 0, 0, 0}};
33611 static swig_cast_info _swigc__p_wxControlWithItems
[] = {{&_swigt__p_wxControlWithItems
, 0, 0, 0},{0, 0, 0, 0}};
33612 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}};
33613 static swig_cast_info _swigc__p_wxFileDialog
[] = { {&_swigt__p_wxFileDialog
, 0, 0, 0},{0, 0, 0, 0}};
33614 static swig_cast_info _swigc__p_wxFileSystem
[] = { {&_swigt__p_wxFileSystem
, 0, 0, 0},{0, 0, 0, 0}};
33615 static swig_cast_info _swigc__p_wxFindDialogEvent
[] = { {&_swigt__p_wxFindDialogEvent
, 0, 0, 0},{0, 0, 0, 0}};
33616 static swig_cast_info _swigc__p_wxFindReplaceData
[] = { {&_swigt__p_wxFindReplaceData
, 0, 0, 0},{0, 0, 0, 0}};
33617 static swig_cast_info _swigc__p_wxFindReplaceDialog
[] = { {&_swigt__p_wxFindReplaceDialog
, 0, 0, 0},{0, 0, 0, 0}};
33618 static swig_cast_info _swigc__p_wxFont
[] = { {&_swigt__p_wxFont
, 0, 0, 0},{0, 0, 0, 0}};
33619 static swig_cast_info _swigc__p_wxFontData
[] = { {&_swigt__p_wxFontData
, 0, 0, 0},{0, 0, 0, 0}};
33620 static swig_cast_info _swigc__p_wxFontDialog
[] = { {&_swigt__p_wxFontDialog
, 0, 0, 0},{0, 0, 0, 0}};
33621 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}};
33622 static swig_cast_info _swigc__p_wxHtmlLinkInfo
[] = { {&_swigt__p_wxHtmlLinkInfo
, 0, 0, 0},{0, 0, 0, 0}};
33623 static swig_cast_info _swigc__p_wxIcon
[] = { {&_swigt__p_wxIcon
, 0, 0, 0},{0, 0, 0, 0}};
33624 static swig_cast_info _swigc__p_wxIconBundle
[] = { {&_swigt__p_wxIconBundle
, 0, 0, 0},{0, 0, 0, 0}};
33625 static swig_cast_info _swigc__p_wxLayoutAlgorithm
[] = { {&_swigt__p_wxLayoutAlgorithm
, 0, 0, 0},{0, 0, 0, 0}};
33626 static swig_cast_info _swigc__p_wxMDIChildFrame
[] = { {&_swigt__p_wxMDIChildFrame
, 0, 0, 0},{0, 0, 0, 0}};
33627 static swig_cast_info _swigc__p_wxMDIClientWindow
[] = { {&_swigt__p_wxMDIClientWindow
, 0, 0, 0},{0, 0, 0, 0}};
33628 static swig_cast_info _swigc__p_wxMDIParentFrame
[] = { {&_swigt__p_wxMDIParentFrame
, 0, 0, 0},{0, 0, 0, 0}};
33629 static swig_cast_info _swigc__p_wxMenu
[] = { {&_swigt__p_wxMenu
, 0, 0, 0},{0, 0, 0, 0}};
33630 static swig_cast_info _swigc__p_wxMenuBar
[] = { {&_swigt__p_wxMenuBar
, 0, 0, 0},{0, 0, 0, 0}};
33631 static swig_cast_info _swigc__p_wxMessageDialog
[] = { {&_swigt__p_wxMessageDialog
, 0, 0, 0},{0, 0, 0, 0}};
33632 static swig_cast_info _swigc__p_wxMiniFrame
[] = { {&_swigt__p_wxMiniFrame
, 0, 0, 0},{0, 0, 0, 0}};
33633 static swig_cast_info _swigc__p_wxMultiChoiceDialog
[] = { {&_swigt__p_wxMultiChoiceDialog
, 0, 0, 0},{0, 0, 0, 0}};
33634 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}};
33635 static swig_cast_info _swigc__p_wxNumberEntryDialog
[] = { {&_swigt__p_wxNumberEntryDialog
, 0, 0, 0},{0, 0, 0, 0}};
33636 static swig_cast_info _swigc__p_wxLayoutConstraints
[] = {{&_swigt__p_wxLayoutConstraints
, 0, 0, 0},{0, 0, 0, 0}};
33637 static swig_cast_info _swigc__p_wxSizerItem
[] = {{&_swigt__p_wxSizerItem
, 0, 0, 0},{0, 0, 0, 0}};
33638 static swig_cast_info _swigc__p_wxGBSizerItem
[] = {{&_swigt__p_wxGBSizerItem
, 0, 0, 0},{0, 0, 0, 0}};
33639 static swig_cast_info _swigc__p_wxIndividualLayoutConstraint
[] = {{&_swigt__p_wxIndividualLayoutConstraint
, 0, 0, 0},{0, 0, 0, 0}};
33640 static swig_cast_info _swigc__p_wxStaticBoxSizer
[] = {{&_swigt__p_wxStaticBoxSizer
, 0, 0, 0},{0, 0, 0, 0}};
33641 static swig_cast_info _swigc__p_wxBoxSizer
[] = {{&_swigt__p_wxBoxSizer
, 0, 0, 0},{0, 0, 0, 0}};
33642 static swig_cast_info _swigc__p_wxSizer
[] = {{&_swigt__p_wxSizer
, 0, 0, 0},{0, 0, 0, 0}};
33643 static swig_cast_info _swigc__p_wxGridBagSizer
[] = {{&_swigt__p_wxGridBagSizer
, 0, 0, 0},{0, 0, 0, 0}};
33644 static swig_cast_info _swigc__p_wxGridSizer
[] = {{&_swigt__p_wxGridSizer
, 0, 0, 0},{0, 0, 0, 0}};
33645 static swig_cast_info _swigc__p_wxFlexGridSizer
[] = {{&_swigt__p_wxFlexGridSizer
, 0, 0, 0},{0, 0, 0, 0}};
33646 static swig_cast_info _swigc__p_wxFSFile
[] = {{&_swigt__p_wxFSFile
, 0, 0, 0},{0, 0, 0, 0}};
33647 static swig_cast_info _swigc__p_wxPySizer
[] = {{&_swigt__p_wxPySizer
, 0, 0, 0},{0, 0, 0, 0}};
33648 static swig_cast_info _swigc__p_wxMenuItem
[] = {{&_swigt__p_wxMenuItem
, 0, 0, 0},{0, 0, 0, 0}};
33649 static swig_cast_info _swigc__p_wxBMPHandler
[] = {{&_swigt__p_wxBMPHandler
, 0, 0, 0},{0, 0, 0, 0}};
33650 static swig_cast_info _swigc__p_wxICOHandler
[] = {{&_swigt__p_wxICOHandler
, 0, 0, 0},{0, 0, 0, 0}};
33651 static swig_cast_info _swigc__p_wxCURHandler
[] = {{&_swigt__p_wxCURHandler
, 0, 0, 0},{0, 0, 0, 0}};
33652 static swig_cast_info _swigc__p_wxANIHandler
[] = {{&_swigt__p_wxANIHandler
, 0, 0, 0},{0, 0, 0, 0}};
33653 static swig_cast_info _swigc__p_wxPNGHandler
[] = {{&_swigt__p_wxPNGHandler
, 0, 0, 0},{0, 0, 0, 0}};
33654 static swig_cast_info _swigc__p_wxGIFHandler
[] = {{&_swigt__p_wxGIFHandler
, 0, 0, 0},{0, 0, 0, 0}};
33655 static swig_cast_info _swigc__p_wxPCXHandler
[] = {{&_swigt__p_wxPCXHandler
, 0, 0, 0},{0, 0, 0, 0}};
33656 static swig_cast_info _swigc__p_wxJPEGHandler
[] = {{&_swigt__p_wxJPEGHandler
, 0, 0, 0},{0, 0, 0, 0}};
33657 static swig_cast_info _swigc__p_wxPNMHandler
[] = {{&_swigt__p_wxPNMHandler
, 0, 0, 0},{0, 0, 0, 0}};
33658 static swig_cast_info _swigc__p_wxPyImageHandler
[] = {{&_swigt__p_wxPyImageHandler
, 0, 0, 0},{0, 0, 0, 0}};
33659 static swig_cast_info _swigc__p_wxImageHandler
[] = {{&_swigt__p_wxImageHandler
, 0, 0, 0},{0, 0, 0, 0}};
33660 static swig_cast_info _swigc__p_wxXPMHandler
[] = {{&_swigt__p_wxXPMHandler
, 0, 0, 0},{0, 0, 0, 0}};
33661 static swig_cast_info _swigc__p_wxTIFFHandler
[] = {{&_swigt__p_wxTIFFHandler
, 0, 0, 0},{0, 0, 0, 0}};
33662 static swig_cast_info _swigc__p_wxTGAHandler
[] = {{&_swigt__p_wxTGAHandler
, 0, 0, 0},{0, 0, 0, 0}};
33663 static swig_cast_info _swigc__p_wxAcceleratorTable
[] = {{&_swigt__p_wxAcceleratorTable
, 0, 0, 0},{0, 0, 0, 0}};
33664 static swig_cast_info _swigc__p_wxImage
[] = {{&_swigt__p_wxImage
, 0, 0, 0},{0, 0, 0, 0}};
33665 static swig_cast_info _swigc__p_wxObject
[] = { {&_swigt__p_wxQueryLayoutInfoEvent
, _p_wxQueryLayoutInfoEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxLayoutConstraints
, _p_wxLayoutConstraintsTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPreviewFrame
, _p_wxPreviewFrameTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPyPreviewFrame
, _p_wxPyPreviewFrameTo_p_wxObject
, 0, 0}, {&_swigt__p_wxSizerItem
, _p_wxSizerItemTo_p_wxObject
, 0, 0}, {&_swigt__p_wxGBSizerItem
, _p_wxGBSizerItemTo_p_wxObject
, 0, 0}, {&_swigt__p_wxScrollEvent
, _p_wxScrollEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxIndividualLayoutConstraint
, _p_wxIndividualLayoutConstraintTo_p_wxObject
, 0, 0}, {&_swigt__p_wxStaticBoxSizer
, _p_wxStaticBoxSizerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxBoxSizer
, _p_wxBoxSizerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxSizer
, _p_wxSizerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxGridBagSizer
, _p_wxGridBagSizerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxUpdateUIEvent
, _p_wxUpdateUIEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPyPanel
, _p_wxPyPanelTo_p_wxObject
, 0, 0}, {&_swigt__p_wxMenu
, _p_wxMenuTo_p_wxObject
, 0, 0}, {&_swigt__p_wxFontData
, _p_wxFontDataTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPrintData
, _p_wxPrintDataTo_p_wxObject
, 0, 0}, {&_swigt__p_wxEvent
, _p_wxEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxGridSizer
, _p_wxGridSizerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxFlexGridSizer
, _p_wxFlexGridSizerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPyTaskBarIcon
, _p_wxPyTaskBarIconTo_p_wxObject
, 0, 0}, {&_swigt__p_wxLayoutAlgorithm
, _p_wxLayoutAlgorithmTo_p_wxObject
, 0, 0}, {&_swigt__p_wxInitDialogEvent
, _p_wxInitDialogEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxFindDialogEvent
, _p_wxFindDialogEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPaintEvent
, _p_wxPaintEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxNcPaintEvent
, _p_wxNcPaintEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxClipboardTextEvent
, _p_wxClipboardTextEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPaletteChangedEvent
, _p_wxPaletteChangedEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxDisplayChangedEvent
, _p_wxDisplayChangedEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxMouseCaptureChangedEvent
, _p_wxMouseCaptureChangedEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxSysColourChangedEvent
, _p_wxSysColourChangedEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPreviewCanvas
, _p_wxPreviewCanvasTo_p_wxObject
, 0, 0}, {&_swigt__p_wxControl
, _p_wxControlTo_p_wxObject
, 0, 0}, {&_swigt__p_wxSetCursorEvent
, _p_wxSetCursorEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxSplitterEvent
, _p_wxSplitterEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxFSFile
, _p_wxFSFileTo_p_wxObject
, 0, 0}, {&_swigt__p_wxFindReplaceData
, _p_wxFindReplaceDataTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPySizer
, _p_wxPySizerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxMDIChildFrame
, _p_wxMDIChildFrameTo_p_wxObject
, 0, 0}, {&_swigt__p_wxColourData
, _p_wxColourDataTo_p_wxObject
, 0, 0}, {&_swigt__p_wxNotifyEvent
, _p_wxNotifyEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPyEvent
, _p_wxPyEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPyWindow
, _p_wxPyWindowTo_p_wxObject
, 0, 0}, {&_swigt__p_wxSplashScreen
, _p_wxSplashScreenTo_p_wxObject
, 0, 0}, {&_swigt__p_wxFindReplaceDialog
, _p_wxFindReplaceDialogTo_p_wxObject
, 0, 0}, {&_swigt__p_wxProgressDialog
, _p_wxProgressDialogTo_p_wxObject
, 0, 0}, {&_swigt__p_wxMessageDialog
, _p_wxMessageDialogTo_p_wxObject
, 0, 0}, {&_swigt__p_wxNumberEntryDialog
, _p_wxNumberEntryDialogTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPasswordEntryDialog
, _p_wxPasswordEntryDialogTo_p_wxObject
, 0, 0}, {&_swigt__p_wxTextEntryDialog
, _p_wxTextEntryDialogTo_p_wxObject
, 0, 0}, {&_swigt__p_wxSingleChoiceDialog
, _p_wxSingleChoiceDialogTo_p_wxObject
, 0, 0}, {&_swigt__p_wxMultiChoiceDialog
, _p_wxMultiChoiceDialogTo_p_wxObject
, 0, 0}, {&_swigt__p_wxFileDialog
, _p_wxFileDialogTo_p_wxObject
, 0, 0}, {&_swigt__p_wxShowEvent
, _p_wxShowEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPrinter
, _p_wxPrinterTo_p_wxObject
, 0, 0}, {&_swigt__p_wxIdleEvent
, _p_wxIdleEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxWindowCreateEvent
, _p_wxWindowCreateEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxQueryNewPaletteEvent
, _p_wxQueryNewPaletteEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxMaximizeEvent
, _p_wxMaximizeEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxIconizeEvent
, _p_wxIconizeEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxActivateEvent
, _p_wxActivateEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxDateEvent
, _p_wxDateEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxMoveEvent
, _p_wxMoveEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxSizeEvent
, _p_wxSizeEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxMenuItem
, _p_wxMenuItemTo_p_wxObject
, 0, 0}, {&_swigt__p_wxCalculateLayoutEvent
, _p_wxCalculateLayoutEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxMouseCaptureLostEvent
, _p_wxMouseCaptureLostEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxBMPHandler
, _p_wxBMPHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxICOHandler
, _p_wxICOHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxCURHandler
, _p_wxCURHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxANIHandler
, _p_wxANIHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPNGHandler
, _p_wxPNGHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxGIFHandler
, _p_wxGIFHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPCXHandler
, _p_wxPCXHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxJPEGHandler
, _p_wxJPEGHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPNMHandler
, _p_wxPNMHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPyImageHandler
, _p_wxPyImageHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxImageHandler
, _p_wxImageHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxXPMHandler
, _p_wxXPMHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxTIFFHandler
, _p_wxTIFFHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxTGAHandler
, _p_wxTGAHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxEvtHandler
, _p_wxEvtHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPyVListBox
, _p_wxPyVListBoxTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPyHtmlListBox
, _p_wxPyHtmlListBoxTo_p_wxObject
, 0, 0}, {&_swigt__p_wxAcceleratorTable
, _p_wxAcceleratorTableTo_p_wxObject
, 0, 0}, {&_swigt__p_wxStdDialogButtonSizer
, _p_wxStdDialogButtonSizerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxMiniFrame
, _p_wxMiniFrameTo_p_wxObject
, 0, 0}, {&_swigt__p_wxImage
, _p_wxImageTo_p_wxObject
, 0, 0}, {&_swigt__p_wxFrame
, _p_wxFrameTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPyPrintout
, _p_wxPyPrintoutTo_p_wxObject
, 0, 0}, {&_swigt__p_wxTaskBarIconEvent
, _p_wxTaskBarIconEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxScrollWinEvent
, _p_wxScrollWinEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxStatusBar
, _p_wxStatusBarTo_p_wxObject
, 0, 0}, {&_swigt__p_wxMDIParentFrame
, _p_wxMDIParentFrameTo_p_wxObject
, 0, 0}, {&_swigt__p_wxObject
, 0, 0, 0}, {&_swigt__p_wxKeyEvent
, _p_wxKeyEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxNavigationKeyEvent
, _p_wxNavigationKeyEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxWindowDestroyEvent
, _p_wxWindowDestroyEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxMenuBar
, _p_wxMenuBarTo_p_wxObject
, 0, 0}, {&_swigt__p_wxScrolledWindow
, _p_wxScrolledWindowTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPyScrolledWindow
, _p_wxPyScrolledWindowTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPyVScrolledWindow
, _p_wxPyVScrolledWindowTo_p_wxObject
, 0, 0}, {&_swigt__p_wxMDIClientWindow
, _p_wxMDIClientWindowTo_p_wxObject
, 0, 0}, {&_swigt__p_wxTopLevelWindow
, _p_wxTopLevelWindowTo_p_wxObject
, 0, 0}, {&_swigt__p_wxWindow
, _p_wxWindowTo_p_wxObject
, 0, 0}, {&_swigt__p_wxSashWindow
, _p_wxSashWindowTo_p_wxObject
, 0, 0}, {&_swigt__p_wxSashLayoutWindow
, _p_wxSashLayoutWindowTo_p_wxObject
, 0, 0}, {&_swigt__p_wxSplitterWindow
, _p_wxSplitterWindowTo_p_wxObject
, 0, 0}, {&_swigt__p_wxSplashScreenWindow
, _p_wxSplashScreenWindowTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPopupWindow
, _p_wxPopupWindowTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPyPopupTransientWindow
, _p_wxPyPopupTransientWindowTo_p_wxObject
, 0, 0}, {&_swigt__p_wxTipWindow
, _p_wxTipWindowTo_p_wxObject
, 0, 0}, {&_swigt__p_wxSashEvent
, _p_wxSashEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPrintPreview
, _p_wxPrintPreviewTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPyPrintPreview
, _p_wxPyPrintPreviewTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPanel
, _p_wxPanelTo_p_wxObject
, 0, 0}, {&_swigt__p_wxDialog
, _p_wxDialogTo_p_wxObject
, 0, 0}, {&_swigt__p_wxColourDialog
, _p_wxColourDialogTo_p_wxObject
, 0, 0}, {&_swigt__p_wxDirDialog
, _p_wxDirDialogTo_p_wxObject
, 0, 0}, {&_swigt__p_wxFontDialog
, _p_wxFontDialogTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPageSetupDialog
, _p_wxPageSetupDialogTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPrintDialog
, _p_wxPrintDialogTo_p_wxObject
, 0, 0}, {&_swigt__p_wxFileSystem
, _p_wxFileSystemTo_p_wxObject
, 0, 0}, {&_swigt__p_wxContextMenuEvent
, _p_wxContextMenuEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxMenuEvent
, _p_wxMenuEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxCloseEvent
, _p_wxCloseEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxMouseEvent
, _p_wxMouseEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxEraseEvent
, _p_wxEraseEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPyApp
, _p_wxPyAppTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPyCommandEvent
, _p_wxPyCommandEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxCommandEvent
, _p_wxCommandEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPreviewControlBar
, _p_wxPreviewControlBarTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPyPreviewControlBar
, _p_wxPyPreviewControlBarTo_p_wxObject
, 0, 0}, {&_swigt__p_wxChildFocusEvent
, _p_wxChildFocusEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxDropFilesEvent
, _p_wxDropFilesEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxFocusEvent
, _p_wxFocusEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxControlWithItems
, _p_wxControlWithItemsTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPageSetupDialogData
, _p_wxPageSetupDialogDataTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPrintDialogData
, _p_wxPrintDialogDataTo_p_wxObject
, 0, 0}, {&_swigt__p_wxValidator
, _p_wxValidatorTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPyValidator
, _p_wxPyValidatorTo_p_wxObject
, 0, 0},{0, 0, 0, 0}};
33666 static swig_cast_info _swigc__p_wxPageSetupDialog
[] = { {&_swigt__p_wxPageSetupDialog
, 0, 0, 0},{0, 0, 0, 0}};
33667 static swig_cast_info _swigc__p_wxPageSetupDialogData
[] = { {&_swigt__p_wxPageSetupDialogData
, 0, 0, 0},{0, 0, 0, 0}};
33668 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}};
33669 static swig_cast_info _swigc__p_wxPaperSize
[] = { {&_swigt__p_wxPaperSize
, 0, 0, 0},{0, 0, 0, 0}};
33670 static swig_cast_info _swigc__p_wxPasswordEntryDialog
[] = { {&_swigt__p_wxPasswordEntryDialog
, 0, 0, 0},{0, 0, 0, 0}};
33671 static swig_cast_info _swigc__p_wxPoint
[] = { {&_swigt__p_wxPoint
, 0, 0, 0},{0, 0, 0, 0}};
33672 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}};
33673 static swig_cast_info _swigc__p_wxPreviewCanvas
[] = { {&_swigt__p_wxPreviewCanvas
, 0, 0, 0},{0, 0, 0, 0}};
33674 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}};
33675 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}};
33676 static swig_cast_info _swigc__p_wxPrintData
[] = { {&_swigt__p_wxPrintData
, 0, 0, 0},{0, 0, 0, 0}};
33677 static swig_cast_info _swigc__p_wxPrintDialog
[] = { {&_swigt__p_wxPrintDialog
, 0, 0, 0},{0, 0, 0, 0}};
33678 static swig_cast_info _swigc__p_wxPrintDialogData
[] = { {&_swigt__p_wxPrintDialogData
, 0, 0, 0},{0, 0, 0, 0}};
33679 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}};
33680 static swig_cast_info _swigc__p_wxPrinter
[] = { {&_swigt__p_wxPrinter
, 0, 0, 0},{0, 0, 0, 0}};
33681 static swig_cast_info _swigc__p_wxProgressDialog
[] = { {&_swigt__p_wxProgressDialog
, 0, 0, 0},{0, 0, 0, 0}};
33682 static swig_cast_info _swigc__p_wxPyHtmlListBox
[] = { {&_swigt__p_wxPyHtmlListBox
, 0, 0, 0},{0, 0, 0, 0}};
33683 static swig_cast_info _swigc__p_wxPyPanel
[] = { {&_swigt__p_wxPyPanel
, 0, 0, 0},{0, 0, 0, 0}};
33684 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}};
33685 static swig_cast_info _swigc__p_wxPyPreviewControlBar
[] = { {&_swigt__p_wxPyPreviewControlBar
, 0, 0, 0},{0, 0, 0, 0}};
33686 static swig_cast_info _swigc__p_wxPyPreviewFrame
[] = { {&_swigt__p_wxPyPreviewFrame
, 0, 0, 0},{0, 0, 0, 0}};
33687 static swig_cast_info _swigc__p_wxPyPrintPreview
[] = { {&_swigt__p_wxPyPrintPreview
, 0, 0, 0},{0, 0, 0, 0}};
33688 static swig_cast_info _swigc__p_wxPyPrintout
[] = { {&_swigt__p_wxPyPrintout
, 0, 0, 0},{0, 0, 0, 0}};
33689 static swig_cast_info _swigc__p_wxPyScrolledWindow
[] = { {&_swigt__p_wxPyScrolledWindow
, 0, 0, 0},{0, 0, 0, 0}};
33690 static swig_cast_info _swigc__p_wxPyTaskBarIcon
[] = { {&_swigt__p_wxPyTaskBarIcon
, 0, 0, 0},{0, 0, 0, 0}};
33691 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}};
33692 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}};
33693 static swig_cast_info _swigc__p_wxPyWindow
[] = { {&_swigt__p_wxPyWindow
, 0, 0, 0},{0, 0, 0, 0}};
33694 static swig_cast_info _swigc__p_wxQueryLayoutInfoEvent
[] = { {&_swigt__p_wxQueryLayoutInfoEvent
, 0, 0, 0},{0, 0, 0, 0}};
33695 static swig_cast_info _swigc__p_wxRect
[] = { {&_swigt__p_wxRect
, 0, 0, 0},{0, 0, 0, 0}};
33696 static swig_cast_info _swigc__p_wxRegion
[] = { {&_swigt__p_wxRegion
, 0, 0, 0},{0, 0, 0, 0}};
33697 static swig_cast_info _swigc__p_wxSashEvent
[] = { {&_swigt__p_wxSashEvent
, 0, 0, 0},{0, 0, 0, 0}};
33698 static swig_cast_info _swigc__p_wxSashLayoutWindow
[] = { {&_swigt__p_wxSashLayoutWindow
, 0, 0, 0},{0, 0, 0, 0}};
33699 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}};
33700 static swig_cast_info _swigc__p_wxScrollWinEvent
[] = { {&_swigt__p_wxScrollWinEvent
, 0, 0, 0},{0, 0, 0, 0}};
33701 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}};
33702 static swig_cast_info _swigc__p_wxSingleChoiceDialog
[] = { {&_swigt__p_wxSingleChoiceDialog
, 0, 0, 0},{0, 0, 0, 0}};
33703 static swig_cast_info _swigc__p_wxSize
[] = { {&_swigt__p_wxSize
, 0, 0, 0},{0, 0, 0, 0}};
33704 static swig_cast_info _swigc__p_wxSplashScreen
[] = { {&_swigt__p_wxSplashScreen
, 0, 0, 0},{0, 0, 0, 0}};
33705 static swig_cast_info _swigc__p_wxSplashScreenWindow
[] = { {&_swigt__p_wxSplashScreenWindow
, 0, 0, 0},{0, 0, 0, 0}};
33706 static swig_cast_info _swigc__p_wxSplitterEvent
[] = { {&_swigt__p_wxSplitterEvent
, 0, 0, 0},{0, 0, 0, 0}};
33707 static swig_cast_info _swigc__p_wxSplitterWindow
[] = { {&_swigt__p_wxSplitterWindow
, 0, 0, 0},{0, 0, 0, 0}};
33708 static swig_cast_info _swigc__p_wxStatusBar
[] = { {&_swigt__p_wxStatusBar
, 0, 0, 0},{0, 0, 0, 0}};
33709 static swig_cast_info _swigc__p_wxStdDialogButtonSizer
[] = { {&_swigt__p_wxStdDialogButtonSizer
, 0, 0, 0},{0, 0, 0, 0}};
33710 static swig_cast_info _swigc__p_wxString
[] = { {&_swigt__p_wxString
, 0, 0, 0},{0, 0, 0, 0}};
33711 static swig_cast_info _swigc__p_wxTaskBarIcon
[] = { {&_swigt__p_wxTaskBarIcon
, 0, 0, 0},{0, 0, 0, 0}};
33712 static swig_cast_info _swigc__p_wxTaskBarIconEvent
[] = { {&_swigt__p_wxTaskBarIconEvent
, 0, 0, 0},{0, 0, 0, 0}};
33713 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}};
33714 static swig_cast_info _swigc__p_wxTipWindow
[] = { {&_swigt__p_wxTipWindow
, 0, 0, 0},{0, 0, 0, 0}};
33715 static swig_cast_info _swigc__p_wxToolBar
[] = { {&_swigt__p_wxToolBar
, 0, 0, 0},{0, 0, 0, 0}};
33716 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}};
33717 static swig_cast_info _swigc__p_wxVisualAttributes
[] = { {&_swigt__p_wxVisualAttributes
, 0, 0, 0},{0, 0, 0, 0}};
33718 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}};
33720 static swig_cast_info
*swig_cast_initial
[] = {
33723 _swigc__p_form_ops_t
,
33725 _swigc__p_unsigned_char
,
33726 _swigc__p_unsigned_int
,
33727 _swigc__p_unsigned_long
,
33728 _swigc__p_wxANIHandler
,
33729 _swigc__p_wxAcceleratorTable
,
33730 _swigc__p_wxActivateEvent
,
33731 _swigc__p_wxArrayInt
,
33732 _swigc__p_wxBMPHandler
,
33733 _swigc__p_wxBitmap
,
33734 _swigc__p_wxBoxSizer
,
33735 _swigc__p_wxCURHandler
,
33736 _swigc__p_wxCalculateLayoutEvent
,
33737 _swigc__p_wxChildFocusEvent
,
33738 _swigc__p_wxClipboardTextEvent
,
33739 _swigc__p_wxCloseEvent
,
33740 _swigc__p_wxColour
,
33741 _swigc__p_wxColourData
,
33742 _swigc__p_wxColourDialog
,
33743 _swigc__p_wxCommandEvent
,
33744 _swigc__p_wxContextMenuEvent
,
33745 _swigc__p_wxControl
,
33746 _swigc__p_wxControlWithItems
,
33748 _swigc__p_wxDateEvent
,
33749 _swigc__p_wxDialog
,
33750 _swigc__p_wxDirDialog
,
33751 _swigc__p_wxDisplayChangedEvent
,
33752 _swigc__p_wxDropFilesEvent
,
33753 _swigc__p_wxDuplexMode
,
33754 _swigc__p_wxEraseEvent
,
33756 _swigc__p_wxEvtHandler
,
33757 _swigc__p_wxFSFile
,
33758 _swigc__p_wxFileDialog
,
33759 _swigc__p_wxFileSystem
,
33760 _swigc__p_wxFindDialogEvent
,
33761 _swigc__p_wxFindReplaceData
,
33762 _swigc__p_wxFindReplaceDialog
,
33763 _swigc__p_wxFlexGridSizer
,
33764 _swigc__p_wxFocusEvent
,
33766 _swigc__p_wxFontData
,
33767 _swigc__p_wxFontDialog
,
33769 _swigc__p_wxGBSizerItem
,
33770 _swigc__p_wxGIFHandler
,
33771 _swigc__p_wxGridBagSizer
,
33772 _swigc__p_wxGridSizer
,
33773 _swigc__p_wxHtmlLinkInfo
,
33774 _swigc__p_wxICOHandler
,
33776 _swigc__p_wxIconBundle
,
33777 _swigc__p_wxIconizeEvent
,
33778 _swigc__p_wxIdleEvent
,
33780 _swigc__p_wxImageHandler
,
33781 _swigc__p_wxIndividualLayoutConstraint
,
33782 _swigc__p_wxInitDialogEvent
,
33783 _swigc__p_wxJPEGHandler
,
33784 _swigc__p_wxKeyEvent
,
33785 _swigc__p_wxLayoutAlgorithm
,
33786 _swigc__p_wxLayoutConstraints
,
33787 _swigc__p_wxMDIChildFrame
,
33788 _swigc__p_wxMDIClientWindow
,
33789 _swigc__p_wxMDIParentFrame
,
33790 _swigc__p_wxMaximizeEvent
,
33792 _swigc__p_wxMenuBar
,
33793 _swigc__p_wxMenuEvent
,
33794 _swigc__p_wxMenuItem
,
33795 _swigc__p_wxMessageDialog
,
33796 _swigc__p_wxMiniFrame
,
33797 _swigc__p_wxMouseCaptureChangedEvent
,
33798 _swigc__p_wxMouseCaptureLostEvent
,
33799 _swigc__p_wxMouseEvent
,
33800 _swigc__p_wxMoveEvent
,
33801 _swigc__p_wxMultiChoiceDialog
,
33802 _swigc__p_wxNavigationKeyEvent
,
33803 _swigc__p_wxNcPaintEvent
,
33804 _swigc__p_wxNotifyEvent
,
33805 _swigc__p_wxNumberEntryDialog
,
33806 _swigc__p_wxObject
,
33807 _swigc__p_wxPCXHandler
,
33808 _swigc__p_wxPNGHandler
,
33809 _swigc__p_wxPNMHandler
,
33810 _swigc__p_wxPageSetupDialog
,
33811 _swigc__p_wxPageSetupDialogData
,
33812 _swigc__p_wxPaintEvent
,
33813 _swigc__p_wxPaletteChangedEvent
,
33815 _swigc__p_wxPaperSize
,
33816 _swigc__p_wxPasswordEntryDialog
,
33818 _swigc__p_wxPopupWindow
,
33819 _swigc__p_wxPreviewCanvas
,
33820 _swigc__p_wxPreviewControlBar
,
33821 _swigc__p_wxPreviewFrame
,
33822 _swigc__p_wxPrintData
,
33823 _swigc__p_wxPrintDialog
,
33824 _swigc__p_wxPrintDialogData
,
33825 _swigc__p_wxPrintPreview
,
33826 _swigc__p_wxPrinter
,
33827 _swigc__p_wxProgressDialog
,
33829 _swigc__p_wxPyCommandEvent
,
33830 _swigc__p_wxPyEvent
,
33831 _swigc__p_wxPyHtmlListBox
,
33832 _swigc__p_wxPyImageHandler
,
33833 _swigc__p_wxPyPanel
,
33834 _swigc__p_wxPyPopupTransientWindow
,
33835 _swigc__p_wxPyPreviewControlBar
,
33836 _swigc__p_wxPyPreviewFrame
,
33837 _swigc__p_wxPyPrintPreview
,
33838 _swigc__p_wxPyPrintout
,
33839 _swigc__p_wxPyScrolledWindow
,
33840 _swigc__p_wxPySizer
,
33841 _swigc__p_wxPyTaskBarIcon
,
33842 _swigc__p_wxPyVListBox
,
33843 _swigc__p_wxPyVScrolledWindow
,
33844 _swigc__p_wxPyValidator
,
33845 _swigc__p_wxPyWindow
,
33846 _swigc__p_wxQueryLayoutInfoEvent
,
33847 _swigc__p_wxQueryNewPaletteEvent
,
33849 _swigc__p_wxRegion
,
33850 _swigc__p_wxSashEvent
,
33851 _swigc__p_wxSashLayoutWindow
,
33852 _swigc__p_wxSashWindow
,
33853 _swigc__p_wxScrollEvent
,
33854 _swigc__p_wxScrollWinEvent
,
33855 _swigc__p_wxScrolledWindow
,
33856 _swigc__p_wxSetCursorEvent
,
33857 _swigc__p_wxShowEvent
,
33858 _swigc__p_wxSingleChoiceDialog
,
33860 _swigc__p_wxSizeEvent
,
33862 _swigc__p_wxSizerItem
,
33863 _swigc__p_wxSplashScreen
,
33864 _swigc__p_wxSplashScreenWindow
,
33865 _swigc__p_wxSplitterEvent
,
33866 _swigc__p_wxSplitterWindow
,
33867 _swigc__p_wxStaticBoxSizer
,
33868 _swigc__p_wxStatusBar
,
33869 _swigc__p_wxStdDialogButtonSizer
,
33870 _swigc__p_wxString
,
33871 _swigc__p_wxSysColourChangedEvent
,
33872 _swigc__p_wxTGAHandler
,
33873 _swigc__p_wxTIFFHandler
,
33874 _swigc__p_wxTaskBarIcon
,
33875 _swigc__p_wxTaskBarIconEvent
,
33876 _swigc__p_wxTextEntryDialog
,
33877 _swigc__p_wxTipWindow
,
33878 _swigc__p_wxToolBar
,
33879 _swigc__p_wxTopLevelWindow
,
33880 _swigc__p_wxUpdateUIEvent
,
33881 _swigc__p_wxValidator
,
33882 _swigc__p_wxVisualAttributes
,
33883 _swigc__p_wxWindow
,
33884 _swigc__p_wxWindowCreateEvent
,
33885 _swigc__p_wxWindowDestroyEvent
,
33886 _swigc__p_wxXPMHandler
,
33890 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (END) -------- */
33892 static swig_const_info swig_const_table
[] = {
33893 {0, 0, 0, 0.0, 0, 0}};
33898 /* -----------------------------------------------------------------------------
33899 * Type initialization:
33900 * This problem is tough by the requirement that no dynamic
33901 * memory is used. Also, since swig_type_info structures store pointers to
33902 * swig_cast_info structures and swig_cast_info structures store pointers back
33903 * to swig_type_info structures, we need some lookup code at initialization.
33904 * The idea is that swig generates all the structures that are needed.
33905 * The runtime then collects these partially filled structures.
33906 * The SWIG_InitializeModule function takes these initial arrays out of
33907 * swig_module, and does all the lookup, filling in the swig_module.types
33908 * array with the correct data and linking the correct swig_cast_info
33909 * structures together.
33911 * The generated swig_type_info structures are assigned staticly to an initial
33912 * array. We just loop though that array, and handle each type individually.
33913 * First we lookup if this type has been already loaded, and if so, use the
33914 * loaded structure instead of the generated one. Then we have to fill in the
33915 * cast linked list. The cast data is initially stored in something like a
33916 * two-dimensional array. Each row corresponds to a type (there are the same
33917 * number of rows as there are in the swig_type_initial array). Each entry in
33918 * a column is one of the swig_cast_info structures for that type.
33919 * The cast_initial array is actually an array of arrays, because each row has
33920 * a variable number of columns. So to actually build the cast linked list,
33921 * we find the array of casts associated with the type, and loop through it
33922 * adding the casts to the list. The one last trick we need to do is making
33923 * sure the type pointer in the swig_cast_info struct is correct.
33925 * First off, we lookup the cast->type name to see if it is already loaded.
33926 * There are three cases to handle:
33927 * 1) If the cast->type has already been loaded AND the type we are adding
33928 * casting info to has not been loaded (it is in this module), THEN we
33929 * replace the cast->type pointer with the type pointer that has already
33931 * 2) If BOTH types (the one we are adding casting info to, and the
33932 * cast->type) are loaded, THEN the cast info has already been loaded by
33933 * the previous module so we just ignore it.
33934 * 3) Finally, if cast->type has not already been loaded, then we add that
33935 * swig_cast_info to the linked list (because the cast->type) pointer will
33937 * ----------------------------------------------------------------------------- */
33947 #define SWIGRUNTIME_DEBUG
33951 SWIG_InitializeModule(void *clientdata
) {
33953 swig_module_info
*module_head
;
33954 static int init_run
= 0;
33956 clientdata
= clientdata
;
33958 if (init_run
) return;
33961 /* Initialize the swig_module */
33962 swig_module
.type_initial
= swig_type_initial
;
33963 swig_module
.cast_initial
= swig_cast_initial
;
33965 /* Try and load any already created modules */
33966 module_head
= SWIG_GetModule(clientdata
);
33968 swig_module
.next
= module_head
->next
;
33969 module_head
->next
= &swig_module
;
33971 /* This is the first module loaded */
33972 swig_module
.next
= &swig_module
;
33973 SWIG_SetModule(clientdata
, &swig_module
);
33976 /* Now work on filling in swig_module.types */
33977 #ifdef SWIGRUNTIME_DEBUG
33978 printf("SWIG_InitializeModule: size %d\n", swig_module
.size
);
33980 for (i
= 0; i
< swig_module
.size
; ++i
) {
33981 swig_type_info
*type
= 0;
33982 swig_type_info
*ret
;
33983 swig_cast_info
*cast
;
33985 #ifdef SWIGRUNTIME_DEBUG
33986 printf("SWIG_InitializeModule: type %d %s\n", i
, swig_module
.type_initial
[i
]->name
);
33989 /* if there is another module already loaded */
33990 if (swig_module
.next
!= &swig_module
) {
33991 type
= SWIG_MangledTypeQueryModule(swig_module
.next
, &swig_module
, swig_module
.type_initial
[i
]->name
);
33994 /* Overwrite clientdata field */
33995 #ifdef SWIGRUNTIME_DEBUG
33996 printf("SWIG_InitializeModule: found type %s\n", type
->name
);
33998 if (swig_module
.type_initial
[i
]->clientdata
) {
33999 type
->clientdata
= swig_module
.type_initial
[i
]->clientdata
;
34000 #ifdef SWIGRUNTIME_DEBUG
34001 printf("SWIG_InitializeModule: found and overwrite type %s \n", type
->name
);
34005 type
= swig_module
.type_initial
[i
];
34008 /* Insert casting types */
34009 cast
= swig_module
.cast_initial
[i
];
34010 while (cast
->type
) {
34011 /* Don't need to add information already in the list */
34013 #ifdef SWIGRUNTIME_DEBUG
34014 printf("SWIG_InitializeModule: look cast %s\n", cast
->type
->name
);
34016 if (swig_module
.next
!= &swig_module
) {
34017 ret
= SWIG_MangledTypeQueryModule(swig_module
.next
, &swig_module
, cast
->type
->name
);
34018 #ifdef SWIGRUNTIME_DEBUG
34019 if (ret
) printf("SWIG_InitializeModule: found cast %s\n", ret
->name
);
34023 if (type
== swig_module
.type_initial
[i
]) {
34024 #ifdef SWIGRUNTIME_DEBUG
34025 printf("SWIG_InitializeModule: skip old type %s\n", ret
->name
);
34030 /* Check for casting already in the list */
34031 swig_cast_info
*ocast
= SWIG_TypeCheck(ret
->name
, type
);
34032 #ifdef SWIGRUNTIME_DEBUG
34033 if (ocast
) printf("SWIG_InitializeModule: skip old cast %s\n", ret
->name
);
34035 if (!ocast
) ret
= 0;
34040 #ifdef SWIGRUNTIME_DEBUG
34041 printf("SWIG_InitializeModule: adding cast %s\n", cast
->type
->name
);
34044 type
->cast
->prev
= cast
;
34045 cast
->next
= type
->cast
;
34051 /* Set entry in modules->types array equal to the type */
34052 swig_module
.types
[i
] = type
;
34054 swig_module
.types
[i
] = 0;
34056 #ifdef SWIGRUNTIME_DEBUG
34057 printf("**** SWIG_InitializeModule: Cast List ******\n");
34058 for (i
= 0; i
< swig_module
.size
; ++i
) {
34060 swig_cast_info
*cast
= swig_module
.cast_initial
[i
];
34061 printf("SWIG_InitializeModule: type %d %s\n", i
, swig_module
.type_initial
[i
]->name
);
34062 while (cast
->type
) {
34063 printf("SWIG_InitializeModule: cast type %s\n", cast
->type
->name
);
34067 printf("---- Total casts: %d\n",j
);
34069 printf("**** SWIG_InitializeModule: Cast List ******\n");
34073 /* This function will propagate the clientdata field of type to
34074 * any new swig_type_info structures that have been added into the list
34075 * of equivalent types. It is like calling
34076 * SWIG_TypeClientData(type, clientdata) a second time.
34079 SWIG_PropagateClientData(void) {
34081 swig_cast_info
*equiv
;
34082 static int init_run
= 0;
34084 if (init_run
) return;
34087 for (i
= 0; i
< swig_module
.size
; i
++) {
34088 if (swig_module
.types
[i
]->clientdata
) {
34089 equiv
= swig_module
.types
[i
]->cast
;
34091 if (!equiv
->converter
) {
34092 if (equiv
->type
&& !equiv
->type
->clientdata
)
34093 SWIG_TypeClientData(equiv
->type
, swig_module
.types
[i
]->clientdata
);
34095 equiv
= equiv
->next
;
34115 /* Python-specific SWIG API */
34116 #define SWIG_newvarlink() SWIG_Python_newvarlink()
34117 #define SWIG_addvarlink(p, name, get_attr, set_attr) SWIG_Python_addvarlink(p, name, get_attr, set_attr)
34118 #define SWIG_InstallConstants(d, constants) SWIG_Python_InstallConstants(d, constants)
34120 /* -----------------------------------------------------------------------------
34121 * global variable support code.
34122 * ----------------------------------------------------------------------------- */
34124 typedef struct swig_globalvar
{
34125 char *name
; /* Name of global variable */
34126 PyObject
*(*get_attr
)(void); /* Return the current value */
34127 int (*set_attr
)(PyObject
*); /* Set the value */
34128 struct swig_globalvar
*next
;
34131 typedef struct swig_varlinkobject
{
34133 swig_globalvar
*vars
;
34134 } swig_varlinkobject
;
34136 SWIGINTERN PyObject
*
34137 swig_varlink_repr(swig_varlinkobject
*SWIGUNUSEDPARM(v
)) {
34138 return PyString_FromString("<Swig global variables>");
34141 SWIGINTERN PyObject
*
34142 swig_varlink_str(swig_varlinkobject
*v
) {
34143 PyObject
*str
= PyString_FromString("(");
34144 swig_globalvar
*var
;
34145 for (var
= v
->vars
; var
; var
=var
->next
) {
34146 PyString_ConcatAndDel(&str
,PyString_FromString(var
->name
));
34147 if (var
->next
) PyString_ConcatAndDel(&str
,PyString_FromString(", "));
34149 PyString_ConcatAndDel(&str
,PyString_FromString(")"));
34154 swig_varlink_print(swig_varlinkobject
*v
, FILE *fp
, int SWIGUNUSEDPARM(flags
)) {
34155 PyObject
*str
= swig_varlink_str(v
);
34156 fprintf(fp
,"Swig global variables ");
34157 fprintf(fp
,"%s\n", PyString_AsString(str
));
34163 swig_varlink_dealloc(swig_varlinkobject
*v
) {
34164 swig_globalvar
*var
= v
->vars
;
34166 swig_globalvar
*n
= var
->next
;
34173 SWIGINTERN PyObject
*
34174 swig_varlink_getattr(swig_varlinkobject
*v
, char *n
) {
34175 PyObject
*res
= NULL
;
34176 swig_globalvar
*var
= v
->vars
;
34178 if (strcmp(var
->name
,n
) == 0) {
34179 res
= (*var
->get_attr
)();
34184 if (res
== NULL
&& !PyErr_Occurred()) {
34185 PyErr_SetString(PyExc_NameError
,"Unknown C global variable");
34191 swig_varlink_setattr(swig_varlinkobject
*v
, char *n
, PyObject
*p
) {
34193 swig_globalvar
*var
= v
->vars
;
34195 if (strcmp(var
->name
,n
) == 0) {
34196 res
= (*var
->set_attr
)(p
);
34201 if (res
== 1 && !PyErr_Occurred()) {
34202 PyErr_SetString(PyExc_NameError
,"Unknown C global variable");
34207 SWIGINTERN PyTypeObject
*
34208 swig_varlink_type(void) {
34209 static char varlink__doc__
[] = "Swig var link object";
34210 static PyTypeObject varlink_type
;
34211 static int type_init
= 0;
34213 const PyTypeObject tmp
34215 PyObject_HEAD_INIT(NULL
)
34216 0, /* Number of items in variable part (ob_size) */
34217 (char *)"swigvarlink", /* Type name (tp_name) */
34218 sizeof(swig_varlinkobject
), /* Basic size (tp_basicsize) */
34219 0, /* Itemsize (tp_itemsize) */
34220 (destructor
) swig_varlink_dealloc
, /* Deallocator (tp_dealloc) */
34221 (printfunc
) swig_varlink_print
, /* Print (tp_print) */
34222 (getattrfunc
) swig_varlink_getattr
, /* get attr (tp_getattr) */
34223 (setattrfunc
) swig_varlink_setattr
, /* Set attr (tp_setattr) */
34224 0, /* tp_compare */
34225 (reprfunc
) swig_varlink_repr
, /* tp_repr */
34226 0, /* tp_as_number */
34227 0, /* tp_as_sequence */
34228 0, /* tp_as_mapping */
34231 (reprfunc
)swig_varlink_str
, /* tp_str */
34232 0, /* tp_getattro */
34233 0, /* tp_setattro */
34234 0, /* tp_as_buffer */
34236 varlink__doc__
, /* tp_doc */
34237 0, /* tp_traverse */
34239 0, /* tp_richcompare */
34240 0, /* tp_weaklistoffset */
34241 #if PY_VERSION_HEX >= 0x02020000
34242 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, /* tp_iter -> tp_weaklist */
34244 #if PY_VERSION_HEX >= 0x02030000
34247 #ifdef COUNT_ALLOCS
34248 0,0,0,0 /* tp_alloc -> tp_next */
34251 varlink_type
= tmp
;
34252 varlink_type
.ob_type
= &PyType_Type
;
34255 return &varlink_type
;
34258 /* Create a variable linking object for use later */
34259 SWIGINTERN PyObject
*
34260 SWIG_Python_newvarlink(void) {
34261 swig_varlinkobject
*result
= PyObject_NEW(swig_varlinkobject
, swig_varlink_type());
34265 return ((PyObject
*) result
);
34269 SWIG_Python_addvarlink(PyObject
*p
, char *name
, PyObject
*(*get_attr
)(void), int (*set_attr
)(PyObject
*p
)) {
34270 swig_varlinkobject
*v
= (swig_varlinkobject
*) p
;
34271 swig_globalvar
*gv
= (swig_globalvar
*) malloc(sizeof(swig_globalvar
));
34273 size_t size
= strlen(name
)+1;
34274 gv
->name
= (char *)malloc(size
);
34276 strncpy(gv
->name
,name
,size
);
34277 gv
->get_attr
= get_attr
;
34278 gv
->set_attr
= set_attr
;
34279 gv
->next
= v
->vars
;
34285 SWIGINTERN PyObject
*
34287 static PyObject
*_SWIG_globals
= 0;
34288 if (!_SWIG_globals
) _SWIG_globals
= SWIG_newvarlink();
34289 return _SWIG_globals
;
34292 /* -----------------------------------------------------------------------------
34293 * constants/methods manipulation
34294 * ----------------------------------------------------------------------------- */
34296 /* Install Constants */
34298 SWIG_Python_InstallConstants(PyObject
*d
, swig_const_info constants
[]) {
34301 for (i
= 0; constants
[i
].type
; ++i
) {
34302 switch(constants
[i
].type
) {
34303 case SWIG_PY_POINTER
:
34304 obj
= SWIG_NewPointerObj(constants
[i
].pvalue
, *(constants
[i
]).ptype
,0);
34306 case SWIG_PY_BINARY
:
34307 obj
= SWIG_NewPackedObj(constants
[i
].pvalue
, constants
[i
].lvalue
, *(constants
[i
].ptype
));
34314 PyDict_SetItemString(d
, constants
[i
].name
, obj
);
34320 /* -----------------------------------------------------------------------------*/
34321 /* Fix SwigMethods to carry the callback ptrs when needed */
34322 /* -----------------------------------------------------------------------------*/
34325 SWIG_Python_FixMethods(PyMethodDef
*methods
,
34326 swig_const_info
*const_table
,
34327 swig_type_info
**types
,
34328 swig_type_info
**types_initial
) {
34330 for (i
= 0; methods
[i
].ml_name
; ++i
) {
34331 const char *c
= methods
[i
].ml_doc
;
34332 if (c
&& (c
= strstr(c
, "swig_ptr: "))) {
34334 swig_const_info
*ci
= 0;
34335 const char *name
= c
+ 10;
34336 for (j
= 0; const_table
[j
].type
; ++j
) {
34337 if (strncmp(const_table
[j
].name
, name
,
34338 strlen(const_table
[j
].name
)) == 0) {
34339 ci
= &(const_table
[j
]);
34344 size_t shift
= (ci
->ptype
) - types
;
34345 swig_type_info
*ty
= types_initial
[shift
];
34346 size_t ldoc
= (c
- methods
[i
].ml_doc
);
34347 size_t lptr
= strlen(ty
->name
)+2*sizeof(void*)+2;
34348 char *ndoc
= (char*)malloc(ldoc
+ lptr
+ 10);
34351 void *ptr
= (ci
->type
== SWIG_PY_POINTER
) ? ci
->pvalue
: 0;
34353 strncpy(buff
, methods
[i
].ml_doc
, ldoc
);
34355 strncpy(buff
, "swig_ptr: ", 10);
34357 SWIG_PackVoidPtr(buff
, ptr
, ty
->name
, lptr
);
34358 methods
[i
].ml_doc
= ndoc
;
34370 /* -----------------------------------------------------------------------------*
34371 * Partial Init method
34372 * -----------------------------------------------------------------------------*/
34377 SWIGEXPORT
void SWIG_init(void) {
34380 /* Fix SwigMethods to carry the callback ptrs when needed */
34381 SWIG_Python_FixMethods(SwigMethods
, swig_const_table
, swig_types
, swig_type_initial
);
34383 m
= Py_InitModule((char *) SWIG_name
, SwigMethods
);
34384 d
= PyModule_GetDict(m
);
34386 SWIG_InitializeModule(0);
34387 SWIG_InstallConstants(d
,swig_const_table
);
34390 PyDict_SetItemString(d
,(char*)"cvar", SWIG_globals());
34391 SWIG_addvarlink(SWIG_globals(),(char*)"FrameNameStr",FrameNameStr_get
, FrameNameStr_set
);
34392 SWIG_addvarlink(SWIG_globals(),(char*)"DialogNameStr",DialogNameStr_get
, DialogNameStr_set
);
34393 SWIG_addvarlink(SWIG_globals(),(char*)"StatusLineNameStr",StatusLineNameStr_get
, StatusLineNameStr_set
);
34394 SWIG_addvarlink(SWIG_globals(),(char*)"ToolBarNameStr",ToolBarNameStr_get
, ToolBarNameStr_set
);
34395 SWIG_Python_SetConstant(d
, "STAY_ON_TOP",SWIG_From_int(static_cast< int >(wxSTAY_ON_TOP
)));
34396 SWIG_Python_SetConstant(d
, "ICONIZE",SWIG_From_int(static_cast< int >(wxICONIZE
)));
34397 SWIG_Python_SetConstant(d
, "MINIMIZE",SWIG_From_int(static_cast< int >(wxMINIMIZE
)));
34398 SWIG_Python_SetConstant(d
, "MAXIMIZE",SWIG_From_int(static_cast< int >(wxMAXIMIZE
)));
34399 SWIG_Python_SetConstant(d
, "CLOSE_BOX",SWIG_From_int(static_cast< int >(wxCLOSE_BOX
)));
34400 SWIG_Python_SetConstant(d
, "THICK_FRAME",SWIG_From_int(static_cast< int >(wxTHICK_FRAME
)));
34401 SWIG_Python_SetConstant(d
, "SYSTEM_MENU",SWIG_From_int(static_cast< int >(wxSYSTEM_MENU
)));
34402 SWIG_Python_SetConstant(d
, "MINIMIZE_BOX",SWIG_From_int(static_cast< int >(wxMINIMIZE_BOX
)));
34403 SWIG_Python_SetConstant(d
, "MAXIMIZE_BOX",SWIG_From_int(static_cast< int >(wxMAXIMIZE_BOX
)));
34404 SWIG_Python_SetConstant(d
, "TINY_CAPTION_HORIZ",SWIG_From_int(static_cast< int >(wxTINY_CAPTION_HORIZ
)));
34405 SWIG_Python_SetConstant(d
, "TINY_CAPTION_VERT",SWIG_From_int(static_cast< int >(wxTINY_CAPTION_VERT
)));
34406 SWIG_Python_SetConstant(d
, "RESIZE_BOX",SWIG_From_int(static_cast< int >(wxRESIZE_BOX
)));
34407 SWIG_Python_SetConstant(d
, "RESIZE_BORDER",SWIG_From_int(static_cast< int >(wxRESIZE_BORDER
)));
34408 SWIG_Python_SetConstant(d
, "DIALOG_NO_PARENT",SWIG_From_int(static_cast< int >(wxDIALOG_NO_PARENT
)));
34409 SWIG_Python_SetConstant(d
, "DEFAULT_FRAME_STYLE",SWIG_From_int(static_cast< int >(wxDEFAULT_FRAME_STYLE
)));
34410 SWIG_Python_SetConstant(d
, "DEFAULT_DIALOG_STYLE",SWIG_From_int(static_cast< int >(wxDEFAULT_DIALOG_STYLE
)));
34411 SWIG_Python_SetConstant(d
, "FRAME_TOOL_WINDOW",SWIG_From_int(static_cast< int >(wxFRAME_TOOL_WINDOW
)));
34412 SWIG_Python_SetConstant(d
, "FRAME_FLOAT_ON_PARENT",SWIG_From_int(static_cast< int >(wxFRAME_FLOAT_ON_PARENT
)));
34413 SWIG_Python_SetConstant(d
, "FRAME_NO_WINDOW_MENU",SWIG_From_int(static_cast< int >(wxFRAME_NO_WINDOW_MENU
)));
34414 SWIG_Python_SetConstant(d
, "FRAME_NO_TASKBAR",SWIG_From_int(static_cast< int >(wxFRAME_NO_TASKBAR
)));
34415 SWIG_Python_SetConstant(d
, "FRAME_SHAPED",SWIG_From_int(static_cast< int >(wxFRAME_SHAPED
)));
34416 SWIG_Python_SetConstant(d
, "FRAME_DRAWER",SWIG_From_int(static_cast< int >(wxFRAME_DRAWER
)));
34417 SWIG_Python_SetConstant(d
, "FRAME_EX_METAL",SWIG_From_int(static_cast< int >(wxFRAME_EX_METAL
)));
34418 SWIG_Python_SetConstant(d
, "DIALOG_EX_METAL",SWIG_From_int(static_cast< int >(wxDIALOG_EX_METAL
)));
34419 SWIG_Python_SetConstant(d
, "WS_EX_CONTEXTHELP",SWIG_From_int(static_cast< int >(wxWS_EX_CONTEXTHELP
)));
34420 SWIG_Python_SetConstant(d
, "DIALOG_MODAL",SWIG_From_int(static_cast< int >(wxDIALOG_MODAL
)));
34421 SWIG_Python_SetConstant(d
, "DIALOG_MODELESS",SWIG_From_int(static_cast< int >(wxDIALOG_MODELESS
)));
34422 SWIG_Python_SetConstant(d
, "USER_COLOURS",SWIG_From_int(static_cast< int >(wxUSER_COLOURS
)));
34423 SWIG_Python_SetConstant(d
, "NO_3D",SWIG_From_int(static_cast< int >(wxNO_3D
)));
34424 SWIG_Python_SetConstant(d
, "FRAME_EX_CONTEXTHELP",SWIG_From_int(static_cast< int >(wxFRAME_EX_CONTEXTHELP
)));
34425 SWIG_Python_SetConstant(d
, "DIALOG_EX_CONTEXTHELP",SWIG_From_int(static_cast< int >(wxDIALOG_EX_CONTEXTHELP
)));
34426 SWIG_Python_SetConstant(d
, "FULLSCREEN_NOMENUBAR",SWIG_From_int(static_cast< int >(wxFULLSCREEN_NOMENUBAR
)));
34427 SWIG_Python_SetConstant(d
, "FULLSCREEN_NOTOOLBAR",SWIG_From_int(static_cast< int >(wxFULLSCREEN_NOTOOLBAR
)));
34428 SWIG_Python_SetConstant(d
, "FULLSCREEN_NOSTATUSBAR",SWIG_From_int(static_cast< int >(wxFULLSCREEN_NOSTATUSBAR
)));
34429 SWIG_Python_SetConstant(d
, "FULLSCREEN_NOBORDER",SWIG_From_int(static_cast< int >(wxFULLSCREEN_NOBORDER
)));
34430 SWIG_Python_SetConstant(d
, "FULLSCREEN_NOCAPTION",SWIG_From_int(static_cast< int >(wxFULLSCREEN_NOCAPTION
)));
34431 SWIG_Python_SetConstant(d
, "FULLSCREEN_ALL",SWIG_From_int(static_cast< int >(wxFULLSCREEN_ALL
)));
34432 SWIG_Python_SetConstant(d
, "TOPLEVEL_EX_DIALOG",SWIG_From_int(static_cast< int >(wxTOPLEVEL_EX_DIALOG
)));
34433 SWIG_Python_SetConstant(d
, "USER_ATTENTION_INFO",SWIG_From_int(static_cast< int >(wxUSER_ATTENTION_INFO
)));
34434 SWIG_Python_SetConstant(d
, "USER_ATTENTION_ERROR",SWIG_From_int(static_cast< int >(wxUSER_ATTENTION_ERROR
)));
34435 SWIG_Python_SetConstant(d
, "Dialog_ButtonSizerFlags",SWIG_From_int(static_cast< int >(wxDialog::ButtonSizerFlags
)));
34436 SWIG_Python_SetConstant(d
, "DEFAULT_MINIFRAME_STYLE",SWIG_From_int(static_cast< int >(wxDEFAULT_MINIFRAME_STYLE
)));
34437 SWIG_Python_SetConstant(d
, "SPLASH_CENTRE_ON_PARENT",SWIG_From_int(static_cast< int >(wxSPLASH_CENTRE_ON_PARENT
)));
34438 SWIG_Python_SetConstant(d
, "SPLASH_CENTRE_ON_SCREEN",SWIG_From_int(static_cast< int >(wxSPLASH_CENTRE_ON_SCREEN
)));
34439 SWIG_Python_SetConstant(d
, "SPLASH_NO_CENTRE",SWIG_From_int(static_cast< int >(wxSPLASH_NO_CENTRE
)));
34440 SWIG_Python_SetConstant(d
, "SPLASH_TIMEOUT",SWIG_From_int(static_cast< int >(wxSPLASH_TIMEOUT
)));
34441 SWIG_Python_SetConstant(d
, "SPLASH_NO_TIMEOUT",SWIG_From_int(static_cast< int >(wxSPLASH_NO_TIMEOUT
)));
34442 SWIG_Python_SetConstant(d
, "SB_NORMAL",SWIG_From_int(static_cast< int >(wxSB_NORMAL
)));
34443 SWIG_Python_SetConstant(d
, "SB_FLAT",SWIG_From_int(static_cast< int >(wxSB_FLAT
)));
34444 SWIG_Python_SetConstant(d
, "SB_RAISED",SWIG_From_int(static_cast< int >(wxSB_RAISED
)));
34445 SWIG_addvarlink(SWIG_globals(),(char*)"SplitterNameStr",SplitterNameStr_get
, SplitterNameStr_set
);
34446 SWIG_Python_SetConstant(d
, "SP_NOBORDER",SWIG_From_int(static_cast< int >(wxSP_NOBORDER
)));
34447 SWIG_Python_SetConstant(d
, "SP_NOSASH",SWIG_From_int(static_cast< int >(wxSP_NOSASH
)));
34448 SWIG_Python_SetConstant(d
, "SP_PERMIT_UNSPLIT",SWIG_From_int(static_cast< int >(wxSP_PERMIT_UNSPLIT
)));
34449 SWIG_Python_SetConstant(d
, "SP_LIVE_UPDATE",SWIG_From_int(static_cast< int >(wxSP_LIVE_UPDATE
)));
34450 SWIG_Python_SetConstant(d
, "SP_3DSASH",SWIG_From_int(static_cast< int >(wxSP_3DSASH
)));
34451 SWIG_Python_SetConstant(d
, "SP_3DBORDER",SWIG_From_int(static_cast< int >(wxSP_3DBORDER
)));
34452 SWIG_Python_SetConstant(d
, "SP_NO_XP_THEME",SWIG_From_int(static_cast< int >(wxSP_NO_XP_THEME
)));
34453 SWIG_Python_SetConstant(d
, "SP_BORDER",SWIG_From_int(static_cast< int >(wxSP_BORDER
)));
34454 SWIG_Python_SetConstant(d
, "SP_3D",SWIG_From_int(static_cast< int >(wxSP_3D
)));
34455 SWIG_Python_SetConstant(d
, "SPLIT_HORIZONTAL",SWIG_From_int(static_cast< int >(wxSPLIT_HORIZONTAL
)));
34456 SWIG_Python_SetConstant(d
, "SPLIT_VERTICAL",SWIG_From_int(static_cast< int >(wxSPLIT_VERTICAL
)));
34457 SWIG_Python_SetConstant(d
, "SPLIT_DRAG_NONE",SWIG_From_int(static_cast< int >(wxSPLIT_DRAG_NONE
)));
34458 SWIG_Python_SetConstant(d
, "SPLIT_DRAG_DRAGGING",SWIG_From_int(static_cast< int >(wxSPLIT_DRAG_DRAGGING
)));
34459 SWIG_Python_SetConstant(d
, "SPLIT_DRAG_LEFT_DOWN",SWIG_From_int(static_cast< int >(wxSPLIT_DRAG_LEFT_DOWN
)));
34460 PyDict_SetItemString(d
, "wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGED", PyInt_FromLong(wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGED
));
34461 PyDict_SetItemString(d
, "wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGING", PyInt_FromLong(wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGING
));
34462 PyDict_SetItemString(d
, "wxEVT_COMMAND_SPLITTER_DOUBLECLICKED", PyInt_FromLong(wxEVT_COMMAND_SPLITTER_DOUBLECLICKED
));
34463 PyDict_SetItemString(d
, "wxEVT_COMMAND_SPLITTER_UNSPLIT", PyInt_FromLong(wxEVT_COMMAND_SPLITTER_UNSPLIT
));
34464 SWIG_addvarlink(SWIG_globals(),(char*)"SashNameStr",SashNameStr_get
, SashNameStr_set
);
34465 SWIG_addvarlink(SWIG_globals(),(char*)"SashLayoutNameStr",SashLayoutNameStr_get
, SashLayoutNameStr_set
);
34466 SWIG_Python_SetConstant(d
, "SASH_DRAG_NONE",SWIG_From_int(static_cast< int >(wxSASH_DRAG_NONE
)));
34467 SWIG_Python_SetConstant(d
, "SASH_DRAG_DRAGGING",SWIG_From_int(static_cast< int >(wxSASH_DRAG_DRAGGING
)));
34468 SWIG_Python_SetConstant(d
, "SASH_DRAG_LEFT_DOWN",SWIG_From_int(static_cast< int >(wxSASH_DRAG_LEFT_DOWN
)));
34469 SWIG_Python_SetConstant(d
, "SW_NOBORDER",SWIG_From_int(static_cast< int >(wxSW_NOBORDER
)));
34470 SWIG_Python_SetConstant(d
, "SW_BORDER",SWIG_From_int(static_cast< int >(wxSW_BORDER
)));
34471 SWIG_Python_SetConstant(d
, "SW_3DSASH",SWIG_From_int(static_cast< int >(wxSW_3DSASH
)));
34472 SWIG_Python_SetConstant(d
, "SW_3DBORDER",SWIG_From_int(static_cast< int >(wxSW_3DBORDER
)));
34473 SWIG_Python_SetConstant(d
, "SW_3D",SWIG_From_int(static_cast< int >(wxSW_3D
)));
34474 SWIG_Python_SetConstant(d
, "SASH_TOP",SWIG_From_int(static_cast< int >(wxSASH_TOP
)));
34475 SWIG_Python_SetConstant(d
, "SASH_RIGHT",SWIG_From_int(static_cast< int >(wxSASH_RIGHT
)));
34476 SWIG_Python_SetConstant(d
, "SASH_BOTTOM",SWIG_From_int(static_cast< int >(wxSASH_BOTTOM
)));
34477 SWIG_Python_SetConstant(d
, "SASH_LEFT",SWIG_From_int(static_cast< int >(wxSASH_LEFT
)));
34478 SWIG_Python_SetConstant(d
, "SASH_NONE",SWIG_From_int(static_cast< int >(wxSASH_NONE
)));
34479 SWIG_Python_SetConstant(d
, "SASH_STATUS_OK",SWIG_From_int(static_cast< int >(wxSASH_STATUS_OK
)));
34480 SWIG_Python_SetConstant(d
, "SASH_STATUS_OUT_OF_RANGE",SWIG_From_int(static_cast< int >(wxSASH_STATUS_OUT_OF_RANGE
)));
34481 PyDict_SetItemString(d
, "wxEVT_SASH_DRAGGED", PyInt_FromLong(wxEVT_SASH_DRAGGED
));
34482 SWIG_Python_SetConstant(d
, "LAYOUT_HORIZONTAL",SWIG_From_int(static_cast< int >(wxLAYOUT_HORIZONTAL
)));
34483 SWIG_Python_SetConstant(d
, "LAYOUT_VERTICAL",SWIG_From_int(static_cast< int >(wxLAYOUT_VERTICAL
)));
34484 SWIG_Python_SetConstant(d
, "LAYOUT_NONE",SWIG_From_int(static_cast< int >(wxLAYOUT_NONE
)));
34485 SWIG_Python_SetConstant(d
, "LAYOUT_TOP",SWIG_From_int(static_cast< int >(wxLAYOUT_TOP
)));
34486 SWIG_Python_SetConstant(d
, "LAYOUT_LEFT",SWIG_From_int(static_cast< int >(wxLAYOUT_LEFT
)));
34487 SWIG_Python_SetConstant(d
, "LAYOUT_RIGHT",SWIG_From_int(static_cast< int >(wxLAYOUT_RIGHT
)));
34488 SWIG_Python_SetConstant(d
, "LAYOUT_BOTTOM",SWIG_From_int(static_cast< int >(wxLAYOUT_BOTTOM
)));
34489 SWIG_Python_SetConstant(d
, "LAYOUT_LENGTH_Y",SWIG_From_int(static_cast< int >(wxLAYOUT_LENGTH_Y
)));
34490 SWIG_Python_SetConstant(d
, "LAYOUT_LENGTH_X",SWIG_From_int(static_cast< int >(wxLAYOUT_LENGTH_X
)));
34491 SWIG_Python_SetConstant(d
, "LAYOUT_MRU_LENGTH",SWIG_From_int(static_cast< int >(wxLAYOUT_MRU_LENGTH
)));
34492 SWIG_Python_SetConstant(d
, "LAYOUT_QUERY",SWIG_From_int(static_cast< int >(wxLAYOUT_QUERY
)));
34493 PyDict_SetItemString(d
, "wxEVT_QUERY_LAYOUT_INFO", PyInt_FromLong(wxEVT_QUERY_LAYOUT_INFO
));
34494 PyDict_SetItemString(d
, "wxEVT_CALCULATE_LAYOUT", PyInt_FromLong(wxEVT_CALCULATE_LAYOUT
));
34495 SWIG_addvarlink(SWIG_globals(),(char*)"VListBoxNameStr",VListBoxNameStr_get
, VListBoxNameStr_set
);
34497 // Map renamed classes back to their common name for OOR
34498 wxPyPtrTypeMap_Add("wxHtmlListBox", "wxPyHtmlListBox");
34499 wxPyPtrTypeMap_Add("wxVListBox", "wxPyVListBox");
34500 wxPyPtrTypeMap_Add("wxVScrolledWindow", "wxPyVScrolledWindow");
34502 PyDict_SetItemString(d
, "wxEVT_TASKBAR_MOVE", PyInt_FromLong(wxEVT_TASKBAR_MOVE
));
34503 PyDict_SetItemString(d
, "wxEVT_TASKBAR_LEFT_DOWN", PyInt_FromLong(wxEVT_TASKBAR_LEFT_DOWN
));
34504 PyDict_SetItemString(d
, "wxEVT_TASKBAR_LEFT_UP", PyInt_FromLong(wxEVT_TASKBAR_LEFT_UP
));
34505 PyDict_SetItemString(d
, "wxEVT_TASKBAR_RIGHT_DOWN", PyInt_FromLong(wxEVT_TASKBAR_RIGHT_DOWN
));
34506 PyDict_SetItemString(d
, "wxEVT_TASKBAR_RIGHT_UP", PyInt_FromLong(wxEVT_TASKBAR_RIGHT_UP
));
34507 PyDict_SetItemString(d
, "wxEVT_TASKBAR_LEFT_DCLICK", PyInt_FromLong(wxEVT_TASKBAR_LEFT_DCLICK
));
34508 PyDict_SetItemString(d
, "wxEVT_TASKBAR_RIGHT_DCLICK", PyInt_FromLong(wxEVT_TASKBAR_RIGHT_DCLICK
));
34509 SWIG_addvarlink(SWIG_globals(),(char*)"FileSelectorPromptStr",FileSelectorPromptStr_get
, FileSelectorPromptStr_set
);
34510 SWIG_addvarlink(SWIG_globals(),(char*)"DirSelectorPromptStr",DirSelectorPromptStr_get
, DirSelectorPromptStr_set
);
34511 SWIG_addvarlink(SWIG_globals(),(char*)"DirDialogNameStr",DirDialogNameStr_get
, DirDialogNameStr_set
);
34512 SWIG_addvarlink(SWIG_globals(),(char*)"FileSelectorDefaultWildcardStr",FileSelectorDefaultWildcardStr_get
, FileSelectorDefaultWildcardStr_set
);
34513 SWIG_addvarlink(SWIG_globals(),(char*)"GetTextFromUserPromptStr",GetTextFromUserPromptStr_get
, GetTextFromUserPromptStr_set
);
34514 SWIG_addvarlink(SWIG_globals(),(char*)"MessageBoxCaptionStr",MessageBoxCaptionStr_get
, MessageBoxCaptionStr_set
);
34515 SWIG_Python_SetConstant(d
, "DD_NEW_DIR_BUTTON",SWIG_From_int(static_cast< int >(wxDD_NEW_DIR_BUTTON
)));
34516 SWIG_Python_SetConstant(d
, "DD_DEFAULT_STYLE",SWIG_From_int(static_cast< int >(wxDD_DEFAULT_STYLE
)));
34517 SWIG_Python_SetConstant(d
, "DD_CHANGE_DIR",SWIG_From_int(static_cast< int >(wxDD_CHANGE_DIR
)));
34518 SWIG_Python_SetConstant(d
, "OPEN",SWIG_From_int(static_cast< int >(wxOPEN
)));
34519 SWIG_Python_SetConstant(d
, "SAVE",SWIG_From_int(static_cast< int >(wxSAVE
)));
34520 SWIG_Python_SetConstant(d
, "OVERWRITE_PROMPT",SWIG_From_int(static_cast< int >(wxOVERWRITE_PROMPT
)));
34521 SWIG_Python_SetConstant(d
, "FILE_MUST_EXIST",SWIG_From_int(static_cast< int >(wxFILE_MUST_EXIST
)));
34522 SWIG_Python_SetConstant(d
, "MULTIPLE",SWIG_From_int(static_cast< int >(wxMULTIPLE
)));
34523 SWIG_Python_SetConstant(d
, "CHANGE_DIR",SWIG_From_int(static_cast< int >(wxCHANGE_DIR
)));
34524 SWIG_Python_SetConstant(d
, "HIDE_READONLY",SWIG_From_int(static_cast< int >(wxHIDE_READONLY
)));
34525 SWIG_Python_SetConstant(d
, "FD_OPEN",SWIG_From_int(static_cast< int >(wxFD_OPEN
)));
34526 SWIG_Python_SetConstant(d
, "FD_SAVE",SWIG_From_int(static_cast< int >(wxFD_SAVE
)));
34527 SWIG_Python_SetConstant(d
, "FD_OVERWRITE_PROMPT",SWIG_From_int(static_cast< int >(wxFD_OVERWRITE_PROMPT
)));
34528 SWIG_Python_SetConstant(d
, "FD_FILE_MUST_EXIST",SWIG_From_int(static_cast< int >(wxFD_FILE_MUST_EXIST
)));
34529 SWIG_Python_SetConstant(d
, "FD_MULTIPLE",SWIG_From_int(static_cast< int >(wxFD_MULTIPLE
)));
34530 SWIG_Python_SetConstant(d
, "FD_CHANGE_DIR",SWIG_From_int(static_cast< int >(wxFD_CHANGE_DIR
)));
34531 SWIG_Python_SetConstant(d
, "FD_PREVIEW",SWIG_From_int(static_cast< int >(wxFD_PREVIEW
)));
34532 SWIG_Python_SetConstant(d
, "FD_DEFAULT_STYLE",SWIG_From_int(static_cast< int >(wxFD_DEFAULT_STYLE
)));
34533 SWIG_Python_SetConstant(d
, "CHOICEDLG_STYLE",SWIG_From_int(static_cast< int >(wxCHOICEDLG_STYLE
)));
34534 SWIG_Python_SetConstant(d
, "TextEntryDialogStyle",SWIG_From_int(static_cast< int >(wxTextEntryDialogStyle
)));
34535 SWIG_addvarlink(SWIG_globals(),(char*)"GetPasswordFromUserPromptStr",GetPasswordFromUserPromptStr_get
, GetPasswordFromUserPromptStr_set
);
34536 SWIG_Python_SetConstant(d
, "PD_AUTO_HIDE",SWIG_From_int(static_cast< int >(wxPD_AUTO_HIDE
)));
34537 SWIG_Python_SetConstant(d
, "PD_APP_MODAL",SWIG_From_int(static_cast< int >(wxPD_APP_MODAL
)));
34538 SWIG_Python_SetConstant(d
, "PD_CAN_ABORT",SWIG_From_int(static_cast< int >(wxPD_CAN_ABORT
)));
34539 SWIG_Python_SetConstant(d
, "PD_ELAPSED_TIME",SWIG_From_int(static_cast< int >(wxPD_ELAPSED_TIME
)));
34540 SWIG_Python_SetConstant(d
, "PD_ESTIMATED_TIME",SWIG_From_int(static_cast< int >(wxPD_ESTIMATED_TIME
)));
34541 SWIG_Python_SetConstant(d
, "PD_REMAINING_TIME",SWIG_From_int(static_cast< int >(wxPD_REMAINING_TIME
)));
34542 SWIG_Python_SetConstant(d
, "PD_SMOOTH",SWIG_From_int(static_cast< int >(wxPD_SMOOTH
)));
34543 SWIG_Python_SetConstant(d
, "PD_CAN_SKIP",SWIG_From_int(static_cast< int >(wxPD_CAN_SKIP
)));
34544 SWIG_Python_SetConstant(d
, "FR_DOWN",SWIG_From_int(static_cast< int >(wxFR_DOWN
)));
34545 SWIG_Python_SetConstant(d
, "FR_WHOLEWORD",SWIG_From_int(static_cast< int >(wxFR_WHOLEWORD
)));
34546 SWIG_Python_SetConstant(d
, "FR_MATCHCASE",SWIG_From_int(static_cast< int >(wxFR_MATCHCASE
)));
34547 SWIG_Python_SetConstant(d
, "FR_REPLACEDIALOG",SWIG_From_int(static_cast< int >(wxFR_REPLACEDIALOG
)));
34548 SWIG_Python_SetConstant(d
, "FR_NOUPDOWN",SWIG_From_int(static_cast< int >(wxFR_NOUPDOWN
)));
34549 SWIG_Python_SetConstant(d
, "FR_NOMATCHCASE",SWIG_From_int(static_cast< int >(wxFR_NOMATCHCASE
)));
34550 SWIG_Python_SetConstant(d
, "FR_NOWHOLEWORD",SWIG_From_int(static_cast< int >(wxFR_NOWHOLEWORD
)));
34551 PyDict_SetItemString(d
, "wxEVT_COMMAND_FIND", PyInt_FromLong(wxEVT_COMMAND_FIND
));
34552 PyDict_SetItemString(d
, "wxEVT_COMMAND_FIND_NEXT", PyInt_FromLong(wxEVT_COMMAND_FIND_NEXT
));
34553 PyDict_SetItemString(d
, "wxEVT_COMMAND_FIND_REPLACE", PyInt_FromLong(wxEVT_COMMAND_FIND_REPLACE
));
34554 PyDict_SetItemString(d
, "wxEVT_COMMAND_FIND_REPLACE_ALL", PyInt_FromLong(wxEVT_COMMAND_FIND_REPLACE_ALL
));
34555 PyDict_SetItemString(d
, "wxEVT_COMMAND_FIND_CLOSE", PyInt_FromLong(wxEVT_COMMAND_FIND_CLOSE
));
34556 SWIG_Python_SetConstant(d
, "IDM_WINDOWTILE",SWIG_From_int(static_cast< int >(4001)));
34557 SWIG_Python_SetConstant(d
, "IDM_WINDOWTILEHOR",SWIG_From_int(static_cast< int >(4001)));
34558 SWIG_Python_SetConstant(d
, "IDM_WINDOWCASCADE",SWIG_From_int(static_cast< int >(4002)));
34559 SWIG_Python_SetConstant(d
, "IDM_WINDOWICONS",SWIG_From_int(static_cast< int >(4003)));
34560 SWIG_Python_SetConstant(d
, "IDM_WINDOWNEXT",SWIG_From_int(static_cast< int >(4004)));
34561 SWIG_Python_SetConstant(d
, "IDM_WINDOWTILEVERT",SWIG_From_int(static_cast< int >(4005)));
34562 SWIG_Python_SetConstant(d
, "IDM_WINDOWPREV",SWIG_From_int(static_cast< int >(4006)));
34563 SWIG_Python_SetConstant(d
, "FIRST_MDI_CHILD",SWIG_From_int(static_cast< int >(4100)));
34564 SWIG_Python_SetConstant(d
, "LAST_MDI_CHILD",SWIG_From_int(static_cast< int >(4600)));
34565 SWIG_addvarlink(SWIG_globals(),(char*)"PrintoutTitleStr",PrintoutTitleStr_get
, PrintoutTitleStr_set
);
34566 SWIG_addvarlink(SWIG_globals(),(char*)"PreviewCanvasNameStr",PreviewCanvasNameStr_get
, PreviewCanvasNameStr_set
);
34567 SWIG_Python_SetConstant(d
, "PRINT_MODE_NONE",SWIG_From_int(static_cast< int >(wxPRINT_MODE_NONE
)));
34568 SWIG_Python_SetConstant(d
, "PRINT_MODE_PREVIEW",SWIG_From_int(static_cast< int >(wxPRINT_MODE_PREVIEW
)));
34569 SWIG_Python_SetConstant(d
, "PRINT_MODE_FILE",SWIG_From_int(static_cast< int >(wxPRINT_MODE_FILE
)));
34570 SWIG_Python_SetConstant(d
, "PRINT_MODE_PRINTER",SWIG_From_int(static_cast< int >(wxPRINT_MODE_PRINTER
)));
34571 SWIG_Python_SetConstant(d
, "PRINT_MODE_STREAM",SWIG_From_int(static_cast< int >(wxPRINT_MODE_STREAM
)));
34572 SWIG_Python_SetConstant(d
, "PRINTBIN_DEFAULT",SWIG_From_int(static_cast< int >(wxPRINTBIN_DEFAULT
)));
34573 SWIG_Python_SetConstant(d
, "PRINTBIN_ONLYONE",SWIG_From_int(static_cast< int >(wxPRINTBIN_ONLYONE
)));
34574 SWIG_Python_SetConstant(d
, "PRINTBIN_LOWER",SWIG_From_int(static_cast< int >(wxPRINTBIN_LOWER
)));
34575 SWIG_Python_SetConstant(d
, "PRINTBIN_MIDDLE",SWIG_From_int(static_cast< int >(wxPRINTBIN_MIDDLE
)));
34576 SWIG_Python_SetConstant(d
, "PRINTBIN_MANUAL",SWIG_From_int(static_cast< int >(wxPRINTBIN_MANUAL
)));
34577 SWIG_Python_SetConstant(d
, "PRINTBIN_ENVELOPE",SWIG_From_int(static_cast< int >(wxPRINTBIN_ENVELOPE
)));
34578 SWIG_Python_SetConstant(d
, "PRINTBIN_ENVMANUAL",SWIG_From_int(static_cast< int >(wxPRINTBIN_ENVMANUAL
)));
34579 SWIG_Python_SetConstant(d
, "PRINTBIN_AUTO",SWIG_From_int(static_cast< int >(wxPRINTBIN_AUTO
)));
34580 SWIG_Python_SetConstant(d
, "PRINTBIN_TRACTOR",SWIG_From_int(static_cast< int >(wxPRINTBIN_TRACTOR
)));
34581 SWIG_Python_SetConstant(d
, "PRINTBIN_SMALLFMT",SWIG_From_int(static_cast< int >(wxPRINTBIN_SMALLFMT
)));
34582 SWIG_Python_SetConstant(d
, "PRINTBIN_LARGEFMT",SWIG_From_int(static_cast< int >(wxPRINTBIN_LARGEFMT
)));
34583 SWIG_Python_SetConstant(d
, "PRINTBIN_LARGECAPACITY",SWIG_From_int(static_cast< int >(wxPRINTBIN_LARGECAPACITY
)));
34584 SWIG_Python_SetConstant(d
, "PRINTBIN_CASSETTE",SWIG_From_int(static_cast< int >(wxPRINTBIN_CASSETTE
)));
34585 SWIG_Python_SetConstant(d
, "PRINTBIN_FORMSOURCE",SWIG_From_int(static_cast< int >(wxPRINTBIN_FORMSOURCE
)));
34586 SWIG_Python_SetConstant(d
, "PRINTBIN_USER",SWIG_From_int(static_cast< int >(wxPRINTBIN_USER
)));
34587 SWIG_Python_SetConstant(d
, "PRINTER_NO_ERROR",SWIG_From_int(static_cast< int >(wxPRINTER_NO_ERROR
)));
34588 SWIG_Python_SetConstant(d
, "PRINTER_CANCELLED",SWIG_From_int(static_cast< int >(wxPRINTER_CANCELLED
)));
34589 SWIG_Python_SetConstant(d
, "PRINTER_ERROR",SWIG_From_int(static_cast< int >(wxPRINTER_ERROR
)));
34590 SWIG_Python_SetConstant(d
, "PREVIEW_PRINT",SWIG_From_int(static_cast< int >(wxPREVIEW_PRINT
)));
34591 SWIG_Python_SetConstant(d
, "PREVIEW_PREVIOUS",SWIG_From_int(static_cast< int >(wxPREVIEW_PREVIOUS
)));
34592 SWIG_Python_SetConstant(d
, "PREVIEW_NEXT",SWIG_From_int(static_cast< int >(wxPREVIEW_NEXT
)));
34593 SWIG_Python_SetConstant(d
, "PREVIEW_ZOOM",SWIG_From_int(static_cast< int >(wxPREVIEW_ZOOM
)));
34594 SWIG_Python_SetConstant(d
, "PREVIEW_FIRST",SWIG_From_int(static_cast< int >(wxPREVIEW_FIRST
)));
34595 SWIG_Python_SetConstant(d
, "PREVIEW_LAST",SWIG_From_int(static_cast< int >(wxPREVIEW_LAST
)));
34596 SWIG_Python_SetConstant(d
, "PREVIEW_GOTO",SWIG_From_int(static_cast< int >(wxPREVIEW_GOTO
)));
34597 SWIG_Python_SetConstant(d
, "PREVIEW_DEFAULT",SWIG_From_int(static_cast< int >(wxPREVIEW_DEFAULT
)));
34598 SWIG_Python_SetConstant(d
, "ID_PREVIEW_CLOSE",SWIG_From_int(static_cast< int >(wxID_PREVIEW_CLOSE
)));
34599 SWIG_Python_SetConstant(d
, "ID_PREVIEW_NEXT",SWIG_From_int(static_cast< int >(wxID_PREVIEW_NEXT
)));
34600 SWIG_Python_SetConstant(d
, "ID_PREVIEW_PREVIOUS",SWIG_From_int(static_cast< int >(wxID_PREVIEW_PREVIOUS
)));
34601 SWIG_Python_SetConstant(d
, "ID_PREVIEW_PRINT",SWIG_From_int(static_cast< int >(wxID_PREVIEW_PRINT
)));
34602 SWIG_Python_SetConstant(d
, "ID_PREVIEW_ZOOM",SWIG_From_int(static_cast< int >(wxID_PREVIEW_ZOOM
)));
34603 SWIG_Python_SetConstant(d
, "ID_PREVIEW_FIRST",SWIG_From_int(static_cast< int >(wxID_PREVIEW_FIRST
)));
34604 SWIG_Python_SetConstant(d
, "ID_PREVIEW_LAST",SWIG_From_int(static_cast< int >(wxID_PREVIEW_LAST
)));
34605 SWIG_Python_SetConstant(d
, "ID_PREVIEW_GOTO",SWIG_From_int(static_cast< int >(wxID_PREVIEW_GOTO
)));
34607 wxPyPtrTypeMap_Add("wxPrintout", "wxPyPrintout");