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_wxMouseEvent swig_types[77]
2544 #define SWIGTYPE_p_wxMoveEvent swig_types[78]
2545 #define SWIGTYPE_p_wxMultiChoiceDialog swig_types[79]
2546 #define SWIGTYPE_p_wxNavigationKeyEvent swig_types[80]
2547 #define SWIGTYPE_p_wxNcPaintEvent swig_types[81]
2548 #define SWIGTYPE_p_wxNotifyEvent swig_types[82]
2549 #define SWIGTYPE_p_wxNumberEntryDialog swig_types[83]
2550 #define SWIGTYPE_p_wxObject swig_types[84]
2551 #define SWIGTYPE_p_wxPCXHandler swig_types[85]
2552 #define SWIGTYPE_p_wxPNGHandler swig_types[86]
2553 #define SWIGTYPE_p_wxPNMHandler swig_types[87]
2554 #define SWIGTYPE_p_wxPageSetupDialog swig_types[88]
2555 #define SWIGTYPE_p_wxPageSetupDialogData swig_types[89]
2556 #define SWIGTYPE_p_wxPaintEvent swig_types[90]
2557 #define SWIGTYPE_p_wxPaletteChangedEvent swig_types[91]
2558 #define SWIGTYPE_p_wxPanel swig_types[92]
2559 #define SWIGTYPE_p_wxPaperSize swig_types[93]
2560 #define SWIGTYPE_p_wxPasswordEntryDialog swig_types[94]
2561 #define SWIGTYPE_p_wxPoint swig_types[95]
2562 #define SWIGTYPE_p_wxPopupWindow swig_types[96]
2563 #define SWIGTYPE_p_wxPreviewCanvas swig_types[97]
2564 #define SWIGTYPE_p_wxPreviewControlBar swig_types[98]
2565 #define SWIGTYPE_p_wxPreviewFrame swig_types[99]
2566 #define SWIGTYPE_p_wxPrintData swig_types[100]
2567 #define SWIGTYPE_p_wxPrintDialog swig_types[101]
2568 #define SWIGTYPE_p_wxPrintDialogData swig_types[102]
2569 #define SWIGTYPE_p_wxPrintPreview swig_types[103]
2570 #define SWIGTYPE_p_wxPrinter swig_types[104]
2571 #define SWIGTYPE_p_wxProgressDialog swig_types[105]
2572 #define SWIGTYPE_p_wxPyApp swig_types[106]
2573 #define SWIGTYPE_p_wxPyCommandEvent swig_types[107]
2574 #define SWIGTYPE_p_wxPyEvent swig_types[108]
2575 #define SWIGTYPE_p_wxPyHtmlListBox swig_types[109]
2576 #define SWIGTYPE_p_wxPyImageHandler swig_types[110]
2577 #define SWIGTYPE_p_wxPyPanel swig_types[111]
2578 #define SWIGTYPE_p_wxPyPopupTransientWindow swig_types[112]
2579 #define SWIGTYPE_p_wxPyPreviewControlBar swig_types[113]
2580 #define SWIGTYPE_p_wxPyPreviewFrame swig_types[114]
2581 #define SWIGTYPE_p_wxPyPrintPreview swig_types[115]
2582 #define SWIGTYPE_p_wxPyPrintout swig_types[116]
2583 #define SWIGTYPE_p_wxPyScrolledWindow swig_types[117]
2584 #define SWIGTYPE_p_wxPySizer swig_types[118]
2585 #define SWIGTYPE_p_wxPyTaskBarIcon swig_types[119]
2586 #define SWIGTYPE_p_wxPyVListBox swig_types[120]
2587 #define SWIGTYPE_p_wxPyVScrolledWindow swig_types[121]
2588 #define SWIGTYPE_p_wxPyValidator swig_types[122]
2589 #define SWIGTYPE_p_wxPyWindow swig_types[123]
2590 #define SWIGTYPE_p_wxQueryLayoutInfoEvent swig_types[124]
2591 #define SWIGTYPE_p_wxQueryNewPaletteEvent swig_types[125]
2592 #define SWIGTYPE_p_wxRect swig_types[126]
2593 #define SWIGTYPE_p_wxRegion swig_types[127]
2594 #define SWIGTYPE_p_wxSashEvent swig_types[128]
2595 #define SWIGTYPE_p_wxSashLayoutWindow swig_types[129]
2596 #define SWIGTYPE_p_wxSashWindow swig_types[130]
2597 #define SWIGTYPE_p_wxScrollEvent swig_types[131]
2598 #define SWIGTYPE_p_wxScrollWinEvent swig_types[132]
2599 #define SWIGTYPE_p_wxScrolledWindow swig_types[133]
2600 #define SWIGTYPE_p_wxSetCursorEvent swig_types[134]
2601 #define SWIGTYPE_p_wxShowEvent swig_types[135]
2602 #define SWIGTYPE_p_wxSingleChoiceDialog swig_types[136]
2603 #define SWIGTYPE_p_wxSize swig_types[137]
2604 #define SWIGTYPE_p_wxSizeEvent swig_types[138]
2605 #define SWIGTYPE_p_wxSizer swig_types[139]
2606 #define SWIGTYPE_p_wxSizerItem swig_types[140]
2607 #define SWIGTYPE_p_wxSplashScreen swig_types[141]
2608 #define SWIGTYPE_p_wxSplashScreenWindow swig_types[142]
2609 #define SWIGTYPE_p_wxSplitterEvent swig_types[143]
2610 #define SWIGTYPE_p_wxSplitterWindow swig_types[144]
2611 #define SWIGTYPE_p_wxStaticBoxSizer swig_types[145]
2612 #define SWIGTYPE_p_wxStatusBar swig_types[146]
2613 #define SWIGTYPE_p_wxStdDialogButtonSizer swig_types[147]
2614 #define SWIGTYPE_p_wxString swig_types[148]
2615 #define SWIGTYPE_p_wxSysColourChangedEvent swig_types[149]
2616 #define SWIGTYPE_p_wxTIFFHandler swig_types[150]
2617 #define SWIGTYPE_p_wxTaskBarIcon swig_types[151]
2618 #define SWIGTYPE_p_wxTaskBarIconEvent swig_types[152]
2619 #define SWIGTYPE_p_wxTextEntryDialog swig_types[153]
2620 #define SWIGTYPE_p_wxTipWindow swig_types[154]
2621 #define SWIGTYPE_p_wxToolBar swig_types[155]
2622 #define SWIGTYPE_p_wxTopLevelWindow swig_types[156]
2623 #define SWIGTYPE_p_wxUpdateUIEvent swig_types[157]
2624 #define SWIGTYPE_p_wxValidator swig_types[158]
2625 #define SWIGTYPE_p_wxVisualAttributes swig_types[159]
2626 #define SWIGTYPE_p_wxWindow swig_types[160]
2627 #define SWIGTYPE_p_wxWindowCreateEvent swig_types[161]
2628 #define SWIGTYPE_p_wxWindowDestroyEvent swig_types[162]
2629 #define SWIGTYPE_p_wxXPMHandler swig_types[163]
2630 static swig_type_info
*swig_types
[165];
2631 static swig_module_info swig_module
= {swig_types
, 164, 0, 0, 0, 0};
2632 #define SWIG_TypeQuery(name) SWIG_TypeQueryModule(&swig_module, &swig_module, name)
2633 #define SWIG_MangledTypeQuery(name) SWIG_MangledTypeQueryModule(&swig_module, &swig_module, name)
2635 /* -------- TYPES TABLE (END) -------- */
2637 #if (PY_VERSION_HEX <= 0x02000000)
2638 # if !defined(SWIG_PYTHON_CLASSIC)
2639 # error "This python version requires to use swig with the '-classic' option"
2642 #if (PY_VERSION_HEX <= 0x02020000)
2643 # error "This python version requires to use swig with the '-nomodern' option"
2645 #if (PY_VERSION_HEX <= 0x02020000)
2646 # error "This python version requires to use swig with the '-nomodernargs' option"
2649 # error "This python version requires to use swig with the '-nofastunpack' option"
2652 /*-----------------------------------------------
2653 @(target):= _windows_.so
2654 ------------------------------------------------*/
2655 #define SWIG_init init_windows_
2657 #define SWIG_name "_windows_"
2659 #define SWIGVERSION 0x010329
2662 #define SWIG_as_voidptr(a) const_cast< void * >(static_cast< const void * >(a))
2663 #define SWIG_as_voidptrptr(a) ((void)SWIG_as_voidptr(*a),reinterpret_cast< void** >(a))
2666 #include <stdexcept>
2670 class PyObject_ptr
{
2675 PyObject_ptr() :_obj(0)
2679 PyObject_ptr(const PyObject_ptr
& item
) : _obj(item
._obj
)
2684 PyObject_ptr(PyObject
*obj
, bool initial_ref
= true) :_obj(obj
)
2686 if (initial_ref
) Py_XINCREF(_obj
);
2689 PyObject_ptr
& operator=(const PyObject_ptr
& item
)
2691 Py_XINCREF(item
._obj
);
2702 operator PyObject
*() const
2707 PyObject
*operator->() const
2716 struct PyObject_var
: PyObject_ptr
{
2717 PyObject_var(PyObject
* obj
= 0) : PyObject_ptr(obj
, false) { }
2719 PyObject_var
& operator = (PyObject
* obj
)
2729 #include "wx/wxPython/wxPython.h"
2730 #include "wx/wxPython/pyclasses.h"
2733 static const wxString
wxPyEmptyString(wxEmptyString
);
2734 static const wxString
wxPyPanelNameStr(wxPanelNameStr
);
2740 # define LLONG_MIN LONG_LONG_MIN
2743 # define LLONG_MAX LONG_LONG_MAX
2746 # define ULLONG_MAX ULONG_LONG_MAX
2751 SWIG_AsVal_long (PyObject
* obj
, long* val
)
2753 if (PyNumber_Check(obj
)) {
2754 if (val
) *val
= PyInt_AsLong(obj
);
2757 return SWIG_TypeError
;
2762 SWIG_AsVal_int (PyObject
* obj
, int *val
)
2765 int res
= SWIG_AsVal_long (obj
, &v
);
2766 if (SWIG_IsOK(res
)) {
2767 if ((v
< INT_MIN
|| v
> INT_MAX
)) {
2768 return SWIG_OverflowError
;
2770 if (val
) *val
= static_cast< int >(v
);
2778 SWIG_AsVal_bool (PyObject
*obj
, bool *val
)
2780 if (obj
== Py_True
) {
2781 if (val
) *val
= true;
2783 } else if (obj
== Py_False
) {
2784 if (val
) *val
= false;
2788 int res
= SWIG_AddCast(SWIG_AsVal_long (obj
, val
? &v
: 0));
2789 if (SWIG_IsOK(res
) && val
) *val
= v
? true : false;
2795 #define SWIG_From_long PyInt_FromLong
2798 SWIGINTERNINLINE PyObject
*
2799 SWIG_From_int (int value
)
2801 return SWIG_From_long (value
);
2806 SWIG_AsVal_double (PyObject
*obj
, double* val
)
2808 if (PyNumber_Check(obj
)) {
2809 if (val
) *val
= PyFloat_AsDouble(obj
);
2812 return SWIG_TypeError
;
2816 #define SWIG_From_double PyFloat_FromDouble
2818 static const wxString
wxPyFrameNameStr(wxFrameNameStr
);
2819 static const wxString
wxPyDialogNameStr(wxDialogNameStr
);
2820 static const wxString
wxPyStatusLineNameStr(wxStatusLineNameStr
);
2821 static const wxString
wxPyToolBarNameStr(wxToolBarNameStr
);
2822 SWIGINTERN
void wxTopLevelWindow_MacSetMetalAppearance(wxTopLevelWindow
*self
,bool on
){ /*wxPyRaiseNotImplemented();*/ }
2823 SWIGINTERN
bool wxTopLevelWindow_MacGetMetalAppearance(wxTopLevelWindow
const *self
){ /*wxPyRaiseNotImplemented();*/ return false; }
2826 SWIG_AsVal_unsigned_SS_long (PyObject
* obj
, unsigned long* val
)
2829 if (SWIG_AsVal_long(obj
, &v
) && v
< 0) {
2830 return SWIG_TypeError
;
2833 *val
= (unsigned long)v
;
2839 SWIG_AsVal_unsigned_SS_char (PyObject
* obj
, unsigned char *val
)
2842 int res
= SWIG_AsVal_unsigned_SS_long (obj
, &v
);
2843 if (SWIG_IsOK(res
)) {
2844 if ((v
> UCHAR_MAX
)) {
2845 return SWIG_OverflowError
;
2847 if (val
) *val
= static_cast< unsigned char >(v
);
2855 SWIGINTERN wxRect
wxStatusBar_GetFieldRect(wxStatusBar
*self
,int i
){
2857 self
->GetFieldRect(i
, r
);
2860 static const wxString
wxPySplitterNameStr(wxT("splitter"));
2861 static const wxString
wxPySashNameStr(wxT("sashWindow"));
2862 static const wxString
wxPySashLayoutNameStr(wxT("layoutWindow"));
2864 #include <wx/popupwin.h>
2867 class wxPyPopupTransientWindow
: public wxPopupTransientWindow
2870 wxPyPopupTransientWindow() : wxPopupTransientWindow() {}
2871 wxPyPopupTransientWindow(wxWindow
* parent
, int style
= wxBORDER_NONE
)
2872 : wxPopupTransientWindow(parent
, style
) {}
2874 DEC_PYCALLBACK_BOOL_ME(ProcessLeftDown
);
2875 DEC_PYCALLBACK__(OnDismiss
);
2876 DEC_PYCALLBACK_BOOL_(CanDismiss
);
2881 IMP_PYCALLBACK_BOOL_ME(wxPyPopupTransientWindow
, wxPopupTransientWindow
, ProcessLeftDown
);
2882 IMP_PYCALLBACK__(wxPyPopupTransientWindow
, wxPopupTransientWindow
, OnDismiss
);
2883 IMP_PYCALLBACK_BOOL_(wxPyPopupTransientWindow
, wxPopupTransientWindow
, CanDismiss
);
2886 #include <wx/tipwin.h>
2888 SWIGINTERN wxTipWindow
*new_wxTipWindow(wxWindow
*parent
,wxString
const &text
,int maxLength
=100,wxRect
*rectBound
=NULL
){
2889 return new wxTipWindow(parent
, text
, maxLength
, NULL
, rectBound
);
2892 #include <wx/tipwin.h>
2895 #include <wx/vscroll.h>
2898 class wxPyVScrolledWindow
: public wxVScrolledWindow
2900 DECLARE_ABSTRACT_CLASS(wxPyVScrolledWindow
)
2902 wxPyVScrolledWindow() : wxVScrolledWindow() {}
2904 wxPyVScrolledWindow(wxWindow
*parent
,
2905 wxWindowID id
= wxID_ANY
,
2906 const wxPoint
& pos
= wxDefaultPosition
,
2907 const wxSize
& size
= wxDefaultSize
,
2909 const wxString
& name
= wxPyPanelNameStr
)
2910 : wxVScrolledWindow(parent
, id
, pos
, size
, style
, name
)
2913 // Overridable virtuals
2915 // this function must be overridden in the derived class and it should
2916 // return the height of the given line in pixels
2917 DEC_PYCALLBACK_COORD_SIZET_constpure(OnGetLineHeight
);
2920 // this function doesn't have to be overridden but it may be useful to do
2921 // it if calculating the lines heights is a relatively expensive operation
2922 // as it gives the user code a possibility to calculate several of them at
2925 // OnGetLinesHint() is normally called just before OnGetLineHeight() but you
2926 // shouldn't rely on the latter being called for all lines in the interval
2927 // specified here. It is also possible that OnGetLineHeight() will be
2928 // called for the lines outside of this interval, so this is really just a
2929 // hint, not a promise.
2931 // finally note that lineMin is inclusive, while lineMax is exclusive, as
2933 DEC_PYCALLBACK_VOID_SIZETSIZET_const(OnGetLinesHint
);
2936 // when the number of lines changes, we try to estimate the total height
2937 // of all lines which is a rather expensive operation in terms of lines
2938 // access, so if the user code may estimate the average height
2939 // better/faster than we do, it should override this function to implement
2942 // this function should return the best guess for the total height it may
2944 DEC_PYCALLBACK_COORD_const(EstimateTotalHeight
);
2947 // Also expose some other interesting protected methods
2950 // find the index of the line we need to show at the top of the window such
2951 // that the last (fully or partially) visible line is the given one
2952 size_t FindFirstFromBottom(size_t lineLast
, bool fullyVisible
= false)
2953 { return wxVScrolledWindow::FindFirstFromBottom(lineLast
, fullyVisible
); }
2955 // get the total height of the lines between lineMin (inclusive) and
2956 // lineMax (exclusive)
2957 wxCoord
GetLinesHeight(size_t lineMin
, size_t lineMax
) const
2958 { return wxVScrolledWindow::GetLinesHeight(lineMin
, lineMax
); }
2960 // update the thumb size shown by the scrollbar
2961 void UpdateScrollbar() { wxVScrolledWindow::UpdateScrollbar(); }
2963 // remove the scrollbar completely because we don't need it
2964 void RemoveScrollbar() { wxVScrolledWindow::RemoveScrollbar(); }
2969 IMPLEMENT_ABSTRACT_CLASS(wxPyVScrolledWindow
, wxVScrolledWindow
);
2971 IMP_PYCALLBACK_COORD_SIZET_constpure(wxPyVScrolledWindow
, wxVScrolledWindow
, OnGetLineHeight
);
2972 IMP_PYCALLBACK_VOID_SIZETSIZET_const(wxPyVScrolledWindow
, wxVScrolledWindow
, OnGetLinesHint
);
2973 IMP_PYCALLBACK_COORD_const (wxPyVScrolledWindow
, wxVScrolledWindow
, EstimateTotalHeight
);
2976 SWIGINTERNINLINE
int
2977 SWIG_AsVal_size_t (PyObject
* obj
, size_t *val
)
2980 int res
= SWIG_AsVal_unsigned_SS_long (obj
, val
? &v
: 0);
2981 if (SWIG_IsOK(res
) && val
) *val
= static_cast< size_t >(v
);
2986 SWIGINTERNINLINE PyObject
*
2987 SWIG_From_unsigned_SS_long (unsigned long value
)
2989 return (value
> LONG_MAX
) ?
2990 PyLong_FromUnsignedLong(value
) : PyInt_FromLong(static_cast< long >(value
));
2994 SWIGINTERNINLINE PyObject
*
2995 SWIG_From_size_t (size_t value
)
2997 return SWIG_From_unsigned_SS_long (static_cast< unsigned long >(value
));
3001 #include <wx/vlbox.h>
3003 static const wxString
wxPyVListBoxNameStr(wxVListBoxNameStr
);
3005 class wxPyVListBox
: public wxVListBox
3007 DECLARE_ABSTRACT_CLASS(wxPyVListBox
)
3009 wxPyVListBox() : wxVListBox() {}
3011 wxPyVListBox(wxWindow
*parent
,
3012 wxWindowID id
= wxID_ANY
,
3013 const wxPoint
& pos
= wxDefaultPosition
,
3014 const wxSize
& size
= wxDefaultSize
,
3016 const wxString
& name
= wxPyVListBoxNameStr
)
3017 : wxVListBox(parent
, id
, pos
, size
, style
, name
)
3020 // Overridable virtuals
3022 // the derived class must implement this function to actually draw the item
3023 // with the given index on the provided DC
3024 // virtual void OnDrawItem(wxDC& dc, const wxRect& rect, size_t n) const = 0;
3025 DEC_PYCALLBACK__DCRECTSIZET_constpure(OnDrawItem
);
3028 // the derived class must implement this method to return the height of the
3030 // virtual wxCoord OnMeasureItem(size_t n) const = 0;
3031 DEC_PYCALLBACK_COORD_SIZET_constpure(OnMeasureItem
);
3034 // this method may be used to draw separators between the lines; note that
3035 // the rectangle may be modified, typically to deflate it a bit before
3036 // passing to OnDrawItem()
3038 // the base class version doesn't do anything
3039 // virtual void OnDrawSeparator(wxDC& dc, wxRect& rect, size_t n) const;
3040 DEC_PYCALLBACK__DCRECTSIZET2_const(OnDrawSeparator
);
3043 // this method is used to draw the items background and, maybe, a border
3046 // the base class version implements a reasonable default behaviour which
3047 // consists in drawing the selected item with the standard background
3048 // colour and drawing a border around the item if it is either selected or
3050 // virtual void OnDrawBackground(wxDC& dc, const wxRect& rect, size_t n) const;
3051 DEC_PYCALLBACK__DCRECTSIZET_const(OnDrawBackground
);
3057 IMPLEMENT_ABSTRACT_CLASS(wxPyVListBox
, wxVListBox
);
3059 IMP_PYCALLBACK__DCRECTSIZET_constpure(wxPyVListBox
, wxVListBox
, OnDrawItem
);
3060 IMP_PYCALLBACK_COORD_SIZET_constpure (wxPyVListBox
, wxVListBox
, OnMeasureItem
);
3061 IMP_PYCALLBACK__DCRECTSIZET2_const (wxPyVListBox
, wxVListBox
, OnDrawSeparator
);
3062 IMP_PYCALLBACK__DCRECTSIZET_const (wxPyVListBox
, wxVListBox
, OnDrawBackground
);
3065 SWIGINTERN PyObject
*wxPyVListBox_GetFirstSelected(wxPyVListBox
*self
){
3066 unsigned long cookie
= 0;
3067 int selected
= self
->GetFirstSelected(cookie
);
3068 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3069 PyObject
* tup
= PyTuple_New(2);
3070 PyTuple_SET_ITEM(tup
, 0, PyInt_FromLong(selected
));
3071 PyTuple_SET_ITEM(tup
, 1, PyInt_FromLong(cookie
));
3072 wxPyEndBlockThreads(blocked
);
3075 SWIGINTERN PyObject
*wxPyVListBox_GetNextSelected(wxPyVListBox
*self
,unsigned long cookie
){
3076 int selected
= self
->GetNextSelected(cookie
);
3077 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3078 PyObject
* tup
= PyTuple_New(2);
3079 PyTuple_SET_ITEM(tup
, 0, PyInt_FromLong(selected
));
3080 PyTuple_SET_ITEM(tup
, 1, PyInt_FromLong(cookie
));
3081 wxPyEndBlockThreads(blocked
);
3085 #include <wx/htmllbox.h>
3088 class wxPyHtmlListBox
: public wxHtmlListBox
3090 DECLARE_ABSTRACT_CLASS(wxPyHtmlListBox
)
3092 wxPyHtmlListBox() : wxHtmlListBox() {}
3094 wxPyHtmlListBox(wxWindow
*parent
,
3095 wxWindowID id
= wxID_ANY
,
3096 const wxPoint
& pos
= wxDefaultPosition
,
3097 const wxSize
& size
= wxDefaultSize
,
3099 const wxString
& name
= wxPyVListBoxNameStr
)
3100 : wxHtmlListBox(parent
, id
, pos
, size
, style
, name
)
3103 // Overridable virtuals
3105 // this method must be implemented in the derived class and should return
3106 // the body (i.e. without <html>) of the HTML for the given item
3107 DEC_PYCALLBACK_STRING_SIZET_pure(OnGetItem
);
3109 // this function may be overridden to decorate HTML returned by OnGetItem()
3110 DEC_PYCALLBACK_STRING_SIZET(OnGetItemMarkup
);
3112 // These are from wxVListBox
3113 DEC_PYCALLBACK__DCRECTSIZET2_const(OnDrawSeparator
);
3114 DEC_PYCALLBACK__DCRECTSIZET_const(OnDrawBackground
);
3117 // // this method allows to customize the selection appearance: it may be used
3118 // // to specify the colour of the text which normally has the given colour
3119 // // colFg when it is inside the selection
3121 // // by default, the original colour is not used at all and all text has the
3122 // // same (default for this system) colour inside selection
3123 // virtual wxColour GetSelectedTextColour(const wxColour& colFg) const;
3125 // // this is the same as GetSelectedTextColour() but allows to customize the
3126 // // background colour -- this is even more rarely used as you can change it
3127 // // globally using SetSelectionBackground()
3128 // virtual wxColour GetSelectedTextBgColour(const wxColour& colBg) const;
3131 // This method may be overriden to handle clicking on a link in
3132 // the listbox. By default, clicking links is ignored.
3133 virtual void OnLinkClicked(size_t n
,
3134 const wxHtmlLinkInfo
& link
);
3140 IMPLEMENT_ABSTRACT_CLASS(wxPyHtmlListBox
, wxHtmlListBox
)
3142 IMP_PYCALLBACK_STRING_SIZET_pure(wxPyHtmlListBox
, wxHtmlListBox
, OnGetItem
);
3143 IMP_PYCALLBACK_STRING_SIZET (wxPyHtmlListBox
, wxHtmlListBox
, OnGetItemMarkup
);
3144 IMP_PYCALLBACK__DCRECTSIZET2_const (wxPyHtmlListBox
, wxHtmlListBox
, OnDrawSeparator
);
3145 IMP_PYCALLBACK__DCRECTSIZET_const (wxPyHtmlListBox
, wxHtmlListBox
, OnDrawBackground
);
3148 void wxPyHtmlListBox::OnLinkClicked(size_t n
,
3149 const wxHtmlLinkInfo
& link
) {
3151 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3152 if ((found
= wxPyCBH_findCallback(m_myInst
, "OnLinkClicked"))) {
3153 PyObject
* obj
= wxPyConstructObject((void*)&link
, wxT("wxHtmlLinkInfo"), 0);
3154 wxPyCBH_callCallback(m_myInst
, Py_BuildValue("(iO)", n
, obj
));
3157 wxPyEndBlockThreads(blocked
);
3159 wxPyHtmlListBox::OnLinkClicked(n
, link
);
3166 #ifndef wxHAS_TASK_BAR_ICON
3167 // implement dummy classes for platforms that don't have it
3169 class wxTaskBarIcon
: public wxEvtHandler
3172 wxTaskBarIcon() { wxPyRaiseNotImplemented(); }
3176 class wxTaskBarIconEvent
: public wxEvent
3179 wxTaskBarIconEvent(wxEventType
, wxTaskBarIcon
*)
3180 { wxPyRaiseNotImplemented(); }
3181 virtual wxEvent
* Clone() const { return NULL
; }
3182 bool IsOk() const { return false; }
3183 bool IsIconInstalled() const { return false; }
3184 bool SetIcon(const wxIcon
& icon
, const wxString
& tooltip
= wxPyEmptyString
) { return false; }
3185 bool RemoveIcon() { return false; }
3186 bool PopupMenu(wxMenu
*menu
) { return false; }
3190 wxEVT_TASKBAR_MOVE
= 0,
3191 wxEVT_TASKBAR_LEFT_DOWN
= 0,
3192 wxEVT_TASKBAR_LEFT_UP
= 0,
3193 wxEVT_TASKBAR_RIGHT_DOWN
= 0,
3194 wxEVT_TASKBAR_RIGHT_UP
= 0,
3195 wxEVT_TASKBAR_LEFT_DCLICK
= 0,
3196 wxEVT_TASKBAR_RIGHT_DCLICK
= 0,
3201 // Otherwise make a class that can virtualize CreatePopupMenu
3202 class wxPyTaskBarIcon
: public wxTaskBarIcon
3204 DECLARE_ABSTRACT_CLASS(wxPyTaskBarIcon
)
3206 wxPyTaskBarIcon() : wxTaskBarIcon()
3209 wxMenu
* CreatePopupMenu() {
3210 wxMenu
*rval
= NULL
;
3212 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3213 if ((found
= wxPyCBH_findCallback(m_myInst
, "CreatePopupMenu"))) {
3216 ro
= wxPyCBH_callCallbackObj(m_myInst
, Py_BuildValue("()"));
3218 if (wxPyConvertSwigPtr(ro
, (void **)&ptr
, wxT("wxMenu")))
3223 wxPyEndBlockThreads(blocked
);
3225 rval
= wxTaskBarIcon::CreatePopupMenu();
3232 IMPLEMENT_ABSTRACT_CLASS(wxPyTaskBarIcon
, wxTaskBarIcon
);
3236 SWIGINTERN
void wxPyTaskBarIcon_Destroy(wxPyTaskBarIcon
*self
){
3240 static const wxString
wxPyFileSelectorPromptStr(wxFileSelectorPromptStr
);
3241 static const wxString
wxPyDirSelectorPromptStr(wxDirSelectorPromptStr
);
3242 static const wxString
wxPyDirDialogNameStr(wxDirDialogNameStr
);
3243 static const wxString
wxPyFileSelectorDefaultWildcardStr(wxFileSelectorDefaultWildcardStr
);
3244 static const wxString
wxPyGetTextFromUserPromptStr(wxGetTextFromUserPromptStr
);
3245 static const wxString
wxPyMessageBoxCaptionStr(wxMessageBoxCaptionStr
);
3247 // for compatibility only
3248 #define wxHIDE_READONLY 0
3250 SWIGINTERN PyObject
*wxFileDialog_GetFilenames(wxFileDialog
*self
){
3252 self
->GetFilenames(arr
);
3253 return wxArrayString2PyList_helper(arr
);
3255 SWIGINTERN PyObject
*wxFileDialog_GetPaths(wxFileDialog
*self
){
3257 self
->GetPaths(arr
);
3258 return wxArrayString2PyList_helper(arr
);
3260 SWIGINTERN PyObject
*wxMultiChoiceDialog_GetSelections(wxMultiChoiceDialog
*self
){
3261 return wxArrayInt2PyList_helper(self
->GetSelections());
3263 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
){
3264 return new wxSingleChoiceDialog(parent
, message
, caption
,
3265 choices
, choices_array
, NULL
, style
, pos
);
3267 static const wxString
wxPyGetPasswordFromUserPromptStr(wxGetPasswordFromUserPromptStr
);
3269 SWIGINTERNINLINE PyObject
*
3270 SWIG_From_bool (bool value
)
3272 return PyBool_FromLong(value
? 1 : 0);
3278 // C++ version of Python aware wxWindow
3279 class wxPyWindow
: public wxWindow
3281 DECLARE_DYNAMIC_CLASS(wxPyWindow
)
3283 wxPyWindow() : wxWindow() {}
3284 wxPyWindow(wxWindow
* parent
, const wxWindowID id
,
3285 const wxPoint
& pos
= wxDefaultPosition
,
3286 const wxSize
& size
= wxDefaultSize
,
3288 const wxString
& name
= wxPyPanelNameStr
)
3289 : wxWindow(parent
, id
, pos
, size
, style
, name
) {}
3291 void SetBestSize(const wxSize
& size
) { wxWindow::SetBestSize(size
); }
3293 bool DoEraseBackground(wxDC
* dc
) {
3295 return wxWindow::DoEraseBackground(dc
->GetHDC());
3297 dc
->SetBackground(wxBrush(GetBackgroundColour()));
3303 DEC_PYCALLBACK_VOID_INT4(DoMoveWindow
);
3304 DEC_PYCALLBACK_VOID_INT5(DoSetSize
);
3305 DEC_PYCALLBACK_VOID_INTINT(DoSetClientSize
);
3306 DEC_PYCALLBACK_VOID_INTINT(DoSetVirtualSize
);
3308 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetSize
);
3309 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetClientSize
);
3310 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetPosition
);
3312 DEC_PYCALLBACK_SIZE_const(DoGetVirtualSize
);
3313 DEC_PYCALLBACK_SIZE_const(DoGetBestSize
);
3315 DEC_PYCALLBACK__(InitDialog
);
3316 DEC_PYCALLBACK_BOOL_(TransferDataFromWindow
);
3317 DEC_PYCALLBACK_BOOL_(TransferDataToWindow
);
3318 DEC_PYCALLBACK_BOOL_(Validate
);
3320 DEC_PYCALLBACK_BOOL_const(AcceptsFocus
);
3321 DEC_PYCALLBACK_BOOL_const(AcceptsFocusFromKeyboard
);
3322 DEC_PYCALLBACK_SIZE_const(GetMaxSize
);
3324 DEC_PYCALLBACK_VOID_WXWINBASE(AddChild
);
3325 DEC_PYCALLBACK_VOID_WXWINBASE(RemoveChild
);
3327 DEC_PYCALLBACK_BOOL_const(ShouldInheritColours
);
3328 DEC_PYCALLBACK_VIZATTR_(GetDefaultAttributes
);
3330 DEC_PYCALLBACK_BOOL_(HasTransparentBackground
);
3332 DEC_PYCALLBACK_VOID_(OnInternalIdle
);
3337 IMPLEMENT_DYNAMIC_CLASS(wxPyWindow
, wxWindow
);
3339 IMP_PYCALLBACK_VOID_INT4(wxPyWindow
, wxWindow
, DoMoveWindow
);
3340 IMP_PYCALLBACK_VOID_INT5(wxPyWindow
, wxWindow
, DoSetSize
);
3341 IMP_PYCALLBACK_VOID_INTINT(wxPyWindow
, wxWindow
, DoSetClientSize
);
3342 IMP_PYCALLBACK_VOID_INTINT(wxPyWindow
, wxWindow
, DoSetVirtualSize
);
3344 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyWindow
, wxWindow
, DoGetSize
);
3345 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyWindow
, wxWindow
, DoGetClientSize
);
3346 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyWindow
, wxWindow
, DoGetPosition
);
3348 IMP_PYCALLBACK_SIZE_const(wxPyWindow
, wxWindow
, DoGetVirtualSize
);
3349 IMP_PYCALLBACK_SIZE_const(wxPyWindow
, wxWindow
, DoGetBestSize
);
3351 IMP_PYCALLBACK__(wxPyWindow
, wxWindow
, InitDialog
);
3352 IMP_PYCALLBACK_BOOL_(wxPyWindow
, wxWindow
, TransferDataFromWindow
);
3353 IMP_PYCALLBACK_BOOL_(wxPyWindow
, wxWindow
, TransferDataToWindow
);
3354 IMP_PYCALLBACK_BOOL_(wxPyWindow
, wxWindow
, Validate
);
3356 IMP_PYCALLBACK_BOOL_const(wxPyWindow
, wxWindow
, AcceptsFocus
);
3357 IMP_PYCALLBACK_BOOL_const(wxPyWindow
, wxWindow
, AcceptsFocusFromKeyboard
);
3358 IMP_PYCALLBACK_SIZE_const(wxPyWindow
, wxWindow
, GetMaxSize
);
3360 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyWindow
, wxWindow
, AddChild
);
3361 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyWindow
, wxWindow
, RemoveChild
);
3363 IMP_PYCALLBACK_BOOL_const(wxPyWindow
, wxWindow
, ShouldInheritColours
);
3364 IMP_PYCALLBACK_VIZATTR_(wxPyWindow
, wxWindow
, GetDefaultAttributes
);
3366 IMP_PYCALLBACK_BOOL_(wxPyWindow
, wxWindow
, HasTransparentBackground
);
3368 IMP_PYCALLBACK_VOID_(wxPyWindow
, wxWindow
, OnInternalIdle
);
3370 // C++ version of Python aware wxPanel
3371 class wxPyPanel
: public wxPanel
3373 DECLARE_DYNAMIC_CLASS(wxPyPanel
)
3375 wxPyPanel() : wxPanel() {}
3376 wxPyPanel(wxWindow
* parent
, const wxWindowID id
,
3377 const wxPoint
& pos
= wxDefaultPosition
,
3378 const wxSize
& size
= wxDefaultSize
,
3380 const wxString
& name
= wxPyPanelNameStr
)
3381 : wxPanel(parent
, id
, pos
, size
, style
, name
) {}
3383 void SetBestSize(const wxSize
& size
) { wxPanel::SetBestSize(size
); }
3384 bool DoEraseBackground(wxDC
* dc
) {
3386 return wxWindow::DoEraseBackground(dc
->GetHDC());
3388 dc
->SetBackground(wxBrush(GetBackgroundColour()));
3395 DEC_PYCALLBACK_VOID_INT4(DoMoveWindow
);
3396 DEC_PYCALLBACK_VOID_INT5(DoSetSize
);
3397 DEC_PYCALLBACK_VOID_INTINT(DoSetClientSize
);
3398 DEC_PYCALLBACK_VOID_INTINT(DoSetVirtualSize
);
3400 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetSize
);
3401 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetClientSize
);
3402 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetPosition
);
3404 DEC_PYCALLBACK_SIZE_const(DoGetVirtualSize
);
3405 DEC_PYCALLBACK_SIZE_const(DoGetBestSize
);
3407 DEC_PYCALLBACK__(InitDialog
);
3408 DEC_PYCALLBACK_BOOL_(TransferDataFromWindow
);
3409 DEC_PYCALLBACK_BOOL_(TransferDataToWindow
);
3410 DEC_PYCALLBACK_BOOL_(Validate
);
3412 DEC_PYCALLBACK_BOOL_const(AcceptsFocus
);
3413 DEC_PYCALLBACK_BOOL_const(AcceptsFocusFromKeyboard
);
3414 DEC_PYCALLBACK_SIZE_const(GetMaxSize
);
3416 DEC_PYCALLBACK_VOID_WXWINBASE(AddChild
);
3417 DEC_PYCALLBACK_VOID_WXWINBASE(RemoveChild
);
3419 DEC_PYCALLBACK_BOOL_const(ShouldInheritColours
);
3420 DEC_PYCALLBACK_VIZATTR_(GetDefaultAttributes
);
3422 DEC_PYCALLBACK_BOOL_(HasTransparentBackground
);
3424 DEC_PYCALLBACK_VOID_(OnInternalIdle
);
3429 IMPLEMENT_DYNAMIC_CLASS(wxPyPanel
, wxPanel
);
3431 IMP_PYCALLBACK_VOID_INT4(wxPyPanel
, wxPanel
, DoMoveWindow
);
3432 IMP_PYCALLBACK_VOID_INT5(wxPyPanel
, wxPanel
, DoSetSize
);
3433 IMP_PYCALLBACK_VOID_INTINT(wxPyPanel
, wxPanel
, DoSetClientSize
);
3434 IMP_PYCALLBACK_VOID_INTINT(wxPyPanel
, wxPanel
, DoSetVirtualSize
);
3436 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyPanel
, wxPanel
, DoGetSize
);
3437 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyPanel
, wxPanel
, DoGetClientSize
);
3438 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyPanel
, wxPanel
, DoGetPosition
);
3440 IMP_PYCALLBACK_SIZE_const(wxPyPanel
, wxPanel
, DoGetVirtualSize
);
3441 IMP_PYCALLBACK_SIZE_const(wxPyPanel
, wxPanel
, DoGetBestSize
);
3443 IMP_PYCALLBACK__(wxPyPanel
, wxPanel
, InitDialog
);
3444 IMP_PYCALLBACK_BOOL_(wxPyPanel
, wxPanel
, TransferDataFromWindow
);
3445 IMP_PYCALLBACK_BOOL_(wxPyPanel
, wxPanel
, TransferDataToWindow
);
3446 IMP_PYCALLBACK_BOOL_(wxPyPanel
, wxPanel
, Validate
);
3448 IMP_PYCALLBACK_BOOL_const(wxPyPanel
, wxPanel
, AcceptsFocus
);
3449 IMP_PYCALLBACK_BOOL_const(wxPyPanel
, wxPanel
, AcceptsFocusFromKeyboard
);
3450 IMP_PYCALLBACK_SIZE_const(wxPyPanel
, wxPanel
, GetMaxSize
);
3452 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyPanel
, wxPanel
, AddChild
);
3453 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyPanel
, wxPanel
, RemoveChild
);
3455 IMP_PYCALLBACK_BOOL_const(wxPyPanel
, wxPanel
, ShouldInheritColours
);
3456 IMP_PYCALLBACK_VIZATTR_(wxPyPanel
, wxPanel
, GetDefaultAttributes
);
3458 IMP_PYCALLBACK_BOOL_(wxPyPanel
, wxPanel
, HasTransparentBackground
);
3460 IMP_PYCALLBACK_VOID_(wxPyPanel
, wxPanel
, OnInternalIdle
);
3462 // C++ version of Python aware wxScrolledWindow
3463 class wxPyScrolledWindow
: public wxScrolledWindow
3465 DECLARE_DYNAMIC_CLASS(wxPyScrolledWindow
)
3467 wxPyScrolledWindow() : wxScrolledWindow() {}
3468 wxPyScrolledWindow(wxWindow
* parent
, const wxWindowID id
,
3469 const wxPoint
& pos
= wxDefaultPosition
,
3470 const wxSize
& size
= wxDefaultSize
,
3472 const wxString
& name
= wxPyPanelNameStr
)
3473 : wxScrolledWindow(parent
, id
, pos
, size
, style
, name
) {}
3475 void SetBestSize(const wxSize
& size
) { wxScrolledWindow::SetBestSize(size
); }
3476 bool DoEraseBackground(wxDC
* dc
) {
3478 return wxWindow::DoEraseBackground(dc
->GetHDC());
3480 dc
->SetBackground(wxBrush(GetBackgroundColour()));
3486 DEC_PYCALLBACK_VOID_INT4(DoMoveWindow
);
3487 DEC_PYCALLBACK_VOID_INT5(DoSetSize
);
3488 DEC_PYCALLBACK_VOID_INTINT(DoSetClientSize
);
3489 DEC_PYCALLBACK_VOID_INTINT(DoSetVirtualSize
);
3491 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetSize
);
3492 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetClientSize
);
3493 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetPosition
);
3495 DEC_PYCALLBACK_SIZE_const(DoGetVirtualSize
);
3496 DEC_PYCALLBACK_SIZE_const(DoGetBestSize
);
3498 DEC_PYCALLBACK__(InitDialog
);
3499 DEC_PYCALLBACK_BOOL_(TransferDataFromWindow
);
3500 DEC_PYCALLBACK_BOOL_(TransferDataToWindow
);
3501 DEC_PYCALLBACK_BOOL_(Validate
);
3503 DEC_PYCALLBACK_BOOL_const(AcceptsFocus
);
3504 DEC_PYCALLBACK_BOOL_const(AcceptsFocusFromKeyboard
);
3505 DEC_PYCALLBACK_SIZE_const(GetMaxSize
);
3507 DEC_PYCALLBACK_VOID_WXWINBASE(AddChild
);
3508 DEC_PYCALLBACK_VOID_WXWINBASE(RemoveChild
);
3510 DEC_PYCALLBACK_BOOL_const(ShouldInheritColours
);
3511 DEC_PYCALLBACK_VIZATTR_(GetDefaultAttributes
);
3513 DEC_PYCALLBACK_BOOL_(HasTransparentBackground
);
3515 DEC_PYCALLBACK_VOID_(OnInternalIdle
);
3520 IMPLEMENT_DYNAMIC_CLASS(wxPyScrolledWindow
, wxScrolledWindow
);
3522 IMP_PYCALLBACK_VOID_INT4(wxPyScrolledWindow
, wxScrolledWindow
, DoMoveWindow
);
3523 IMP_PYCALLBACK_VOID_INT5(wxPyScrolledWindow
, wxScrolledWindow
, DoSetSize
);
3524 IMP_PYCALLBACK_VOID_INTINT(wxPyScrolledWindow
, wxScrolledWindow
, DoSetClientSize
);
3525 IMP_PYCALLBACK_VOID_INTINT(wxPyScrolledWindow
, wxScrolledWindow
, DoSetVirtualSize
);
3527 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyScrolledWindow
, wxScrolledWindow
, DoGetSize
);
3528 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyScrolledWindow
, wxScrolledWindow
, DoGetClientSize
);
3529 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyScrolledWindow
, wxScrolledWindow
, DoGetPosition
);
3531 IMP_PYCALLBACK_SIZE_const(wxPyScrolledWindow
, wxScrolledWindow
, DoGetVirtualSize
);
3532 IMP_PYCALLBACK_SIZE_const(wxPyScrolledWindow
, wxScrolledWindow
, DoGetBestSize
);
3534 IMP_PYCALLBACK__(wxPyScrolledWindow
, wxScrolledWindow
, InitDialog
);
3535 IMP_PYCALLBACK_BOOL_(wxPyScrolledWindow
, wxScrolledWindow
, TransferDataFromWindow
);
3536 IMP_PYCALLBACK_BOOL_(wxPyScrolledWindow
, wxScrolledWindow
, TransferDataToWindow
);
3537 IMP_PYCALLBACK_BOOL_(wxPyScrolledWindow
, wxScrolledWindow
, Validate
);
3539 IMP_PYCALLBACK_BOOL_const(wxPyScrolledWindow
, wxScrolledWindow
, AcceptsFocus
);
3540 IMP_PYCALLBACK_BOOL_const(wxPyScrolledWindow
, wxScrolledWindow
, AcceptsFocusFromKeyboard
);
3541 IMP_PYCALLBACK_SIZE_const(wxPyScrolledWindow
, wxScrolledWindow
, GetMaxSize
);
3543 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyScrolledWindow
, wxScrolledWindow
, AddChild
);
3544 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyScrolledWindow
, wxScrolledWindow
, RemoveChild
);
3546 IMP_PYCALLBACK_BOOL_const(wxPyScrolledWindow
, wxScrolledWindow
, ShouldInheritColours
);
3547 IMP_PYCALLBACK_VIZATTR_(wxPyScrolledWindow
, wxScrolledWindow
, GetDefaultAttributes
);
3549 IMP_PYCALLBACK_BOOL_(wxPyScrolledWindow
, wxScrolledWindow
, HasTransparentBackground
);
3551 IMP_PYCALLBACK_VOID_(wxPyScrolledWindow
, wxScrolledWindow
, OnInternalIdle
);
3554 #include "wx/wxPython/printfw.h"
3557 static const wxString
wxPyPrintoutTitleStr(wxT("Printout"));
3558 static const wxString
wxPyPreviewCanvasNameStr(wxT("previewcanvas"));
3559 SWIGINTERN PyObject
*wxPrintData_GetPrivData(wxPrintData
*self
){
3561 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3562 data
= PyString_FromStringAndSize(self
->GetPrivData(),
3563 self
->GetPrivDataLen());
3564 wxPyEndBlockThreads(blocked
);
3567 SWIGINTERN
void wxPrintData_SetPrivData(wxPrintData
*self
,PyObject
*data
){
3568 if (! PyString_Check(data
)) {
3569 wxPyBLOCK_THREADS(PyErr_SetString(PyExc_TypeError
,
3570 "Expected string object"));
3574 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3575 self
->SetPrivData(PyString_AS_STRING(data
), PyString_GET_SIZE(data
));
3576 wxPyEndBlockThreads(blocked
);
3580 IMPLEMENT_ABSTRACT_CLASS(wxPyPrintout
, wxPrintout
);
3582 // Since this one would be tough and ugly to do with the Macros...
3583 void wxPyPrintout::GetPageInfo(int *minPage
, int *maxPage
, int *pageFrom
, int *pageTo
) {
3584 bool hadErr
= false;
3587 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3588 if ((found
= wxPyCBH_findCallback(m_myInst
, "GetPageInfo"))) {
3589 PyObject
* result
= wxPyCBH_callCallbackObj(m_myInst
, Py_BuildValue("()"));
3590 if (result
&& PyTuple_Check(result
) && PyTuple_Size(result
) == 4) {
3593 val
= PyTuple_GetItem(result
, 0);
3594 if (PyInt_Check(val
)) *minPage
= PyInt_AsLong(val
);
3597 val
= PyTuple_GetItem(result
, 1);
3598 if (PyInt_Check(val
)) *maxPage
= PyInt_AsLong(val
);
3601 val
= PyTuple_GetItem(result
, 2);
3602 if (PyInt_Check(val
)) *pageFrom
= PyInt_AsLong(val
);
3605 val
= PyTuple_GetItem(result
, 3);
3606 if (PyInt_Check(val
)) *pageTo
= PyInt_AsLong(val
);
3613 PyErr_SetString(PyExc_TypeError
, "GetPageInfo should return a tuple of 4 integers.");
3618 wxPyEndBlockThreads(blocked
);
3620 wxPrintout::GetPageInfo(minPage
, maxPage
, pageFrom
, pageTo
);
3625 IMP_PYCALLBACK_BOOL_INTINT(wxPyPrintout
, wxPrintout
, OnBeginDocument
);
3626 IMP_PYCALLBACK__(wxPyPrintout
, wxPrintout
, OnEndDocument
);
3627 IMP_PYCALLBACK__(wxPyPrintout
, wxPrintout
, OnBeginPrinting
);
3628 IMP_PYCALLBACK__(wxPyPrintout
, wxPrintout
, OnEndPrinting
);
3629 IMP_PYCALLBACK__(wxPyPrintout
, wxPrintout
, OnPreparePrinting
);
3630 IMP_PYCALLBACK_BOOL_INT_pure(wxPyPrintout
, wxPrintout
, OnPrintPage
);
3631 IMP_PYCALLBACK_BOOL_INT(wxPyPrintout
, wxPrintout
, HasPage
);
3637 #define DEC_PYCALLBACK_BOOL_PREWINDC(CBNAME) \
3638 bool CBNAME(wxPreviewCanvas* a, wxDC& b)
3641 #define IMP_PYCALLBACK_BOOL_PREWINDC(CLASS, PCLASS, CBNAME) \
3642 bool CLASS::CBNAME(wxPreviewCanvas* a, wxDC& b) { \
3645 wxPyBlock_t blocked = wxPyBeginBlockThreads(); \
3646 if ((found = wxPyCBH_findCallback(m_myInst, #CBNAME))) { \
3647 PyObject* win = wxPyMake_wxObject(a,false); \
3648 PyObject* dc = wxPyMake_wxObject(&b,false); \
3649 rval = wxPyCBH_callCallback(m_myInst, Py_BuildValue("(OO)", win, dc)); \
3653 wxPyEndBlockThreads(blocked); \
3655 rval = PCLASS::CBNAME(a, b); \
3662 class wxPyPrintPreview
: public wxPrintPreview
3664 DECLARE_CLASS(wxPyPrintPreview
)
3666 wxPyPrintPreview(wxPyPrintout
* printout
,
3667 wxPyPrintout
* printoutForPrinting
,
3668 wxPrintDialogData
* data
=NULL
)
3669 : wxPrintPreview(printout
, printoutForPrinting
, data
)
3671 wxPyPrintPreview(wxPyPrintout
* printout
,
3672 wxPyPrintout
* printoutForPrinting
,
3674 : wxPrintPreview(printout
, printoutForPrinting
, data
)
3677 DEC_PYCALLBACK_BOOL_INT(SetCurrentPage
);
3678 DEC_PYCALLBACK_BOOL_PREWINDC(PaintPage
);
3679 DEC_PYCALLBACK_BOOL_PREWINDC(DrawBlankPage
);
3680 DEC_PYCALLBACK_BOOL_INT(RenderPage
);
3681 DEC_PYCALLBACK_VOID_INT(SetZoom
);
3682 DEC_PYCALLBACK_BOOL_BOOL(Print
);
3683 DEC_PYCALLBACK_VOID_(DetermineScaling
);
3688 // Stupid renamed classes... Fix this in 2.5...
3689 #if defined(__WXMSW__)
3690 IMPLEMENT_CLASS( wxPyPrintPreview
, wxWindowsPrintPreview
);
3691 #elif defined(__WXMAC__)
3692 IMPLEMENT_CLASS( wxPyPrintPreview
, wxMacPrintPreview
);
3694 IMPLEMENT_CLASS( wxPyPrintPreview
, wxPostScriptPrintPreview
);
3697 IMP_PYCALLBACK_BOOL_INT (wxPyPrintPreview
, wxPrintPreview
, SetCurrentPage
);
3698 IMP_PYCALLBACK_BOOL_PREWINDC(wxPyPrintPreview
, wxPrintPreview
, PaintPage
);
3699 IMP_PYCALLBACK_BOOL_PREWINDC(wxPyPrintPreview
, wxPrintPreview
, DrawBlankPage
);
3700 IMP_PYCALLBACK_BOOL_INT (wxPyPrintPreview
, wxPrintPreview
, RenderPage
);
3701 IMP_PYCALLBACK_VOID_INT (wxPyPrintPreview
, wxPrintPreview
, SetZoom
);
3702 IMP_PYCALLBACK_BOOL_BOOL (wxPyPrintPreview
, wxPrintPreview
, Print
);
3703 IMP_PYCALLBACK_VOID_ (wxPyPrintPreview
, wxPrintPreview
, DetermineScaling
);
3706 class wxPyPreviewFrame
: public wxPreviewFrame
3708 DECLARE_CLASS(wxPyPreviewFrame
)
3710 wxPyPreviewFrame(wxPrintPreview
* preview
, wxFrame
* parent
,
3711 const wxString
& title
,
3712 const wxPoint
& pos
= wxDefaultPosition
,
3713 const wxSize
& size
= wxDefaultSize
,
3714 long style
= wxDEFAULT_FRAME_STYLE
,
3715 const wxString
& name
= wxPyFrameNameStr
)
3716 : wxPreviewFrame(preview
, parent
, title
, pos
, size
, style
, name
)
3719 void SetPreviewCanvas(wxPreviewCanvas
* canvas
) { m_previewCanvas
= canvas
; }
3720 void SetControlBar(wxPreviewControlBar
* bar
) { m_controlBar
= bar
; }
3722 DEC_PYCALLBACK_VOID_(Initialize
);
3723 DEC_PYCALLBACK_VOID_(CreateCanvas
);
3724 DEC_PYCALLBACK_VOID_(CreateControlBar
);
3729 IMPLEMENT_CLASS(wxPyPreviewFrame
, wxPreviewFrame
);
3731 IMP_PYCALLBACK_VOID_(wxPyPreviewFrame
, wxPreviewFrame
, Initialize
);
3732 IMP_PYCALLBACK_VOID_(wxPyPreviewFrame
, wxPreviewFrame
, CreateCanvas
);
3733 IMP_PYCALLBACK_VOID_(wxPyPreviewFrame
, wxPreviewFrame
, CreateControlBar
);
3736 class wxPyPreviewControlBar
: public wxPreviewControlBar
3738 DECLARE_CLASS(wxPyPreviewControlBar
)
3740 wxPyPreviewControlBar(wxPrintPreview
*preview
,
3743 const wxPoint
& pos
= wxDefaultPosition
,
3744 const wxSize
& size
= wxDefaultSize
,
3746 const wxString
& name
= wxPyPanelNameStr
)
3747 : wxPreviewControlBar(preview
, buttons
, parent
, pos
, size
, style
, name
)
3750 void SetPrintPreview(wxPrintPreview
* preview
) { m_printPreview
= preview
; }
3752 DEC_PYCALLBACK_VOID_(CreateButtons
);
3753 DEC_PYCALLBACK_VOID_INT(SetZoomControl
);
3758 IMPLEMENT_CLASS(wxPyPreviewControlBar
, wxPreviewControlBar
);
3759 IMP_PYCALLBACK_VOID_(wxPyPreviewControlBar
, wxPreviewControlBar
, CreateButtons
);
3760 IMP_PYCALLBACK_VOID_INT(wxPyPreviewControlBar
, wxPreviewControlBar
, SetZoomControl
);
3765 SWIGINTERN PyObject
*_wrap_new_Panel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
3766 PyObject
*resultobj
= 0;
3767 wxWindow
*arg1
= (wxWindow
*) 0 ;
3768 int arg2
= (int) (int)-1 ;
3769 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
3770 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
3771 wxSize
const &arg4_defvalue
= wxDefaultSize
;
3772 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
3773 long arg5
= (long) wxTAB_TRAVERSAL
|wxNO_BORDER
;
3774 wxString
const &arg6_defvalue
= wxPyPanelNameStr
;
3775 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
3776 wxPanel
*result
= 0 ;
3785 bool temp6
= false ;
3786 PyObject
* obj0
= 0 ;
3787 PyObject
* obj1
= 0 ;
3788 PyObject
* obj2
= 0 ;
3789 PyObject
* obj3
= 0 ;
3790 PyObject
* obj4
= 0 ;
3791 PyObject
* obj5
= 0 ;
3792 char * kwnames
[] = {
3793 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
3796 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_Panel",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
3797 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
3798 if (!SWIG_IsOK(res1
)) {
3799 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_Panel" "', expected argument " "1"" of type '" "wxWindow *""'");
3801 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
3803 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
3804 if (!SWIG_IsOK(ecode2
)) {
3805 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Panel" "', expected argument " "2"" of type '" "int""'");
3807 arg2
= static_cast< int >(val2
);
3812 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
3818 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
3822 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
3823 if (!SWIG_IsOK(ecode5
)) {
3824 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_Panel" "', expected argument " "5"" of type '" "long""'");
3826 arg5
= static_cast< long >(val5
);
3830 arg6
= wxString_in_helper(obj5
);
3831 if (arg6
== NULL
) SWIG_fail
;
3836 if (!wxPyCheckForApp()) SWIG_fail
;
3837 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3838 result
= (wxPanel
*)new wxPanel(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
3839 wxPyEndAllowThreads(__tstate
);
3840 if (PyErr_Occurred()) SWIG_fail
;
3842 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPanel
, SWIG_POINTER_NEW
| 0 );
3857 SWIGINTERN PyObject
*_wrap_new_PrePanel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
3858 PyObject
*resultobj
= 0;
3859 wxPanel
*result
= 0 ;
3861 if (!SWIG_Python_UnpackTuple(args
,"new_PrePanel",0,0,0)) SWIG_fail
;
3863 if (!wxPyCheckForApp()) SWIG_fail
;
3864 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3865 result
= (wxPanel
*)new wxPanel();
3866 wxPyEndAllowThreads(__tstate
);
3867 if (PyErr_Occurred()) SWIG_fail
;
3869 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPanel
, SWIG_POINTER_OWN
| 0 );
3876 SWIGINTERN PyObject
*_wrap_Panel_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
3877 PyObject
*resultobj
= 0;
3878 wxPanel
*arg1
= (wxPanel
*) 0 ;
3879 wxWindow
*arg2
= (wxWindow
*) 0 ;
3880 int arg3
= (int) (int)-1 ;
3881 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
3882 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
3883 wxSize
const &arg5_defvalue
= wxDefaultSize
;
3884 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
3885 long arg6
= (long) wxTAB_TRAVERSAL
|wxNO_BORDER
;
3886 wxString
const &arg7_defvalue
= wxPyPanelNameStr
;
3887 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
3899 bool temp7
= false ;
3900 PyObject
* obj0
= 0 ;
3901 PyObject
* obj1
= 0 ;
3902 PyObject
* obj2
= 0 ;
3903 PyObject
* obj3
= 0 ;
3904 PyObject
* obj4
= 0 ;
3905 PyObject
* obj5
= 0 ;
3906 PyObject
* obj6
= 0 ;
3907 char * kwnames
[] = {
3908 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
3911 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:Panel_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
3912 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPanel
, 0 | 0 );
3913 if (!SWIG_IsOK(res1
)) {
3914 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Panel_Create" "', expected argument " "1"" of type '" "wxPanel *""'");
3916 arg1
= reinterpret_cast< wxPanel
* >(argp1
);
3917 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
3918 if (!SWIG_IsOK(res2
)) {
3919 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Panel_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
3921 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
3923 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
3924 if (!SWIG_IsOK(ecode3
)) {
3925 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Panel_Create" "', expected argument " "3"" of type '" "int""'");
3927 arg3
= static_cast< int >(val3
);
3932 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
3938 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
3942 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
3943 if (!SWIG_IsOK(ecode6
)) {
3944 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "Panel_Create" "', expected argument " "6"" of type '" "long""'");
3946 arg6
= static_cast< long >(val6
);
3950 arg7
= wxString_in_helper(obj6
);
3951 if (arg7
== NULL
) SWIG_fail
;
3956 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3957 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
3958 wxPyEndAllowThreads(__tstate
);
3959 if (PyErr_Occurred()) SWIG_fail
;
3962 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3978 SWIGINTERN PyObject
*_wrap_Panel_SetFocusIgnoringChildren(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
3979 PyObject
*resultobj
= 0;
3980 wxPanel
*arg1
= (wxPanel
*) 0 ;
3983 PyObject
*swig_obj
[1] ;
3985 if (!args
) SWIG_fail
;
3987 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPanel
, 0 | 0 );
3988 if (!SWIG_IsOK(res1
)) {
3989 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Panel_SetFocusIgnoringChildren" "', expected argument " "1"" of type '" "wxPanel *""'");
3991 arg1
= reinterpret_cast< wxPanel
* >(argp1
);
3993 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3994 (arg1
)->SetFocusIgnoringChildren();
3995 wxPyEndAllowThreads(__tstate
);
3996 if (PyErr_Occurred()) SWIG_fail
;
3998 resultobj
= SWIG_Py_Void();
4005 SWIGINTERN PyObject
*_wrap_Panel_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4006 PyObject
*resultobj
= 0;
4007 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
4008 SwigValueWrapper
<wxVisualAttributes
> result
;
4011 PyObject
* obj0
= 0 ;
4012 char * kwnames
[] = {
4013 (char *) "variant", NULL
4016 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Panel_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
4018 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
4019 if (!SWIG_IsOK(ecode1
)) {
4020 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "Panel_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
4022 arg1
= static_cast< wxWindowVariant
>(val1
);
4025 if (!wxPyCheckForApp()) SWIG_fail
;
4026 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4027 result
= wxPanel::GetClassDefaultAttributes(arg1
);
4028 wxPyEndAllowThreads(__tstate
);
4029 if (PyErr_Occurred()) SWIG_fail
;
4031 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
4038 SWIGINTERN PyObject
*Panel_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4040 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
4041 SWIG_TypeNewClientData(SWIGTYPE_p_wxPanel
, SWIG_NewClientData(obj
));
4042 return SWIG_Py_Void();
4045 SWIGINTERN PyObject
*Panel_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4046 return SWIG_Python_InitShadowInstance(args
);
4049 SWIGINTERN PyObject
*_wrap_new_ScrolledWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4050 PyObject
*resultobj
= 0;
4051 wxWindow
*arg1
= (wxWindow
*) 0 ;
4052 int arg2
= (int) (int)-1 ;
4053 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
4054 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
4055 wxSize
const &arg4_defvalue
= wxDefaultSize
;
4056 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
4057 long arg5
= (long) wxHSCROLL
|wxVSCROLL
;
4058 wxString
const &arg6_defvalue
= wxPyPanelNameStr
;
4059 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
4060 wxScrolledWindow
*result
= 0 ;
4069 bool temp6
= false ;
4070 PyObject
* obj0
= 0 ;
4071 PyObject
* obj1
= 0 ;
4072 PyObject
* obj2
= 0 ;
4073 PyObject
* obj3
= 0 ;
4074 PyObject
* obj4
= 0 ;
4075 PyObject
* obj5
= 0 ;
4076 char * kwnames
[] = {
4077 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
4080 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_ScrolledWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
4081 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
4082 if (!SWIG_IsOK(res1
)) {
4083 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_ScrolledWindow" "', expected argument " "1"" of type '" "wxWindow *""'");
4085 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
4087 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
4088 if (!SWIG_IsOK(ecode2
)) {
4089 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_ScrolledWindow" "', expected argument " "2"" of type '" "int""'");
4091 arg2
= static_cast< int >(val2
);
4096 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
4102 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
4106 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
4107 if (!SWIG_IsOK(ecode5
)) {
4108 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_ScrolledWindow" "', expected argument " "5"" of type '" "long""'");
4110 arg5
= static_cast< long >(val5
);
4114 arg6
= wxString_in_helper(obj5
);
4115 if (arg6
== NULL
) SWIG_fail
;
4120 if (!wxPyCheckForApp()) SWIG_fail
;
4121 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4122 result
= (wxScrolledWindow
*)new wxScrolledWindow(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
4123 wxPyEndAllowThreads(__tstate
);
4124 if (PyErr_Occurred()) SWIG_fail
;
4126 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxScrolledWindow
, SWIG_POINTER_NEW
| 0 );
4141 SWIGINTERN PyObject
*_wrap_new_PreScrolledWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4142 PyObject
*resultobj
= 0;
4143 wxScrolledWindow
*result
= 0 ;
4145 if (!SWIG_Python_UnpackTuple(args
,"new_PreScrolledWindow",0,0,0)) SWIG_fail
;
4147 if (!wxPyCheckForApp()) SWIG_fail
;
4148 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4149 result
= (wxScrolledWindow
*)new wxScrolledWindow();
4150 wxPyEndAllowThreads(__tstate
);
4151 if (PyErr_Occurred()) SWIG_fail
;
4153 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxScrolledWindow
, SWIG_POINTER_OWN
| 0 );
4160 SWIGINTERN PyObject
*_wrap_ScrolledWindow_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4161 PyObject
*resultobj
= 0;
4162 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
4163 wxWindow
*arg2
= (wxWindow
*) 0 ;
4164 int arg3
= (int) (int)-1 ;
4165 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
4166 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
4167 wxSize
const &arg5_defvalue
= wxDefaultSize
;
4168 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
4169 long arg6
= (long) wxHSCROLL
|wxVSCROLL
;
4170 wxString
const &arg7_defvalue
= wxPyPanelNameStr
;
4171 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
4183 bool temp7
= false ;
4184 PyObject
* obj0
= 0 ;
4185 PyObject
* obj1
= 0 ;
4186 PyObject
* obj2
= 0 ;
4187 PyObject
* obj3
= 0 ;
4188 PyObject
* obj4
= 0 ;
4189 PyObject
* obj5
= 0 ;
4190 PyObject
* obj6
= 0 ;
4191 char * kwnames
[] = {
4192 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
4195 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:ScrolledWindow_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
4196 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxScrolledWindow
, 0 | 0 );
4197 if (!SWIG_IsOK(res1
)) {
4198 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrolledWindow_Create" "', expected argument " "1"" of type '" "wxScrolledWindow *""'");
4200 arg1
= reinterpret_cast< wxScrolledWindow
* >(argp1
);
4201 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
4202 if (!SWIG_IsOK(res2
)) {
4203 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ScrolledWindow_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
4205 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
4207 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
4208 if (!SWIG_IsOK(ecode3
)) {
4209 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ScrolledWindow_Create" "', expected argument " "3"" of type '" "int""'");
4211 arg3
= static_cast< int >(val3
);
4216 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
4222 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
4226 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
4227 if (!SWIG_IsOK(ecode6
)) {
4228 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "ScrolledWindow_Create" "', expected argument " "6"" of type '" "long""'");
4230 arg6
= static_cast< long >(val6
);
4234 arg7
= wxString_in_helper(obj6
);
4235 if (arg7
== NULL
) SWIG_fail
;
4240 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4241 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
4242 wxPyEndAllowThreads(__tstate
);
4243 if (PyErr_Occurred()) SWIG_fail
;
4246 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4262 SWIGINTERN PyObject
*_wrap_ScrolledWindow_SetScrollbars(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4263 PyObject
*resultobj
= 0;
4264 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
4269 int arg6
= (int) 0 ;
4270 int arg7
= (int) 0 ;
4271 bool arg8
= (bool) false ;
4288 PyObject
* obj0
= 0 ;
4289 PyObject
* obj1
= 0 ;
4290 PyObject
* obj2
= 0 ;
4291 PyObject
* obj3
= 0 ;
4292 PyObject
* obj4
= 0 ;
4293 PyObject
* obj5
= 0 ;
4294 PyObject
* obj6
= 0 ;
4295 PyObject
* obj7
= 0 ;
4296 char * kwnames
[] = {
4297 (char *) "self",(char *) "pixelsPerUnitX",(char *) "pixelsPerUnitY",(char *) "noUnitsX",(char *) "noUnitsY",(char *) "xPos",(char *) "yPos",(char *) "noRefresh", NULL
4300 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|OOO:ScrolledWindow_SetScrollbars",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
4301 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxScrolledWindow
, 0 | 0 );
4302 if (!SWIG_IsOK(res1
)) {
4303 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrolledWindow_SetScrollbars" "', expected argument " "1"" of type '" "wxScrolledWindow *""'");
4305 arg1
= reinterpret_cast< wxScrolledWindow
* >(argp1
);
4306 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
4307 if (!SWIG_IsOK(ecode2
)) {
4308 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ScrolledWindow_SetScrollbars" "', expected argument " "2"" of type '" "int""'");
4310 arg2
= static_cast< int >(val2
);
4311 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
4312 if (!SWIG_IsOK(ecode3
)) {
4313 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ScrolledWindow_SetScrollbars" "', expected argument " "3"" of type '" "int""'");
4315 arg3
= static_cast< int >(val3
);
4316 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
4317 if (!SWIG_IsOK(ecode4
)) {
4318 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "ScrolledWindow_SetScrollbars" "', expected argument " "4"" of type '" "int""'");
4320 arg4
= static_cast< int >(val4
);
4321 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
4322 if (!SWIG_IsOK(ecode5
)) {
4323 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "ScrolledWindow_SetScrollbars" "', expected argument " "5"" of type '" "int""'");
4325 arg5
= static_cast< int >(val5
);
4327 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
4328 if (!SWIG_IsOK(ecode6
)) {
4329 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "ScrolledWindow_SetScrollbars" "', expected argument " "6"" of type '" "int""'");
4331 arg6
= static_cast< int >(val6
);
4334 ecode7
= SWIG_AsVal_int(obj6
, &val7
);
4335 if (!SWIG_IsOK(ecode7
)) {
4336 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "ScrolledWindow_SetScrollbars" "', expected argument " "7"" of type '" "int""'");
4338 arg7
= static_cast< int >(val7
);
4341 ecode8
= SWIG_AsVal_bool(obj7
, &val8
);
4342 if (!SWIG_IsOK(ecode8
)) {
4343 SWIG_exception_fail(SWIG_ArgError(ecode8
), "in method '" "ScrolledWindow_SetScrollbars" "', expected argument " "8"" of type '" "bool""'");
4345 arg8
= static_cast< bool >(val8
);
4348 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4349 (arg1
)->SetScrollbars(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
,arg8
);
4350 wxPyEndAllowThreads(__tstate
);
4351 if (PyErr_Occurred()) SWIG_fail
;
4353 resultobj
= SWIG_Py_Void();
4360 SWIGINTERN PyObject
*_wrap_ScrolledWindow_Scroll(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4361 PyObject
*resultobj
= 0;
4362 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
4371 PyObject
* obj0
= 0 ;
4372 PyObject
* obj1
= 0 ;
4373 PyObject
* obj2
= 0 ;
4374 char * kwnames
[] = {
4375 (char *) "self",(char *) "x",(char *) "y", NULL
4378 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ScrolledWindow_Scroll",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
4379 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxScrolledWindow
, 0 | 0 );
4380 if (!SWIG_IsOK(res1
)) {
4381 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrolledWindow_Scroll" "', expected argument " "1"" of type '" "wxScrolledWindow *""'");
4383 arg1
= reinterpret_cast< wxScrolledWindow
* >(argp1
);
4384 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
4385 if (!SWIG_IsOK(ecode2
)) {
4386 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ScrolledWindow_Scroll" "', expected argument " "2"" of type '" "int""'");
4388 arg2
= static_cast< int >(val2
);
4389 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
4390 if (!SWIG_IsOK(ecode3
)) {
4391 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ScrolledWindow_Scroll" "', expected argument " "3"" of type '" "int""'");
4393 arg3
= static_cast< int >(val3
);
4395 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4396 (arg1
)->Scroll(arg2
,arg3
);
4397 wxPyEndAllowThreads(__tstate
);
4398 if (PyErr_Occurred()) SWIG_fail
;
4400 resultobj
= SWIG_Py_Void();
4407 SWIGINTERN PyObject
*_wrap_ScrolledWindow_GetScrollPageSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4408 PyObject
*resultobj
= 0;
4409 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
4416 PyObject
* obj0
= 0 ;
4417 PyObject
* obj1
= 0 ;
4418 char * kwnames
[] = {
4419 (char *) "self",(char *) "orient", NULL
4422 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ScrolledWindow_GetScrollPageSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4423 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxScrolledWindow
, 0 | 0 );
4424 if (!SWIG_IsOK(res1
)) {
4425 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrolledWindow_GetScrollPageSize" "', expected argument " "1"" of type '" "wxScrolledWindow const *""'");
4427 arg1
= reinterpret_cast< wxScrolledWindow
* >(argp1
);
4428 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
4429 if (!SWIG_IsOK(ecode2
)) {
4430 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ScrolledWindow_GetScrollPageSize" "', expected argument " "2"" of type '" "int""'");
4432 arg2
= static_cast< int >(val2
);
4434 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4435 result
= (int)((wxScrolledWindow
const *)arg1
)->GetScrollPageSize(arg2
);
4436 wxPyEndAllowThreads(__tstate
);
4437 if (PyErr_Occurred()) SWIG_fail
;
4439 resultobj
= SWIG_From_int(static_cast< int >(result
));
4446 SWIGINTERN PyObject
*_wrap_ScrolledWindow_SetScrollPageSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4447 PyObject
*resultobj
= 0;
4448 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
4457 PyObject
* obj0
= 0 ;
4458 PyObject
* obj1
= 0 ;
4459 PyObject
* obj2
= 0 ;
4460 char * kwnames
[] = {
4461 (char *) "self",(char *) "orient",(char *) "pageSize", NULL
4464 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ScrolledWindow_SetScrollPageSize",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
4465 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxScrolledWindow
, 0 | 0 );
4466 if (!SWIG_IsOK(res1
)) {
4467 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrolledWindow_SetScrollPageSize" "', expected argument " "1"" of type '" "wxScrolledWindow *""'");
4469 arg1
= reinterpret_cast< wxScrolledWindow
* >(argp1
);
4470 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
4471 if (!SWIG_IsOK(ecode2
)) {
4472 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ScrolledWindow_SetScrollPageSize" "', expected argument " "2"" of type '" "int""'");
4474 arg2
= static_cast< int >(val2
);
4475 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
4476 if (!SWIG_IsOK(ecode3
)) {
4477 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ScrolledWindow_SetScrollPageSize" "', expected argument " "3"" of type '" "int""'");
4479 arg3
= static_cast< int >(val3
);
4481 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4482 (arg1
)->SetScrollPageSize(arg2
,arg3
);
4483 wxPyEndAllowThreads(__tstate
);
4484 if (PyErr_Occurred()) SWIG_fail
;
4486 resultobj
= SWIG_Py_Void();
4493 SWIGINTERN PyObject
*_wrap_ScrolledWindow_SetScrollRate(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4494 PyObject
*resultobj
= 0;
4495 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
4504 PyObject
* obj0
= 0 ;
4505 PyObject
* obj1
= 0 ;
4506 PyObject
* obj2
= 0 ;
4507 char * kwnames
[] = {
4508 (char *) "self",(char *) "xstep",(char *) "ystep", NULL
4511 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ScrolledWindow_SetScrollRate",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
4512 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxScrolledWindow
, 0 | 0 );
4513 if (!SWIG_IsOK(res1
)) {
4514 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrolledWindow_SetScrollRate" "', expected argument " "1"" of type '" "wxScrolledWindow *""'");
4516 arg1
= reinterpret_cast< wxScrolledWindow
* >(argp1
);
4517 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
4518 if (!SWIG_IsOK(ecode2
)) {
4519 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ScrolledWindow_SetScrollRate" "', expected argument " "2"" of type '" "int""'");
4521 arg2
= static_cast< int >(val2
);
4522 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
4523 if (!SWIG_IsOK(ecode3
)) {
4524 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ScrolledWindow_SetScrollRate" "', expected argument " "3"" of type '" "int""'");
4526 arg3
= static_cast< int >(val3
);
4528 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4529 (arg1
)->SetScrollRate(arg2
,arg3
);
4530 wxPyEndAllowThreads(__tstate
);
4531 if (PyErr_Occurred()) SWIG_fail
;
4533 resultobj
= SWIG_Py_Void();
4540 SWIGINTERN PyObject
*_wrap_ScrolledWindow_GetScrollPixelsPerUnit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4541 PyObject
*resultobj
= 0;
4542 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
4543 int *arg2
= (int *) 0 ;
4544 int *arg3
= (int *) 0 ;
4548 int res2
= SWIG_TMPOBJ
;
4550 int res3
= SWIG_TMPOBJ
;
4551 PyObject
*swig_obj
[1] ;
4555 if (!args
) SWIG_fail
;
4557 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxScrolledWindow
, 0 | 0 );
4558 if (!SWIG_IsOK(res1
)) {
4559 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrolledWindow_GetScrollPixelsPerUnit" "', expected argument " "1"" of type '" "wxScrolledWindow const *""'");
4561 arg1
= reinterpret_cast< wxScrolledWindow
* >(argp1
);
4563 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4564 ((wxScrolledWindow
const *)arg1
)->GetScrollPixelsPerUnit(arg2
,arg3
);
4565 wxPyEndAllowThreads(__tstate
);
4566 if (PyErr_Occurred()) SWIG_fail
;
4568 resultobj
= SWIG_Py_Void();
4569 if (SWIG_IsTmpObj(res2
)) {
4570 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
4572 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
4573 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
4575 if (SWIG_IsTmpObj(res3
)) {
4576 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
4578 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
4579 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
4587 SWIGINTERN PyObject
*_wrap_ScrolledWindow_EnableScrolling(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4588 PyObject
*resultobj
= 0;
4589 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
4598 PyObject
* obj0
= 0 ;
4599 PyObject
* obj1
= 0 ;
4600 PyObject
* obj2
= 0 ;
4601 char * kwnames
[] = {
4602 (char *) "self",(char *) "x_scrolling",(char *) "y_scrolling", NULL
4605 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ScrolledWindow_EnableScrolling",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
4606 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxScrolledWindow
, 0 | 0 );
4607 if (!SWIG_IsOK(res1
)) {
4608 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrolledWindow_EnableScrolling" "', expected argument " "1"" of type '" "wxScrolledWindow *""'");
4610 arg1
= reinterpret_cast< wxScrolledWindow
* >(argp1
);
4611 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
4612 if (!SWIG_IsOK(ecode2
)) {
4613 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ScrolledWindow_EnableScrolling" "', expected argument " "2"" of type '" "bool""'");
4615 arg2
= static_cast< bool >(val2
);
4616 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
4617 if (!SWIG_IsOK(ecode3
)) {
4618 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ScrolledWindow_EnableScrolling" "', expected argument " "3"" of type '" "bool""'");
4620 arg3
= static_cast< bool >(val3
);
4622 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4623 (arg1
)->EnableScrolling(arg2
,arg3
);
4624 wxPyEndAllowThreads(__tstate
);
4625 if (PyErr_Occurred()) SWIG_fail
;
4627 resultobj
= SWIG_Py_Void();
4634 SWIGINTERN PyObject
*_wrap_ScrolledWindow_GetViewStart(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4635 PyObject
*resultobj
= 0;
4636 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
4637 int *arg2
= (int *) 0 ;
4638 int *arg3
= (int *) 0 ;
4642 int res2
= SWIG_TMPOBJ
;
4644 int res3
= SWIG_TMPOBJ
;
4645 PyObject
*swig_obj
[1] ;
4649 if (!args
) SWIG_fail
;
4651 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxScrolledWindow
, 0 | 0 );
4652 if (!SWIG_IsOK(res1
)) {
4653 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrolledWindow_GetViewStart" "', expected argument " "1"" of type '" "wxScrolledWindow const *""'");
4655 arg1
= reinterpret_cast< wxScrolledWindow
* >(argp1
);
4657 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4658 ((wxScrolledWindow
const *)arg1
)->GetViewStart(arg2
,arg3
);
4659 wxPyEndAllowThreads(__tstate
);
4660 if (PyErr_Occurred()) SWIG_fail
;
4662 resultobj
= SWIG_Py_Void();
4663 if (SWIG_IsTmpObj(res2
)) {
4664 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
4666 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
4667 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
4669 if (SWIG_IsTmpObj(res3
)) {
4670 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
4672 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
4673 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
4681 SWIGINTERN PyObject
*_wrap_ScrolledWindow_SetScale(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4682 PyObject
*resultobj
= 0;
4683 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
4692 PyObject
* obj0
= 0 ;
4693 PyObject
* obj1
= 0 ;
4694 PyObject
* obj2
= 0 ;
4695 char * kwnames
[] = {
4696 (char *) "self",(char *) "xs",(char *) "ys", NULL
4699 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ScrolledWindow_SetScale",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
4700 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxScrolledWindow
, 0 | 0 );
4701 if (!SWIG_IsOK(res1
)) {
4702 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrolledWindow_SetScale" "', expected argument " "1"" of type '" "wxScrolledWindow *""'");
4704 arg1
= reinterpret_cast< wxScrolledWindow
* >(argp1
);
4705 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
4706 if (!SWIG_IsOK(ecode2
)) {
4707 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ScrolledWindow_SetScale" "', expected argument " "2"" of type '" "double""'");
4709 arg2
= static_cast< double >(val2
);
4710 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
4711 if (!SWIG_IsOK(ecode3
)) {
4712 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ScrolledWindow_SetScale" "', expected argument " "3"" of type '" "double""'");
4714 arg3
= static_cast< double >(val3
);
4716 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4717 (arg1
)->SetScale(arg2
,arg3
);
4718 wxPyEndAllowThreads(__tstate
);
4719 if (PyErr_Occurred()) SWIG_fail
;
4721 resultobj
= SWIG_Py_Void();
4728 SWIGINTERN PyObject
*_wrap_ScrolledWindow_GetScaleX(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4729 PyObject
*resultobj
= 0;
4730 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
4734 PyObject
*swig_obj
[1] ;
4736 if (!args
) SWIG_fail
;
4738 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxScrolledWindow
, 0 | 0 );
4739 if (!SWIG_IsOK(res1
)) {
4740 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrolledWindow_GetScaleX" "', expected argument " "1"" of type '" "wxScrolledWindow const *""'");
4742 arg1
= reinterpret_cast< wxScrolledWindow
* >(argp1
);
4744 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4745 result
= (double)((wxScrolledWindow
const *)arg1
)->GetScaleX();
4746 wxPyEndAllowThreads(__tstate
);
4747 if (PyErr_Occurred()) SWIG_fail
;
4749 resultobj
= SWIG_From_double(static_cast< double >(result
));
4756 SWIGINTERN PyObject
*_wrap_ScrolledWindow_GetScaleY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4757 PyObject
*resultobj
= 0;
4758 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
4762 PyObject
*swig_obj
[1] ;
4764 if (!args
) SWIG_fail
;
4766 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxScrolledWindow
, 0 | 0 );
4767 if (!SWIG_IsOK(res1
)) {
4768 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrolledWindow_GetScaleY" "', expected argument " "1"" of type '" "wxScrolledWindow const *""'");
4770 arg1
= reinterpret_cast< wxScrolledWindow
* >(argp1
);
4772 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4773 result
= (double)((wxScrolledWindow
const *)arg1
)->GetScaleY();
4774 wxPyEndAllowThreads(__tstate
);
4775 if (PyErr_Occurred()) SWIG_fail
;
4777 resultobj
= SWIG_From_double(static_cast< double >(result
));
4784 SWIGINTERN PyObject
*_wrap_ScrolledWindow_CalcScrolledPosition__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
4785 PyObject
*resultobj
= 0;
4786 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
4793 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
4794 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxScrolledWindow
, 0 | 0 );
4795 if (!SWIG_IsOK(res1
)) {
4796 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrolledWindow_CalcScrolledPosition" "', expected argument " "1"" of type '" "wxScrolledWindow const *""'");
4798 arg1
= reinterpret_cast< wxScrolledWindow
* >(argp1
);
4801 if ( ! wxPoint_helper(swig_obj
[1], &arg2
)) SWIG_fail
;
4804 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4805 result
= ((wxScrolledWindow
const *)arg1
)->CalcScrolledPosition((wxPoint
const &)*arg2
);
4806 wxPyEndAllowThreads(__tstate
);
4807 if (PyErr_Occurred()) SWIG_fail
;
4809 resultobj
= SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint
& >(result
))), SWIGTYPE_p_wxPoint
, SWIG_POINTER_OWN
| 0 );
4816 SWIGINTERN PyObject
*_wrap_ScrolledWindow_CalcScrolledPosition__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
4817 PyObject
*resultobj
= 0;
4818 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
4821 int *arg4
= (int *) 0 ;
4822 int *arg5
= (int *) 0 ;
4830 int res4
= SWIG_TMPOBJ
;
4832 int res5
= SWIG_TMPOBJ
;
4836 if ((nobjs
< 3) || (nobjs
> 3)) SWIG_fail
;
4837 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxScrolledWindow
, 0 | 0 );
4838 if (!SWIG_IsOK(res1
)) {
4839 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrolledWindow_CalcScrolledPosition" "', expected argument " "1"" of type '" "wxScrolledWindow const *""'");
4841 arg1
= reinterpret_cast< wxScrolledWindow
* >(argp1
);
4842 ecode2
= SWIG_AsVal_int(swig_obj
[1], &val2
);
4843 if (!SWIG_IsOK(ecode2
)) {
4844 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ScrolledWindow_CalcScrolledPosition" "', expected argument " "2"" of type '" "int""'");
4846 arg2
= static_cast< int >(val2
);
4847 ecode3
= SWIG_AsVal_int(swig_obj
[2], &val3
);
4848 if (!SWIG_IsOK(ecode3
)) {
4849 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ScrolledWindow_CalcScrolledPosition" "', expected argument " "3"" of type '" "int""'");
4851 arg3
= static_cast< int >(val3
);
4853 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4854 ((wxScrolledWindow
const *)arg1
)->CalcScrolledPosition(arg2
,arg3
,arg4
,arg5
);
4855 wxPyEndAllowThreads(__tstate
);
4856 if (PyErr_Occurred()) SWIG_fail
;
4858 resultobj
= SWIG_Py_Void();
4859 if (SWIG_IsTmpObj(res4
)) {
4860 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg4
)));
4862 int new_flags
= SWIG_IsNewObj(res4
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
4863 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_int
, new_flags
));
4865 if (SWIG_IsTmpObj(res5
)) {
4866 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg5
)));
4868 int new_flags
= SWIG_IsNewObj(res5
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
4869 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg5
), SWIGTYPE_p_int
, new_flags
));
4877 SWIGINTERN PyObject
*_wrap_ScrolledWindow_CalcScrolledPosition(PyObject
*self
, PyObject
*args
) {
4881 if (!(argc
= SWIG_Python_UnpackTuple(args
,"ScrolledWindow_CalcScrolledPosition",0,3,argv
))) SWIG_fail
;
4884 return _wrap_ScrolledWindow_CalcScrolledPosition__SWIG_0(self
, argc
, argv
);
4887 return _wrap_ScrolledWindow_CalcScrolledPosition__SWIG_1(self
, argc
, argv
);
4891 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'ScrolledWindow_CalcScrolledPosition'");
4896 SWIGINTERN PyObject
*_wrap_ScrolledWindow_CalcUnscrolledPosition__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
4897 PyObject
*resultobj
= 0;
4898 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
4905 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
4906 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxScrolledWindow
, 0 | 0 );
4907 if (!SWIG_IsOK(res1
)) {
4908 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrolledWindow_CalcUnscrolledPosition" "', expected argument " "1"" of type '" "wxScrolledWindow const *""'");
4910 arg1
= reinterpret_cast< wxScrolledWindow
* >(argp1
);
4913 if ( ! wxPoint_helper(swig_obj
[1], &arg2
)) SWIG_fail
;
4916 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4917 result
= ((wxScrolledWindow
const *)arg1
)->CalcUnscrolledPosition((wxPoint
const &)*arg2
);
4918 wxPyEndAllowThreads(__tstate
);
4919 if (PyErr_Occurred()) SWIG_fail
;
4921 resultobj
= SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint
& >(result
))), SWIGTYPE_p_wxPoint
, SWIG_POINTER_OWN
| 0 );
4928 SWIGINTERN PyObject
*_wrap_ScrolledWindow_CalcUnscrolledPosition__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
4929 PyObject
*resultobj
= 0;
4930 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
4933 int *arg4
= (int *) 0 ;
4934 int *arg5
= (int *) 0 ;
4942 int res4
= SWIG_TMPOBJ
;
4944 int res5
= SWIG_TMPOBJ
;
4948 if ((nobjs
< 3) || (nobjs
> 3)) SWIG_fail
;
4949 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxScrolledWindow
, 0 | 0 );
4950 if (!SWIG_IsOK(res1
)) {
4951 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrolledWindow_CalcUnscrolledPosition" "', expected argument " "1"" of type '" "wxScrolledWindow const *""'");
4953 arg1
= reinterpret_cast< wxScrolledWindow
* >(argp1
);
4954 ecode2
= SWIG_AsVal_int(swig_obj
[1], &val2
);
4955 if (!SWIG_IsOK(ecode2
)) {
4956 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ScrolledWindow_CalcUnscrolledPosition" "', expected argument " "2"" of type '" "int""'");
4958 arg2
= static_cast< int >(val2
);
4959 ecode3
= SWIG_AsVal_int(swig_obj
[2], &val3
);
4960 if (!SWIG_IsOK(ecode3
)) {
4961 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ScrolledWindow_CalcUnscrolledPosition" "', expected argument " "3"" of type '" "int""'");
4963 arg3
= static_cast< int >(val3
);
4965 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4966 ((wxScrolledWindow
const *)arg1
)->CalcUnscrolledPosition(arg2
,arg3
,arg4
,arg5
);
4967 wxPyEndAllowThreads(__tstate
);
4968 if (PyErr_Occurred()) SWIG_fail
;
4970 resultobj
= SWIG_Py_Void();
4971 if (SWIG_IsTmpObj(res4
)) {
4972 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg4
)));
4974 int new_flags
= SWIG_IsNewObj(res4
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
4975 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_int
, new_flags
));
4977 if (SWIG_IsTmpObj(res5
)) {
4978 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg5
)));
4980 int new_flags
= SWIG_IsNewObj(res5
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
4981 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg5
), SWIGTYPE_p_int
, new_flags
));
4989 SWIGINTERN PyObject
*_wrap_ScrolledWindow_CalcUnscrolledPosition(PyObject
*self
, PyObject
*args
) {
4993 if (!(argc
= SWIG_Python_UnpackTuple(args
,"ScrolledWindow_CalcUnscrolledPosition",0,3,argv
))) SWIG_fail
;
4996 return _wrap_ScrolledWindow_CalcUnscrolledPosition__SWIG_0(self
, argc
, argv
);
4999 return _wrap_ScrolledWindow_CalcUnscrolledPosition__SWIG_1(self
, argc
, argv
);
5003 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'ScrolledWindow_CalcUnscrolledPosition'");
5008 SWIGINTERN PyObject
*_wrap_ScrolledWindow_AdjustScrollbars(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5009 PyObject
*resultobj
= 0;
5010 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
5013 PyObject
*swig_obj
[1] ;
5015 if (!args
) SWIG_fail
;
5017 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxScrolledWindow
, 0 | 0 );
5018 if (!SWIG_IsOK(res1
)) {
5019 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrolledWindow_AdjustScrollbars" "', expected argument " "1"" of type '" "wxScrolledWindow *""'");
5021 arg1
= reinterpret_cast< wxScrolledWindow
* >(argp1
);
5023 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5024 (arg1
)->AdjustScrollbars();
5025 wxPyEndAllowThreads(__tstate
);
5026 if (PyErr_Occurred()) SWIG_fail
;
5028 resultobj
= SWIG_Py_Void();
5035 SWIGINTERN PyObject
*_wrap_ScrolledWindow_CalcScrollInc(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5036 PyObject
*resultobj
= 0;
5037 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
5038 wxScrollWinEvent
*arg2
= 0 ;
5044 PyObject
* obj0
= 0 ;
5045 PyObject
* obj1
= 0 ;
5046 char * kwnames
[] = {
5047 (char *) "self",(char *) "event", NULL
5050 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ScrolledWindow_CalcScrollInc",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5051 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxScrolledWindow
, 0 | 0 );
5052 if (!SWIG_IsOK(res1
)) {
5053 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrolledWindow_CalcScrollInc" "', expected argument " "1"" of type '" "wxScrolledWindow *""'");
5055 arg1
= reinterpret_cast< wxScrolledWindow
* >(argp1
);
5056 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxScrollWinEvent
, 0 );
5057 if (!SWIG_IsOK(res2
)) {
5058 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ScrolledWindow_CalcScrollInc" "', expected argument " "2"" of type '" "wxScrollWinEvent &""'");
5061 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ScrolledWindow_CalcScrollInc" "', expected argument " "2"" of type '" "wxScrollWinEvent &""'");
5063 arg2
= reinterpret_cast< wxScrollWinEvent
* >(argp2
);
5065 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5066 result
= (int)(arg1
)->CalcScrollInc(*arg2
);
5067 wxPyEndAllowThreads(__tstate
);
5068 if (PyErr_Occurred()) SWIG_fail
;
5070 resultobj
= SWIG_From_int(static_cast< int >(result
));
5077 SWIGINTERN PyObject
*_wrap_ScrolledWindow_SetTargetWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5078 PyObject
*resultobj
= 0;
5079 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
5080 wxWindow
*arg2
= (wxWindow
*) 0 ;
5085 PyObject
* obj0
= 0 ;
5086 PyObject
* obj1
= 0 ;
5087 char * kwnames
[] = {
5088 (char *) "self",(char *) "target", NULL
5091 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ScrolledWindow_SetTargetWindow",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5092 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxScrolledWindow
, 0 | 0 );
5093 if (!SWIG_IsOK(res1
)) {
5094 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrolledWindow_SetTargetWindow" "', expected argument " "1"" of type '" "wxScrolledWindow *""'");
5096 arg1
= reinterpret_cast< wxScrolledWindow
* >(argp1
);
5097 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
5098 if (!SWIG_IsOK(res2
)) {
5099 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ScrolledWindow_SetTargetWindow" "', expected argument " "2"" of type '" "wxWindow *""'");
5101 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
5103 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5104 (arg1
)->SetTargetWindow(arg2
);
5105 wxPyEndAllowThreads(__tstate
);
5106 if (PyErr_Occurred()) SWIG_fail
;
5108 resultobj
= SWIG_Py_Void();
5115 SWIGINTERN PyObject
*_wrap_ScrolledWindow_GetTargetWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5116 PyObject
*resultobj
= 0;
5117 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
5118 wxWindow
*result
= 0 ;
5121 PyObject
*swig_obj
[1] ;
5123 if (!args
) SWIG_fail
;
5125 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxScrolledWindow
, 0 | 0 );
5126 if (!SWIG_IsOK(res1
)) {
5127 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrolledWindow_GetTargetWindow" "', expected argument " "1"" of type '" "wxScrolledWindow const *""'");
5129 arg1
= reinterpret_cast< wxScrolledWindow
* >(argp1
);
5131 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5132 result
= (wxWindow
*)((wxScrolledWindow
const *)arg1
)->GetTargetWindow();
5133 wxPyEndAllowThreads(__tstate
);
5134 if (PyErr_Occurred()) SWIG_fail
;
5137 resultobj
= wxPyMake_wxObject(result
, 0);
5145 SWIGINTERN PyObject
*_wrap_ScrolledWindow_SetTargetRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5146 PyObject
*resultobj
= 0;
5147 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
5152 PyObject
* obj0
= 0 ;
5153 PyObject
* obj1
= 0 ;
5154 char * kwnames
[] = {
5155 (char *) "self",(char *) "rect", NULL
5158 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ScrolledWindow_SetTargetRect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5159 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxScrolledWindow
, 0 | 0 );
5160 if (!SWIG_IsOK(res1
)) {
5161 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrolledWindow_SetTargetRect" "', expected argument " "1"" of type '" "wxScrolledWindow *""'");
5163 arg1
= reinterpret_cast< wxScrolledWindow
* >(argp1
);
5166 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
5169 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5170 (arg1
)->SetTargetRect((wxRect
const &)*arg2
);
5171 wxPyEndAllowThreads(__tstate
);
5172 if (PyErr_Occurred()) SWIG_fail
;
5174 resultobj
= SWIG_Py_Void();
5181 SWIGINTERN PyObject
*_wrap_ScrolledWindow_GetTargetRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5182 PyObject
*resultobj
= 0;
5183 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
5187 PyObject
*swig_obj
[1] ;
5189 if (!args
) SWIG_fail
;
5191 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxScrolledWindow
, 0 | 0 );
5192 if (!SWIG_IsOK(res1
)) {
5193 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrolledWindow_GetTargetRect" "', expected argument " "1"" of type '" "wxScrolledWindow const *""'");
5195 arg1
= reinterpret_cast< wxScrolledWindow
* >(argp1
);
5197 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5198 result
= ((wxScrolledWindow
const *)arg1
)->GetTargetRect();
5199 wxPyEndAllowThreads(__tstate
);
5200 if (PyErr_Occurred()) SWIG_fail
;
5202 resultobj
= SWIG_NewPointerObj((new wxRect(static_cast< const wxRect
& >(result
))), SWIGTYPE_p_wxRect
, SWIG_POINTER_OWN
| 0 );
5209 SWIGINTERN PyObject
*_wrap_ScrolledWindow_DoPrepareDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5210 PyObject
*resultobj
= 0;
5211 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
5217 PyObject
* obj0
= 0 ;
5218 PyObject
* obj1
= 0 ;
5219 char * kwnames
[] = {
5220 (char *) "self",(char *) "dc", NULL
5223 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ScrolledWindow_DoPrepareDC",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5224 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxScrolledWindow
, 0 | 0 );
5225 if (!SWIG_IsOK(res1
)) {
5226 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrolledWindow_DoPrepareDC" "', expected argument " "1"" of type '" "wxScrolledWindow *""'");
5228 arg1
= reinterpret_cast< wxScrolledWindow
* >(argp1
);
5229 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxDC
, 0 );
5230 if (!SWIG_IsOK(res2
)) {
5231 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ScrolledWindow_DoPrepareDC" "', expected argument " "2"" of type '" "wxDC &""'");
5234 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ScrolledWindow_DoPrepareDC" "', expected argument " "2"" of type '" "wxDC &""'");
5236 arg2
= reinterpret_cast< wxDC
* >(argp2
);
5238 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5239 (arg1
)->DoPrepareDC(*arg2
);
5240 wxPyEndAllowThreads(__tstate
);
5241 if (PyErr_Occurred()) SWIG_fail
;
5243 resultobj
= SWIG_Py_Void();
5250 SWIGINTERN PyObject
*_wrap_ScrolledWindow_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5251 PyObject
*resultobj
= 0;
5252 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
5253 SwigValueWrapper
<wxVisualAttributes
> result
;
5256 PyObject
* obj0
= 0 ;
5257 char * kwnames
[] = {
5258 (char *) "variant", NULL
5261 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:ScrolledWindow_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
5263 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
5264 if (!SWIG_IsOK(ecode1
)) {
5265 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "ScrolledWindow_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
5267 arg1
= static_cast< wxWindowVariant
>(val1
);
5270 if (!wxPyCheckForApp()) SWIG_fail
;
5271 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5272 result
= wxScrolledWindow::GetClassDefaultAttributes(arg1
);
5273 wxPyEndAllowThreads(__tstate
);
5274 if (PyErr_Occurred()) SWIG_fail
;
5276 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
5283 SWIGINTERN PyObject
*ScrolledWindow_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5285 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
5286 SWIG_TypeNewClientData(SWIGTYPE_p_wxScrolledWindow
, SWIG_NewClientData(obj
));
5287 return SWIG_Py_Void();
5290 SWIGINTERN PyObject
*ScrolledWindow_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5291 return SWIG_Python_InitShadowInstance(args
);
5294 SWIGINTERN
int FrameNameStr_set(PyObject
*) {
5295 SWIG_Error(SWIG_AttributeError
,"Variable FrameNameStr is read-only.");
5300 SWIGINTERN PyObject
*FrameNameStr_get(void) {
5301 PyObject
*pyobj
= 0;
5305 pyobj
= PyUnicode_FromWideChar((&wxPyFrameNameStr
)->c_str(), (&wxPyFrameNameStr
)->Len());
5307 pyobj
= PyString_FromStringAndSize((&wxPyFrameNameStr
)->c_str(), (&wxPyFrameNameStr
)->Len());
5314 SWIGINTERN
int DialogNameStr_set(PyObject
*) {
5315 SWIG_Error(SWIG_AttributeError
,"Variable DialogNameStr is read-only.");
5320 SWIGINTERN PyObject
*DialogNameStr_get(void) {
5321 PyObject
*pyobj
= 0;
5325 pyobj
= PyUnicode_FromWideChar((&wxPyDialogNameStr
)->c_str(), (&wxPyDialogNameStr
)->Len());
5327 pyobj
= PyString_FromStringAndSize((&wxPyDialogNameStr
)->c_str(), (&wxPyDialogNameStr
)->Len());
5334 SWIGINTERN
int StatusLineNameStr_set(PyObject
*) {
5335 SWIG_Error(SWIG_AttributeError
,"Variable StatusLineNameStr is read-only.");
5340 SWIGINTERN PyObject
*StatusLineNameStr_get(void) {
5341 PyObject
*pyobj
= 0;
5345 pyobj
= PyUnicode_FromWideChar((&wxPyStatusLineNameStr
)->c_str(), (&wxPyStatusLineNameStr
)->Len());
5347 pyobj
= PyString_FromStringAndSize((&wxPyStatusLineNameStr
)->c_str(), (&wxPyStatusLineNameStr
)->Len());
5354 SWIGINTERN
int ToolBarNameStr_set(PyObject
*) {
5355 SWIG_Error(SWIG_AttributeError
,"Variable ToolBarNameStr is read-only.");
5360 SWIGINTERN PyObject
*ToolBarNameStr_get(void) {
5361 PyObject
*pyobj
= 0;
5365 pyobj
= PyUnicode_FromWideChar((&wxPyToolBarNameStr
)->c_str(), (&wxPyToolBarNameStr
)->Len());
5367 pyobj
= PyString_FromStringAndSize((&wxPyToolBarNameStr
)->c_str(), (&wxPyToolBarNameStr
)->Len());
5374 SWIGINTERN PyObject
*_wrap_TopLevelWindow_Maximize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5375 PyObject
*resultobj
= 0;
5376 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
5377 bool arg2
= (bool) true ;
5382 PyObject
* obj0
= 0 ;
5383 PyObject
* obj1
= 0 ;
5384 char * kwnames
[] = {
5385 (char *) "self",(char *) "maximize", NULL
5388 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:TopLevelWindow_Maximize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5389 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTopLevelWindow
, 0 | 0 );
5390 if (!SWIG_IsOK(res1
)) {
5391 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TopLevelWindow_Maximize" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
5393 arg1
= reinterpret_cast< wxTopLevelWindow
* >(argp1
);
5395 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
5396 if (!SWIG_IsOK(ecode2
)) {
5397 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TopLevelWindow_Maximize" "', expected argument " "2"" of type '" "bool""'");
5399 arg2
= static_cast< bool >(val2
);
5402 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5403 (arg1
)->Maximize(arg2
);
5404 wxPyEndAllowThreads(__tstate
);
5405 if (PyErr_Occurred()) SWIG_fail
;
5407 resultobj
= SWIG_Py_Void();
5414 SWIGINTERN PyObject
*_wrap_TopLevelWindow_Restore(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5415 PyObject
*resultobj
= 0;
5416 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
5419 PyObject
*swig_obj
[1] ;
5421 if (!args
) SWIG_fail
;
5423 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTopLevelWindow
, 0 | 0 );
5424 if (!SWIG_IsOK(res1
)) {
5425 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TopLevelWindow_Restore" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
5427 arg1
= reinterpret_cast< wxTopLevelWindow
* >(argp1
);
5429 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5431 wxPyEndAllowThreads(__tstate
);
5432 if (PyErr_Occurred()) SWIG_fail
;
5434 resultobj
= SWIG_Py_Void();
5441 SWIGINTERN PyObject
*_wrap_TopLevelWindow_Iconize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5442 PyObject
*resultobj
= 0;
5443 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
5444 bool arg2
= (bool) true ;
5449 PyObject
* obj0
= 0 ;
5450 PyObject
* obj1
= 0 ;
5451 char * kwnames
[] = {
5452 (char *) "self",(char *) "iconize", NULL
5455 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:TopLevelWindow_Iconize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5456 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTopLevelWindow
, 0 | 0 );
5457 if (!SWIG_IsOK(res1
)) {
5458 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TopLevelWindow_Iconize" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
5460 arg1
= reinterpret_cast< wxTopLevelWindow
* >(argp1
);
5462 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
5463 if (!SWIG_IsOK(ecode2
)) {
5464 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TopLevelWindow_Iconize" "', expected argument " "2"" of type '" "bool""'");
5466 arg2
= static_cast< bool >(val2
);
5469 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5470 (arg1
)->Iconize(arg2
);
5471 wxPyEndAllowThreads(__tstate
);
5472 if (PyErr_Occurred()) SWIG_fail
;
5474 resultobj
= SWIG_Py_Void();
5481 SWIGINTERN PyObject
*_wrap_TopLevelWindow_IsMaximized(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5482 PyObject
*resultobj
= 0;
5483 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
5487 PyObject
*swig_obj
[1] ;
5489 if (!args
) SWIG_fail
;
5491 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTopLevelWindow
, 0 | 0 );
5492 if (!SWIG_IsOK(res1
)) {
5493 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TopLevelWindow_IsMaximized" "', expected argument " "1"" of type '" "wxTopLevelWindow const *""'");
5495 arg1
= reinterpret_cast< wxTopLevelWindow
* >(argp1
);
5497 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5498 result
= (bool)((wxTopLevelWindow
const *)arg1
)->IsMaximized();
5499 wxPyEndAllowThreads(__tstate
);
5500 if (PyErr_Occurred()) SWIG_fail
;
5503 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5511 SWIGINTERN PyObject
*_wrap_TopLevelWindow_IsAlwaysMaximized(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5512 PyObject
*resultobj
= 0;
5513 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
5517 PyObject
*swig_obj
[1] ;
5519 if (!args
) SWIG_fail
;
5521 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTopLevelWindow
, 0 | 0 );
5522 if (!SWIG_IsOK(res1
)) {
5523 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TopLevelWindow_IsAlwaysMaximized" "', expected argument " "1"" of type '" "wxTopLevelWindow const *""'");
5525 arg1
= reinterpret_cast< wxTopLevelWindow
* >(argp1
);
5527 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5528 result
= (bool)((wxTopLevelWindow
const *)arg1
)->IsAlwaysMaximized();
5529 wxPyEndAllowThreads(__tstate
);
5530 if (PyErr_Occurred()) SWIG_fail
;
5533 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5541 SWIGINTERN PyObject
*_wrap_TopLevelWindow_IsIconized(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5542 PyObject
*resultobj
= 0;
5543 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
5547 PyObject
*swig_obj
[1] ;
5549 if (!args
) SWIG_fail
;
5551 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTopLevelWindow
, 0 | 0 );
5552 if (!SWIG_IsOK(res1
)) {
5553 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TopLevelWindow_IsIconized" "', expected argument " "1"" of type '" "wxTopLevelWindow const *""'");
5555 arg1
= reinterpret_cast< wxTopLevelWindow
* >(argp1
);
5557 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5558 result
= (bool)((wxTopLevelWindow
const *)arg1
)->IsIconized();
5559 wxPyEndAllowThreads(__tstate
);
5560 if (PyErr_Occurred()) SWIG_fail
;
5563 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5571 SWIGINTERN PyObject
*_wrap_TopLevelWindow_GetIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5572 PyObject
*resultobj
= 0;
5573 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
5577 PyObject
*swig_obj
[1] ;
5579 if (!args
) SWIG_fail
;
5581 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTopLevelWindow
, 0 | 0 );
5582 if (!SWIG_IsOK(res1
)) {
5583 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TopLevelWindow_GetIcon" "', expected argument " "1"" of type '" "wxTopLevelWindow const *""'");
5585 arg1
= reinterpret_cast< wxTopLevelWindow
* >(argp1
);
5587 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5588 result
= ((wxTopLevelWindow
const *)arg1
)->GetIcon();
5589 wxPyEndAllowThreads(__tstate
);
5590 if (PyErr_Occurred()) SWIG_fail
;
5592 resultobj
= SWIG_NewPointerObj((new wxIcon(static_cast< const wxIcon
& >(result
))), SWIGTYPE_p_wxIcon
, SWIG_POINTER_OWN
| 0 );
5599 SWIGINTERN PyObject
*_wrap_TopLevelWindow_SetIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5600 PyObject
*resultobj
= 0;
5601 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
5607 PyObject
* obj0
= 0 ;
5608 PyObject
* obj1
= 0 ;
5609 char * kwnames
[] = {
5610 (char *) "self",(char *) "icon", NULL
5613 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TopLevelWindow_SetIcon",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5614 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTopLevelWindow
, 0 | 0 );
5615 if (!SWIG_IsOK(res1
)) {
5616 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TopLevelWindow_SetIcon" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
5618 arg1
= reinterpret_cast< wxTopLevelWindow
* >(argp1
);
5619 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxIcon
, 0 | 0);
5620 if (!SWIG_IsOK(res2
)) {
5621 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TopLevelWindow_SetIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
5624 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TopLevelWindow_SetIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
5626 arg2
= reinterpret_cast< wxIcon
* >(argp2
);
5628 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5629 (arg1
)->SetIcon((wxIcon
const &)*arg2
);
5630 wxPyEndAllowThreads(__tstate
);
5631 if (PyErr_Occurred()) SWIG_fail
;
5633 resultobj
= SWIG_Py_Void();
5640 SWIGINTERN PyObject
*_wrap_TopLevelWindow_SetIcons(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5641 PyObject
*resultobj
= 0;
5642 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
5643 wxIconBundle
*arg2
= 0 ;
5648 PyObject
* obj0
= 0 ;
5649 PyObject
* obj1
= 0 ;
5650 char * kwnames
[] = {
5651 (char *) "self",(char *) "icons", NULL
5654 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TopLevelWindow_SetIcons",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5655 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTopLevelWindow
, 0 | 0 );
5656 if (!SWIG_IsOK(res1
)) {
5657 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TopLevelWindow_SetIcons" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
5659 arg1
= reinterpret_cast< wxTopLevelWindow
* >(argp1
);
5660 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxIconBundle
, 0 | 0);
5661 if (!SWIG_IsOK(res2
)) {
5662 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TopLevelWindow_SetIcons" "', expected argument " "2"" of type '" "wxIconBundle const &""'");
5665 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TopLevelWindow_SetIcons" "', expected argument " "2"" of type '" "wxIconBundle const &""'");
5667 arg2
= reinterpret_cast< wxIconBundle
* >(argp2
);
5669 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5670 (arg1
)->SetIcons((wxIconBundle
const &)*arg2
);
5671 wxPyEndAllowThreads(__tstate
);
5672 if (PyErr_Occurred()) SWIG_fail
;
5674 resultobj
= SWIG_Py_Void();
5681 SWIGINTERN PyObject
*_wrap_TopLevelWindow_ShowFullScreen(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5682 PyObject
*resultobj
= 0;
5683 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
5685 long arg3
= (long) wxFULLSCREEN_ALL
;
5693 PyObject
* obj0
= 0 ;
5694 PyObject
* obj1
= 0 ;
5695 PyObject
* obj2
= 0 ;
5696 char * kwnames
[] = {
5697 (char *) "self",(char *) "show",(char *) "style", NULL
5700 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TopLevelWindow_ShowFullScreen",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
5701 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTopLevelWindow
, 0 | 0 );
5702 if (!SWIG_IsOK(res1
)) {
5703 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TopLevelWindow_ShowFullScreen" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
5705 arg1
= reinterpret_cast< wxTopLevelWindow
* >(argp1
);
5706 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
5707 if (!SWIG_IsOK(ecode2
)) {
5708 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TopLevelWindow_ShowFullScreen" "', expected argument " "2"" of type '" "bool""'");
5710 arg2
= static_cast< bool >(val2
);
5712 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
5713 if (!SWIG_IsOK(ecode3
)) {
5714 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TopLevelWindow_ShowFullScreen" "', expected argument " "3"" of type '" "long""'");
5716 arg3
= static_cast< long >(val3
);
5719 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5720 result
= (bool)(arg1
)->ShowFullScreen(arg2
,arg3
);
5721 wxPyEndAllowThreads(__tstate
);
5722 if (PyErr_Occurred()) SWIG_fail
;
5725 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5733 SWIGINTERN PyObject
*_wrap_TopLevelWindow_IsFullScreen(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5734 PyObject
*resultobj
= 0;
5735 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
5739 PyObject
*swig_obj
[1] ;
5741 if (!args
) SWIG_fail
;
5743 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTopLevelWindow
, 0 | 0 );
5744 if (!SWIG_IsOK(res1
)) {
5745 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TopLevelWindow_IsFullScreen" "', expected argument " "1"" of type '" "wxTopLevelWindow const *""'");
5747 arg1
= reinterpret_cast< wxTopLevelWindow
* >(argp1
);
5749 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5750 result
= (bool)((wxTopLevelWindow
const *)arg1
)->IsFullScreen();
5751 wxPyEndAllowThreads(__tstate
);
5752 if (PyErr_Occurred()) SWIG_fail
;
5755 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5763 SWIGINTERN PyObject
*_wrap_TopLevelWindow_SetTitle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5764 PyObject
*resultobj
= 0;
5765 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
5766 wxString
*arg2
= 0 ;
5769 bool temp2
= false ;
5770 PyObject
* obj0
= 0 ;
5771 PyObject
* obj1
= 0 ;
5772 char * kwnames
[] = {
5773 (char *) "self",(char *) "title", NULL
5776 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TopLevelWindow_SetTitle",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5777 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTopLevelWindow
, 0 | 0 );
5778 if (!SWIG_IsOK(res1
)) {
5779 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TopLevelWindow_SetTitle" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
5781 arg1
= reinterpret_cast< wxTopLevelWindow
* >(argp1
);
5783 arg2
= wxString_in_helper(obj1
);
5784 if (arg2
== NULL
) SWIG_fail
;
5788 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5789 (arg1
)->SetTitle((wxString
const &)*arg2
);
5790 wxPyEndAllowThreads(__tstate
);
5791 if (PyErr_Occurred()) SWIG_fail
;
5793 resultobj
= SWIG_Py_Void();
5808 SWIGINTERN PyObject
*_wrap_TopLevelWindow_GetTitle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5809 PyObject
*resultobj
= 0;
5810 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
5814 PyObject
*swig_obj
[1] ;
5816 if (!args
) SWIG_fail
;
5818 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTopLevelWindow
, 0 | 0 );
5819 if (!SWIG_IsOK(res1
)) {
5820 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TopLevelWindow_GetTitle" "', expected argument " "1"" of type '" "wxTopLevelWindow const *""'");
5822 arg1
= reinterpret_cast< wxTopLevelWindow
* >(argp1
);
5824 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5825 result
= ((wxTopLevelWindow
const *)arg1
)->GetTitle();
5826 wxPyEndAllowThreads(__tstate
);
5827 if (PyErr_Occurred()) SWIG_fail
;
5831 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
5833 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
5842 SWIGINTERN PyObject
*_wrap_TopLevelWindow_SetShape(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5843 PyObject
*resultobj
= 0;
5844 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
5845 wxRegion
*arg2
= 0 ;
5851 PyObject
* obj0
= 0 ;
5852 PyObject
* obj1
= 0 ;
5853 char * kwnames
[] = {
5854 (char *) "self",(char *) "region", NULL
5857 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TopLevelWindow_SetShape",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5858 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTopLevelWindow
, 0 | 0 );
5859 if (!SWIG_IsOK(res1
)) {
5860 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TopLevelWindow_SetShape" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
5862 arg1
= reinterpret_cast< wxTopLevelWindow
* >(argp1
);
5863 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxRegion
, 0 | 0);
5864 if (!SWIG_IsOK(res2
)) {
5865 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TopLevelWindow_SetShape" "', expected argument " "2"" of type '" "wxRegion const &""'");
5868 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TopLevelWindow_SetShape" "', expected argument " "2"" of type '" "wxRegion const &""'");
5870 arg2
= reinterpret_cast< wxRegion
* >(argp2
);
5872 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5873 result
= (bool)(arg1
)->SetShape((wxRegion
const &)*arg2
);
5874 wxPyEndAllowThreads(__tstate
);
5875 if (PyErr_Occurred()) SWIG_fail
;
5878 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5886 SWIGINTERN PyObject
*_wrap_TopLevelWindow_RequestUserAttention(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5887 PyObject
*resultobj
= 0;
5888 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
5889 int arg2
= (int) wxUSER_ATTENTION_INFO
;
5894 PyObject
* obj0
= 0 ;
5895 PyObject
* obj1
= 0 ;
5896 char * kwnames
[] = {
5897 (char *) "self",(char *) "flags", NULL
5900 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:TopLevelWindow_RequestUserAttention",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5901 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTopLevelWindow
, 0 | 0 );
5902 if (!SWIG_IsOK(res1
)) {
5903 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TopLevelWindow_RequestUserAttention" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
5905 arg1
= reinterpret_cast< wxTopLevelWindow
* >(argp1
);
5907 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
5908 if (!SWIG_IsOK(ecode2
)) {
5909 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TopLevelWindow_RequestUserAttention" "', expected argument " "2"" of type '" "int""'");
5911 arg2
= static_cast< int >(val2
);
5914 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5915 (arg1
)->RequestUserAttention(arg2
);
5916 wxPyEndAllowThreads(__tstate
);
5917 if (PyErr_Occurred()) SWIG_fail
;
5919 resultobj
= SWIG_Py_Void();
5926 SWIGINTERN PyObject
*_wrap_TopLevelWindow_IsActive(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5927 PyObject
*resultobj
= 0;
5928 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
5932 PyObject
*swig_obj
[1] ;
5934 if (!args
) SWIG_fail
;
5936 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTopLevelWindow
, 0 | 0 );
5937 if (!SWIG_IsOK(res1
)) {
5938 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TopLevelWindow_IsActive" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
5940 arg1
= reinterpret_cast< wxTopLevelWindow
* >(argp1
);
5942 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5943 result
= (bool)(arg1
)->IsActive();
5944 wxPyEndAllowThreads(__tstate
);
5945 if (PyErr_Occurred()) SWIG_fail
;
5948 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5956 SWIGINTERN PyObject
*_wrap_TopLevelWindow_MacSetMetalAppearance(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5957 PyObject
*resultobj
= 0;
5958 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
5964 PyObject
* obj0
= 0 ;
5965 PyObject
* obj1
= 0 ;
5966 char * kwnames
[] = {
5967 (char *) "self",(char *) "on", NULL
5970 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TopLevelWindow_MacSetMetalAppearance",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5971 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTopLevelWindow
, 0 | 0 );
5972 if (!SWIG_IsOK(res1
)) {
5973 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TopLevelWindow_MacSetMetalAppearance" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
5975 arg1
= reinterpret_cast< wxTopLevelWindow
* >(argp1
);
5976 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
5977 if (!SWIG_IsOK(ecode2
)) {
5978 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TopLevelWindow_MacSetMetalAppearance" "', expected argument " "2"" of type '" "bool""'");
5980 arg2
= static_cast< bool >(val2
);
5982 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5983 wxTopLevelWindow_MacSetMetalAppearance(arg1
,arg2
);
5984 wxPyEndAllowThreads(__tstate
);
5985 if (PyErr_Occurred()) SWIG_fail
;
5987 resultobj
= SWIG_Py_Void();
5994 SWIGINTERN PyObject
*_wrap_TopLevelWindow_MacGetMetalAppearance(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5995 PyObject
*resultobj
= 0;
5996 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
6000 PyObject
*swig_obj
[1] ;
6002 if (!args
) SWIG_fail
;
6004 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTopLevelWindow
, 0 | 0 );
6005 if (!SWIG_IsOK(res1
)) {
6006 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TopLevelWindow_MacGetMetalAppearance" "', expected argument " "1"" of type '" "wxTopLevelWindow const *""'");
6008 arg1
= reinterpret_cast< wxTopLevelWindow
* >(argp1
);
6010 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6011 result
= (bool)wxTopLevelWindow_MacGetMetalAppearance((wxTopLevelWindow
const *)arg1
);
6012 wxPyEndAllowThreads(__tstate
);
6013 if (PyErr_Occurred()) SWIG_fail
;
6016 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6024 SWIGINTERN PyObject
*_wrap_TopLevelWindow_CenterOnScreen(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6025 PyObject
*resultobj
= 0;
6026 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
6027 int arg2
= (int) wxBOTH
;
6032 PyObject
* obj0
= 0 ;
6033 PyObject
* obj1
= 0 ;
6034 char * kwnames
[] = {
6035 (char *) "self",(char *) "dir", NULL
6038 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:TopLevelWindow_CenterOnScreen",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6039 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTopLevelWindow
, 0 | 0 );
6040 if (!SWIG_IsOK(res1
)) {
6041 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TopLevelWindow_CenterOnScreen" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
6043 arg1
= reinterpret_cast< wxTopLevelWindow
* >(argp1
);
6045 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
6046 if (!SWIG_IsOK(ecode2
)) {
6047 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TopLevelWindow_CenterOnScreen" "', expected argument " "2"" of type '" "int""'");
6049 arg2
= static_cast< int >(val2
);
6052 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6053 (arg1
)->CenterOnScreen(arg2
);
6054 wxPyEndAllowThreads(__tstate
);
6055 if (PyErr_Occurred()) SWIG_fail
;
6057 resultobj
= SWIG_Py_Void();
6064 SWIGINTERN PyObject
*_wrap_TopLevelWindow_EnableCloseButton(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6065 PyObject
*resultobj
= 0;
6066 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
6067 bool arg2
= (bool) true ;
6073 PyObject
* obj0
= 0 ;
6074 PyObject
* obj1
= 0 ;
6075 char * kwnames
[] = {
6076 (char *) "self",(char *) "enable", NULL
6079 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:TopLevelWindow_EnableCloseButton",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6080 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTopLevelWindow
, 0 | 0 );
6081 if (!SWIG_IsOK(res1
)) {
6082 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TopLevelWindow_EnableCloseButton" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
6084 arg1
= reinterpret_cast< wxTopLevelWindow
* >(argp1
);
6086 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
6087 if (!SWIG_IsOK(ecode2
)) {
6088 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TopLevelWindow_EnableCloseButton" "', expected argument " "2"" of type '" "bool""'");
6090 arg2
= static_cast< bool >(val2
);
6093 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6094 result
= (bool)(arg1
)->EnableCloseButton(arg2
);
6095 wxPyEndAllowThreads(__tstate
);
6096 if (PyErr_Occurred()) SWIG_fail
;
6099 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6107 SWIGINTERN PyObject
*_wrap_TopLevelWindow_SetTransparent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6108 PyObject
*resultobj
= 0;
6109 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
6114 unsigned char val2
;
6116 PyObject
* obj0
= 0 ;
6117 PyObject
* obj1
= 0 ;
6118 char * kwnames
[] = {
6119 (char *) "self",(char *) "alpha", NULL
6122 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TopLevelWindow_SetTransparent",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6123 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTopLevelWindow
, 0 | 0 );
6124 if (!SWIG_IsOK(res1
)) {
6125 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TopLevelWindow_SetTransparent" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
6127 arg1
= reinterpret_cast< wxTopLevelWindow
* >(argp1
);
6128 ecode2
= SWIG_AsVal_unsigned_SS_char(obj1
, &val2
);
6129 if (!SWIG_IsOK(ecode2
)) {
6130 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TopLevelWindow_SetTransparent" "', expected argument " "2"" of type '" "byte""'");
6132 arg2
= static_cast< byte
>(val2
);
6134 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6135 result
= (bool)(arg1
)->SetTransparent(arg2
);
6136 wxPyEndAllowThreads(__tstate
);
6137 if (PyErr_Occurred()) SWIG_fail
;
6140 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6148 SWIGINTERN PyObject
*_wrap_TopLevelWindow_CanSetTransparent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6149 PyObject
*resultobj
= 0;
6150 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
6154 PyObject
*swig_obj
[1] ;
6156 if (!args
) SWIG_fail
;
6158 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTopLevelWindow
, 0 | 0 );
6159 if (!SWIG_IsOK(res1
)) {
6160 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TopLevelWindow_CanSetTransparent" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
6162 arg1
= reinterpret_cast< wxTopLevelWindow
* >(argp1
);
6164 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6165 result
= (bool)(arg1
)->CanSetTransparent();
6166 wxPyEndAllowThreads(__tstate
);
6167 if (PyErr_Occurred()) SWIG_fail
;
6170 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6178 SWIGINTERN PyObject
*TopLevelWindow_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6180 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
6181 SWIG_TypeNewClientData(SWIGTYPE_p_wxTopLevelWindow
, SWIG_NewClientData(obj
));
6182 return SWIG_Py_Void();
6185 SWIGINTERN PyObject
*_wrap_new_Frame(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6186 PyObject
*resultobj
= 0;
6187 wxWindow
*arg1
= (wxWindow
*) 0 ;
6188 int arg2
= (int) (int)-1 ;
6189 wxString
const &arg3_defvalue
= wxPyEmptyString
;
6190 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
6191 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
6192 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
6193 wxSize
const &arg5_defvalue
= wxDefaultSize
;
6194 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
6195 long arg6
= (long) wxDEFAULT_FRAME_STYLE
;
6196 wxString
const &arg7_defvalue
= wxPyFrameNameStr
;
6197 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
6198 wxFrame
*result
= 0 ;
6203 bool temp3
= false ;
6208 bool temp7
= false ;
6209 PyObject
* obj0
= 0 ;
6210 PyObject
* obj1
= 0 ;
6211 PyObject
* obj2
= 0 ;
6212 PyObject
* obj3
= 0 ;
6213 PyObject
* obj4
= 0 ;
6214 PyObject
* obj5
= 0 ;
6215 PyObject
* obj6
= 0 ;
6216 char * kwnames
[] = {
6217 (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
6220 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_Frame",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
6221 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
6222 if (!SWIG_IsOK(res1
)) {
6223 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_Frame" "', expected argument " "1"" of type '" "wxWindow *""'");
6225 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
6227 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
6228 if (!SWIG_IsOK(ecode2
)) {
6229 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Frame" "', expected argument " "2"" of type '" "int""'");
6231 arg2
= static_cast< int >(val2
);
6235 arg3
= wxString_in_helper(obj2
);
6236 if (arg3
== NULL
) SWIG_fail
;
6243 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
6249 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
6253 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
6254 if (!SWIG_IsOK(ecode6
)) {
6255 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_Frame" "', expected argument " "6"" of type '" "long""'");
6257 arg6
= static_cast< long >(val6
);
6261 arg7
= wxString_in_helper(obj6
);
6262 if (arg7
== NULL
) SWIG_fail
;
6267 if (!wxPyCheckForApp()) SWIG_fail
;
6268 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6269 result
= (wxFrame
*)new wxFrame(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
6270 wxPyEndAllowThreads(__tstate
);
6271 if (PyErr_Occurred()) SWIG_fail
;
6273 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFrame
, SWIG_POINTER_NEW
| 0 );
6296 SWIGINTERN PyObject
*_wrap_new_PreFrame(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6297 PyObject
*resultobj
= 0;
6298 wxFrame
*result
= 0 ;
6300 if (!SWIG_Python_UnpackTuple(args
,"new_PreFrame",0,0,0)) SWIG_fail
;
6302 if (!wxPyCheckForApp()) SWIG_fail
;
6303 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6304 result
= (wxFrame
*)new wxFrame();
6305 wxPyEndAllowThreads(__tstate
);
6306 if (PyErr_Occurred()) SWIG_fail
;
6308 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFrame
, SWIG_POINTER_OWN
| 0 );
6315 SWIGINTERN PyObject
*_wrap_Frame_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6316 PyObject
*resultobj
= 0;
6317 wxFrame
*arg1
= (wxFrame
*) 0 ;
6318 wxWindow
*arg2
= (wxWindow
*) 0 ;
6319 int arg3
= (int) (int)-1 ;
6320 wxString
const &arg4_defvalue
= wxPyEmptyString
;
6321 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
6322 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
6323 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
6324 wxSize
const &arg6_defvalue
= wxDefaultSize
;
6325 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
6326 long arg7
= (long) wxDEFAULT_FRAME_STYLE
;
6327 wxString
const &arg8_defvalue
= wxPyFrameNameStr
;
6328 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
6336 bool temp4
= false ;
6341 bool temp8
= false ;
6342 PyObject
* obj0
= 0 ;
6343 PyObject
* obj1
= 0 ;
6344 PyObject
* obj2
= 0 ;
6345 PyObject
* obj3
= 0 ;
6346 PyObject
* obj4
= 0 ;
6347 PyObject
* obj5
= 0 ;
6348 PyObject
* obj6
= 0 ;
6349 PyObject
* obj7
= 0 ;
6350 char * kwnames
[] = {
6351 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
6354 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:Frame_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
6355 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFrame
, 0 | 0 );
6356 if (!SWIG_IsOK(res1
)) {
6357 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Frame_Create" "', expected argument " "1"" of type '" "wxFrame *""'");
6359 arg1
= reinterpret_cast< wxFrame
* >(argp1
);
6360 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
6361 if (!SWIG_IsOK(res2
)) {
6362 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Frame_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
6364 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
6366 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
6367 if (!SWIG_IsOK(ecode3
)) {
6368 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Frame_Create" "', expected argument " "3"" of type '" "int""'");
6370 arg3
= static_cast< int >(val3
);
6374 arg4
= wxString_in_helper(obj3
);
6375 if (arg4
== NULL
) SWIG_fail
;
6382 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
6388 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
6392 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
6393 if (!SWIG_IsOK(ecode7
)) {
6394 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "Frame_Create" "', expected argument " "7"" of type '" "long""'");
6396 arg7
= static_cast< long >(val7
);
6400 arg8
= wxString_in_helper(obj7
);
6401 if (arg8
== NULL
) SWIG_fail
;
6406 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6407 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxString
const &)*arg8
);
6408 wxPyEndAllowThreads(__tstate
);
6409 if (PyErr_Occurred()) SWIG_fail
;
6412 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6436 SWIGINTERN PyObject
*_wrap_Frame_SendSizeEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6437 PyObject
*resultobj
= 0;
6438 wxFrame
*arg1
= (wxFrame
*) 0 ;
6441 PyObject
*swig_obj
[1] ;
6443 if (!args
) SWIG_fail
;
6445 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFrame
, 0 | 0 );
6446 if (!SWIG_IsOK(res1
)) {
6447 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Frame_SendSizeEvent" "', expected argument " "1"" of type '" "wxFrame *""'");
6449 arg1
= reinterpret_cast< wxFrame
* >(argp1
);
6451 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6452 (arg1
)->SendSizeEvent();
6453 wxPyEndAllowThreads(__tstate
);
6454 if (PyErr_Occurred()) SWIG_fail
;
6456 resultobj
= SWIG_Py_Void();
6463 SWIGINTERN PyObject
*_wrap_Frame_SetMenuBar(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6464 PyObject
*resultobj
= 0;
6465 wxFrame
*arg1
= (wxFrame
*) 0 ;
6466 wxMenuBar
*arg2
= (wxMenuBar
*) 0 ;
6471 PyObject
* obj0
= 0 ;
6472 PyObject
* obj1
= 0 ;
6473 char * kwnames
[] = {
6474 (char *) "self",(char *) "menubar", NULL
6477 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Frame_SetMenuBar",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6478 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFrame
, 0 | 0 );
6479 if (!SWIG_IsOK(res1
)) {
6480 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Frame_SetMenuBar" "', expected argument " "1"" of type '" "wxFrame *""'");
6482 arg1
= reinterpret_cast< wxFrame
* >(argp1
);
6483 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxMenuBar
, 0 | 0 );
6484 if (!SWIG_IsOK(res2
)) {
6485 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Frame_SetMenuBar" "', expected argument " "2"" of type '" "wxMenuBar *""'");
6487 arg2
= reinterpret_cast< wxMenuBar
* >(argp2
);
6489 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6490 (arg1
)->SetMenuBar(arg2
);
6491 wxPyEndAllowThreads(__tstate
);
6492 if (PyErr_Occurred()) SWIG_fail
;
6494 resultobj
= SWIG_Py_Void();
6501 SWIGINTERN PyObject
*_wrap_Frame_GetMenuBar(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6502 PyObject
*resultobj
= 0;
6503 wxFrame
*arg1
= (wxFrame
*) 0 ;
6504 wxMenuBar
*result
= 0 ;
6507 PyObject
*swig_obj
[1] ;
6509 if (!args
) SWIG_fail
;
6511 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFrame
, 0 | 0 );
6512 if (!SWIG_IsOK(res1
)) {
6513 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Frame_GetMenuBar" "', expected argument " "1"" of type '" "wxFrame const *""'");
6515 arg1
= reinterpret_cast< wxFrame
* >(argp1
);
6517 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6518 result
= (wxMenuBar
*)((wxFrame
const *)arg1
)->GetMenuBar();
6519 wxPyEndAllowThreads(__tstate
);
6520 if (PyErr_Occurred()) SWIG_fail
;
6523 resultobj
= wxPyMake_wxObject(result
, 0);
6531 SWIGINTERN PyObject
*_wrap_Frame_ProcessCommand(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6532 PyObject
*resultobj
= 0;
6533 wxFrame
*arg1
= (wxFrame
*) 0 ;
6540 PyObject
* obj0
= 0 ;
6541 PyObject
* obj1
= 0 ;
6542 char * kwnames
[] = {
6543 (char *) "self",(char *) "winid", NULL
6546 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Frame_ProcessCommand",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6547 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFrame
, 0 | 0 );
6548 if (!SWIG_IsOK(res1
)) {
6549 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Frame_ProcessCommand" "', expected argument " "1"" of type '" "wxFrame *""'");
6551 arg1
= reinterpret_cast< wxFrame
* >(argp1
);
6552 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
6553 if (!SWIG_IsOK(ecode2
)) {
6554 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Frame_ProcessCommand" "', expected argument " "2"" of type '" "int""'");
6556 arg2
= static_cast< int >(val2
);
6558 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6559 result
= (bool)(arg1
)->ProcessCommand(arg2
);
6560 wxPyEndAllowThreads(__tstate
);
6561 if (PyErr_Occurred()) SWIG_fail
;
6564 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6572 SWIGINTERN PyObject
*_wrap_Frame_CreateStatusBar(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6573 PyObject
*resultobj
= 0;
6574 wxFrame
*arg1
= (wxFrame
*) 0 ;
6575 int arg2
= (int) 1 ;
6576 long arg3
= (long) wxDEFAULT_STATUSBAR_STYLE
;
6577 int arg4
= (int) 0 ;
6578 wxString
const &arg5_defvalue
= wxPyStatusLineNameStr
;
6579 wxString
*arg5
= (wxString
*) &arg5_defvalue
;
6580 wxStatusBar
*result
= 0 ;
6589 bool temp5
= false ;
6590 PyObject
* obj0
= 0 ;
6591 PyObject
* obj1
= 0 ;
6592 PyObject
* obj2
= 0 ;
6593 PyObject
* obj3
= 0 ;
6594 PyObject
* obj4
= 0 ;
6595 char * kwnames
[] = {
6596 (char *) "self",(char *) "number",(char *) "style",(char *) "winid",(char *) "name", NULL
6599 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOO:Frame_CreateStatusBar",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
6600 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFrame
, 0 | 0 );
6601 if (!SWIG_IsOK(res1
)) {
6602 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Frame_CreateStatusBar" "', expected argument " "1"" of type '" "wxFrame *""'");
6604 arg1
= reinterpret_cast< wxFrame
* >(argp1
);
6606 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
6607 if (!SWIG_IsOK(ecode2
)) {
6608 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Frame_CreateStatusBar" "', expected argument " "2"" of type '" "int""'");
6610 arg2
= static_cast< int >(val2
);
6613 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
6614 if (!SWIG_IsOK(ecode3
)) {
6615 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Frame_CreateStatusBar" "', expected argument " "3"" of type '" "long""'");
6617 arg3
= static_cast< long >(val3
);
6620 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
6621 if (!SWIG_IsOK(ecode4
)) {
6622 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Frame_CreateStatusBar" "', expected argument " "4"" of type '" "int""'");
6624 arg4
= static_cast< int >(val4
);
6628 arg5
= wxString_in_helper(obj4
);
6629 if (arg5
== NULL
) SWIG_fail
;
6634 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6635 result
= (wxStatusBar
*)(arg1
)->CreateStatusBar(arg2
,arg3
,arg4
,(wxString
const &)*arg5
);
6636 wxPyEndAllowThreads(__tstate
);
6637 if (PyErr_Occurred()) SWIG_fail
;
6640 resultobj
= wxPyMake_wxObject(result
, (bool)0);
6656 SWIGINTERN PyObject
*_wrap_Frame_GetStatusBar(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6657 PyObject
*resultobj
= 0;
6658 wxFrame
*arg1
= (wxFrame
*) 0 ;
6659 wxStatusBar
*result
= 0 ;
6662 PyObject
*swig_obj
[1] ;
6664 if (!args
) SWIG_fail
;
6666 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFrame
, 0 | 0 );
6667 if (!SWIG_IsOK(res1
)) {
6668 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Frame_GetStatusBar" "', expected argument " "1"" of type '" "wxFrame const *""'");
6670 arg1
= reinterpret_cast< wxFrame
* >(argp1
);
6672 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6673 result
= (wxStatusBar
*)((wxFrame
const *)arg1
)->GetStatusBar();
6674 wxPyEndAllowThreads(__tstate
);
6675 if (PyErr_Occurred()) SWIG_fail
;
6678 resultobj
= wxPyMake_wxObject(result
, (bool)0);
6686 SWIGINTERN PyObject
*_wrap_Frame_SetStatusBar(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6687 PyObject
*resultobj
= 0;
6688 wxFrame
*arg1
= (wxFrame
*) 0 ;
6689 wxStatusBar
*arg2
= (wxStatusBar
*) 0 ;
6694 PyObject
* obj0
= 0 ;
6695 PyObject
* obj1
= 0 ;
6696 char * kwnames
[] = {
6697 (char *) "self",(char *) "statBar", NULL
6700 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Frame_SetStatusBar",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6701 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFrame
, 0 | 0 );
6702 if (!SWIG_IsOK(res1
)) {
6703 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Frame_SetStatusBar" "', expected argument " "1"" of type '" "wxFrame *""'");
6705 arg1
= reinterpret_cast< wxFrame
* >(argp1
);
6706 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxStatusBar
, 0 | 0 );
6707 if (!SWIG_IsOK(res2
)) {
6708 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Frame_SetStatusBar" "', expected argument " "2"" of type '" "wxStatusBar *""'");
6710 arg2
= reinterpret_cast< wxStatusBar
* >(argp2
);
6712 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6713 (arg1
)->SetStatusBar(arg2
);
6714 wxPyEndAllowThreads(__tstate
);
6715 if (PyErr_Occurred()) SWIG_fail
;
6717 resultobj
= SWIG_Py_Void();
6724 SWIGINTERN PyObject
*_wrap_Frame_SetStatusText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6725 PyObject
*resultobj
= 0;
6726 wxFrame
*arg1
= (wxFrame
*) 0 ;
6727 wxString
*arg2
= 0 ;
6728 int arg3
= (int) 0 ;
6731 bool temp2
= false ;
6734 PyObject
* obj0
= 0 ;
6735 PyObject
* obj1
= 0 ;
6736 PyObject
* obj2
= 0 ;
6737 char * kwnames
[] = {
6738 (char *) "self",(char *) "text",(char *) "number", NULL
6741 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Frame_SetStatusText",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
6742 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFrame
, 0 | 0 );
6743 if (!SWIG_IsOK(res1
)) {
6744 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Frame_SetStatusText" "', expected argument " "1"" of type '" "wxFrame *""'");
6746 arg1
= reinterpret_cast< wxFrame
* >(argp1
);
6748 arg2
= wxString_in_helper(obj1
);
6749 if (arg2
== NULL
) SWIG_fail
;
6753 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
6754 if (!SWIG_IsOK(ecode3
)) {
6755 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Frame_SetStatusText" "', expected argument " "3"" of type '" "int""'");
6757 arg3
= static_cast< int >(val3
);
6760 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6761 (arg1
)->SetStatusText((wxString
const &)*arg2
,arg3
);
6762 wxPyEndAllowThreads(__tstate
);
6763 if (PyErr_Occurred()) SWIG_fail
;
6765 resultobj
= SWIG_Py_Void();
6780 SWIGINTERN PyObject
*_wrap_Frame_SetStatusWidths(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6781 PyObject
*resultobj
= 0;
6782 wxFrame
*arg1
= (wxFrame
*) 0 ;
6784 int *arg3
= (int *) 0 ;
6787 PyObject
* obj0
= 0 ;
6788 PyObject
* obj1
= 0 ;
6789 char * kwnames
[] = {
6790 (char *) "self",(char *) "widths", NULL
6793 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Frame_SetStatusWidths",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6794 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFrame
, 0 | 0 );
6795 if (!SWIG_IsOK(res1
)) {
6796 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Frame_SetStatusWidths" "', expected argument " "1"" of type '" "wxFrame *""'");
6798 arg1
= reinterpret_cast< wxFrame
* >(argp1
);
6800 arg2
= PyList_Size(obj1
);
6801 arg3
= int_LIST_helper(obj1
);
6802 if (arg3
== NULL
) SWIG_fail
;
6805 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6806 (arg1
)->SetStatusWidths(arg2
,(int const *)arg3
);
6807 wxPyEndAllowThreads(__tstate
);
6808 if (PyErr_Occurred()) SWIG_fail
;
6810 resultobj
= SWIG_Py_Void();
6812 if (arg3
) delete [] arg3
;
6817 if (arg3
) delete [] arg3
;
6823 SWIGINTERN PyObject
*_wrap_Frame_PushStatusText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6824 PyObject
*resultobj
= 0;
6825 wxFrame
*arg1
= (wxFrame
*) 0 ;
6826 wxString
*arg2
= 0 ;
6827 int arg3
= (int) 0 ;
6830 bool temp2
= false ;
6833 PyObject
* obj0
= 0 ;
6834 PyObject
* obj1
= 0 ;
6835 PyObject
* obj2
= 0 ;
6836 char * kwnames
[] = {
6837 (char *) "self",(char *) "text",(char *) "number", NULL
6840 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Frame_PushStatusText",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
6841 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFrame
, 0 | 0 );
6842 if (!SWIG_IsOK(res1
)) {
6843 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Frame_PushStatusText" "', expected argument " "1"" of type '" "wxFrame *""'");
6845 arg1
= reinterpret_cast< wxFrame
* >(argp1
);
6847 arg2
= wxString_in_helper(obj1
);
6848 if (arg2
== NULL
) SWIG_fail
;
6852 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
6853 if (!SWIG_IsOK(ecode3
)) {
6854 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Frame_PushStatusText" "', expected argument " "3"" of type '" "int""'");
6856 arg3
= static_cast< int >(val3
);
6859 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6860 (arg1
)->PushStatusText((wxString
const &)*arg2
,arg3
);
6861 wxPyEndAllowThreads(__tstate
);
6862 if (PyErr_Occurred()) SWIG_fail
;
6864 resultobj
= SWIG_Py_Void();
6879 SWIGINTERN PyObject
*_wrap_Frame_PopStatusText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6880 PyObject
*resultobj
= 0;
6881 wxFrame
*arg1
= (wxFrame
*) 0 ;
6882 int arg2
= (int) 0 ;
6887 PyObject
* obj0
= 0 ;
6888 PyObject
* obj1
= 0 ;
6889 char * kwnames
[] = {
6890 (char *) "self",(char *) "number", NULL
6893 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Frame_PopStatusText",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6894 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFrame
, 0 | 0 );
6895 if (!SWIG_IsOK(res1
)) {
6896 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Frame_PopStatusText" "', expected argument " "1"" of type '" "wxFrame *""'");
6898 arg1
= reinterpret_cast< wxFrame
* >(argp1
);
6900 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
6901 if (!SWIG_IsOK(ecode2
)) {
6902 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Frame_PopStatusText" "', expected argument " "2"" of type '" "int""'");
6904 arg2
= static_cast< int >(val2
);
6907 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6908 (arg1
)->PopStatusText(arg2
);
6909 wxPyEndAllowThreads(__tstate
);
6910 if (PyErr_Occurred()) SWIG_fail
;
6912 resultobj
= SWIG_Py_Void();
6919 SWIGINTERN PyObject
*_wrap_Frame_SetStatusBarPane(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6920 PyObject
*resultobj
= 0;
6921 wxFrame
*arg1
= (wxFrame
*) 0 ;
6927 PyObject
* obj0
= 0 ;
6928 PyObject
* obj1
= 0 ;
6929 char * kwnames
[] = {
6930 (char *) "self",(char *) "n", NULL
6933 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Frame_SetStatusBarPane",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6934 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFrame
, 0 | 0 );
6935 if (!SWIG_IsOK(res1
)) {
6936 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Frame_SetStatusBarPane" "', expected argument " "1"" of type '" "wxFrame *""'");
6938 arg1
= reinterpret_cast< wxFrame
* >(argp1
);
6939 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
6940 if (!SWIG_IsOK(ecode2
)) {
6941 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Frame_SetStatusBarPane" "', expected argument " "2"" of type '" "int""'");
6943 arg2
= static_cast< int >(val2
);
6945 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6946 (arg1
)->SetStatusBarPane(arg2
);
6947 wxPyEndAllowThreads(__tstate
);
6948 if (PyErr_Occurred()) SWIG_fail
;
6950 resultobj
= SWIG_Py_Void();
6957 SWIGINTERN PyObject
*_wrap_Frame_GetStatusBarPane(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6958 PyObject
*resultobj
= 0;
6959 wxFrame
*arg1
= (wxFrame
*) 0 ;
6963 PyObject
*swig_obj
[1] ;
6965 if (!args
) SWIG_fail
;
6967 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFrame
, 0 | 0 );
6968 if (!SWIG_IsOK(res1
)) {
6969 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Frame_GetStatusBarPane" "', expected argument " "1"" of type '" "wxFrame const *""'");
6971 arg1
= reinterpret_cast< wxFrame
* >(argp1
);
6973 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6974 result
= (int)((wxFrame
const *)arg1
)->GetStatusBarPane();
6975 wxPyEndAllowThreads(__tstate
);
6976 if (PyErr_Occurred()) SWIG_fail
;
6978 resultobj
= SWIG_From_int(static_cast< int >(result
));
6985 SWIGINTERN PyObject
*_wrap_Frame_CreateToolBar(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6986 PyObject
*resultobj
= 0;
6987 wxFrame
*arg1
= (wxFrame
*) 0 ;
6988 long arg2
= (long) -1 ;
6989 int arg3
= (int) -1 ;
6990 wxString
const &arg4_defvalue
= wxPyToolBarNameStr
;
6991 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
6992 wxToolBar
*result
= 0 ;
6999 bool temp4
= false ;
7000 PyObject
* obj0
= 0 ;
7001 PyObject
* obj1
= 0 ;
7002 PyObject
* obj2
= 0 ;
7003 PyObject
* obj3
= 0 ;
7004 char * kwnames
[] = {
7005 (char *) "self",(char *) "style",(char *) "winid",(char *) "name", NULL
7008 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOO:Frame_CreateToolBar",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
7009 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFrame
, 0 | 0 );
7010 if (!SWIG_IsOK(res1
)) {
7011 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Frame_CreateToolBar" "', expected argument " "1"" of type '" "wxFrame *""'");
7013 arg1
= reinterpret_cast< wxFrame
* >(argp1
);
7015 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
7016 if (!SWIG_IsOK(ecode2
)) {
7017 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Frame_CreateToolBar" "', expected argument " "2"" of type '" "long""'");
7019 arg2
= static_cast< long >(val2
);
7022 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
7023 if (!SWIG_IsOK(ecode3
)) {
7024 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Frame_CreateToolBar" "', expected argument " "3"" of type '" "int""'");
7026 arg3
= static_cast< int >(val3
);
7030 arg4
= wxString_in_helper(obj3
);
7031 if (arg4
== NULL
) SWIG_fail
;
7036 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7037 result
= (wxToolBar
*)(arg1
)->CreateToolBar(arg2
,arg3
,(wxString
const &)*arg4
);
7038 wxPyEndAllowThreads(__tstate
);
7039 if (PyErr_Occurred()) SWIG_fail
;
7042 resultobj
= wxPyMake_wxObject(result
, (bool)0);
7058 SWIGINTERN PyObject
*_wrap_Frame_GetToolBar(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7059 PyObject
*resultobj
= 0;
7060 wxFrame
*arg1
= (wxFrame
*) 0 ;
7061 wxToolBar
*result
= 0 ;
7064 PyObject
*swig_obj
[1] ;
7066 if (!args
) SWIG_fail
;
7068 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFrame
, 0 | 0 );
7069 if (!SWIG_IsOK(res1
)) {
7070 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Frame_GetToolBar" "', expected argument " "1"" of type '" "wxFrame const *""'");
7072 arg1
= reinterpret_cast< wxFrame
* >(argp1
);
7074 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7075 result
= (wxToolBar
*)((wxFrame
const *)arg1
)->GetToolBar();
7076 wxPyEndAllowThreads(__tstate
);
7077 if (PyErr_Occurred()) SWIG_fail
;
7080 resultobj
= wxPyMake_wxObject(result
, (bool)0);
7088 SWIGINTERN PyObject
*_wrap_Frame_SetToolBar(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7089 PyObject
*resultobj
= 0;
7090 wxFrame
*arg1
= (wxFrame
*) 0 ;
7091 wxToolBar
*arg2
= (wxToolBar
*) 0 ;
7096 PyObject
* obj0
= 0 ;
7097 PyObject
* obj1
= 0 ;
7098 char * kwnames
[] = {
7099 (char *) "self",(char *) "toolbar", NULL
7102 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Frame_SetToolBar",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7103 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFrame
, 0 | 0 );
7104 if (!SWIG_IsOK(res1
)) {
7105 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Frame_SetToolBar" "', expected argument " "1"" of type '" "wxFrame *""'");
7107 arg1
= reinterpret_cast< wxFrame
* >(argp1
);
7108 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxToolBar
, 0 | 0 );
7109 if (!SWIG_IsOK(res2
)) {
7110 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Frame_SetToolBar" "', expected argument " "2"" of type '" "wxToolBar *""'");
7112 arg2
= reinterpret_cast< wxToolBar
* >(argp2
);
7114 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7115 (arg1
)->SetToolBar(arg2
);
7116 wxPyEndAllowThreads(__tstate
);
7117 if (PyErr_Occurred()) SWIG_fail
;
7119 resultobj
= SWIG_Py_Void();
7126 SWIGINTERN PyObject
*_wrap_Frame_DoGiveHelp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7127 PyObject
*resultobj
= 0;
7128 wxFrame
*arg1
= (wxFrame
*) 0 ;
7129 wxString
*arg2
= 0 ;
7133 bool temp2
= false ;
7136 PyObject
* obj0
= 0 ;
7137 PyObject
* obj1
= 0 ;
7138 PyObject
* obj2
= 0 ;
7139 char * kwnames
[] = {
7140 (char *) "self",(char *) "text",(char *) "show", NULL
7143 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Frame_DoGiveHelp",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
7144 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFrame
, 0 | 0 );
7145 if (!SWIG_IsOK(res1
)) {
7146 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Frame_DoGiveHelp" "', expected argument " "1"" of type '" "wxFrame *""'");
7148 arg1
= reinterpret_cast< wxFrame
* >(argp1
);
7150 arg2
= wxString_in_helper(obj1
);
7151 if (arg2
== NULL
) SWIG_fail
;
7154 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
7155 if (!SWIG_IsOK(ecode3
)) {
7156 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Frame_DoGiveHelp" "', expected argument " "3"" of type '" "bool""'");
7158 arg3
= static_cast< bool >(val3
);
7160 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7161 (arg1
)->DoGiveHelp((wxString
const &)*arg2
,arg3
);
7162 wxPyEndAllowThreads(__tstate
);
7163 if (PyErr_Occurred()) SWIG_fail
;
7165 resultobj
= SWIG_Py_Void();
7180 SWIGINTERN PyObject
*_wrap_Frame_DoMenuUpdates(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7181 PyObject
*resultobj
= 0;
7182 wxFrame
*arg1
= (wxFrame
*) 0 ;
7183 wxMenu
*arg2
= (wxMenu
*) NULL
;
7188 PyObject
* obj0
= 0 ;
7189 PyObject
* obj1
= 0 ;
7190 char * kwnames
[] = {
7191 (char *) "self",(char *) "menu", NULL
7194 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Frame_DoMenuUpdates",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7195 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFrame
, 0 | 0 );
7196 if (!SWIG_IsOK(res1
)) {
7197 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Frame_DoMenuUpdates" "', expected argument " "1"" of type '" "wxFrame *""'");
7199 arg1
= reinterpret_cast< wxFrame
* >(argp1
);
7201 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxMenu
, 0 | 0 );
7202 if (!SWIG_IsOK(res2
)) {
7203 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Frame_DoMenuUpdates" "', expected argument " "2"" of type '" "wxMenu *""'");
7205 arg2
= reinterpret_cast< wxMenu
* >(argp2
);
7208 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7209 (arg1
)->DoMenuUpdates(arg2
);
7210 wxPyEndAllowThreads(__tstate
);
7211 if (PyErr_Occurred()) SWIG_fail
;
7213 resultobj
= SWIG_Py_Void();
7220 SWIGINTERN PyObject
*_wrap_Frame_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7221 PyObject
*resultobj
= 0;
7222 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
7223 SwigValueWrapper
<wxVisualAttributes
> result
;
7226 PyObject
* obj0
= 0 ;
7227 char * kwnames
[] = {
7228 (char *) "variant", NULL
7231 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Frame_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
7233 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
7234 if (!SWIG_IsOK(ecode1
)) {
7235 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "Frame_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
7237 arg1
= static_cast< wxWindowVariant
>(val1
);
7240 if (!wxPyCheckForApp()) SWIG_fail
;
7241 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7242 result
= wxFrame::GetClassDefaultAttributes(arg1
);
7243 wxPyEndAllowThreads(__tstate
);
7244 if (PyErr_Occurred()) SWIG_fail
;
7246 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
7253 SWIGINTERN PyObject
*Frame_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7255 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
7256 SWIG_TypeNewClientData(SWIGTYPE_p_wxFrame
, SWIG_NewClientData(obj
));
7257 return SWIG_Py_Void();
7260 SWIGINTERN PyObject
*Frame_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7261 return SWIG_Python_InitShadowInstance(args
);
7264 SWIGINTERN PyObject
*_wrap_new_Dialog(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7265 PyObject
*resultobj
= 0;
7266 wxWindow
*arg1
= (wxWindow
*) 0 ;
7267 int arg2
= (int) (int)-1 ;
7268 wxString
const &arg3_defvalue
= wxPyEmptyString
;
7269 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
7270 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
7271 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
7272 wxSize
const &arg5_defvalue
= wxDefaultSize
;
7273 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
7274 long arg6
= (long) wxDEFAULT_DIALOG_STYLE
;
7275 wxString
const &arg7_defvalue
= wxPyDialogNameStr
;
7276 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
7277 wxDialog
*result
= 0 ;
7282 bool temp3
= false ;
7287 bool temp7
= false ;
7288 PyObject
* obj0
= 0 ;
7289 PyObject
* obj1
= 0 ;
7290 PyObject
* obj2
= 0 ;
7291 PyObject
* obj3
= 0 ;
7292 PyObject
* obj4
= 0 ;
7293 PyObject
* obj5
= 0 ;
7294 PyObject
* obj6
= 0 ;
7295 char * kwnames
[] = {
7296 (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
7299 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_Dialog",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
7300 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
7301 if (!SWIG_IsOK(res1
)) {
7302 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_Dialog" "', expected argument " "1"" of type '" "wxWindow *""'");
7304 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
7306 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
7307 if (!SWIG_IsOK(ecode2
)) {
7308 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Dialog" "', expected argument " "2"" of type '" "int""'");
7310 arg2
= static_cast< int >(val2
);
7314 arg3
= wxString_in_helper(obj2
);
7315 if (arg3
== NULL
) SWIG_fail
;
7322 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
7328 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
7332 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
7333 if (!SWIG_IsOK(ecode6
)) {
7334 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_Dialog" "', expected argument " "6"" of type '" "long""'");
7336 arg6
= static_cast< long >(val6
);
7340 arg7
= wxString_in_helper(obj6
);
7341 if (arg7
== NULL
) SWIG_fail
;
7346 if (!wxPyCheckForApp()) SWIG_fail
;
7347 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7348 result
= (wxDialog
*)new wxDialog(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
7349 wxPyEndAllowThreads(__tstate
);
7350 if (PyErr_Occurred()) SWIG_fail
;
7352 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDialog
, SWIG_POINTER_NEW
| 0 );
7375 SWIGINTERN PyObject
*_wrap_new_PreDialog(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7376 PyObject
*resultobj
= 0;
7377 wxDialog
*result
= 0 ;
7379 if (!SWIG_Python_UnpackTuple(args
,"new_PreDialog",0,0,0)) SWIG_fail
;
7381 if (!wxPyCheckForApp()) SWIG_fail
;
7382 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7383 result
= (wxDialog
*)new wxDialog();
7384 wxPyEndAllowThreads(__tstate
);
7385 if (PyErr_Occurred()) SWIG_fail
;
7387 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDialog
, SWIG_POINTER_OWN
| 0 );
7394 SWIGINTERN PyObject
*_wrap_Dialog_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7395 PyObject
*resultobj
= 0;
7396 wxDialog
*arg1
= (wxDialog
*) 0 ;
7397 wxWindow
*arg2
= (wxWindow
*) 0 ;
7398 int arg3
= (int) (int)-1 ;
7399 wxString
const &arg4_defvalue
= wxPyEmptyString
;
7400 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
7401 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
7402 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
7403 wxSize
const &arg6_defvalue
= wxDefaultSize
;
7404 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
7405 long arg7
= (long) wxDEFAULT_DIALOG_STYLE
;
7406 wxString
const &arg8_defvalue
= wxPyDialogNameStr
;
7407 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
7415 bool temp4
= false ;
7420 bool temp8
= false ;
7421 PyObject
* obj0
= 0 ;
7422 PyObject
* obj1
= 0 ;
7423 PyObject
* obj2
= 0 ;
7424 PyObject
* obj3
= 0 ;
7425 PyObject
* obj4
= 0 ;
7426 PyObject
* obj5
= 0 ;
7427 PyObject
* obj6
= 0 ;
7428 PyObject
* obj7
= 0 ;
7429 char * kwnames
[] = {
7430 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
7433 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:Dialog_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
7434 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDialog
, 0 | 0 );
7435 if (!SWIG_IsOK(res1
)) {
7436 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Dialog_Create" "', expected argument " "1"" of type '" "wxDialog *""'");
7438 arg1
= reinterpret_cast< wxDialog
* >(argp1
);
7439 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
7440 if (!SWIG_IsOK(res2
)) {
7441 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Dialog_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
7443 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
7445 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
7446 if (!SWIG_IsOK(ecode3
)) {
7447 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Dialog_Create" "', expected argument " "3"" of type '" "int""'");
7449 arg3
= static_cast< int >(val3
);
7453 arg4
= wxString_in_helper(obj3
);
7454 if (arg4
== NULL
) SWIG_fail
;
7461 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
7467 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
7471 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
7472 if (!SWIG_IsOK(ecode7
)) {
7473 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "Dialog_Create" "', expected argument " "7"" of type '" "long""'");
7475 arg7
= static_cast< long >(val7
);
7479 arg8
= wxString_in_helper(obj7
);
7480 if (arg8
== NULL
) SWIG_fail
;
7485 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7486 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxString
const &)*arg8
);
7487 wxPyEndAllowThreads(__tstate
);
7488 if (PyErr_Occurred()) SWIG_fail
;
7491 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7515 SWIGINTERN PyObject
*_wrap_Dialog_SetReturnCode(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7516 PyObject
*resultobj
= 0;
7517 wxDialog
*arg1
= (wxDialog
*) 0 ;
7523 PyObject
* obj0
= 0 ;
7524 PyObject
* obj1
= 0 ;
7525 char * kwnames
[] = {
7526 (char *) "self",(char *) "returnCode", NULL
7529 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Dialog_SetReturnCode",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7530 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDialog
, 0 | 0 );
7531 if (!SWIG_IsOK(res1
)) {
7532 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Dialog_SetReturnCode" "', expected argument " "1"" of type '" "wxDialog *""'");
7534 arg1
= reinterpret_cast< wxDialog
* >(argp1
);
7535 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
7536 if (!SWIG_IsOK(ecode2
)) {
7537 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Dialog_SetReturnCode" "', expected argument " "2"" of type '" "int""'");
7539 arg2
= static_cast< int >(val2
);
7541 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7542 (arg1
)->SetReturnCode(arg2
);
7543 wxPyEndAllowThreads(__tstate
);
7544 if (PyErr_Occurred()) SWIG_fail
;
7546 resultobj
= SWIG_Py_Void();
7553 SWIGINTERN PyObject
*_wrap_Dialog_GetReturnCode(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7554 PyObject
*resultobj
= 0;
7555 wxDialog
*arg1
= (wxDialog
*) 0 ;
7559 PyObject
*swig_obj
[1] ;
7561 if (!args
) SWIG_fail
;
7563 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDialog
, 0 | 0 );
7564 if (!SWIG_IsOK(res1
)) {
7565 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Dialog_GetReturnCode" "', expected argument " "1"" of type '" "wxDialog const *""'");
7567 arg1
= reinterpret_cast< wxDialog
* >(argp1
);
7569 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7570 result
= (int)((wxDialog
const *)arg1
)->GetReturnCode();
7571 wxPyEndAllowThreads(__tstate
);
7572 if (PyErr_Occurred()) SWIG_fail
;
7574 resultobj
= SWIG_From_int(static_cast< int >(result
));
7581 SWIGINTERN PyObject
*_wrap_Dialog_SetAffirmativeId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7582 PyObject
*resultobj
= 0;
7583 wxDialog
*arg1
= (wxDialog
*) 0 ;
7589 PyObject
* obj0
= 0 ;
7590 PyObject
* obj1
= 0 ;
7591 char * kwnames
[] = {
7592 (char *) "self",(char *) "affirmativeId", NULL
7595 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Dialog_SetAffirmativeId",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7596 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDialog
, 0 | 0 );
7597 if (!SWIG_IsOK(res1
)) {
7598 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Dialog_SetAffirmativeId" "', expected argument " "1"" of type '" "wxDialog *""'");
7600 arg1
= reinterpret_cast< wxDialog
* >(argp1
);
7601 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
7602 if (!SWIG_IsOK(ecode2
)) {
7603 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Dialog_SetAffirmativeId" "', expected argument " "2"" of type '" "int""'");
7605 arg2
= static_cast< int >(val2
);
7607 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7608 (arg1
)->SetAffirmativeId(arg2
);
7609 wxPyEndAllowThreads(__tstate
);
7610 if (PyErr_Occurred()) SWIG_fail
;
7612 resultobj
= SWIG_Py_Void();
7619 SWIGINTERN PyObject
*_wrap_Dialog_GetAffirmativeId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7620 PyObject
*resultobj
= 0;
7621 wxDialog
*arg1
= (wxDialog
*) 0 ;
7625 PyObject
*swig_obj
[1] ;
7627 if (!args
) SWIG_fail
;
7629 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDialog
, 0 | 0 );
7630 if (!SWIG_IsOK(res1
)) {
7631 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Dialog_GetAffirmativeId" "', expected argument " "1"" of type '" "wxDialog const *""'");
7633 arg1
= reinterpret_cast< wxDialog
* >(argp1
);
7635 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7636 result
= (int)((wxDialog
const *)arg1
)->GetAffirmativeId();
7637 wxPyEndAllowThreads(__tstate
);
7638 if (PyErr_Occurred()) SWIG_fail
;
7640 resultobj
= SWIG_From_int(static_cast< int >(result
));
7647 SWIGINTERN PyObject
*_wrap_Dialog_SetEscapeId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7648 PyObject
*resultobj
= 0;
7649 wxDialog
*arg1
= (wxDialog
*) 0 ;
7655 PyObject
* obj0
= 0 ;
7656 PyObject
* obj1
= 0 ;
7657 char * kwnames
[] = {
7658 (char *) "self",(char *) "escapeId", NULL
7661 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Dialog_SetEscapeId",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7662 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDialog
, 0 | 0 );
7663 if (!SWIG_IsOK(res1
)) {
7664 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Dialog_SetEscapeId" "', expected argument " "1"" of type '" "wxDialog *""'");
7666 arg1
= reinterpret_cast< wxDialog
* >(argp1
);
7667 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
7668 if (!SWIG_IsOK(ecode2
)) {
7669 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Dialog_SetEscapeId" "', expected argument " "2"" of type '" "int""'");
7671 arg2
= static_cast< int >(val2
);
7673 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7674 (arg1
)->SetEscapeId(arg2
);
7675 wxPyEndAllowThreads(__tstate
);
7676 if (PyErr_Occurred()) SWIG_fail
;
7678 resultobj
= SWIG_Py_Void();
7685 SWIGINTERN PyObject
*_wrap_Dialog_GetEscapeId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7686 PyObject
*resultobj
= 0;
7687 wxDialog
*arg1
= (wxDialog
*) 0 ;
7691 PyObject
*swig_obj
[1] ;
7693 if (!args
) SWIG_fail
;
7695 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDialog
, 0 | 0 );
7696 if (!SWIG_IsOK(res1
)) {
7697 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Dialog_GetEscapeId" "', expected argument " "1"" of type '" "wxDialog const *""'");
7699 arg1
= reinterpret_cast< wxDialog
* >(argp1
);
7701 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7702 result
= (int)((wxDialog
const *)arg1
)->GetEscapeId();
7703 wxPyEndAllowThreads(__tstate
);
7704 if (PyErr_Occurred()) SWIG_fail
;
7706 resultobj
= SWIG_From_int(static_cast< int >(result
));
7713 SWIGINTERN PyObject
*_wrap_Dialog_CreateTextSizer(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7714 PyObject
*resultobj
= 0;
7715 wxDialog
*arg1
= (wxDialog
*) 0 ;
7716 wxString
*arg2
= 0 ;
7717 wxSizer
*result
= 0 ;
7720 bool temp2
= false ;
7721 PyObject
* obj0
= 0 ;
7722 PyObject
* obj1
= 0 ;
7723 char * kwnames
[] = {
7724 (char *) "self",(char *) "message", NULL
7727 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Dialog_CreateTextSizer",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7728 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDialog
, 0 | 0 );
7729 if (!SWIG_IsOK(res1
)) {
7730 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Dialog_CreateTextSizer" "', expected argument " "1"" of type '" "wxDialog *""'");
7732 arg1
= reinterpret_cast< wxDialog
* >(argp1
);
7734 arg2
= wxString_in_helper(obj1
);
7735 if (arg2
== NULL
) SWIG_fail
;
7739 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7740 result
= (wxSizer
*)(arg1
)->CreateTextSizer((wxString
const &)*arg2
);
7741 wxPyEndAllowThreads(__tstate
);
7742 if (PyErr_Occurred()) SWIG_fail
;
7745 resultobj
= wxPyMake_wxObject(result
, (bool)0);
7761 SWIGINTERN PyObject
*_wrap_Dialog_CreateButtonSizer(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7762 PyObject
*resultobj
= 0;
7763 wxDialog
*arg1
= (wxDialog
*) 0 ;
7765 bool arg3
= (bool) false ;
7766 int arg4
= (int) 0 ;
7767 wxSizer
*result
= 0 ;
7776 PyObject
* obj0
= 0 ;
7777 PyObject
* obj1
= 0 ;
7778 PyObject
* obj2
= 0 ;
7779 PyObject
* obj3
= 0 ;
7780 char * kwnames
[] = {
7781 (char *) "self",(char *) "flags",(char *) "separated",(char *) "distance", NULL
7784 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:Dialog_CreateButtonSizer",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
7785 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDialog
, 0 | 0 );
7786 if (!SWIG_IsOK(res1
)) {
7787 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Dialog_CreateButtonSizer" "', expected argument " "1"" of type '" "wxDialog *""'");
7789 arg1
= reinterpret_cast< wxDialog
* >(argp1
);
7790 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
7791 if (!SWIG_IsOK(ecode2
)) {
7792 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Dialog_CreateButtonSizer" "', expected argument " "2"" of type '" "long""'");
7794 arg2
= static_cast< long >(val2
);
7796 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
7797 if (!SWIG_IsOK(ecode3
)) {
7798 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Dialog_CreateButtonSizer" "', expected argument " "3"" of type '" "bool""'");
7800 arg3
= static_cast< bool >(val3
);
7803 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
7804 if (!SWIG_IsOK(ecode4
)) {
7805 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Dialog_CreateButtonSizer" "', expected argument " "4"" of type '" "int""'");
7807 arg4
= static_cast< int >(val4
);
7810 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7811 result
= (wxSizer
*)(arg1
)->CreateButtonSizer(arg2
,arg3
,arg4
);
7812 wxPyEndAllowThreads(__tstate
);
7813 if (PyErr_Occurred()) SWIG_fail
;
7816 resultobj
= wxPyMake_wxObject(result
, (bool)0);
7824 SWIGINTERN PyObject
*_wrap_Dialog_CreateStdDialogButtonSizer(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7825 PyObject
*resultobj
= 0;
7826 wxDialog
*arg1
= (wxDialog
*) 0 ;
7828 wxStdDialogButtonSizer
*result
= 0 ;
7833 PyObject
* obj0
= 0 ;
7834 PyObject
* obj1
= 0 ;
7835 char * kwnames
[] = {
7836 (char *) "self",(char *) "flags", NULL
7839 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Dialog_CreateStdDialogButtonSizer",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7840 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDialog
, 0 | 0 );
7841 if (!SWIG_IsOK(res1
)) {
7842 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Dialog_CreateStdDialogButtonSizer" "', expected argument " "1"" of type '" "wxDialog *""'");
7844 arg1
= reinterpret_cast< wxDialog
* >(argp1
);
7845 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
7846 if (!SWIG_IsOK(ecode2
)) {
7847 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Dialog_CreateStdDialogButtonSizer" "', expected argument " "2"" of type '" "long""'");
7849 arg2
= static_cast< long >(val2
);
7851 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7852 result
= (wxStdDialogButtonSizer
*)(arg1
)->CreateStdDialogButtonSizer(arg2
);
7853 wxPyEndAllowThreads(__tstate
);
7854 if (PyErr_Occurred()) SWIG_fail
;
7856 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxStdDialogButtonSizer
, 0 | 0 );
7863 SWIGINTERN PyObject
*_wrap_Dialog_IsModal(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7864 PyObject
*resultobj
= 0;
7865 wxDialog
*arg1
= (wxDialog
*) 0 ;
7869 PyObject
*swig_obj
[1] ;
7871 if (!args
) SWIG_fail
;
7873 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDialog
, 0 | 0 );
7874 if (!SWIG_IsOK(res1
)) {
7875 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Dialog_IsModal" "', expected argument " "1"" of type '" "wxDialog const *""'");
7877 arg1
= reinterpret_cast< wxDialog
* >(argp1
);
7879 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7880 result
= (bool)((wxDialog
const *)arg1
)->IsModal();
7881 wxPyEndAllowThreads(__tstate
);
7882 if (PyErr_Occurred()) SWIG_fail
;
7885 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7893 SWIGINTERN PyObject
*_wrap_Dialog_ShowModal(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7894 PyObject
*resultobj
= 0;
7895 wxDialog
*arg1
= (wxDialog
*) 0 ;
7899 PyObject
*swig_obj
[1] ;
7901 if (!args
) SWIG_fail
;
7903 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDialog
, 0 | 0 );
7904 if (!SWIG_IsOK(res1
)) {
7905 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Dialog_ShowModal" "', expected argument " "1"" of type '" "wxDialog *""'");
7907 arg1
= reinterpret_cast< wxDialog
* >(argp1
);
7909 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7910 result
= (int)(arg1
)->ShowModal();
7911 wxPyEndAllowThreads(__tstate
);
7912 if (PyErr_Occurred()) SWIG_fail
;
7914 resultobj
= SWIG_From_int(static_cast< int >(result
));
7921 SWIGINTERN PyObject
*_wrap_Dialog_EndModal(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7922 PyObject
*resultobj
= 0;
7923 wxDialog
*arg1
= (wxDialog
*) 0 ;
7929 PyObject
* obj0
= 0 ;
7930 PyObject
* obj1
= 0 ;
7931 char * kwnames
[] = {
7932 (char *) "self",(char *) "retCode", NULL
7935 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Dialog_EndModal",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7936 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDialog
, 0 | 0 );
7937 if (!SWIG_IsOK(res1
)) {
7938 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Dialog_EndModal" "', expected argument " "1"" of type '" "wxDialog *""'");
7940 arg1
= reinterpret_cast< wxDialog
* >(argp1
);
7941 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
7942 if (!SWIG_IsOK(ecode2
)) {
7943 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Dialog_EndModal" "', expected argument " "2"" of type '" "int""'");
7945 arg2
= static_cast< int >(val2
);
7947 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7948 (arg1
)->EndModal(arg2
);
7949 wxPyEndAllowThreads(__tstate
);
7950 if (PyErr_Occurred()) SWIG_fail
;
7952 resultobj
= SWIG_Py_Void();
7959 SWIGINTERN PyObject
*_wrap_Dialog_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7960 PyObject
*resultobj
= 0;
7961 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
7962 SwigValueWrapper
<wxVisualAttributes
> result
;
7965 PyObject
* obj0
= 0 ;
7966 char * kwnames
[] = {
7967 (char *) "variant", NULL
7970 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Dialog_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
7972 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
7973 if (!SWIG_IsOK(ecode1
)) {
7974 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "Dialog_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
7976 arg1
= static_cast< wxWindowVariant
>(val1
);
7979 if (!wxPyCheckForApp()) SWIG_fail
;
7980 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7981 result
= wxDialog::GetClassDefaultAttributes(arg1
);
7982 wxPyEndAllowThreads(__tstate
);
7983 if (PyErr_Occurred()) SWIG_fail
;
7985 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
7992 SWIGINTERN PyObject
*Dialog_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7994 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
7995 SWIG_TypeNewClientData(SWIGTYPE_p_wxDialog
, SWIG_NewClientData(obj
));
7996 return SWIG_Py_Void();
7999 SWIGINTERN PyObject
*Dialog_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8000 return SWIG_Python_InitShadowInstance(args
);
8003 SWIGINTERN PyObject
*_wrap_new_MiniFrame(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8004 PyObject
*resultobj
= 0;
8005 wxWindow
*arg1
= (wxWindow
*) 0 ;
8006 int arg2
= (int) (int)-1 ;
8007 wxString
const &arg3_defvalue
= wxPyEmptyString
;
8008 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
8009 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
8010 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
8011 wxSize
const &arg5_defvalue
= wxDefaultSize
;
8012 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
8013 long arg6
= (long) wxDEFAULT_FRAME_STYLE
;
8014 wxString
const &arg7_defvalue
= wxPyFrameNameStr
;
8015 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
8016 wxMiniFrame
*result
= 0 ;
8021 bool temp3
= false ;
8026 bool temp7
= false ;
8027 PyObject
* obj0
= 0 ;
8028 PyObject
* obj1
= 0 ;
8029 PyObject
* obj2
= 0 ;
8030 PyObject
* obj3
= 0 ;
8031 PyObject
* obj4
= 0 ;
8032 PyObject
* obj5
= 0 ;
8033 PyObject
* obj6
= 0 ;
8034 char * kwnames
[] = {
8035 (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
8038 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_MiniFrame",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
8039 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
8040 if (!SWIG_IsOK(res1
)) {
8041 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_MiniFrame" "', expected argument " "1"" of type '" "wxWindow *""'");
8043 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
8045 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
8046 if (!SWIG_IsOK(ecode2
)) {
8047 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_MiniFrame" "', expected argument " "2"" of type '" "int""'");
8049 arg2
= static_cast< int >(val2
);
8053 arg3
= wxString_in_helper(obj2
);
8054 if (arg3
== NULL
) SWIG_fail
;
8061 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
8067 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
8071 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
8072 if (!SWIG_IsOK(ecode6
)) {
8073 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_MiniFrame" "', expected argument " "6"" of type '" "long""'");
8075 arg6
= static_cast< long >(val6
);
8079 arg7
= wxString_in_helper(obj6
);
8080 if (arg7
== NULL
) SWIG_fail
;
8085 if (!wxPyCheckForApp()) SWIG_fail
;
8086 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8087 result
= (wxMiniFrame
*)new wxMiniFrame(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
8088 wxPyEndAllowThreads(__tstate
);
8089 if (PyErr_Occurred()) SWIG_fail
;
8091 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMiniFrame
, SWIG_POINTER_NEW
| 0 );
8114 SWIGINTERN PyObject
*_wrap_new_PreMiniFrame(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8115 PyObject
*resultobj
= 0;
8116 wxMiniFrame
*result
= 0 ;
8118 if (!SWIG_Python_UnpackTuple(args
,"new_PreMiniFrame",0,0,0)) SWIG_fail
;
8120 if (!wxPyCheckForApp()) SWIG_fail
;
8121 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8122 result
= (wxMiniFrame
*)new wxMiniFrame();
8123 wxPyEndAllowThreads(__tstate
);
8124 if (PyErr_Occurred()) SWIG_fail
;
8126 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMiniFrame
, SWIG_POINTER_OWN
| 0 );
8133 SWIGINTERN PyObject
*_wrap_MiniFrame_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8134 PyObject
*resultobj
= 0;
8135 wxMiniFrame
*arg1
= (wxMiniFrame
*) 0 ;
8136 wxWindow
*arg2
= (wxWindow
*) 0 ;
8137 int arg3
= (int) (int)-1 ;
8138 wxString
const &arg4_defvalue
= wxPyEmptyString
;
8139 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
8140 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
8141 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
8142 wxSize
const &arg6_defvalue
= wxDefaultSize
;
8143 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
8144 long arg7
= (long) wxDEFAULT_FRAME_STYLE
;
8145 wxString
const &arg8_defvalue
= wxPyFrameNameStr
;
8146 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
8154 bool temp4
= false ;
8159 bool temp8
= false ;
8160 PyObject
* obj0
= 0 ;
8161 PyObject
* obj1
= 0 ;
8162 PyObject
* obj2
= 0 ;
8163 PyObject
* obj3
= 0 ;
8164 PyObject
* obj4
= 0 ;
8165 PyObject
* obj5
= 0 ;
8166 PyObject
* obj6
= 0 ;
8167 PyObject
* obj7
= 0 ;
8168 char * kwnames
[] = {
8169 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
8172 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:MiniFrame_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
8173 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMiniFrame
, 0 | 0 );
8174 if (!SWIG_IsOK(res1
)) {
8175 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MiniFrame_Create" "', expected argument " "1"" of type '" "wxMiniFrame *""'");
8177 arg1
= reinterpret_cast< wxMiniFrame
* >(argp1
);
8178 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
8179 if (!SWIG_IsOK(res2
)) {
8180 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "MiniFrame_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
8182 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
8184 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
8185 if (!SWIG_IsOK(ecode3
)) {
8186 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "MiniFrame_Create" "', expected argument " "3"" of type '" "int""'");
8188 arg3
= static_cast< int >(val3
);
8192 arg4
= wxString_in_helper(obj3
);
8193 if (arg4
== NULL
) SWIG_fail
;
8200 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
8206 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
8210 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
8211 if (!SWIG_IsOK(ecode7
)) {
8212 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "MiniFrame_Create" "', expected argument " "7"" of type '" "long""'");
8214 arg7
= static_cast< long >(val7
);
8218 arg8
= wxString_in_helper(obj7
);
8219 if (arg8
== NULL
) SWIG_fail
;
8224 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8225 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxString
const &)*arg8
);
8226 wxPyEndAllowThreads(__tstate
);
8227 if (PyErr_Occurred()) SWIG_fail
;
8230 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8254 SWIGINTERN PyObject
*MiniFrame_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8256 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
8257 SWIG_TypeNewClientData(SWIGTYPE_p_wxMiniFrame
, SWIG_NewClientData(obj
));
8258 return SWIG_Py_Void();
8261 SWIGINTERN PyObject
*MiniFrame_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8262 return SWIG_Python_InitShadowInstance(args
);
8265 SWIGINTERN PyObject
*_wrap_new_SplashScreenWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8266 PyObject
*resultobj
= 0;
8267 wxBitmap
*arg1
= 0 ;
8268 wxWindow
*arg2
= (wxWindow
*) 0 ;
8270 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
8271 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
8272 wxSize
const &arg5_defvalue
= wxDefaultSize
;
8273 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
8274 long arg6
= (long) wxNO_BORDER
;
8275 wxSplashScreenWindow
*result
= 0 ;
8286 PyObject
* obj0
= 0 ;
8287 PyObject
* obj1
= 0 ;
8288 PyObject
* obj2
= 0 ;
8289 PyObject
* obj3
= 0 ;
8290 PyObject
* obj4
= 0 ;
8291 PyObject
* obj5
= 0 ;
8292 char * kwnames
[] = {
8293 (char *) "bitmap",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
8296 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOO:new_SplashScreenWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
8297 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxBitmap
, 0 | 0);
8298 if (!SWIG_IsOK(res1
)) {
8299 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_SplashScreenWindow" "', expected argument " "1"" of type '" "wxBitmap const &""'");
8302 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_SplashScreenWindow" "', expected argument " "1"" of type '" "wxBitmap const &""'");
8304 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
8305 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
8306 if (!SWIG_IsOK(res2
)) {
8307 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_SplashScreenWindow" "', expected argument " "2"" of type '" "wxWindow *""'");
8309 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
8310 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
8311 if (!SWIG_IsOK(ecode3
)) {
8312 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_SplashScreenWindow" "', expected argument " "3"" of type '" "int""'");
8314 arg3
= static_cast< int >(val3
);
8318 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
8324 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
8328 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
8329 if (!SWIG_IsOK(ecode6
)) {
8330 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_SplashScreenWindow" "', expected argument " "6"" of type '" "long""'");
8332 arg6
= static_cast< long >(val6
);
8335 if (!wxPyCheckForApp()) SWIG_fail
;
8336 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8337 result
= (wxSplashScreenWindow
*)new wxSplashScreenWindow((wxBitmap
const &)*arg1
,arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
);
8338 wxPyEndAllowThreads(__tstate
);
8339 if (PyErr_Occurred()) SWIG_fail
;
8341 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSplashScreenWindow
, SWIG_POINTER_NEW
| 0 );
8348 SWIGINTERN PyObject
*_wrap_SplashScreenWindow_SetBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8349 PyObject
*resultobj
= 0;
8350 wxSplashScreenWindow
*arg1
= (wxSplashScreenWindow
*) 0 ;
8351 wxBitmap
*arg2
= 0 ;
8356 PyObject
* obj0
= 0 ;
8357 PyObject
* obj1
= 0 ;
8358 char * kwnames
[] = {
8359 (char *) "self",(char *) "bitmap", NULL
8362 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SplashScreenWindow_SetBitmap",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
8363 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSplashScreenWindow
, 0 | 0 );
8364 if (!SWIG_IsOK(res1
)) {
8365 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplashScreenWindow_SetBitmap" "', expected argument " "1"" of type '" "wxSplashScreenWindow *""'");
8367 arg1
= reinterpret_cast< wxSplashScreenWindow
* >(argp1
);
8368 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
8369 if (!SWIG_IsOK(res2
)) {
8370 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "SplashScreenWindow_SetBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
8373 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "SplashScreenWindow_SetBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
8375 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
8377 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8378 (arg1
)->SetBitmap((wxBitmap
const &)*arg2
);
8379 wxPyEndAllowThreads(__tstate
);
8380 if (PyErr_Occurred()) SWIG_fail
;
8382 resultobj
= SWIG_Py_Void();
8389 SWIGINTERN PyObject
*_wrap_SplashScreenWindow_GetBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8390 PyObject
*resultobj
= 0;
8391 wxSplashScreenWindow
*arg1
= (wxSplashScreenWindow
*) 0 ;
8392 wxBitmap
*result
= 0 ;
8395 PyObject
*swig_obj
[1] ;
8397 if (!args
) SWIG_fail
;
8399 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSplashScreenWindow
, 0 | 0 );
8400 if (!SWIG_IsOK(res1
)) {
8401 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplashScreenWindow_GetBitmap" "', expected argument " "1"" of type '" "wxSplashScreenWindow *""'");
8403 arg1
= reinterpret_cast< wxSplashScreenWindow
* >(argp1
);
8405 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8407 wxBitmap
&_result_ref
= (arg1
)->GetBitmap();
8408 result
= (wxBitmap
*) &_result_ref
;
8410 wxPyEndAllowThreads(__tstate
);
8411 if (PyErr_Occurred()) SWIG_fail
;
8414 wxBitmap
* resultptr
= new wxBitmap(*result
);
8415 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxBitmap
, 1);
8423 SWIGINTERN PyObject
*SplashScreenWindow_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8425 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
8426 SWIG_TypeNewClientData(SWIGTYPE_p_wxSplashScreenWindow
, SWIG_NewClientData(obj
));
8427 return SWIG_Py_Void();
8430 SWIGINTERN PyObject
*SplashScreenWindow_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8431 return SWIG_Python_InitShadowInstance(args
);
8434 SWIGINTERN PyObject
*_wrap_new_SplashScreen(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8435 PyObject
*resultobj
= 0;
8436 wxBitmap
*arg1
= 0 ;
8439 wxWindow
*arg4
= (wxWindow
*) 0 ;
8440 int arg5
= (int) -1 ;
8441 wxPoint
const &arg6_defvalue
= wxDefaultPosition
;
8442 wxPoint
*arg6
= (wxPoint
*) &arg6_defvalue
;
8443 wxSize
const &arg7_defvalue
= wxDefaultSize
;
8444 wxSize
*arg7
= (wxSize
*) &arg7_defvalue
;
8445 long arg8
= (long) wxSIMPLE_BORDER
|wxFRAME_NO_TASKBAR
|wxSTAY_ON_TOP
;
8446 wxSplashScreen
*result
= 0 ;
8461 PyObject
* obj0
= 0 ;
8462 PyObject
* obj1
= 0 ;
8463 PyObject
* obj2
= 0 ;
8464 PyObject
* obj3
= 0 ;
8465 PyObject
* obj4
= 0 ;
8466 PyObject
* obj5
= 0 ;
8467 PyObject
* obj6
= 0 ;
8468 PyObject
* obj7
= 0 ;
8469 char * kwnames
[] = {
8470 (char *) "bitmap",(char *) "splashStyle",(char *) "milliseconds",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
8473 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOOO:new_SplashScreen",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
8474 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxBitmap
, 0 | 0);
8475 if (!SWIG_IsOK(res1
)) {
8476 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_SplashScreen" "', expected argument " "1"" of type '" "wxBitmap const &""'");
8479 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_SplashScreen" "', expected argument " "1"" of type '" "wxBitmap const &""'");
8481 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
8482 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
8483 if (!SWIG_IsOK(ecode2
)) {
8484 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_SplashScreen" "', expected argument " "2"" of type '" "long""'");
8486 arg2
= static_cast< long >(val2
);
8487 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
8488 if (!SWIG_IsOK(ecode3
)) {
8489 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_SplashScreen" "', expected argument " "3"" of type '" "int""'");
8491 arg3
= static_cast< int >(val3
);
8492 res4
= SWIG_ConvertPtr(obj3
, &argp4
,SWIGTYPE_p_wxWindow
, 0 | 0 );
8493 if (!SWIG_IsOK(res4
)) {
8494 SWIG_exception_fail(SWIG_ArgError(res4
), "in method '" "new_SplashScreen" "', expected argument " "4"" of type '" "wxWindow *""'");
8496 arg4
= reinterpret_cast< wxWindow
* >(argp4
);
8498 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
8499 if (!SWIG_IsOK(ecode5
)) {
8500 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_SplashScreen" "', expected argument " "5"" of type '" "int""'");
8502 arg5
= static_cast< int >(val5
);
8507 if ( ! wxPoint_helper(obj5
, &arg6
)) SWIG_fail
;
8513 if ( ! wxSize_helper(obj6
, &arg7
)) SWIG_fail
;
8517 ecode8
= SWIG_AsVal_long(obj7
, &val8
);
8518 if (!SWIG_IsOK(ecode8
)) {
8519 SWIG_exception_fail(SWIG_ArgError(ecode8
), "in method '" "new_SplashScreen" "', expected argument " "8"" of type '" "long""'");
8521 arg8
= static_cast< long >(val8
);
8524 if (!wxPyCheckForApp()) SWIG_fail
;
8525 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8526 result
= (wxSplashScreen
*)new wxSplashScreen((wxBitmap
const &)*arg1
,arg2
,arg3
,arg4
,arg5
,(wxPoint
const &)*arg6
,(wxSize
const &)*arg7
,arg8
);
8527 wxPyEndAllowThreads(__tstate
);
8528 if (PyErr_Occurred()) SWIG_fail
;
8530 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSplashScreen
, SWIG_POINTER_NEW
| 0 );
8537 SWIGINTERN PyObject
*_wrap_SplashScreen_GetSplashStyle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8538 PyObject
*resultobj
= 0;
8539 wxSplashScreen
*arg1
= (wxSplashScreen
*) 0 ;
8543 PyObject
*swig_obj
[1] ;
8545 if (!args
) SWIG_fail
;
8547 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSplashScreen
, 0 | 0 );
8548 if (!SWIG_IsOK(res1
)) {
8549 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplashScreen_GetSplashStyle" "', expected argument " "1"" of type '" "wxSplashScreen const *""'");
8551 arg1
= reinterpret_cast< wxSplashScreen
* >(argp1
);
8553 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8554 result
= (long)((wxSplashScreen
const *)arg1
)->GetSplashStyle();
8555 wxPyEndAllowThreads(__tstate
);
8556 if (PyErr_Occurred()) SWIG_fail
;
8558 resultobj
= SWIG_From_long(static_cast< long >(result
));
8565 SWIGINTERN PyObject
*_wrap_SplashScreen_GetSplashWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8566 PyObject
*resultobj
= 0;
8567 wxSplashScreen
*arg1
= (wxSplashScreen
*) 0 ;
8568 wxSplashScreenWindow
*result
= 0 ;
8571 PyObject
*swig_obj
[1] ;
8573 if (!args
) SWIG_fail
;
8575 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSplashScreen
, 0 | 0 );
8576 if (!SWIG_IsOK(res1
)) {
8577 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplashScreen_GetSplashWindow" "', expected argument " "1"" of type '" "wxSplashScreen const *""'");
8579 arg1
= reinterpret_cast< wxSplashScreen
* >(argp1
);
8581 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8582 result
= (wxSplashScreenWindow
*)((wxSplashScreen
const *)arg1
)->GetSplashWindow();
8583 wxPyEndAllowThreads(__tstate
);
8584 if (PyErr_Occurred()) SWIG_fail
;
8586 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSplashScreenWindow
, 0 | 0 );
8593 SWIGINTERN PyObject
*_wrap_SplashScreen_GetTimeout(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8594 PyObject
*resultobj
= 0;
8595 wxSplashScreen
*arg1
= (wxSplashScreen
*) 0 ;
8599 PyObject
*swig_obj
[1] ;
8601 if (!args
) SWIG_fail
;
8603 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSplashScreen
, 0 | 0 );
8604 if (!SWIG_IsOK(res1
)) {
8605 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplashScreen_GetTimeout" "', expected argument " "1"" of type '" "wxSplashScreen const *""'");
8607 arg1
= reinterpret_cast< wxSplashScreen
* >(argp1
);
8609 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8610 result
= (int)((wxSplashScreen
const *)arg1
)->GetTimeout();
8611 wxPyEndAllowThreads(__tstate
);
8612 if (PyErr_Occurred()) SWIG_fail
;
8614 resultobj
= SWIG_From_int(static_cast< int >(result
));
8621 SWIGINTERN PyObject
*SplashScreen_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8623 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
8624 SWIG_TypeNewClientData(SWIGTYPE_p_wxSplashScreen
, SWIG_NewClientData(obj
));
8625 return SWIG_Py_Void();
8628 SWIGINTERN PyObject
*SplashScreen_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8629 return SWIG_Python_InitShadowInstance(args
);
8632 SWIGINTERN PyObject
*_wrap_new_StatusBar(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8633 PyObject
*resultobj
= 0;
8634 wxWindow
*arg1
= (wxWindow
*) 0 ;
8635 int arg2
= (int) -1 ;
8636 long arg3
= (long) wxDEFAULT_STATUSBAR_STYLE
;
8637 wxString
const &arg4_defvalue
= wxPyStatusLineNameStr
;
8638 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
8639 wxStatusBar
*result
= 0 ;
8646 bool temp4
= false ;
8647 PyObject
* obj0
= 0 ;
8648 PyObject
* obj1
= 0 ;
8649 PyObject
* obj2
= 0 ;
8650 PyObject
* obj3
= 0 ;
8651 char * kwnames
[] = {
8652 (char *) "parent",(char *) "id",(char *) "style",(char *) "name", NULL
8655 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOO:new_StatusBar",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
8656 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
8657 if (!SWIG_IsOK(res1
)) {
8658 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_StatusBar" "', expected argument " "1"" of type '" "wxWindow *""'");
8660 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
8662 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
8663 if (!SWIG_IsOK(ecode2
)) {
8664 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_StatusBar" "', expected argument " "2"" of type '" "int""'");
8666 arg2
= static_cast< int >(val2
);
8669 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
8670 if (!SWIG_IsOK(ecode3
)) {
8671 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_StatusBar" "', expected argument " "3"" of type '" "long""'");
8673 arg3
= static_cast< long >(val3
);
8677 arg4
= wxString_in_helper(obj3
);
8678 if (arg4
== NULL
) SWIG_fail
;
8683 if (!wxPyCheckForApp()) SWIG_fail
;
8684 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8685 result
= (wxStatusBar
*)new wxStatusBar(arg1
,arg2
,arg3
,(wxString
const &)*arg4
);
8686 wxPyEndAllowThreads(__tstate
);
8687 if (PyErr_Occurred()) SWIG_fail
;
8689 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxStatusBar
, SWIG_POINTER_NEW
| 0 );
8704 SWIGINTERN PyObject
*_wrap_new_PreStatusBar(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8705 PyObject
*resultobj
= 0;
8706 wxStatusBar
*result
= 0 ;
8708 if (!SWIG_Python_UnpackTuple(args
,"new_PreStatusBar",0,0,0)) SWIG_fail
;
8710 if (!wxPyCheckForApp()) SWIG_fail
;
8711 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8712 result
= (wxStatusBar
*)new wxStatusBar();
8713 wxPyEndAllowThreads(__tstate
);
8714 if (PyErr_Occurred()) SWIG_fail
;
8716 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxStatusBar
, SWIG_POINTER_OWN
| 0 );
8723 SWIGINTERN PyObject
*_wrap_StatusBar_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8724 PyObject
*resultobj
= 0;
8725 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
8726 wxWindow
*arg2
= (wxWindow
*) 0 ;
8727 int arg3
= (int) -1 ;
8728 long arg4
= (long) wxST_SIZEGRIP
;
8729 wxString
const &arg5_defvalue
= wxPyStatusLineNameStr
;
8730 wxString
*arg5
= (wxString
*) &arg5_defvalue
;
8740 bool temp5
= false ;
8741 PyObject
* obj0
= 0 ;
8742 PyObject
* obj1
= 0 ;
8743 PyObject
* obj2
= 0 ;
8744 PyObject
* obj3
= 0 ;
8745 PyObject
* obj4
= 0 ;
8746 char * kwnames
[] = {
8747 (char *) "self",(char *) "parent",(char *) "id",(char *) "style",(char *) "name", NULL
8750 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOO:StatusBar_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
8751 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxStatusBar
, 0 | 0 );
8752 if (!SWIG_IsOK(res1
)) {
8753 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StatusBar_Create" "', expected argument " "1"" of type '" "wxStatusBar *""'");
8755 arg1
= reinterpret_cast< wxStatusBar
* >(argp1
);
8756 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
8757 if (!SWIG_IsOK(res2
)) {
8758 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "StatusBar_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
8760 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
8762 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
8763 if (!SWIG_IsOK(ecode3
)) {
8764 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "StatusBar_Create" "', expected argument " "3"" of type '" "int""'");
8766 arg3
= static_cast< int >(val3
);
8769 ecode4
= SWIG_AsVal_long(obj3
, &val4
);
8770 if (!SWIG_IsOK(ecode4
)) {
8771 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "StatusBar_Create" "', expected argument " "4"" of type '" "long""'");
8773 arg4
= static_cast< long >(val4
);
8777 arg5
= wxString_in_helper(obj4
);
8778 if (arg5
== NULL
) SWIG_fail
;
8783 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8784 result
= (bool)(arg1
)->Create(arg2
,arg3
,arg4
,(wxString
const &)*arg5
);
8785 wxPyEndAllowThreads(__tstate
);
8786 if (PyErr_Occurred()) SWIG_fail
;
8789 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8805 SWIGINTERN PyObject
*_wrap_StatusBar_SetFieldsCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8806 PyObject
*resultobj
= 0;
8807 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
8808 int arg2
= (int) 1 ;
8813 PyObject
* obj0
= 0 ;
8814 PyObject
* obj1
= 0 ;
8815 char * kwnames
[] = {
8816 (char *) "self",(char *) "number", NULL
8819 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:StatusBar_SetFieldsCount",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
8820 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxStatusBar
, 0 | 0 );
8821 if (!SWIG_IsOK(res1
)) {
8822 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StatusBar_SetFieldsCount" "', expected argument " "1"" of type '" "wxStatusBar *""'");
8824 arg1
= reinterpret_cast< wxStatusBar
* >(argp1
);
8826 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
8827 if (!SWIG_IsOK(ecode2
)) {
8828 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "StatusBar_SetFieldsCount" "', expected argument " "2"" of type '" "int""'");
8830 arg2
= static_cast< int >(val2
);
8833 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8834 (arg1
)->SetFieldsCount(arg2
);
8835 wxPyEndAllowThreads(__tstate
);
8836 if (PyErr_Occurred()) SWIG_fail
;
8838 resultobj
= SWIG_Py_Void();
8845 SWIGINTERN PyObject
*_wrap_StatusBar_GetFieldsCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8846 PyObject
*resultobj
= 0;
8847 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
8851 PyObject
*swig_obj
[1] ;
8853 if (!args
) SWIG_fail
;
8855 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxStatusBar
, 0 | 0 );
8856 if (!SWIG_IsOK(res1
)) {
8857 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StatusBar_GetFieldsCount" "', expected argument " "1"" of type '" "wxStatusBar const *""'");
8859 arg1
= reinterpret_cast< wxStatusBar
* >(argp1
);
8861 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8862 result
= (int)((wxStatusBar
const *)arg1
)->GetFieldsCount();
8863 wxPyEndAllowThreads(__tstate
);
8864 if (PyErr_Occurred()) SWIG_fail
;
8866 resultobj
= SWIG_From_int(static_cast< int >(result
));
8873 SWIGINTERN PyObject
*_wrap_StatusBar_SetStatusText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8874 PyObject
*resultobj
= 0;
8875 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
8876 wxString
*arg2
= 0 ;
8877 int arg3
= (int) 0 ;
8880 bool temp2
= false ;
8883 PyObject
* obj0
= 0 ;
8884 PyObject
* obj1
= 0 ;
8885 PyObject
* obj2
= 0 ;
8886 char * kwnames
[] = {
8887 (char *) "self",(char *) "text",(char *) "number", NULL
8890 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:StatusBar_SetStatusText",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
8891 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxStatusBar
, 0 | 0 );
8892 if (!SWIG_IsOK(res1
)) {
8893 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StatusBar_SetStatusText" "', expected argument " "1"" of type '" "wxStatusBar *""'");
8895 arg1
= reinterpret_cast< wxStatusBar
* >(argp1
);
8897 arg2
= wxString_in_helper(obj1
);
8898 if (arg2
== NULL
) SWIG_fail
;
8902 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
8903 if (!SWIG_IsOK(ecode3
)) {
8904 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "StatusBar_SetStatusText" "', expected argument " "3"" of type '" "int""'");
8906 arg3
= static_cast< int >(val3
);
8909 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8910 (arg1
)->SetStatusText((wxString
const &)*arg2
,arg3
);
8911 wxPyEndAllowThreads(__tstate
);
8912 if (PyErr_Occurred()) SWIG_fail
;
8914 resultobj
= SWIG_Py_Void();
8929 SWIGINTERN PyObject
*_wrap_StatusBar_GetStatusText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8930 PyObject
*resultobj
= 0;
8931 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
8932 int arg2
= (int) 0 ;
8938 PyObject
* obj0
= 0 ;
8939 PyObject
* obj1
= 0 ;
8940 char * kwnames
[] = {
8941 (char *) "self",(char *) "number", NULL
8944 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:StatusBar_GetStatusText",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
8945 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxStatusBar
, 0 | 0 );
8946 if (!SWIG_IsOK(res1
)) {
8947 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StatusBar_GetStatusText" "', expected argument " "1"" of type '" "wxStatusBar const *""'");
8949 arg1
= reinterpret_cast< wxStatusBar
* >(argp1
);
8951 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
8952 if (!SWIG_IsOK(ecode2
)) {
8953 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "StatusBar_GetStatusText" "', expected argument " "2"" of type '" "int""'");
8955 arg2
= static_cast< int >(val2
);
8958 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8959 result
= ((wxStatusBar
const *)arg1
)->GetStatusText(arg2
);
8960 wxPyEndAllowThreads(__tstate
);
8961 if (PyErr_Occurred()) SWIG_fail
;
8965 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
8967 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
8976 SWIGINTERN PyObject
*_wrap_StatusBar_PushStatusText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8977 PyObject
*resultobj
= 0;
8978 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
8979 wxString
*arg2
= 0 ;
8980 int arg3
= (int) 0 ;
8983 bool temp2
= false ;
8986 PyObject
* obj0
= 0 ;
8987 PyObject
* obj1
= 0 ;
8988 PyObject
* obj2
= 0 ;
8989 char * kwnames
[] = {
8990 (char *) "self",(char *) "text",(char *) "number", NULL
8993 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:StatusBar_PushStatusText",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
8994 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxStatusBar
, 0 | 0 );
8995 if (!SWIG_IsOK(res1
)) {
8996 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StatusBar_PushStatusText" "', expected argument " "1"" of type '" "wxStatusBar *""'");
8998 arg1
= reinterpret_cast< wxStatusBar
* >(argp1
);
9000 arg2
= wxString_in_helper(obj1
);
9001 if (arg2
== NULL
) SWIG_fail
;
9005 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
9006 if (!SWIG_IsOK(ecode3
)) {
9007 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "StatusBar_PushStatusText" "', expected argument " "3"" of type '" "int""'");
9009 arg3
= static_cast< int >(val3
);
9012 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9013 (arg1
)->PushStatusText((wxString
const &)*arg2
,arg3
);
9014 wxPyEndAllowThreads(__tstate
);
9015 if (PyErr_Occurred()) SWIG_fail
;
9017 resultobj
= SWIG_Py_Void();
9032 SWIGINTERN PyObject
*_wrap_StatusBar_PopStatusText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9033 PyObject
*resultobj
= 0;
9034 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
9035 int arg2
= (int) 0 ;
9040 PyObject
* obj0
= 0 ;
9041 PyObject
* obj1
= 0 ;
9042 char * kwnames
[] = {
9043 (char *) "self",(char *) "number", NULL
9046 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:StatusBar_PopStatusText",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9047 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxStatusBar
, 0 | 0 );
9048 if (!SWIG_IsOK(res1
)) {
9049 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StatusBar_PopStatusText" "', expected argument " "1"" of type '" "wxStatusBar *""'");
9051 arg1
= reinterpret_cast< wxStatusBar
* >(argp1
);
9053 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9054 if (!SWIG_IsOK(ecode2
)) {
9055 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "StatusBar_PopStatusText" "', expected argument " "2"" of type '" "int""'");
9057 arg2
= static_cast< int >(val2
);
9060 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9061 (arg1
)->PopStatusText(arg2
);
9062 wxPyEndAllowThreads(__tstate
);
9063 if (PyErr_Occurred()) SWIG_fail
;
9065 resultobj
= SWIG_Py_Void();
9072 SWIGINTERN PyObject
*_wrap_StatusBar_SetStatusWidths(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9073 PyObject
*resultobj
= 0;
9074 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
9076 int *arg3
= (int *) 0 ;
9079 PyObject
* obj0
= 0 ;
9080 PyObject
* obj1
= 0 ;
9081 char * kwnames
[] = {
9082 (char *) "self",(char *) "widths", NULL
9085 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StatusBar_SetStatusWidths",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9086 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxStatusBar
, 0 | 0 );
9087 if (!SWIG_IsOK(res1
)) {
9088 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StatusBar_SetStatusWidths" "', expected argument " "1"" of type '" "wxStatusBar *""'");
9090 arg1
= reinterpret_cast< wxStatusBar
* >(argp1
);
9092 arg2
= PyList_Size(obj1
);
9093 arg3
= int_LIST_helper(obj1
);
9094 if (arg3
== NULL
) SWIG_fail
;
9097 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9098 (arg1
)->SetStatusWidths(arg2
,(int const *)arg3
);
9099 wxPyEndAllowThreads(__tstate
);
9100 if (PyErr_Occurred()) SWIG_fail
;
9102 resultobj
= SWIG_Py_Void();
9104 if (arg3
) delete [] arg3
;
9109 if (arg3
) delete [] arg3
;
9115 SWIGINTERN PyObject
*_wrap_StatusBar_SetStatusStyles(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9116 PyObject
*resultobj
= 0;
9117 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
9119 int *arg3
= (int *) 0 ;
9122 PyObject
* obj0
= 0 ;
9123 PyObject
* obj1
= 0 ;
9124 char * kwnames
[] = {
9125 (char *) "self",(char *) "styles", NULL
9128 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StatusBar_SetStatusStyles",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9129 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxStatusBar
, 0 | 0 );
9130 if (!SWIG_IsOK(res1
)) {
9131 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StatusBar_SetStatusStyles" "', expected argument " "1"" of type '" "wxStatusBar *""'");
9133 arg1
= reinterpret_cast< wxStatusBar
* >(argp1
);
9135 arg2
= PyList_Size(obj1
);
9136 arg3
= int_LIST_helper(obj1
);
9137 if (arg3
== NULL
) SWIG_fail
;
9140 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9141 (arg1
)->SetStatusStyles(arg2
,(int const *)arg3
);
9142 wxPyEndAllowThreads(__tstate
);
9143 if (PyErr_Occurred()) SWIG_fail
;
9145 resultobj
= SWIG_Py_Void();
9147 if (arg3
) delete [] arg3
;
9152 if (arg3
) delete [] arg3
;
9158 SWIGINTERN PyObject
*_wrap_StatusBar_GetFieldRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9159 PyObject
*resultobj
= 0;
9160 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
9167 PyObject
* obj0
= 0 ;
9168 PyObject
* obj1
= 0 ;
9169 char * kwnames
[] = {
9170 (char *) "self",(char *) "i", NULL
9173 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StatusBar_GetFieldRect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9174 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxStatusBar
, 0 | 0 );
9175 if (!SWIG_IsOK(res1
)) {
9176 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StatusBar_GetFieldRect" "', expected argument " "1"" of type '" "wxStatusBar *""'");
9178 arg1
= reinterpret_cast< wxStatusBar
* >(argp1
);
9179 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9180 if (!SWIG_IsOK(ecode2
)) {
9181 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "StatusBar_GetFieldRect" "', expected argument " "2"" of type '" "int""'");
9183 arg2
= static_cast< int >(val2
);
9185 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9186 result
= wxStatusBar_GetFieldRect(arg1
,arg2
);
9187 wxPyEndAllowThreads(__tstate
);
9188 if (PyErr_Occurred()) SWIG_fail
;
9190 resultobj
= SWIG_NewPointerObj((new wxRect(static_cast< const wxRect
& >(result
))), SWIGTYPE_p_wxRect
, SWIG_POINTER_OWN
| 0 );
9197 SWIGINTERN PyObject
*_wrap_StatusBar_SetMinHeight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9198 PyObject
*resultobj
= 0;
9199 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
9205 PyObject
* obj0
= 0 ;
9206 PyObject
* obj1
= 0 ;
9207 char * kwnames
[] = {
9208 (char *) "self",(char *) "height", NULL
9211 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StatusBar_SetMinHeight",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9212 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxStatusBar
, 0 | 0 );
9213 if (!SWIG_IsOK(res1
)) {
9214 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StatusBar_SetMinHeight" "', expected argument " "1"" of type '" "wxStatusBar *""'");
9216 arg1
= reinterpret_cast< wxStatusBar
* >(argp1
);
9217 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9218 if (!SWIG_IsOK(ecode2
)) {
9219 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "StatusBar_SetMinHeight" "', expected argument " "2"" of type '" "int""'");
9221 arg2
= static_cast< int >(val2
);
9223 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9224 (arg1
)->SetMinHeight(arg2
);
9225 wxPyEndAllowThreads(__tstate
);
9226 if (PyErr_Occurred()) SWIG_fail
;
9228 resultobj
= SWIG_Py_Void();
9235 SWIGINTERN PyObject
*_wrap_StatusBar_GetBorderX(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9236 PyObject
*resultobj
= 0;
9237 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
9241 PyObject
*swig_obj
[1] ;
9243 if (!args
) SWIG_fail
;
9245 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxStatusBar
, 0 | 0 );
9246 if (!SWIG_IsOK(res1
)) {
9247 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StatusBar_GetBorderX" "', expected argument " "1"" of type '" "wxStatusBar const *""'");
9249 arg1
= reinterpret_cast< wxStatusBar
* >(argp1
);
9251 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9252 result
= (int)((wxStatusBar
const *)arg1
)->GetBorderX();
9253 wxPyEndAllowThreads(__tstate
);
9254 if (PyErr_Occurred()) SWIG_fail
;
9256 resultobj
= SWIG_From_int(static_cast< int >(result
));
9263 SWIGINTERN PyObject
*_wrap_StatusBar_GetBorderY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9264 PyObject
*resultobj
= 0;
9265 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
9269 PyObject
*swig_obj
[1] ;
9271 if (!args
) SWIG_fail
;
9273 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxStatusBar
, 0 | 0 );
9274 if (!SWIG_IsOK(res1
)) {
9275 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StatusBar_GetBorderY" "', expected argument " "1"" of type '" "wxStatusBar const *""'");
9277 arg1
= reinterpret_cast< wxStatusBar
* >(argp1
);
9279 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9280 result
= (int)((wxStatusBar
const *)arg1
)->GetBorderY();
9281 wxPyEndAllowThreads(__tstate
);
9282 if (PyErr_Occurred()) SWIG_fail
;
9284 resultobj
= SWIG_From_int(static_cast< int >(result
));
9291 SWIGINTERN PyObject
*_wrap_StatusBar_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9292 PyObject
*resultobj
= 0;
9293 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
9294 SwigValueWrapper
<wxVisualAttributes
> result
;
9297 PyObject
* obj0
= 0 ;
9298 char * kwnames
[] = {
9299 (char *) "variant", NULL
9302 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:StatusBar_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
9304 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
9305 if (!SWIG_IsOK(ecode1
)) {
9306 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "StatusBar_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
9308 arg1
= static_cast< wxWindowVariant
>(val1
);
9311 if (!wxPyCheckForApp()) SWIG_fail
;
9312 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9313 result
= wxStatusBar::GetClassDefaultAttributes(arg1
);
9314 wxPyEndAllowThreads(__tstate
);
9315 if (PyErr_Occurred()) SWIG_fail
;
9317 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
9324 SWIGINTERN PyObject
*StatusBar_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9326 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
9327 SWIG_TypeNewClientData(SWIGTYPE_p_wxStatusBar
, SWIG_NewClientData(obj
));
9328 return SWIG_Py_Void();
9331 SWIGINTERN PyObject
*StatusBar_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9332 return SWIG_Python_InitShadowInstance(args
);
9335 SWIGINTERN
int SplitterNameStr_set(PyObject
*) {
9336 SWIG_Error(SWIG_AttributeError
,"Variable SplitterNameStr is read-only.");
9341 SWIGINTERN PyObject
*SplitterNameStr_get(void) {
9342 PyObject
*pyobj
= 0;
9346 pyobj
= PyUnicode_FromWideChar((&wxPySplitterNameStr
)->c_str(), (&wxPySplitterNameStr
)->Len());
9348 pyobj
= PyString_FromStringAndSize((&wxPySplitterNameStr
)->c_str(), (&wxPySplitterNameStr
)->Len());
9355 SWIGINTERN PyObject
*_wrap_new_SplitterWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9356 PyObject
*resultobj
= 0;
9357 wxWindow
*arg1
= (wxWindow
*) 0 ;
9358 int arg2
= (int) -1 ;
9359 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
9360 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
9361 wxSize
const &arg4_defvalue
= wxDefaultSize
;
9362 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
9363 long arg5
= (long) wxSP_3D
;
9364 wxString
const &arg6_defvalue
= wxPySplitterNameStr
;
9365 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
9366 wxSplitterWindow
*result
= 0 ;
9375 bool temp6
= false ;
9376 PyObject
* obj0
= 0 ;
9377 PyObject
* obj1
= 0 ;
9378 PyObject
* obj2
= 0 ;
9379 PyObject
* obj3
= 0 ;
9380 PyObject
* obj4
= 0 ;
9381 PyObject
* obj5
= 0 ;
9382 char * kwnames
[] = {
9383 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
9386 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_SplitterWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
9387 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
9388 if (!SWIG_IsOK(res1
)) {
9389 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_SplitterWindow" "', expected argument " "1"" of type '" "wxWindow *""'");
9391 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
9393 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9394 if (!SWIG_IsOK(ecode2
)) {
9395 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_SplitterWindow" "', expected argument " "2"" of type '" "int""'");
9397 arg2
= static_cast< int >(val2
);
9402 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
9408 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
9412 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
9413 if (!SWIG_IsOK(ecode5
)) {
9414 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_SplitterWindow" "', expected argument " "5"" of type '" "long""'");
9416 arg5
= static_cast< long >(val5
);
9420 arg6
= wxString_in_helper(obj5
);
9421 if (arg6
== NULL
) SWIG_fail
;
9426 if (!wxPyCheckForApp()) SWIG_fail
;
9427 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9428 result
= (wxSplitterWindow
*)new wxSplitterWindow(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
9429 wxPyEndAllowThreads(__tstate
);
9430 if (PyErr_Occurred()) SWIG_fail
;
9432 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSplitterWindow
, SWIG_POINTER_NEW
| 0 );
9447 SWIGINTERN PyObject
*_wrap_new_PreSplitterWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9448 PyObject
*resultobj
= 0;
9449 wxSplitterWindow
*result
= 0 ;
9451 if (!SWIG_Python_UnpackTuple(args
,"new_PreSplitterWindow",0,0,0)) SWIG_fail
;
9453 if (!wxPyCheckForApp()) SWIG_fail
;
9454 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9455 result
= (wxSplitterWindow
*)new wxSplitterWindow();
9456 wxPyEndAllowThreads(__tstate
);
9457 if (PyErr_Occurred()) SWIG_fail
;
9459 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSplitterWindow
, SWIG_POINTER_OWN
| 0 );
9466 SWIGINTERN PyObject
*_wrap_SplitterWindow_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9467 PyObject
*resultobj
= 0;
9468 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
9469 wxWindow
*arg2
= (wxWindow
*) 0 ;
9470 int arg3
= (int) -1 ;
9471 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
9472 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
9473 wxSize
const &arg5_defvalue
= wxDefaultSize
;
9474 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
9475 long arg6
= (long) wxSP_3D
;
9476 wxString
const &arg7_defvalue
= wxPySplitterNameStr
;
9477 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
9489 bool temp7
= false ;
9490 PyObject
* obj0
= 0 ;
9491 PyObject
* obj1
= 0 ;
9492 PyObject
* obj2
= 0 ;
9493 PyObject
* obj3
= 0 ;
9494 PyObject
* obj4
= 0 ;
9495 PyObject
* obj5
= 0 ;
9496 PyObject
* obj6
= 0 ;
9497 char * kwnames
[] = {
9498 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
9501 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:SplitterWindow_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
9502 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSplitterWindow
, 0 | 0 );
9503 if (!SWIG_IsOK(res1
)) {
9504 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterWindow_Create" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
9506 arg1
= reinterpret_cast< wxSplitterWindow
* >(argp1
);
9507 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
9508 if (!SWIG_IsOK(res2
)) {
9509 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "SplitterWindow_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
9511 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
9513 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
9514 if (!SWIG_IsOK(ecode3
)) {
9515 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "SplitterWindow_Create" "', expected argument " "3"" of type '" "int""'");
9517 arg3
= static_cast< int >(val3
);
9522 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
9528 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
9532 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
9533 if (!SWIG_IsOK(ecode6
)) {
9534 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "SplitterWindow_Create" "', expected argument " "6"" of type '" "long""'");
9536 arg6
= static_cast< long >(val6
);
9540 arg7
= wxString_in_helper(obj6
);
9541 if (arg7
== NULL
) SWIG_fail
;
9546 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9547 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
9548 wxPyEndAllowThreads(__tstate
);
9549 if (PyErr_Occurred()) SWIG_fail
;
9552 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9568 SWIGINTERN PyObject
*_wrap_SplitterWindow_GetWindow1(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9569 PyObject
*resultobj
= 0;
9570 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
9571 wxWindow
*result
= 0 ;
9574 PyObject
*swig_obj
[1] ;
9576 if (!args
) SWIG_fail
;
9578 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSplitterWindow
, 0 | 0 );
9579 if (!SWIG_IsOK(res1
)) {
9580 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterWindow_GetWindow1" "', expected argument " "1"" of type '" "wxSplitterWindow const *""'");
9582 arg1
= reinterpret_cast< wxSplitterWindow
* >(argp1
);
9584 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9585 result
= (wxWindow
*)((wxSplitterWindow
const *)arg1
)->GetWindow1();
9586 wxPyEndAllowThreads(__tstate
);
9587 if (PyErr_Occurred()) SWIG_fail
;
9590 resultobj
= wxPyMake_wxObject(result
, 0);
9598 SWIGINTERN PyObject
*_wrap_SplitterWindow_GetWindow2(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9599 PyObject
*resultobj
= 0;
9600 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
9601 wxWindow
*result
= 0 ;
9604 PyObject
*swig_obj
[1] ;
9606 if (!args
) SWIG_fail
;
9608 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSplitterWindow
, 0 | 0 );
9609 if (!SWIG_IsOK(res1
)) {
9610 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterWindow_GetWindow2" "', expected argument " "1"" of type '" "wxSplitterWindow const *""'");
9612 arg1
= reinterpret_cast< wxSplitterWindow
* >(argp1
);
9614 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9615 result
= (wxWindow
*)((wxSplitterWindow
const *)arg1
)->GetWindow2();
9616 wxPyEndAllowThreads(__tstate
);
9617 if (PyErr_Occurred()) SWIG_fail
;
9620 resultobj
= wxPyMake_wxObject(result
, 0);
9628 SWIGINTERN PyObject
*_wrap_SplitterWindow_SetSplitMode(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9629 PyObject
*resultobj
= 0;
9630 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
9636 PyObject
* obj0
= 0 ;
9637 PyObject
* obj1
= 0 ;
9638 char * kwnames
[] = {
9639 (char *) "self",(char *) "mode", NULL
9642 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SplitterWindow_SetSplitMode",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9643 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSplitterWindow
, 0 | 0 );
9644 if (!SWIG_IsOK(res1
)) {
9645 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterWindow_SetSplitMode" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
9647 arg1
= reinterpret_cast< wxSplitterWindow
* >(argp1
);
9648 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9649 if (!SWIG_IsOK(ecode2
)) {
9650 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SplitterWindow_SetSplitMode" "', expected argument " "2"" of type '" "int""'");
9652 arg2
= static_cast< int >(val2
);
9654 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9655 (arg1
)->SetSplitMode(arg2
);
9656 wxPyEndAllowThreads(__tstate
);
9657 if (PyErr_Occurred()) SWIG_fail
;
9659 resultobj
= SWIG_Py_Void();
9666 SWIGINTERN PyObject
*_wrap_SplitterWindow_GetSplitMode(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9667 PyObject
*resultobj
= 0;
9668 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
9672 PyObject
*swig_obj
[1] ;
9674 if (!args
) SWIG_fail
;
9676 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSplitterWindow
, 0 | 0 );
9677 if (!SWIG_IsOK(res1
)) {
9678 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterWindow_GetSplitMode" "', expected argument " "1"" of type '" "wxSplitterWindow const *""'");
9680 arg1
= reinterpret_cast< wxSplitterWindow
* >(argp1
);
9682 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9683 result
= (wxSplitMode
)((wxSplitterWindow
const *)arg1
)->GetSplitMode();
9684 wxPyEndAllowThreads(__tstate
);
9685 if (PyErr_Occurred()) SWIG_fail
;
9687 resultobj
= SWIG_From_int(static_cast< int >(result
));
9694 SWIGINTERN PyObject
*_wrap_SplitterWindow_Initialize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9695 PyObject
*resultobj
= 0;
9696 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
9697 wxWindow
*arg2
= (wxWindow
*) 0 ;
9702 PyObject
* obj0
= 0 ;
9703 PyObject
* obj1
= 0 ;
9704 char * kwnames
[] = {
9705 (char *) "self",(char *) "window", NULL
9708 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SplitterWindow_Initialize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9709 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSplitterWindow
, 0 | 0 );
9710 if (!SWIG_IsOK(res1
)) {
9711 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterWindow_Initialize" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
9713 arg1
= reinterpret_cast< wxSplitterWindow
* >(argp1
);
9714 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
9715 if (!SWIG_IsOK(res2
)) {
9716 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "SplitterWindow_Initialize" "', expected argument " "2"" of type '" "wxWindow *""'");
9718 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
9720 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9721 (arg1
)->Initialize(arg2
);
9722 wxPyEndAllowThreads(__tstate
);
9723 if (PyErr_Occurred()) SWIG_fail
;
9725 resultobj
= SWIG_Py_Void();
9732 SWIGINTERN PyObject
*_wrap_SplitterWindow_SplitVertically(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9733 PyObject
*resultobj
= 0;
9734 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
9735 wxWindow
*arg2
= (wxWindow
*) 0 ;
9736 wxWindow
*arg3
= (wxWindow
*) 0 ;
9737 int arg4
= (int) 0 ;
9747 PyObject
* obj0
= 0 ;
9748 PyObject
* obj1
= 0 ;
9749 PyObject
* obj2
= 0 ;
9750 PyObject
* obj3
= 0 ;
9751 char * kwnames
[] = {
9752 (char *) "self",(char *) "window1",(char *) "window2",(char *) "sashPosition", NULL
9755 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:SplitterWindow_SplitVertically",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
9756 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSplitterWindow
, 0 | 0 );
9757 if (!SWIG_IsOK(res1
)) {
9758 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterWindow_SplitVertically" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
9760 arg1
= reinterpret_cast< wxSplitterWindow
* >(argp1
);
9761 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
9762 if (!SWIG_IsOK(res2
)) {
9763 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "SplitterWindow_SplitVertically" "', expected argument " "2"" of type '" "wxWindow *""'");
9765 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
9766 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxWindow
, 0 | 0 );
9767 if (!SWIG_IsOK(res3
)) {
9768 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "SplitterWindow_SplitVertically" "', expected argument " "3"" of type '" "wxWindow *""'");
9770 arg3
= reinterpret_cast< wxWindow
* >(argp3
);
9772 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
9773 if (!SWIG_IsOK(ecode4
)) {
9774 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "SplitterWindow_SplitVertically" "', expected argument " "4"" of type '" "int""'");
9776 arg4
= static_cast< int >(val4
);
9779 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9780 result
= (bool)(arg1
)->SplitVertically(arg2
,arg3
,arg4
);
9781 wxPyEndAllowThreads(__tstate
);
9782 if (PyErr_Occurred()) SWIG_fail
;
9785 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9793 SWIGINTERN PyObject
*_wrap_SplitterWindow_SplitHorizontally(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9794 PyObject
*resultobj
= 0;
9795 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
9796 wxWindow
*arg2
= (wxWindow
*) 0 ;
9797 wxWindow
*arg3
= (wxWindow
*) 0 ;
9798 int arg4
= (int) 0 ;
9808 PyObject
* obj0
= 0 ;
9809 PyObject
* obj1
= 0 ;
9810 PyObject
* obj2
= 0 ;
9811 PyObject
* obj3
= 0 ;
9812 char * kwnames
[] = {
9813 (char *) "self",(char *) "window1",(char *) "window2",(char *) "sashPosition", NULL
9816 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:SplitterWindow_SplitHorizontally",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
9817 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSplitterWindow
, 0 | 0 );
9818 if (!SWIG_IsOK(res1
)) {
9819 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterWindow_SplitHorizontally" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
9821 arg1
= reinterpret_cast< wxSplitterWindow
* >(argp1
);
9822 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
9823 if (!SWIG_IsOK(res2
)) {
9824 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "SplitterWindow_SplitHorizontally" "', expected argument " "2"" of type '" "wxWindow *""'");
9826 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
9827 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxWindow
, 0 | 0 );
9828 if (!SWIG_IsOK(res3
)) {
9829 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "SplitterWindow_SplitHorizontally" "', expected argument " "3"" of type '" "wxWindow *""'");
9831 arg3
= reinterpret_cast< wxWindow
* >(argp3
);
9833 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
9834 if (!SWIG_IsOK(ecode4
)) {
9835 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "SplitterWindow_SplitHorizontally" "', expected argument " "4"" of type '" "int""'");
9837 arg4
= static_cast< int >(val4
);
9840 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9841 result
= (bool)(arg1
)->SplitHorizontally(arg2
,arg3
,arg4
);
9842 wxPyEndAllowThreads(__tstate
);
9843 if (PyErr_Occurred()) SWIG_fail
;
9846 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9854 SWIGINTERN PyObject
*_wrap_SplitterWindow_Unsplit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9855 PyObject
*resultobj
= 0;
9856 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
9857 wxWindow
*arg2
= (wxWindow
*) NULL
;
9863 PyObject
* obj0
= 0 ;
9864 PyObject
* obj1
= 0 ;
9865 char * kwnames
[] = {
9866 (char *) "self",(char *) "toRemove", NULL
9869 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:SplitterWindow_Unsplit",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9870 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSplitterWindow
, 0 | 0 );
9871 if (!SWIG_IsOK(res1
)) {
9872 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterWindow_Unsplit" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
9874 arg1
= reinterpret_cast< wxSplitterWindow
* >(argp1
);
9876 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
9877 if (!SWIG_IsOK(res2
)) {
9878 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "SplitterWindow_Unsplit" "', expected argument " "2"" of type '" "wxWindow *""'");
9880 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
9883 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9884 result
= (bool)(arg1
)->Unsplit(arg2
);
9885 wxPyEndAllowThreads(__tstate
);
9886 if (PyErr_Occurred()) SWIG_fail
;
9889 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9897 SWIGINTERN PyObject
*_wrap_SplitterWindow_ReplaceWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9898 PyObject
*resultobj
= 0;
9899 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
9900 wxWindow
*arg2
= (wxWindow
*) 0 ;
9901 wxWindow
*arg3
= (wxWindow
*) 0 ;
9909 PyObject
* obj0
= 0 ;
9910 PyObject
* obj1
= 0 ;
9911 PyObject
* obj2
= 0 ;
9912 char * kwnames
[] = {
9913 (char *) "self",(char *) "winOld",(char *) "winNew", NULL
9916 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:SplitterWindow_ReplaceWindow",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
9917 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSplitterWindow
, 0 | 0 );
9918 if (!SWIG_IsOK(res1
)) {
9919 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterWindow_ReplaceWindow" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
9921 arg1
= reinterpret_cast< wxSplitterWindow
* >(argp1
);
9922 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
9923 if (!SWIG_IsOK(res2
)) {
9924 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "SplitterWindow_ReplaceWindow" "', expected argument " "2"" of type '" "wxWindow *""'");
9926 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
9927 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxWindow
, 0 | 0 );
9928 if (!SWIG_IsOK(res3
)) {
9929 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "SplitterWindow_ReplaceWindow" "', expected argument " "3"" of type '" "wxWindow *""'");
9931 arg3
= reinterpret_cast< wxWindow
* >(argp3
);
9933 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9934 result
= (bool)(arg1
)->ReplaceWindow(arg2
,arg3
);
9935 wxPyEndAllowThreads(__tstate
);
9936 if (PyErr_Occurred()) SWIG_fail
;
9939 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9947 SWIGINTERN PyObject
*_wrap_SplitterWindow_UpdateSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9948 PyObject
*resultobj
= 0;
9949 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
9952 PyObject
*swig_obj
[1] ;
9954 if (!args
) SWIG_fail
;
9956 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSplitterWindow
, 0 | 0 );
9957 if (!SWIG_IsOK(res1
)) {
9958 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterWindow_UpdateSize" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
9960 arg1
= reinterpret_cast< wxSplitterWindow
* >(argp1
);
9962 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9963 (arg1
)->UpdateSize();
9964 wxPyEndAllowThreads(__tstate
);
9965 if (PyErr_Occurred()) SWIG_fail
;
9967 resultobj
= SWIG_Py_Void();
9974 SWIGINTERN PyObject
*_wrap_SplitterWindow_IsSplit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9975 PyObject
*resultobj
= 0;
9976 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
9980 PyObject
*swig_obj
[1] ;
9982 if (!args
) SWIG_fail
;
9984 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSplitterWindow
, 0 | 0 );
9985 if (!SWIG_IsOK(res1
)) {
9986 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterWindow_IsSplit" "', expected argument " "1"" of type '" "wxSplitterWindow const *""'");
9988 arg1
= reinterpret_cast< wxSplitterWindow
* >(argp1
);
9990 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9991 result
= (bool)((wxSplitterWindow
const *)arg1
)->IsSplit();
9992 wxPyEndAllowThreads(__tstate
);
9993 if (PyErr_Occurred()) SWIG_fail
;
9996 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10004 SWIGINTERN PyObject
*_wrap_SplitterWindow_SetSashSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10005 PyObject
*resultobj
= 0;
10006 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
10012 PyObject
* obj0
= 0 ;
10013 PyObject
* obj1
= 0 ;
10014 char * kwnames
[] = {
10015 (char *) "self",(char *) "width", NULL
10018 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SplitterWindow_SetSashSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10019 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSplitterWindow
, 0 | 0 );
10020 if (!SWIG_IsOK(res1
)) {
10021 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterWindow_SetSashSize" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
10023 arg1
= reinterpret_cast< wxSplitterWindow
* >(argp1
);
10024 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
10025 if (!SWIG_IsOK(ecode2
)) {
10026 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SplitterWindow_SetSashSize" "', expected argument " "2"" of type '" "int""'");
10028 arg2
= static_cast< int >(val2
);
10030 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10031 (arg1
)->SetSashSize(arg2
);
10032 wxPyEndAllowThreads(__tstate
);
10033 if (PyErr_Occurred()) SWIG_fail
;
10035 resultobj
= SWIG_Py_Void();
10042 SWIGINTERN PyObject
*_wrap_SplitterWindow_SetBorderSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10043 PyObject
*resultobj
= 0;
10044 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
10050 PyObject
* obj0
= 0 ;
10051 PyObject
* obj1
= 0 ;
10052 char * kwnames
[] = {
10053 (char *) "self",(char *) "width", NULL
10056 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SplitterWindow_SetBorderSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10057 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSplitterWindow
, 0 | 0 );
10058 if (!SWIG_IsOK(res1
)) {
10059 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterWindow_SetBorderSize" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
10061 arg1
= reinterpret_cast< wxSplitterWindow
* >(argp1
);
10062 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
10063 if (!SWIG_IsOK(ecode2
)) {
10064 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SplitterWindow_SetBorderSize" "', expected argument " "2"" of type '" "int""'");
10066 arg2
= static_cast< int >(val2
);
10068 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10069 (arg1
)->SetBorderSize(arg2
);
10070 wxPyEndAllowThreads(__tstate
);
10071 if (PyErr_Occurred()) SWIG_fail
;
10073 resultobj
= SWIG_Py_Void();
10080 SWIGINTERN PyObject
*_wrap_SplitterWindow_GetSashSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10081 PyObject
*resultobj
= 0;
10082 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
10086 PyObject
*swig_obj
[1] ;
10088 if (!args
) SWIG_fail
;
10089 swig_obj
[0] = args
;
10090 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSplitterWindow
, 0 | 0 );
10091 if (!SWIG_IsOK(res1
)) {
10092 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterWindow_GetSashSize" "', expected argument " "1"" of type '" "wxSplitterWindow const *""'");
10094 arg1
= reinterpret_cast< wxSplitterWindow
* >(argp1
);
10096 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10097 result
= (int)((wxSplitterWindow
const *)arg1
)->GetSashSize();
10098 wxPyEndAllowThreads(__tstate
);
10099 if (PyErr_Occurred()) SWIG_fail
;
10101 resultobj
= SWIG_From_int(static_cast< int >(result
));
10108 SWIGINTERN PyObject
*_wrap_SplitterWindow_GetBorderSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10109 PyObject
*resultobj
= 0;
10110 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
10114 PyObject
*swig_obj
[1] ;
10116 if (!args
) SWIG_fail
;
10117 swig_obj
[0] = args
;
10118 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSplitterWindow
, 0 | 0 );
10119 if (!SWIG_IsOK(res1
)) {
10120 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterWindow_GetBorderSize" "', expected argument " "1"" of type '" "wxSplitterWindow const *""'");
10122 arg1
= reinterpret_cast< wxSplitterWindow
* >(argp1
);
10124 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10125 result
= (int)((wxSplitterWindow
const *)arg1
)->GetBorderSize();
10126 wxPyEndAllowThreads(__tstate
);
10127 if (PyErr_Occurred()) SWIG_fail
;
10129 resultobj
= SWIG_From_int(static_cast< int >(result
));
10136 SWIGINTERN PyObject
*_wrap_SplitterWindow_SetSashPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10137 PyObject
*resultobj
= 0;
10138 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
10140 bool arg3
= (bool) true ;
10147 PyObject
* obj0
= 0 ;
10148 PyObject
* obj1
= 0 ;
10149 PyObject
* obj2
= 0 ;
10150 char * kwnames
[] = {
10151 (char *) "self",(char *) "position",(char *) "redraw", NULL
10154 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:SplitterWindow_SetSashPosition",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
10155 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSplitterWindow
, 0 | 0 );
10156 if (!SWIG_IsOK(res1
)) {
10157 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterWindow_SetSashPosition" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
10159 arg1
= reinterpret_cast< wxSplitterWindow
* >(argp1
);
10160 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
10161 if (!SWIG_IsOK(ecode2
)) {
10162 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SplitterWindow_SetSashPosition" "', expected argument " "2"" of type '" "int""'");
10164 arg2
= static_cast< int >(val2
);
10166 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
10167 if (!SWIG_IsOK(ecode3
)) {
10168 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "SplitterWindow_SetSashPosition" "', expected argument " "3"" of type '" "bool""'");
10170 arg3
= static_cast< bool >(val3
);
10173 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10174 (arg1
)->SetSashPosition(arg2
,arg3
);
10175 wxPyEndAllowThreads(__tstate
);
10176 if (PyErr_Occurred()) SWIG_fail
;
10178 resultobj
= SWIG_Py_Void();
10185 SWIGINTERN PyObject
*_wrap_SplitterWindow_GetSashPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10186 PyObject
*resultobj
= 0;
10187 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
10191 PyObject
*swig_obj
[1] ;
10193 if (!args
) SWIG_fail
;
10194 swig_obj
[0] = args
;
10195 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSplitterWindow
, 0 | 0 );
10196 if (!SWIG_IsOK(res1
)) {
10197 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterWindow_GetSashPosition" "', expected argument " "1"" of type '" "wxSplitterWindow const *""'");
10199 arg1
= reinterpret_cast< wxSplitterWindow
* >(argp1
);
10201 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10202 result
= (int)((wxSplitterWindow
const *)arg1
)->GetSashPosition();
10203 wxPyEndAllowThreads(__tstate
);
10204 if (PyErr_Occurred()) SWIG_fail
;
10206 resultobj
= SWIG_From_int(static_cast< int >(result
));
10213 SWIGINTERN PyObject
*_wrap_SplitterWindow_SetSashGravity(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10214 PyObject
*resultobj
= 0;
10215 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
10221 PyObject
* obj0
= 0 ;
10222 PyObject
* obj1
= 0 ;
10223 char * kwnames
[] = {
10224 (char *) "self",(char *) "gravity", NULL
10227 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SplitterWindow_SetSashGravity",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10228 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSplitterWindow
, 0 | 0 );
10229 if (!SWIG_IsOK(res1
)) {
10230 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterWindow_SetSashGravity" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
10232 arg1
= reinterpret_cast< wxSplitterWindow
* >(argp1
);
10233 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
10234 if (!SWIG_IsOK(ecode2
)) {
10235 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SplitterWindow_SetSashGravity" "', expected argument " "2"" of type '" "double""'");
10237 arg2
= static_cast< double >(val2
);
10239 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10240 (arg1
)->SetSashGravity(arg2
);
10241 wxPyEndAllowThreads(__tstate
);
10242 if (PyErr_Occurred()) SWIG_fail
;
10244 resultobj
= SWIG_Py_Void();
10251 SWIGINTERN PyObject
*_wrap_SplitterWindow_GetSashGravity(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10252 PyObject
*resultobj
= 0;
10253 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
10257 PyObject
*swig_obj
[1] ;
10259 if (!args
) SWIG_fail
;
10260 swig_obj
[0] = args
;
10261 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSplitterWindow
, 0 | 0 );
10262 if (!SWIG_IsOK(res1
)) {
10263 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterWindow_GetSashGravity" "', expected argument " "1"" of type '" "wxSplitterWindow const *""'");
10265 arg1
= reinterpret_cast< wxSplitterWindow
* >(argp1
);
10267 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10268 result
= (double)((wxSplitterWindow
const *)arg1
)->GetSashGravity();
10269 wxPyEndAllowThreads(__tstate
);
10270 if (PyErr_Occurred()) SWIG_fail
;
10272 resultobj
= SWIG_From_double(static_cast< double >(result
));
10279 SWIGINTERN PyObject
*_wrap_SplitterWindow_SetMinimumPaneSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10280 PyObject
*resultobj
= 0;
10281 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
10287 PyObject
* obj0
= 0 ;
10288 PyObject
* obj1
= 0 ;
10289 char * kwnames
[] = {
10290 (char *) "self",(char *) "min", NULL
10293 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SplitterWindow_SetMinimumPaneSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10294 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSplitterWindow
, 0 | 0 );
10295 if (!SWIG_IsOK(res1
)) {
10296 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterWindow_SetMinimumPaneSize" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
10298 arg1
= reinterpret_cast< wxSplitterWindow
* >(argp1
);
10299 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
10300 if (!SWIG_IsOK(ecode2
)) {
10301 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SplitterWindow_SetMinimumPaneSize" "', expected argument " "2"" of type '" "int""'");
10303 arg2
= static_cast< int >(val2
);
10305 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10306 (arg1
)->SetMinimumPaneSize(arg2
);
10307 wxPyEndAllowThreads(__tstate
);
10308 if (PyErr_Occurred()) SWIG_fail
;
10310 resultobj
= SWIG_Py_Void();
10317 SWIGINTERN PyObject
*_wrap_SplitterWindow_GetMinimumPaneSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10318 PyObject
*resultobj
= 0;
10319 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
10323 PyObject
*swig_obj
[1] ;
10325 if (!args
) SWIG_fail
;
10326 swig_obj
[0] = args
;
10327 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSplitterWindow
, 0 | 0 );
10328 if (!SWIG_IsOK(res1
)) {
10329 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterWindow_GetMinimumPaneSize" "', expected argument " "1"" of type '" "wxSplitterWindow const *""'");
10331 arg1
= reinterpret_cast< wxSplitterWindow
* >(argp1
);
10333 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10334 result
= (int)((wxSplitterWindow
const *)arg1
)->GetMinimumPaneSize();
10335 wxPyEndAllowThreads(__tstate
);
10336 if (PyErr_Occurred()) SWIG_fail
;
10338 resultobj
= SWIG_From_int(static_cast< int >(result
));
10345 SWIGINTERN PyObject
*_wrap_SplitterWindow_SashHitTest(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10346 PyObject
*resultobj
= 0;
10347 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
10350 int arg4
= (int) 5 ;
10360 PyObject
* obj0
= 0 ;
10361 PyObject
* obj1
= 0 ;
10362 PyObject
* obj2
= 0 ;
10363 PyObject
* obj3
= 0 ;
10364 char * kwnames
[] = {
10365 (char *) "self",(char *) "x",(char *) "y",(char *) "tolerance", NULL
10368 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:SplitterWindow_SashHitTest",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
10369 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSplitterWindow
, 0 | 0 );
10370 if (!SWIG_IsOK(res1
)) {
10371 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterWindow_SashHitTest" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
10373 arg1
= reinterpret_cast< wxSplitterWindow
* >(argp1
);
10374 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
10375 if (!SWIG_IsOK(ecode2
)) {
10376 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SplitterWindow_SashHitTest" "', expected argument " "2"" of type '" "int""'");
10378 arg2
= static_cast< int >(val2
);
10379 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
10380 if (!SWIG_IsOK(ecode3
)) {
10381 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "SplitterWindow_SashHitTest" "', expected argument " "3"" of type '" "int""'");
10383 arg3
= static_cast< int >(val3
);
10385 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
10386 if (!SWIG_IsOK(ecode4
)) {
10387 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "SplitterWindow_SashHitTest" "', expected argument " "4"" of type '" "int""'");
10389 arg4
= static_cast< int >(val4
);
10392 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10393 result
= (bool)(arg1
)->SashHitTest(arg2
,arg3
,arg4
);
10394 wxPyEndAllowThreads(__tstate
);
10395 if (PyErr_Occurred()) SWIG_fail
;
10398 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10406 SWIGINTERN PyObject
*_wrap_SplitterWindow_SizeWindows(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10407 PyObject
*resultobj
= 0;
10408 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
10411 PyObject
*swig_obj
[1] ;
10413 if (!args
) SWIG_fail
;
10414 swig_obj
[0] = args
;
10415 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSplitterWindow
, 0 | 0 );
10416 if (!SWIG_IsOK(res1
)) {
10417 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterWindow_SizeWindows" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
10419 arg1
= reinterpret_cast< wxSplitterWindow
* >(argp1
);
10421 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10422 (arg1
)->SizeWindows();
10423 wxPyEndAllowThreads(__tstate
);
10424 if (PyErr_Occurred()) SWIG_fail
;
10426 resultobj
= SWIG_Py_Void();
10433 SWIGINTERN PyObject
*_wrap_SplitterWindow_SetNeedUpdating(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10434 PyObject
*resultobj
= 0;
10435 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
10441 PyObject
* obj0
= 0 ;
10442 PyObject
* obj1
= 0 ;
10443 char * kwnames
[] = {
10444 (char *) "self",(char *) "needUpdating", NULL
10447 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SplitterWindow_SetNeedUpdating",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10448 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSplitterWindow
, 0 | 0 );
10449 if (!SWIG_IsOK(res1
)) {
10450 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterWindow_SetNeedUpdating" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
10452 arg1
= reinterpret_cast< wxSplitterWindow
* >(argp1
);
10453 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
10454 if (!SWIG_IsOK(ecode2
)) {
10455 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SplitterWindow_SetNeedUpdating" "', expected argument " "2"" of type '" "bool""'");
10457 arg2
= static_cast< bool >(val2
);
10459 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10460 (arg1
)->SetNeedUpdating(arg2
);
10461 wxPyEndAllowThreads(__tstate
);
10462 if (PyErr_Occurred()) SWIG_fail
;
10464 resultobj
= SWIG_Py_Void();
10471 SWIGINTERN PyObject
*_wrap_SplitterWindow_GetNeedUpdating(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10472 PyObject
*resultobj
= 0;
10473 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
10477 PyObject
*swig_obj
[1] ;
10479 if (!args
) SWIG_fail
;
10480 swig_obj
[0] = args
;
10481 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSplitterWindow
, 0 | 0 );
10482 if (!SWIG_IsOK(res1
)) {
10483 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterWindow_GetNeedUpdating" "', expected argument " "1"" of type '" "wxSplitterWindow const *""'");
10485 arg1
= reinterpret_cast< wxSplitterWindow
* >(argp1
);
10487 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10488 result
= (bool)((wxSplitterWindow
const *)arg1
)->GetNeedUpdating();
10489 wxPyEndAllowThreads(__tstate
);
10490 if (PyErr_Occurred()) SWIG_fail
;
10493 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10501 SWIGINTERN PyObject
*_wrap_SplitterWindow_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10502 PyObject
*resultobj
= 0;
10503 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
10504 SwigValueWrapper
<wxVisualAttributes
> result
;
10507 PyObject
* obj0
= 0 ;
10508 char * kwnames
[] = {
10509 (char *) "variant", NULL
10512 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:SplitterWindow_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
10514 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
10515 if (!SWIG_IsOK(ecode1
)) {
10516 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "SplitterWindow_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
10518 arg1
= static_cast< wxWindowVariant
>(val1
);
10521 if (!wxPyCheckForApp()) SWIG_fail
;
10522 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10523 result
= wxSplitterWindow::GetClassDefaultAttributes(arg1
);
10524 wxPyEndAllowThreads(__tstate
);
10525 if (PyErr_Occurred()) SWIG_fail
;
10527 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
10534 SWIGINTERN PyObject
*SplitterWindow_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10536 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
10537 SWIG_TypeNewClientData(SWIGTYPE_p_wxSplitterWindow
, SWIG_NewClientData(obj
));
10538 return SWIG_Py_Void();
10541 SWIGINTERN PyObject
*SplitterWindow_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10542 return SWIG_Python_InitShadowInstance(args
);
10545 SWIGINTERN PyObject
*_wrap_new_SplitterEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10546 PyObject
*resultobj
= 0;
10547 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
10548 wxSplitterWindow
*arg2
= (wxSplitterWindow
*) (wxSplitterWindow
*) NULL
;
10549 wxSplitterEvent
*result
= 0 ;
10554 PyObject
* obj0
= 0 ;
10555 PyObject
* obj1
= 0 ;
10556 char * kwnames
[] = {
10557 (char *) "type",(char *) "splitter", NULL
10560 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_SplitterEvent",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10562 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
10563 if (!SWIG_IsOK(ecode1
)) {
10564 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_SplitterEvent" "', expected argument " "1"" of type '" "wxEventType""'");
10566 arg1
= static_cast< wxEventType
>(val1
);
10569 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxSplitterWindow
, 0 | 0 );
10570 if (!SWIG_IsOK(res2
)) {
10571 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_SplitterEvent" "', expected argument " "2"" of type '" "wxSplitterWindow *""'");
10573 arg2
= reinterpret_cast< wxSplitterWindow
* >(argp2
);
10576 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10577 result
= (wxSplitterEvent
*)new wxSplitterEvent(arg1
,arg2
);
10578 wxPyEndAllowThreads(__tstate
);
10579 if (PyErr_Occurred()) SWIG_fail
;
10581 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSplitterEvent
, SWIG_POINTER_NEW
| 0 );
10588 SWIGINTERN PyObject
*_wrap_SplitterEvent_SetSashPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10589 PyObject
*resultobj
= 0;
10590 wxSplitterEvent
*arg1
= (wxSplitterEvent
*) 0 ;
10596 PyObject
* obj0
= 0 ;
10597 PyObject
* obj1
= 0 ;
10598 char * kwnames
[] = {
10599 (char *) "self",(char *) "pos", NULL
10602 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SplitterEvent_SetSashPosition",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10603 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSplitterEvent
, 0 | 0 );
10604 if (!SWIG_IsOK(res1
)) {
10605 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterEvent_SetSashPosition" "', expected argument " "1"" of type '" "wxSplitterEvent *""'");
10607 arg1
= reinterpret_cast< wxSplitterEvent
* >(argp1
);
10608 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
10609 if (!SWIG_IsOK(ecode2
)) {
10610 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SplitterEvent_SetSashPosition" "', expected argument " "2"" of type '" "int""'");
10612 arg2
= static_cast< int >(val2
);
10614 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10615 (arg1
)->SetSashPosition(arg2
);
10616 wxPyEndAllowThreads(__tstate
);
10617 if (PyErr_Occurred()) SWIG_fail
;
10619 resultobj
= SWIG_Py_Void();
10626 SWIGINTERN PyObject
*_wrap_SplitterEvent_GetSashPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10627 PyObject
*resultobj
= 0;
10628 wxSplitterEvent
*arg1
= (wxSplitterEvent
*) 0 ;
10632 PyObject
*swig_obj
[1] ;
10634 if (!args
) SWIG_fail
;
10635 swig_obj
[0] = args
;
10636 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSplitterEvent
, 0 | 0 );
10637 if (!SWIG_IsOK(res1
)) {
10638 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterEvent_GetSashPosition" "', expected argument " "1"" of type '" "wxSplitterEvent const *""'");
10640 arg1
= reinterpret_cast< wxSplitterEvent
* >(argp1
);
10642 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10643 result
= (int)((wxSplitterEvent
const *)arg1
)->GetSashPosition();
10644 wxPyEndAllowThreads(__tstate
);
10645 if (PyErr_Occurred()) SWIG_fail
;
10647 resultobj
= SWIG_From_int(static_cast< int >(result
));
10654 SWIGINTERN PyObject
*_wrap_SplitterEvent_GetWindowBeingRemoved(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10655 PyObject
*resultobj
= 0;
10656 wxSplitterEvent
*arg1
= (wxSplitterEvent
*) 0 ;
10657 wxWindow
*result
= 0 ;
10660 PyObject
*swig_obj
[1] ;
10662 if (!args
) SWIG_fail
;
10663 swig_obj
[0] = args
;
10664 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSplitterEvent
, 0 | 0 );
10665 if (!SWIG_IsOK(res1
)) {
10666 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterEvent_GetWindowBeingRemoved" "', expected argument " "1"" of type '" "wxSplitterEvent const *""'");
10668 arg1
= reinterpret_cast< wxSplitterEvent
* >(argp1
);
10670 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10671 result
= (wxWindow
*)((wxSplitterEvent
const *)arg1
)->GetWindowBeingRemoved();
10672 wxPyEndAllowThreads(__tstate
);
10673 if (PyErr_Occurred()) SWIG_fail
;
10676 resultobj
= wxPyMake_wxObject(result
, 0);
10684 SWIGINTERN PyObject
*_wrap_SplitterEvent_GetX(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10685 PyObject
*resultobj
= 0;
10686 wxSplitterEvent
*arg1
= (wxSplitterEvent
*) 0 ;
10690 PyObject
*swig_obj
[1] ;
10692 if (!args
) SWIG_fail
;
10693 swig_obj
[0] = args
;
10694 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSplitterEvent
, 0 | 0 );
10695 if (!SWIG_IsOK(res1
)) {
10696 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterEvent_GetX" "', expected argument " "1"" of type '" "wxSplitterEvent const *""'");
10698 arg1
= reinterpret_cast< wxSplitterEvent
* >(argp1
);
10700 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10701 result
= (int)((wxSplitterEvent
const *)arg1
)->GetX();
10702 wxPyEndAllowThreads(__tstate
);
10703 if (PyErr_Occurred()) SWIG_fail
;
10705 resultobj
= SWIG_From_int(static_cast< int >(result
));
10712 SWIGINTERN PyObject
*_wrap_SplitterEvent_GetY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10713 PyObject
*resultobj
= 0;
10714 wxSplitterEvent
*arg1
= (wxSplitterEvent
*) 0 ;
10718 PyObject
*swig_obj
[1] ;
10720 if (!args
) SWIG_fail
;
10721 swig_obj
[0] = args
;
10722 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSplitterEvent
, 0 | 0 );
10723 if (!SWIG_IsOK(res1
)) {
10724 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterEvent_GetY" "', expected argument " "1"" of type '" "wxSplitterEvent const *""'");
10726 arg1
= reinterpret_cast< wxSplitterEvent
* >(argp1
);
10728 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10729 result
= (int)((wxSplitterEvent
const *)arg1
)->GetY();
10730 wxPyEndAllowThreads(__tstate
);
10731 if (PyErr_Occurred()) SWIG_fail
;
10733 resultobj
= SWIG_From_int(static_cast< int >(result
));
10740 SWIGINTERN PyObject
*SplitterEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10742 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
10743 SWIG_TypeNewClientData(SWIGTYPE_p_wxSplitterEvent
, SWIG_NewClientData(obj
));
10744 return SWIG_Py_Void();
10747 SWIGINTERN PyObject
*SplitterEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10748 return SWIG_Python_InitShadowInstance(args
);
10751 SWIGINTERN
int SashNameStr_set(PyObject
*) {
10752 SWIG_Error(SWIG_AttributeError
,"Variable SashNameStr is read-only.");
10757 SWIGINTERN PyObject
*SashNameStr_get(void) {
10758 PyObject
*pyobj
= 0;
10762 pyobj
= PyUnicode_FromWideChar((&wxPySashNameStr
)->c_str(), (&wxPySashNameStr
)->Len());
10764 pyobj
= PyString_FromStringAndSize((&wxPySashNameStr
)->c_str(), (&wxPySashNameStr
)->Len());
10771 SWIGINTERN
int SashLayoutNameStr_set(PyObject
*) {
10772 SWIG_Error(SWIG_AttributeError
,"Variable SashLayoutNameStr is read-only.");
10777 SWIGINTERN PyObject
*SashLayoutNameStr_get(void) {
10778 PyObject
*pyobj
= 0;
10782 pyobj
= PyUnicode_FromWideChar((&wxPySashLayoutNameStr
)->c_str(), (&wxPySashLayoutNameStr
)->Len());
10784 pyobj
= PyString_FromStringAndSize((&wxPySashLayoutNameStr
)->c_str(), (&wxPySashLayoutNameStr
)->Len());
10791 SWIGINTERN PyObject
*_wrap_new_SashWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10792 PyObject
*resultobj
= 0;
10793 wxWindow
*arg1
= (wxWindow
*) 0 ;
10794 int arg2
= (int) -1 ;
10795 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
10796 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
10797 wxSize
const &arg4_defvalue
= wxDefaultSize
;
10798 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
10799 long arg5
= (long) wxCLIP_CHILDREN
|wxSW_3D
;
10800 wxString
const &arg6_defvalue
= wxPySashNameStr
;
10801 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
10802 wxSashWindow
*result
= 0 ;
10811 bool temp6
= false ;
10812 PyObject
* obj0
= 0 ;
10813 PyObject
* obj1
= 0 ;
10814 PyObject
* obj2
= 0 ;
10815 PyObject
* obj3
= 0 ;
10816 PyObject
* obj4
= 0 ;
10817 PyObject
* obj5
= 0 ;
10818 char * kwnames
[] = {
10819 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
10822 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_SashWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
10823 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
10824 if (!SWIG_IsOK(res1
)) {
10825 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_SashWindow" "', expected argument " "1"" of type '" "wxWindow *""'");
10827 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
10829 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
10830 if (!SWIG_IsOK(ecode2
)) {
10831 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_SashWindow" "', expected argument " "2"" of type '" "int""'");
10833 arg2
= static_cast< int >(val2
);
10838 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
10844 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
10848 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
10849 if (!SWIG_IsOK(ecode5
)) {
10850 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_SashWindow" "', expected argument " "5"" of type '" "long""'");
10852 arg5
= static_cast< long >(val5
);
10856 arg6
= wxString_in_helper(obj5
);
10857 if (arg6
== NULL
) SWIG_fail
;
10862 if (!wxPyCheckForApp()) SWIG_fail
;
10863 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10864 result
= (wxSashWindow
*)new wxSashWindow(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
10865 wxPyEndAllowThreads(__tstate
);
10866 if (PyErr_Occurred()) SWIG_fail
;
10868 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSashWindow
, SWIG_POINTER_NEW
| 0 );
10883 SWIGINTERN PyObject
*_wrap_new_PreSashWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10884 PyObject
*resultobj
= 0;
10885 wxSashWindow
*result
= 0 ;
10887 if (!SWIG_Python_UnpackTuple(args
,"new_PreSashWindow",0,0,0)) SWIG_fail
;
10889 if (!wxPyCheckForApp()) SWIG_fail
;
10890 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10891 result
= (wxSashWindow
*)new wxSashWindow();
10892 wxPyEndAllowThreads(__tstate
);
10893 if (PyErr_Occurred()) SWIG_fail
;
10895 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSashWindow
, SWIG_POINTER_OWN
| 0 );
10902 SWIGINTERN PyObject
*_wrap_SashWindow_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10903 PyObject
*resultobj
= 0;
10904 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
10905 wxWindow
*arg2
= (wxWindow
*) 0 ;
10906 int arg3
= (int) -1 ;
10907 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
10908 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
10909 wxSize
const &arg5_defvalue
= wxDefaultSize
;
10910 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
10911 long arg6
= (long) wxCLIP_CHILDREN
|wxSW_3D
;
10912 wxString
const &arg7_defvalue
= wxPySashNameStr
;
10913 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
10925 bool temp7
= false ;
10926 PyObject
* obj0
= 0 ;
10927 PyObject
* obj1
= 0 ;
10928 PyObject
* obj2
= 0 ;
10929 PyObject
* obj3
= 0 ;
10930 PyObject
* obj4
= 0 ;
10931 PyObject
* obj5
= 0 ;
10932 PyObject
* obj6
= 0 ;
10933 char * kwnames
[] = {
10934 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
10937 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:SashWindow_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
10938 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSashWindow
, 0 | 0 );
10939 if (!SWIG_IsOK(res1
)) {
10940 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashWindow_Create" "', expected argument " "1"" of type '" "wxSashWindow *""'");
10942 arg1
= reinterpret_cast< wxSashWindow
* >(argp1
);
10943 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
10944 if (!SWIG_IsOK(res2
)) {
10945 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "SashWindow_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
10947 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
10949 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
10950 if (!SWIG_IsOK(ecode3
)) {
10951 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "SashWindow_Create" "', expected argument " "3"" of type '" "int""'");
10953 arg3
= static_cast< int >(val3
);
10958 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
10964 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
10968 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
10969 if (!SWIG_IsOK(ecode6
)) {
10970 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "SashWindow_Create" "', expected argument " "6"" of type '" "long""'");
10972 arg6
= static_cast< long >(val6
);
10976 arg7
= wxString_in_helper(obj6
);
10977 if (arg7
== NULL
) SWIG_fail
;
10982 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10983 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
10984 wxPyEndAllowThreads(__tstate
);
10985 if (PyErr_Occurred()) SWIG_fail
;
10988 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11004 SWIGINTERN PyObject
*_wrap_SashWindow_SetSashVisible(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11005 PyObject
*resultobj
= 0;
11006 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
11007 wxSashEdgePosition arg2
;
11015 PyObject
* obj0
= 0 ;
11016 PyObject
* obj1
= 0 ;
11017 PyObject
* obj2
= 0 ;
11018 char * kwnames
[] = {
11019 (char *) "self",(char *) "edge",(char *) "sash", NULL
11022 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:SashWindow_SetSashVisible",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
11023 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSashWindow
, 0 | 0 );
11024 if (!SWIG_IsOK(res1
)) {
11025 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashWindow_SetSashVisible" "', expected argument " "1"" of type '" "wxSashWindow *""'");
11027 arg1
= reinterpret_cast< wxSashWindow
* >(argp1
);
11028 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
11029 if (!SWIG_IsOK(ecode2
)) {
11030 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SashWindow_SetSashVisible" "', expected argument " "2"" of type '" "wxSashEdgePosition""'");
11032 arg2
= static_cast< wxSashEdgePosition
>(val2
);
11033 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
11034 if (!SWIG_IsOK(ecode3
)) {
11035 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "SashWindow_SetSashVisible" "', expected argument " "3"" of type '" "bool""'");
11037 arg3
= static_cast< bool >(val3
);
11039 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11040 (arg1
)->SetSashVisible(arg2
,arg3
);
11041 wxPyEndAllowThreads(__tstate
);
11042 if (PyErr_Occurred()) SWIG_fail
;
11044 resultobj
= SWIG_Py_Void();
11051 SWIGINTERN PyObject
*_wrap_SashWindow_GetSashVisible(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11052 PyObject
*resultobj
= 0;
11053 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
11054 wxSashEdgePosition arg2
;
11060 PyObject
* obj0
= 0 ;
11061 PyObject
* obj1
= 0 ;
11062 char * kwnames
[] = {
11063 (char *) "self",(char *) "edge", NULL
11066 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashWindow_GetSashVisible",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11067 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSashWindow
, 0 | 0 );
11068 if (!SWIG_IsOK(res1
)) {
11069 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashWindow_GetSashVisible" "', expected argument " "1"" of type '" "wxSashWindow const *""'");
11071 arg1
= reinterpret_cast< wxSashWindow
* >(argp1
);
11072 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
11073 if (!SWIG_IsOK(ecode2
)) {
11074 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SashWindow_GetSashVisible" "', expected argument " "2"" of type '" "wxSashEdgePosition""'");
11076 arg2
= static_cast< wxSashEdgePosition
>(val2
);
11078 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11079 result
= (bool)((wxSashWindow
const *)arg1
)->GetSashVisible(arg2
);
11080 wxPyEndAllowThreads(__tstate
);
11081 if (PyErr_Occurred()) SWIG_fail
;
11084 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11092 SWIGINTERN PyObject
*_wrap_SashWindow_SetSashBorder(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11093 PyObject
*resultobj
= 0;
11094 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
11095 wxSashEdgePosition arg2
;
11103 PyObject
* obj0
= 0 ;
11104 PyObject
* obj1
= 0 ;
11105 PyObject
* obj2
= 0 ;
11106 char * kwnames
[] = {
11107 (char *) "self",(char *) "edge",(char *) "border", NULL
11110 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:SashWindow_SetSashBorder",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
11111 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSashWindow
, 0 | 0 );
11112 if (!SWIG_IsOK(res1
)) {
11113 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashWindow_SetSashBorder" "', expected argument " "1"" of type '" "wxSashWindow *""'");
11115 arg1
= reinterpret_cast< wxSashWindow
* >(argp1
);
11116 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
11117 if (!SWIG_IsOK(ecode2
)) {
11118 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SashWindow_SetSashBorder" "', expected argument " "2"" of type '" "wxSashEdgePosition""'");
11120 arg2
= static_cast< wxSashEdgePosition
>(val2
);
11121 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
11122 if (!SWIG_IsOK(ecode3
)) {
11123 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "SashWindow_SetSashBorder" "', expected argument " "3"" of type '" "bool""'");
11125 arg3
= static_cast< bool >(val3
);
11127 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11128 (arg1
)->SetSashBorder(arg2
,arg3
);
11129 wxPyEndAllowThreads(__tstate
);
11130 if (PyErr_Occurred()) SWIG_fail
;
11132 resultobj
= SWIG_Py_Void();
11139 SWIGINTERN PyObject
*_wrap_SashWindow_HasBorder(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11140 PyObject
*resultobj
= 0;
11141 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
11142 wxSashEdgePosition arg2
;
11148 PyObject
* obj0
= 0 ;
11149 PyObject
* obj1
= 0 ;
11150 char * kwnames
[] = {
11151 (char *) "self",(char *) "edge", NULL
11154 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashWindow_HasBorder",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11155 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSashWindow
, 0 | 0 );
11156 if (!SWIG_IsOK(res1
)) {
11157 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashWindow_HasBorder" "', expected argument " "1"" of type '" "wxSashWindow const *""'");
11159 arg1
= reinterpret_cast< wxSashWindow
* >(argp1
);
11160 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
11161 if (!SWIG_IsOK(ecode2
)) {
11162 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SashWindow_HasBorder" "', expected argument " "2"" of type '" "wxSashEdgePosition""'");
11164 arg2
= static_cast< wxSashEdgePosition
>(val2
);
11166 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11167 result
= (bool)((wxSashWindow
const *)arg1
)->HasBorder(arg2
);
11168 wxPyEndAllowThreads(__tstate
);
11169 if (PyErr_Occurred()) SWIG_fail
;
11172 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11180 SWIGINTERN PyObject
*_wrap_SashWindow_GetEdgeMargin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11181 PyObject
*resultobj
= 0;
11182 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
11183 wxSashEdgePosition arg2
;
11189 PyObject
* obj0
= 0 ;
11190 PyObject
* obj1
= 0 ;
11191 char * kwnames
[] = {
11192 (char *) "self",(char *) "edge", NULL
11195 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashWindow_GetEdgeMargin",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11196 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSashWindow
, 0 | 0 );
11197 if (!SWIG_IsOK(res1
)) {
11198 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashWindow_GetEdgeMargin" "', expected argument " "1"" of type '" "wxSashWindow const *""'");
11200 arg1
= reinterpret_cast< wxSashWindow
* >(argp1
);
11201 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
11202 if (!SWIG_IsOK(ecode2
)) {
11203 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SashWindow_GetEdgeMargin" "', expected argument " "2"" of type '" "wxSashEdgePosition""'");
11205 arg2
= static_cast< wxSashEdgePosition
>(val2
);
11207 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11208 result
= (int)((wxSashWindow
const *)arg1
)->GetEdgeMargin(arg2
);
11209 wxPyEndAllowThreads(__tstate
);
11210 if (PyErr_Occurred()) SWIG_fail
;
11212 resultobj
= SWIG_From_int(static_cast< int >(result
));
11219 SWIGINTERN PyObject
*_wrap_SashWindow_SetDefaultBorderSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11220 PyObject
*resultobj
= 0;
11221 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
11227 PyObject
* obj0
= 0 ;
11228 PyObject
* obj1
= 0 ;
11229 char * kwnames
[] = {
11230 (char *) "self",(char *) "width", NULL
11233 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashWindow_SetDefaultBorderSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11234 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSashWindow
, 0 | 0 );
11235 if (!SWIG_IsOK(res1
)) {
11236 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashWindow_SetDefaultBorderSize" "', expected argument " "1"" of type '" "wxSashWindow *""'");
11238 arg1
= reinterpret_cast< wxSashWindow
* >(argp1
);
11239 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
11240 if (!SWIG_IsOK(ecode2
)) {
11241 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SashWindow_SetDefaultBorderSize" "', expected argument " "2"" of type '" "int""'");
11243 arg2
= static_cast< int >(val2
);
11245 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11246 (arg1
)->SetDefaultBorderSize(arg2
);
11247 wxPyEndAllowThreads(__tstate
);
11248 if (PyErr_Occurred()) SWIG_fail
;
11250 resultobj
= SWIG_Py_Void();
11257 SWIGINTERN PyObject
*_wrap_SashWindow_GetDefaultBorderSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11258 PyObject
*resultobj
= 0;
11259 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
11263 PyObject
*swig_obj
[1] ;
11265 if (!args
) SWIG_fail
;
11266 swig_obj
[0] = args
;
11267 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSashWindow
, 0 | 0 );
11268 if (!SWIG_IsOK(res1
)) {
11269 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashWindow_GetDefaultBorderSize" "', expected argument " "1"" of type '" "wxSashWindow const *""'");
11271 arg1
= reinterpret_cast< wxSashWindow
* >(argp1
);
11273 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11274 result
= (int)((wxSashWindow
const *)arg1
)->GetDefaultBorderSize();
11275 wxPyEndAllowThreads(__tstate
);
11276 if (PyErr_Occurred()) SWIG_fail
;
11278 resultobj
= SWIG_From_int(static_cast< int >(result
));
11285 SWIGINTERN PyObject
*_wrap_SashWindow_SetExtraBorderSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11286 PyObject
*resultobj
= 0;
11287 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
11293 PyObject
* obj0
= 0 ;
11294 PyObject
* obj1
= 0 ;
11295 char * kwnames
[] = {
11296 (char *) "self",(char *) "width", NULL
11299 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashWindow_SetExtraBorderSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11300 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSashWindow
, 0 | 0 );
11301 if (!SWIG_IsOK(res1
)) {
11302 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashWindow_SetExtraBorderSize" "', expected argument " "1"" of type '" "wxSashWindow *""'");
11304 arg1
= reinterpret_cast< wxSashWindow
* >(argp1
);
11305 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
11306 if (!SWIG_IsOK(ecode2
)) {
11307 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SashWindow_SetExtraBorderSize" "', expected argument " "2"" of type '" "int""'");
11309 arg2
= static_cast< int >(val2
);
11311 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11312 (arg1
)->SetExtraBorderSize(arg2
);
11313 wxPyEndAllowThreads(__tstate
);
11314 if (PyErr_Occurred()) SWIG_fail
;
11316 resultobj
= SWIG_Py_Void();
11323 SWIGINTERN PyObject
*_wrap_SashWindow_GetExtraBorderSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11324 PyObject
*resultobj
= 0;
11325 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
11329 PyObject
*swig_obj
[1] ;
11331 if (!args
) SWIG_fail
;
11332 swig_obj
[0] = args
;
11333 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSashWindow
, 0 | 0 );
11334 if (!SWIG_IsOK(res1
)) {
11335 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashWindow_GetExtraBorderSize" "', expected argument " "1"" of type '" "wxSashWindow const *""'");
11337 arg1
= reinterpret_cast< wxSashWindow
* >(argp1
);
11339 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11340 result
= (int)((wxSashWindow
const *)arg1
)->GetExtraBorderSize();
11341 wxPyEndAllowThreads(__tstate
);
11342 if (PyErr_Occurred()) SWIG_fail
;
11344 resultobj
= SWIG_From_int(static_cast< int >(result
));
11351 SWIGINTERN PyObject
*_wrap_SashWindow_SetMinimumSizeX(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11352 PyObject
*resultobj
= 0;
11353 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
11359 PyObject
* obj0
= 0 ;
11360 PyObject
* obj1
= 0 ;
11361 char * kwnames
[] = {
11362 (char *) "self",(char *) "min", NULL
11365 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashWindow_SetMinimumSizeX",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11366 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSashWindow
, 0 | 0 );
11367 if (!SWIG_IsOK(res1
)) {
11368 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashWindow_SetMinimumSizeX" "', expected argument " "1"" of type '" "wxSashWindow *""'");
11370 arg1
= reinterpret_cast< wxSashWindow
* >(argp1
);
11371 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
11372 if (!SWIG_IsOK(ecode2
)) {
11373 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SashWindow_SetMinimumSizeX" "', expected argument " "2"" of type '" "int""'");
11375 arg2
= static_cast< int >(val2
);
11377 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11378 (arg1
)->SetMinimumSizeX(arg2
);
11379 wxPyEndAllowThreads(__tstate
);
11380 if (PyErr_Occurred()) SWIG_fail
;
11382 resultobj
= SWIG_Py_Void();
11389 SWIGINTERN PyObject
*_wrap_SashWindow_SetMinimumSizeY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11390 PyObject
*resultobj
= 0;
11391 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
11397 PyObject
* obj0
= 0 ;
11398 PyObject
* obj1
= 0 ;
11399 char * kwnames
[] = {
11400 (char *) "self",(char *) "min", NULL
11403 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashWindow_SetMinimumSizeY",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11404 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSashWindow
, 0 | 0 );
11405 if (!SWIG_IsOK(res1
)) {
11406 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashWindow_SetMinimumSizeY" "', expected argument " "1"" of type '" "wxSashWindow *""'");
11408 arg1
= reinterpret_cast< wxSashWindow
* >(argp1
);
11409 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
11410 if (!SWIG_IsOK(ecode2
)) {
11411 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SashWindow_SetMinimumSizeY" "', expected argument " "2"" of type '" "int""'");
11413 arg2
= static_cast< int >(val2
);
11415 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11416 (arg1
)->SetMinimumSizeY(arg2
);
11417 wxPyEndAllowThreads(__tstate
);
11418 if (PyErr_Occurred()) SWIG_fail
;
11420 resultobj
= SWIG_Py_Void();
11427 SWIGINTERN PyObject
*_wrap_SashWindow_GetMinimumSizeX(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11428 PyObject
*resultobj
= 0;
11429 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
11433 PyObject
*swig_obj
[1] ;
11435 if (!args
) SWIG_fail
;
11436 swig_obj
[0] = args
;
11437 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSashWindow
, 0 | 0 );
11438 if (!SWIG_IsOK(res1
)) {
11439 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashWindow_GetMinimumSizeX" "', expected argument " "1"" of type '" "wxSashWindow const *""'");
11441 arg1
= reinterpret_cast< wxSashWindow
* >(argp1
);
11443 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11444 result
= (int)((wxSashWindow
const *)arg1
)->GetMinimumSizeX();
11445 wxPyEndAllowThreads(__tstate
);
11446 if (PyErr_Occurred()) SWIG_fail
;
11448 resultobj
= SWIG_From_int(static_cast< int >(result
));
11455 SWIGINTERN PyObject
*_wrap_SashWindow_GetMinimumSizeY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11456 PyObject
*resultobj
= 0;
11457 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
11461 PyObject
*swig_obj
[1] ;
11463 if (!args
) SWIG_fail
;
11464 swig_obj
[0] = args
;
11465 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSashWindow
, 0 | 0 );
11466 if (!SWIG_IsOK(res1
)) {
11467 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashWindow_GetMinimumSizeY" "', expected argument " "1"" of type '" "wxSashWindow const *""'");
11469 arg1
= reinterpret_cast< wxSashWindow
* >(argp1
);
11471 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11472 result
= (int)((wxSashWindow
const *)arg1
)->GetMinimumSizeY();
11473 wxPyEndAllowThreads(__tstate
);
11474 if (PyErr_Occurred()) SWIG_fail
;
11476 resultobj
= SWIG_From_int(static_cast< int >(result
));
11483 SWIGINTERN PyObject
*_wrap_SashWindow_SetMaximumSizeX(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11484 PyObject
*resultobj
= 0;
11485 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
11491 PyObject
* obj0
= 0 ;
11492 PyObject
* obj1
= 0 ;
11493 char * kwnames
[] = {
11494 (char *) "self",(char *) "max", NULL
11497 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashWindow_SetMaximumSizeX",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11498 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSashWindow
, 0 | 0 );
11499 if (!SWIG_IsOK(res1
)) {
11500 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashWindow_SetMaximumSizeX" "', expected argument " "1"" of type '" "wxSashWindow *""'");
11502 arg1
= reinterpret_cast< wxSashWindow
* >(argp1
);
11503 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
11504 if (!SWIG_IsOK(ecode2
)) {
11505 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SashWindow_SetMaximumSizeX" "', expected argument " "2"" of type '" "int""'");
11507 arg2
= static_cast< int >(val2
);
11509 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11510 (arg1
)->SetMaximumSizeX(arg2
);
11511 wxPyEndAllowThreads(__tstate
);
11512 if (PyErr_Occurred()) SWIG_fail
;
11514 resultobj
= SWIG_Py_Void();
11521 SWIGINTERN PyObject
*_wrap_SashWindow_SetMaximumSizeY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11522 PyObject
*resultobj
= 0;
11523 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
11529 PyObject
* obj0
= 0 ;
11530 PyObject
* obj1
= 0 ;
11531 char * kwnames
[] = {
11532 (char *) "self",(char *) "max", NULL
11535 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashWindow_SetMaximumSizeY",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11536 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSashWindow
, 0 | 0 );
11537 if (!SWIG_IsOK(res1
)) {
11538 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashWindow_SetMaximumSizeY" "', expected argument " "1"" of type '" "wxSashWindow *""'");
11540 arg1
= reinterpret_cast< wxSashWindow
* >(argp1
);
11541 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
11542 if (!SWIG_IsOK(ecode2
)) {
11543 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SashWindow_SetMaximumSizeY" "', expected argument " "2"" of type '" "int""'");
11545 arg2
= static_cast< int >(val2
);
11547 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11548 (arg1
)->SetMaximumSizeY(arg2
);
11549 wxPyEndAllowThreads(__tstate
);
11550 if (PyErr_Occurred()) SWIG_fail
;
11552 resultobj
= SWIG_Py_Void();
11559 SWIGINTERN PyObject
*_wrap_SashWindow_GetMaximumSizeX(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11560 PyObject
*resultobj
= 0;
11561 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
11565 PyObject
*swig_obj
[1] ;
11567 if (!args
) SWIG_fail
;
11568 swig_obj
[0] = args
;
11569 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSashWindow
, 0 | 0 );
11570 if (!SWIG_IsOK(res1
)) {
11571 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashWindow_GetMaximumSizeX" "', expected argument " "1"" of type '" "wxSashWindow const *""'");
11573 arg1
= reinterpret_cast< wxSashWindow
* >(argp1
);
11575 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11576 result
= (int)((wxSashWindow
const *)arg1
)->GetMaximumSizeX();
11577 wxPyEndAllowThreads(__tstate
);
11578 if (PyErr_Occurred()) SWIG_fail
;
11580 resultobj
= SWIG_From_int(static_cast< int >(result
));
11587 SWIGINTERN PyObject
*_wrap_SashWindow_GetMaximumSizeY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11588 PyObject
*resultobj
= 0;
11589 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
11593 PyObject
*swig_obj
[1] ;
11595 if (!args
) SWIG_fail
;
11596 swig_obj
[0] = args
;
11597 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSashWindow
, 0 | 0 );
11598 if (!SWIG_IsOK(res1
)) {
11599 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashWindow_GetMaximumSizeY" "', expected argument " "1"" of type '" "wxSashWindow const *""'");
11601 arg1
= reinterpret_cast< wxSashWindow
* >(argp1
);
11603 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11604 result
= (int)((wxSashWindow
const *)arg1
)->GetMaximumSizeY();
11605 wxPyEndAllowThreads(__tstate
);
11606 if (PyErr_Occurred()) SWIG_fail
;
11608 resultobj
= SWIG_From_int(static_cast< int >(result
));
11615 SWIGINTERN PyObject
*_wrap_SashWindow_SashHitTest(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11616 PyObject
*resultobj
= 0;
11617 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
11620 int arg4
= (int) 2 ;
11621 wxSashEdgePosition result
;
11630 PyObject
* obj0
= 0 ;
11631 PyObject
* obj1
= 0 ;
11632 PyObject
* obj2
= 0 ;
11633 PyObject
* obj3
= 0 ;
11634 char * kwnames
[] = {
11635 (char *) "self",(char *) "x",(char *) "y",(char *) "tolerance", NULL
11638 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:SashWindow_SashHitTest",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
11639 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSashWindow
, 0 | 0 );
11640 if (!SWIG_IsOK(res1
)) {
11641 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashWindow_SashHitTest" "', expected argument " "1"" of type '" "wxSashWindow *""'");
11643 arg1
= reinterpret_cast< wxSashWindow
* >(argp1
);
11644 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
11645 if (!SWIG_IsOK(ecode2
)) {
11646 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SashWindow_SashHitTest" "', expected argument " "2"" of type '" "int""'");
11648 arg2
= static_cast< int >(val2
);
11649 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
11650 if (!SWIG_IsOK(ecode3
)) {
11651 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "SashWindow_SashHitTest" "', expected argument " "3"" of type '" "int""'");
11653 arg3
= static_cast< int >(val3
);
11655 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
11656 if (!SWIG_IsOK(ecode4
)) {
11657 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "SashWindow_SashHitTest" "', expected argument " "4"" of type '" "int""'");
11659 arg4
= static_cast< int >(val4
);
11662 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11663 result
= (wxSashEdgePosition
)(arg1
)->SashHitTest(arg2
,arg3
,arg4
);
11664 wxPyEndAllowThreads(__tstate
);
11665 if (PyErr_Occurred()) SWIG_fail
;
11667 resultobj
= SWIG_From_int(static_cast< int >(result
));
11674 SWIGINTERN PyObject
*_wrap_SashWindow_SizeWindows(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11675 PyObject
*resultobj
= 0;
11676 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
11679 PyObject
*swig_obj
[1] ;
11681 if (!args
) SWIG_fail
;
11682 swig_obj
[0] = args
;
11683 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSashWindow
, 0 | 0 );
11684 if (!SWIG_IsOK(res1
)) {
11685 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashWindow_SizeWindows" "', expected argument " "1"" of type '" "wxSashWindow *""'");
11687 arg1
= reinterpret_cast< wxSashWindow
* >(argp1
);
11689 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11690 (arg1
)->SizeWindows();
11691 wxPyEndAllowThreads(__tstate
);
11692 if (PyErr_Occurred()) SWIG_fail
;
11694 resultobj
= SWIG_Py_Void();
11701 SWIGINTERN PyObject
*SashWindow_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11703 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
11704 SWIG_TypeNewClientData(SWIGTYPE_p_wxSashWindow
, SWIG_NewClientData(obj
));
11705 return SWIG_Py_Void();
11708 SWIGINTERN PyObject
*SashWindow_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11709 return SWIG_Python_InitShadowInstance(args
);
11712 SWIGINTERN PyObject
*_wrap_new_SashEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11713 PyObject
*resultobj
= 0;
11714 int arg1
= (int) 0 ;
11715 wxSashEdgePosition arg2
= (wxSashEdgePosition
) wxSASH_NONE
;
11716 wxSashEvent
*result
= 0 ;
11721 PyObject
* obj0
= 0 ;
11722 PyObject
* obj1
= 0 ;
11723 char * kwnames
[] = {
11724 (char *) "id",(char *) "edge", NULL
11727 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_SashEvent",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11729 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
11730 if (!SWIG_IsOK(ecode1
)) {
11731 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_SashEvent" "', expected argument " "1"" of type '" "int""'");
11733 arg1
= static_cast< int >(val1
);
11736 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
11737 if (!SWIG_IsOK(ecode2
)) {
11738 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_SashEvent" "', expected argument " "2"" of type '" "wxSashEdgePosition""'");
11740 arg2
= static_cast< wxSashEdgePosition
>(val2
);
11743 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11744 result
= (wxSashEvent
*)new wxSashEvent(arg1
,arg2
);
11745 wxPyEndAllowThreads(__tstate
);
11746 if (PyErr_Occurred()) SWIG_fail
;
11748 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSashEvent
, SWIG_POINTER_NEW
| 0 );
11755 SWIGINTERN PyObject
*_wrap_SashEvent_SetEdge(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11756 PyObject
*resultobj
= 0;
11757 wxSashEvent
*arg1
= (wxSashEvent
*) 0 ;
11758 wxSashEdgePosition arg2
;
11763 PyObject
* obj0
= 0 ;
11764 PyObject
* obj1
= 0 ;
11765 char * kwnames
[] = {
11766 (char *) "self",(char *) "edge", NULL
11769 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashEvent_SetEdge",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11770 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSashEvent
, 0 | 0 );
11771 if (!SWIG_IsOK(res1
)) {
11772 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashEvent_SetEdge" "', expected argument " "1"" of type '" "wxSashEvent *""'");
11774 arg1
= reinterpret_cast< wxSashEvent
* >(argp1
);
11775 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
11776 if (!SWIG_IsOK(ecode2
)) {
11777 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SashEvent_SetEdge" "', expected argument " "2"" of type '" "wxSashEdgePosition""'");
11779 arg2
= static_cast< wxSashEdgePosition
>(val2
);
11781 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11782 (arg1
)->SetEdge(arg2
);
11783 wxPyEndAllowThreads(__tstate
);
11784 if (PyErr_Occurred()) SWIG_fail
;
11786 resultobj
= SWIG_Py_Void();
11793 SWIGINTERN PyObject
*_wrap_SashEvent_GetEdge(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11794 PyObject
*resultobj
= 0;
11795 wxSashEvent
*arg1
= (wxSashEvent
*) 0 ;
11796 wxSashEdgePosition result
;
11799 PyObject
*swig_obj
[1] ;
11801 if (!args
) SWIG_fail
;
11802 swig_obj
[0] = args
;
11803 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSashEvent
, 0 | 0 );
11804 if (!SWIG_IsOK(res1
)) {
11805 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashEvent_GetEdge" "', expected argument " "1"" of type '" "wxSashEvent const *""'");
11807 arg1
= reinterpret_cast< wxSashEvent
* >(argp1
);
11809 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11810 result
= (wxSashEdgePosition
)((wxSashEvent
const *)arg1
)->GetEdge();
11811 wxPyEndAllowThreads(__tstate
);
11812 if (PyErr_Occurred()) SWIG_fail
;
11814 resultobj
= SWIG_From_int(static_cast< int >(result
));
11821 SWIGINTERN PyObject
*_wrap_SashEvent_SetDragRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11822 PyObject
*resultobj
= 0;
11823 wxSashEvent
*arg1
= (wxSashEvent
*) 0 ;
11828 PyObject
* obj0
= 0 ;
11829 PyObject
* obj1
= 0 ;
11830 char * kwnames
[] = {
11831 (char *) "self",(char *) "rect", NULL
11834 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashEvent_SetDragRect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11835 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSashEvent
, 0 | 0 );
11836 if (!SWIG_IsOK(res1
)) {
11837 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashEvent_SetDragRect" "', expected argument " "1"" of type '" "wxSashEvent *""'");
11839 arg1
= reinterpret_cast< wxSashEvent
* >(argp1
);
11842 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
11845 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11846 (arg1
)->SetDragRect((wxRect
const &)*arg2
);
11847 wxPyEndAllowThreads(__tstate
);
11848 if (PyErr_Occurred()) SWIG_fail
;
11850 resultobj
= SWIG_Py_Void();
11857 SWIGINTERN PyObject
*_wrap_SashEvent_GetDragRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11858 PyObject
*resultobj
= 0;
11859 wxSashEvent
*arg1
= (wxSashEvent
*) 0 ;
11863 PyObject
*swig_obj
[1] ;
11865 if (!args
) SWIG_fail
;
11866 swig_obj
[0] = args
;
11867 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSashEvent
, 0 | 0 );
11868 if (!SWIG_IsOK(res1
)) {
11869 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashEvent_GetDragRect" "', expected argument " "1"" of type '" "wxSashEvent const *""'");
11871 arg1
= reinterpret_cast< wxSashEvent
* >(argp1
);
11873 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11874 result
= ((wxSashEvent
const *)arg1
)->GetDragRect();
11875 wxPyEndAllowThreads(__tstate
);
11876 if (PyErr_Occurred()) SWIG_fail
;
11878 resultobj
= SWIG_NewPointerObj((new wxRect(static_cast< const wxRect
& >(result
))), SWIGTYPE_p_wxRect
, SWIG_POINTER_OWN
| 0 );
11885 SWIGINTERN PyObject
*_wrap_SashEvent_SetDragStatus(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11886 PyObject
*resultobj
= 0;
11887 wxSashEvent
*arg1
= (wxSashEvent
*) 0 ;
11888 wxSashDragStatus arg2
;
11893 PyObject
* obj0
= 0 ;
11894 PyObject
* obj1
= 0 ;
11895 char * kwnames
[] = {
11896 (char *) "self",(char *) "status", NULL
11899 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashEvent_SetDragStatus",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11900 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSashEvent
, 0 | 0 );
11901 if (!SWIG_IsOK(res1
)) {
11902 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashEvent_SetDragStatus" "', expected argument " "1"" of type '" "wxSashEvent *""'");
11904 arg1
= reinterpret_cast< wxSashEvent
* >(argp1
);
11905 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
11906 if (!SWIG_IsOK(ecode2
)) {
11907 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SashEvent_SetDragStatus" "', expected argument " "2"" of type '" "wxSashDragStatus""'");
11909 arg2
= static_cast< wxSashDragStatus
>(val2
);
11911 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11912 (arg1
)->SetDragStatus(arg2
);
11913 wxPyEndAllowThreads(__tstate
);
11914 if (PyErr_Occurred()) SWIG_fail
;
11916 resultobj
= SWIG_Py_Void();
11923 SWIGINTERN PyObject
*_wrap_SashEvent_GetDragStatus(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11924 PyObject
*resultobj
= 0;
11925 wxSashEvent
*arg1
= (wxSashEvent
*) 0 ;
11926 wxSashDragStatus result
;
11929 PyObject
*swig_obj
[1] ;
11931 if (!args
) SWIG_fail
;
11932 swig_obj
[0] = args
;
11933 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSashEvent
, 0 | 0 );
11934 if (!SWIG_IsOK(res1
)) {
11935 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashEvent_GetDragStatus" "', expected argument " "1"" of type '" "wxSashEvent const *""'");
11937 arg1
= reinterpret_cast< wxSashEvent
* >(argp1
);
11939 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11940 result
= (wxSashDragStatus
)((wxSashEvent
const *)arg1
)->GetDragStatus();
11941 wxPyEndAllowThreads(__tstate
);
11942 if (PyErr_Occurred()) SWIG_fail
;
11944 resultobj
= SWIG_From_int(static_cast< int >(result
));
11951 SWIGINTERN PyObject
*SashEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11953 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
11954 SWIG_TypeNewClientData(SWIGTYPE_p_wxSashEvent
, SWIG_NewClientData(obj
));
11955 return SWIG_Py_Void();
11958 SWIGINTERN PyObject
*SashEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11959 return SWIG_Python_InitShadowInstance(args
);
11962 SWIGINTERN PyObject
*_wrap_new_QueryLayoutInfoEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11963 PyObject
*resultobj
= 0;
11964 int arg1
= (int) 0 ;
11965 wxQueryLayoutInfoEvent
*result
= 0 ;
11968 PyObject
* obj0
= 0 ;
11969 char * kwnames
[] = {
11970 (char *) "id", NULL
11973 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_QueryLayoutInfoEvent",kwnames
,&obj0
)) SWIG_fail
;
11975 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
11976 if (!SWIG_IsOK(ecode1
)) {
11977 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_QueryLayoutInfoEvent" "', expected argument " "1"" of type '" "int""'");
11979 arg1
= static_cast< int >(val1
);
11982 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11983 result
= (wxQueryLayoutInfoEvent
*)new wxQueryLayoutInfoEvent(arg1
);
11984 wxPyEndAllowThreads(__tstate
);
11985 if (PyErr_Occurred()) SWIG_fail
;
11987 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxQueryLayoutInfoEvent
, SWIG_POINTER_NEW
| 0 );
11994 SWIGINTERN PyObject
*_wrap_QueryLayoutInfoEvent_SetRequestedLength(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11995 PyObject
*resultobj
= 0;
11996 wxQueryLayoutInfoEvent
*arg1
= (wxQueryLayoutInfoEvent
*) 0 ;
12002 PyObject
* obj0
= 0 ;
12003 PyObject
* obj1
= 0 ;
12004 char * kwnames
[] = {
12005 (char *) "self",(char *) "length", NULL
12008 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:QueryLayoutInfoEvent_SetRequestedLength",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12009 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxQueryLayoutInfoEvent
, 0 | 0 );
12010 if (!SWIG_IsOK(res1
)) {
12011 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "QueryLayoutInfoEvent_SetRequestedLength" "', expected argument " "1"" of type '" "wxQueryLayoutInfoEvent *""'");
12013 arg1
= reinterpret_cast< wxQueryLayoutInfoEvent
* >(argp1
);
12014 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
12015 if (!SWIG_IsOK(ecode2
)) {
12016 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "QueryLayoutInfoEvent_SetRequestedLength" "', expected argument " "2"" of type '" "int""'");
12018 arg2
= static_cast< int >(val2
);
12020 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12021 (arg1
)->SetRequestedLength(arg2
);
12022 wxPyEndAllowThreads(__tstate
);
12023 if (PyErr_Occurred()) SWIG_fail
;
12025 resultobj
= SWIG_Py_Void();
12032 SWIGINTERN PyObject
*_wrap_QueryLayoutInfoEvent_GetRequestedLength(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12033 PyObject
*resultobj
= 0;
12034 wxQueryLayoutInfoEvent
*arg1
= (wxQueryLayoutInfoEvent
*) 0 ;
12038 PyObject
*swig_obj
[1] ;
12040 if (!args
) SWIG_fail
;
12041 swig_obj
[0] = args
;
12042 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxQueryLayoutInfoEvent
, 0 | 0 );
12043 if (!SWIG_IsOK(res1
)) {
12044 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "QueryLayoutInfoEvent_GetRequestedLength" "', expected argument " "1"" of type '" "wxQueryLayoutInfoEvent const *""'");
12046 arg1
= reinterpret_cast< wxQueryLayoutInfoEvent
* >(argp1
);
12048 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12049 result
= (int)((wxQueryLayoutInfoEvent
const *)arg1
)->GetRequestedLength();
12050 wxPyEndAllowThreads(__tstate
);
12051 if (PyErr_Occurred()) SWIG_fail
;
12053 resultobj
= SWIG_From_int(static_cast< int >(result
));
12060 SWIGINTERN PyObject
*_wrap_QueryLayoutInfoEvent_SetFlags(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12061 PyObject
*resultobj
= 0;
12062 wxQueryLayoutInfoEvent
*arg1
= (wxQueryLayoutInfoEvent
*) 0 ;
12068 PyObject
* obj0
= 0 ;
12069 PyObject
* obj1
= 0 ;
12070 char * kwnames
[] = {
12071 (char *) "self",(char *) "flags", NULL
12074 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:QueryLayoutInfoEvent_SetFlags",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12075 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxQueryLayoutInfoEvent
, 0 | 0 );
12076 if (!SWIG_IsOK(res1
)) {
12077 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "QueryLayoutInfoEvent_SetFlags" "', expected argument " "1"" of type '" "wxQueryLayoutInfoEvent *""'");
12079 arg1
= reinterpret_cast< wxQueryLayoutInfoEvent
* >(argp1
);
12080 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
12081 if (!SWIG_IsOK(ecode2
)) {
12082 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "QueryLayoutInfoEvent_SetFlags" "', expected argument " "2"" of type '" "int""'");
12084 arg2
= static_cast< int >(val2
);
12086 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12087 (arg1
)->SetFlags(arg2
);
12088 wxPyEndAllowThreads(__tstate
);
12089 if (PyErr_Occurred()) SWIG_fail
;
12091 resultobj
= SWIG_Py_Void();
12098 SWIGINTERN PyObject
*_wrap_QueryLayoutInfoEvent_GetFlags(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12099 PyObject
*resultobj
= 0;
12100 wxQueryLayoutInfoEvent
*arg1
= (wxQueryLayoutInfoEvent
*) 0 ;
12104 PyObject
*swig_obj
[1] ;
12106 if (!args
) SWIG_fail
;
12107 swig_obj
[0] = args
;
12108 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxQueryLayoutInfoEvent
, 0 | 0 );
12109 if (!SWIG_IsOK(res1
)) {
12110 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "QueryLayoutInfoEvent_GetFlags" "', expected argument " "1"" of type '" "wxQueryLayoutInfoEvent const *""'");
12112 arg1
= reinterpret_cast< wxQueryLayoutInfoEvent
* >(argp1
);
12114 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12115 result
= (int)((wxQueryLayoutInfoEvent
const *)arg1
)->GetFlags();
12116 wxPyEndAllowThreads(__tstate
);
12117 if (PyErr_Occurred()) SWIG_fail
;
12119 resultobj
= SWIG_From_int(static_cast< int >(result
));
12126 SWIGINTERN PyObject
*_wrap_QueryLayoutInfoEvent_SetSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12127 PyObject
*resultobj
= 0;
12128 wxQueryLayoutInfoEvent
*arg1
= (wxQueryLayoutInfoEvent
*) 0 ;
12133 PyObject
* obj0
= 0 ;
12134 PyObject
* obj1
= 0 ;
12135 char * kwnames
[] = {
12136 (char *) "self",(char *) "size", NULL
12139 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:QueryLayoutInfoEvent_SetSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12140 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxQueryLayoutInfoEvent
, 0 | 0 );
12141 if (!SWIG_IsOK(res1
)) {
12142 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "QueryLayoutInfoEvent_SetSize" "', expected argument " "1"" of type '" "wxQueryLayoutInfoEvent *""'");
12144 arg1
= reinterpret_cast< wxQueryLayoutInfoEvent
* >(argp1
);
12147 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
12150 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12151 (arg1
)->SetSize((wxSize
const &)*arg2
);
12152 wxPyEndAllowThreads(__tstate
);
12153 if (PyErr_Occurred()) SWIG_fail
;
12155 resultobj
= SWIG_Py_Void();
12162 SWIGINTERN PyObject
*_wrap_QueryLayoutInfoEvent_GetSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12163 PyObject
*resultobj
= 0;
12164 wxQueryLayoutInfoEvent
*arg1
= (wxQueryLayoutInfoEvent
*) 0 ;
12168 PyObject
*swig_obj
[1] ;
12170 if (!args
) SWIG_fail
;
12171 swig_obj
[0] = args
;
12172 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxQueryLayoutInfoEvent
, 0 | 0 );
12173 if (!SWIG_IsOK(res1
)) {
12174 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "QueryLayoutInfoEvent_GetSize" "', expected argument " "1"" of type '" "wxQueryLayoutInfoEvent const *""'");
12176 arg1
= reinterpret_cast< wxQueryLayoutInfoEvent
* >(argp1
);
12178 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12179 result
= ((wxQueryLayoutInfoEvent
const *)arg1
)->GetSize();
12180 wxPyEndAllowThreads(__tstate
);
12181 if (PyErr_Occurred()) SWIG_fail
;
12183 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
12190 SWIGINTERN PyObject
*_wrap_QueryLayoutInfoEvent_SetOrientation(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12191 PyObject
*resultobj
= 0;
12192 wxQueryLayoutInfoEvent
*arg1
= (wxQueryLayoutInfoEvent
*) 0 ;
12193 wxLayoutOrientation arg2
;
12198 PyObject
* obj0
= 0 ;
12199 PyObject
* obj1
= 0 ;
12200 char * kwnames
[] = {
12201 (char *) "self",(char *) "orient", NULL
12204 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:QueryLayoutInfoEvent_SetOrientation",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12205 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxQueryLayoutInfoEvent
, 0 | 0 );
12206 if (!SWIG_IsOK(res1
)) {
12207 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "QueryLayoutInfoEvent_SetOrientation" "', expected argument " "1"" of type '" "wxQueryLayoutInfoEvent *""'");
12209 arg1
= reinterpret_cast< wxQueryLayoutInfoEvent
* >(argp1
);
12210 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
12211 if (!SWIG_IsOK(ecode2
)) {
12212 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "QueryLayoutInfoEvent_SetOrientation" "', expected argument " "2"" of type '" "wxLayoutOrientation""'");
12214 arg2
= static_cast< wxLayoutOrientation
>(val2
);
12216 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12217 (arg1
)->SetOrientation(arg2
);
12218 wxPyEndAllowThreads(__tstate
);
12219 if (PyErr_Occurred()) SWIG_fail
;
12221 resultobj
= SWIG_Py_Void();
12228 SWIGINTERN PyObject
*_wrap_QueryLayoutInfoEvent_GetOrientation(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12229 PyObject
*resultobj
= 0;
12230 wxQueryLayoutInfoEvent
*arg1
= (wxQueryLayoutInfoEvent
*) 0 ;
12231 wxLayoutOrientation result
;
12234 PyObject
*swig_obj
[1] ;
12236 if (!args
) SWIG_fail
;
12237 swig_obj
[0] = args
;
12238 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxQueryLayoutInfoEvent
, 0 | 0 );
12239 if (!SWIG_IsOK(res1
)) {
12240 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "QueryLayoutInfoEvent_GetOrientation" "', expected argument " "1"" of type '" "wxQueryLayoutInfoEvent const *""'");
12242 arg1
= reinterpret_cast< wxQueryLayoutInfoEvent
* >(argp1
);
12244 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12245 result
= (wxLayoutOrientation
)((wxQueryLayoutInfoEvent
const *)arg1
)->GetOrientation();
12246 wxPyEndAllowThreads(__tstate
);
12247 if (PyErr_Occurred()) SWIG_fail
;
12249 resultobj
= SWIG_From_int(static_cast< int >(result
));
12256 SWIGINTERN PyObject
*_wrap_QueryLayoutInfoEvent_SetAlignment(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12257 PyObject
*resultobj
= 0;
12258 wxQueryLayoutInfoEvent
*arg1
= (wxQueryLayoutInfoEvent
*) 0 ;
12259 wxLayoutAlignment arg2
;
12264 PyObject
* obj0
= 0 ;
12265 PyObject
* obj1
= 0 ;
12266 char * kwnames
[] = {
12267 (char *) "self",(char *) "align", NULL
12270 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:QueryLayoutInfoEvent_SetAlignment",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12271 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxQueryLayoutInfoEvent
, 0 | 0 );
12272 if (!SWIG_IsOK(res1
)) {
12273 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "QueryLayoutInfoEvent_SetAlignment" "', expected argument " "1"" of type '" "wxQueryLayoutInfoEvent *""'");
12275 arg1
= reinterpret_cast< wxQueryLayoutInfoEvent
* >(argp1
);
12276 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
12277 if (!SWIG_IsOK(ecode2
)) {
12278 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "QueryLayoutInfoEvent_SetAlignment" "', expected argument " "2"" of type '" "wxLayoutAlignment""'");
12280 arg2
= static_cast< wxLayoutAlignment
>(val2
);
12282 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12283 (arg1
)->SetAlignment(arg2
);
12284 wxPyEndAllowThreads(__tstate
);
12285 if (PyErr_Occurred()) SWIG_fail
;
12287 resultobj
= SWIG_Py_Void();
12294 SWIGINTERN PyObject
*_wrap_QueryLayoutInfoEvent_GetAlignment(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12295 PyObject
*resultobj
= 0;
12296 wxQueryLayoutInfoEvent
*arg1
= (wxQueryLayoutInfoEvent
*) 0 ;
12297 wxLayoutAlignment result
;
12300 PyObject
*swig_obj
[1] ;
12302 if (!args
) SWIG_fail
;
12303 swig_obj
[0] = args
;
12304 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxQueryLayoutInfoEvent
, 0 | 0 );
12305 if (!SWIG_IsOK(res1
)) {
12306 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "QueryLayoutInfoEvent_GetAlignment" "', expected argument " "1"" of type '" "wxQueryLayoutInfoEvent const *""'");
12308 arg1
= reinterpret_cast< wxQueryLayoutInfoEvent
* >(argp1
);
12310 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12311 result
= (wxLayoutAlignment
)((wxQueryLayoutInfoEvent
const *)arg1
)->GetAlignment();
12312 wxPyEndAllowThreads(__tstate
);
12313 if (PyErr_Occurred()) SWIG_fail
;
12315 resultobj
= SWIG_From_int(static_cast< int >(result
));
12322 SWIGINTERN PyObject
*QueryLayoutInfoEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12324 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
12325 SWIG_TypeNewClientData(SWIGTYPE_p_wxQueryLayoutInfoEvent
, SWIG_NewClientData(obj
));
12326 return SWIG_Py_Void();
12329 SWIGINTERN PyObject
*QueryLayoutInfoEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12330 return SWIG_Python_InitShadowInstance(args
);
12333 SWIGINTERN PyObject
*_wrap_new_CalculateLayoutEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12334 PyObject
*resultobj
= 0;
12335 int arg1
= (int) 0 ;
12336 wxCalculateLayoutEvent
*result
= 0 ;
12339 PyObject
* obj0
= 0 ;
12340 char * kwnames
[] = {
12341 (char *) "id", NULL
12344 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_CalculateLayoutEvent",kwnames
,&obj0
)) SWIG_fail
;
12346 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
12347 if (!SWIG_IsOK(ecode1
)) {
12348 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_CalculateLayoutEvent" "', expected argument " "1"" of type '" "int""'");
12350 arg1
= static_cast< int >(val1
);
12353 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12354 result
= (wxCalculateLayoutEvent
*)new wxCalculateLayoutEvent(arg1
);
12355 wxPyEndAllowThreads(__tstate
);
12356 if (PyErr_Occurred()) SWIG_fail
;
12358 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxCalculateLayoutEvent
, SWIG_POINTER_NEW
| 0 );
12365 SWIGINTERN PyObject
*_wrap_CalculateLayoutEvent_SetFlags(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12366 PyObject
*resultobj
= 0;
12367 wxCalculateLayoutEvent
*arg1
= (wxCalculateLayoutEvent
*) 0 ;
12373 PyObject
* obj0
= 0 ;
12374 PyObject
* obj1
= 0 ;
12375 char * kwnames
[] = {
12376 (char *) "self",(char *) "flags", NULL
12379 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CalculateLayoutEvent_SetFlags",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12380 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxCalculateLayoutEvent
, 0 | 0 );
12381 if (!SWIG_IsOK(res1
)) {
12382 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "CalculateLayoutEvent_SetFlags" "', expected argument " "1"" of type '" "wxCalculateLayoutEvent *""'");
12384 arg1
= reinterpret_cast< wxCalculateLayoutEvent
* >(argp1
);
12385 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
12386 if (!SWIG_IsOK(ecode2
)) {
12387 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "CalculateLayoutEvent_SetFlags" "', expected argument " "2"" of type '" "int""'");
12389 arg2
= static_cast< int >(val2
);
12391 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12392 (arg1
)->SetFlags(arg2
);
12393 wxPyEndAllowThreads(__tstate
);
12394 if (PyErr_Occurred()) SWIG_fail
;
12396 resultobj
= SWIG_Py_Void();
12403 SWIGINTERN PyObject
*_wrap_CalculateLayoutEvent_GetFlags(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12404 PyObject
*resultobj
= 0;
12405 wxCalculateLayoutEvent
*arg1
= (wxCalculateLayoutEvent
*) 0 ;
12409 PyObject
*swig_obj
[1] ;
12411 if (!args
) SWIG_fail
;
12412 swig_obj
[0] = args
;
12413 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxCalculateLayoutEvent
, 0 | 0 );
12414 if (!SWIG_IsOK(res1
)) {
12415 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "CalculateLayoutEvent_GetFlags" "', expected argument " "1"" of type '" "wxCalculateLayoutEvent const *""'");
12417 arg1
= reinterpret_cast< wxCalculateLayoutEvent
* >(argp1
);
12419 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12420 result
= (int)((wxCalculateLayoutEvent
const *)arg1
)->GetFlags();
12421 wxPyEndAllowThreads(__tstate
);
12422 if (PyErr_Occurred()) SWIG_fail
;
12424 resultobj
= SWIG_From_int(static_cast< int >(result
));
12431 SWIGINTERN PyObject
*_wrap_CalculateLayoutEvent_SetRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12432 PyObject
*resultobj
= 0;
12433 wxCalculateLayoutEvent
*arg1
= (wxCalculateLayoutEvent
*) 0 ;
12438 PyObject
* obj0
= 0 ;
12439 PyObject
* obj1
= 0 ;
12440 char * kwnames
[] = {
12441 (char *) "self",(char *) "rect", NULL
12444 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CalculateLayoutEvent_SetRect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12445 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxCalculateLayoutEvent
, 0 | 0 );
12446 if (!SWIG_IsOK(res1
)) {
12447 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "CalculateLayoutEvent_SetRect" "', expected argument " "1"" of type '" "wxCalculateLayoutEvent *""'");
12449 arg1
= reinterpret_cast< wxCalculateLayoutEvent
* >(argp1
);
12452 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
12455 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12456 (arg1
)->SetRect((wxRect
const &)*arg2
);
12457 wxPyEndAllowThreads(__tstate
);
12458 if (PyErr_Occurred()) SWIG_fail
;
12460 resultobj
= SWIG_Py_Void();
12467 SWIGINTERN PyObject
*_wrap_CalculateLayoutEvent_GetRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12468 PyObject
*resultobj
= 0;
12469 wxCalculateLayoutEvent
*arg1
= (wxCalculateLayoutEvent
*) 0 ;
12473 PyObject
*swig_obj
[1] ;
12475 if (!args
) SWIG_fail
;
12476 swig_obj
[0] = args
;
12477 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxCalculateLayoutEvent
, 0 | 0 );
12478 if (!SWIG_IsOK(res1
)) {
12479 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "CalculateLayoutEvent_GetRect" "', expected argument " "1"" of type '" "wxCalculateLayoutEvent const *""'");
12481 arg1
= reinterpret_cast< wxCalculateLayoutEvent
* >(argp1
);
12483 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12484 result
= ((wxCalculateLayoutEvent
const *)arg1
)->GetRect();
12485 wxPyEndAllowThreads(__tstate
);
12486 if (PyErr_Occurred()) SWIG_fail
;
12488 resultobj
= SWIG_NewPointerObj((new wxRect(static_cast< const wxRect
& >(result
))), SWIGTYPE_p_wxRect
, SWIG_POINTER_OWN
| 0 );
12495 SWIGINTERN PyObject
*CalculateLayoutEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12497 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
12498 SWIG_TypeNewClientData(SWIGTYPE_p_wxCalculateLayoutEvent
, SWIG_NewClientData(obj
));
12499 return SWIG_Py_Void();
12502 SWIGINTERN PyObject
*CalculateLayoutEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12503 return SWIG_Python_InitShadowInstance(args
);
12506 SWIGINTERN PyObject
*_wrap_new_SashLayoutWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12507 PyObject
*resultobj
= 0;
12508 wxWindow
*arg1
= (wxWindow
*) 0 ;
12509 int arg2
= (int) -1 ;
12510 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
12511 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
12512 wxSize
const &arg4_defvalue
= wxDefaultSize
;
12513 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
12514 long arg5
= (long) wxCLIP_CHILDREN
|wxSW_3D
;
12515 wxString
const &arg6_defvalue
= wxPySashLayoutNameStr
;
12516 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
12517 wxSashLayoutWindow
*result
= 0 ;
12526 bool temp6
= false ;
12527 PyObject
* obj0
= 0 ;
12528 PyObject
* obj1
= 0 ;
12529 PyObject
* obj2
= 0 ;
12530 PyObject
* obj3
= 0 ;
12531 PyObject
* obj4
= 0 ;
12532 PyObject
* obj5
= 0 ;
12533 char * kwnames
[] = {
12534 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
12537 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_SashLayoutWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
12538 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
12539 if (!SWIG_IsOK(res1
)) {
12540 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_SashLayoutWindow" "', expected argument " "1"" of type '" "wxWindow *""'");
12542 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
12544 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
12545 if (!SWIG_IsOK(ecode2
)) {
12546 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_SashLayoutWindow" "', expected argument " "2"" of type '" "int""'");
12548 arg2
= static_cast< int >(val2
);
12553 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
12559 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
12563 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
12564 if (!SWIG_IsOK(ecode5
)) {
12565 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_SashLayoutWindow" "', expected argument " "5"" of type '" "long""'");
12567 arg5
= static_cast< long >(val5
);
12571 arg6
= wxString_in_helper(obj5
);
12572 if (arg6
== NULL
) SWIG_fail
;
12577 if (!wxPyCheckForApp()) SWIG_fail
;
12578 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12579 result
= (wxSashLayoutWindow
*)new wxSashLayoutWindow(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
12580 wxPyEndAllowThreads(__tstate
);
12581 if (PyErr_Occurred()) SWIG_fail
;
12583 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSashLayoutWindow
, SWIG_POINTER_NEW
| 0 );
12598 SWIGINTERN PyObject
*_wrap_new_PreSashLayoutWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12599 PyObject
*resultobj
= 0;
12600 wxSashLayoutWindow
*result
= 0 ;
12602 if (!SWIG_Python_UnpackTuple(args
,"new_PreSashLayoutWindow",0,0,0)) SWIG_fail
;
12604 if (!wxPyCheckForApp()) SWIG_fail
;
12605 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12606 result
= (wxSashLayoutWindow
*)new wxSashLayoutWindow();
12607 wxPyEndAllowThreads(__tstate
);
12608 if (PyErr_Occurred()) SWIG_fail
;
12610 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSashLayoutWindow
, SWIG_POINTER_OWN
| 0 );
12617 SWIGINTERN PyObject
*_wrap_SashLayoutWindow_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12618 PyObject
*resultobj
= 0;
12619 wxSashLayoutWindow
*arg1
= (wxSashLayoutWindow
*) 0 ;
12620 wxWindow
*arg2
= (wxWindow
*) 0 ;
12621 int arg3
= (int) -1 ;
12622 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
12623 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
12624 wxSize
const &arg5_defvalue
= wxDefaultSize
;
12625 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
12626 long arg6
= (long) wxCLIP_CHILDREN
|wxSW_3D
;
12627 wxString
const &arg7_defvalue
= wxPySashLayoutNameStr
;
12628 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
12640 bool temp7
= false ;
12641 PyObject
* obj0
= 0 ;
12642 PyObject
* obj1
= 0 ;
12643 PyObject
* obj2
= 0 ;
12644 PyObject
* obj3
= 0 ;
12645 PyObject
* obj4
= 0 ;
12646 PyObject
* obj5
= 0 ;
12647 PyObject
* obj6
= 0 ;
12648 char * kwnames
[] = {
12649 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
12652 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:SashLayoutWindow_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
12653 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSashLayoutWindow
, 0 | 0 );
12654 if (!SWIG_IsOK(res1
)) {
12655 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashLayoutWindow_Create" "', expected argument " "1"" of type '" "wxSashLayoutWindow *""'");
12657 arg1
= reinterpret_cast< wxSashLayoutWindow
* >(argp1
);
12658 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
12659 if (!SWIG_IsOK(res2
)) {
12660 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "SashLayoutWindow_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
12662 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
12664 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
12665 if (!SWIG_IsOK(ecode3
)) {
12666 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "SashLayoutWindow_Create" "', expected argument " "3"" of type '" "int""'");
12668 arg3
= static_cast< int >(val3
);
12673 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
12679 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
12683 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
12684 if (!SWIG_IsOK(ecode6
)) {
12685 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "SashLayoutWindow_Create" "', expected argument " "6"" of type '" "long""'");
12687 arg6
= static_cast< long >(val6
);
12691 arg7
= wxString_in_helper(obj6
);
12692 if (arg7
== NULL
) SWIG_fail
;
12697 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12698 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
12699 wxPyEndAllowThreads(__tstate
);
12700 if (PyErr_Occurred()) SWIG_fail
;
12703 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12719 SWIGINTERN PyObject
*_wrap_SashLayoutWindow_GetAlignment(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12720 PyObject
*resultobj
= 0;
12721 wxSashLayoutWindow
*arg1
= (wxSashLayoutWindow
*) 0 ;
12722 wxLayoutAlignment result
;
12725 PyObject
*swig_obj
[1] ;
12727 if (!args
) SWIG_fail
;
12728 swig_obj
[0] = args
;
12729 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSashLayoutWindow
, 0 | 0 );
12730 if (!SWIG_IsOK(res1
)) {
12731 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashLayoutWindow_GetAlignment" "', expected argument " "1"" of type '" "wxSashLayoutWindow *""'");
12733 arg1
= reinterpret_cast< wxSashLayoutWindow
* >(argp1
);
12735 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12736 result
= (wxLayoutAlignment
)(arg1
)->GetAlignment();
12737 wxPyEndAllowThreads(__tstate
);
12738 if (PyErr_Occurred()) SWIG_fail
;
12740 resultobj
= SWIG_From_int(static_cast< int >(result
));
12747 SWIGINTERN PyObject
*_wrap_SashLayoutWindow_GetOrientation(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12748 PyObject
*resultobj
= 0;
12749 wxSashLayoutWindow
*arg1
= (wxSashLayoutWindow
*) 0 ;
12750 wxLayoutOrientation result
;
12753 PyObject
*swig_obj
[1] ;
12755 if (!args
) SWIG_fail
;
12756 swig_obj
[0] = args
;
12757 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSashLayoutWindow
, 0 | 0 );
12758 if (!SWIG_IsOK(res1
)) {
12759 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashLayoutWindow_GetOrientation" "', expected argument " "1"" of type '" "wxSashLayoutWindow *""'");
12761 arg1
= reinterpret_cast< wxSashLayoutWindow
* >(argp1
);
12763 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12764 result
= (wxLayoutOrientation
)(arg1
)->GetOrientation();
12765 wxPyEndAllowThreads(__tstate
);
12766 if (PyErr_Occurred()) SWIG_fail
;
12768 resultobj
= SWIG_From_int(static_cast< int >(result
));
12775 SWIGINTERN PyObject
*_wrap_SashLayoutWindow_SetAlignment(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12776 PyObject
*resultobj
= 0;
12777 wxSashLayoutWindow
*arg1
= (wxSashLayoutWindow
*) 0 ;
12778 wxLayoutAlignment arg2
;
12783 PyObject
* obj0
= 0 ;
12784 PyObject
* obj1
= 0 ;
12785 char * kwnames
[] = {
12786 (char *) "self",(char *) "alignment", NULL
12789 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashLayoutWindow_SetAlignment",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12790 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSashLayoutWindow
, 0 | 0 );
12791 if (!SWIG_IsOK(res1
)) {
12792 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashLayoutWindow_SetAlignment" "', expected argument " "1"" of type '" "wxSashLayoutWindow *""'");
12794 arg1
= reinterpret_cast< wxSashLayoutWindow
* >(argp1
);
12795 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
12796 if (!SWIG_IsOK(ecode2
)) {
12797 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SashLayoutWindow_SetAlignment" "', expected argument " "2"" of type '" "wxLayoutAlignment""'");
12799 arg2
= static_cast< wxLayoutAlignment
>(val2
);
12801 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12802 (arg1
)->SetAlignment(arg2
);
12803 wxPyEndAllowThreads(__tstate
);
12804 if (PyErr_Occurred()) SWIG_fail
;
12806 resultobj
= SWIG_Py_Void();
12813 SWIGINTERN PyObject
*_wrap_SashLayoutWindow_SetDefaultSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12814 PyObject
*resultobj
= 0;
12815 wxSashLayoutWindow
*arg1
= (wxSashLayoutWindow
*) 0 ;
12820 PyObject
* obj0
= 0 ;
12821 PyObject
* obj1
= 0 ;
12822 char * kwnames
[] = {
12823 (char *) "self",(char *) "size", NULL
12826 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashLayoutWindow_SetDefaultSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12827 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSashLayoutWindow
, 0 | 0 );
12828 if (!SWIG_IsOK(res1
)) {
12829 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashLayoutWindow_SetDefaultSize" "', expected argument " "1"" of type '" "wxSashLayoutWindow *""'");
12831 arg1
= reinterpret_cast< wxSashLayoutWindow
* >(argp1
);
12834 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
12837 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12838 (arg1
)->SetDefaultSize((wxSize
const &)*arg2
);
12839 wxPyEndAllowThreads(__tstate
);
12840 if (PyErr_Occurred()) SWIG_fail
;
12842 resultobj
= SWIG_Py_Void();
12849 SWIGINTERN PyObject
*_wrap_SashLayoutWindow_SetOrientation(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12850 PyObject
*resultobj
= 0;
12851 wxSashLayoutWindow
*arg1
= (wxSashLayoutWindow
*) 0 ;
12852 wxLayoutOrientation arg2
;
12857 PyObject
* obj0
= 0 ;
12858 PyObject
* obj1
= 0 ;
12859 char * kwnames
[] = {
12860 (char *) "self",(char *) "orientation", NULL
12863 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashLayoutWindow_SetOrientation",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12864 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSashLayoutWindow
, 0 | 0 );
12865 if (!SWIG_IsOK(res1
)) {
12866 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashLayoutWindow_SetOrientation" "', expected argument " "1"" of type '" "wxSashLayoutWindow *""'");
12868 arg1
= reinterpret_cast< wxSashLayoutWindow
* >(argp1
);
12869 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
12870 if (!SWIG_IsOK(ecode2
)) {
12871 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SashLayoutWindow_SetOrientation" "', expected argument " "2"" of type '" "wxLayoutOrientation""'");
12873 arg2
= static_cast< wxLayoutOrientation
>(val2
);
12875 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12876 (arg1
)->SetOrientation(arg2
);
12877 wxPyEndAllowThreads(__tstate
);
12878 if (PyErr_Occurred()) SWIG_fail
;
12880 resultobj
= SWIG_Py_Void();
12887 SWIGINTERN PyObject
*SashLayoutWindow_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12889 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
12890 SWIG_TypeNewClientData(SWIGTYPE_p_wxSashLayoutWindow
, SWIG_NewClientData(obj
));
12891 return SWIG_Py_Void();
12894 SWIGINTERN PyObject
*SashLayoutWindow_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12895 return SWIG_Python_InitShadowInstance(args
);
12898 SWIGINTERN PyObject
*_wrap_new_LayoutAlgorithm(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12899 PyObject
*resultobj
= 0;
12900 wxLayoutAlgorithm
*result
= 0 ;
12902 if (!SWIG_Python_UnpackTuple(args
,"new_LayoutAlgorithm",0,0,0)) SWIG_fail
;
12904 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12905 result
= (wxLayoutAlgorithm
*)new wxLayoutAlgorithm();
12906 wxPyEndAllowThreads(__tstate
);
12907 if (PyErr_Occurred()) SWIG_fail
;
12909 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxLayoutAlgorithm
, SWIG_POINTER_NEW
| 0 );
12916 SWIGINTERN PyObject
*_wrap_delete_LayoutAlgorithm(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12917 PyObject
*resultobj
= 0;
12918 wxLayoutAlgorithm
*arg1
= (wxLayoutAlgorithm
*) 0 ;
12921 PyObject
*swig_obj
[1] ;
12923 if (!args
) SWIG_fail
;
12924 swig_obj
[0] = args
;
12925 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLayoutAlgorithm
, SWIG_POINTER_DISOWN
| 0 );
12926 if (!SWIG_IsOK(res1
)) {
12927 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_LayoutAlgorithm" "', expected argument " "1"" of type '" "wxLayoutAlgorithm *""'");
12929 arg1
= reinterpret_cast< wxLayoutAlgorithm
* >(argp1
);
12931 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12934 wxPyEndAllowThreads(__tstate
);
12935 if (PyErr_Occurred()) SWIG_fail
;
12937 resultobj
= SWIG_Py_Void();
12944 SWIGINTERN PyObject
*_wrap_LayoutAlgorithm_LayoutMDIFrame(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12945 PyObject
*resultobj
= 0;
12946 wxLayoutAlgorithm
*arg1
= (wxLayoutAlgorithm
*) 0 ;
12947 wxMDIParentFrame
*arg2
= (wxMDIParentFrame
*) 0 ;
12948 wxRect
*arg3
= (wxRect
*) NULL
;
12956 PyObject
* obj0
= 0 ;
12957 PyObject
* obj1
= 0 ;
12958 PyObject
* obj2
= 0 ;
12959 char * kwnames
[] = {
12960 (char *) "self",(char *) "frame",(char *) "rect", NULL
12963 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:LayoutAlgorithm_LayoutMDIFrame",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
12964 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxLayoutAlgorithm
, 0 | 0 );
12965 if (!SWIG_IsOK(res1
)) {
12966 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "LayoutAlgorithm_LayoutMDIFrame" "', expected argument " "1"" of type '" "wxLayoutAlgorithm *""'");
12968 arg1
= reinterpret_cast< wxLayoutAlgorithm
* >(argp1
);
12969 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxMDIParentFrame
, 0 | 0 );
12970 if (!SWIG_IsOK(res2
)) {
12971 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "LayoutAlgorithm_LayoutMDIFrame" "', expected argument " "2"" of type '" "wxMDIParentFrame *""'");
12973 arg2
= reinterpret_cast< wxMDIParentFrame
* >(argp2
);
12975 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxRect
, 0 | 0 );
12976 if (!SWIG_IsOK(res3
)) {
12977 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "LayoutAlgorithm_LayoutMDIFrame" "', expected argument " "3"" of type '" "wxRect *""'");
12979 arg3
= reinterpret_cast< wxRect
* >(argp3
);
12982 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12983 result
= (bool)(arg1
)->LayoutMDIFrame(arg2
,arg3
);
12984 wxPyEndAllowThreads(__tstate
);
12985 if (PyErr_Occurred()) SWIG_fail
;
12988 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12996 SWIGINTERN PyObject
*_wrap_LayoutAlgorithm_LayoutFrame(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12997 PyObject
*resultobj
= 0;
12998 wxLayoutAlgorithm
*arg1
= (wxLayoutAlgorithm
*) 0 ;
12999 wxFrame
*arg2
= (wxFrame
*) 0 ;
13000 wxWindow
*arg3
= (wxWindow
*) NULL
;
13008 PyObject
* obj0
= 0 ;
13009 PyObject
* obj1
= 0 ;
13010 PyObject
* obj2
= 0 ;
13011 char * kwnames
[] = {
13012 (char *) "self",(char *) "frame",(char *) "mainWindow", NULL
13015 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:LayoutAlgorithm_LayoutFrame",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
13016 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxLayoutAlgorithm
, 0 | 0 );
13017 if (!SWIG_IsOK(res1
)) {
13018 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "LayoutAlgorithm_LayoutFrame" "', expected argument " "1"" of type '" "wxLayoutAlgorithm *""'");
13020 arg1
= reinterpret_cast< wxLayoutAlgorithm
* >(argp1
);
13021 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxFrame
, 0 | 0 );
13022 if (!SWIG_IsOK(res2
)) {
13023 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "LayoutAlgorithm_LayoutFrame" "', expected argument " "2"" of type '" "wxFrame *""'");
13025 arg2
= reinterpret_cast< wxFrame
* >(argp2
);
13027 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxWindow
, 0 | 0 );
13028 if (!SWIG_IsOK(res3
)) {
13029 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "LayoutAlgorithm_LayoutFrame" "', expected argument " "3"" of type '" "wxWindow *""'");
13031 arg3
= reinterpret_cast< wxWindow
* >(argp3
);
13034 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13035 result
= (bool)(arg1
)->LayoutFrame(arg2
,arg3
);
13036 wxPyEndAllowThreads(__tstate
);
13037 if (PyErr_Occurred()) SWIG_fail
;
13040 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13048 SWIGINTERN PyObject
*_wrap_LayoutAlgorithm_LayoutWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13049 PyObject
*resultobj
= 0;
13050 wxLayoutAlgorithm
*arg1
= (wxLayoutAlgorithm
*) 0 ;
13051 wxWindow
*arg2
= (wxWindow
*) 0 ;
13052 wxWindow
*arg3
= (wxWindow
*) NULL
;
13060 PyObject
* obj0
= 0 ;
13061 PyObject
* obj1
= 0 ;
13062 PyObject
* obj2
= 0 ;
13063 char * kwnames
[] = {
13064 (char *) "self",(char *) "parent",(char *) "mainWindow", NULL
13067 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:LayoutAlgorithm_LayoutWindow",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
13068 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxLayoutAlgorithm
, 0 | 0 );
13069 if (!SWIG_IsOK(res1
)) {
13070 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "LayoutAlgorithm_LayoutWindow" "', expected argument " "1"" of type '" "wxLayoutAlgorithm *""'");
13072 arg1
= reinterpret_cast< wxLayoutAlgorithm
* >(argp1
);
13073 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
13074 if (!SWIG_IsOK(res2
)) {
13075 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "LayoutAlgorithm_LayoutWindow" "', expected argument " "2"" of type '" "wxWindow *""'");
13077 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
13079 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxWindow
, 0 | 0 );
13080 if (!SWIG_IsOK(res3
)) {
13081 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "LayoutAlgorithm_LayoutWindow" "', expected argument " "3"" of type '" "wxWindow *""'");
13083 arg3
= reinterpret_cast< wxWindow
* >(argp3
);
13086 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13087 result
= (bool)(arg1
)->LayoutWindow(arg2
,arg3
);
13088 wxPyEndAllowThreads(__tstate
);
13089 if (PyErr_Occurred()) SWIG_fail
;
13092 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13100 SWIGINTERN PyObject
*LayoutAlgorithm_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13102 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
13103 SWIG_TypeNewClientData(SWIGTYPE_p_wxLayoutAlgorithm
, SWIG_NewClientData(obj
));
13104 return SWIG_Py_Void();
13107 SWIGINTERN PyObject
*LayoutAlgorithm_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13108 return SWIG_Python_InitShadowInstance(args
);
13111 SWIGINTERN PyObject
*_wrap_new_PopupWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13112 PyObject
*resultobj
= 0;
13113 wxWindow
*arg1
= (wxWindow
*) 0 ;
13114 int arg2
= (int) wxBORDER_NONE
;
13115 wxPopupWindow
*result
= 0 ;
13120 PyObject
* obj0
= 0 ;
13121 PyObject
* obj1
= 0 ;
13122 char * kwnames
[] = {
13123 (char *) "parent",(char *) "flags", NULL
13126 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_PopupWindow",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13127 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
13128 if (!SWIG_IsOK(res1
)) {
13129 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PopupWindow" "', expected argument " "1"" of type '" "wxWindow *""'");
13131 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
13133 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
13134 if (!SWIG_IsOK(ecode2
)) {
13135 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_PopupWindow" "', expected argument " "2"" of type '" "int""'");
13137 arg2
= static_cast< int >(val2
);
13140 if (!wxPyCheckForApp()) SWIG_fail
;
13141 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13142 result
= (wxPopupWindow
*)new wxPopupWindow(arg1
,arg2
);
13143 wxPyEndAllowThreads(__tstate
);
13144 if (PyErr_Occurred()) SWIG_fail
;
13146 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPopupWindow
, SWIG_POINTER_NEW
| 0 );
13153 SWIGINTERN PyObject
*_wrap_new_PrePopupWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13154 PyObject
*resultobj
= 0;
13155 wxPopupWindow
*result
= 0 ;
13157 if (!SWIG_Python_UnpackTuple(args
,"new_PrePopupWindow",0,0,0)) SWIG_fail
;
13159 if (!wxPyCheckForApp()) SWIG_fail
;
13160 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13161 result
= (wxPopupWindow
*)new wxPopupWindow();
13162 wxPyEndAllowThreads(__tstate
);
13163 if (PyErr_Occurred()) SWIG_fail
;
13165 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPopupWindow
, SWIG_POINTER_OWN
| 0 );
13172 SWIGINTERN PyObject
*_wrap_PopupWindow_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13173 PyObject
*resultobj
= 0;
13174 wxPopupWindow
*arg1
= (wxPopupWindow
*) 0 ;
13175 wxWindow
*arg2
= (wxWindow
*) 0 ;
13176 int arg3
= (int) wxBORDER_NONE
;
13184 PyObject
* obj0
= 0 ;
13185 PyObject
* obj1
= 0 ;
13186 PyObject
* obj2
= 0 ;
13187 char * kwnames
[] = {
13188 (char *) "self",(char *) "parent",(char *) "flags", NULL
13191 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:PopupWindow_Create",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
13192 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPopupWindow
, 0 | 0 );
13193 if (!SWIG_IsOK(res1
)) {
13194 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PopupWindow_Create" "', expected argument " "1"" of type '" "wxPopupWindow *""'");
13196 arg1
= reinterpret_cast< wxPopupWindow
* >(argp1
);
13197 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
13198 if (!SWIG_IsOK(res2
)) {
13199 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PopupWindow_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
13201 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
13203 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
13204 if (!SWIG_IsOK(ecode3
)) {
13205 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PopupWindow_Create" "', expected argument " "3"" of type '" "int""'");
13207 arg3
= static_cast< int >(val3
);
13210 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13211 result
= (bool)(arg1
)->Create(arg2
,arg3
);
13212 wxPyEndAllowThreads(__tstate
);
13213 if (PyErr_Occurred()) SWIG_fail
;
13216 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13224 SWIGINTERN PyObject
*_wrap_PopupWindow_Position(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13225 PyObject
*resultobj
= 0;
13226 wxPopupWindow
*arg1
= (wxPopupWindow
*) 0 ;
13227 wxPoint
*arg2
= 0 ;
13233 PyObject
* obj0
= 0 ;
13234 PyObject
* obj1
= 0 ;
13235 PyObject
* obj2
= 0 ;
13236 char * kwnames
[] = {
13237 (char *) "self",(char *) "ptOrigin",(char *) "size", NULL
13240 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PopupWindow_Position",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
13241 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPopupWindow
, 0 | 0 );
13242 if (!SWIG_IsOK(res1
)) {
13243 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PopupWindow_Position" "', expected argument " "1"" of type '" "wxPopupWindow *""'");
13245 arg1
= reinterpret_cast< wxPopupWindow
* >(argp1
);
13248 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
13252 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
13255 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13256 (arg1
)->Position((wxPoint
const &)*arg2
,(wxSize
const &)*arg3
);
13257 wxPyEndAllowThreads(__tstate
);
13258 if (PyErr_Occurred()) SWIG_fail
;
13260 resultobj
= SWIG_Py_Void();
13267 SWIGINTERN PyObject
*PopupWindow_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13269 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
13270 SWIG_TypeNewClientData(SWIGTYPE_p_wxPopupWindow
, SWIG_NewClientData(obj
));
13271 return SWIG_Py_Void();
13274 SWIGINTERN PyObject
*PopupWindow_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13275 return SWIG_Python_InitShadowInstance(args
);
13278 SWIGINTERN PyObject
*_wrap_new_PopupTransientWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13279 PyObject
*resultobj
= 0;
13280 wxWindow
*arg1
= (wxWindow
*) 0 ;
13281 int arg2
= (int) wxBORDER_NONE
;
13282 wxPyPopupTransientWindow
*result
= 0 ;
13287 PyObject
* obj0
= 0 ;
13288 PyObject
* obj1
= 0 ;
13289 char * kwnames
[] = {
13290 (char *) "parent",(char *) "style", NULL
13293 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_PopupTransientWindow",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13294 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
13295 if (!SWIG_IsOK(res1
)) {
13296 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PopupTransientWindow" "', expected argument " "1"" of type '" "wxWindow *""'");
13298 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
13300 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
13301 if (!SWIG_IsOK(ecode2
)) {
13302 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_PopupTransientWindow" "', expected argument " "2"" of type '" "int""'");
13304 arg2
= static_cast< int >(val2
);
13307 if (!wxPyCheckForApp()) SWIG_fail
;
13308 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13309 result
= (wxPyPopupTransientWindow
*)new wxPyPopupTransientWindow(arg1
,arg2
);
13310 wxPyEndAllowThreads(__tstate
);
13311 if (PyErr_Occurred()) SWIG_fail
;
13313 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyPopupTransientWindow
, SWIG_POINTER_NEW
| 0 );
13320 SWIGINTERN PyObject
*_wrap_new_PrePopupTransientWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13321 PyObject
*resultobj
= 0;
13322 wxPyPopupTransientWindow
*result
= 0 ;
13324 if (!SWIG_Python_UnpackTuple(args
,"new_PrePopupTransientWindow",0,0,0)) SWIG_fail
;
13326 if (!wxPyCheckForApp()) SWIG_fail
;
13327 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13328 result
= (wxPyPopupTransientWindow
*)new wxPyPopupTransientWindow();
13329 wxPyEndAllowThreads(__tstate
);
13330 if (PyErr_Occurred()) SWIG_fail
;
13332 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyPopupTransientWindow
, SWIG_POINTER_OWN
| 0 );
13339 SWIGINTERN PyObject
*_wrap_PopupTransientWindow__setCallbackInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13340 PyObject
*resultobj
= 0;
13341 wxPyPopupTransientWindow
*arg1
= (wxPyPopupTransientWindow
*) 0 ;
13342 PyObject
*arg2
= (PyObject
*) 0 ;
13343 PyObject
*arg3
= (PyObject
*) 0 ;
13346 PyObject
* obj0
= 0 ;
13347 PyObject
* obj1
= 0 ;
13348 PyObject
* obj2
= 0 ;
13349 char * kwnames
[] = {
13350 (char *) "self",(char *) "self",(char *) "_class", NULL
13353 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PopupTransientWindow__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
13354 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPopupTransientWindow
, 0 | 0 );
13355 if (!SWIG_IsOK(res1
)) {
13356 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PopupTransientWindow__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyPopupTransientWindow *""'");
13358 arg1
= reinterpret_cast< wxPyPopupTransientWindow
* >(argp1
);
13362 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13363 (arg1
)->_setCallbackInfo(arg2
,arg3
);
13364 wxPyEndAllowThreads(__tstate
);
13365 if (PyErr_Occurred()) SWIG_fail
;
13367 resultobj
= SWIG_Py_Void();
13374 SWIGINTERN PyObject
*_wrap_PopupTransientWindow_Popup(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13375 PyObject
*resultobj
= 0;
13376 wxPyPopupTransientWindow
*arg1
= (wxPyPopupTransientWindow
*) 0 ;
13377 wxWindow
*arg2
= (wxWindow
*) NULL
;
13382 PyObject
* obj0
= 0 ;
13383 PyObject
* obj1
= 0 ;
13384 char * kwnames
[] = {
13385 (char *) "self",(char *) "focus", NULL
13388 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:PopupTransientWindow_Popup",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13389 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPopupTransientWindow
, 0 | 0 );
13390 if (!SWIG_IsOK(res1
)) {
13391 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PopupTransientWindow_Popup" "', expected argument " "1"" of type '" "wxPyPopupTransientWindow *""'");
13393 arg1
= reinterpret_cast< wxPyPopupTransientWindow
* >(argp1
);
13395 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
13396 if (!SWIG_IsOK(res2
)) {
13397 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PopupTransientWindow_Popup" "', expected argument " "2"" of type '" "wxWindow *""'");
13399 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
13402 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13403 (arg1
)->Popup(arg2
);
13404 wxPyEndAllowThreads(__tstate
);
13405 if (PyErr_Occurred()) SWIG_fail
;
13407 resultobj
= SWIG_Py_Void();
13414 SWIGINTERN PyObject
*_wrap_PopupTransientWindow_Dismiss(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13415 PyObject
*resultobj
= 0;
13416 wxPyPopupTransientWindow
*arg1
= (wxPyPopupTransientWindow
*) 0 ;
13419 PyObject
*swig_obj
[1] ;
13421 if (!args
) SWIG_fail
;
13422 swig_obj
[0] = args
;
13423 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPopupTransientWindow
, 0 | 0 );
13424 if (!SWIG_IsOK(res1
)) {
13425 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PopupTransientWindow_Dismiss" "', expected argument " "1"" of type '" "wxPyPopupTransientWindow *""'");
13427 arg1
= reinterpret_cast< wxPyPopupTransientWindow
* >(argp1
);
13429 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13431 wxPyEndAllowThreads(__tstate
);
13432 if (PyErr_Occurred()) SWIG_fail
;
13434 resultobj
= SWIG_Py_Void();
13441 SWIGINTERN PyObject
*PopupTransientWindow_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13443 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
13444 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyPopupTransientWindow
, SWIG_NewClientData(obj
));
13445 return SWIG_Py_Void();
13448 SWIGINTERN PyObject
*PopupTransientWindow_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13449 return SWIG_Python_InitShadowInstance(args
);
13452 SWIGINTERN PyObject
*_wrap_new_TipWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13453 PyObject
*resultobj
= 0;
13454 wxWindow
*arg1
= (wxWindow
*) 0 ;
13455 wxString
*arg2
= 0 ;
13456 int arg3
= (int) 100 ;
13457 wxRect
*arg4
= (wxRect
*) NULL
;
13458 wxTipWindow
*result
= 0 ;
13461 bool temp2
= false ;
13466 PyObject
* obj0
= 0 ;
13467 PyObject
* obj1
= 0 ;
13468 PyObject
* obj2
= 0 ;
13469 PyObject
* obj3
= 0 ;
13470 char * kwnames
[] = {
13471 (char *) "parent",(char *) "text",(char *) "maxLength",(char *) "rectBound", NULL
13474 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:new_TipWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
13475 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
13476 if (!SWIG_IsOK(res1
)) {
13477 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_TipWindow" "', expected argument " "1"" of type '" "wxWindow *""'");
13479 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
13481 arg2
= wxString_in_helper(obj1
);
13482 if (arg2
== NULL
) SWIG_fail
;
13486 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
13487 if (!SWIG_IsOK(ecode3
)) {
13488 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_TipWindow" "', expected argument " "3"" of type '" "int""'");
13490 arg3
= static_cast< int >(val3
);
13493 res4
= SWIG_ConvertPtr(obj3
, &argp4
,SWIGTYPE_p_wxRect
, 0 | 0 );
13494 if (!SWIG_IsOK(res4
)) {
13495 SWIG_exception_fail(SWIG_ArgError(res4
), "in method '" "new_TipWindow" "', expected argument " "4"" of type '" "wxRect *""'");
13497 arg4
= reinterpret_cast< wxRect
* >(argp4
);
13500 if (!wxPyCheckForApp()) SWIG_fail
;
13501 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13502 result
= (wxTipWindow
*)new_wxTipWindow(arg1
,(wxString
const &)*arg2
,arg3
,arg4
);
13503 wxPyEndAllowThreads(__tstate
);
13504 if (PyErr_Occurred()) SWIG_fail
;
13506 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxTipWindow
, SWIG_POINTER_NEW
| 0 );
13521 SWIGINTERN PyObject
*_wrap_TipWindow_SetBoundingRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13522 PyObject
*resultobj
= 0;
13523 wxTipWindow
*arg1
= (wxTipWindow
*) 0 ;
13528 PyObject
* obj0
= 0 ;
13529 PyObject
* obj1
= 0 ;
13530 char * kwnames
[] = {
13531 (char *) "self",(char *) "rectBound", NULL
13534 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TipWindow_SetBoundingRect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13535 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTipWindow
, 0 | 0 );
13536 if (!SWIG_IsOK(res1
)) {
13537 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TipWindow_SetBoundingRect" "', expected argument " "1"" of type '" "wxTipWindow *""'");
13539 arg1
= reinterpret_cast< wxTipWindow
* >(argp1
);
13542 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
13545 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13546 (arg1
)->SetBoundingRect((wxRect
const &)*arg2
);
13547 wxPyEndAllowThreads(__tstate
);
13548 if (PyErr_Occurred()) SWIG_fail
;
13550 resultobj
= SWIG_Py_Void();
13557 SWIGINTERN PyObject
*_wrap_TipWindow_Close(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13558 PyObject
*resultobj
= 0;
13559 wxTipWindow
*arg1
= (wxTipWindow
*) 0 ;
13562 PyObject
*swig_obj
[1] ;
13564 if (!args
) SWIG_fail
;
13565 swig_obj
[0] = args
;
13566 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTipWindow
, 0 | 0 );
13567 if (!SWIG_IsOK(res1
)) {
13568 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TipWindow_Close" "', expected argument " "1"" of type '" "wxTipWindow *""'");
13570 arg1
= reinterpret_cast< wxTipWindow
* >(argp1
);
13572 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13574 wxPyEndAllowThreads(__tstate
);
13575 if (PyErr_Occurred()) SWIG_fail
;
13577 resultobj
= SWIG_Py_Void();
13584 SWIGINTERN PyObject
*TipWindow_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13586 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
13587 SWIG_TypeNewClientData(SWIGTYPE_p_wxTipWindow
, SWIG_NewClientData(obj
));
13588 return SWIG_Py_Void();
13591 SWIGINTERN PyObject
*TipWindow_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13592 return SWIG_Python_InitShadowInstance(args
);
13595 SWIGINTERN PyObject
*_wrap_new_VScrolledWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13596 PyObject
*resultobj
= 0;
13597 wxWindow
*arg1
= (wxWindow
*) 0 ;
13598 int arg2
= (int) wxID_ANY
;
13599 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
13600 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
13601 wxSize
const &arg4_defvalue
= wxDefaultSize
;
13602 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
13603 long arg5
= (long) 0 ;
13604 wxString
const &arg6_defvalue
= wxPyPanelNameStr
;
13605 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
13606 wxPyVScrolledWindow
*result
= 0 ;
13615 bool temp6
= false ;
13616 PyObject
* obj0
= 0 ;
13617 PyObject
* obj1
= 0 ;
13618 PyObject
* obj2
= 0 ;
13619 PyObject
* obj3
= 0 ;
13620 PyObject
* obj4
= 0 ;
13621 PyObject
* obj5
= 0 ;
13622 char * kwnames
[] = {
13623 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
13626 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_VScrolledWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
13627 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
13628 if (!SWIG_IsOK(res1
)) {
13629 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_VScrolledWindow" "', expected argument " "1"" of type '" "wxWindow *""'");
13631 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
13633 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
13634 if (!SWIG_IsOK(ecode2
)) {
13635 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_VScrolledWindow" "', expected argument " "2"" of type '" "int""'");
13637 arg2
= static_cast< int >(val2
);
13642 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
13648 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
13652 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
13653 if (!SWIG_IsOK(ecode5
)) {
13654 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_VScrolledWindow" "', expected argument " "5"" of type '" "long""'");
13656 arg5
= static_cast< long >(val5
);
13660 arg6
= wxString_in_helper(obj5
);
13661 if (arg6
== NULL
) SWIG_fail
;
13666 if (!wxPyCheckForApp()) SWIG_fail
;
13667 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13668 result
= (wxPyVScrolledWindow
*)new wxPyVScrolledWindow(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
13669 wxPyEndAllowThreads(__tstate
);
13670 if (PyErr_Occurred()) SWIG_fail
;
13672 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyVScrolledWindow
, SWIG_POINTER_NEW
| 0 );
13687 SWIGINTERN PyObject
*_wrap_new_PreVScrolledWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13688 PyObject
*resultobj
= 0;
13689 wxPyVScrolledWindow
*result
= 0 ;
13691 if (!SWIG_Python_UnpackTuple(args
,"new_PreVScrolledWindow",0,0,0)) SWIG_fail
;
13693 if (!wxPyCheckForApp()) SWIG_fail
;
13694 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13695 result
= (wxPyVScrolledWindow
*)new wxPyVScrolledWindow();
13696 wxPyEndAllowThreads(__tstate
);
13697 if (PyErr_Occurred()) SWIG_fail
;
13699 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyVScrolledWindow
, SWIG_POINTER_OWN
| 0 );
13706 SWIGINTERN PyObject
*_wrap_VScrolledWindow__setCallbackInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13707 PyObject
*resultobj
= 0;
13708 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
13709 PyObject
*arg2
= (PyObject
*) 0 ;
13710 PyObject
*arg3
= (PyObject
*) 0 ;
13713 PyObject
* obj0
= 0 ;
13714 PyObject
* obj1
= 0 ;
13715 PyObject
* obj2
= 0 ;
13716 char * kwnames
[] = {
13717 (char *) "self",(char *) "self",(char *) "_class", NULL
13720 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:VScrolledWindow__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
13721 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyVScrolledWindow
, 0 | 0 );
13722 if (!SWIG_IsOK(res1
)) {
13723 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VScrolledWindow__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyVScrolledWindow *""'");
13725 arg1
= reinterpret_cast< wxPyVScrolledWindow
* >(argp1
);
13729 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13730 (arg1
)->_setCallbackInfo(arg2
,arg3
);
13731 wxPyEndAllowThreads(__tstate
);
13732 if (PyErr_Occurred()) SWIG_fail
;
13734 resultobj
= SWIG_Py_Void();
13741 SWIGINTERN PyObject
*_wrap_VScrolledWindow_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13742 PyObject
*resultobj
= 0;
13743 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
13744 wxWindow
*arg2
= (wxWindow
*) 0 ;
13745 int arg3
= (int) wxID_ANY
;
13746 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
13747 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
13748 wxSize
const &arg5_defvalue
= wxDefaultSize
;
13749 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
13750 long arg6
= (long) 0 ;
13751 wxString
const &arg7_defvalue
= wxPyPanelNameStr
;
13752 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
13764 bool temp7
= false ;
13765 PyObject
* obj0
= 0 ;
13766 PyObject
* obj1
= 0 ;
13767 PyObject
* obj2
= 0 ;
13768 PyObject
* obj3
= 0 ;
13769 PyObject
* obj4
= 0 ;
13770 PyObject
* obj5
= 0 ;
13771 PyObject
* obj6
= 0 ;
13772 char * kwnames
[] = {
13773 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
13776 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:VScrolledWindow_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
13777 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyVScrolledWindow
, 0 | 0 );
13778 if (!SWIG_IsOK(res1
)) {
13779 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VScrolledWindow_Create" "', expected argument " "1"" of type '" "wxPyVScrolledWindow *""'");
13781 arg1
= reinterpret_cast< wxPyVScrolledWindow
* >(argp1
);
13782 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
13783 if (!SWIG_IsOK(res2
)) {
13784 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "VScrolledWindow_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
13786 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
13788 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
13789 if (!SWIG_IsOK(ecode3
)) {
13790 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "VScrolledWindow_Create" "', expected argument " "3"" of type '" "int""'");
13792 arg3
= static_cast< int >(val3
);
13797 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
13803 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
13807 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
13808 if (!SWIG_IsOK(ecode6
)) {
13809 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "VScrolledWindow_Create" "', expected argument " "6"" of type '" "long""'");
13811 arg6
= static_cast< long >(val6
);
13815 arg7
= wxString_in_helper(obj6
);
13816 if (arg7
== NULL
) SWIG_fail
;
13821 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13822 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
13823 wxPyEndAllowThreads(__tstate
);
13824 if (PyErr_Occurred()) SWIG_fail
;
13827 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13843 SWIGINTERN PyObject
*_wrap_VScrolledWindow_SetLineCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13844 PyObject
*resultobj
= 0;
13845 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
13851 PyObject
* obj0
= 0 ;
13852 PyObject
* obj1
= 0 ;
13853 char * kwnames
[] = {
13854 (char *) "self",(char *) "count", NULL
13857 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VScrolledWindow_SetLineCount",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13858 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyVScrolledWindow
, 0 | 0 );
13859 if (!SWIG_IsOK(res1
)) {
13860 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VScrolledWindow_SetLineCount" "', expected argument " "1"" of type '" "wxPyVScrolledWindow *""'");
13862 arg1
= reinterpret_cast< wxPyVScrolledWindow
* >(argp1
);
13863 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
13864 if (!SWIG_IsOK(ecode2
)) {
13865 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "VScrolledWindow_SetLineCount" "', expected argument " "2"" of type '" "size_t""'");
13867 arg2
= static_cast< size_t >(val2
);
13869 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13870 (arg1
)->SetLineCount(arg2
);
13871 wxPyEndAllowThreads(__tstate
);
13872 if (PyErr_Occurred()) SWIG_fail
;
13874 resultobj
= SWIG_Py_Void();
13881 SWIGINTERN PyObject
*_wrap_VScrolledWindow_ScrollToLine(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13882 PyObject
*resultobj
= 0;
13883 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
13890 PyObject
* obj0
= 0 ;
13891 PyObject
* obj1
= 0 ;
13892 char * kwnames
[] = {
13893 (char *) "self",(char *) "line", NULL
13896 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VScrolledWindow_ScrollToLine",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13897 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyVScrolledWindow
, 0 | 0 );
13898 if (!SWIG_IsOK(res1
)) {
13899 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VScrolledWindow_ScrollToLine" "', expected argument " "1"" of type '" "wxPyVScrolledWindow *""'");
13901 arg1
= reinterpret_cast< wxPyVScrolledWindow
* >(argp1
);
13902 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
13903 if (!SWIG_IsOK(ecode2
)) {
13904 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "VScrolledWindow_ScrollToLine" "', expected argument " "2"" of type '" "size_t""'");
13906 arg2
= static_cast< size_t >(val2
);
13908 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13909 result
= (bool)(arg1
)->ScrollToLine(arg2
);
13910 wxPyEndAllowThreads(__tstate
);
13911 if (PyErr_Occurred()) SWIG_fail
;
13914 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13922 SWIGINTERN PyObject
*_wrap_VScrolledWindow_RefreshLine(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13923 PyObject
*resultobj
= 0;
13924 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
13930 PyObject
* obj0
= 0 ;
13931 PyObject
* obj1
= 0 ;
13932 char * kwnames
[] = {
13933 (char *) "self",(char *) "line", NULL
13936 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VScrolledWindow_RefreshLine",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13937 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyVScrolledWindow
, 0 | 0 );
13938 if (!SWIG_IsOK(res1
)) {
13939 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VScrolledWindow_RefreshLine" "', expected argument " "1"" of type '" "wxPyVScrolledWindow *""'");
13941 arg1
= reinterpret_cast< wxPyVScrolledWindow
* >(argp1
);
13942 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
13943 if (!SWIG_IsOK(ecode2
)) {
13944 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "VScrolledWindow_RefreshLine" "', expected argument " "2"" of type '" "size_t""'");
13946 arg2
= static_cast< size_t >(val2
);
13948 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13949 (arg1
)->RefreshLine(arg2
);
13950 wxPyEndAllowThreads(__tstate
);
13951 if (PyErr_Occurred()) SWIG_fail
;
13953 resultobj
= SWIG_Py_Void();
13960 SWIGINTERN PyObject
*_wrap_VScrolledWindow_RefreshLines(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13961 PyObject
*resultobj
= 0;
13962 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
13971 PyObject
* obj0
= 0 ;
13972 PyObject
* obj1
= 0 ;
13973 PyObject
* obj2
= 0 ;
13974 char * kwnames
[] = {
13975 (char *) "self",(char *) "from",(char *) "to", NULL
13978 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:VScrolledWindow_RefreshLines",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
13979 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyVScrolledWindow
, 0 | 0 );
13980 if (!SWIG_IsOK(res1
)) {
13981 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VScrolledWindow_RefreshLines" "', expected argument " "1"" of type '" "wxPyVScrolledWindow *""'");
13983 arg1
= reinterpret_cast< wxPyVScrolledWindow
* >(argp1
);
13984 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
13985 if (!SWIG_IsOK(ecode2
)) {
13986 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "VScrolledWindow_RefreshLines" "', expected argument " "2"" of type '" "size_t""'");
13988 arg2
= static_cast< size_t >(val2
);
13989 ecode3
= SWIG_AsVal_size_t(obj2
, &val3
);
13990 if (!SWIG_IsOK(ecode3
)) {
13991 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "VScrolledWindow_RefreshLines" "', expected argument " "3"" of type '" "size_t""'");
13993 arg3
= static_cast< size_t >(val3
);
13995 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13996 (arg1
)->RefreshLines(arg2
,arg3
);
13997 wxPyEndAllowThreads(__tstate
);
13998 if (PyErr_Occurred()) SWIG_fail
;
14000 resultobj
= SWIG_Py_Void();
14007 SWIGINTERN PyObject
*_wrap_VScrolledWindow_HitTestXY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14008 PyObject
*resultobj
= 0;
14009 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
14019 PyObject
* obj0
= 0 ;
14020 PyObject
* obj1
= 0 ;
14021 PyObject
* obj2
= 0 ;
14022 char * kwnames
[] = {
14023 (char *) "self",(char *) "x",(char *) "y", NULL
14026 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:VScrolledWindow_HitTestXY",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
14027 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyVScrolledWindow
, 0 | 0 );
14028 if (!SWIG_IsOK(res1
)) {
14029 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VScrolledWindow_HitTestXY" "', expected argument " "1"" of type '" "wxPyVScrolledWindow const *""'");
14031 arg1
= reinterpret_cast< wxPyVScrolledWindow
* >(argp1
);
14032 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
14033 if (!SWIG_IsOK(ecode2
)) {
14034 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "VScrolledWindow_HitTestXY" "', expected argument " "2"" of type '" "int""'");
14036 arg2
= static_cast< int >(val2
);
14037 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
14038 if (!SWIG_IsOK(ecode3
)) {
14039 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "VScrolledWindow_HitTestXY" "', expected argument " "3"" of type '" "int""'");
14041 arg3
= static_cast< int >(val3
);
14043 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14044 result
= (int)((wxPyVScrolledWindow
const *)arg1
)->HitTest(arg2
,arg3
);
14045 wxPyEndAllowThreads(__tstate
);
14046 if (PyErr_Occurred()) SWIG_fail
;
14048 resultobj
= SWIG_From_int(static_cast< int >(result
));
14055 SWIGINTERN PyObject
*_wrap_VScrolledWindow_HitTest(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14056 PyObject
*resultobj
= 0;
14057 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
14058 wxPoint
*arg2
= 0 ;
14063 PyObject
* obj0
= 0 ;
14064 PyObject
* obj1
= 0 ;
14065 char * kwnames
[] = {
14066 (char *) "self",(char *) "pt", NULL
14069 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VScrolledWindow_HitTest",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
14070 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyVScrolledWindow
, 0 | 0 );
14071 if (!SWIG_IsOK(res1
)) {
14072 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VScrolledWindow_HitTest" "', expected argument " "1"" of type '" "wxPyVScrolledWindow const *""'");
14074 arg1
= reinterpret_cast< wxPyVScrolledWindow
* >(argp1
);
14077 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
14080 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14081 result
= (int)((wxPyVScrolledWindow
const *)arg1
)->HitTest((wxPoint
const &)*arg2
);
14082 wxPyEndAllowThreads(__tstate
);
14083 if (PyErr_Occurred()) SWIG_fail
;
14085 resultobj
= SWIG_From_int(static_cast< int >(result
));
14092 SWIGINTERN PyObject
*_wrap_VScrolledWindow_RefreshAll(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14093 PyObject
*resultobj
= 0;
14094 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
14097 PyObject
*swig_obj
[1] ;
14099 if (!args
) SWIG_fail
;
14100 swig_obj
[0] = args
;
14101 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyVScrolledWindow
, 0 | 0 );
14102 if (!SWIG_IsOK(res1
)) {
14103 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VScrolledWindow_RefreshAll" "', expected argument " "1"" of type '" "wxPyVScrolledWindow *""'");
14105 arg1
= reinterpret_cast< wxPyVScrolledWindow
* >(argp1
);
14107 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14108 (arg1
)->RefreshAll();
14109 wxPyEndAllowThreads(__tstate
);
14110 if (PyErr_Occurred()) SWIG_fail
;
14112 resultobj
= SWIG_Py_Void();
14119 SWIGINTERN PyObject
*_wrap_VScrolledWindow_GetLineCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14120 PyObject
*resultobj
= 0;
14121 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
14125 PyObject
*swig_obj
[1] ;
14127 if (!args
) SWIG_fail
;
14128 swig_obj
[0] = args
;
14129 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyVScrolledWindow
, 0 | 0 );
14130 if (!SWIG_IsOK(res1
)) {
14131 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VScrolledWindow_GetLineCount" "', expected argument " "1"" of type '" "wxPyVScrolledWindow const *""'");
14133 arg1
= reinterpret_cast< wxPyVScrolledWindow
* >(argp1
);
14135 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14136 result
= (size_t)((wxPyVScrolledWindow
const *)arg1
)->GetLineCount();
14137 wxPyEndAllowThreads(__tstate
);
14138 if (PyErr_Occurred()) SWIG_fail
;
14140 resultobj
= SWIG_From_size_t(static_cast< size_t >(result
));
14147 SWIGINTERN PyObject
*_wrap_VScrolledWindow_GetVisibleBegin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14148 PyObject
*resultobj
= 0;
14149 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
14153 PyObject
*swig_obj
[1] ;
14155 if (!args
) SWIG_fail
;
14156 swig_obj
[0] = args
;
14157 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyVScrolledWindow
, 0 | 0 );
14158 if (!SWIG_IsOK(res1
)) {
14159 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VScrolledWindow_GetVisibleBegin" "', expected argument " "1"" of type '" "wxPyVScrolledWindow const *""'");
14161 arg1
= reinterpret_cast< wxPyVScrolledWindow
* >(argp1
);
14163 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14164 result
= (size_t)((wxPyVScrolledWindow
const *)arg1
)->GetVisibleBegin();
14165 wxPyEndAllowThreads(__tstate
);
14166 if (PyErr_Occurred()) SWIG_fail
;
14168 resultobj
= SWIG_From_size_t(static_cast< size_t >(result
));
14175 SWIGINTERN PyObject
*_wrap_VScrolledWindow_GetVisibleEnd(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14176 PyObject
*resultobj
= 0;
14177 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
14181 PyObject
*swig_obj
[1] ;
14183 if (!args
) SWIG_fail
;
14184 swig_obj
[0] = args
;
14185 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyVScrolledWindow
, 0 | 0 );
14186 if (!SWIG_IsOK(res1
)) {
14187 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VScrolledWindow_GetVisibleEnd" "', expected argument " "1"" of type '" "wxPyVScrolledWindow const *""'");
14189 arg1
= reinterpret_cast< wxPyVScrolledWindow
* >(argp1
);
14191 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14192 result
= (size_t)((wxPyVScrolledWindow
const *)arg1
)->GetVisibleEnd();
14193 wxPyEndAllowThreads(__tstate
);
14194 if (PyErr_Occurred()) SWIG_fail
;
14196 resultobj
= SWIG_From_size_t(static_cast< size_t >(result
));
14203 SWIGINTERN PyObject
*_wrap_VScrolledWindow_IsVisible(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14204 PyObject
*resultobj
= 0;
14205 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
14212 PyObject
* obj0
= 0 ;
14213 PyObject
* obj1
= 0 ;
14214 char * kwnames
[] = {
14215 (char *) "self",(char *) "line", NULL
14218 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VScrolledWindow_IsVisible",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
14219 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyVScrolledWindow
, 0 | 0 );
14220 if (!SWIG_IsOK(res1
)) {
14221 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VScrolledWindow_IsVisible" "', expected argument " "1"" of type '" "wxPyVScrolledWindow const *""'");
14223 arg1
= reinterpret_cast< wxPyVScrolledWindow
* >(argp1
);
14224 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
14225 if (!SWIG_IsOK(ecode2
)) {
14226 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "VScrolledWindow_IsVisible" "', expected argument " "2"" of type '" "size_t""'");
14228 arg2
= static_cast< size_t >(val2
);
14230 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14231 result
= (bool)((wxPyVScrolledWindow
const *)arg1
)->IsVisible(arg2
);
14232 wxPyEndAllowThreads(__tstate
);
14233 if (PyErr_Occurred()) SWIG_fail
;
14236 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14244 SWIGINTERN PyObject
*_wrap_VScrolledWindow_GetFirstVisibleLine(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14245 PyObject
*resultobj
= 0;
14246 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
14250 PyObject
*swig_obj
[1] ;
14252 if (!args
) SWIG_fail
;
14253 swig_obj
[0] = args
;
14254 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyVScrolledWindow
, 0 | 0 );
14255 if (!SWIG_IsOK(res1
)) {
14256 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VScrolledWindow_GetFirstVisibleLine" "', expected argument " "1"" of type '" "wxPyVScrolledWindow const *""'");
14258 arg1
= reinterpret_cast< wxPyVScrolledWindow
* >(argp1
);
14260 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14261 result
= (size_t)((wxPyVScrolledWindow
const *)arg1
)->GetFirstVisibleLine();
14262 wxPyEndAllowThreads(__tstate
);
14263 if (PyErr_Occurred()) SWIG_fail
;
14265 resultobj
= SWIG_From_size_t(static_cast< size_t >(result
));
14272 SWIGINTERN PyObject
*_wrap_VScrolledWindow_GetLastVisibleLine(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14273 PyObject
*resultobj
= 0;
14274 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
14278 PyObject
*swig_obj
[1] ;
14280 if (!args
) SWIG_fail
;
14281 swig_obj
[0] = args
;
14282 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyVScrolledWindow
, 0 | 0 );
14283 if (!SWIG_IsOK(res1
)) {
14284 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VScrolledWindow_GetLastVisibleLine" "', expected argument " "1"" of type '" "wxPyVScrolledWindow const *""'");
14286 arg1
= reinterpret_cast< wxPyVScrolledWindow
* >(argp1
);
14288 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14289 result
= (size_t)((wxPyVScrolledWindow
const *)arg1
)->GetLastVisibleLine();
14290 wxPyEndAllowThreads(__tstate
);
14291 if (PyErr_Occurred()) SWIG_fail
;
14293 resultobj
= SWIG_From_size_t(static_cast< size_t >(result
));
14300 SWIGINTERN PyObject
*_wrap_VScrolledWindow_FindFirstFromBottom(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14301 PyObject
*resultobj
= 0;
14302 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
14304 bool arg3
= (bool) false ;
14312 PyObject
* obj0
= 0 ;
14313 PyObject
* obj1
= 0 ;
14314 PyObject
* obj2
= 0 ;
14315 char * kwnames
[] = {
14316 (char *) "self",(char *) "lineLast",(char *) "fullyVisible", NULL
14319 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:VScrolledWindow_FindFirstFromBottom",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
14320 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyVScrolledWindow
, 0 | 0 );
14321 if (!SWIG_IsOK(res1
)) {
14322 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VScrolledWindow_FindFirstFromBottom" "', expected argument " "1"" of type '" "wxPyVScrolledWindow *""'");
14324 arg1
= reinterpret_cast< wxPyVScrolledWindow
* >(argp1
);
14325 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
14326 if (!SWIG_IsOK(ecode2
)) {
14327 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "VScrolledWindow_FindFirstFromBottom" "', expected argument " "2"" of type '" "size_t""'");
14329 arg2
= static_cast< size_t >(val2
);
14331 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
14332 if (!SWIG_IsOK(ecode3
)) {
14333 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "VScrolledWindow_FindFirstFromBottom" "', expected argument " "3"" of type '" "bool""'");
14335 arg3
= static_cast< bool >(val3
);
14338 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14339 result
= (size_t)(arg1
)->FindFirstFromBottom(arg2
,arg3
);
14340 wxPyEndAllowThreads(__tstate
);
14341 if (PyErr_Occurred()) SWIG_fail
;
14343 resultobj
= SWIG_From_size_t(static_cast< size_t >(result
));
14350 SWIGINTERN PyObject
*_wrap_VScrolledWindow_GetLinesHeight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14351 PyObject
*resultobj
= 0;
14352 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
14362 PyObject
* obj0
= 0 ;
14363 PyObject
* obj1
= 0 ;
14364 PyObject
* obj2
= 0 ;
14365 char * kwnames
[] = {
14366 (char *) "self",(char *) "lineMin",(char *) "lineMax", NULL
14369 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:VScrolledWindow_GetLinesHeight",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
14370 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyVScrolledWindow
, 0 | 0 );
14371 if (!SWIG_IsOK(res1
)) {
14372 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VScrolledWindow_GetLinesHeight" "', expected argument " "1"" of type '" "wxPyVScrolledWindow const *""'");
14374 arg1
= reinterpret_cast< wxPyVScrolledWindow
* >(argp1
);
14375 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
14376 if (!SWIG_IsOK(ecode2
)) {
14377 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "VScrolledWindow_GetLinesHeight" "', expected argument " "2"" of type '" "size_t""'");
14379 arg2
= static_cast< size_t >(val2
);
14380 ecode3
= SWIG_AsVal_size_t(obj2
, &val3
);
14381 if (!SWIG_IsOK(ecode3
)) {
14382 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "VScrolledWindow_GetLinesHeight" "', expected argument " "3"" of type '" "size_t""'");
14384 arg3
= static_cast< size_t >(val3
);
14386 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14387 result
= (int)((wxPyVScrolledWindow
const *)arg1
)->GetLinesHeight(arg2
,arg3
);
14388 wxPyEndAllowThreads(__tstate
);
14389 if (PyErr_Occurred()) SWIG_fail
;
14391 resultobj
= SWIG_From_int(static_cast< int >(result
));
14398 SWIGINTERN PyObject
*VScrolledWindow_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14400 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
14401 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyVScrolledWindow
, SWIG_NewClientData(obj
));
14402 return SWIG_Py_Void();
14405 SWIGINTERN PyObject
*VScrolledWindow_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14406 return SWIG_Python_InitShadowInstance(args
);
14409 SWIGINTERN
int VListBoxNameStr_set(PyObject
*) {
14410 SWIG_Error(SWIG_AttributeError
,"Variable VListBoxNameStr is read-only.");
14415 SWIGINTERN PyObject
*VListBoxNameStr_get(void) {
14416 PyObject
*pyobj
= 0;
14420 pyobj
= PyUnicode_FromWideChar((&wxPyVListBoxNameStr
)->c_str(), (&wxPyVListBoxNameStr
)->Len());
14422 pyobj
= PyString_FromStringAndSize((&wxPyVListBoxNameStr
)->c_str(), (&wxPyVListBoxNameStr
)->Len());
14429 SWIGINTERN PyObject
*_wrap_new_VListBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14430 PyObject
*resultobj
= 0;
14431 wxWindow
*arg1
= (wxWindow
*) 0 ;
14432 int arg2
= (int) wxID_ANY
;
14433 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
14434 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
14435 wxSize
const &arg4_defvalue
= wxDefaultSize
;
14436 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
14437 long arg5
= (long) 0 ;
14438 wxString
const &arg6_defvalue
= wxPyVListBoxNameStr
;
14439 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
14440 wxPyVListBox
*result
= 0 ;
14449 bool temp6
= false ;
14450 PyObject
* obj0
= 0 ;
14451 PyObject
* obj1
= 0 ;
14452 PyObject
* obj2
= 0 ;
14453 PyObject
* obj3
= 0 ;
14454 PyObject
* obj4
= 0 ;
14455 PyObject
* obj5
= 0 ;
14456 char * kwnames
[] = {
14457 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
14460 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_VListBox",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
14461 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
14462 if (!SWIG_IsOK(res1
)) {
14463 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_VListBox" "', expected argument " "1"" of type '" "wxWindow *""'");
14465 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
14467 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
14468 if (!SWIG_IsOK(ecode2
)) {
14469 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_VListBox" "', expected argument " "2"" of type '" "int""'");
14471 arg2
= static_cast< int >(val2
);
14476 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
14482 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
14486 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
14487 if (!SWIG_IsOK(ecode5
)) {
14488 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_VListBox" "', expected argument " "5"" of type '" "long""'");
14490 arg5
= static_cast< long >(val5
);
14494 arg6
= wxString_in_helper(obj5
);
14495 if (arg6
== NULL
) SWIG_fail
;
14500 if (!wxPyCheckForApp()) SWIG_fail
;
14501 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14502 result
= (wxPyVListBox
*)new wxPyVListBox(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
14503 wxPyEndAllowThreads(__tstate
);
14504 if (PyErr_Occurred()) SWIG_fail
;
14506 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyVListBox
, SWIG_POINTER_NEW
| 0 );
14521 SWIGINTERN PyObject
*_wrap_new_PreVListBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14522 PyObject
*resultobj
= 0;
14523 wxPyVListBox
*result
= 0 ;
14525 if (!SWIG_Python_UnpackTuple(args
,"new_PreVListBox",0,0,0)) SWIG_fail
;
14527 if (!wxPyCheckForApp()) SWIG_fail
;
14528 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14529 result
= (wxPyVListBox
*)new wxPyVListBox();
14530 wxPyEndAllowThreads(__tstate
);
14531 if (PyErr_Occurred()) SWIG_fail
;
14533 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyVListBox
, SWIG_POINTER_OWN
| 0 );
14540 SWIGINTERN PyObject
*_wrap_VListBox__setCallbackInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14541 PyObject
*resultobj
= 0;
14542 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
14543 PyObject
*arg2
= (PyObject
*) 0 ;
14544 PyObject
*arg3
= (PyObject
*) 0 ;
14547 PyObject
* obj0
= 0 ;
14548 PyObject
* obj1
= 0 ;
14549 PyObject
* obj2
= 0 ;
14550 char * kwnames
[] = {
14551 (char *) "self",(char *) "self",(char *) "_class", NULL
14554 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:VListBox__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
14555 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyVListBox
, 0 | 0 );
14556 if (!SWIG_IsOK(res1
)) {
14557 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VListBox__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
14559 arg1
= reinterpret_cast< wxPyVListBox
* >(argp1
);
14563 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14564 (arg1
)->_setCallbackInfo(arg2
,arg3
);
14565 wxPyEndAllowThreads(__tstate
);
14566 if (PyErr_Occurred()) SWIG_fail
;
14568 resultobj
= SWIG_Py_Void();
14575 SWIGINTERN PyObject
*_wrap_VListBox_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14576 PyObject
*resultobj
= 0;
14577 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
14578 wxWindow
*arg2
= (wxWindow
*) 0 ;
14579 int arg3
= (int) wxID_ANY
;
14580 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
14581 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
14582 wxSize
const &arg5_defvalue
= wxDefaultSize
;
14583 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
14584 long arg6
= (long) 0 ;
14585 wxString
const &arg7_defvalue
= wxPyVListBoxNameStr
;
14586 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
14598 bool temp7
= false ;
14599 PyObject
* obj0
= 0 ;
14600 PyObject
* obj1
= 0 ;
14601 PyObject
* obj2
= 0 ;
14602 PyObject
* obj3
= 0 ;
14603 PyObject
* obj4
= 0 ;
14604 PyObject
* obj5
= 0 ;
14605 PyObject
* obj6
= 0 ;
14606 char * kwnames
[] = {
14607 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
14610 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:VListBox_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
14611 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyVListBox
, 0 | 0 );
14612 if (!SWIG_IsOK(res1
)) {
14613 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VListBox_Create" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
14615 arg1
= reinterpret_cast< wxPyVListBox
* >(argp1
);
14616 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
14617 if (!SWIG_IsOK(res2
)) {
14618 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "VListBox_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
14620 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
14622 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
14623 if (!SWIG_IsOK(ecode3
)) {
14624 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "VListBox_Create" "', expected argument " "3"" of type '" "int""'");
14626 arg3
= static_cast< int >(val3
);
14631 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
14637 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
14641 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
14642 if (!SWIG_IsOK(ecode6
)) {
14643 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "VListBox_Create" "', expected argument " "6"" of type '" "long""'");
14645 arg6
= static_cast< long >(val6
);
14649 arg7
= wxString_in_helper(obj6
);
14650 if (arg7
== NULL
) SWIG_fail
;
14655 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14656 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
14657 wxPyEndAllowThreads(__tstate
);
14658 if (PyErr_Occurred()) SWIG_fail
;
14661 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14677 SWIGINTERN PyObject
*_wrap_VListBox_GetItemCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14678 PyObject
*resultobj
= 0;
14679 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
14683 PyObject
*swig_obj
[1] ;
14685 if (!args
) SWIG_fail
;
14686 swig_obj
[0] = args
;
14687 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyVListBox
, 0 | 0 );
14688 if (!SWIG_IsOK(res1
)) {
14689 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VListBox_GetItemCount" "', expected argument " "1"" of type '" "wxPyVListBox const *""'");
14691 arg1
= reinterpret_cast< wxPyVListBox
* >(argp1
);
14693 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14694 result
= (size_t)((wxPyVListBox
const *)arg1
)->GetItemCount();
14695 wxPyEndAllowThreads(__tstate
);
14696 if (PyErr_Occurred()) SWIG_fail
;
14698 resultobj
= SWIG_From_size_t(static_cast< size_t >(result
));
14705 SWIGINTERN PyObject
*_wrap_VListBox_HasMultipleSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14706 PyObject
*resultobj
= 0;
14707 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
14711 PyObject
*swig_obj
[1] ;
14713 if (!args
) SWIG_fail
;
14714 swig_obj
[0] = args
;
14715 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyVListBox
, 0 | 0 );
14716 if (!SWIG_IsOK(res1
)) {
14717 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VListBox_HasMultipleSelection" "', expected argument " "1"" of type '" "wxPyVListBox const *""'");
14719 arg1
= reinterpret_cast< wxPyVListBox
* >(argp1
);
14721 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14722 result
= (bool)((wxPyVListBox
const *)arg1
)->HasMultipleSelection();
14723 wxPyEndAllowThreads(__tstate
);
14724 if (PyErr_Occurred()) SWIG_fail
;
14727 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14735 SWIGINTERN PyObject
*_wrap_VListBox_GetSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14736 PyObject
*resultobj
= 0;
14737 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
14741 PyObject
*swig_obj
[1] ;
14743 if (!args
) SWIG_fail
;
14744 swig_obj
[0] = args
;
14745 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyVListBox
, 0 | 0 );
14746 if (!SWIG_IsOK(res1
)) {
14747 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VListBox_GetSelection" "', expected argument " "1"" of type '" "wxPyVListBox const *""'");
14749 arg1
= reinterpret_cast< wxPyVListBox
* >(argp1
);
14751 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14752 result
= (int)((wxPyVListBox
const *)arg1
)->GetSelection();
14753 wxPyEndAllowThreads(__tstate
);
14754 if (PyErr_Occurred()) SWIG_fail
;
14756 resultobj
= SWIG_From_int(static_cast< int >(result
));
14763 SWIGINTERN PyObject
*_wrap_VListBox_IsCurrent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14764 PyObject
*resultobj
= 0;
14765 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
14772 PyObject
* obj0
= 0 ;
14773 PyObject
* obj1
= 0 ;
14774 char * kwnames
[] = {
14775 (char *) "self",(char *) "item", NULL
14778 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VListBox_IsCurrent",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
14779 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyVListBox
, 0 | 0 );
14780 if (!SWIG_IsOK(res1
)) {
14781 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VListBox_IsCurrent" "', expected argument " "1"" of type '" "wxPyVListBox const *""'");
14783 arg1
= reinterpret_cast< wxPyVListBox
* >(argp1
);
14784 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
14785 if (!SWIG_IsOK(ecode2
)) {
14786 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "VListBox_IsCurrent" "', expected argument " "2"" of type '" "size_t""'");
14788 arg2
= static_cast< size_t >(val2
);
14790 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14791 result
= (bool)((wxPyVListBox
const *)arg1
)->IsCurrent(arg2
);
14792 wxPyEndAllowThreads(__tstate
);
14793 if (PyErr_Occurred()) SWIG_fail
;
14796 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14804 SWIGINTERN PyObject
*_wrap_VListBox_IsSelected(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14805 PyObject
*resultobj
= 0;
14806 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
14813 PyObject
* obj0
= 0 ;
14814 PyObject
* obj1
= 0 ;
14815 char * kwnames
[] = {
14816 (char *) "self",(char *) "item", NULL
14819 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VListBox_IsSelected",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
14820 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyVListBox
, 0 | 0 );
14821 if (!SWIG_IsOK(res1
)) {
14822 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VListBox_IsSelected" "', expected argument " "1"" of type '" "wxPyVListBox const *""'");
14824 arg1
= reinterpret_cast< wxPyVListBox
* >(argp1
);
14825 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
14826 if (!SWIG_IsOK(ecode2
)) {
14827 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "VListBox_IsSelected" "', expected argument " "2"" of type '" "size_t""'");
14829 arg2
= static_cast< size_t >(val2
);
14831 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14832 result
= (bool)((wxPyVListBox
const *)arg1
)->IsSelected(arg2
);
14833 wxPyEndAllowThreads(__tstate
);
14834 if (PyErr_Occurred()) SWIG_fail
;
14837 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14845 SWIGINTERN PyObject
*_wrap_VListBox_GetSelectedCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14846 PyObject
*resultobj
= 0;
14847 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
14851 PyObject
*swig_obj
[1] ;
14853 if (!args
) SWIG_fail
;
14854 swig_obj
[0] = args
;
14855 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyVListBox
, 0 | 0 );
14856 if (!SWIG_IsOK(res1
)) {
14857 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VListBox_GetSelectedCount" "', expected argument " "1"" of type '" "wxPyVListBox const *""'");
14859 arg1
= reinterpret_cast< wxPyVListBox
* >(argp1
);
14861 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14862 result
= (size_t)((wxPyVListBox
const *)arg1
)->GetSelectedCount();
14863 wxPyEndAllowThreads(__tstate
);
14864 if (PyErr_Occurred()) SWIG_fail
;
14866 resultobj
= SWIG_From_size_t(static_cast< size_t >(result
));
14873 SWIGINTERN PyObject
*_wrap_VListBox_GetFirstSelected(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14874 PyObject
*resultobj
= 0;
14875 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
14876 PyObject
*result
= 0 ;
14879 PyObject
*swig_obj
[1] ;
14881 if (!args
) SWIG_fail
;
14882 swig_obj
[0] = args
;
14883 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyVListBox
, 0 | 0 );
14884 if (!SWIG_IsOK(res1
)) {
14885 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VListBox_GetFirstSelected" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
14887 arg1
= reinterpret_cast< wxPyVListBox
* >(argp1
);
14889 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14890 result
= (PyObject
*)wxPyVListBox_GetFirstSelected(arg1
);
14891 wxPyEndAllowThreads(__tstate
);
14892 if (PyErr_Occurred()) SWIG_fail
;
14894 resultobj
= result
;
14901 SWIGINTERN PyObject
*_wrap_VListBox_GetNextSelected(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14902 PyObject
*resultobj
= 0;
14903 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
14904 unsigned long arg2
;
14905 PyObject
*result
= 0 ;
14908 unsigned long val2
;
14910 PyObject
* obj0
= 0 ;
14911 PyObject
* obj1
= 0 ;
14912 char * kwnames
[] = {
14913 (char *) "self",(char *) "cookie", NULL
14916 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VListBox_GetNextSelected",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
14917 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyVListBox
, 0 | 0 );
14918 if (!SWIG_IsOK(res1
)) {
14919 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VListBox_GetNextSelected" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
14921 arg1
= reinterpret_cast< wxPyVListBox
* >(argp1
);
14922 ecode2
= SWIG_AsVal_unsigned_SS_long(obj1
, &val2
);
14923 if (!SWIG_IsOK(ecode2
)) {
14924 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "VListBox_GetNextSelected" "', expected argument " "2"" of type '" "unsigned long""'");
14926 arg2
= static_cast< unsigned long >(val2
);
14928 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14929 result
= (PyObject
*)wxPyVListBox_GetNextSelected(arg1
,arg2
);
14930 wxPyEndAllowThreads(__tstate
);
14931 if (PyErr_Occurred()) SWIG_fail
;
14933 resultobj
= result
;
14940 SWIGINTERN PyObject
*_wrap_VListBox_GetMargins(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14941 PyObject
*resultobj
= 0;
14942 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
14946 PyObject
*swig_obj
[1] ;
14948 if (!args
) SWIG_fail
;
14949 swig_obj
[0] = args
;
14950 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyVListBox
, 0 | 0 );
14951 if (!SWIG_IsOK(res1
)) {
14952 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VListBox_GetMargins" "', expected argument " "1"" of type '" "wxPyVListBox const *""'");
14954 arg1
= reinterpret_cast< wxPyVListBox
* >(argp1
);
14956 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14957 result
= ((wxPyVListBox
const *)arg1
)->GetMargins();
14958 wxPyEndAllowThreads(__tstate
);
14959 if (PyErr_Occurred()) SWIG_fail
;
14961 resultobj
= SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint
& >(result
))), SWIGTYPE_p_wxPoint
, SWIG_POINTER_OWN
| 0 );
14968 SWIGINTERN PyObject
*_wrap_VListBox_GetSelectionBackground(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14969 PyObject
*resultobj
= 0;
14970 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
14971 wxColour
*result
= 0 ;
14974 PyObject
*swig_obj
[1] ;
14976 if (!args
) SWIG_fail
;
14977 swig_obj
[0] = args
;
14978 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyVListBox
, 0 | 0 );
14979 if (!SWIG_IsOK(res1
)) {
14980 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VListBox_GetSelectionBackground" "', expected argument " "1"" of type '" "wxPyVListBox const *""'");
14982 arg1
= reinterpret_cast< wxPyVListBox
* >(argp1
);
14984 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14986 wxColour
const &_result_ref
= ((wxPyVListBox
const *)arg1
)->GetSelectionBackground();
14987 result
= (wxColour
*) &_result_ref
;
14989 wxPyEndAllowThreads(__tstate
);
14990 if (PyErr_Occurred()) SWIG_fail
;
14992 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxColour
, 0 | 0 );
14999 SWIGINTERN PyObject
*_wrap_VListBox_SetItemCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15000 PyObject
*resultobj
= 0;
15001 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
15007 PyObject
* obj0
= 0 ;
15008 PyObject
* obj1
= 0 ;
15009 char * kwnames
[] = {
15010 (char *) "self",(char *) "count", NULL
15013 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VListBox_SetItemCount",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
15014 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyVListBox
, 0 | 0 );
15015 if (!SWIG_IsOK(res1
)) {
15016 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VListBox_SetItemCount" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
15018 arg1
= reinterpret_cast< wxPyVListBox
* >(argp1
);
15019 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
15020 if (!SWIG_IsOK(ecode2
)) {
15021 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "VListBox_SetItemCount" "', expected argument " "2"" of type '" "size_t""'");
15023 arg2
= static_cast< size_t >(val2
);
15025 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15026 (arg1
)->SetItemCount(arg2
);
15027 wxPyEndAllowThreads(__tstate
);
15028 if (PyErr_Occurred()) SWIG_fail
;
15030 resultobj
= SWIG_Py_Void();
15037 SWIGINTERN PyObject
*_wrap_VListBox_Clear(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15038 PyObject
*resultobj
= 0;
15039 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
15042 PyObject
*swig_obj
[1] ;
15044 if (!args
) SWIG_fail
;
15045 swig_obj
[0] = args
;
15046 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyVListBox
, 0 | 0 );
15047 if (!SWIG_IsOK(res1
)) {
15048 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VListBox_Clear" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
15050 arg1
= reinterpret_cast< wxPyVListBox
* >(argp1
);
15052 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15054 wxPyEndAllowThreads(__tstate
);
15055 if (PyErr_Occurred()) SWIG_fail
;
15057 resultobj
= SWIG_Py_Void();
15064 SWIGINTERN PyObject
*_wrap_VListBox_SetSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15065 PyObject
*resultobj
= 0;
15066 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
15072 PyObject
* obj0
= 0 ;
15073 PyObject
* obj1
= 0 ;
15074 char * kwnames
[] = {
15075 (char *) "self",(char *) "selection", NULL
15078 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VListBox_SetSelection",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
15079 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyVListBox
, 0 | 0 );
15080 if (!SWIG_IsOK(res1
)) {
15081 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VListBox_SetSelection" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
15083 arg1
= reinterpret_cast< wxPyVListBox
* >(argp1
);
15084 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
15085 if (!SWIG_IsOK(ecode2
)) {
15086 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "VListBox_SetSelection" "', expected argument " "2"" of type '" "int""'");
15088 arg2
= static_cast< int >(val2
);
15090 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15091 (arg1
)->SetSelection(arg2
);
15092 wxPyEndAllowThreads(__tstate
);
15093 if (PyErr_Occurred()) SWIG_fail
;
15095 resultobj
= SWIG_Py_Void();
15102 SWIGINTERN PyObject
*_wrap_VListBox_Select(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15103 PyObject
*resultobj
= 0;
15104 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
15106 bool arg3
= (bool) true ;
15114 PyObject
* obj0
= 0 ;
15115 PyObject
* obj1
= 0 ;
15116 PyObject
* obj2
= 0 ;
15117 char * kwnames
[] = {
15118 (char *) "self",(char *) "item",(char *) "select", NULL
15121 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:VListBox_Select",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
15122 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyVListBox
, 0 | 0 );
15123 if (!SWIG_IsOK(res1
)) {
15124 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VListBox_Select" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
15126 arg1
= reinterpret_cast< wxPyVListBox
* >(argp1
);
15127 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
15128 if (!SWIG_IsOK(ecode2
)) {
15129 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "VListBox_Select" "', expected argument " "2"" of type '" "size_t""'");
15131 arg2
= static_cast< size_t >(val2
);
15133 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
15134 if (!SWIG_IsOK(ecode3
)) {
15135 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "VListBox_Select" "', expected argument " "3"" of type '" "bool""'");
15137 arg3
= static_cast< bool >(val3
);
15140 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15141 result
= (bool)(arg1
)->Select(arg2
,arg3
);
15142 wxPyEndAllowThreads(__tstate
);
15143 if (PyErr_Occurred()) SWIG_fail
;
15146 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15154 SWIGINTERN PyObject
*_wrap_VListBox_SelectRange(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15155 PyObject
*resultobj
= 0;
15156 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
15166 PyObject
* obj0
= 0 ;
15167 PyObject
* obj1
= 0 ;
15168 PyObject
* obj2
= 0 ;
15169 char * kwnames
[] = {
15170 (char *) "self",(char *) "from",(char *) "to", NULL
15173 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:VListBox_SelectRange",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
15174 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyVListBox
, 0 | 0 );
15175 if (!SWIG_IsOK(res1
)) {
15176 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VListBox_SelectRange" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
15178 arg1
= reinterpret_cast< wxPyVListBox
* >(argp1
);
15179 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
15180 if (!SWIG_IsOK(ecode2
)) {
15181 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "VListBox_SelectRange" "', expected argument " "2"" of type '" "size_t""'");
15183 arg2
= static_cast< size_t >(val2
);
15184 ecode3
= SWIG_AsVal_size_t(obj2
, &val3
);
15185 if (!SWIG_IsOK(ecode3
)) {
15186 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "VListBox_SelectRange" "', expected argument " "3"" of type '" "size_t""'");
15188 arg3
= static_cast< size_t >(val3
);
15190 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15191 result
= (bool)(arg1
)->SelectRange(arg2
,arg3
);
15192 wxPyEndAllowThreads(__tstate
);
15193 if (PyErr_Occurred()) SWIG_fail
;
15196 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15204 SWIGINTERN PyObject
*_wrap_VListBox_Toggle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15205 PyObject
*resultobj
= 0;
15206 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
15212 PyObject
* obj0
= 0 ;
15213 PyObject
* obj1
= 0 ;
15214 char * kwnames
[] = {
15215 (char *) "self",(char *) "item", NULL
15218 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VListBox_Toggle",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
15219 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyVListBox
, 0 | 0 );
15220 if (!SWIG_IsOK(res1
)) {
15221 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VListBox_Toggle" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
15223 arg1
= reinterpret_cast< wxPyVListBox
* >(argp1
);
15224 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
15225 if (!SWIG_IsOK(ecode2
)) {
15226 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "VListBox_Toggle" "', expected argument " "2"" of type '" "size_t""'");
15228 arg2
= static_cast< size_t >(val2
);
15230 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15231 (arg1
)->Toggle(arg2
);
15232 wxPyEndAllowThreads(__tstate
);
15233 if (PyErr_Occurred()) SWIG_fail
;
15235 resultobj
= SWIG_Py_Void();
15242 SWIGINTERN PyObject
*_wrap_VListBox_SelectAll(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15243 PyObject
*resultobj
= 0;
15244 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
15248 PyObject
*swig_obj
[1] ;
15250 if (!args
) SWIG_fail
;
15251 swig_obj
[0] = args
;
15252 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyVListBox
, 0 | 0 );
15253 if (!SWIG_IsOK(res1
)) {
15254 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VListBox_SelectAll" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
15256 arg1
= reinterpret_cast< wxPyVListBox
* >(argp1
);
15258 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15259 result
= (bool)(arg1
)->SelectAll();
15260 wxPyEndAllowThreads(__tstate
);
15261 if (PyErr_Occurred()) SWIG_fail
;
15264 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15272 SWIGINTERN PyObject
*_wrap_VListBox_DeselectAll(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15273 PyObject
*resultobj
= 0;
15274 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
15278 PyObject
*swig_obj
[1] ;
15280 if (!args
) SWIG_fail
;
15281 swig_obj
[0] = args
;
15282 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyVListBox
, 0 | 0 );
15283 if (!SWIG_IsOK(res1
)) {
15284 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VListBox_DeselectAll" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
15286 arg1
= reinterpret_cast< wxPyVListBox
* >(argp1
);
15288 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15289 result
= (bool)(arg1
)->DeselectAll();
15290 wxPyEndAllowThreads(__tstate
);
15291 if (PyErr_Occurred()) SWIG_fail
;
15294 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15302 SWIGINTERN PyObject
*_wrap_VListBox_SetMargins(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15303 PyObject
*resultobj
= 0;
15304 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
15305 wxPoint
*arg2
= 0 ;
15309 PyObject
* obj0
= 0 ;
15310 PyObject
* obj1
= 0 ;
15311 char * kwnames
[] = {
15312 (char *) "self",(char *) "pt", NULL
15315 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VListBox_SetMargins",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
15316 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyVListBox
, 0 | 0 );
15317 if (!SWIG_IsOK(res1
)) {
15318 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VListBox_SetMargins" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
15320 arg1
= reinterpret_cast< wxPyVListBox
* >(argp1
);
15323 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
15326 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15327 (arg1
)->SetMargins((wxPoint
const &)*arg2
);
15328 wxPyEndAllowThreads(__tstate
);
15329 if (PyErr_Occurred()) SWIG_fail
;
15331 resultobj
= SWIG_Py_Void();
15338 SWIGINTERN PyObject
*_wrap_VListBox_SetMarginsXY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15339 PyObject
*resultobj
= 0;
15340 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
15349 PyObject
* obj0
= 0 ;
15350 PyObject
* obj1
= 0 ;
15351 PyObject
* obj2
= 0 ;
15352 char * kwnames
[] = {
15353 (char *) "self",(char *) "x",(char *) "y", NULL
15356 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:VListBox_SetMarginsXY",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
15357 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyVListBox
, 0 | 0 );
15358 if (!SWIG_IsOK(res1
)) {
15359 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VListBox_SetMarginsXY" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
15361 arg1
= reinterpret_cast< wxPyVListBox
* >(argp1
);
15362 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
15363 if (!SWIG_IsOK(ecode2
)) {
15364 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "VListBox_SetMarginsXY" "', expected argument " "2"" of type '" "int""'");
15366 arg2
= static_cast< int >(val2
);
15367 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
15368 if (!SWIG_IsOK(ecode3
)) {
15369 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "VListBox_SetMarginsXY" "', expected argument " "3"" of type '" "int""'");
15371 arg3
= static_cast< int >(val3
);
15373 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15374 (arg1
)->SetMargins(arg2
,arg3
);
15375 wxPyEndAllowThreads(__tstate
);
15376 if (PyErr_Occurred()) SWIG_fail
;
15378 resultobj
= SWIG_Py_Void();
15385 SWIGINTERN PyObject
*_wrap_VListBox_SetSelectionBackground(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15386 PyObject
*resultobj
= 0;
15387 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
15388 wxColour
*arg2
= 0 ;
15392 PyObject
* obj0
= 0 ;
15393 PyObject
* obj1
= 0 ;
15394 char * kwnames
[] = {
15395 (char *) "self",(char *) "col", NULL
15398 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VListBox_SetSelectionBackground",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
15399 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyVListBox
, 0 | 0 );
15400 if (!SWIG_IsOK(res1
)) {
15401 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VListBox_SetSelectionBackground" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
15403 arg1
= reinterpret_cast< wxPyVListBox
* >(argp1
);
15406 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
15409 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15410 (arg1
)->SetSelectionBackground((wxColour
const &)*arg2
);
15411 wxPyEndAllowThreads(__tstate
);
15412 if (PyErr_Occurred()) SWIG_fail
;
15414 resultobj
= SWIG_Py_Void();
15421 SWIGINTERN PyObject
*_wrap_VListBox_OnDrawSeparator(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15422 PyObject
*resultobj
= 0;
15423 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
15434 PyObject
* obj0
= 0 ;
15435 PyObject
* obj1
= 0 ;
15436 PyObject
* obj2
= 0 ;
15437 PyObject
* obj3
= 0 ;
15438 char * kwnames
[] = {
15439 (char *) "self",(char *) "dc",(char *) "rect",(char *) "n", NULL
15442 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:VListBox_OnDrawSeparator",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
15443 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyVListBox
, 0 | 0 );
15444 if (!SWIG_IsOK(res1
)) {
15445 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VListBox_OnDrawSeparator" "', expected argument " "1"" of type '" "wxPyVListBox const *""'");
15447 arg1
= reinterpret_cast< wxPyVListBox
* >(argp1
);
15448 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxDC
, 0 );
15449 if (!SWIG_IsOK(res2
)) {
15450 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "VListBox_OnDrawSeparator" "', expected argument " "2"" of type '" "wxDC &""'");
15453 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "VListBox_OnDrawSeparator" "', expected argument " "2"" of type '" "wxDC &""'");
15455 arg2
= reinterpret_cast< wxDC
* >(argp2
);
15458 if ( ! wxRect_helper(obj2
, &arg3
)) SWIG_fail
;
15460 ecode4
= SWIG_AsVal_size_t(obj3
, &val4
);
15461 if (!SWIG_IsOK(ecode4
)) {
15462 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "VListBox_OnDrawSeparator" "', expected argument " "4"" of type '" "size_t""'");
15464 arg4
= static_cast< size_t >(val4
);
15466 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15467 ((wxPyVListBox
const *)arg1
)->OnDrawSeparator(*arg2
,*arg3
,arg4
);
15468 wxPyEndAllowThreads(__tstate
);
15469 if (PyErr_Occurred()) SWIG_fail
;
15471 resultobj
= SWIG_Py_Void();
15478 SWIGINTERN PyObject
*_wrap_VListBox_OnDrawBackground(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15479 PyObject
*resultobj
= 0;
15480 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
15491 PyObject
* obj0
= 0 ;
15492 PyObject
* obj1
= 0 ;
15493 PyObject
* obj2
= 0 ;
15494 PyObject
* obj3
= 0 ;
15495 char * kwnames
[] = {
15496 (char *) "self",(char *) "dc",(char *) "rect",(char *) "n", NULL
15499 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:VListBox_OnDrawBackground",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
15500 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyVListBox
, 0 | 0 );
15501 if (!SWIG_IsOK(res1
)) {
15502 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VListBox_OnDrawBackground" "', expected argument " "1"" of type '" "wxPyVListBox const *""'");
15504 arg1
= reinterpret_cast< wxPyVListBox
* >(argp1
);
15505 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxDC
, 0 );
15506 if (!SWIG_IsOK(res2
)) {
15507 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "VListBox_OnDrawBackground" "', expected argument " "2"" of type '" "wxDC &""'");
15510 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "VListBox_OnDrawBackground" "', expected argument " "2"" of type '" "wxDC &""'");
15512 arg2
= reinterpret_cast< wxDC
* >(argp2
);
15515 if ( ! wxRect_helper(obj2
, &arg3
)) SWIG_fail
;
15517 ecode4
= SWIG_AsVal_size_t(obj3
, &val4
);
15518 if (!SWIG_IsOK(ecode4
)) {
15519 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "VListBox_OnDrawBackground" "', expected argument " "4"" of type '" "size_t""'");
15521 arg4
= static_cast< size_t >(val4
);
15523 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15524 ((wxPyVListBox
const *)arg1
)->OnDrawBackground(*arg2
,(wxRect
const &)*arg3
,arg4
);
15525 wxPyEndAllowThreads(__tstate
);
15526 if (PyErr_Occurred()) SWIG_fail
;
15528 resultobj
= SWIG_Py_Void();
15535 SWIGINTERN PyObject
*VListBox_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15537 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
15538 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyVListBox
, SWIG_NewClientData(obj
));
15539 return SWIG_Py_Void();
15542 SWIGINTERN PyObject
*VListBox_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15543 return SWIG_Python_InitShadowInstance(args
);
15546 SWIGINTERN PyObject
*_wrap_new_HtmlListBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15547 PyObject
*resultobj
= 0;
15548 wxWindow
*arg1
= (wxWindow
*) 0 ;
15549 int arg2
= (int) wxID_ANY
;
15550 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
15551 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
15552 wxSize
const &arg4_defvalue
= wxDefaultSize
;
15553 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
15554 long arg5
= (long) 0 ;
15555 wxString
const &arg6_defvalue
= wxPyVListBoxNameStr
;
15556 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
15557 wxPyHtmlListBox
*result
= 0 ;
15566 bool temp6
= false ;
15567 PyObject
* obj0
= 0 ;
15568 PyObject
* obj1
= 0 ;
15569 PyObject
* obj2
= 0 ;
15570 PyObject
* obj3
= 0 ;
15571 PyObject
* obj4
= 0 ;
15572 PyObject
* obj5
= 0 ;
15573 char * kwnames
[] = {
15574 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
15577 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_HtmlListBox",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
15578 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
15579 if (!SWIG_IsOK(res1
)) {
15580 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_HtmlListBox" "', expected argument " "1"" of type '" "wxWindow *""'");
15582 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
15584 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
15585 if (!SWIG_IsOK(ecode2
)) {
15586 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_HtmlListBox" "', expected argument " "2"" of type '" "int""'");
15588 arg2
= static_cast< int >(val2
);
15593 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
15599 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
15603 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
15604 if (!SWIG_IsOK(ecode5
)) {
15605 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_HtmlListBox" "', expected argument " "5"" of type '" "long""'");
15607 arg5
= static_cast< long >(val5
);
15611 arg6
= wxString_in_helper(obj5
);
15612 if (arg6
== NULL
) SWIG_fail
;
15617 if (!wxPyCheckForApp()) SWIG_fail
;
15618 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15619 result
= (wxPyHtmlListBox
*)new wxPyHtmlListBox(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
15620 wxPyEndAllowThreads(__tstate
);
15621 if (PyErr_Occurred()) SWIG_fail
;
15623 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyHtmlListBox
, SWIG_POINTER_NEW
| 0 );
15638 SWIGINTERN PyObject
*_wrap_new_PreHtmlListBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15639 PyObject
*resultobj
= 0;
15640 wxPyHtmlListBox
*result
= 0 ;
15642 if (!SWIG_Python_UnpackTuple(args
,"new_PreHtmlListBox",0,0,0)) SWIG_fail
;
15644 if (!wxPyCheckForApp()) SWIG_fail
;
15645 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15646 result
= (wxPyHtmlListBox
*)new wxPyHtmlListBox();
15647 wxPyEndAllowThreads(__tstate
);
15648 if (PyErr_Occurred()) SWIG_fail
;
15650 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyHtmlListBox
, SWIG_POINTER_OWN
| 0 );
15657 SWIGINTERN PyObject
*_wrap_HtmlListBox__setCallbackInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15658 PyObject
*resultobj
= 0;
15659 wxPyHtmlListBox
*arg1
= (wxPyHtmlListBox
*) 0 ;
15660 PyObject
*arg2
= (PyObject
*) 0 ;
15661 PyObject
*arg3
= (PyObject
*) 0 ;
15664 PyObject
* obj0
= 0 ;
15665 PyObject
* obj1
= 0 ;
15666 PyObject
* obj2
= 0 ;
15667 char * kwnames
[] = {
15668 (char *) "self",(char *) "self",(char *) "_class", NULL
15671 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:HtmlListBox__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
15672 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyHtmlListBox
, 0 | 0 );
15673 if (!SWIG_IsOK(res1
)) {
15674 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlListBox__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyHtmlListBox *""'");
15676 arg1
= reinterpret_cast< wxPyHtmlListBox
* >(argp1
);
15680 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15681 (arg1
)->_setCallbackInfo(arg2
,arg3
);
15682 wxPyEndAllowThreads(__tstate
);
15683 if (PyErr_Occurred()) SWIG_fail
;
15685 resultobj
= SWIG_Py_Void();
15692 SWIGINTERN PyObject
*_wrap_HtmlListBox_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15693 PyObject
*resultobj
= 0;
15694 wxPyHtmlListBox
*arg1
= (wxPyHtmlListBox
*) 0 ;
15695 wxWindow
*arg2
= (wxWindow
*) 0 ;
15696 int arg3
= (int) wxID_ANY
;
15697 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
15698 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
15699 wxSize
const &arg5_defvalue
= wxDefaultSize
;
15700 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
15701 long arg6
= (long) 0 ;
15702 wxString
const &arg7_defvalue
= wxPyVListBoxNameStr
;
15703 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
15715 bool temp7
= false ;
15716 PyObject
* obj0
= 0 ;
15717 PyObject
* obj1
= 0 ;
15718 PyObject
* obj2
= 0 ;
15719 PyObject
* obj3
= 0 ;
15720 PyObject
* obj4
= 0 ;
15721 PyObject
* obj5
= 0 ;
15722 PyObject
* obj6
= 0 ;
15723 char * kwnames
[] = {
15724 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
15727 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:HtmlListBox_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
15728 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyHtmlListBox
, 0 | 0 );
15729 if (!SWIG_IsOK(res1
)) {
15730 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlListBox_Create" "', expected argument " "1"" of type '" "wxPyHtmlListBox *""'");
15732 arg1
= reinterpret_cast< wxPyHtmlListBox
* >(argp1
);
15733 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
15734 if (!SWIG_IsOK(res2
)) {
15735 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "HtmlListBox_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
15737 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
15739 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
15740 if (!SWIG_IsOK(ecode3
)) {
15741 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "HtmlListBox_Create" "', expected argument " "3"" of type '" "int""'");
15743 arg3
= static_cast< int >(val3
);
15748 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
15754 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
15758 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
15759 if (!SWIG_IsOK(ecode6
)) {
15760 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "HtmlListBox_Create" "', expected argument " "6"" of type '" "long""'");
15762 arg6
= static_cast< long >(val6
);
15766 arg7
= wxString_in_helper(obj6
);
15767 if (arg7
== NULL
) SWIG_fail
;
15772 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15773 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
15774 wxPyEndAllowThreads(__tstate
);
15775 if (PyErr_Occurred()) SWIG_fail
;
15778 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15794 SWIGINTERN PyObject
*_wrap_HtmlListBox_SetItemCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15795 PyObject
*resultobj
= 0;
15796 wxPyHtmlListBox
*arg1
= (wxPyHtmlListBox
*) 0 ;
15802 PyObject
* obj0
= 0 ;
15803 PyObject
* obj1
= 0 ;
15804 char * kwnames
[] = {
15805 (char *) "self",(char *) "count", NULL
15808 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlListBox_SetItemCount",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
15809 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyHtmlListBox
, 0 | 0 );
15810 if (!SWIG_IsOK(res1
)) {
15811 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlListBox_SetItemCount" "', expected argument " "1"" of type '" "wxPyHtmlListBox *""'");
15813 arg1
= reinterpret_cast< wxPyHtmlListBox
* >(argp1
);
15814 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
15815 if (!SWIG_IsOK(ecode2
)) {
15816 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "HtmlListBox_SetItemCount" "', expected argument " "2"" of type '" "size_t""'");
15818 arg2
= static_cast< size_t >(val2
);
15820 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15821 (arg1
)->SetItemCount(arg2
);
15822 wxPyEndAllowThreads(__tstate
);
15823 if (PyErr_Occurred()) SWIG_fail
;
15825 resultobj
= SWIG_Py_Void();
15832 SWIGINTERN PyObject
*_wrap_HtmlListBox_GetFileSystem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15833 PyObject
*resultobj
= 0;
15834 wxPyHtmlListBox
*arg1
= (wxPyHtmlListBox
*) 0 ;
15835 wxFileSystem
*result
= 0 ;
15838 PyObject
*swig_obj
[1] ;
15840 if (!args
) SWIG_fail
;
15841 swig_obj
[0] = args
;
15842 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyHtmlListBox
, 0 | 0 );
15843 if (!SWIG_IsOK(res1
)) {
15844 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlListBox_GetFileSystem" "', expected argument " "1"" of type '" "wxPyHtmlListBox *""'");
15846 arg1
= reinterpret_cast< wxPyHtmlListBox
* >(argp1
);
15848 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15850 wxFileSystem
&_result_ref
= (arg1
)->GetFileSystem();
15851 result
= (wxFileSystem
*) &_result_ref
;
15853 wxPyEndAllowThreads(__tstate
);
15854 if (PyErr_Occurred()) SWIG_fail
;
15856 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFileSystem
, 0 | 0 );
15863 SWIGINTERN PyObject
*_wrap_HtmlListBox_OnLinkClicked(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15864 PyObject
*resultobj
= 0;
15865 wxPyHtmlListBox
*arg1
= (wxPyHtmlListBox
*) 0 ;
15867 wxHtmlLinkInfo
*arg3
= 0 ;
15874 PyObject
* obj0
= 0 ;
15875 PyObject
* obj1
= 0 ;
15876 PyObject
* obj2
= 0 ;
15877 char * kwnames
[] = {
15878 (char *) "self",(char *) "n",(char *) "link", NULL
15881 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:HtmlListBox_OnLinkClicked",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
15882 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyHtmlListBox
, 0 | 0 );
15883 if (!SWIG_IsOK(res1
)) {
15884 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlListBox_OnLinkClicked" "', expected argument " "1"" of type '" "wxPyHtmlListBox *""'");
15886 arg1
= reinterpret_cast< wxPyHtmlListBox
* >(argp1
);
15887 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
15888 if (!SWIG_IsOK(ecode2
)) {
15889 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "HtmlListBox_OnLinkClicked" "', expected argument " "2"" of type '" "size_t""'");
15891 arg2
= static_cast< size_t >(val2
);
15892 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxHtmlLinkInfo
, 0 | 0);
15893 if (!SWIG_IsOK(res3
)) {
15894 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "HtmlListBox_OnLinkClicked" "', expected argument " "3"" of type '" "wxHtmlLinkInfo const &""'");
15897 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "HtmlListBox_OnLinkClicked" "', expected argument " "3"" of type '" "wxHtmlLinkInfo const &""'");
15899 arg3
= reinterpret_cast< wxHtmlLinkInfo
* >(argp3
);
15901 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15902 (arg1
)->OnLinkClicked(arg2
,(wxHtmlLinkInfo
const &)*arg3
);
15903 wxPyEndAllowThreads(__tstate
);
15904 if (PyErr_Occurred()) SWIG_fail
;
15906 resultobj
= SWIG_Py_Void();
15913 SWIGINTERN PyObject
*HtmlListBox_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15915 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
15916 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyHtmlListBox
, SWIG_NewClientData(obj
));
15917 return SWIG_Py_Void();
15920 SWIGINTERN PyObject
*HtmlListBox_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15921 return SWIG_Python_InitShadowInstance(args
);
15924 SWIGINTERN PyObject
*_wrap_new_TaskBarIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15925 PyObject
*resultobj
= 0;
15926 wxPyTaskBarIcon
*result
= 0 ;
15928 if (!SWIG_Python_UnpackTuple(args
,"new_TaskBarIcon",0,0,0)) SWIG_fail
;
15930 if (!wxPyCheckForApp()) SWIG_fail
;
15931 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15932 result
= (wxPyTaskBarIcon
*)new wxPyTaskBarIcon();
15933 wxPyEndAllowThreads(__tstate
);
15934 if (PyErr_Occurred()) SWIG_fail
;
15936 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyTaskBarIcon
, SWIG_POINTER_NEW
| 0 );
15943 SWIGINTERN PyObject
*_wrap_delete_TaskBarIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15944 PyObject
*resultobj
= 0;
15945 wxPyTaskBarIcon
*arg1
= (wxPyTaskBarIcon
*) 0 ;
15948 PyObject
*swig_obj
[1] ;
15950 if (!args
) SWIG_fail
;
15951 swig_obj
[0] = args
;
15952 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTaskBarIcon
, SWIG_POINTER_DISOWN
| 0 );
15953 if (!SWIG_IsOK(res1
)) {
15954 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_TaskBarIcon" "', expected argument " "1"" of type '" "wxPyTaskBarIcon *""'");
15956 arg1
= reinterpret_cast< wxPyTaskBarIcon
* >(argp1
);
15958 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15961 wxPyEndAllowThreads(__tstate
);
15962 if (PyErr_Occurred()) SWIG_fail
;
15964 resultobj
= SWIG_Py_Void();
15971 SWIGINTERN PyObject
*_wrap_TaskBarIcon__setCallbackInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15972 PyObject
*resultobj
= 0;
15973 wxPyTaskBarIcon
*arg1
= (wxPyTaskBarIcon
*) 0 ;
15974 PyObject
*arg2
= (PyObject
*) 0 ;
15975 PyObject
*arg3
= (PyObject
*) 0 ;
15981 PyObject
* obj0
= 0 ;
15982 PyObject
* obj1
= 0 ;
15983 PyObject
* obj2
= 0 ;
15984 PyObject
* obj3
= 0 ;
15985 char * kwnames
[] = {
15986 (char *) "self",(char *) "self",(char *) "_class",(char *) "incref", NULL
15989 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:TaskBarIcon__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
15990 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTaskBarIcon
, 0 | 0 );
15991 if (!SWIG_IsOK(res1
)) {
15992 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TaskBarIcon__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyTaskBarIcon *""'");
15994 arg1
= reinterpret_cast< wxPyTaskBarIcon
* >(argp1
);
15997 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
15998 if (!SWIG_IsOK(ecode4
)) {
15999 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "TaskBarIcon__setCallbackInfo" "', expected argument " "4"" of type '" "int""'");
16001 arg4
= static_cast< int >(val4
);
16003 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16004 (arg1
)->_setCallbackInfo(arg2
,arg3
,arg4
);
16005 wxPyEndAllowThreads(__tstate
);
16006 if (PyErr_Occurred()) SWIG_fail
;
16008 resultobj
= SWIG_Py_Void();
16015 SWIGINTERN PyObject
*_wrap_TaskBarIcon_Destroy(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16016 PyObject
*resultobj
= 0;
16017 wxPyTaskBarIcon
*arg1
= (wxPyTaskBarIcon
*) 0 ;
16020 PyObject
*swig_obj
[1] ;
16022 if (!args
) SWIG_fail
;
16023 swig_obj
[0] = args
;
16024 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTaskBarIcon
, 0 | 0 );
16025 if (!SWIG_IsOK(res1
)) {
16026 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TaskBarIcon_Destroy" "', expected argument " "1"" of type '" "wxPyTaskBarIcon *""'");
16028 arg1
= reinterpret_cast< wxPyTaskBarIcon
* >(argp1
);
16030 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16031 wxPyTaskBarIcon_Destroy(arg1
);
16032 wxPyEndAllowThreads(__tstate
);
16033 if (PyErr_Occurred()) SWIG_fail
;
16035 resultobj
= SWIG_Py_Void();
16042 SWIGINTERN PyObject
*_wrap_TaskBarIcon_IsOk(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16043 PyObject
*resultobj
= 0;
16044 wxPyTaskBarIcon
*arg1
= (wxPyTaskBarIcon
*) 0 ;
16048 PyObject
*swig_obj
[1] ;
16050 if (!args
) SWIG_fail
;
16051 swig_obj
[0] = args
;
16052 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTaskBarIcon
, 0 | 0 );
16053 if (!SWIG_IsOK(res1
)) {
16054 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TaskBarIcon_IsOk" "', expected argument " "1"" of type '" "wxPyTaskBarIcon const *""'");
16056 arg1
= reinterpret_cast< wxPyTaskBarIcon
* >(argp1
);
16058 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16059 result
= (bool)((wxPyTaskBarIcon
const *)arg1
)->IsOk();
16060 wxPyEndAllowThreads(__tstate
);
16061 if (PyErr_Occurred()) SWIG_fail
;
16064 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16072 SWIGINTERN PyObject
*_wrap_TaskBarIcon_IsIconInstalled(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16073 PyObject
*resultobj
= 0;
16074 wxPyTaskBarIcon
*arg1
= (wxPyTaskBarIcon
*) 0 ;
16078 PyObject
*swig_obj
[1] ;
16080 if (!args
) SWIG_fail
;
16081 swig_obj
[0] = args
;
16082 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTaskBarIcon
, 0 | 0 );
16083 if (!SWIG_IsOK(res1
)) {
16084 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TaskBarIcon_IsIconInstalled" "', expected argument " "1"" of type '" "wxPyTaskBarIcon const *""'");
16086 arg1
= reinterpret_cast< wxPyTaskBarIcon
* >(argp1
);
16088 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16089 result
= (bool)((wxPyTaskBarIcon
const *)arg1
)->IsIconInstalled();
16090 wxPyEndAllowThreads(__tstate
);
16091 if (PyErr_Occurred()) SWIG_fail
;
16094 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16102 SWIGINTERN PyObject
*_wrap_TaskBarIcon_SetIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16103 PyObject
*resultobj
= 0;
16104 wxPyTaskBarIcon
*arg1
= (wxPyTaskBarIcon
*) 0 ;
16106 wxString
const &arg3_defvalue
= wxPyEmptyString
;
16107 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
16113 bool temp3
= false ;
16114 PyObject
* obj0
= 0 ;
16115 PyObject
* obj1
= 0 ;
16116 PyObject
* obj2
= 0 ;
16117 char * kwnames
[] = {
16118 (char *) "self",(char *) "icon",(char *) "tooltip", NULL
16121 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TaskBarIcon_SetIcon",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
16122 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTaskBarIcon
, 0 | 0 );
16123 if (!SWIG_IsOK(res1
)) {
16124 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TaskBarIcon_SetIcon" "', expected argument " "1"" of type '" "wxPyTaskBarIcon *""'");
16126 arg1
= reinterpret_cast< wxPyTaskBarIcon
* >(argp1
);
16127 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxIcon
, 0 | 0);
16128 if (!SWIG_IsOK(res2
)) {
16129 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TaskBarIcon_SetIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
16132 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TaskBarIcon_SetIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
16134 arg2
= reinterpret_cast< wxIcon
* >(argp2
);
16137 arg3
= wxString_in_helper(obj2
);
16138 if (arg3
== NULL
) SWIG_fail
;
16143 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16144 result
= (bool)(arg1
)->SetIcon((wxIcon
const &)*arg2
,(wxString
const &)*arg3
);
16145 wxPyEndAllowThreads(__tstate
);
16146 if (PyErr_Occurred()) SWIG_fail
;
16149 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16165 SWIGINTERN PyObject
*_wrap_TaskBarIcon_RemoveIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16166 PyObject
*resultobj
= 0;
16167 wxPyTaskBarIcon
*arg1
= (wxPyTaskBarIcon
*) 0 ;
16171 PyObject
*swig_obj
[1] ;
16173 if (!args
) SWIG_fail
;
16174 swig_obj
[0] = args
;
16175 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTaskBarIcon
, 0 | 0 );
16176 if (!SWIG_IsOK(res1
)) {
16177 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TaskBarIcon_RemoveIcon" "', expected argument " "1"" of type '" "wxPyTaskBarIcon *""'");
16179 arg1
= reinterpret_cast< wxPyTaskBarIcon
* >(argp1
);
16181 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16182 result
= (bool)(arg1
)->RemoveIcon();
16183 wxPyEndAllowThreads(__tstate
);
16184 if (PyErr_Occurred()) SWIG_fail
;
16187 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16195 SWIGINTERN PyObject
*_wrap_TaskBarIcon_PopupMenu(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16196 PyObject
*resultobj
= 0;
16197 wxPyTaskBarIcon
*arg1
= (wxPyTaskBarIcon
*) 0 ;
16198 wxMenu
*arg2
= (wxMenu
*) 0 ;
16204 PyObject
* obj0
= 0 ;
16205 PyObject
* obj1
= 0 ;
16206 char * kwnames
[] = {
16207 (char *) "self",(char *) "menu", NULL
16210 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TaskBarIcon_PopupMenu",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
16211 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTaskBarIcon
, 0 | 0 );
16212 if (!SWIG_IsOK(res1
)) {
16213 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TaskBarIcon_PopupMenu" "', expected argument " "1"" of type '" "wxPyTaskBarIcon *""'");
16215 arg1
= reinterpret_cast< wxPyTaskBarIcon
* >(argp1
);
16216 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxMenu
, 0 | 0 );
16217 if (!SWIG_IsOK(res2
)) {
16218 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TaskBarIcon_PopupMenu" "', expected argument " "2"" of type '" "wxMenu *""'");
16220 arg2
= reinterpret_cast< wxMenu
* >(argp2
);
16222 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16223 result
= (bool)(arg1
)->PopupMenu(arg2
);
16224 wxPyEndAllowThreads(__tstate
);
16225 if (PyErr_Occurred()) SWIG_fail
;
16228 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16236 SWIGINTERN PyObject
*TaskBarIcon_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16238 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
16239 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyTaskBarIcon
, SWIG_NewClientData(obj
));
16240 return SWIG_Py_Void();
16243 SWIGINTERN PyObject
*TaskBarIcon_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16244 return SWIG_Python_InitShadowInstance(args
);
16247 SWIGINTERN PyObject
*_wrap_new_TaskBarIconEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16248 PyObject
*resultobj
= 0;
16250 wxTaskBarIcon
*arg2
= (wxTaskBarIcon
*) 0 ;
16251 wxTaskBarIconEvent
*result
= 0 ;
16256 PyObject
* obj0
= 0 ;
16257 PyObject
* obj1
= 0 ;
16258 char * kwnames
[] = {
16259 (char *) "evtType",(char *) "tbIcon", NULL
16262 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_TaskBarIconEvent",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
16263 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
16264 if (!SWIG_IsOK(ecode1
)) {
16265 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_TaskBarIconEvent" "', expected argument " "1"" of type '" "wxEventType""'");
16267 arg1
= static_cast< wxEventType
>(val1
);
16268 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxTaskBarIcon
, 0 | 0 );
16269 if (!SWIG_IsOK(res2
)) {
16270 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_TaskBarIconEvent" "', expected argument " "2"" of type '" "wxTaskBarIcon *""'");
16272 arg2
= reinterpret_cast< wxTaskBarIcon
* >(argp2
);
16274 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16275 result
= (wxTaskBarIconEvent
*)new wxTaskBarIconEvent(arg1
,arg2
);
16276 wxPyEndAllowThreads(__tstate
);
16277 if (PyErr_Occurred()) SWIG_fail
;
16279 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxTaskBarIconEvent
, SWIG_POINTER_NEW
| 0 );
16286 SWIGINTERN PyObject
*TaskBarIconEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16288 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
16289 SWIG_TypeNewClientData(SWIGTYPE_p_wxTaskBarIconEvent
, SWIG_NewClientData(obj
));
16290 return SWIG_Py_Void();
16293 SWIGINTERN PyObject
*TaskBarIconEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16294 return SWIG_Python_InitShadowInstance(args
);
16297 SWIGINTERN
int FileSelectorPromptStr_set(PyObject
*) {
16298 SWIG_Error(SWIG_AttributeError
,"Variable FileSelectorPromptStr is read-only.");
16303 SWIGINTERN PyObject
*FileSelectorPromptStr_get(void) {
16304 PyObject
*pyobj
= 0;
16308 pyobj
= PyUnicode_FromWideChar((&wxPyFileSelectorPromptStr
)->c_str(), (&wxPyFileSelectorPromptStr
)->Len());
16310 pyobj
= PyString_FromStringAndSize((&wxPyFileSelectorPromptStr
)->c_str(), (&wxPyFileSelectorPromptStr
)->Len());
16317 SWIGINTERN
int DirSelectorPromptStr_set(PyObject
*) {
16318 SWIG_Error(SWIG_AttributeError
,"Variable DirSelectorPromptStr is read-only.");
16323 SWIGINTERN PyObject
*DirSelectorPromptStr_get(void) {
16324 PyObject
*pyobj
= 0;
16328 pyobj
= PyUnicode_FromWideChar((&wxPyDirSelectorPromptStr
)->c_str(), (&wxPyDirSelectorPromptStr
)->Len());
16330 pyobj
= PyString_FromStringAndSize((&wxPyDirSelectorPromptStr
)->c_str(), (&wxPyDirSelectorPromptStr
)->Len());
16337 SWIGINTERN
int DirDialogNameStr_set(PyObject
*) {
16338 SWIG_Error(SWIG_AttributeError
,"Variable DirDialogNameStr is read-only.");
16343 SWIGINTERN PyObject
*DirDialogNameStr_get(void) {
16344 PyObject
*pyobj
= 0;
16348 pyobj
= PyUnicode_FromWideChar((&wxPyDirDialogNameStr
)->c_str(), (&wxPyDirDialogNameStr
)->Len());
16350 pyobj
= PyString_FromStringAndSize((&wxPyDirDialogNameStr
)->c_str(), (&wxPyDirDialogNameStr
)->Len());
16357 SWIGINTERN
int FileSelectorDefaultWildcardStr_set(PyObject
*) {
16358 SWIG_Error(SWIG_AttributeError
,"Variable FileSelectorDefaultWildcardStr is read-only.");
16363 SWIGINTERN PyObject
*FileSelectorDefaultWildcardStr_get(void) {
16364 PyObject
*pyobj
= 0;
16368 pyobj
= PyUnicode_FromWideChar((&wxPyFileSelectorDefaultWildcardStr
)->c_str(), (&wxPyFileSelectorDefaultWildcardStr
)->Len());
16370 pyobj
= PyString_FromStringAndSize((&wxPyFileSelectorDefaultWildcardStr
)->c_str(), (&wxPyFileSelectorDefaultWildcardStr
)->Len());
16377 SWIGINTERN
int GetTextFromUserPromptStr_set(PyObject
*) {
16378 SWIG_Error(SWIG_AttributeError
,"Variable GetTextFromUserPromptStr is read-only.");
16383 SWIGINTERN PyObject
*GetTextFromUserPromptStr_get(void) {
16384 PyObject
*pyobj
= 0;
16388 pyobj
= PyUnicode_FromWideChar((&wxPyGetTextFromUserPromptStr
)->c_str(), (&wxPyGetTextFromUserPromptStr
)->Len());
16390 pyobj
= PyString_FromStringAndSize((&wxPyGetTextFromUserPromptStr
)->c_str(), (&wxPyGetTextFromUserPromptStr
)->Len());
16397 SWIGINTERN
int MessageBoxCaptionStr_set(PyObject
*) {
16398 SWIG_Error(SWIG_AttributeError
,"Variable MessageBoxCaptionStr is read-only.");
16403 SWIGINTERN PyObject
*MessageBoxCaptionStr_get(void) {
16404 PyObject
*pyobj
= 0;
16408 pyobj
= PyUnicode_FromWideChar((&wxPyMessageBoxCaptionStr
)->c_str(), (&wxPyMessageBoxCaptionStr
)->Len());
16410 pyobj
= PyString_FromStringAndSize((&wxPyMessageBoxCaptionStr
)->c_str(), (&wxPyMessageBoxCaptionStr
)->Len());
16417 SWIGINTERN PyObject
*_wrap_new_ColourData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16418 PyObject
*resultobj
= 0;
16419 wxColourData
*result
= 0 ;
16421 if (!SWIG_Python_UnpackTuple(args
,"new_ColourData",0,0,0)) SWIG_fail
;
16423 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16424 result
= (wxColourData
*)new wxColourData();
16425 wxPyEndAllowThreads(__tstate
);
16426 if (PyErr_Occurred()) SWIG_fail
;
16428 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxColourData
, SWIG_POINTER_NEW
| 0 );
16435 SWIGINTERN PyObject
*_wrap_delete_ColourData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16436 PyObject
*resultobj
= 0;
16437 wxColourData
*arg1
= (wxColourData
*) 0 ;
16440 PyObject
*swig_obj
[1] ;
16442 if (!args
) SWIG_fail
;
16443 swig_obj
[0] = args
;
16444 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxColourData
, SWIG_POINTER_DISOWN
| 0 );
16445 if (!SWIG_IsOK(res1
)) {
16446 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_ColourData" "', expected argument " "1"" of type '" "wxColourData *""'");
16448 arg1
= reinterpret_cast< wxColourData
* >(argp1
);
16450 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16453 wxPyEndAllowThreads(__tstate
);
16454 if (PyErr_Occurred()) SWIG_fail
;
16456 resultobj
= SWIG_Py_Void();
16463 SWIGINTERN PyObject
*_wrap_ColourData_GetChooseFull(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16464 PyObject
*resultobj
= 0;
16465 wxColourData
*arg1
= (wxColourData
*) 0 ;
16469 PyObject
*swig_obj
[1] ;
16471 if (!args
) SWIG_fail
;
16472 swig_obj
[0] = args
;
16473 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxColourData
, 0 | 0 );
16474 if (!SWIG_IsOK(res1
)) {
16475 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ColourData_GetChooseFull" "', expected argument " "1"" of type '" "wxColourData *""'");
16477 arg1
= reinterpret_cast< wxColourData
* >(argp1
);
16479 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16480 result
= (bool)(arg1
)->GetChooseFull();
16481 wxPyEndAllowThreads(__tstate
);
16482 if (PyErr_Occurred()) SWIG_fail
;
16485 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16493 SWIGINTERN PyObject
*_wrap_ColourData_GetColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16494 PyObject
*resultobj
= 0;
16495 wxColourData
*arg1
= (wxColourData
*) 0 ;
16499 PyObject
*swig_obj
[1] ;
16501 if (!args
) SWIG_fail
;
16502 swig_obj
[0] = args
;
16503 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxColourData
, 0 | 0 );
16504 if (!SWIG_IsOK(res1
)) {
16505 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ColourData_GetColour" "', expected argument " "1"" of type '" "wxColourData *""'");
16507 arg1
= reinterpret_cast< wxColourData
* >(argp1
);
16509 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16510 result
= (arg1
)->GetColour();
16511 wxPyEndAllowThreads(__tstate
);
16512 if (PyErr_Occurred()) SWIG_fail
;
16514 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
16521 SWIGINTERN PyObject
*_wrap_ColourData_GetCustomColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16522 PyObject
*resultobj
= 0;
16523 wxColourData
*arg1
= (wxColourData
*) 0 ;
16530 PyObject
* obj0
= 0 ;
16531 PyObject
* obj1
= 0 ;
16532 char * kwnames
[] = {
16533 (char *) "self",(char *) "i", NULL
16536 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ColourData_GetCustomColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
16537 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxColourData
, 0 | 0 );
16538 if (!SWIG_IsOK(res1
)) {
16539 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ColourData_GetCustomColour" "', expected argument " "1"" of type '" "wxColourData *""'");
16541 arg1
= reinterpret_cast< wxColourData
* >(argp1
);
16542 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
16543 if (!SWIG_IsOK(ecode2
)) {
16544 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ColourData_GetCustomColour" "', expected argument " "2"" of type '" "int""'");
16546 arg2
= static_cast< int >(val2
);
16548 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16549 result
= (arg1
)->GetCustomColour(arg2
);
16550 wxPyEndAllowThreads(__tstate
);
16551 if (PyErr_Occurred()) SWIG_fail
;
16553 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
16560 SWIGINTERN PyObject
*_wrap_ColourData_SetChooseFull(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16561 PyObject
*resultobj
= 0;
16562 wxColourData
*arg1
= (wxColourData
*) 0 ;
16568 PyObject
* obj0
= 0 ;
16569 PyObject
* obj1
= 0 ;
16570 char * kwnames
[] = {
16571 (char *) "self",(char *) "flag", NULL
16574 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ColourData_SetChooseFull",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
16575 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxColourData
, 0 | 0 );
16576 if (!SWIG_IsOK(res1
)) {
16577 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ColourData_SetChooseFull" "', expected argument " "1"" of type '" "wxColourData *""'");
16579 arg1
= reinterpret_cast< wxColourData
* >(argp1
);
16580 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
16581 if (!SWIG_IsOK(ecode2
)) {
16582 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ColourData_SetChooseFull" "', expected argument " "2"" of type '" "int""'");
16584 arg2
= static_cast< int >(val2
);
16586 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16587 (arg1
)->SetChooseFull(arg2
);
16588 wxPyEndAllowThreads(__tstate
);
16589 if (PyErr_Occurred()) SWIG_fail
;
16591 resultobj
= SWIG_Py_Void();
16598 SWIGINTERN PyObject
*_wrap_ColourData_SetColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16599 PyObject
*resultobj
= 0;
16600 wxColourData
*arg1
= (wxColourData
*) 0 ;
16601 wxColour
*arg2
= 0 ;
16605 PyObject
* obj0
= 0 ;
16606 PyObject
* obj1
= 0 ;
16607 char * kwnames
[] = {
16608 (char *) "self",(char *) "colour", NULL
16611 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ColourData_SetColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
16612 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxColourData
, 0 | 0 );
16613 if (!SWIG_IsOK(res1
)) {
16614 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ColourData_SetColour" "', expected argument " "1"" of type '" "wxColourData *""'");
16616 arg1
= reinterpret_cast< wxColourData
* >(argp1
);
16619 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
16622 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16623 (arg1
)->SetColour((wxColour
const &)*arg2
);
16624 wxPyEndAllowThreads(__tstate
);
16625 if (PyErr_Occurred()) SWIG_fail
;
16627 resultobj
= SWIG_Py_Void();
16634 SWIGINTERN PyObject
*_wrap_ColourData_SetCustomColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16635 PyObject
*resultobj
= 0;
16636 wxColourData
*arg1
= (wxColourData
*) 0 ;
16638 wxColour
*arg3
= 0 ;
16644 PyObject
* obj0
= 0 ;
16645 PyObject
* obj1
= 0 ;
16646 PyObject
* obj2
= 0 ;
16647 char * kwnames
[] = {
16648 (char *) "self",(char *) "i",(char *) "colour", NULL
16651 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ColourData_SetCustomColour",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
16652 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxColourData
, 0 | 0 );
16653 if (!SWIG_IsOK(res1
)) {
16654 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ColourData_SetCustomColour" "', expected argument " "1"" of type '" "wxColourData *""'");
16656 arg1
= reinterpret_cast< wxColourData
* >(argp1
);
16657 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
16658 if (!SWIG_IsOK(ecode2
)) {
16659 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ColourData_SetCustomColour" "', expected argument " "2"" of type '" "int""'");
16661 arg2
= static_cast< int >(val2
);
16664 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
16667 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16668 (arg1
)->SetCustomColour(arg2
,(wxColour
const &)*arg3
);
16669 wxPyEndAllowThreads(__tstate
);
16670 if (PyErr_Occurred()) SWIG_fail
;
16672 resultobj
= SWIG_Py_Void();
16679 SWIGINTERN PyObject
*ColourData_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16681 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
16682 SWIG_TypeNewClientData(SWIGTYPE_p_wxColourData
, SWIG_NewClientData(obj
));
16683 return SWIG_Py_Void();
16686 SWIGINTERN PyObject
*ColourData_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16687 return SWIG_Python_InitShadowInstance(args
);
16690 SWIGINTERN PyObject
*_wrap_new_ColourDialog(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16691 PyObject
*resultobj
= 0;
16692 wxWindow
*arg1
= (wxWindow
*) 0 ;
16693 wxColourData
*arg2
= (wxColourData
*) NULL
;
16694 wxColourDialog
*result
= 0 ;
16699 PyObject
* obj0
= 0 ;
16700 PyObject
* obj1
= 0 ;
16701 char * kwnames
[] = {
16702 (char *) "parent",(char *) "data", NULL
16705 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_ColourDialog",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
16706 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
16707 if (!SWIG_IsOK(res1
)) {
16708 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_ColourDialog" "', expected argument " "1"" of type '" "wxWindow *""'");
16710 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
16712 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxColourData
, 0 | 0 );
16713 if (!SWIG_IsOK(res2
)) {
16714 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_ColourDialog" "', expected argument " "2"" of type '" "wxColourData *""'");
16716 arg2
= reinterpret_cast< wxColourData
* >(argp2
);
16719 if (!wxPyCheckForApp()) SWIG_fail
;
16720 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16721 result
= (wxColourDialog
*)new wxColourDialog(arg1
,arg2
);
16722 wxPyEndAllowThreads(__tstate
);
16723 if (PyErr_Occurred()) SWIG_fail
;
16725 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxColourDialog
, SWIG_POINTER_NEW
| 0 );
16732 SWIGINTERN PyObject
*_wrap_ColourDialog_GetColourData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16733 PyObject
*resultobj
= 0;
16734 wxColourDialog
*arg1
= (wxColourDialog
*) 0 ;
16735 wxColourData
*result
= 0 ;
16738 PyObject
*swig_obj
[1] ;
16740 if (!args
) SWIG_fail
;
16741 swig_obj
[0] = args
;
16742 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxColourDialog
, 0 | 0 );
16743 if (!SWIG_IsOK(res1
)) {
16744 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ColourDialog_GetColourData" "', expected argument " "1"" of type '" "wxColourDialog *""'");
16746 arg1
= reinterpret_cast< wxColourDialog
* >(argp1
);
16748 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16750 wxColourData
&_result_ref
= (arg1
)->GetColourData();
16751 result
= (wxColourData
*) &_result_ref
;
16753 wxPyEndAllowThreads(__tstate
);
16754 if (PyErr_Occurred()) SWIG_fail
;
16756 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxColourData
, 0 | 0 );
16763 SWIGINTERN PyObject
*ColourDialog_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16765 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
16766 SWIG_TypeNewClientData(SWIGTYPE_p_wxColourDialog
, SWIG_NewClientData(obj
));
16767 return SWIG_Py_Void();
16770 SWIGINTERN PyObject
*ColourDialog_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16771 return SWIG_Python_InitShadowInstance(args
);
16774 SWIGINTERN PyObject
*_wrap_GetColourFromUser(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16775 PyObject
*resultobj
= 0;
16776 wxWindow
*arg1
= (wxWindow
*) (wxWindow
*) NULL
;
16777 wxColour
const &arg2_defvalue
= wxNullColour
;
16778 wxColour
*arg2
= (wxColour
*) &arg2_defvalue
;
16779 wxString
const &arg3_defvalue
= wxPyEmptyString
;
16780 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
16785 bool temp3
= false ;
16786 PyObject
* obj0
= 0 ;
16787 PyObject
* obj1
= 0 ;
16788 PyObject
* obj2
= 0 ;
16789 char * kwnames
[] = {
16790 (char *) "parent",(char *) "colInit",(char *) "caption", NULL
16793 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOO:GetColourFromUser",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
16795 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
16796 if (!SWIG_IsOK(res1
)) {
16797 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GetColourFromUser" "', expected argument " "1"" of type '" "wxWindow *""'");
16799 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
16804 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
16809 arg3
= wxString_in_helper(obj2
);
16810 if (arg3
== NULL
) SWIG_fail
;
16815 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16816 result
= wxGetColourFromUser(arg1
,(wxColour
const &)*arg2
,(wxString
const &)*arg3
);
16817 wxPyEndAllowThreads(__tstate
);
16818 if (PyErr_Occurred()) SWIG_fail
;
16820 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
16835 SWIGINTERN PyObject
*_wrap_new_DirDialog(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16836 PyObject
*resultobj
= 0;
16837 wxWindow
*arg1
= (wxWindow
*) 0 ;
16838 wxString
const &arg2_defvalue
= wxPyDirSelectorPromptStr
;
16839 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
16840 wxString
const &arg3_defvalue
= wxPyEmptyString
;
16841 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
16842 long arg4
= (long) wxDD_DEFAULT_STYLE
;
16843 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
16844 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
16845 wxSize
const &arg6_defvalue
= wxDefaultSize
;
16846 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
16847 wxString
const &arg7_defvalue
= wxPyDirDialogNameStr
;
16848 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
16849 wxDirDialog
*result
= 0 ;
16852 bool temp2
= false ;
16853 bool temp3
= false ;
16858 bool temp7
= false ;
16859 PyObject
* obj0
= 0 ;
16860 PyObject
* obj1
= 0 ;
16861 PyObject
* obj2
= 0 ;
16862 PyObject
* obj3
= 0 ;
16863 PyObject
* obj4
= 0 ;
16864 PyObject
* obj5
= 0 ;
16865 PyObject
* obj6
= 0 ;
16866 char * kwnames
[] = {
16867 (char *) "parent",(char *) "message",(char *) "defaultPath",(char *) "style",(char *) "pos",(char *) "size",(char *) "name", NULL
16870 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_DirDialog",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
16871 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
16872 if (!SWIG_IsOK(res1
)) {
16873 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_DirDialog" "', expected argument " "1"" of type '" "wxWindow *""'");
16875 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
16878 arg2
= wxString_in_helper(obj1
);
16879 if (arg2
== NULL
) SWIG_fail
;
16885 arg3
= wxString_in_helper(obj2
);
16886 if (arg3
== NULL
) SWIG_fail
;
16891 ecode4
= SWIG_AsVal_long(obj3
, &val4
);
16892 if (!SWIG_IsOK(ecode4
)) {
16893 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_DirDialog" "', expected argument " "4"" of type '" "long""'");
16895 arg4
= static_cast< long >(val4
);
16900 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
16906 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
16911 arg7
= wxString_in_helper(obj6
);
16912 if (arg7
== NULL
) SWIG_fail
;
16917 if (!wxPyCheckForApp()) SWIG_fail
;
16918 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16919 result
= (wxDirDialog
*)new wxDirDialog(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,(wxString
const &)*arg7
);
16920 wxPyEndAllowThreads(__tstate
);
16921 if (PyErr_Occurred()) SWIG_fail
;
16923 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDirDialog
, SWIG_POINTER_NEW
| 0 );
16954 SWIGINTERN PyObject
*_wrap_DirDialog_GetPath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16955 PyObject
*resultobj
= 0;
16956 wxDirDialog
*arg1
= (wxDirDialog
*) 0 ;
16960 PyObject
*swig_obj
[1] ;
16962 if (!args
) SWIG_fail
;
16963 swig_obj
[0] = args
;
16964 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDirDialog
, 0 | 0 );
16965 if (!SWIG_IsOK(res1
)) {
16966 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DirDialog_GetPath" "', expected argument " "1"" of type '" "wxDirDialog *""'");
16968 arg1
= reinterpret_cast< wxDirDialog
* >(argp1
);
16970 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16971 result
= (arg1
)->GetPath();
16972 wxPyEndAllowThreads(__tstate
);
16973 if (PyErr_Occurred()) SWIG_fail
;
16977 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
16979 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
16988 SWIGINTERN PyObject
*_wrap_DirDialog_GetMessage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16989 PyObject
*resultobj
= 0;
16990 wxDirDialog
*arg1
= (wxDirDialog
*) 0 ;
16994 PyObject
*swig_obj
[1] ;
16996 if (!args
) SWIG_fail
;
16997 swig_obj
[0] = args
;
16998 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDirDialog
, 0 | 0 );
16999 if (!SWIG_IsOK(res1
)) {
17000 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DirDialog_GetMessage" "', expected argument " "1"" of type '" "wxDirDialog *""'");
17002 arg1
= reinterpret_cast< wxDirDialog
* >(argp1
);
17004 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17005 result
= (arg1
)->GetMessage();
17006 wxPyEndAllowThreads(__tstate
);
17007 if (PyErr_Occurred()) SWIG_fail
;
17011 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
17013 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
17022 SWIGINTERN PyObject
*_wrap_DirDialog_SetMessage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17023 PyObject
*resultobj
= 0;
17024 wxDirDialog
*arg1
= (wxDirDialog
*) 0 ;
17025 wxString
*arg2
= 0 ;
17028 bool temp2
= false ;
17029 PyObject
* obj0
= 0 ;
17030 PyObject
* obj1
= 0 ;
17031 char * kwnames
[] = {
17032 (char *) "self",(char *) "message", NULL
17035 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DirDialog_SetMessage",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
17036 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDirDialog
, 0 | 0 );
17037 if (!SWIG_IsOK(res1
)) {
17038 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DirDialog_SetMessage" "', expected argument " "1"" of type '" "wxDirDialog *""'");
17040 arg1
= reinterpret_cast< wxDirDialog
* >(argp1
);
17042 arg2
= wxString_in_helper(obj1
);
17043 if (arg2
== NULL
) SWIG_fail
;
17047 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17048 (arg1
)->SetMessage((wxString
const &)*arg2
);
17049 wxPyEndAllowThreads(__tstate
);
17050 if (PyErr_Occurred()) SWIG_fail
;
17052 resultobj
= SWIG_Py_Void();
17067 SWIGINTERN PyObject
*_wrap_DirDialog_SetPath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17068 PyObject
*resultobj
= 0;
17069 wxDirDialog
*arg1
= (wxDirDialog
*) 0 ;
17070 wxString
*arg2
= 0 ;
17073 bool temp2
= false ;
17074 PyObject
* obj0
= 0 ;
17075 PyObject
* obj1
= 0 ;
17076 char * kwnames
[] = {
17077 (char *) "self",(char *) "path", NULL
17080 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DirDialog_SetPath",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
17081 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDirDialog
, 0 | 0 );
17082 if (!SWIG_IsOK(res1
)) {
17083 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DirDialog_SetPath" "', expected argument " "1"" of type '" "wxDirDialog *""'");
17085 arg1
= reinterpret_cast< wxDirDialog
* >(argp1
);
17087 arg2
= wxString_in_helper(obj1
);
17088 if (arg2
== NULL
) SWIG_fail
;
17092 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17093 (arg1
)->SetPath((wxString
const &)*arg2
);
17094 wxPyEndAllowThreads(__tstate
);
17095 if (PyErr_Occurred()) SWIG_fail
;
17097 resultobj
= SWIG_Py_Void();
17112 SWIGINTERN PyObject
*DirDialog_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17114 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
17115 SWIG_TypeNewClientData(SWIGTYPE_p_wxDirDialog
, SWIG_NewClientData(obj
));
17116 return SWIG_Py_Void();
17119 SWIGINTERN PyObject
*DirDialog_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17120 return SWIG_Python_InitShadowInstance(args
);
17123 SWIGINTERN PyObject
*_wrap_new_FileDialog(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17124 PyObject
*resultobj
= 0;
17125 wxWindow
*arg1
= (wxWindow
*) 0 ;
17126 wxString
const &arg2_defvalue
= wxPyFileSelectorPromptStr
;
17127 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
17128 wxString
const &arg3_defvalue
= wxPyEmptyString
;
17129 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
17130 wxString
const &arg4_defvalue
= wxPyEmptyString
;
17131 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
17132 wxString
const &arg5_defvalue
= wxPyFileSelectorDefaultWildcardStr
;
17133 wxString
*arg5
= (wxString
*) &arg5_defvalue
;
17134 long arg6
= (long) wxFD_DEFAULT_STYLE
;
17135 wxPoint
const &arg7_defvalue
= wxDefaultPosition
;
17136 wxPoint
*arg7
= (wxPoint
*) &arg7_defvalue
;
17137 wxFileDialog
*result
= 0 ;
17140 bool temp2
= false ;
17141 bool temp3
= false ;
17142 bool temp4
= false ;
17143 bool temp5
= false ;
17147 PyObject
* obj0
= 0 ;
17148 PyObject
* obj1
= 0 ;
17149 PyObject
* obj2
= 0 ;
17150 PyObject
* obj3
= 0 ;
17151 PyObject
* obj4
= 0 ;
17152 PyObject
* obj5
= 0 ;
17153 PyObject
* obj6
= 0 ;
17154 char * kwnames
[] = {
17155 (char *) "parent",(char *) "message",(char *) "defaultDir",(char *) "defaultFile",(char *) "wildcard",(char *) "style",(char *) "pos", NULL
17158 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_FileDialog",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
17159 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
17160 if (!SWIG_IsOK(res1
)) {
17161 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_FileDialog" "', expected argument " "1"" of type '" "wxWindow *""'");
17163 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
17166 arg2
= wxString_in_helper(obj1
);
17167 if (arg2
== NULL
) SWIG_fail
;
17173 arg3
= wxString_in_helper(obj2
);
17174 if (arg3
== NULL
) SWIG_fail
;
17180 arg4
= wxString_in_helper(obj3
);
17181 if (arg4
== NULL
) SWIG_fail
;
17187 arg5
= wxString_in_helper(obj4
);
17188 if (arg5
== NULL
) SWIG_fail
;
17193 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
17194 if (!SWIG_IsOK(ecode6
)) {
17195 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_FileDialog" "', expected argument " "6"" of type '" "long""'");
17197 arg6
= static_cast< long >(val6
);
17202 if ( ! wxPoint_helper(obj6
, &arg7
)) SWIG_fail
;
17206 if (!wxPyCheckForApp()) SWIG_fail
;
17207 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17208 result
= (wxFileDialog
*)new wxFileDialog(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
,(wxString
const &)*arg5
,arg6
,(wxPoint
const &)*arg7
);
17209 wxPyEndAllowThreads(__tstate
);
17210 if (PyErr_Occurred()) SWIG_fail
;
17212 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFileDialog
, SWIG_POINTER_NEW
| 0 );
17251 SWIGINTERN PyObject
*_wrap_FileDialog_SetMessage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17252 PyObject
*resultobj
= 0;
17253 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
17254 wxString
*arg2
= 0 ;
17257 bool temp2
= false ;
17258 PyObject
* obj0
= 0 ;
17259 PyObject
* obj1
= 0 ;
17260 char * kwnames
[] = {
17261 (char *) "self",(char *) "message", NULL
17264 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileDialog_SetMessage",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
17265 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFileDialog
, 0 | 0 );
17266 if (!SWIG_IsOK(res1
)) {
17267 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileDialog_SetMessage" "', expected argument " "1"" of type '" "wxFileDialog *""'");
17269 arg1
= reinterpret_cast< wxFileDialog
* >(argp1
);
17271 arg2
= wxString_in_helper(obj1
);
17272 if (arg2
== NULL
) SWIG_fail
;
17276 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17277 (arg1
)->SetMessage((wxString
const &)*arg2
);
17278 wxPyEndAllowThreads(__tstate
);
17279 if (PyErr_Occurred()) SWIG_fail
;
17281 resultobj
= SWIG_Py_Void();
17296 SWIGINTERN PyObject
*_wrap_FileDialog_SetPath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17297 PyObject
*resultobj
= 0;
17298 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
17299 wxString
*arg2
= 0 ;
17302 bool temp2
= false ;
17303 PyObject
* obj0
= 0 ;
17304 PyObject
* obj1
= 0 ;
17305 char * kwnames
[] = {
17306 (char *) "self",(char *) "path", NULL
17309 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileDialog_SetPath",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
17310 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFileDialog
, 0 | 0 );
17311 if (!SWIG_IsOK(res1
)) {
17312 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileDialog_SetPath" "', expected argument " "1"" of type '" "wxFileDialog *""'");
17314 arg1
= reinterpret_cast< wxFileDialog
* >(argp1
);
17316 arg2
= wxString_in_helper(obj1
);
17317 if (arg2
== NULL
) SWIG_fail
;
17321 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17322 (arg1
)->SetPath((wxString
const &)*arg2
);
17323 wxPyEndAllowThreads(__tstate
);
17324 if (PyErr_Occurred()) SWIG_fail
;
17326 resultobj
= SWIG_Py_Void();
17341 SWIGINTERN PyObject
*_wrap_FileDialog_SetDirectory(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17342 PyObject
*resultobj
= 0;
17343 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
17344 wxString
*arg2
= 0 ;
17347 bool temp2
= false ;
17348 PyObject
* obj0
= 0 ;
17349 PyObject
* obj1
= 0 ;
17350 char * kwnames
[] = {
17351 (char *) "self",(char *) "dir", NULL
17354 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileDialog_SetDirectory",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
17355 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFileDialog
, 0 | 0 );
17356 if (!SWIG_IsOK(res1
)) {
17357 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileDialog_SetDirectory" "', expected argument " "1"" of type '" "wxFileDialog *""'");
17359 arg1
= reinterpret_cast< wxFileDialog
* >(argp1
);
17361 arg2
= wxString_in_helper(obj1
);
17362 if (arg2
== NULL
) SWIG_fail
;
17366 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17367 (arg1
)->SetDirectory((wxString
const &)*arg2
);
17368 wxPyEndAllowThreads(__tstate
);
17369 if (PyErr_Occurred()) SWIG_fail
;
17371 resultobj
= SWIG_Py_Void();
17386 SWIGINTERN PyObject
*_wrap_FileDialog_SetFilename(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17387 PyObject
*resultobj
= 0;
17388 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
17389 wxString
*arg2
= 0 ;
17392 bool temp2
= false ;
17393 PyObject
* obj0
= 0 ;
17394 PyObject
* obj1
= 0 ;
17395 char * kwnames
[] = {
17396 (char *) "self",(char *) "name", NULL
17399 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileDialog_SetFilename",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
17400 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFileDialog
, 0 | 0 );
17401 if (!SWIG_IsOK(res1
)) {
17402 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileDialog_SetFilename" "', expected argument " "1"" of type '" "wxFileDialog *""'");
17404 arg1
= reinterpret_cast< wxFileDialog
* >(argp1
);
17406 arg2
= wxString_in_helper(obj1
);
17407 if (arg2
== NULL
) SWIG_fail
;
17411 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17412 (arg1
)->SetFilename((wxString
const &)*arg2
);
17413 wxPyEndAllowThreads(__tstate
);
17414 if (PyErr_Occurred()) SWIG_fail
;
17416 resultobj
= SWIG_Py_Void();
17431 SWIGINTERN PyObject
*_wrap_FileDialog_SetWildcard(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17432 PyObject
*resultobj
= 0;
17433 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
17434 wxString
*arg2
= 0 ;
17437 bool temp2
= false ;
17438 PyObject
* obj0
= 0 ;
17439 PyObject
* obj1
= 0 ;
17440 char * kwnames
[] = {
17441 (char *) "self",(char *) "wildCard", NULL
17444 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileDialog_SetWildcard",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
17445 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFileDialog
, 0 | 0 );
17446 if (!SWIG_IsOK(res1
)) {
17447 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileDialog_SetWildcard" "', expected argument " "1"" of type '" "wxFileDialog *""'");
17449 arg1
= reinterpret_cast< wxFileDialog
* >(argp1
);
17451 arg2
= wxString_in_helper(obj1
);
17452 if (arg2
== NULL
) SWIG_fail
;
17456 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17457 (arg1
)->SetWildcard((wxString
const &)*arg2
);
17458 wxPyEndAllowThreads(__tstate
);
17459 if (PyErr_Occurred()) SWIG_fail
;
17461 resultobj
= SWIG_Py_Void();
17476 SWIGINTERN PyObject
*_wrap_FileDialog_SetFilterIndex(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17477 PyObject
*resultobj
= 0;
17478 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
17484 PyObject
* obj0
= 0 ;
17485 PyObject
* obj1
= 0 ;
17486 char * kwnames
[] = {
17487 (char *) "self",(char *) "filterIndex", NULL
17490 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileDialog_SetFilterIndex",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
17491 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFileDialog
, 0 | 0 );
17492 if (!SWIG_IsOK(res1
)) {
17493 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileDialog_SetFilterIndex" "', expected argument " "1"" of type '" "wxFileDialog *""'");
17495 arg1
= reinterpret_cast< wxFileDialog
* >(argp1
);
17496 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
17497 if (!SWIG_IsOK(ecode2
)) {
17498 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "FileDialog_SetFilterIndex" "', expected argument " "2"" of type '" "int""'");
17500 arg2
= static_cast< int >(val2
);
17502 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17503 (arg1
)->SetFilterIndex(arg2
);
17504 wxPyEndAllowThreads(__tstate
);
17505 if (PyErr_Occurred()) SWIG_fail
;
17507 resultobj
= SWIG_Py_Void();
17514 SWIGINTERN PyObject
*_wrap_FileDialog_GetMessage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17515 PyObject
*resultobj
= 0;
17516 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
17520 PyObject
*swig_obj
[1] ;
17522 if (!args
) SWIG_fail
;
17523 swig_obj
[0] = args
;
17524 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFileDialog
, 0 | 0 );
17525 if (!SWIG_IsOK(res1
)) {
17526 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileDialog_GetMessage" "', expected argument " "1"" of type '" "wxFileDialog const *""'");
17528 arg1
= reinterpret_cast< wxFileDialog
* >(argp1
);
17530 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17531 result
= ((wxFileDialog
const *)arg1
)->GetMessage();
17532 wxPyEndAllowThreads(__tstate
);
17533 if (PyErr_Occurred()) SWIG_fail
;
17537 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
17539 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
17548 SWIGINTERN PyObject
*_wrap_FileDialog_GetPath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17549 PyObject
*resultobj
= 0;
17550 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
17554 PyObject
*swig_obj
[1] ;
17556 if (!args
) SWIG_fail
;
17557 swig_obj
[0] = args
;
17558 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFileDialog
, 0 | 0 );
17559 if (!SWIG_IsOK(res1
)) {
17560 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileDialog_GetPath" "', expected argument " "1"" of type '" "wxFileDialog const *""'");
17562 arg1
= reinterpret_cast< wxFileDialog
* >(argp1
);
17564 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17565 result
= ((wxFileDialog
const *)arg1
)->GetPath();
17566 wxPyEndAllowThreads(__tstate
);
17567 if (PyErr_Occurred()) SWIG_fail
;
17571 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
17573 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
17582 SWIGINTERN PyObject
*_wrap_FileDialog_GetDirectory(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17583 PyObject
*resultobj
= 0;
17584 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
17588 PyObject
*swig_obj
[1] ;
17590 if (!args
) SWIG_fail
;
17591 swig_obj
[0] = args
;
17592 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFileDialog
, 0 | 0 );
17593 if (!SWIG_IsOK(res1
)) {
17594 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileDialog_GetDirectory" "', expected argument " "1"" of type '" "wxFileDialog const *""'");
17596 arg1
= reinterpret_cast< wxFileDialog
* >(argp1
);
17598 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17599 result
= ((wxFileDialog
const *)arg1
)->GetDirectory();
17600 wxPyEndAllowThreads(__tstate
);
17601 if (PyErr_Occurred()) SWIG_fail
;
17605 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
17607 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
17616 SWIGINTERN PyObject
*_wrap_FileDialog_GetFilename(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17617 PyObject
*resultobj
= 0;
17618 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
17622 PyObject
*swig_obj
[1] ;
17624 if (!args
) SWIG_fail
;
17625 swig_obj
[0] = args
;
17626 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFileDialog
, 0 | 0 );
17627 if (!SWIG_IsOK(res1
)) {
17628 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileDialog_GetFilename" "', expected argument " "1"" of type '" "wxFileDialog const *""'");
17630 arg1
= reinterpret_cast< wxFileDialog
* >(argp1
);
17632 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17633 result
= ((wxFileDialog
const *)arg1
)->GetFilename();
17634 wxPyEndAllowThreads(__tstate
);
17635 if (PyErr_Occurred()) SWIG_fail
;
17639 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
17641 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
17650 SWIGINTERN PyObject
*_wrap_FileDialog_GetWildcard(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17651 PyObject
*resultobj
= 0;
17652 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
17656 PyObject
*swig_obj
[1] ;
17658 if (!args
) SWIG_fail
;
17659 swig_obj
[0] = args
;
17660 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFileDialog
, 0 | 0 );
17661 if (!SWIG_IsOK(res1
)) {
17662 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileDialog_GetWildcard" "', expected argument " "1"" of type '" "wxFileDialog const *""'");
17664 arg1
= reinterpret_cast< wxFileDialog
* >(argp1
);
17666 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17667 result
= ((wxFileDialog
const *)arg1
)->GetWildcard();
17668 wxPyEndAllowThreads(__tstate
);
17669 if (PyErr_Occurred()) SWIG_fail
;
17673 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
17675 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
17684 SWIGINTERN PyObject
*_wrap_FileDialog_GetFilterIndex(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17685 PyObject
*resultobj
= 0;
17686 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
17690 PyObject
*swig_obj
[1] ;
17692 if (!args
) SWIG_fail
;
17693 swig_obj
[0] = args
;
17694 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFileDialog
, 0 | 0 );
17695 if (!SWIG_IsOK(res1
)) {
17696 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileDialog_GetFilterIndex" "', expected argument " "1"" of type '" "wxFileDialog const *""'");
17698 arg1
= reinterpret_cast< wxFileDialog
* >(argp1
);
17700 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17701 result
= (int)((wxFileDialog
const *)arg1
)->GetFilterIndex();
17702 wxPyEndAllowThreads(__tstate
);
17703 if (PyErr_Occurred()) SWIG_fail
;
17705 resultobj
= SWIG_From_int(static_cast< int >(result
));
17712 SWIGINTERN PyObject
*_wrap_FileDialog_GetFilenames(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17713 PyObject
*resultobj
= 0;
17714 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
17715 PyObject
*result
= 0 ;
17718 PyObject
*swig_obj
[1] ;
17720 if (!args
) SWIG_fail
;
17721 swig_obj
[0] = args
;
17722 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFileDialog
, 0 | 0 );
17723 if (!SWIG_IsOK(res1
)) {
17724 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileDialog_GetFilenames" "', expected argument " "1"" of type '" "wxFileDialog *""'");
17726 arg1
= reinterpret_cast< wxFileDialog
* >(argp1
);
17728 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17729 result
= (PyObject
*)wxFileDialog_GetFilenames(arg1
);
17730 wxPyEndAllowThreads(__tstate
);
17731 if (PyErr_Occurred()) SWIG_fail
;
17733 resultobj
= result
;
17740 SWIGINTERN PyObject
*_wrap_FileDialog_GetPaths(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17741 PyObject
*resultobj
= 0;
17742 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
17743 PyObject
*result
= 0 ;
17746 PyObject
*swig_obj
[1] ;
17748 if (!args
) SWIG_fail
;
17749 swig_obj
[0] = args
;
17750 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFileDialog
, 0 | 0 );
17751 if (!SWIG_IsOK(res1
)) {
17752 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileDialog_GetPaths" "', expected argument " "1"" of type '" "wxFileDialog *""'");
17754 arg1
= reinterpret_cast< wxFileDialog
* >(argp1
);
17756 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17757 result
= (PyObject
*)wxFileDialog_GetPaths(arg1
);
17758 wxPyEndAllowThreads(__tstate
);
17759 if (PyErr_Occurred()) SWIG_fail
;
17761 resultobj
= result
;
17768 SWIGINTERN PyObject
*FileDialog_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17770 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
17771 SWIG_TypeNewClientData(SWIGTYPE_p_wxFileDialog
, SWIG_NewClientData(obj
));
17772 return SWIG_Py_Void();
17775 SWIGINTERN PyObject
*FileDialog_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17776 return SWIG_Python_InitShadowInstance(args
);
17779 SWIGINTERN PyObject
*_wrap_new_MultiChoiceDialog(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17780 PyObject
*resultobj
= 0;
17781 wxWindow
*arg1
= (wxWindow
*) 0 ;
17782 wxString
*arg2
= 0 ;
17783 wxString
*arg3
= 0 ;
17784 int arg4
= (int) 0 ;
17785 wxString
*arg5
= (wxString
*) NULL
;
17786 long arg6
= (long) wxCHOICEDLG_STYLE
;
17787 wxPoint
const &arg7_defvalue
= wxDefaultPosition
;
17788 wxPoint
*arg7
= (wxPoint
*) &arg7_defvalue
;
17789 wxMultiChoiceDialog
*result
= 0 ;
17792 bool temp2
= false ;
17793 bool temp3
= false ;
17797 PyObject
* obj0
= 0 ;
17798 PyObject
* obj1
= 0 ;
17799 PyObject
* obj2
= 0 ;
17800 PyObject
* obj3
= 0 ;
17801 PyObject
* obj4
= 0 ;
17802 PyObject
* obj5
= 0 ;
17803 char * kwnames
[] = {
17804 (char *) "parent",(char *) "message",(char *) "caption",(char *) "choices",(char *) "style",(char *) "pos", NULL
17807 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOO:new_MultiChoiceDialog",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
17808 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
17809 if (!SWIG_IsOK(res1
)) {
17810 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_MultiChoiceDialog" "', expected argument " "1"" of type '" "wxWindow *""'");
17812 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
17814 arg2
= wxString_in_helper(obj1
);
17815 if (arg2
== NULL
) SWIG_fail
;
17819 arg3
= wxString_in_helper(obj2
);
17820 if (arg3
== NULL
) SWIG_fail
;
17825 arg4
= PyList_Size(obj3
);
17826 arg5
= wxString_LIST_helper(obj3
);
17827 if (arg5
== NULL
) SWIG_fail
;
17831 ecode6
= SWIG_AsVal_long(obj4
, &val6
);
17832 if (!SWIG_IsOK(ecode6
)) {
17833 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_MultiChoiceDialog" "', expected argument " "6"" of type '" "long""'");
17835 arg6
= static_cast< long >(val6
);
17840 if ( ! wxPoint_helper(obj5
, &arg7
)) SWIG_fail
;
17844 if (!wxPyCheckForApp()) SWIG_fail
;
17845 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17846 result
= (wxMultiChoiceDialog
*)new wxMultiChoiceDialog(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,arg4
,arg5
,arg6
,(wxPoint
const &)*arg7
);
17847 wxPyEndAllowThreads(__tstate
);
17848 if (PyErr_Occurred()) SWIG_fail
;
17850 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMultiChoiceDialog
, SWIG_POINTER_NEW
| 0 );
17860 if (arg5
) delete [] arg5
;
17873 if (arg5
) delete [] arg5
;
17879 SWIGINTERN PyObject
*_wrap_MultiChoiceDialog_SetSelections(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17880 PyObject
*resultobj
= 0;
17881 wxMultiChoiceDialog
*arg1
= (wxMultiChoiceDialog
*) 0 ;
17882 wxArrayInt
*arg2
= 0 ;
17885 bool temp2
= false ;
17886 PyObject
* obj0
= 0 ;
17887 PyObject
* obj1
= 0 ;
17888 char * kwnames
[] = {
17889 (char *) "self",(char *) "selections", NULL
17892 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MultiChoiceDialog_SetSelections",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
17893 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMultiChoiceDialog
, 0 | 0 );
17894 if (!SWIG_IsOK(res1
)) {
17895 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MultiChoiceDialog_SetSelections" "', expected argument " "1"" of type '" "wxMultiChoiceDialog *""'");
17897 arg1
= reinterpret_cast< wxMultiChoiceDialog
* >(argp1
);
17899 if (! PySequence_Check(obj1
)) {
17900 PyErr_SetString(PyExc_TypeError
, "Sequence of integers expected.");
17903 arg2
= new wxArrayInt
;
17905 int i
, len
=PySequence_Length(obj1
);
17906 for (i
=0; i
<len
; i
++) {
17907 PyObject
* item
= PySequence_GetItem(obj1
, i
);
17908 PyObject
* number
= PyNumber_Int(item
);
17909 arg2
->Add(PyInt_AS_LONG(number
));
17915 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17916 (arg1
)->SetSelections((wxArrayInt
const &)*arg2
);
17917 wxPyEndAllowThreads(__tstate
);
17918 if (PyErr_Occurred()) SWIG_fail
;
17920 resultobj
= SWIG_Py_Void();
17922 if (temp2
) delete arg2
;
17927 if (temp2
) delete arg2
;
17933 SWIGINTERN PyObject
*_wrap_MultiChoiceDialog_GetSelections(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17934 PyObject
*resultobj
= 0;
17935 wxMultiChoiceDialog
*arg1
= (wxMultiChoiceDialog
*) 0 ;
17936 PyObject
*result
= 0 ;
17939 PyObject
*swig_obj
[1] ;
17941 if (!args
) SWIG_fail
;
17942 swig_obj
[0] = args
;
17943 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMultiChoiceDialog
, 0 | 0 );
17944 if (!SWIG_IsOK(res1
)) {
17945 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MultiChoiceDialog_GetSelections" "', expected argument " "1"" of type '" "wxMultiChoiceDialog *""'");
17947 arg1
= reinterpret_cast< wxMultiChoiceDialog
* >(argp1
);
17949 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17950 result
= (PyObject
*)wxMultiChoiceDialog_GetSelections(arg1
);
17951 wxPyEndAllowThreads(__tstate
);
17952 if (PyErr_Occurred()) SWIG_fail
;
17954 resultobj
= result
;
17961 SWIGINTERN PyObject
*MultiChoiceDialog_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17963 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
17964 SWIG_TypeNewClientData(SWIGTYPE_p_wxMultiChoiceDialog
, SWIG_NewClientData(obj
));
17965 return SWIG_Py_Void();
17968 SWIGINTERN PyObject
*MultiChoiceDialog_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17969 return SWIG_Python_InitShadowInstance(args
);
17972 SWIGINTERN PyObject
*_wrap_new_SingleChoiceDialog(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17973 PyObject
*resultobj
= 0;
17974 wxWindow
*arg1
= (wxWindow
*) 0 ;
17975 wxString
*arg2
= 0 ;
17976 wxString
*arg3
= 0 ;
17978 wxString
*arg5
= (wxString
*) 0 ;
17979 long arg6
= (long) wxCHOICEDLG_STYLE
;
17980 wxPoint
const &arg7_defvalue
= wxDefaultPosition
;
17981 wxPoint
*arg7
= (wxPoint
*) &arg7_defvalue
;
17982 wxSingleChoiceDialog
*result
= 0 ;
17985 bool temp2
= false ;
17986 bool temp3
= false ;
17990 PyObject
* obj0
= 0 ;
17991 PyObject
* obj1
= 0 ;
17992 PyObject
* obj2
= 0 ;
17993 PyObject
* obj3
= 0 ;
17994 PyObject
* obj4
= 0 ;
17995 PyObject
* obj5
= 0 ;
17996 char * kwnames
[] = {
17997 (char *) "parent",(char *) "message",(char *) "caption",(char *) "choices",(char *) "style",(char *) "pos", NULL
18000 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OO:new_SingleChoiceDialog",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
18001 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
18002 if (!SWIG_IsOK(res1
)) {
18003 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_SingleChoiceDialog" "', expected argument " "1"" of type '" "wxWindow *""'");
18005 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
18007 arg2
= wxString_in_helper(obj1
);
18008 if (arg2
== NULL
) SWIG_fail
;
18012 arg3
= wxString_in_helper(obj2
);
18013 if (arg3
== NULL
) SWIG_fail
;
18017 arg4
= PyList_Size(obj3
);
18018 arg5
= wxString_LIST_helper(obj3
);
18019 if (arg5
== NULL
) SWIG_fail
;
18022 ecode6
= SWIG_AsVal_long(obj4
, &val6
);
18023 if (!SWIG_IsOK(ecode6
)) {
18024 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_SingleChoiceDialog" "', expected argument " "6"" of type '" "long""'");
18026 arg6
= static_cast< long >(val6
);
18031 if ( ! wxPoint_helper(obj5
, &arg7
)) SWIG_fail
;
18035 if (!wxPyCheckForApp()) SWIG_fail
;
18036 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18037 result
= (wxSingleChoiceDialog
*)new_wxSingleChoiceDialog(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,arg4
,arg5
,arg6
,(wxPoint
const &)*arg7
);
18038 wxPyEndAllowThreads(__tstate
);
18039 if (PyErr_Occurred()) SWIG_fail
;
18041 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSingleChoiceDialog
, SWIG_POINTER_NEW
| 0 );
18051 if (arg5
) delete [] arg5
;
18064 if (arg5
) delete [] arg5
;
18070 SWIGINTERN PyObject
*_wrap_SingleChoiceDialog_GetSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18071 PyObject
*resultobj
= 0;
18072 wxSingleChoiceDialog
*arg1
= (wxSingleChoiceDialog
*) 0 ;
18076 PyObject
*swig_obj
[1] ;
18078 if (!args
) SWIG_fail
;
18079 swig_obj
[0] = args
;
18080 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSingleChoiceDialog
, 0 | 0 );
18081 if (!SWIG_IsOK(res1
)) {
18082 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SingleChoiceDialog_GetSelection" "', expected argument " "1"" of type '" "wxSingleChoiceDialog *""'");
18084 arg1
= reinterpret_cast< wxSingleChoiceDialog
* >(argp1
);
18086 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18087 result
= (int)(arg1
)->GetSelection();
18088 wxPyEndAllowThreads(__tstate
);
18089 if (PyErr_Occurred()) SWIG_fail
;
18091 resultobj
= SWIG_From_int(static_cast< int >(result
));
18098 SWIGINTERN PyObject
*_wrap_SingleChoiceDialog_GetStringSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18099 PyObject
*resultobj
= 0;
18100 wxSingleChoiceDialog
*arg1
= (wxSingleChoiceDialog
*) 0 ;
18104 PyObject
*swig_obj
[1] ;
18106 if (!args
) SWIG_fail
;
18107 swig_obj
[0] = args
;
18108 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSingleChoiceDialog
, 0 | 0 );
18109 if (!SWIG_IsOK(res1
)) {
18110 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SingleChoiceDialog_GetStringSelection" "', expected argument " "1"" of type '" "wxSingleChoiceDialog *""'");
18112 arg1
= reinterpret_cast< wxSingleChoiceDialog
* >(argp1
);
18114 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18115 result
= (arg1
)->GetStringSelection();
18116 wxPyEndAllowThreads(__tstate
);
18117 if (PyErr_Occurred()) SWIG_fail
;
18121 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
18123 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
18132 SWIGINTERN PyObject
*_wrap_SingleChoiceDialog_SetSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18133 PyObject
*resultobj
= 0;
18134 wxSingleChoiceDialog
*arg1
= (wxSingleChoiceDialog
*) 0 ;
18140 PyObject
* obj0
= 0 ;
18141 PyObject
* obj1
= 0 ;
18142 char * kwnames
[] = {
18143 (char *) "self",(char *) "sel", NULL
18146 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SingleChoiceDialog_SetSelection",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
18147 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSingleChoiceDialog
, 0 | 0 );
18148 if (!SWIG_IsOK(res1
)) {
18149 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SingleChoiceDialog_SetSelection" "', expected argument " "1"" of type '" "wxSingleChoiceDialog *""'");
18151 arg1
= reinterpret_cast< wxSingleChoiceDialog
* >(argp1
);
18152 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
18153 if (!SWIG_IsOK(ecode2
)) {
18154 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SingleChoiceDialog_SetSelection" "', expected argument " "2"" of type '" "int""'");
18156 arg2
= static_cast< int >(val2
);
18158 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18159 (arg1
)->SetSelection(arg2
);
18160 wxPyEndAllowThreads(__tstate
);
18161 if (PyErr_Occurred()) SWIG_fail
;
18163 resultobj
= SWIG_Py_Void();
18170 SWIGINTERN PyObject
*SingleChoiceDialog_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18172 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
18173 SWIG_TypeNewClientData(SWIGTYPE_p_wxSingleChoiceDialog
, SWIG_NewClientData(obj
));
18174 return SWIG_Py_Void();
18177 SWIGINTERN PyObject
*SingleChoiceDialog_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18178 return SWIG_Python_InitShadowInstance(args
);
18181 SWIGINTERN PyObject
*_wrap_new_TextEntryDialog(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18182 PyObject
*resultobj
= 0;
18183 wxWindow
*arg1
= (wxWindow
*) 0 ;
18184 wxString
*arg2
= 0 ;
18185 wxString
const &arg3_defvalue
= wxPyGetTextFromUserPromptStr
;
18186 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
18187 wxString
const &arg4_defvalue
= wxPyEmptyString
;
18188 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
18189 long arg5
= (long) wxTextEntryDialogStyle
;
18190 wxPoint
const &arg6_defvalue
= wxDefaultPosition
;
18191 wxPoint
*arg6
= (wxPoint
*) &arg6_defvalue
;
18192 wxTextEntryDialog
*result
= 0 ;
18195 bool temp2
= false ;
18196 bool temp3
= false ;
18197 bool temp4
= false ;
18201 PyObject
* obj0
= 0 ;
18202 PyObject
* obj1
= 0 ;
18203 PyObject
* obj2
= 0 ;
18204 PyObject
* obj3
= 0 ;
18205 PyObject
* obj4
= 0 ;
18206 PyObject
* obj5
= 0 ;
18207 char * kwnames
[] = {
18208 (char *) "parent",(char *) "message",(char *) "caption",(char *) "defaultValue",(char *) "style",(char *) "pos", NULL
18211 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOO:new_TextEntryDialog",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
18212 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
18213 if (!SWIG_IsOK(res1
)) {
18214 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_TextEntryDialog" "', expected argument " "1"" of type '" "wxWindow *""'");
18216 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
18218 arg2
= wxString_in_helper(obj1
);
18219 if (arg2
== NULL
) SWIG_fail
;
18224 arg3
= wxString_in_helper(obj2
);
18225 if (arg3
== NULL
) SWIG_fail
;
18231 arg4
= wxString_in_helper(obj3
);
18232 if (arg4
== NULL
) SWIG_fail
;
18237 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
18238 if (!SWIG_IsOK(ecode5
)) {
18239 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_TextEntryDialog" "', expected argument " "5"" of type '" "long""'");
18241 arg5
= static_cast< long >(val5
);
18246 if ( ! wxPoint_helper(obj5
, &arg6
)) SWIG_fail
;
18250 if (!wxPyCheckForApp()) SWIG_fail
;
18251 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18252 result
= (wxTextEntryDialog
*)new wxTextEntryDialog(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
,arg5
,(wxPoint
const &)*arg6
);
18253 wxPyEndAllowThreads(__tstate
);
18254 if (PyErr_Occurred()) SWIG_fail
;
18256 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxTextEntryDialog
, SWIG_POINTER_NEW
| 0 );
18287 SWIGINTERN PyObject
*_wrap_TextEntryDialog_GetValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18288 PyObject
*resultobj
= 0;
18289 wxTextEntryDialog
*arg1
= (wxTextEntryDialog
*) 0 ;
18293 PyObject
*swig_obj
[1] ;
18295 if (!args
) SWIG_fail
;
18296 swig_obj
[0] = args
;
18297 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextEntryDialog
, 0 | 0 );
18298 if (!SWIG_IsOK(res1
)) {
18299 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextEntryDialog_GetValue" "', expected argument " "1"" of type '" "wxTextEntryDialog *""'");
18301 arg1
= reinterpret_cast< wxTextEntryDialog
* >(argp1
);
18303 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18304 result
= (arg1
)->GetValue();
18305 wxPyEndAllowThreads(__tstate
);
18306 if (PyErr_Occurred()) SWIG_fail
;
18310 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
18312 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
18321 SWIGINTERN PyObject
*_wrap_TextEntryDialog_SetValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18322 PyObject
*resultobj
= 0;
18323 wxTextEntryDialog
*arg1
= (wxTextEntryDialog
*) 0 ;
18324 wxString
*arg2
= 0 ;
18327 bool temp2
= false ;
18328 PyObject
* obj0
= 0 ;
18329 PyObject
* obj1
= 0 ;
18330 char * kwnames
[] = {
18331 (char *) "self",(char *) "value", NULL
18334 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextEntryDialog_SetValue",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
18335 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextEntryDialog
, 0 | 0 );
18336 if (!SWIG_IsOK(res1
)) {
18337 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextEntryDialog_SetValue" "', expected argument " "1"" of type '" "wxTextEntryDialog *""'");
18339 arg1
= reinterpret_cast< wxTextEntryDialog
* >(argp1
);
18341 arg2
= wxString_in_helper(obj1
);
18342 if (arg2
== NULL
) SWIG_fail
;
18346 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18347 (arg1
)->SetValue((wxString
const &)*arg2
);
18348 wxPyEndAllowThreads(__tstate
);
18349 if (PyErr_Occurred()) SWIG_fail
;
18351 resultobj
= SWIG_Py_Void();
18366 SWIGINTERN PyObject
*TextEntryDialog_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18368 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
18369 SWIG_TypeNewClientData(SWIGTYPE_p_wxTextEntryDialog
, SWIG_NewClientData(obj
));
18370 return SWIG_Py_Void();
18373 SWIGINTERN PyObject
*TextEntryDialog_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18374 return SWIG_Python_InitShadowInstance(args
);
18377 SWIGINTERN
int GetPasswordFromUserPromptStr_set(PyObject
*) {
18378 SWIG_Error(SWIG_AttributeError
,"Variable GetPasswordFromUserPromptStr is read-only.");
18383 SWIGINTERN PyObject
*GetPasswordFromUserPromptStr_get(void) {
18384 PyObject
*pyobj
= 0;
18388 pyobj
= PyUnicode_FromWideChar((&wxPyGetPasswordFromUserPromptStr
)->c_str(), (&wxPyGetPasswordFromUserPromptStr
)->Len());
18390 pyobj
= PyString_FromStringAndSize((&wxPyGetPasswordFromUserPromptStr
)->c_str(), (&wxPyGetPasswordFromUserPromptStr
)->Len());
18397 SWIGINTERN PyObject
*_wrap_new_PasswordEntryDialog(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18398 PyObject
*resultobj
= 0;
18399 wxWindow
*arg1
= (wxWindow
*) 0 ;
18400 wxString
*arg2
= 0 ;
18401 wxString
const &arg3_defvalue
= wxPyGetPasswordFromUserPromptStr
;
18402 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
18403 wxString
const &arg4_defvalue
= wxPyEmptyString
;
18404 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
18405 long arg5
= (long) wxTextEntryDialogStyle
;
18406 wxPoint
const &arg6_defvalue
= wxDefaultPosition
;
18407 wxPoint
*arg6
= (wxPoint
*) &arg6_defvalue
;
18408 wxPasswordEntryDialog
*result
= 0 ;
18411 bool temp2
= false ;
18412 bool temp3
= false ;
18413 bool temp4
= false ;
18417 PyObject
* obj0
= 0 ;
18418 PyObject
* obj1
= 0 ;
18419 PyObject
* obj2
= 0 ;
18420 PyObject
* obj3
= 0 ;
18421 PyObject
* obj4
= 0 ;
18422 PyObject
* obj5
= 0 ;
18423 char * kwnames
[] = {
18424 (char *) "parent",(char *) "message",(char *) "caption",(char *) "value",(char *) "style",(char *) "pos", NULL
18427 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOO:new_PasswordEntryDialog",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
18428 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
18429 if (!SWIG_IsOK(res1
)) {
18430 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PasswordEntryDialog" "', expected argument " "1"" of type '" "wxWindow *""'");
18432 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
18434 arg2
= wxString_in_helper(obj1
);
18435 if (arg2
== NULL
) SWIG_fail
;
18440 arg3
= wxString_in_helper(obj2
);
18441 if (arg3
== NULL
) SWIG_fail
;
18447 arg4
= wxString_in_helper(obj3
);
18448 if (arg4
== NULL
) SWIG_fail
;
18453 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
18454 if (!SWIG_IsOK(ecode5
)) {
18455 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_PasswordEntryDialog" "', expected argument " "5"" of type '" "long""'");
18457 arg5
= static_cast< long >(val5
);
18462 if ( ! wxPoint_helper(obj5
, &arg6
)) SWIG_fail
;
18466 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18467 result
= (wxPasswordEntryDialog
*)new wxPasswordEntryDialog(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
,arg5
,(wxPoint
const &)*arg6
);
18468 wxPyEndAllowThreads(__tstate
);
18469 if (PyErr_Occurred()) SWIG_fail
;
18471 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPasswordEntryDialog
, SWIG_POINTER_NEW
| 0 );
18502 SWIGINTERN PyObject
*PasswordEntryDialog_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18504 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
18505 SWIG_TypeNewClientData(SWIGTYPE_p_wxPasswordEntryDialog
, SWIG_NewClientData(obj
));
18506 return SWIG_Py_Void();
18509 SWIGINTERN PyObject
*PasswordEntryDialog_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18510 return SWIG_Python_InitShadowInstance(args
);
18513 SWIGINTERN PyObject
*_wrap_new_NumberEntryDialog(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18514 PyObject
*resultobj
= 0;
18515 wxWindow
*arg1
= (wxWindow
*) 0 ;
18516 wxString
*arg2
= 0 ;
18517 wxString
*arg3
= 0 ;
18518 wxString
*arg4
= 0 ;
18522 wxPoint
const &arg8_defvalue
= wxDefaultPosition
;
18523 wxPoint
*arg8
= (wxPoint
*) &arg8_defvalue
;
18524 wxNumberEntryDialog
*result
= 0 ;
18527 bool temp2
= false ;
18528 bool temp3
= false ;
18529 bool temp4
= false ;
18537 PyObject
* obj0
= 0 ;
18538 PyObject
* obj1
= 0 ;
18539 PyObject
* obj2
= 0 ;
18540 PyObject
* obj3
= 0 ;
18541 PyObject
* obj4
= 0 ;
18542 PyObject
* obj5
= 0 ;
18543 PyObject
* obj6
= 0 ;
18544 PyObject
* obj7
= 0 ;
18545 char * kwnames
[] = {
18546 (char *) "parent",(char *) "message",(char *) "prompt",(char *) "caption",(char *) "value",(char *) "min",(char *) "max",(char *) "pos", NULL
18549 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOOO|O:new_NumberEntryDialog",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
18550 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
18551 if (!SWIG_IsOK(res1
)) {
18552 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_NumberEntryDialog" "', expected argument " "1"" of type '" "wxWindow *""'");
18554 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
18556 arg2
= wxString_in_helper(obj1
);
18557 if (arg2
== NULL
) SWIG_fail
;
18561 arg3
= wxString_in_helper(obj2
);
18562 if (arg3
== NULL
) SWIG_fail
;
18566 arg4
= wxString_in_helper(obj3
);
18567 if (arg4
== NULL
) SWIG_fail
;
18570 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
18571 if (!SWIG_IsOK(ecode5
)) {
18572 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_NumberEntryDialog" "', expected argument " "5"" of type '" "long""'");
18574 arg5
= static_cast< long >(val5
);
18575 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
18576 if (!SWIG_IsOK(ecode6
)) {
18577 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_NumberEntryDialog" "', expected argument " "6"" of type '" "long""'");
18579 arg6
= static_cast< long >(val6
);
18580 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
18581 if (!SWIG_IsOK(ecode7
)) {
18582 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "new_NumberEntryDialog" "', expected argument " "7"" of type '" "long""'");
18584 arg7
= static_cast< long >(val7
);
18588 if ( ! wxPoint_helper(obj7
, &arg8
)) SWIG_fail
;
18592 if (!wxPyCheckForApp()) SWIG_fail
;
18593 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18594 result
= (wxNumberEntryDialog
*)new wxNumberEntryDialog(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
,arg5
,arg6
,arg7
,(wxPoint
const &)*arg8
);
18595 wxPyEndAllowThreads(__tstate
);
18596 if (PyErr_Occurred()) SWIG_fail
;
18598 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxNumberEntryDialog
, SWIG_POINTER_NEW
| 0 );
18629 SWIGINTERN PyObject
*_wrap_NumberEntryDialog_GetValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18630 PyObject
*resultobj
= 0;
18631 wxNumberEntryDialog
*arg1
= (wxNumberEntryDialog
*) 0 ;
18635 PyObject
*swig_obj
[1] ;
18637 if (!args
) SWIG_fail
;
18638 swig_obj
[0] = args
;
18639 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNumberEntryDialog
, 0 | 0 );
18640 if (!SWIG_IsOK(res1
)) {
18641 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NumberEntryDialog_GetValue" "', expected argument " "1"" of type '" "wxNumberEntryDialog *""'");
18643 arg1
= reinterpret_cast< wxNumberEntryDialog
* >(argp1
);
18645 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18646 result
= (long)(arg1
)->GetValue();
18647 wxPyEndAllowThreads(__tstate
);
18648 if (PyErr_Occurred()) SWIG_fail
;
18650 resultobj
= SWIG_From_long(static_cast< long >(result
));
18657 SWIGINTERN PyObject
*NumberEntryDialog_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18659 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
18660 SWIG_TypeNewClientData(SWIGTYPE_p_wxNumberEntryDialog
, SWIG_NewClientData(obj
));
18661 return SWIG_Py_Void();
18664 SWIGINTERN PyObject
*NumberEntryDialog_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18665 return SWIG_Python_InitShadowInstance(args
);
18668 SWIGINTERN PyObject
*_wrap_new_FontData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18669 PyObject
*resultobj
= 0;
18670 wxFontData
*result
= 0 ;
18672 if (!SWIG_Python_UnpackTuple(args
,"new_FontData",0,0,0)) SWIG_fail
;
18674 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18675 result
= (wxFontData
*)new wxFontData();
18676 wxPyEndAllowThreads(__tstate
);
18677 if (PyErr_Occurred()) SWIG_fail
;
18679 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFontData
, SWIG_POINTER_NEW
| 0 );
18686 SWIGINTERN PyObject
*_wrap_delete_FontData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18687 PyObject
*resultobj
= 0;
18688 wxFontData
*arg1
= (wxFontData
*) 0 ;
18691 PyObject
*swig_obj
[1] ;
18693 if (!args
) SWIG_fail
;
18694 swig_obj
[0] = args
;
18695 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFontData
, SWIG_POINTER_DISOWN
| 0 );
18696 if (!SWIG_IsOK(res1
)) {
18697 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_FontData" "', expected argument " "1"" of type '" "wxFontData *""'");
18699 arg1
= reinterpret_cast< wxFontData
* >(argp1
);
18701 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18704 wxPyEndAllowThreads(__tstate
);
18705 if (PyErr_Occurred()) SWIG_fail
;
18707 resultobj
= SWIG_Py_Void();
18714 SWIGINTERN PyObject
*_wrap_FontData_EnableEffects(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18715 PyObject
*resultobj
= 0;
18716 wxFontData
*arg1
= (wxFontData
*) 0 ;
18722 PyObject
* obj0
= 0 ;
18723 PyObject
* obj1
= 0 ;
18724 char * kwnames
[] = {
18725 (char *) "self",(char *) "enable", NULL
18728 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontData_EnableEffects",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
18729 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFontData
, 0 | 0 );
18730 if (!SWIG_IsOK(res1
)) {
18731 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontData_EnableEffects" "', expected argument " "1"" of type '" "wxFontData *""'");
18733 arg1
= reinterpret_cast< wxFontData
* >(argp1
);
18734 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
18735 if (!SWIG_IsOK(ecode2
)) {
18736 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "FontData_EnableEffects" "', expected argument " "2"" of type '" "bool""'");
18738 arg2
= static_cast< bool >(val2
);
18740 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18741 (arg1
)->EnableEffects(arg2
);
18742 wxPyEndAllowThreads(__tstate
);
18743 if (PyErr_Occurred()) SWIG_fail
;
18745 resultobj
= SWIG_Py_Void();
18752 SWIGINTERN PyObject
*_wrap_FontData_GetAllowSymbols(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18753 PyObject
*resultobj
= 0;
18754 wxFontData
*arg1
= (wxFontData
*) 0 ;
18758 PyObject
*swig_obj
[1] ;
18760 if (!args
) SWIG_fail
;
18761 swig_obj
[0] = args
;
18762 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFontData
, 0 | 0 );
18763 if (!SWIG_IsOK(res1
)) {
18764 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontData_GetAllowSymbols" "', expected argument " "1"" of type '" "wxFontData *""'");
18766 arg1
= reinterpret_cast< wxFontData
* >(argp1
);
18768 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18769 result
= (bool)(arg1
)->GetAllowSymbols();
18770 wxPyEndAllowThreads(__tstate
);
18771 if (PyErr_Occurred()) SWIG_fail
;
18774 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18782 SWIGINTERN PyObject
*_wrap_FontData_GetColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18783 PyObject
*resultobj
= 0;
18784 wxFontData
*arg1
= (wxFontData
*) 0 ;
18788 PyObject
*swig_obj
[1] ;
18790 if (!args
) SWIG_fail
;
18791 swig_obj
[0] = args
;
18792 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFontData
, 0 | 0 );
18793 if (!SWIG_IsOK(res1
)) {
18794 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontData_GetColour" "', expected argument " "1"" of type '" "wxFontData *""'");
18796 arg1
= reinterpret_cast< wxFontData
* >(argp1
);
18798 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18799 result
= (arg1
)->GetColour();
18800 wxPyEndAllowThreads(__tstate
);
18801 if (PyErr_Occurred()) SWIG_fail
;
18803 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
18810 SWIGINTERN PyObject
*_wrap_FontData_GetChosenFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18811 PyObject
*resultobj
= 0;
18812 wxFontData
*arg1
= (wxFontData
*) 0 ;
18816 PyObject
*swig_obj
[1] ;
18818 if (!args
) SWIG_fail
;
18819 swig_obj
[0] = args
;
18820 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFontData
, 0 | 0 );
18821 if (!SWIG_IsOK(res1
)) {
18822 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontData_GetChosenFont" "', expected argument " "1"" of type '" "wxFontData *""'");
18824 arg1
= reinterpret_cast< wxFontData
* >(argp1
);
18826 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18827 result
= (arg1
)->GetChosenFont();
18828 wxPyEndAllowThreads(__tstate
);
18829 if (PyErr_Occurred()) SWIG_fail
;
18831 resultobj
= SWIG_NewPointerObj((new wxFont(static_cast< const wxFont
& >(result
))), SWIGTYPE_p_wxFont
, SWIG_POINTER_OWN
| 0 );
18838 SWIGINTERN PyObject
*_wrap_FontData_GetEnableEffects(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18839 PyObject
*resultobj
= 0;
18840 wxFontData
*arg1
= (wxFontData
*) 0 ;
18844 PyObject
*swig_obj
[1] ;
18846 if (!args
) SWIG_fail
;
18847 swig_obj
[0] = args
;
18848 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFontData
, 0 | 0 );
18849 if (!SWIG_IsOK(res1
)) {
18850 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontData_GetEnableEffects" "', expected argument " "1"" of type '" "wxFontData *""'");
18852 arg1
= reinterpret_cast< wxFontData
* >(argp1
);
18854 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18855 result
= (bool)(arg1
)->GetEnableEffects();
18856 wxPyEndAllowThreads(__tstate
);
18857 if (PyErr_Occurred()) SWIG_fail
;
18860 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18868 SWIGINTERN PyObject
*_wrap_FontData_GetInitialFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18869 PyObject
*resultobj
= 0;
18870 wxFontData
*arg1
= (wxFontData
*) 0 ;
18874 PyObject
*swig_obj
[1] ;
18876 if (!args
) SWIG_fail
;
18877 swig_obj
[0] = args
;
18878 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFontData
, 0 | 0 );
18879 if (!SWIG_IsOK(res1
)) {
18880 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontData_GetInitialFont" "', expected argument " "1"" of type '" "wxFontData *""'");
18882 arg1
= reinterpret_cast< wxFontData
* >(argp1
);
18884 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18885 result
= (arg1
)->GetInitialFont();
18886 wxPyEndAllowThreads(__tstate
);
18887 if (PyErr_Occurred()) SWIG_fail
;
18889 resultobj
= SWIG_NewPointerObj((new wxFont(static_cast< const wxFont
& >(result
))), SWIGTYPE_p_wxFont
, SWIG_POINTER_OWN
| 0 );
18896 SWIGINTERN PyObject
*_wrap_FontData_GetShowHelp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18897 PyObject
*resultobj
= 0;
18898 wxFontData
*arg1
= (wxFontData
*) 0 ;
18902 PyObject
*swig_obj
[1] ;
18904 if (!args
) SWIG_fail
;
18905 swig_obj
[0] = args
;
18906 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFontData
, 0 | 0 );
18907 if (!SWIG_IsOK(res1
)) {
18908 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontData_GetShowHelp" "', expected argument " "1"" of type '" "wxFontData *""'");
18910 arg1
= reinterpret_cast< wxFontData
* >(argp1
);
18912 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18913 result
= (bool)(arg1
)->GetShowHelp();
18914 wxPyEndAllowThreads(__tstate
);
18915 if (PyErr_Occurred()) SWIG_fail
;
18918 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18926 SWIGINTERN PyObject
*_wrap_FontData_SetAllowSymbols(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18927 PyObject
*resultobj
= 0;
18928 wxFontData
*arg1
= (wxFontData
*) 0 ;
18934 PyObject
* obj0
= 0 ;
18935 PyObject
* obj1
= 0 ;
18936 char * kwnames
[] = {
18937 (char *) "self",(char *) "allowSymbols", NULL
18940 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontData_SetAllowSymbols",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
18941 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFontData
, 0 | 0 );
18942 if (!SWIG_IsOK(res1
)) {
18943 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontData_SetAllowSymbols" "', expected argument " "1"" of type '" "wxFontData *""'");
18945 arg1
= reinterpret_cast< wxFontData
* >(argp1
);
18946 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
18947 if (!SWIG_IsOK(ecode2
)) {
18948 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "FontData_SetAllowSymbols" "', expected argument " "2"" of type '" "bool""'");
18950 arg2
= static_cast< bool >(val2
);
18952 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18953 (arg1
)->SetAllowSymbols(arg2
);
18954 wxPyEndAllowThreads(__tstate
);
18955 if (PyErr_Occurred()) SWIG_fail
;
18957 resultobj
= SWIG_Py_Void();
18964 SWIGINTERN PyObject
*_wrap_FontData_SetChosenFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18965 PyObject
*resultobj
= 0;
18966 wxFontData
*arg1
= (wxFontData
*) 0 ;
18972 PyObject
* obj0
= 0 ;
18973 PyObject
* obj1
= 0 ;
18974 char * kwnames
[] = {
18975 (char *) "self",(char *) "font", NULL
18978 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontData_SetChosenFont",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
18979 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFontData
, 0 | 0 );
18980 if (!SWIG_IsOK(res1
)) {
18981 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontData_SetChosenFont" "', expected argument " "1"" of type '" "wxFontData *""'");
18983 arg1
= reinterpret_cast< wxFontData
* >(argp1
);
18984 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxFont
, 0 | 0);
18985 if (!SWIG_IsOK(res2
)) {
18986 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "FontData_SetChosenFont" "', expected argument " "2"" of type '" "wxFont const &""'");
18989 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "FontData_SetChosenFont" "', expected argument " "2"" of type '" "wxFont const &""'");
18991 arg2
= reinterpret_cast< wxFont
* >(argp2
);
18993 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18994 (arg1
)->SetChosenFont((wxFont
const &)*arg2
);
18995 wxPyEndAllowThreads(__tstate
);
18996 if (PyErr_Occurred()) SWIG_fail
;
18998 resultobj
= SWIG_Py_Void();
19005 SWIGINTERN PyObject
*_wrap_FontData_SetColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19006 PyObject
*resultobj
= 0;
19007 wxFontData
*arg1
= (wxFontData
*) 0 ;
19008 wxColour
*arg2
= 0 ;
19012 PyObject
* obj0
= 0 ;
19013 PyObject
* obj1
= 0 ;
19014 char * kwnames
[] = {
19015 (char *) "self",(char *) "colour", NULL
19018 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontData_SetColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19019 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFontData
, 0 | 0 );
19020 if (!SWIG_IsOK(res1
)) {
19021 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontData_SetColour" "', expected argument " "1"" of type '" "wxFontData *""'");
19023 arg1
= reinterpret_cast< wxFontData
* >(argp1
);
19026 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
19029 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19030 (arg1
)->SetColour((wxColour
const &)*arg2
);
19031 wxPyEndAllowThreads(__tstate
);
19032 if (PyErr_Occurred()) SWIG_fail
;
19034 resultobj
= SWIG_Py_Void();
19041 SWIGINTERN PyObject
*_wrap_FontData_SetInitialFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19042 PyObject
*resultobj
= 0;
19043 wxFontData
*arg1
= (wxFontData
*) 0 ;
19049 PyObject
* obj0
= 0 ;
19050 PyObject
* obj1
= 0 ;
19051 char * kwnames
[] = {
19052 (char *) "self",(char *) "font", NULL
19055 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontData_SetInitialFont",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19056 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFontData
, 0 | 0 );
19057 if (!SWIG_IsOK(res1
)) {
19058 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontData_SetInitialFont" "', expected argument " "1"" of type '" "wxFontData *""'");
19060 arg1
= reinterpret_cast< wxFontData
* >(argp1
);
19061 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxFont
, 0 | 0);
19062 if (!SWIG_IsOK(res2
)) {
19063 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "FontData_SetInitialFont" "', expected argument " "2"" of type '" "wxFont const &""'");
19066 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "FontData_SetInitialFont" "', expected argument " "2"" of type '" "wxFont const &""'");
19068 arg2
= reinterpret_cast< wxFont
* >(argp2
);
19070 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19071 (arg1
)->SetInitialFont((wxFont
const &)*arg2
);
19072 wxPyEndAllowThreads(__tstate
);
19073 if (PyErr_Occurred()) SWIG_fail
;
19075 resultobj
= SWIG_Py_Void();
19082 SWIGINTERN PyObject
*_wrap_FontData_SetRange(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19083 PyObject
*resultobj
= 0;
19084 wxFontData
*arg1
= (wxFontData
*) 0 ;
19093 PyObject
* obj0
= 0 ;
19094 PyObject
* obj1
= 0 ;
19095 PyObject
* obj2
= 0 ;
19096 char * kwnames
[] = {
19097 (char *) "self",(char *) "min",(char *) "max", NULL
19100 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:FontData_SetRange",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
19101 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFontData
, 0 | 0 );
19102 if (!SWIG_IsOK(res1
)) {
19103 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontData_SetRange" "', expected argument " "1"" of type '" "wxFontData *""'");
19105 arg1
= reinterpret_cast< wxFontData
* >(argp1
);
19106 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
19107 if (!SWIG_IsOK(ecode2
)) {
19108 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "FontData_SetRange" "', expected argument " "2"" of type '" "int""'");
19110 arg2
= static_cast< int >(val2
);
19111 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
19112 if (!SWIG_IsOK(ecode3
)) {
19113 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "FontData_SetRange" "', expected argument " "3"" of type '" "int""'");
19115 arg3
= static_cast< int >(val3
);
19117 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19118 (arg1
)->SetRange(arg2
,arg3
);
19119 wxPyEndAllowThreads(__tstate
);
19120 if (PyErr_Occurred()) SWIG_fail
;
19122 resultobj
= SWIG_Py_Void();
19129 SWIGINTERN PyObject
*_wrap_FontData_SetShowHelp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19130 PyObject
*resultobj
= 0;
19131 wxFontData
*arg1
= (wxFontData
*) 0 ;
19137 PyObject
* obj0
= 0 ;
19138 PyObject
* obj1
= 0 ;
19139 char * kwnames
[] = {
19140 (char *) "self",(char *) "showHelp", NULL
19143 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontData_SetShowHelp",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19144 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFontData
, 0 | 0 );
19145 if (!SWIG_IsOK(res1
)) {
19146 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontData_SetShowHelp" "', expected argument " "1"" of type '" "wxFontData *""'");
19148 arg1
= reinterpret_cast< wxFontData
* >(argp1
);
19149 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
19150 if (!SWIG_IsOK(ecode2
)) {
19151 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "FontData_SetShowHelp" "', expected argument " "2"" of type '" "bool""'");
19153 arg2
= static_cast< bool >(val2
);
19155 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19156 (arg1
)->SetShowHelp(arg2
);
19157 wxPyEndAllowThreads(__tstate
);
19158 if (PyErr_Occurred()) SWIG_fail
;
19160 resultobj
= SWIG_Py_Void();
19167 SWIGINTERN PyObject
*FontData_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19169 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
19170 SWIG_TypeNewClientData(SWIGTYPE_p_wxFontData
, SWIG_NewClientData(obj
));
19171 return SWIG_Py_Void();
19174 SWIGINTERN PyObject
*FontData_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19175 return SWIG_Python_InitShadowInstance(args
);
19178 SWIGINTERN PyObject
*_wrap_new_FontDialog(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19179 PyObject
*resultobj
= 0;
19180 wxWindow
*arg1
= (wxWindow
*) 0 ;
19181 wxFontData
*arg2
= 0 ;
19182 wxFontDialog
*result
= 0 ;
19187 PyObject
* obj0
= 0 ;
19188 PyObject
* obj1
= 0 ;
19189 char * kwnames
[] = {
19190 (char *) "parent",(char *) "data", NULL
19193 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_FontDialog",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19194 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
19195 if (!SWIG_IsOK(res1
)) {
19196 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_FontDialog" "', expected argument " "1"" of type '" "wxWindow *""'");
19198 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
19199 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxFontData
, 0 | 0);
19200 if (!SWIG_IsOK(res2
)) {
19201 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_FontDialog" "', expected argument " "2"" of type '" "wxFontData const &""'");
19204 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_FontDialog" "', expected argument " "2"" of type '" "wxFontData const &""'");
19206 arg2
= reinterpret_cast< wxFontData
* >(argp2
);
19208 if (!wxPyCheckForApp()) SWIG_fail
;
19209 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19210 result
= (wxFontDialog
*)new wxFontDialog(arg1
,(wxFontData
const &)*arg2
);
19211 wxPyEndAllowThreads(__tstate
);
19212 if (PyErr_Occurred()) SWIG_fail
;
19214 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFontDialog
, SWIG_POINTER_NEW
| 0 );
19221 SWIGINTERN PyObject
*_wrap_FontDialog_GetFontData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19222 PyObject
*resultobj
= 0;
19223 wxFontDialog
*arg1
= (wxFontDialog
*) 0 ;
19224 wxFontData
*result
= 0 ;
19227 PyObject
*swig_obj
[1] ;
19229 if (!args
) SWIG_fail
;
19230 swig_obj
[0] = args
;
19231 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFontDialog
, 0 | 0 );
19232 if (!SWIG_IsOK(res1
)) {
19233 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontDialog_GetFontData" "', expected argument " "1"" of type '" "wxFontDialog *""'");
19235 arg1
= reinterpret_cast< wxFontDialog
* >(argp1
);
19237 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19239 wxFontData
&_result_ref
= (arg1
)->GetFontData();
19240 result
= (wxFontData
*) &_result_ref
;
19242 wxPyEndAllowThreads(__tstate
);
19243 if (PyErr_Occurred()) SWIG_fail
;
19245 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFontData
, 0 | 0 );
19252 SWIGINTERN PyObject
*FontDialog_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19254 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
19255 SWIG_TypeNewClientData(SWIGTYPE_p_wxFontDialog
, SWIG_NewClientData(obj
));
19256 return SWIG_Py_Void();
19259 SWIGINTERN PyObject
*FontDialog_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19260 return SWIG_Python_InitShadowInstance(args
);
19263 SWIGINTERN PyObject
*_wrap_GetFontFromUser(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19264 PyObject
*resultobj
= 0;
19265 wxWindow
*arg1
= (wxWindow
*) NULL
;
19266 wxFont
const &arg2_defvalue
= wxNullFont
;
19267 wxFont
*arg2
= (wxFont
*) &arg2_defvalue
;
19268 wxString
const &arg3_defvalue
= wxPyEmptyString
;
19269 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
19275 bool temp3
= false ;
19276 PyObject
* obj0
= 0 ;
19277 PyObject
* obj1
= 0 ;
19278 PyObject
* obj2
= 0 ;
19279 char * kwnames
[] = {
19280 (char *) "parent",(char *) "fontInit",(char *) "caption", NULL
19283 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOO:GetFontFromUser",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
19285 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
19286 if (!SWIG_IsOK(res1
)) {
19287 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GetFontFromUser" "', expected argument " "1"" of type '" "wxWindow *""'");
19289 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
19292 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxFont
, 0 | 0);
19293 if (!SWIG_IsOK(res2
)) {
19294 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GetFontFromUser" "', expected argument " "2"" of type '" "wxFont const &""'");
19297 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GetFontFromUser" "', expected argument " "2"" of type '" "wxFont const &""'");
19299 arg2
= reinterpret_cast< wxFont
* >(argp2
);
19303 arg3
= wxString_in_helper(obj2
);
19304 if (arg3
== NULL
) SWIG_fail
;
19309 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19310 result
= wxGetFontFromUser(arg1
,(wxFont
const &)*arg2
,(wxString
const &)*arg3
);
19311 wxPyEndAllowThreads(__tstate
);
19312 if (PyErr_Occurred()) SWIG_fail
;
19314 resultobj
= SWIG_NewPointerObj((new wxFont(static_cast< const wxFont
& >(result
))), SWIGTYPE_p_wxFont
, SWIG_POINTER_OWN
| 0 );
19329 SWIGINTERN PyObject
*_wrap_new_MessageDialog(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19330 PyObject
*resultobj
= 0;
19331 wxWindow
*arg1
= (wxWindow
*) 0 ;
19332 wxString
*arg2
= 0 ;
19333 wxString
const &arg3_defvalue
= wxPyMessageBoxCaptionStr
;
19334 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
19335 long arg4
= (long) wxOK
|wxCANCEL
|wxCENTRE
;
19336 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
19337 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
19338 wxMessageDialog
*result
= 0 ;
19341 bool temp2
= false ;
19342 bool temp3
= false ;
19346 PyObject
* obj0
= 0 ;
19347 PyObject
* obj1
= 0 ;
19348 PyObject
* obj2
= 0 ;
19349 PyObject
* obj3
= 0 ;
19350 PyObject
* obj4
= 0 ;
19351 char * kwnames
[] = {
19352 (char *) "parent",(char *) "message",(char *) "caption",(char *) "style",(char *) "pos", NULL
19355 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOO:new_MessageDialog",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
19356 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
19357 if (!SWIG_IsOK(res1
)) {
19358 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_MessageDialog" "', expected argument " "1"" of type '" "wxWindow *""'");
19360 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
19362 arg2
= wxString_in_helper(obj1
);
19363 if (arg2
== NULL
) SWIG_fail
;
19368 arg3
= wxString_in_helper(obj2
);
19369 if (arg3
== NULL
) SWIG_fail
;
19374 ecode4
= SWIG_AsVal_long(obj3
, &val4
);
19375 if (!SWIG_IsOK(ecode4
)) {
19376 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_MessageDialog" "', expected argument " "4"" of type '" "long""'");
19378 arg4
= static_cast< long >(val4
);
19383 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
19387 if (!wxPyCheckForApp()) SWIG_fail
;
19388 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19389 result
= (wxMessageDialog
*)new wxMessageDialog(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,arg4
,(wxPoint
const &)*arg5
);
19390 wxPyEndAllowThreads(__tstate
);
19391 if (PyErr_Occurred()) SWIG_fail
;
19393 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMessageDialog
, SWIG_POINTER_NEW
| 0 );
19416 SWIGINTERN PyObject
*MessageDialog_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19418 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
19419 SWIG_TypeNewClientData(SWIGTYPE_p_wxMessageDialog
, SWIG_NewClientData(obj
));
19420 return SWIG_Py_Void();
19423 SWIGINTERN PyObject
*MessageDialog_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19424 return SWIG_Python_InitShadowInstance(args
);
19427 SWIGINTERN PyObject
*_wrap_new_ProgressDialog(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19428 PyObject
*resultobj
= 0;
19429 wxString
*arg1
= 0 ;
19430 wxString
*arg2
= 0 ;
19431 int arg3
= (int) 100 ;
19432 wxWindow
*arg4
= (wxWindow
*) NULL
;
19433 int arg5
= (int) wxPD_AUTO_HIDE
|wxPD_APP_MODAL
;
19434 wxProgressDialog
*result
= 0 ;
19435 bool temp1
= false ;
19436 bool temp2
= false ;
19443 PyObject
* obj0
= 0 ;
19444 PyObject
* obj1
= 0 ;
19445 PyObject
* obj2
= 0 ;
19446 PyObject
* obj3
= 0 ;
19447 PyObject
* obj4
= 0 ;
19448 char * kwnames
[] = {
19449 (char *) "title",(char *) "message",(char *) "maximum",(char *) "parent",(char *) "style", NULL
19452 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOO:new_ProgressDialog",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
19454 arg1
= wxString_in_helper(obj0
);
19455 if (arg1
== NULL
) SWIG_fail
;
19459 arg2
= wxString_in_helper(obj1
);
19460 if (arg2
== NULL
) SWIG_fail
;
19464 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
19465 if (!SWIG_IsOK(ecode3
)) {
19466 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_ProgressDialog" "', expected argument " "3"" of type '" "int""'");
19468 arg3
= static_cast< int >(val3
);
19471 res4
= SWIG_ConvertPtr(obj3
, &argp4
,SWIGTYPE_p_wxWindow
, 0 | 0 );
19472 if (!SWIG_IsOK(res4
)) {
19473 SWIG_exception_fail(SWIG_ArgError(res4
), "in method '" "new_ProgressDialog" "', expected argument " "4"" of type '" "wxWindow *""'");
19475 arg4
= reinterpret_cast< wxWindow
* >(argp4
);
19478 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
19479 if (!SWIG_IsOK(ecode5
)) {
19480 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_ProgressDialog" "', expected argument " "5"" of type '" "int""'");
19482 arg5
= static_cast< int >(val5
);
19485 if (!wxPyCheckForApp()) SWIG_fail
;
19486 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19487 result
= (wxProgressDialog
*)new wxProgressDialog((wxString
const &)*arg1
,(wxString
const &)*arg2
,arg3
,arg4
,arg5
);
19488 wxPyEndAllowThreads(__tstate
);
19489 if (PyErr_Occurred()) SWIG_fail
;
19491 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxProgressDialog
, SWIG_POINTER_NEW
| 0 );
19514 SWIGINTERN PyObject
*_wrap_ProgressDialog_Update(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19515 PyObject
*resultobj
= 0;
19516 wxProgressDialog
*arg1
= (wxProgressDialog
*) 0 ;
19518 wxString
const &arg3_defvalue
= wxPyEmptyString
;
19519 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
19520 bool *arg4
= (bool *) 0 ;
19526 bool temp3
= false ;
19528 int res4
= SWIG_TMPOBJ
;
19529 PyObject
* obj0
= 0 ;
19530 PyObject
* obj1
= 0 ;
19531 PyObject
* obj2
= 0 ;
19532 char * kwnames
[] = {
19533 (char *) "self",(char *) "value",(char *) "newmsg", NULL
19537 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ProgressDialog_Update",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
19538 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxProgressDialog
, 0 | 0 );
19539 if (!SWIG_IsOK(res1
)) {
19540 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ProgressDialog_Update" "', expected argument " "1"" of type '" "wxProgressDialog *""'");
19542 arg1
= reinterpret_cast< wxProgressDialog
* >(argp1
);
19543 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
19544 if (!SWIG_IsOK(ecode2
)) {
19545 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ProgressDialog_Update" "', expected argument " "2"" of type '" "int""'");
19547 arg2
= static_cast< int >(val2
);
19550 arg3
= wxString_in_helper(obj2
);
19551 if (arg3
== NULL
) SWIG_fail
;
19556 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19557 result
= (bool)(arg1
)->Update(arg2
,(wxString
const &)*arg3
,arg4
);
19558 wxPyEndAllowThreads(__tstate
);
19559 if (PyErr_Occurred()) SWIG_fail
;
19562 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19564 if (SWIG_IsTmpObj(res4
)) {
19565 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_bool((*arg4
)));
19567 int new_flags
= SWIG_IsNewObj(res4
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
19568 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_bool
, new_flags
));
19584 SWIGINTERN PyObject
*_wrap_ProgressDialog_Resume(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19585 PyObject
*resultobj
= 0;
19586 wxProgressDialog
*arg1
= (wxProgressDialog
*) 0 ;
19589 PyObject
*swig_obj
[1] ;
19591 if (!args
) SWIG_fail
;
19592 swig_obj
[0] = args
;
19593 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxProgressDialog
, 0 | 0 );
19594 if (!SWIG_IsOK(res1
)) {
19595 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ProgressDialog_Resume" "', expected argument " "1"" of type '" "wxProgressDialog *""'");
19597 arg1
= reinterpret_cast< wxProgressDialog
* >(argp1
);
19599 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19601 wxPyEndAllowThreads(__tstate
);
19602 if (PyErr_Occurred()) SWIG_fail
;
19604 resultobj
= SWIG_Py_Void();
19611 SWIGINTERN PyObject
*ProgressDialog_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19613 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
19614 SWIG_TypeNewClientData(SWIGTYPE_p_wxProgressDialog
, SWIG_NewClientData(obj
));
19615 return SWIG_Py_Void();
19618 SWIGINTERN PyObject
*ProgressDialog_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19619 return SWIG_Python_InitShadowInstance(args
);
19622 SWIGINTERN PyObject
*_wrap_new_FindDialogEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19623 PyObject
*resultobj
= 0;
19624 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
19625 int arg2
= (int) 0 ;
19626 wxFindDialogEvent
*result
= 0 ;
19631 PyObject
* obj0
= 0 ;
19632 PyObject
* obj1
= 0 ;
19633 char * kwnames
[] = {
19634 (char *) "commandType",(char *) "id", NULL
19637 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_FindDialogEvent",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19639 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
19640 if (!SWIG_IsOK(ecode1
)) {
19641 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_FindDialogEvent" "', expected argument " "1"" of type '" "wxEventType""'");
19643 arg1
= static_cast< wxEventType
>(val1
);
19646 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
19647 if (!SWIG_IsOK(ecode2
)) {
19648 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_FindDialogEvent" "', expected argument " "2"" of type '" "int""'");
19650 arg2
= static_cast< int >(val2
);
19653 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19654 result
= (wxFindDialogEvent
*)new wxFindDialogEvent(arg1
,arg2
);
19655 wxPyEndAllowThreads(__tstate
);
19656 if (PyErr_Occurred()) SWIG_fail
;
19658 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFindDialogEvent
, SWIG_POINTER_NEW
| 0 );
19665 SWIGINTERN PyObject
*_wrap_FindDialogEvent_GetFlags(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19666 PyObject
*resultobj
= 0;
19667 wxFindDialogEvent
*arg1
= (wxFindDialogEvent
*) 0 ;
19671 PyObject
*swig_obj
[1] ;
19673 if (!args
) SWIG_fail
;
19674 swig_obj
[0] = args
;
19675 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFindDialogEvent
, 0 | 0 );
19676 if (!SWIG_IsOK(res1
)) {
19677 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FindDialogEvent_GetFlags" "', expected argument " "1"" of type '" "wxFindDialogEvent *""'");
19679 arg1
= reinterpret_cast< wxFindDialogEvent
* >(argp1
);
19681 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19682 result
= (int)(arg1
)->GetFlags();
19683 wxPyEndAllowThreads(__tstate
);
19684 if (PyErr_Occurred()) SWIG_fail
;
19686 resultobj
= SWIG_From_int(static_cast< int >(result
));
19693 SWIGINTERN PyObject
*_wrap_FindDialogEvent_GetFindString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19694 PyObject
*resultobj
= 0;
19695 wxFindDialogEvent
*arg1
= (wxFindDialogEvent
*) 0 ;
19696 wxString
*result
= 0 ;
19699 PyObject
*swig_obj
[1] ;
19701 if (!args
) SWIG_fail
;
19702 swig_obj
[0] = args
;
19703 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFindDialogEvent
, 0 | 0 );
19704 if (!SWIG_IsOK(res1
)) {
19705 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FindDialogEvent_GetFindString" "', expected argument " "1"" of type '" "wxFindDialogEvent *""'");
19707 arg1
= reinterpret_cast< wxFindDialogEvent
* >(argp1
);
19709 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19711 wxString
const &_result_ref
= (arg1
)->GetFindString();
19712 result
= (wxString
*) &_result_ref
;
19714 wxPyEndAllowThreads(__tstate
);
19715 if (PyErr_Occurred()) SWIG_fail
;
19719 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
19721 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
19730 SWIGINTERN PyObject
*_wrap_FindDialogEvent_GetReplaceString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19731 PyObject
*resultobj
= 0;
19732 wxFindDialogEvent
*arg1
= (wxFindDialogEvent
*) 0 ;
19733 wxString
*result
= 0 ;
19736 PyObject
*swig_obj
[1] ;
19738 if (!args
) SWIG_fail
;
19739 swig_obj
[0] = args
;
19740 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFindDialogEvent
, 0 | 0 );
19741 if (!SWIG_IsOK(res1
)) {
19742 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FindDialogEvent_GetReplaceString" "', expected argument " "1"" of type '" "wxFindDialogEvent *""'");
19744 arg1
= reinterpret_cast< wxFindDialogEvent
* >(argp1
);
19746 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19748 wxString
const &_result_ref
= (arg1
)->GetReplaceString();
19749 result
= (wxString
*) &_result_ref
;
19751 wxPyEndAllowThreads(__tstate
);
19752 if (PyErr_Occurred()) SWIG_fail
;
19756 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
19758 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
19767 SWIGINTERN PyObject
*_wrap_FindDialogEvent_GetDialog(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19768 PyObject
*resultobj
= 0;
19769 wxFindDialogEvent
*arg1
= (wxFindDialogEvent
*) 0 ;
19770 wxFindReplaceDialog
*result
= 0 ;
19773 PyObject
*swig_obj
[1] ;
19775 if (!args
) SWIG_fail
;
19776 swig_obj
[0] = args
;
19777 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFindDialogEvent
, 0 | 0 );
19778 if (!SWIG_IsOK(res1
)) {
19779 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FindDialogEvent_GetDialog" "', expected argument " "1"" of type '" "wxFindDialogEvent *""'");
19781 arg1
= reinterpret_cast< wxFindDialogEvent
* >(argp1
);
19783 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19784 result
= (wxFindReplaceDialog
*)(arg1
)->GetDialog();
19785 wxPyEndAllowThreads(__tstate
);
19786 if (PyErr_Occurred()) SWIG_fail
;
19788 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFindReplaceDialog
, 0 | 0 );
19795 SWIGINTERN PyObject
*_wrap_FindDialogEvent_SetFlags(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19796 PyObject
*resultobj
= 0;
19797 wxFindDialogEvent
*arg1
= (wxFindDialogEvent
*) 0 ;
19803 PyObject
* obj0
= 0 ;
19804 PyObject
* obj1
= 0 ;
19805 char * kwnames
[] = {
19806 (char *) "self",(char *) "flags", NULL
19809 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FindDialogEvent_SetFlags",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19810 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFindDialogEvent
, 0 | 0 );
19811 if (!SWIG_IsOK(res1
)) {
19812 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FindDialogEvent_SetFlags" "', expected argument " "1"" of type '" "wxFindDialogEvent *""'");
19814 arg1
= reinterpret_cast< wxFindDialogEvent
* >(argp1
);
19815 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
19816 if (!SWIG_IsOK(ecode2
)) {
19817 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "FindDialogEvent_SetFlags" "', expected argument " "2"" of type '" "int""'");
19819 arg2
= static_cast< int >(val2
);
19821 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19822 (arg1
)->SetFlags(arg2
);
19823 wxPyEndAllowThreads(__tstate
);
19824 if (PyErr_Occurred()) SWIG_fail
;
19826 resultobj
= SWIG_Py_Void();
19833 SWIGINTERN PyObject
*_wrap_FindDialogEvent_SetFindString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19834 PyObject
*resultobj
= 0;
19835 wxFindDialogEvent
*arg1
= (wxFindDialogEvent
*) 0 ;
19836 wxString
*arg2
= 0 ;
19839 bool temp2
= false ;
19840 PyObject
* obj0
= 0 ;
19841 PyObject
* obj1
= 0 ;
19842 char * kwnames
[] = {
19843 (char *) "self",(char *) "str", NULL
19846 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FindDialogEvent_SetFindString",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19847 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFindDialogEvent
, 0 | 0 );
19848 if (!SWIG_IsOK(res1
)) {
19849 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FindDialogEvent_SetFindString" "', expected argument " "1"" of type '" "wxFindDialogEvent *""'");
19851 arg1
= reinterpret_cast< wxFindDialogEvent
* >(argp1
);
19853 arg2
= wxString_in_helper(obj1
);
19854 if (arg2
== NULL
) SWIG_fail
;
19858 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19859 (arg1
)->SetFindString((wxString
const &)*arg2
);
19860 wxPyEndAllowThreads(__tstate
);
19861 if (PyErr_Occurred()) SWIG_fail
;
19863 resultobj
= SWIG_Py_Void();
19878 SWIGINTERN PyObject
*_wrap_FindDialogEvent_SetReplaceString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19879 PyObject
*resultobj
= 0;
19880 wxFindDialogEvent
*arg1
= (wxFindDialogEvent
*) 0 ;
19881 wxString
*arg2
= 0 ;
19884 bool temp2
= false ;
19885 PyObject
* obj0
= 0 ;
19886 PyObject
* obj1
= 0 ;
19887 char * kwnames
[] = {
19888 (char *) "self",(char *) "str", NULL
19891 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FindDialogEvent_SetReplaceString",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19892 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFindDialogEvent
, 0 | 0 );
19893 if (!SWIG_IsOK(res1
)) {
19894 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FindDialogEvent_SetReplaceString" "', expected argument " "1"" of type '" "wxFindDialogEvent *""'");
19896 arg1
= reinterpret_cast< wxFindDialogEvent
* >(argp1
);
19898 arg2
= wxString_in_helper(obj1
);
19899 if (arg2
== NULL
) SWIG_fail
;
19903 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19904 (arg1
)->SetReplaceString((wxString
const &)*arg2
);
19905 wxPyEndAllowThreads(__tstate
);
19906 if (PyErr_Occurred()) SWIG_fail
;
19908 resultobj
= SWIG_Py_Void();
19923 SWIGINTERN PyObject
*FindDialogEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19925 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
19926 SWIG_TypeNewClientData(SWIGTYPE_p_wxFindDialogEvent
, SWIG_NewClientData(obj
));
19927 return SWIG_Py_Void();
19930 SWIGINTERN PyObject
*FindDialogEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19931 return SWIG_Python_InitShadowInstance(args
);
19934 SWIGINTERN PyObject
*_wrap_new_FindReplaceData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19935 PyObject
*resultobj
= 0;
19936 int arg1
= (int) 0 ;
19937 wxFindReplaceData
*result
= 0 ;
19940 PyObject
* obj0
= 0 ;
19941 char * kwnames
[] = {
19942 (char *) "flags", NULL
19945 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_FindReplaceData",kwnames
,&obj0
)) SWIG_fail
;
19947 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
19948 if (!SWIG_IsOK(ecode1
)) {
19949 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_FindReplaceData" "', expected argument " "1"" of type '" "int""'");
19951 arg1
= static_cast< int >(val1
);
19954 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19955 result
= (wxFindReplaceData
*)new wxFindReplaceData(arg1
);
19956 wxPyEndAllowThreads(__tstate
);
19957 if (PyErr_Occurred()) SWIG_fail
;
19959 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFindReplaceData
, SWIG_POINTER_NEW
| 0 );
19966 SWIGINTERN PyObject
*_wrap_delete_FindReplaceData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19967 PyObject
*resultobj
= 0;
19968 wxFindReplaceData
*arg1
= (wxFindReplaceData
*) 0 ;
19971 PyObject
*swig_obj
[1] ;
19973 if (!args
) SWIG_fail
;
19974 swig_obj
[0] = args
;
19975 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFindReplaceData
, SWIG_POINTER_DISOWN
| 0 );
19976 if (!SWIG_IsOK(res1
)) {
19977 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_FindReplaceData" "', expected argument " "1"" of type '" "wxFindReplaceData *""'");
19979 arg1
= reinterpret_cast< wxFindReplaceData
* >(argp1
);
19981 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19984 wxPyEndAllowThreads(__tstate
);
19985 if (PyErr_Occurred()) SWIG_fail
;
19987 resultobj
= SWIG_Py_Void();
19994 SWIGINTERN PyObject
*_wrap_FindReplaceData_GetFindString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19995 PyObject
*resultobj
= 0;
19996 wxFindReplaceData
*arg1
= (wxFindReplaceData
*) 0 ;
19997 wxString
*result
= 0 ;
20000 PyObject
*swig_obj
[1] ;
20002 if (!args
) SWIG_fail
;
20003 swig_obj
[0] = args
;
20004 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFindReplaceData
, 0 | 0 );
20005 if (!SWIG_IsOK(res1
)) {
20006 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FindReplaceData_GetFindString" "', expected argument " "1"" of type '" "wxFindReplaceData *""'");
20008 arg1
= reinterpret_cast< wxFindReplaceData
* >(argp1
);
20010 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20012 wxString
const &_result_ref
= (arg1
)->GetFindString();
20013 result
= (wxString
*) &_result_ref
;
20015 wxPyEndAllowThreads(__tstate
);
20016 if (PyErr_Occurred()) SWIG_fail
;
20020 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
20022 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
20031 SWIGINTERN PyObject
*_wrap_FindReplaceData_GetReplaceString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20032 PyObject
*resultobj
= 0;
20033 wxFindReplaceData
*arg1
= (wxFindReplaceData
*) 0 ;
20034 wxString
*result
= 0 ;
20037 PyObject
*swig_obj
[1] ;
20039 if (!args
) SWIG_fail
;
20040 swig_obj
[0] = args
;
20041 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFindReplaceData
, 0 | 0 );
20042 if (!SWIG_IsOK(res1
)) {
20043 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FindReplaceData_GetReplaceString" "', expected argument " "1"" of type '" "wxFindReplaceData *""'");
20045 arg1
= reinterpret_cast< wxFindReplaceData
* >(argp1
);
20047 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20049 wxString
const &_result_ref
= (arg1
)->GetReplaceString();
20050 result
= (wxString
*) &_result_ref
;
20052 wxPyEndAllowThreads(__tstate
);
20053 if (PyErr_Occurred()) SWIG_fail
;
20057 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
20059 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
20068 SWIGINTERN PyObject
*_wrap_FindReplaceData_GetFlags(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20069 PyObject
*resultobj
= 0;
20070 wxFindReplaceData
*arg1
= (wxFindReplaceData
*) 0 ;
20074 PyObject
*swig_obj
[1] ;
20076 if (!args
) SWIG_fail
;
20077 swig_obj
[0] = args
;
20078 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFindReplaceData
, 0 | 0 );
20079 if (!SWIG_IsOK(res1
)) {
20080 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FindReplaceData_GetFlags" "', expected argument " "1"" of type '" "wxFindReplaceData *""'");
20082 arg1
= reinterpret_cast< wxFindReplaceData
* >(argp1
);
20084 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20085 result
= (int)(arg1
)->GetFlags();
20086 wxPyEndAllowThreads(__tstate
);
20087 if (PyErr_Occurred()) SWIG_fail
;
20089 resultobj
= SWIG_From_int(static_cast< int >(result
));
20096 SWIGINTERN PyObject
*_wrap_FindReplaceData_SetFlags(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20097 PyObject
*resultobj
= 0;
20098 wxFindReplaceData
*arg1
= (wxFindReplaceData
*) 0 ;
20104 PyObject
* obj0
= 0 ;
20105 PyObject
* obj1
= 0 ;
20106 char * kwnames
[] = {
20107 (char *) "self",(char *) "flags", NULL
20110 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FindReplaceData_SetFlags",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20111 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFindReplaceData
, 0 | 0 );
20112 if (!SWIG_IsOK(res1
)) {
20113 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FindReplaceData_SetFlags" "', expected argument " "1"" of type '" "wxFindReplaceData *""'");
20115 arg1
= reinterpret_cast< wxFindReplaceData
* >(argp1
);
20116 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
20117 if (!SWIG_IsOK(ecode2
)) {
20118 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "FindReplaceData_SetFlags" "', expected argument " "2"" of type '" "int""'");
20120 arg2
= static_cast< int >(val2
);
20122 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20123 (arg1
)->SetFlags(arg2
);
20124 wxPyEndAllowThreads(__tstate
);
20125 if (PyErr_Occurred()) SWIG_fail
;
20127 resultobj
= SWIG_Py_Void();
20134 SWIGINTERN PyObject
*_wrap_FindReplaceData_SetFindString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20135 PyObject
*resultobj
= 0;
20136 wxFindReplaceData
*arg1
= (wxFindReplaceData
*) 0 ;
20137 wxString
*arg2
= 0 ;
20140 bool temp2
= false ;
20141 PyObject
* obj0
= 0 ;
20142 PyObject
* obj1
= 0 ;
20143 char * kwnames
[] = {
20144 (char *) "self",(char *) "str", NULL
20147 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FindReplaceData_SetFindString",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20148 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFindReplaceData
, 0 | 0 );
20149 if (!SWIG_IsOK(res1
)) {
20150 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FindReplaceData_SetFindString" "', expected argument " "1"" of type '" "wxFindReplaceData *""'");
20152 arg1
= reinterpret_cast< wxFindReplaceData
* >(argp1
);
20154 arg2
= wxString_in_helper(obj1
);
20155 if (arg2
== NULL
) SWIG_fail
;
20159 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20160 (arg1
)->SetFindString((wxString
const &)*arg2
);
20161 wxPyEndAllowThreads(__tstate
);
20162 if (PyErr_Occurred()) SWIG_fail
;
20164 resultobj
= SWIG_Py_Void();
20179 SWIGINTERN PyObject
*_wrap_FindReplaceData_SetReplaceString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20180 PyObject
*resultobj
= 0;
20181 wxFindReplaceData
*arg1
= (wxFindReplaceData
*) 0 ;
20182 wxString
*arg2
= 0 ;
20185 bool temp2
= false ;
20186 PyObject
* obj0
= 0 ;
20187 PyObject
* obj1
= 0 ;
20188 char * kwnames
[] = {
20189 (char *) "self",(char *) "str", NULL
20192 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FindReplaceData_SetReplaceString",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20193 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFindReplaceData
, 0 | 0 );
20194 if (!SWIG_IsOK(res1
)) {
20195 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FindReplaceData_SetReplaceString" "', expected argument " "1"" of type '" "wxFindReplaceData *""'");
20197 arg1
= reinterpret_cast< wxFindReplaceData
* >(argp1
);
20199 arg2
= wxString_in_helper(obj1
);
20200 if (arg2
== NULL
) SWIG_fail
;
20204 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20205 (arg1
)->SetReplaceString((wxString
const &)*arg2
);
20206 wxPyEndAllowThreads(__tstate
);
20207 if (PyErr_Occurred()) SWIG_fail
;
20209 resultobj
= SWIG_Py_Void();
20224 SWIGINTERN PyObject
*FindReplaceData_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20226 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
20227 SWIG_TypeNewClientData(SWIGTYPE_p_wxFindReplaceData
, SWIG_NewClientData(obj
));
20228 return SWIG_Py_Void();
20231 SWIGINTERN PyObject
*FindReplaceData_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20232 return SWIG_Python_InitShadowInstance(args
);
20235 SWIGINTERN PyObject
*_wrap_new_FindReplaceDialog(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20236 PyObject
*resultobj
= 0;
20237 wxWindow
*arg1
= (wxWindow
*) 0 ;
20238 wxFindReplaceData
*arg2
= (wxFindReplaceData
*) 0 ;
20239 wxString
*arg3
= 0 ;
20240 int arg4
= (int) 0 ;
20241 wxFindReplaceDialog
*result
= 0 ;
20246 bool temp3
= false ;
20249 PyObject
* obj0
= 0 ;
20250 PyObject
* obj1
= 0 ;
20251 PyObject
* obj2
= 0 ;
20252 PyObject
* obj3
= 0 ;
20253 char * kwnames
[] = {
20254 (char *) "parent",(char *) "data",(char *) "title",(char *) "style", NULL
20257 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:new_FindReplaceDialog",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
20258 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
20259 if (!SWIG_IsOK(res1
)) {
20260 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_FindReplaceDialog" "', expected argument " "1"" of type '" "wxWindow *""'");
20262 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
20263 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxFindReplaceData
, 0 | 0 );
20264 if (!SWIG_IsOK(res2
)) {
20265 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_FindReplaceDialog" "', expected argument " "2"" of type '" "wxFindReplaceData *""'");
20267 arg2
= reinterpret_cast< wxFindReplaceData
* >(argp2
);
20269 arg3
= wxString_in_helper(obj2
);
20270 if (arg3
== NULL
) SWIG_fail
;
20274 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
20275 if (!SWIG_IsOK(ecode4
)) {
20276 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_FindReplaceDialog" "', expected argument " "4"" of type '" "int""'");
20278 arg4
= static_cast< int >(val4
);
20281 if (!wxPyCheckForApp()) SWIG_fail
;
20282 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20283 result
= (wxFindReplaceDialog
*)new wxFindReplaceDialog(arg1
,arg2
,(wxString
const &)*arg3
,arg4
);
20284 wxPyEndAllowThreads(__tstate
);
20285 if (PyErr_Occurred()) SWIG_fail
;
20287 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFindReplaceDialog
, SWIG_POINTER_NEW
| 0 );
20302 SWIGINTERN PyObject
*_wrap_new_PreFindReplaceDialog(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20303 PyObject
*resultobj
= 0;
20304 wxFindReplaceDialog
*result
= 0 ;
20306 if (!SWIG_Python_UnpackTuple(args
,"new_PreFindReplaceDialog",0,0,0)) SWIG_fail
;
20308 if (!wxPyCheckForApp()) SWIG_fail
;
20309 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20310 result
= (wxFindReplaceDialog
*)new wxFindReplaceDialog();
20311 wxPyEndAllowThreads(__tstate
);
20312 if (PyErr_Occurred()) SWIG_fail
;
20314 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFindReplaceDialog
, SWIG_POINTER_OWN
| 0 );
20321 SWIGINTERN PyObject
*_wrap_FindReplaceDialog_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20322 PyObject
*resultobj
= 0;
20323 wxFindReplaceDialog
*arg1
= (wxFindReplaceDialog
*) 0 ;
20324 wxWindow
*arg2
= (wxWindow
*) 0 ;
20325 wxFindReplaceData
*arg3
= (wxFindReplaceData
*) 0 ;
20326 wxString
*arg4
= 0 ;
20327 int arg5
= (int) 0 ;
20335 bool temp4
= false ;
20338 PyObject
* obj0
= 0 ;
20339 PyObject
* obj1
= 0 ;
20340 PyObject
* obj2
= 0 ;
20341 PyObject
* obj3
= 0 ;
20342 PyObject
* obj4
= 0 ;
20343 char * kwnames
[] = {
20344 (char *) "self",(char *) "parent",(char *) "data",(char *) "title",(char *) "style", NULL
20347 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:FindReplaceDialog_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
20348 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFindReplaceDialog
, 0 | 0 );
20349 if (!SWIG_IsOK(res1
)) {
20350 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FindReplaceDialog_Create" "', expected argument " "1"" of type '" "wxFindReplaceDialog *""'");
20352 arg1
= reinterpret_cast< wxFindReplaceDialog
* >(argp1
);
20353 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
20354 if (!SWIG_IsOK(res2
)) {
20355 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "FindReplaceDialog_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
20357 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
20358 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxFindReplaceData
, 0 | 0 );
20359 if (!SWIG_IsOK(res3
)) {
20360 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "FindReplaceDialog_Create" "', expected argument " "3"" of type '" "wxFindReplaceData *""'");
20362 arg3
= reinterpret_cast< wxFindReplaceData
* >(argp3
);
20364 arg4
= wxString_in_helper(obj3
);
20365 if (arg4
== NULL
) SWIG_fail
;
20369 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
20370 if (!SWIG_IsOK(ecode5
)) {
20371 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "FindReplaceDialog_Create" "', expected argument " "5"" of type '" "int""'");
20373 arg5
= static_cast< int >(val5
);
20376 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20377 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,arg5
);
20378 wxPyEndAllowThreads(__tstate
);
20379 if (PyErr_Occurred()) SWIG_fail
;
20382 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20398 SWIGINTERN PyObject
*_wrap_FindReplaceDialog_GetData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20399 PyObject
*resultobj
= 0;
20400 wxFindReplaceDialog
*arg1
= (wxFindReplaceDialog
*) 0 ;
20401 wxFindReplaceData
*result
= 0 ;
20404 PyObject
*swig_obj
[1] ;
20406 if (!args
) SWIG_fail
;
20407 swig_obj
[0] = args
;
20408 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFindReplaceDialog
, 0 | 0 );
20409 if (!SWIG_IsOK(res1
)) {
20410 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FindReplaceDialog_GetData" "', expected argument " "1"" of type '" "wxFindReplaceDialog *""'");
20412 arg1
= reinterpret_cast< wxFindReplaceDialog
* >(argp1
);
20414 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20415 result
= (wxFindReplaceData
*)(arg1
)->GetData();
20416 wxPyEndAllowThreads(__tstate
);
20417 if (PyErr_Occurred()) SWIG_fail
;
20419 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFindReplaceData
, 0 | 0 );
20426 SWIGINTERN PyObject
*_wrap_FindReplaceDialog_SetData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20427 PyObject
*resultobj
= 0;
20428 wxFindReplaceDialog
*arg1
= (wxFindReplaceDialog
*) 0 ;
20429 wxFindReplaceData
*arg2
= (wxFindReplaceData
*) 0 ;
20434 PyObject
* obj0
= 0 ;
20435 PyObject
* obj1
= 0 ;
20436 char * kwnames
[] = {
20437 (char *) "self",(char *) "data", NULL
20440 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FindReplaceDialog_SetData",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20441 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFindReplaceDialog
, 0 | 0 );
20442 if (!SWIG_IsOK(res1
)) {
20443 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FindReplaceDialog_SetData" "', expected argument " "1"" of type '" "wxFindReplaceDialog *""'");
20445 arg1
= reinterpret_cast< wxFindReplaceDialog
* >(argp1
);
20446 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxFindReplaceData
, 0 | 0 );
20447 if (!SWIG_IsOK(res2
)) {
20448 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "FindReplaceDialog_SetData" "', expected argument " "2"" of type '" "wxFindReplaceData *""'");
20450 arg2
= reinterpret_cast< wxFindReplaceData
* >(argp2
);
20452 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20453 (arg1
)->SetData(arg2
);
20454 wxPyEndAllowThreads(__tstate
);
20455 if (PyErr_Occurred()) SWIG_fail
;
20457 resultobj
= SWIG_Py_Void();
20464 SWIGINTERN PyObject
*FindReplaceDialog_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20466 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
20467 SWIG_TypeNewClientData(SWIGTYPE_p_wxFindReplaceDialog
, SWIG_NewClientData(obj
));
20468 return SWIG_Py_Void();
20471 SWIGINTERN PyObject
*FindReplaceDialog_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20472 return SWIG_Python_InitShadowInstance(args
);
20475 SWIGINTERN PyObject
*_wrap_new_MDIParentFrame(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20476 PyObject
*resultobj
= 0;
20477 wxWindow
*arg1
= (wxWindow
*) 0 ;
20478 int arg2
= (int) (int)-1 ;
20479 wxString
const &arg3_defvalue
= wxPyEmptyString
;
20480 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
20481 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
20482 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
20483 wxSize
const &arg5_defvalue
= wxDefaultSize
;
20484 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
20485 long arg6
= (long) wxDEFAULT_FRAME_STYLE
|wxVSCROLL
|wxHSCROLL
;
20486 wxString
const &arg7_defvalue
= wxPyFrameNameStr
;
20487 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
20488 wxMDIParentFrame
*result
= 0 ;
20493 bool temp3
= false ;
20498 bool temp7
= false ;
20499 PyObject
* obj0
= 0 ;
20500 PyObject
* obj1
= 0 ;
20501 PyObject
* obj2
= 0 ;
20502 PyObject
* obj3
= 0 ;
20503 PyObject
* obj4
= 0 ;
20504 PyObject
* obj5
= 0 ;
20505 PyObject
* obj6
= 0 ;
20506 char * kwnames
[] = {
20507 (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
20510 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_MDIParentFrame",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
20511 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
20512 if (!SWIG_IsOK(res1
)) {
20513 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_MDIParentFrame" "', expected argument " "1"" of type '" "wxWindow *""'");
20515 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
20517 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
20518 if (!SWIG_IsOK(ecode2
)) {
20519 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_MDIParentFrame" "', expected argument " "2"" of type '" "int""'");
20521 arg2
= static_cast< int >(val2
);
20525 arg3
= wxString_in_helper(obj2
);
20526 if (arg3
== NULL
) SWIG_fail
;
20533 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
20539 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
20543 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
20544 if (!SWIG_IsOK(ecode6
)) {
20545 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_MDIParentFrame" "', expected argument " "6"" of type '" "long""'");
20547 arg6
= static_cast< long >(val6
);
20551 arg7
= wxString_in_helper(obj6
);
20552 if (arg7
== NULL
) SWIG_fail
;
20557 if (!wxPyCheckForApp()) SWIG_fail
;
20558 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20559 result
= (wxMDIParentFrame
*)new wxMDIParentFrame(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
20560 wxPyEndAllowThreads(__tstate
);
20561 if (PyErr_Occurred()) SWIG_fail
;
20563 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMDIParentFrame
, SWIG_POINTER_NEW
| 0 );
20586 SWIGINTERN PyObject
*_wrap_new_PreMDIParentFrame(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20587 PyObject
*resultobj
= 0;
20588 wxMDIParentFrame
*result
= 0 ;
20590 if (!SWIG_Python_UnpackTuple(args
,"new_PreMDIParentFrame",0,0,0)) SWIG_fail
;
20592 if (!wxPyCheckForApp()) SWIG_fail
;
20593 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20594 result
= (wxMDIParentFrame
*)new wxMDIParentFrame();
20595 wxPyEndAllowThreads(__tstate
);
20596 if (PyErr_Occurred()) SWIG_fail
;
20598 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMDIParentFrame
, SWIG_POINTER_OWN
| 0 );
20605 SWIGINTERN PyObject
*_wrap_MDIParentFrame_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20606 PyObject
*resultobj
= 0;
20607 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
20608 wxWindow
*arg2
= (wxWindow
*) 0 ;
20609 int arg3
= (int) (int)-1 ;
20610 wxString
const &arg4_defvalue
= wxPyEmptyString
;
20611 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
20612 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
20613 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
20614 wxSize
const &arg6_defvalue
= wxDefaultSize
;
20615 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
20616 long arg7
= (long) wxDEFAULT_FRAME_STYLE
|wxVSCROLL
|wxHSCROLL
;
20617 wxString
const &arg8_defvalue
= wxPyFrameNameStr
;
20618 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
20626 bool temp4
= false ;
20631 bool temp8
= false ;
20632 PyObject
* obj0
= 0 ;
20633 PyObject
* obj1
= 0 ;
20634 PyObject
* obj2
= 0 ;
20635 PyObject
* obj3
= 0 ;
20636 PyObject
* obj4
= 0 ;
20637 PyObject
* obj5
= 0 ;
20638 PyObject
* obj6
= 0 ;
20639 PyObject
* obj7
= 0 ;
20640 char * kwnames
[] = {
20641 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
20644 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:MDIParentFrame_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
20645 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMDIParentFrame
, 0 | 0 );
20646 if (!SWIG_IsOK(res1
)) {
20647 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MDIParentFrame_Create" "', expected argument " "1"" of type '" "wxMDIParentFrame *""'");
20649 arg1
= reinterpret_cast< wxMDIParentFrame
* >(argp1
);
20650 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
20651 if (!SWIG_IsOK(res2
)) {
20652 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "MDIParentFrame_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
20654 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
20656 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
20657 if (!SWIG_IsOK(ecode3
)) {
20658 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "MDIParentFrame_Create" "', expected argument " "3"" of type '" "int""'");
20660 arg3
= static_cast< int >(val3
);
20664 arg4
= wxString_in_helper(obj3
);
20665 if (arg4
== NULL
) SWIG_fail
;
20672 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
20678 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
20682 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
20683 if (!SWIG_IsOK(ecode7
)) {
20684 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "MDIParentFrame_Create" "', expected argument " "7"" of type '" "long""'");
20686 arg7
= static_cast< long >(val7
);
20690 arg8
= wxString_in_helper(obj7
);
20691 if (arg8
== NULL
) SWIG_fail
;
20696 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20697 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxString
const &)*arg8
);
20698 wxPyEndAllowThreads(__tstate
);
20699 if (PyErr_Occurred()) SWIG_fail
;
20702 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20726 SWIGINTERN PyObject
*_wrap_MDIParentFrame_ActivateNext(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20727 PyObject
*resultobj
= 0;
20728 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
20731 PyObject
*swig_obj
[1] ;
20733 if (!args
) SWIG_fail
;
20734 swig_obj
[0] = args
;
20735 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMDIParentFrame
, 0 | 0 );
20736 if (!SWIG_IsOK(res1
)) {
20737 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MDIParentFrame_ActivateNext" "', expected argument " "1"" of type '" "wxMDIParentFrame *""'");
20739 arg1
= reinterpret_cast< wxMDIParentFrame
* >(argp1
);
20741 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20742 (arg1
)->ActivateNext();
20743 wxPyEndAllowThreads(__tstate
);
20744 if (PyErr_Occurred()) SWIG_fail
;
20746 resultobj
= SWIG_Py_Void();
20753 SWIGINTERN PyObject
*_wrap_MDIParentFrame_ActivatePrevious(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20754 PyObject
*resultobj
= 0;
20755 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
20758 PyObject
*swig_obj
[1] ;
20760 if (!args
) SWIG_fail
;
20761 swig_obj
[0] = args
;
20762 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMDIParentFrame
, 0 | 0 );
20763 if (!SWIG_IsOK(res1
)) {
20764 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MDIParentFrame_ActivatePrevious" "', expected argument " "1"" of type '" "wxMDIParentFrame *""'");
20766 arg1
= reinterpret_cast< wxMDIParentFrame
* >(argp1
);
20768 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20769 (arg1
)->ActivatePrevious();
20770 wxPyEndAllowThreads(__tstate
);
20771 if (PyErr_Occurred()) SWIG_fail
;
20773 resultobj
= SWIG_Py_Void();
20780 SWIGINTERN PyObject
*_wrap_MDIParentFrame_ArrangeIcons(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20781 PyObject
*resultobj
= 0;
20782 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
20785 PyObject
*swig_obj
[1] ;
20787 if (!args
) SWIG_fail
;
20788 swig_obj
[0] = args
;
20789 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMDIParentFrame
, 0 | 0 );
20790 if (!SWIG_IsOK(res1
)) {
20791 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MDIParentFrame_ArrangeIcons" "', expected argument " "1"" of type '" "wxMDIParentFrame *""'");
20793 arg1
= reinterpret_cast< wxMDIParentFrame
* >(argp1
);
20795 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20796 (arg1
)->ArrangeIcons();
20797 wxPyEndAllowThreads(__tstate
);
20798 if (PyErr_Occurred()) SWIG_fail
;
20800 resultobj
= SWIG_Py_Void();
20807 SWIGINTERN PyObject
*_wrap_MDIParentFrame_Cascade(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20808 PyObject
*resultobj
= 0;
20809 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
20812 PyObject
*swig_obj
[1] ;
20814 if (!args
) SWIG_fail
;
20815 swig_obj
[0] = args
;
20816 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMDIParentFrame
, 0 | 0 );
20817 if (!SWIG_IsOK(res1
)) {
20818 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MDIParentFrame_Cascade" "', expected argument " "1"" of type '" "wxMDIParentFrame *""'");
20820 arg1
= reinterpret_cast< wxMDIParentFrame
* >(argp1
);
20822 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20824 wxPyEndAllowThreads(__tstate
);
20825 if (PyErr_Occurred()) SWIG_fail
;
20827 resultobj
= SWIG_Py_Void();
20834 SWIGINTERN PyObject
*_wrap_MDIParentFrame_GetActiveChild(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20835 PyObject
*resultobj
= 0;
20836 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
20837 wxMDIChildFrame
*result
= 0 ;
20840 PyObject
*swig_obj
[1] ;
20842 if (!args
) SWIG_fail
;
20843 swig_obj
[0] = args
;
20844 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMDIParentFrame
, 0 | 0 );
20845 if (!SWIG_IsOK(res1
)) {
20846 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MDIParentFrame_GetActiveChild" "', expected argument " "1"" of type '" "wxMDIParentFrame *""'");
20848 arg1
= reinterpret_cast< wxMDIParentFrame
* >(argp1
);
20850 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20851 result
= (wxMDIChildFrame
*)(arg1
)->GetActiveChild();
20852 wxPyEndAllowThreads(__tstate
);
20853 if (PyErr_Occurred()) SWIG_fail
;
20856 resultobj
= wxPyMake_wxObject(result
, (bool)0);
20864 SWIGINTERN PyObject
*_wrap_MDIParentFrame_GetClientWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20865 PyObject
*resultobj
= 0;
20866 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
20867 wxMDIClientWindow
*result
= 0 ;
20870 PyObject
*swig_obj
[1] ;
20872 if (!args
) SWIG_fail
;
20873 swig_obj
[0] = args
;
20874 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMDIParentFrame
, 0 | 0 );
20875 if (!SWIG_IsOK(res1
)) {
20876 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MDIParentFrame_GetClientWindow" "', expected argument " "1"" of type '" "wxMDIParentFrame *""'");
20878 arg1
= reinterpret_cast< wxMDIParentFrame
* >(argp1
);
20880 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20881 result
= (wxMDIClientWindow
*)(arg1
)->GetClientWindow();
20882 wxPyEndAllowThreads(__tstate
);
20883 if (PyErr_Occurred()) SWIG_fail
;
20886 resultobj
= wxPyMake_wxObject(result
, (bool)0);
20894 SWIGINTERN PyObject
*_wrap_MDIParentFrame_GetToolBar(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20895 PyObject
*resultobj
= 0;
20896 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
20897 wxWindow
*result
= 0 ;
20900 PyObject
*swig_obj
[1] ;
20902 if (!args
) SWIG_fail
;
20903 swig_obj
[0] = args
;
20904 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMDIParentFrame
, 0 | 0 );
20905 if (!SWIG_IsOK(res1
)) {
20906 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MDIParentFrame_GetToolBar" "', expected argument " "1"" of type '" "wxMDIParentFrame *""'");
20908 arg1
= reinterpret_cast< wxMDIParentFrame
* >(argp1
);
20910 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20911 result
= (wxWindow
*)(arg1
)->GetToolBar();
20912 wxPyEndAllowThreads(__tstate
);
20913 if (PyErr_Occurred()) SWIG_fail
;
20916 resultobj
= wxPyMake_wxObject(result
, 0);
20924 SWIGINTERN PyObject
*_wrap_MDIParentFrame_GetWindowMenu(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20925 PyObject
*resultobj
= 0;
20926 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
20927 wxMenu
*result
= 0 ;
20930 PyObject
*swig_obj
[1] ;
20932 if (!args
) SWIG_fail
;
20933 swig_obj
[0] = args
;
20934 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMDIParentFrame
, 0 | 0 );
20935 if (!SWIG_IsOK(res1
)) {
20936 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MDIParentFrame_GetWindowMenu" "', expected argument " "1"" of type '" "wxMDIParentFrame *""'");
20938 arg1
= reinterpret_cast< wxMDIParentFrame
* >(argp1
);
20940 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20941 result
= (wxMenu
*)(arg1
)->GetWindowMenu();
20942 wxPyEndAllowThreads(__tstate
);
20943 if (PyErr_Occurred()) SWIG_fail
;
20946 resultobj
= wxPyMake_wxObject(result
, 0);
20954 SWIGINTERN PyObject
*_wrap_MDIParentFrame_SetWindowMenu(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20955 PyObject
*resultobj
= 0;
20956 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
20957 wxMenu
*arg2
= (wxMenu
*) 0 ;
20962 PyObject
* obj0
= 0 ;
20963 PyObject
* obj1
= 0 ;
20964 char * kwnames
[] = {
20965 (char *) "self",(char *) "menu", NULL
20968 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MDIParentFrame_SetWindowMenu",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20969 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMDIParentFrame
, 0 | 0 );
20970 if (!SWIG_IsOK(res1
)) {
20971 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MDIParentFrame_SetWindowMenu" "', expected argument " "1"" of type '" "wxMDIParentFrame *""'");
20973 arg1
= reinterpret_cast< wxMDIParentFrame
* >(argp1
);
20974 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxMenu
, 0 | 0 );
20975 if (!SWIG_IsOK(res2
)) {
20976 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "MDIParentFrame_SetWindowMenu" "', expected argument " "2"" of type '" "wxMenu *""'");
20978 arg2
= reinterpret_cast< wxMenu
* >(argp2
);
20980 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20981 (arg1
)->SetWindowMenu(arg2
);
20982 wxPyEndAllowThreads(__tstate
);
20983 if (PyErr_Occurred()) SWIG_fail
;
20985 resultobj
= SWIG_Py_Void();
20992 SWIGINTERN PyObject
*_wrap_MDIParentFrame_Tile(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20993 PyObject
*resultobj
= 0;
20994 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
20995 wxOrientation arg2
= (wxOrientation
) wxHORIZONTAL
;
21000 PyObject
* obj0
= 0 ;
21001 PyObject
* obj1
= 0 ;
21002 char * kwnames
[] = {
21003 (char *) "self",(char *) "orient", NULL
21006 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:MDIParentFrame_Tile",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
21007 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMDIParentFrame
, 0 | 0 );
21008 if (!SWIG_IsOK(res1
)) {
21009 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MDIParentFrame_Tile" "', expected argument " "1"" of type '" "wxMDIParentFrame *""'");
21011 arg1
= reinterpret_cast< wxMDIParentFrame
* >(argp1
);
21013 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
21014 if (!SWIG_IsOK(ecode2
)) {
21015 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "MDIParentFrame_Tile" "', expected argument " "2"" of type '" "wxOrientation""'");
21017 arg2
= static_cast< wxOrientation
>(val2
);
21020 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21021 (arg1
)->Tile(arg2
);
21022 wxPyEndAllowThreads(__tstate
);
21023 if (PyErr_Occurred()) SWIG_fail
;
21025 resultobj
= SWIG_Py_Void();
21032 SWIGINTERN PyObject
*MDIParentFrame_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21034 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
21035 SWIG_TypeNewClientData(SWIGTYPE_p_wxMDIParentFrame
, SWIG_NewClientData(obj
));
21036 return SWIG_Py_Void();
21039 SWIGINTERN PyObject
*MDIParentFrame_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21040 return SWIG_Python_InitShadowInstance(args
);
21043 SWIGINTERN PyObject
*_wrap_new_MDIChildFrame(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21044 PyObject
*resultobj
= 0;
21045 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
21046 int arg2
= (int) (int)-1 ;
21047 wxString
const &arg3_defvalue
= wxPyEmptyString
;
21048 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
21049 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
21050 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
21051 wxSize
const &arg5_defvalue
= wxDefaultSize
;
21052 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
21053 long arg6
= (long) wxDEFAULT_FRAME_STYLE
;
21054 wxString
const &arg7_defvalue
= wxPyFrameNameStr
;
21055 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
21056 wxMDIChildFrame
*result
= 0 ;
21061 bool temp3
= false ;
21066 bool temp7
= false ;
21067 PyObject
* obj0
= 0 ;
21068 PyObject
* obj1
= 0 ;
21069 PyObject
* obj2
= 0 ;
21070 PyObject
* obj3
= 0 ;
21071 PyObject
* obj4
= 0 ;
21072 PyObject
* obj5
= 0 ;
21073 PyObject
* obj6
= 0 ;
21074 char * kwnames
[] = {
21075 (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
21078 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_MDIChildFrame",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
21079 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMDIParentFrame
, 0 | 0 );
21080 if (!SWIG_IsOK(res1
)) {
21081 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_MDIChildFrame" "', expected argument " "1"" of type '" "wxMDIParentFrame *""'");
21083 arg1
= reinterpret_cast< wxMDIParentFrame
* >(argp1
);
21085 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
21086 if (!SWIG_IsOK(ecode2
)) {
21087 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_MDIChildFrame" "', expected argument " "2"" of type '" "int""'");
21089 arg2
= static_cast< int >(val2
);
21093 arg3
= wxString_in_helper(obj2
);
21094 if (arg3
== NULL
) SWIG_fail
;
21101 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
21107 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
21111 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
21112 if (!SWIG_IsOK(ecode6
)) {
21113 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_MDIChildFrame" "', expected argument " "6"" of type '" "long""'");
21115 arg6
= static_cast< long >(val6
);
21119 arg7
= wxString_in_helper(obj6
);
21120 if (arg7
== NULL
) SWIG_fail
;
21125 if (!wxPyCheckForApp()) SWIG_fail
;
21126 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21127 result
= (wxMDIChildFrame
*)new wxMDIChildFrame(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
21128 wxPyEndAllowThreads(__tstate
);
21129 if (PyErr_Occurred()) SWIG_fail
;
21131 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMDIChildFrame
, SWIG_POINTER_NEW
| 0 );
21154 SWIGINTERN PyObject
*_wrap_new_PreMDIChildFrame(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21155 PyObject
*resultobj
= 0;
21156 wxMDIChildFrame
*result
= 0 ;
21158 if (!SWIG_Python_UnpackTuple(args
,"new_PreMDIChildFrame",0,0,0)) SWIG_fail
;
21160 if (!wxPyCheckForApp()) SWIG_fail
;
21161 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21162 result
= (wxMDIChildFrame
*)new wxMDIChildFrame();
21163 wxPyEndAllowThreads(__tstate
);
21164 if (PyErr_Occurred()) SWIG_fail
;
21166 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMDIChildFrame
, SWIG_POINTER_OWN
| 0 );
21173 SWIGINTERN PyObject
*_wrap_MDIChildFrame_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21174 PyObject
*resultobj
= 0;
21175 wxMDIChildFrame
*arg1
= (wxMDIChildFrame
*) 0 ;
21176 wxMDIParentFrame
*arg2
= (wxMDIParentFrame
*) 0 ;
21177 int arg3
= (int) (int)-1 ;
21178 wxString
const &arg4_defvalue
= wxPyEmptyString
;
21179 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
21180 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
21181 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
21182 wxSize
const &arg6_defvalue
= wxDefaultSize
;
21183 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
21184 long arg7
= (long) wxDEFAULT_FRAME_STYLE
;
21185 wxString
const &arg8_defvalue
= wxPyFrameNameStr
;
21186 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
21194 bool temp4
= false ;
21199 bool temp8
= false ;
21200 PyObject
* obj0
= 0 ;
21201 PyObject
* obj1
= 0 ;
21202 PyObject
* obj2
= 0 ;
21203 PyObject
* obj3
= 0 ;
21204 PyObject
* obj4
= 0 ;
21205 PyObject
* obj5
= 0 ;
21206 PyObject
* obj6
= 0 ;
21207 PyObject
* obj7
= 0 ;
21208 char * kwnames
[] = {
21209 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
21212 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:MDIChildFrame_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
21213 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMDIChildFrame
, 0 | 0 );
21214 if (!SWIG_IsOK(res1
)) {
21215 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MDIChildFrame_Create" "', expected argument " "1"" of type '" "wxMDIChildFrame *""'");
21217 arg1
= reinterpret_cast< wxMDIChildFrame
* >(argp1
);
21218 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxMDIParentFrame
, 0 | 0 );
21219 if (!SWIG_IsOK(res2
)) {
21220 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "MDIChildFrame_Create" "', expected argument " "2"" of type '" "wxMDIParentFrame *""'");
21222 arg2
= reinterpret_cast< wxMDIParentFrame
* >(argp2
);
21224 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
21225 if (!SWIG_IsOK(ecode3
)) {
21226 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "MDIChildFrame_Create" "', expected argument " "3"" of type '" "int""'");
21228 arg3
= static_cast< int >(val3
);
21232 arg4
= wxString_in_helper(obj3
);
21233 if (arg4
== NULL
) SWIG_fail
;
21240 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
21246 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
21250 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
21251 if (!SWIG_IsOK(ecode7
)) {
21252 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "MDIChildFrame_Create" "', expected argument " "7"" of type '" "long""'");
21254 arg7
= static_cast< long >(val7
);
21258 arg8
= wxString_in_helper(obj7
);
21259 if (arg8
== NULL
) SWIG_fail
;
21264 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21265 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxString
const &)*arg8
);
21266 wxPyEndAllowThreads(__tstate
);
21267 if (PyErr_Occurred()) SWIG_fail
;
21270 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21294 SWIGINTERN PyObject
*_wrap_MDIChildFrame_Activate(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21295 PyObject
*resultobj
= 0;
21296 wxMDIChildFrame
*arg1
= (wxMDIChildFrame
*) 0 ;
21299 PyObject
*swig_obj
[1] ;
21301 if (!args
) SWIG_fail
;
21302 swig_obj
[0] = args
;
21303 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMDIChildFrame
, 0 | 0 );
21304 if (!SWIG_IsOK(res1
)) {
21305 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MDIChildFrame_Activate" "', expected argument " "1"" of type '" "wxMDIChildFrame *""'");
21307 arg1
= reinterpret_cast< wxMDIChildFrame
* >(argp1
);
21309 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21310 (arg1
)->Activate();
21311 wxPyEndAllowThreads(__tstate
);
21312 if (PyErr_Occurred()) SWIG_fail
;
21314 resultobj
= SWIG_Py_Void();
21321 SWIGINTERN PyObject
*MDIChildFrame_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21323 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
21324 SWIG_TypeNewClientData(SWIGTYPE_p_wxMDIChildFrame
, SWIG_NewClientData(obj
));
21325 return SWIG_Py_Void();
21328 SWIGINTERN PyObject
*MDIChildFrame_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21329 return SWIG_Python_InitShadowInstance(args
);
21332 SWIGINTERN PyObject
*_wrap_new_MDIClientWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21333 PyObject
*resultobj
= 0;
21334 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
21335 long arg2
= (long) 0 ;
21336 wxMDIClientWindow
*result
= 0 ;
21341 PyObject
* obj0
= 0 ;
21342 PyObject
* obj1
= 0 ;
21343 char * kwnames
[] = {
21344 (char *) "parent",(char *) "style", NULL
21347 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_MDIClientWindow",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
21348 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMDIParentFrame
, 0 | 0 );
21349 if (!SWIG_IsOK(res1
)) {
21350 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_MDIClientWindow" "', expected argument " "1"" of type '" "wxMDIParentFrame *""'");
21352 arg1
= reinterpret_cast< wxMDIParentFrame
* >(argp1
);
21354 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
21355 if (!SWIG_IsOK(ecode2
)) {
21356 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_MDIClientWindow" "', expected argument " "2"" of type '" "long""'");
21358 arg2
= static_cast< long >(val2
);
21361 if (!wxPyCheckForApp()) SWIG_fail
;
21362 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21363 result
= (wxMDIClientWindow
*)new wxMDIClientWindow(arg1
,arg2
);
21364 wxPyEndAllowThreads(__tstate
);
21365 if (PyErr_Occurred()) SWIG_fail
;
21367 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMDIClientWindow
, SWIG_POINTER_NEW
| 0 );
21374 SWIGINTERN PyObject
*_wrap_new_PreMDIClientWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21375 PyObject
*resultobj
= 0;
21376 wxMDIClientWindow
*result
= 0 ;
21378 if (!SWIG_Python_UnpackTuple(args
,"new_PreMDIClientWindow",0,0,0)) SWIG_fail
;
21380 if (!wxPyCheckForApp()) SWIG_fail
;
21381 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21382 result
= (wxMDIClientWindow
*)new wxMDIClientWindow();
21383 wxPyEndAllowThreads(__tstate
);
21384 if (PyErr_Occurred()) SWIG_fail
;
21386 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMDIClientWindow
, SWIG_POINTER_OWN
| 0 );
21393 SWIGINTERN PyObject
*_wrap_MDIClientWindow_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21394 PyObject
*resultobj
= 0;
21395 wxMDIClientWindow
*arg1
= (wxMDIClientWindow
*) 0 ;
21396 wxMDIParentFrame
*arg2
= (wxMDIParentFrame
*) 0 ;
21397 long arg3
= (long) 0 ;
21405 PyObject
* obj0
= 0 ;
21406 PyObject
* obj1
= 0 ;
21407 PyObject
* obj2
= 0 ;
21408 char * kwnames
[] = {
21409 (char *) "self",(char *) "parent",(char *) "style", NULL
21412 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:MDIClientWindow_Create",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
21413 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMDIClientWindow
, 0 | 0 );
21414 if (!SWIG_IsOK(res1
)) {
21415 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MDIClientWindow_Create" "', expected argument " "1"" of type '" "wxMDIClientWindow *""'");
21417 arg1
= reinterpret_cast< wxMDIClientWindow
* >(argp1
);
21418 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxMDIParentFrame
, 0 | 0 );
21419 if (!SWIG_IsOK(res2
)) {
21420 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "MDIClientWindow_Create" "', expected argument " "2"" of type '" "wxMDIParentFrame *""'");
21422 arg2
= reinterpret_cast< wxMDIParentFrame
* >(argp2
);
21424 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
21425 if (!SWIG_IsOK(ecode3
)) {
21426 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "MDIClientWindow_Create" "', expected argument " "3"" of type '" "long""'");
21428 arg3
= static_cast< long >(val3
);
21431 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21432 result
= (bool)(arg1
)->Create(arg2
,arg3
);
21433 wxPyEndAllowThreads(__tstate
);
21434 if (PyErr_Occurred()) SWIG_fail
;
21437 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21445 SWIGINTERN PyObject
*MDIClientWindow_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21447 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
21448 SWIG_TypeNewClientData(SWIGTYPE_p_wxMDIClientWindow
, SWIG_NewClientData(obj
));
21449 return SWIG_Py_Void();
21452 SWIGINTERN PyObject
*MDIClientWindow_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21453 return SWIG_Python_InitShadowInstance(args
);
21456 SWIGINTERN PyObject
*_wrap_new_PyWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21457 PyObject
*resultobj
= 0;
21458 wxWindow
*arg1
= (wxWindow
*) 0 ;
21459 int arg2
= (int) (int)-1 ;
21460 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
21461 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
21462 wxSize
const &arg4_defvalue
= wxDefaultSize
;
21463 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
21464 long arg5
= (long) 0 ;
21465 wxString
const &arg6_defvalue
= wxPyPanelNameStr
;
21466 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
21467 wxPyWindow
*result
= 0 ;
21476 bool temp6
= false ;
21477 PyObject
* obj0
= 0 ;
21478 PyObject
* obj1
= 0 ;
21479 PyObject
* obj2
= 0 ;
21480 PyObject
* obj3
= 0 ;
21481 PyObject
* obj4
= 0 ;
21482 PyObject
* obj5
= 0 ;
21483 char * kwnames
[] = {
21484 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
21487 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_PyWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
21488 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
21489 if (!SWIG_IsOK(res1
)) {
21490 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PyWindow" "', expected argument " "1"" of type '" "wxWindow *""'");
21492 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
21494 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
21495 if (!SWIG_IsOK(ecode2
)) {
21496 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_PyWindow" "', expected argument " "2"" of type '" "int""'");
21498 arg2
= static_cast< int >(val2
);
21503 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
21509 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
21513 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
21514 if (!SWIG_IsOK(ecode5
)) {
21515 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_PyWindow" "', expected argument " "5"" of type '" "long""'");
21517 arg5
= static_cast< long >(val5
);
21521 arg6
= wxString_in_helper(obj5
);
21522 if (arg6
== NULL
) SWIG_fail
;
21527 if (!wxPyCheckForApp()) SWIG_fail
;
21528 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21529 result
= (wxPyWindow
*)new wxPyWindow(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
21530 wxPyEndAllowThreads(__tstate
);
21531 if (PyErr_Occurred()) SWIG_fail
;
21533 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyWindow
, SWIG_POINTER_NEW
| 0 );
21548 SWIGINTERN PyObject
*_wrap_new_PrePyWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21549 PyObject
*resultobj
= 0;
21550 wxPyWindow
*result
= 0 ;
21552 if (!SWIG_Python_UnpackTuple(args
,"new_PrePyWindow",0,0,0)) SWIG_fail
;
21554 if (!wxPyCheckForApp()) SWIG_fail
;
21555 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21556 result
= (wxPyWindow
*)new wxPyWindow();
21557 wxPyEndAllowThreads(__tstate
);
21558 if (PyErr_Occurred()) SWIG_fail
;
21560 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyWindow
, SWIG_POINTER_OWN
| 0 );
21567 SWIGINTERN PyObject
*_wrap_PyWindow__setCallbackInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21568 PyObject
*resultobj
= 0;
21569 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
21570 PyObject
*arg2
= (PyObject
*) 0 ;
21571 PyObject
*arg3
= (PyObject
*) 0 ;
21574 PyObject
* obj0
= 0 ;
21575 PyObject
* obj1
= 0 ;
21576 PyObject
* obj2
= 0 ;
21577 char * kwnames
[] = {
21578 (char *) "self",(char *) "self",(char *) "_class", NULL
21581 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyWindow__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
21582 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyWindow
, 0 | 0 );
21583 if (!SWIG_IsOK(res1
)) {
21584 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyWindow__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyWindow *""'");
21586 arg1
= reinterpret_cast< wxPyWindow
* >(argp1
);
21590 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21591 (arg1
)->_setCallbackInfo(arg2
,arg3
);
21592 wxPyEndAllowThreads(__tstate
);
21593 if (PyErr_Occurred()) SWIG_fail
;
21595 resultobj
= SWIG_Py_Void();
21602 SWIGINTERN PyObject
*_wrap_PyWindow_SetBestSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21603 PyObject
*resultobj
= 0;
21604 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
21609 PyObject
* obj0
= 0 ;
21610 PyObject
* obj1
= 0 ;
21611 char * kwnames
[] = {
21612 (char *) "self",(char *) "size", NULL
21615 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyWindow_SetBestSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
21616 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyWindow
, 0 | 0 );
21617 if (!SWIG_IsOK(res1
)) {
21618 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyWindow_SetBestSize" "', expected argument " "1"" of type '" "wxPyWindow *""'");
21620 arg1
= reinterpret_cast< wxPyWindow
* >(argp1
);
21623 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
21626 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21627 (arg1
)->SetBestSize((wxSize
const &)*arg2
);
21628 wxPyEndAllowThreads(__tstate
);
21629 if (PyErr_Occurred()) SWIG_fail
;
21631 resultobj
= SWIG_Py_Void();
21638 SWIGINTERN PyObject
*_wrap_PyWindow_DoEraseBackground(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21639 PyObject
*resultobj
= 0;
21640 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
21641 wxDC
*arg2
= (wxDC
*) 0 ;
21647 PyObject
* obj0
= 0 ;
21648 PyObject
* obj1
= 0 ;
21649 char * kwnames
[] = {
21650 (char *) "self",(char *) "dc", NULL
21653 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyWindow_DoEraseBackground",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
21654 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyWindow
, 0 | 0 );
21655 if (!SWIG_IsOK(res1
)) {
21656 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyWindow_DoEraseBackground" "', expected argument " "1"" of type '" "wxPyWindow *""'");
21658 arg1
= reinterpret_cast< wxPyWindow
* >(argp1
);
21659 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxDC
, 0 | 0 );
21660 if (!SWIG_IsOK(res2
)) {
21661 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PyWindow_DoEraseBackground" "', expected argument " "2"" of type '" "wxDC *""'");
21663 arg2
= reinterpret_cast< wxDC
* >(argp2
);
21665 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21666 result
= (bool)(arg1
)->DoEraseBackground(arg2
);
21667 wxPyEndAllowThreads(__tstate
);
21668 if (PyErr_Occurred()) SWIG_fail
;
21671 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21679 SWIGINTERN PyObject
*_wrap_PyWindow_DoMoveWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21680 PyObject
*resultobj
= 0;
21681 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
21696 PyObject
* obj0
= 0 ;
21697 PyObject
* obj1
= 0 ;
21698 PyObject
* obj2
= 0 ;
21699 PyObject
* obj3
= 0 ;
21700 PyObject
* obj4
= 0 ;
21701 char * kwnames
[] = {
21702 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
21705 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:PyWindow_DoMoveWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
21706 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyWindow
, 0 | 0 );
21707 if (!SWIG_IsOK(res1
)) {
21708 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyWindow_DoMoveWindow" "', expected argument " "1"" of type '" "wxPyWindow *""'");
21710 arg1
= reinterpret_cast< wxPyWindow
* >(argp1
);
21711 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
21712 if (!SWIG_IsOK(ecode2
)) {
21713 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PyWindow_DoMoveWindow" "', expected argument " "2"" of type '" "int""'");
21715 arg2
= static_cast< int >(val2
);
21716 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
21717 if (!SWIG_IsOK(ecode3
)) {
21718 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PyWindow_DoMoveWindow" "', expected argument " "3"" of type '" "int""'");
21720 arg3
= static_cast< int >(val3
);
21721 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
21722 if (!SWIG_IsOK(ecode4
)) {
21723 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PyWindow_DoMoveWindow" "', expected argument " "4"" of type '" "int""'");
21725 arg4
= static_cast< int >(val4
);
21726 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
21727 if (!SWIG_IsOK(ecode5
)) {
21728 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PyWindow_DoMoveWindow" "', expected argument " "5"" of type '" "int""'");
21730 arg5
= static_cast< int >(val5
);
21732 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21733 (arg1
)->DoMoveWindow(arg2
,arg3
,arg4
,arg5
);
21734 wxPyEndAllowThreads(__tstate
);
21735 if (PyErr_Occurred()) SWIG_fail
;
21737 resultobj
= SWIG_Py_Void();
21744 SWIGINTERN PyObject
*_wrap_PyWindow_DoSetSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21745 PyObject
*resultobj
= 0;
21746 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
21751 int arg6
= (int) wxSIZE_AUTO
;
21764 PyObject
* obj0
= 0 ;
21765 PyObject
* obj1
= 0 ;
21766 PyObject
* obj2
= 0 ;
21767 PyObject
* obj3
= 0 ;
21768 PyObject
* obj4
= 0 ;
21769 PyObject
* obj5
= 0 ;
21770 char * kwnames
[] = {
21771 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "sizeFlags", NULL
21774 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|O:PyWindow_DoSetSize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
21775 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyWindow
, 0 | 0 );
21776 if (!SWIG_IsOK(res1
)) {
21777 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyWindow_DoSetSize" "', expected argument " "1"" of type '" "wxPyWindow *""'");
21779 arg1
= reinterpret_cast< wxPyWindow
* >(argp1
);
21780 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
21781 if (!SWIG_IsOK(ecode2
)) {
21782 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PyWindow_DoSetSize" "', expected argument " "2"" of type '" "int""'");
21784 arg2
= static_cast< int >(val2
);
21785 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
21786 if (!SWIG_IsOK(ecode3
)) {
21787 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PyWindow_DoSetSize" "', expected argument " "3"" of type '" "int""'");
21789 arg3
= static_cast< int >(val3
);
21790 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
21791 if (!SWIG_IsOK(ecode4
)) {
21792 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PyWindow_DoSetSize" "', expected argument " "4"" of type '" "int""'");
21794 arg4
= static_cast< int >(val4
);
21795 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
21796 if (!SWIG_IsOK(ecode5
)) {
21797 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PyWindow_DoSetSize" "', expected argument " "5"" of type '" "int""'");
21799 arg5
= static_cast< int >(val5
);
21801 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
21802 if (!SWIG_IsOK(ecode6
)) {
21803 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "PyWindow_DoSetSize" "', expected argument " "6"" of type '" "int""'");
21805 arg6
= static_cast< int >(val6
);
21808 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21809 (arg1
)->DoSetSize(arg2
,arg3
,arg4
,arg5
,arg6
);
21810 wxPyEndAllowThreads(__tstate
);
21811 if (PyErr_Occurred()) SWIG_fail
;
21813 resultobj
= SWIG_Py_Void();
21820 SWIGINTERN PyObject
*_wrap_PyWindow_DoSetClientSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21821 PyObject
*resultobj
= 0;
21822 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
21831 PyObject
* obj0
= 0 ;
21832 PyObject
* obj1
= 0 ;
21833 PyObject
* obj2
= 0 ;
21834 char * kwnames
[] = {
21835 (char *) "self",(char *) "width",(char *) "height", NULL
21838 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyWindow_DoSetClientSize",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
21839 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyWindow
, 0 | 0 );
21840 if (!SWIG_IsOK(res1
)) {
21841 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyWindow_DoSetClientSize" "', expected argument " "1"" of type '" "wxPyWindow *""'");
21843 arg1
= reinterpret_cast< wxPyWindow
* >(argp1
);
21844 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
21845 if (!SWIG_IsOK(ecode2
)) {
21846 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PyWindow_DoSetClientSize" "', expected argument " "2"" of type '" "int""'");
21848 arg2
= static_cast< int >(val2
);
21849 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
21850 if (!SWIG_IsOK(ecode3
)) {
21851 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PyWindow_DoSetClientSize" "', expected argument " "3"" of type '" "int""'");
21853 arg3
= static_cast< int >(val3
);
21855 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21856 (arg1
)->DoSetClientSize(arg2
,arg3
);
21857 wxPyEndAllowThreads(__tstate
);
21858 if (PyErr_Occurred()) SWIG_fail
;
21860 resultobj
= SWIG_Py_Void();
21867 SWIGINTERN PyObject
*_wrap_PyWindow_DoSetVirtualSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21868 PyObject
*resultobj
= 0;
21869 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
21878 PyObject
* obj0
= 0 ;
21879 PyObject
* obj1
= 0 ;
21880 PyObject
* obj2
= 0 ;
21881 char * kwnames
[] = {
21882 (char *) "self",(char *) "x",(char *) "y", NULL
21885 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyWindow_DoSetVirtualSize",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
21886 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyWindow
, 0 | 0 );
21887 if (!SWIG_IsOK(res1
)) {
21888 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyWindow_DoSetVirtualSize" "', expected argument " "1"" of type '" "wxPyWindow *""'");
21890 arg1
= reinterpret_cast< wxPyWindow
* >(argp1
);
21891 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
21892 if (!SWIG_IsOK(ecode2
)) {
21893 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PyWindow_DoSetVirtualSize" "', expected argument " "2"" of type '" "int""'");
21895 arg2
= static_cast< int >(val2
);
21896 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
21897 if (!SWIG_IsOK(ecode3
)) {
21898 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PyWindow_DoSetVirtualSize" "', expected argument " "3"" of type '" "int""'");
21900 arg3
= static_cast< int >(val3
);
21902 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21903 (arg1
)->DoSetVirtualSize(arg2
,arg3
);
21904 wxPyEndAllowThreads(__tstate
);
21905 if (PyErr_Occurred()) SWIG_fail
;
21907 resultobj
= SWIG_Py_Void();
21914 SWIGINTERN PyObject
*_wrap_PyWindow_DoGetSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21915 PyObject
*resultobj
= 0;
21916 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
21917 int *arg2
= (int *) 0 ;
21918 int *arg3
= (int *) 0 ;
21922 int res2
= SWIG_TMPOBJ
;
21924 int res3
= SWIG_TMPOBJ
;
21925 PyObject
*swig_obj
[1] ;
21929 if (!args
) SWIG_fail
;
21930 swig_obj
[0] = args
;
21931 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyWindow
, 0 | 0 );
21932 if (!SWIG_IsOK(res1
)) {
21933 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyWindow_DoGetSize" "', expected argument " "1"" of type '" "wxPyWindow const *""'");
21935 arg1
= reinterpret_cast< wxPyWindow
* >(argp1
);
21937 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21938 ((wxPyWindow
const *)arg1
)->DoGetSize(arg2
,arg3
);
21939 wxPyEndAllowThreads(__tstate
);
21940 if (PyErr_Occurred()) SWIG_fail
;
21942 resultobj
= SWIG_Py_Void();
21943 if (SWIG_IsTmpObj(res2
)) {
21944 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
21946 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
21947 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
21949 if (SWIG_IsTmpObj(res3
)) {
21950 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
21952 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
21953 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
21961 SWIGINTERN PyObject
*_wrap_PyWindow_DoGetClientSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21962 PyObject
*resultobj
= 0;
21963 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
21964 int *arg2
= (int *) 0 ;
21965 int *arg3
= (int *) 0 ;
21969 int res2
= SWIG_TMPOBJ
;
21971 int res3
= SWIG_TMPOBJ
;
21972 PyObject
*swig_obj
[1] ;
21976 if (!args
) SWIG_fail
;
21977 swig_obj
[0] = args
;
21978 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyWindow
, 0 | 0 );
21979 if (!SWIG_IsOK(res1
)) {
21980 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyWindow_DoGetClientSize" "', expected argument " "1"" of type '" "wxPyWindow const *""'");
21982 arg1
= reinterpret_cast< wxPyWindow
* >(argp1
);
21984 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21985 ((wxPyWindow
const *)arg1
)->DoGetClientSize(arg2
,arg3
);
21986 wxPyEndAllowThreads(__tstate
);
21987 if (PyErr_Occurred()) SWIG_fail
;
21989 resultobj
= SWIG_Py_Void();
21990 if (SWIG_IsTmpObj(res2
)) {
21991 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
21993 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
21994 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
21996 if (SWIG_IsTmpObj(res3
)) {
21997 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
21999 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
22000 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
22008 SWIGINTERN PyObject
*_wrap_PyWindow_DoGetPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22009 PyObject
*resultobj
= 0;
22010 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
22011 int *arg2
= (int *) 0 ;
22012 int *arg3
= (int *) 0 ;
22016 int res2
= SWIG_TMPOBJ
;
22018 int res3
= SWIG_TMPOBJ
;
22019 PyObject
*swig_obj
[1] ;
22023 if (!args
) SWIG_fail
;
22024 swig_obj
[0] = args
;
22025 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyWindow
, 0 | 0 );
22026 if (!SWIG_IsOK(res1
)) {
22027 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyWindow_DoGetPosition" "', expected argument " "1"" of type '" "wxPyWindow const *""'");
22029 arg1
= reinterpret_cast< wxPyWindow
* >(argp1
);
22031 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22032 ((wxPyWindow
const *)arg1
)->DoGetPosition(arg2
,arg3
);
22033 wxPyEndAllowThreads(__tstate
);
22034 if (PyErr_Occurred()) SWIG_fail
;
22036 resultobj
= SWIG_Py_Void();
22037 if (SWIG_IsTmpObj(res2
)) {
22038 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
22040 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
22041 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
22043 if (SWIG_IsTmpObj(res3
)) {
22044 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
22046 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
22047 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
22055 SWIGINTERN PyObject
*_wrap_PyWindow_DoGetVirtualSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22056 PyObject
*resultobj
= 0;
22057 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
22061 PyObject
*swig_obj
[1] ;
22063 if (!args
) SWIG_fail
;
22064 swig_obj
[0] = args
;
22065 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyWindow
, 0 | 0 );
22066 if (!SWIG_IsOK(res1
)) {
22067 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyWindow_DoGetVirtualSize" "', expected argument " "1"" of type '" "wxPyWindow const *""'");
22069 arg1
= reinterpret_cast< wxPyWindow
* >(argp1
);
22071 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22072 result
= ((wxPyWindow
const *)arg1
)->DoGetVirtualSize();
22073 wxPyEndAllowThreads(__tstate
);
22074 if (PyErr_Occurred()) SWIG_fail
;
22076 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
22083 SWIGINTERN PyObject
*_wrap_PyWindow_DoGetBestSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22084 PyObject
*resultobj
= 0;
22085 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
22089 PyObject
*swig_obj
[1] ;
22091 if (!args
) SWIG_fail
;
22092 swig_obj
[0] = args
;
22093 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyWindow
, 0 | 0 );
22094 if (!SWIG_IsOK(res1
)) {
22095 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyWindow_DoGetBestSize" "', expected argument " "1"" of type '" "wxPyWindow const *""'");
22097 arg1
= reinterpret_cast< wxPyWindow
* >(argp1
);
22099 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22100 result
= ((wxPyWindow
const *)arg1
)->DoGetBestSize();
22101 wxPyEndAllowThreads(__tstate
);
22102 if (PyErr_Occurred()) SWIG_fail
;
22104 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
22111 SWIGINTERN PyObject
*_wrap_PyWindow_GetDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22112 PyObject
*resultobj
= 0;
22113 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
22114 SwigValueWrapper
<wxVisualAttributes
> result
;
22117 PyObject
*swig_obj
[1] ;
22119 if (!args
) SWIG_fail
;
22120 swig_obj
[0] = args
;
22121 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyWindow
, 0 | 0 );
22122 if (!SWIG_IsOK(res1
)) {
22123 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyWindow_GetDefaultAttributes" "', expected argument " "1"" of type '" "wxPyWindow *""'");
22125 arg1
= reinterpret_cast< wxPyWindow
* >(argp1
);
22127 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22128 result
= (arg1
)->GetDefaultAttributes();
22129 wxPyEndAllowThreads(__tstate
);
22130 if (PyErr_Occurred()) SWIG_fail
;
22132 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
22139 SWIGINTERN PyObject
*_wrap_PyWindow_OnInternalIdle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22140 PyObject
*resultobj
= 0;
22141 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
22144 PyObject
*swig_obj
[1] ;
22146 if (!args
) SWIG_fail
;
22147 swig_obj
[0] = args
;
22148 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyWindow
, 0 | 0 );
22149 if (!SWIG_IsOK(res1
)) {
22150 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyWindow_OnInternalIdle" "', expected argument " "1"" of type '" "wxPyWindow *""'");
22152 arg1
= reinterpret_cast< wxPyWindow
* >(argp1
);
22154 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22155 (arg1
)->OnInternalIdle();
22156 wxPyEndAllowThreads(__tstate
);
22157 if (PyErr_Occurred()) SWIG_fail
;
22159 resultobj
= SWIG_Py_Void();
22166 SWIGINTERN PyObject
*PyWindow_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22168 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
22169 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyWindow
, SWIG_NewClientData(obj
));
22170 return SWIG_Py_Void();
22173 SWIGINTERN PyObject
*PyWindow_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22174 return SWIG_Python_InitShadowInstance(args
);
22177 SWIGINTERN PyObject
*_wrap_new_PyPanel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22178 PyObject
*resultobj
= 0;
22179 wxWindow
*arg1
= (wxWindow
*) 0 ;
22180 int arg2
= (int) (int)-1 ;
22181 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
22182 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
22183 wxSize
const &arg4_defvalue
= wxDefaultSize
;
22184 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
22185 long arg5
= (long) 0 ;
22186 wxString
const &arg6_defvalue
= wxPyPanelNameStr
;
22187 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
22188 wxPyPanel
*result
= 0 ;
22197 bool temp6
= false ;
22198 PyObject
* obj0
= 0 ;
22199 PyObject
* obj1
= 0 ;
22200 PyObject
* obj2
= 0 ;
22201 PyObject
* obj3
= 0 ;
22202 PyObject
* obj4
= 0 ;
22203 PyObject
* obj5
= 0 ;
22204 char * kwnames
[] = {
22205 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
22208 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_PyPanel",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
22209 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
22210 if (!SWIG_IsOK(res1
)) {
22211 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PyPanel" "', expected argument " "1"" of type '" "wxWindow *""'");
22213 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
22215 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
22216 if (!SWIG_IsOK(ecode2
)) {
22217 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_PyPanel" "', expected argument " "2"" of type '" "int""'");
22219 arg2
= static_cast< int >(val2
);
22224 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
22230 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
22234 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
22235 if (!SWIG_IsOK(ecode5
)) {
22236 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_PyPanel" "', expected argument " "5"" of type '" "long""'");
22238 arg5
= static_cast< long >(val5
);
22242 arg6
= wxString_in_helper(obj5
);
22243 if (arg6
== NULL
) SWIG_fail
;
22248 if (!wxPyCheckForApp()) SWIG_fail
;
22249 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22250 result
= (wxPyPanel
*)new wxPyPanel(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
22251 wxPyEndAllowThreads(__tstate
);
22252 if (PyErr_Occurred()) SWIG_fail
;
22254 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyPanel
, SWIG_POINTER_NEW
| 0 );
22269 SWIGINTERN PyObject
*_wrap_new_PrePyPanel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22270 PyObject
*resultobj
= 0;
22271 wxPyPanel
*result
= 0 ;
22273 if (!SWIG_Python_UnpackTuple(args
,"new_PrePyPanel",0,0,0)) SWIG_fail
;
22275 if (!wxPyCheckForApp()) SWIG_fail
;
22276 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22277 result
= (wxPyPanel
*)new wxPyPanel();
22278 wxPyEndAllowThreads(__tstate
);
22279 if (PyErr_Occurred()) SWIG_fail
;
22281 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyPanel
, SWIG_POINTER_OWN
| 0 );
22288 SWIGINTERN PyObject
*_wrap_PyPanel__setCallbackInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22289 PyObject
*resultobj
= 0;
22290 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
22291 PyObject
*arg2
= (PyObject
*) 0 ;
22292 PyObject
*arg3
= (PyObject
*) 0 ;
22295 PyObject
* obj0
= 0 ;
22296 PyObject
* obj1
= 0 ;
22297 PyObject
* obj2
= 0 ;
22298 char * kwnames
[] = {
22299 (char *) "self",(char *) "self",(char *) "_class", NULL
22302 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyPanel__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
22303 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPanel
, 0 | 0 );
22304 if (!SWIG_IsOK(res1
)) {
22305 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyPanel__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyPanel *""'");
22307 arg1
= reinterpret_cast< wxPyPanel
* >(argp1
);
22311 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22312 (arg1
)->_setCallbackInfo(arg2
,arg3
);
22313 wxPyEndAllowThreads(__tstate
);
22314 if (PyErr_Occurred()) SWIG_fail
;
22316 resultobj
= SWIG_Py_Void();
22323 SWIGINTERN PyObject
*_wrap_PyPanel_SetBestSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22324 PyObject
*resultobj
= 0;
22325 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
22330 PyObject
* obj0
= 0 ;
22331 PyObject
* obj1
= 0 ;
22332 char * kwnames
[] = {
22333 (char *) "self",(char *) "size", NULL
22336 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyPanel_SetBestSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
22337 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPanel
, 0 | 0 );
22338 if (!SWIG_IsOK(res1
)) {
22339 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyPanel_SetBestSize" "', expected argument " "1"" of type '" "wxPyPanel *""'");
22341 arg1
= reinterpret_cast< wxPyPanel
* >(argp1
);
22344 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
22347 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22348 (arg1
)->SetBestSize((wxSize
const &)*arg2
);
22349 wxPyEndAllowThreads(__tstate
);
22350 if (PyErr_Occurred()) SWIG_fail
;
22352 resultobj
= SWIG_Py_Void();
22359 SWIGINTERN PyObject
*_wrap_PyPanel_DoEraseBackground(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22360 PyObject
*resultobj
= 0;
22361 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
22362 wxDC
*arg2
= (wxDC
*) 0 ;
22368 PyObject
* obj0
= 0 ;
22369 PyObject
* obj1
= 0 ;
22370 char * kwnames
[] = {
22371 (char *) "self",(char *) "dc", NULL
22374 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyPanel_DoEraseBackground",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
22375 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPanel
, 0 | 0 );
22376 if (!SWIG_IsOK(res1
)) {
22377 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyPanel_DoEraseBackground" "', expected argument " "1"" of type '" "wxPyPanel *""'");
22379 arg1
= reinterpret_cast< wxPyPanel
* >(argp1
);
22380 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxDC
, 0 | 0 );
22381 if (!SWIG_IsOK(res2
)) {
22382 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PyPanel_DoEraseBackground" "', expected argument " "2"" of type '" "wxDC *""'");
22384 arg2
= reinterpret_cast< wxDC
* >(argp2
);
22386 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22387 result
= (bool)(arg1
)->DoEraseBackground(arg2
);
22388 wxPyEndAllowThreads(__tstate
);
22389 if (PyErr_Occurred()) SWIG_fail
;
22392 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22400 SWIGINTERN PyObject
*_wrap_PyPanel_DoMoveWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22401 PyObject
*resultobj
= 0;
22402 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
22417 PyObject
* obj0
= 0 ;
22418 PyObject
* obj1
= 0 ;
22419 PyObject
* obj2
= 0 ;
22420 PyObject
* obj3
= 0 ;
22421 PyObject
* obj4
= 0 ;
22422 char * kwnames
[] = {
22423 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
22426 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:PyPanel_DoMoveWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
22427 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPanel
, 0 | 0 );
22428 if (!SWIG_IsOK(res1
)) {
22429 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyPanel_DoMoveWindow" "', expected argument " "1"" of type '" "wxPyPanel *""'");
22431 arg1
= reinterpret_cast< wxPyPanel
* >(argp1
);
22432 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
22433 if (!SWIG_IsOK(ecode2
)) {
22434 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PyPanel_DoMoveWindow" "', expected argument " "2"" of type '" "int""'");
22436 arg2
= static_cast< int >(val2
);
22437 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
22438 if (!SWIG_IsOK(ecode3
)) {
22439 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PyPanel_DoMoveWindow" "', expected argument " "3"" of type '" "int""'");
22441 arg3
= static_cast< int >(val3
);
22442 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
22443 if (!SWIG_IsOK(ecode4
)) {
22444 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PyPanel_DoMoveWindow" "', expected argument " "4"" of type '" "int""'");
22446 arg4
= static_cast< int >(val4
);
22447 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
22448 if (!SWIG_IsOK(ecode5
)) {
22449 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PyPanel_DoMoveWindow" "', expected argument " "5"" of type '" "int""'");
22451 arg5
= static_cast< int >(val5
);
22453 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22454 (arg1
)->DoMoveWindow(arg2
,arg3
,arg4
,arg5
);
22455 wxPyEndAllowThreads(__tstate
);
22456 if (PyErr_Occurred()) SWIG_fail
;
22458 resultobj
= SWIG_Py_Void();
22465 SWIGINTERN PyObject
*_wrap_PyPanel_DoSetSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22466 PyObject
*resultobj
= 0;
22467 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
22472 int arg6
= (int) wxSIZE_AUTO
;
22485 PyObject
* obj0
= 0 ;
22486 PyObject
* obj1
= 0 ;
22487 PyObject
* obj2
= 0 ;
22488 PyObject
* obj3
= 0 ;
22489 PyObject
* obj4
= 0 ;
22490 PyObject
* obj5
= 0 ;
22491 char * kwnames
[] = {
22492 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "sizeFlags", NULL
22495 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|O:PyPanel_DoSetSize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
22496 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPanel
, 0 | 0 );
22497 if (!SWIG_IsOK(res1
)) {
22498 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyPanel_DoSetSize" "', expected argument " "1"" of type '" "wxPyPanel *""'");
22500 arg1
= reinterpret_cast< wxPyPanel
* >(argp1
);
22501 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
22502 if (!SWIG_IsOK(ecode2
)) {
22503 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PyPanel_DoSetSize" "', expected argument " "2"" of type '" "int""'");
22505 arg2
= static_cast< int >(val2
);
22506 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
22507 if (!SWIG_IsOK(ecode3
)) {
22508 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PyPanel_DoSetSize" "', expected argument " "3"" of type '" "int""'");
22510 arg3
= static_cast< int >(val3
);
22511 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
22512 if (!SWIG_IsOK(ecode4
)) {
22513 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PyPanel_DoSetSize" "', expected argument " "4"" of type '" "int""'");
22515 arg4
= static_cast< int >(val4
);
22516 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
22517 if (!SWIG_IsOK(ecode5
)) {
22518 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PyPanel_DoSetSize" "', expected argument " "5"" of type '" "int""'");
22520 arg5
= static_cast< int >(val5
);
22522 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
22523 if (!SWIG_IsOK(ecode6
)) {
22524 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "PyPanel_DoSetSize" "', expected argument " "6"" of type '" "int""'");
22526 arg6
= static_cast< int >(val6
);
22529 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22530 (arg1
)->DoSetSize(arg2
,arg3
,arg4
,arg5
,arg6
);
22531 wxPyEndAllowThreads(__tstate
);
22532 if (PyErr_Occurred()) SWIG_fail
;
22534 resultobj
= SWIG_Py_Void();
22541 SWIGINTERN PyObject
*_wrap_PyPanel_DoSetClientSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22542 PyObject
*resultobj
= 0;
22543 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
22552 PyObject
* obj0
= 0 ;
22553 PyObject
* obj1
= 0 ;
22554 PyObject
* obj2
= 0 ;
22555 char * kwnames
[] = {
22556 (char *) "self",(char *) "width",(char *) "height", NULL
22559 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyPanel_DoSetClientSize",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
22560 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPanel
, 0 | 0 );
22561 if (!SWIG_IsOK(res1
)) {
22562 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyPanel_DoSetClientSize" "', expected argument " "1"" of type '" "wxPyPanel *""'");
22564 arg1
= reinterpret_cast< wxPyPanel
* >(argp1
);
22565 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
22566 if (!SWIG_IsOK(ecode2
)) {
22567 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PyPanel_DoSetClientSize" "', expected argument " "2"" of type '" "int""'");
22569 arg2
= static_cast< int >(val2
);
22570 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
22571 if (!SWIG_IsOK(ecode3
)) {
22572 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PyPanel_DoSetClientSize" "', expected argument " "3"" of type '" "int""'");
22574 arg3
= static_cast< int >(val3
);
22576 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22577 (arg1
)->DoSetClientSize(arg2
,arg3
);
22578 wxPyEndAllowThreads(__tstate
);
22579 if (PyErr_Occurred()) SWIG_fail
;
22581 resultobj
= SWIG_Py_Void();
22588 SWIGINTERN PyObject
*_wrap_PyPanel_DoSetVirtualSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22589 PyObject
*resultobj
= 0;
22590 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
22599 PyObject
* obj0
= 0 ;
22600 PyObject
* obj1
= 0 ;
22601 PyObject
* obj2
= 0 ;
22602 char * kwnames
[] = {
22603 (char *) "self",(char *) "x",(char *) "y", NULL
22606 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyPanel_DoSetVirtualSize",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
22607 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPanel
, 0 | 0 );
22608 if (!SWIG_IsOK(res1
)) {
22609 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyPanel_DoSetVirtualSize" "', expected argument " "1"" of type '" "wxPyPanel *""'");
22611 arg1
= reinterpret_cast< wxPyPanel
* >(argp1
);
22612 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
22613 if (!SWIG_IsOK(ecode2
)) {
22614 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PyPanel_DoSetVirtualSize" "', expected argument " "2"" of type '" "int""'");
22616 arg2
= static_cast< int >(val2
);
22617 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
22618 if (!SWIG_IsOK(ecode3
)) {
22619 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PyPanel_DoSetVirtualSize" "', expected argument " "3"" of type '" "int""'");
22621 arg3
= static_cast< int >(val3
);
22623 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22624 (arg1
)->DoSetVirtualSize(arg2
,arg3
);
22625 wxPyEndAllowThreads(__tstate
);
22626 if (PyErr_Occurred()) SWIG_fail
;
22628 resultobj
= SWIG_Py_Void();
22635 SWIGINTERN PyObject
*_wrap_PyPanel_DoGetSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22636 PyObject
*resultobj
= 0;
22637 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
22638 int *arg2
= (int *) 0 ;
22639 int *arg3
= (int *) 0 ;
22643 int res2
= SWIG_TMPOBJ
;
22645 int res3
= SWIG_TMPOBJ
;
22646 PyObject
*swig_obj
[1] ;
22650 if (!args
) SWIG_fail
;
22651 swig_obj
[0] = args
;
22652 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPanel
, 0 | 0 );
22653 if (!SWIG_IsOK(res1
)) {
22654 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyPanel_DoGetSize" "', expected argument " "1"" of type '" "wxPyPanel const *""'");
22656 arg1
= reinterpret_cast< wxPyPanel
* >(argp1
);
22658 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22659 ((wxPyPanel
const *)arg1
)->DoGetSize(arg2
,arg3
);
22660 wxPyEndAllowThreads(__tstate
);
22661 if (PyErr_Occurred()) SWIG_fail
;
22663 resultobj
= SWIG_Py_Void();
22664 if (SWIG_IsTmpObj(res2
)) {
22665 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
22667 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
22668 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
22670 if (SWIG_IsTmpObj(res3
)) {
22671 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
22673 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
22674 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
22682 SWIGINTERN PyObject
*_wrap_PyPanel_DoGetClientSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22683 PyObject
*resultobj
= 0;
22684 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
22685 int *arg2
= (int *) 0 ;
22686 int *arg3
= (int *) 0 ;
22690 int res2
= SWIG_TMPOBJ
;
22692 int res3
= SWIG_TMPOBJ
;
22693 PyObject
*swig_obj
[1] ;
22697 if (!args
) SWIG_fail
;
22698 swig_obj
[0] = args
;
22699 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPanel
, 0 | 0 );
22700 if (!SWIG_IsOK(res1
)) {
22701 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyPanel_DoGetClientSize" "', expected argument " "1"" of type '" "wxPyPanel const *""'");
22703 arg1
= reinterpret_cast< wxPyPanel
* >(argp1
);
22705 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22706 ((wxPyPanel
const *)arg1
)->DoGetClientSize(arg2
,arg3
);
22707 wxPyEndAllowThreads(__tstate
);
22708 if (PyErr_Occurred()) SWIG_fail
;
22710 resultobj
= SWIG_Py_Void();
22711 if (SWIG_IsTmpObj(res2
)) {
22712 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
22714 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
22715 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
22717 if (SWIG_IsTmpObj(res3
)) {
22718 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
22720 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
22721 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
22729 SWIGINTERN PyObject
*_wrap_PyPanel_DoGetPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22730 PyObject
*resultobj
= 0;
22731 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
22732 int *arg2
= (int *) 0 ;
22733 int *arg3
= (int *) 0 ;
22737 int res2
= SWIG_TMPOBJ
;
22739 int res3
= SWIG_TMPOBJ
;
22740 PyObject
*swig_obj
[1] ;
22744 if (!args
) SWIG_fail
;
22745 swig_obj
[0] = args
;
22746 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPanel
, 0 | 0 );
22747 if (!SWIG_IsOK(res1
)) {
22748 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyPanel_DoGetPosition" "', expected argument " "1"" of type '" "wxPyPanel const *""'");
22750 arg1
= reinterpret_cast< wxPyPanel
* >(argp1
);
22752 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22753 ((wxPyPanel
const *)arg1
)->DoGetPosition(arg2
,arg3
);
22754 wxPyEndAllowThreads(__tstate
);
22755 if (PyErr_Occurred()) SWIG_fail
;
22757 resultobj
= SWIG_Py_Void();
22758 if (SWIG_IsTmpObj(res2
)) {
22759 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
22761 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
22762 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
22764 if (SWIG_IsTmpObj(res3
)) {
22765 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
22767 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
22768 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
22776 SWIGINTERN PyObject
*_wrap_PyPanel_DoGetVirtualSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22777 PyObject
*resultobj
= 0;
22778 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
22782 PyObject
*swig_obj
[1] ;
22784 if (!args
) SWIG_fail
;
22785 swig_obj
[0] = args
;
22786 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPanel
, 0 | 0 );
22787 if (!SWIG_IsOK(res1
)) {
22788 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyPanel_DoGetVirtualSize" "', expected argument " "1"" of type '" "wxPyPanel const *""'");
22790 arg1
= reinterpret_cast< wxPyPanel
* >(argp1
);
22792 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22793 result
= ((wxPyPanel
const *)arg1
)->DoGetVirtualSize();
22794 wxPyEndAllowThreads(__tstate
);
22795 if (PyErr_Occurred()) SWIG_fail
;
22797 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
22804 SWIGINTERN PyObject
*_wrap_PyPanel_DoGetBestSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22805 PyObject
*resultobj
= 0;
22806 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
22810 PyObject
*swig_obj
[1] ;
22812 if (!args
) SWIG_fail
;
22813 swig_obj
[0] = args
;
22814 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPanel
, 0 | 0 );
22815 if (!SWIG_IsOK(res1
)) {
22816 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyPanel_DoGetBestSize" "', expected argument " "1"" of type '" "wxPyPanel const *""'");
22818 arg1
= reinterpret_cast< wxPyPanel
* >(argp1
);
22820 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22821 result
= ((wxPyPanel
const *)arg1
)->DoGetBestSize();
22822 wxPyEndAllowThreads(__tstate
);
22823 if (PyErr_Occurred()) SWIG_fail
;
22825 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
22832 SWIGINTERN PyObject
*_wrap_PyPanel_GetDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22833 PyObject
*resultobj
= 0;
22834 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
22835 SwigValueWrapper
<wxVisualAttributes
> result
;
22838 PyObject
*swig_obj
[1] ;
22840 if (!args
) SWIG_fail
;
22841 swig_obj
[0] = args
;
22842 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPanel
, 0 | 0 );
22843 if (!SWIG_IsOK(res1
)) {
22844 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyPanel_GetDefaultAttributes" "', expected argument " "1"" of type '" "wxPyPanel *""'");
22846 arg1
= reinterpret_cast< wxPyPanel
* >(argp1
);
22848 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22849 result
= (arg1
)->GetDefaultAttributes();
22850 wxPyEndAllowThreads(__tstate
);
22851 if (PyErr_Occurred()) SWIG_fail
;
22853 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
22860 SWIGINTERN PyObject
*_wrap_PyPanel_OnInternalIdle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22861 PyObject
*resultobj
= 0;
22862 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
22865 PyObject
*swig_obj
[1] ;
22867 if (!args
) SWIG_fail
;
22868 swig_obj
[0] = args
;
22869 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPanel
, 0 | 0 );
22870 if (!SWIG_IsOK(res1
)) {
22871 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyPanel_OnInternalIdle" "', expected argument " "1"" of type '" "wxPyPanel *""'");
22873 arg1
= reinterpret_cast< wxPyPanel
* >(argp1
);
22875 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22876 (arg1
)->OnInternalIdle();
22877 wxPyEndAllowThreads(__tstate
);
22878 if (PyErr_Occurred()) SWIG_fail
;
22880 resultobj
= SWIG_Py_Void();
22887 SWIGINTERN PyObject
*PyPanel_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22889 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
22890 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyPanel
, SWIG_NewClientData(obj
));
22891 return SWIG_Py_Void();
22894 SWIGINTERN PyObject
*PyPanel_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22895 return SWIG_Python_InitShadowInstance(args
);
22898 SWIGINTERN PyObject
*_wrap_new_PyScrolledWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22899 PyObject
*resultobj
= 0;
22900 wxWindow
*arg1
= (wxWindow
*) 0 ;
22901 int arg2
= (int) (int)-1 ;
22902 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
22903 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
22904 wxSize
const &arg4_defvalue
= wxDefaultSize
;
22905 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
22906 long arg5
= (long) 0 ;
22907 wxString
const &arg6_defvalue
= wxPyPanelNameStr
;
22908 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
22909 wxPyScrolledWindow
*result
= 0 ;
22918 bool temp6
= false ;
22919 PyObject
* obj0
= 0 ;
22920 PyObject
* obj1
= 0 ;
22921 PyObject
* obj2
= 0 ;
22922 PyObject
* obj3
= 0 ;
22923 PyObject
* obj4
= 0 ;
22924 PyObject
* obj5
= 0 ;
22925 char * kwnames
[] = {
22926 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
22929 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_PyScrolledWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
22930 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
22931 if (!SWIG_IsOK(res1
)) {
22932 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PyScrolledWindow" "', expected argument " "1"" of type '" "wxWindow *""'");
22934 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
22936 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
22937 if (!SWIG_IsOK(ecode2
)) {
22938 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_PyScrolledWindow" "', expected argument " "2"" of type '" "int""'");
22940 arg2
= static_cast< int >(val2
);
22945 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
22951 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
22955 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
22956 if (!SWIG_IsOK(ecode5
)) {
22957 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_PyScrolledWindow" "', expected argument " "5"" of type '" "long""'");
22959 arg5
= static_cast< long >(val5
);
22963 arg6
= wxString_in_helper(obj5
);
22964 if (arg6
== NULL
) SWIG_fail
;
22969 if (!wxPyCheckForApp()) SWIG_fail
;
22970 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22971 result
= (wxPyScrolledWindow
*)new wxPyScrolledWindow(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
22972 wxPyEndAllowThreads(__tstate
);
22973 if (PyErr_Occurred()) SWIG_fail
;
22975 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyScrolledWindow
, SWIG_POINTER_NEW
| 0 );
22990 SWIGINTERN PyObject
*_wrap_new_PrePyScrolledWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22991 PyObject
*resultobj
= 0;
22992 wxPyScrolledWindow
*result
= 0 ;
22994 if (!SWIG_Python_UnpackTuple(args
,"new_PrePyScrolledWindow",0,0,0)) SWIG_fail
;
22996 if (!wxPyCheckForApp()) SWIG_fail
;
22997 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22998 result
= (wxPyScrolledWindow
*)new wxPyScrolledWindow();
22999 wxPyEndAllowThreads(__tstate
);
23000 if (PyErr_Occurred()) SWIG_fail
;
23002 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyScrolledWindow
, SWIG_POINTER_OWN
| 0 );
23009 SWIGINTERN PyObject
*_wrap_PyScrolledWindow__setCallbackInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23010 PyObject
*resultobj
= 0;
23011 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
23012 PyObject
*arg2
= (PyObject
*) 0 ;
23013 PyObject
*arg3
= (PyObject
*) 0 ;
23016 PyObject
* obj0
= 0 ;
23017 PyObject
* obj1
= 0 ;
23018 PyObject
* obj2
= 0 ;
23019 char * kwnames
[] = {
23020 (char *) "self",(char *) "self",(char *) "_class", NULL
23023 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyScrolledWindow__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
23024 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyScrolledWindow
, 0 | 0 );
23025 if (!SWIG_IsOK(res1
)) {
23026 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyScrolledWindow__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyScrolledWindow *""'");
23028 arg1
= reinterpret_cast< wxPyScrolledWindow
* >(argp1
);
23032 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23033 (arg1
)->_setCallbackInfo(arg2
,arg3
);
23034 wxPyEndAllowThreads(__tstate
);
23035 if (PyErr_Occurred()) SWIG_fail
;
23037 resultobj
= SWIG_Py_Void();
23044 SWIGINTERN PyObject
*_wrap_PyScrolledWindow_SetBestSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23045 PyObject
*resultobj
= 0;
23046 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
23051 PyObject
* obj0
= 0 ;
23052 PyObject
* obj1
= 0 ;
23053 char * kwnames
[] = {
23054 (char *) "self",(char *) "size", NULL
23057 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyScrolledWindow_SetBestSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23058 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyScrolledWindow
, 0 | 0 );
23059 if (!SWIG_IsOK(res1
)) {
23060 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyScrolledWindow_SetBestSize" "', expected argument " "1"" of type '" "wxPyScrolledWindow *""'");
23062 arg1
= reinterpret_cast< wxPyScrolledWindow
* >(argp1
);
23065 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
23068 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23069 (arg1
)->SetBestSize((wxSize
const &)*arg2
);
23070 wxPyEndAllowThreads(__tstate
);
23071 if (PyErr_Occurred()) SWIG_fail
;
23073 resultobj
= SWIG_Py_Void();
23080 SWIGINTERN PyObject
*_wrap_PyScrolledWindow_DoEraseBackground(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23081 PyObject
*resultobj
= 0;
23082 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
23083 wxDC
*arg2
= (wxDC
*) 0 ;
23089 PyObject
* obj0
= 0 ;
23090 PyObject
* obj1
= 0 ;
23091 char * kwnames
[] = {
23092 (char *) "self",(char *) "dc", NULL
23095 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyScrolledWindow_DoEraseBackground",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23096 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyScrolledWindow
, 0 | 0 );
23097 if (!SWIG_IsOK(res1
)) {
23098 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyScrolledWindow_DoEraseBackground" "', expected argument " "1"" of type '" "wxPyScrolledWindow *""'");
23100 arg1
= reinterpret_cast< wxPyScrolledWindow
* >(argp1
);
23101 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxDC
, 0 | 0 );
23102 if (!SWIG_IsOK(res2
)) {
23103 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PyScrolledWindow_DoEraseBackground" "', expected argument " "2"" of type '" "wxDC *""'");
23105 arg2
= reinterpret_cast< wxDC
* >(argp2
);
23107 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23108 result
= (bool)(arg1
)->DoEraseBackground(arg2
);
23109 wxPyEndAllowThreads(__tstate
);
23110 if (PyErr_Occurred()) SWIG_fail
;
23113 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23121 SWIGINTERN PyObject
*_wrap_PyScrolledWindow_DoMoveWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23122 PyObject
*resultobj
= 0;
23123 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
23138 PyObject
* obj0
= 0 ;
23139 PyObject
* obj1
= 0 ;
23140 PyObject
* obj2
= 0 ;
23141 PyObject
* obj3
= 0 ;
23142 PyObject
* obj4
= 0 ;
23143 char * kwnames
[] = {
23144 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
23147 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:PyScrolledWindow_DoMoveWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
23148 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyScrolledWindow
, 0 | 0 );
23149 if (!SWIG_IsOK(res1
)) {
23150 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyScrolledWindow_DoMoveWindow" "', expected argument " "1"" of type '" "wxPyScrolledWindow *""'");
23152 arg1
= reinterpret_cast< wxPyScrolledWindow
* >(argp1
);
23153 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
23154 if (!SWIG_IsOK(ecode2
)) {
23155 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PyScrolledWindow_DoMoveWindow" "', expected argument " "2"" of type '" "int""'");
23157 arg2
= static_cast< int >(val2
);
23158 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
23159 if (!SWIG_IsOK(ecode3
)) {
23160 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PyScrolledWindow_DoMoveWindow" "', expected argument " "3"" of type '" "int""'");
23162 arg3
= static_cast< int >(val3
);
23163 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
23164 if (!SWIG_IsOK(ecode4
)) {
23165 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PyScrolledWindow_DoMoveWindow" "', expected argument " "4"" of type '" "int""'");
23167 arg4
= static_cast< int >(val4
);
23168 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
23169 if (!SWIG_IsOK(ecode5
)) {
23170 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PyScrolledWindow_DoMoveWindow" "', expected argument " "5"" of type '" "int""'");
23172 arg5
= static_cast< int >(val5
);
23174 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23175 (arg1
)->DoMoveWindow(arg2
,arg3
,arg4
,arg5
);
23176 wxPyEndAllowThreads(__tstate
);
23177 if (PyErr_Occurred()) SWIG_fail
;
23179 resultobj
= SWIG_Py_Void();
23186 SWIGINTERN PyObject
*_wrap_PyScrolledWindow_DoSetSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23187 PyObject
*resultobj
= 0;
23188 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
23193 int arg6
= (int) wxSIZE_AUTO
;
23206 PyObject
* obj0
= 0 ;
23207 PyObject
* obj1
= 0 ;
23208 PyObject
* obj2
= 0 ;
23209 PyObject
* obj3
= 0 ;
23210 PyObject
* obj4
= 0 ;
23211 PyObject
* obj5
= 0 ;
23212 char * kwnames
[] = {
23213 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "sizeFlags", NULL
23216 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|O:PyScrolledWindow_DoSetSize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
23217 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyScrolledWindow
, 0 | 0 );
23218 if (!SWIG_IsOK(res1
)) {
23219 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyScrolledWindow_DoSetSize" "', expected argument " "1"" of type '" "wxPyScrolledWindow *""'");
23221 arg1
= reinterpret_cast< wxPyScrolledWindow
* >(argp1
);
23222 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
23223 if (!SWIG_IsOK(ecode2
)) {
23224 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PyScrolledWindow_DoSetSize" "', expected argument " "2"" of type '" "int""'");
23226 arg2
= static_cast< int >(val2
);
23227 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
23228 if (!SWIG_IsOK(ecode3
)) {
23229 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PyScrolledWindow_DoSetSize" "', expected argument " "3"" of type '" "int""'");
23231 arg3
= static_cast< int >(val3
);
23232 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
23233 if (!SWIG_IsOK(ecode4
)) {
23234 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PyScrolledWindow_DoSetSize" "', expected argument " "4"" of type '" "int""'");
23236 arg4
= static_cast< int >(val4
);
23237 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
23238 if (!SWIG_IsOK(ecode5
)) {
23239 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PyScrolledWindow_DoSetSize" "', expected argument " "5"" of type '" "int""'");
23241 arg5
= static_cast< int >(val5
);
23243 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
23244 if (!SWIG_IsOK(ecode6
)) {
23245 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "PyScrolledWindow_DoSetSize" "', expected argument " "6"" of type '" "int""'");
23247 arg6
= static_cast< int >(val6
);
23250 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23251 (arg1
)->DoSetSize(arg2
,arg3
,arg4
,arg5
,arg6
);
23252 wxPyEndAllowThreads(__tstate
);
23253 if (PyErr_Occurred()) SWIG_fail
;
23255 resultobj
= SWIG_Py_Void();
23262 SWIGINTERN PyObject
*_wrap_PyScrolledWindow_DoSetClientSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23263 PyObject
*resultobj
= 0;
23264 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
23273 PyObject
* obj0
= 0 ;
23274 PyObject
* obj1
= 0 ;
23275 PyObject
* obj2
= 0 ;
23276 char * kwnames
[] = {
23277 (char *) "self",(char *) "width",(char *) "height", NULL
23280 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyScrolledWindow_DoSetClientSize",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
23281 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyScrolledWindow
, 0 | 0 );
23282 if (!SWIG_IsOK(res1
)) {
23283 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyScrolledWindow_DoSetClientSize" "', expected argument " "1"" of type '" "wxPyScrolledWindow *""'");
23285 arg1
= reinterpret_cast< wxPyScrolledWindow
* >(argp1
);
23286 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
23287 if (!SWIG_IsOK(ecode2
)) {
23288 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PyScrolledWindow_DoSetClientSize" "', expected argument " "2"" of type '" "int""'");
23290 arg2
= static_cast< int >(val2
);
23291 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
23292 if (!SWIG_IsOK(ecode3
)) {
23293 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PyScrolledWindow_DoSetClientSize" "', expected argument " "3"" of type '" "int""'");
23295 arg3
= static_cast< int >(val3
);
23297 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23298 (arg1
)->DoSetClientSize(arg2
,arg3
);
23299 wxPyEndAllowThreads(__tstate
);
23300 if (PyErr_Occurred()) SWIG_fail
;
23302 resultobj
= SWIG_Py_Void();
23309 SWIGINTERN PyObject
*_wrap_PyScrolledWindow_DoSetVirtualSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23310 PyObject
*resultobj
= 0;
23311 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
23320 PyObject
* obj0
= 0 ;
23321 PyObject
* obj1
= 0 ;
23322 PyObject
* obj2
= 0 ;
23323 char * kwnames
[] = {
23324 (char *) "self",(char *) "x",(char *) "y", NULL
23327 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyScrolledWindow_DoSetVirtualSize",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
23328 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyScrolledWindow
, 0 | 0 );
23329 if (!SWIG_IsOK(res1
)) {
23330 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyScrolledWindow_DoSetVirtualSize" "', expected argument " "1"" of type '" "wxPyScrolledWindow *""'");
23332 arg1
= reinterpret_cast< wxPyScrolledWindow
* >(argp1
);
23333 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
23334 if (!SWIG_IsOK(ecode2
)) {
23335 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PyScrolledWindow_DoSetVirtualSize" "', expected argument " "2"" of type '" "int""'");
23337 arg2
= static_cast< int >(val2
);
23338 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
23339 if (!SWIG_IsOK(ecode3
)) {
23340 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PyScrolledWindow_DoSetVirtualSize" "', expected argument " "3"" of type '" "int""'");
23342 arg3
= static_cast< int >(val3
);
23344 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23345 (arg1
)->DoSetVirtualSize(arg2
,arg3
);
23346 wxPyEndAllowThreads(__tstate
);
23347 if (PyErr_Occurred()) SWIG_fail
;
23349 resultobj
= SWIG_Py_Void();
23356 SWIGINTERN PyObject
*_wrap_PyScrolledWindow_DoGetSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23357 PyObject
*resultobj
= 0;
23358 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
23359 int *arg2
= (int *) 0 ;
23360 int *arg3
= (int *) 0 ;
23364 int res2
= SWIG_TMPOBJ
;
23366 int res3
= SWIG_TMPOBJ
;
23367 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_DoGetSize" "', expected argument " "1"" of type '" "wxPyScrolledWindow const *""'");
23377 arg1
= reinterpret_cast< wxPyScrolledWindow
* >(argp1
);
23379 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23380 ((wxPyScrolledWindow
const *)arg1
)->DoGetSize(arg2
,arg3
);
23381 wxPyEndAllowThreads(__tstate
);
23382 if (PyErr_Occurred()) SWIG_fail
;
23384 resultobj
= SWIG_Py_Void();
23385 if (SWIG_IsTmpObj(res2
)) {
23386 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
23388 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
23389 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
23391 if (SWIG_IsTmpObj(res3
)) {
23392 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
23394 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
23395 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
23403 SWIGINTERN PyObject
*_wrap_PyScrolledWindow_DoGetClientSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23404 PyObject
*resultobj
= 0;
23405 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
23406 int *arg2
= (int *) 0 ;
23407 int *arg3
= (int *) 0 ;
23411 int res2
= SWIG_TMPOBJ
;
23413 int res3
= SWIG_TMPOBJ
;
23414 PyObject
*swig_obj
[1] ;
23418 if (!args
) SWIG_fail
;
23419 swig_obj
[0] = args
;
23420 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyScrolledWindow
, 0 | 0 );
23421 if (!SWIG_IsOK(res1
)) {
23422 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyScrolledWindow_DoGetClientSize" "', expected argument " "1"" of type '" "wxPyScrolledWindow const *""'");
23424 arg1
= reinterpret_cast< wxPyScrolledWindow
* >(argp1
);
23426 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23427 ((wxPyScrolledWindow
const *)arg1
)->DoGetClientSize(arg2
,arg3
);
23428 wxPyEndAllowThreads(__tstate
);
23429 if (PyErr_Occurred()) SWIG_fail
;
23431 resultobj
= SWIG_Py_Void();
23432 if (SWIG_IsTmpObj(res2
)) {
23433 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
23435 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
23436 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
23438 if (SWIG_IsTmpObj(res3
)) {
23439 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
23441 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
23442 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
23450 SWIGINTERN PyObject
*_wrap_PyScrolledWindow_DoGetPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23451 PyObject
*resultobj
= 0;
23452 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
23453 int *arg2
= (int *) 0 ;
23454 int *arg3
= (int *) 0 ;
23458 int res2
= SWIG_TMPOBJ
;
23460 int res3
= SWIG_TMPOBJ
;
23461 PyObject
*swig_obj
[1] ;
23465 if (!args
) SWIG_fail
;
23466 swig_obj
[0] = args
;
23467 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyScrolledWindow
, 0 | 0 );
23468 if (!SWIG_IsOK(res1
)) {
23469 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyScrolledWindow_DoGetPosition" "', expected argument " "1"" of type '" "wxPyScrolledWindow const *""'");
23471 arg1
= reinterpret_cast< wxPyScrolledWindow
* >(argp1
);
23473 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23474 ((wxPyScrolledWindow
const *)arg1
)->DoGetPosition(arg2
,arg3
);
23475 wxPyEndAllowThreads(__tstate
);
23476 if (PyErr_Occurred()) SWIG_fail
;
23478 resultobj
= SWIG_Py_Void();
23479 if (SWIG_IsTmpObj(res2
)) {
23480 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
23482 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
23483 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
23485 if (SWIG_IsTmpObj(res3
)) {
23486 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
23488 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
23489 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
23497 SWIGINTERN PyObject
*_wrap_PyScrolledWindow_DoGetVirtualSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23498 PyObject
*resultobj
= 0;
23499 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
23503 PyObject
*swig_obj
[1] ;
23505 if (!args
) SWIG_fail
;
23506 swig_obj
[0] = args
;
23507 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyScrolledWindow
, 0 | 0 );
23508 if (!SWIG_IsOK(res1
)) {
23509 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyScrolledWindow_DoGetVirtualSize" "', expected argument " "1"" of type '" "wxPyScrolledWindow const *""'");
23511 arg1
= reinterpret_cast< wxPyScrolledWindow
* >(argp1
);
23513 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23514 result
= ((wxPyScrolledWindow
const *)arg1
)->DoGetVirtualSize();
23515 wxPyEndAllowThreads(__tstate
);
23516 if (PyErr_Occurred()) SWIG_fail
;
23518 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
23525 SWIGINTERN PyObject
*_wrap_PyScrolledWindow_DoGetBestSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23526 PyObject
*resultobj
= 0;
23527 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
23531 PyObject
*swig_obj
[1] ;
23533 if (!args
) SWIG_fail
;
23534 swig_obj
[0] = args
;
23535 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyScrolledWindow
, 0 | 0 );
23536 if (!SWIG_IsOK(res1
)) {
23537 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyScrolledWindow_DoGetBestSize" "', expected argument " "1"" of type '" "wxPyScrolledWindow const *""'");
23539 arg1
= reinterpret_cast< wxPyScrolledWindow
* >(argp1
);
23541 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23542 result
= ((wxPyScrolledWindow
const *)arg1
)->DoGetBestSize();
23543 wxPyEndAllowThreads(__tstate
);
23544 if (PyErr_Occurred()) SWIG_fail
;
23546 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
23553 SWIGINTERN PyObject
*_wrap_PyScrolledWindow_GetDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23554 PyObject
*resultobj
= 0;
23555 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
23556 SwigValueWrapper
<wxVisualAttributes
> result
;
23559 PyObject
*swig_obj
[1] ;
23561 if (!args
) SWIG_fail
;
23562 swig_obj
[0] = args
;
23563 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyScrolledWindow
, 0 | 0 );
23564 if (!SWIG_IsOK(res1
)) {
23565 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyScrolledWindow_GetDefaultAttributes" "', expected argument " "1"" of type '" "wxPyScrolledWindow *""'");
23567 arg1
= reinterpret_cast< wxPyScrolledWindow
* >(argp1
);
23569 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23570 result
= (arg1
)->GetDefaultAttributes();
23571 wxPyEndAllowThreads(__tstate
);
23572 if (PyErr_Occurred()) SWIG_fail
;
23574 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
23581 SWIGINTERN PyObject
*_wrap_PyScrolledWindow_OnInternalIdle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23582 PyObject
*resultobj
= 0;
23583 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
23586 PyObject
*swig_obj
[1] ;
23588 if (!args
) SWIG_fail
;
23589 swig_obj
[0] = args
;
23590 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyScrolledWindow
, 0 | 0 );
23591 if (!SWIG_IsOK(res1
)) {
23592 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyScrolledWindow_OnInternalIdle" "', expected argument " "1"" of type '" "wxPyScrolledWindow *""'");
23594 arg1
= reinterpret_cast< wxPyScrolledWindow
* >(argp1
);
23596 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23597 (arg1
)->OnInternalIdle();
23598 wxPyEndAllowThreads(__tstate
);
23599 if (PyErr_Occurred()) SWIG_fail
;
23601 resultobj
= SWIG_Py_Void();
23608 SWIGINTERN PyObject
*PyScrolledWindow_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23610 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
23611 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyScrolledWindow
, SWIG_NewClientData(obj
));
23612 return SWIG_Py_Void();
23615 SWIGINTERN PyObject
*PyScrolledWindow_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23616 return SWIG_Python_InitShadowInstance(args
);
23619 SWIGINTERN
int PrintoutTitleStr_set(PyObject
*) {
23620 SWIG_Error(SWIG_AttributeError
,"Variable PrintoutTitleStr is read-only.");
23625 SWIGINTERN PyObject
*PrintoutTitleStr_get(void) {
23626 PyObject
*pyobj
= 0;
23630 pyobj
= PyUnicode_FromWideChar((&wxPyPrintoutTitleStr
)->c_str(), (&wxPyPrintoutTitleStr
)->Len());
23632 pyobj
= PyString_FromStringAndSize((&wxPyPrintoutTitleStr
)->c_str(), (&wxPyPrintoutTitleStr
)->Len());
23639 SWIGINTERN
int PreviewCanvasNameStr_set(PyObject
*) {
23640 SWIG_Error(SWIG_AttributeError
,"Variable PreviewCanvasNameStr is read-only.");
23645 SWIGINTERN PyObject
*PreviewCanvasNameStr_get(void) {
23646 PyObject
*pyobj
= 0;
23650 pyobj
= PyUnicode_FromWideChar((&wxPyPreviewCanvasNameStr
)->c_str(), (&wxPyPreviewCanvasNameStr
)->Len());
23652 pyobj
= PyString_FromStringAndSize((&wxPyPreviewCanvasNameStr
)->c_str(), (&wxPyPreviewCanvasNameStr
)->Len());
23659 SWIGINTERN PyObject
*_wrap_new_PrintData__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**SWIGUNUSEDPARM(swig_obj
)) {
23660 PyObject
*resultobj
= 0;
23661 wxPrintData
*result
= 0 ;
23663 if ((nobjs
< 0) || (nobjs
> 0)) SWIG_fail
;
23665 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23666 result
= (wxPrintData
*)new wxPrintData();
23667 wxPyEndAllowThreads(__tstate
);
23668 if (PyErr_Occurred()) SWIG_fail
;
23670 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPrintData
, SWIG_POINTER_NEW
| 0 );
23677 SWIGINTERN PyObject
*_wrap_new_PrintData__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
23678 PyObject
*resultobj
= 0;
23679 wxPrintData
*arg1
= 0 ;
23680 wxPrintData
*result
= 0 ;
23684 if ((nobjs
< 1) || (nobjs
> 1)) SWIG_fail
;
23685 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
, SWIGTYPE_p_wxPrintData
, 0 | 0);
23686 if (!SWIG_IsOK(res1
)) {
23687 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PrintData" "', expected argument " "1"" of type '" "wxPrintData const &""'");
23690 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_PrintData" "', expected argument " "1"" of type '" "wxPrintData const &""'");
23692 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
23694 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23695 result
= (wxPrintData
*)new wxPrintData((wxPrintData
const &)*arg1
);
23696 wxPyEndAllowThreads(__tstate
);
23697 if (PyErr_Occurred()) SWIG_fail
;
23699 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPrintData
, SWIG_POINTER_NEW
| 0 );
23706 SWIGINTERN PyObject
*_wrap_new_PrintData(PyObject
*self
, PyObject
*args
) {
23710 if (!(argc
= SWIG_Python_UnpackTuple(args
,"new_PrintData",0,1,argv
))) SWIG_fail
;
23713 return _wrap_new_PrintData__SWIG_0(self
, argc
, argv
);
23716 return _wrap_new_PrintData__SWIG_1(self
, argc
, argv
);
23720 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'new_PrintData'");
23725 SWIGINTERN PyObject
*_wrap_delete_PrintData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23726 PyObject
*resultobj
= 0;
23727 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
23730 PyObject
*swig_obj
[1] ;
23732 if (!args
) SWIG_fail
;
23733 swig_obj
[0] = args
;
23734 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintData
, SWIG_POINTER_DISOWN
| 0 );
23735 if (!SWIG_IsOK(res1
)) {
23736 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_PrintData" "', expected argument " "1"" of type '" "wxPrintData *""'");
23738 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
23740 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23743 wxPyEndAllowThreads(__tstate
);
23744 if (PyErr_Occurred()) SWIG_fail
;
23746 resultobj
= SWIG_Py_Void();
23753 SWIGINTERN PyObject
*_wrap_PrintData_GetNoCopies(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23754 PyObject
*resultobj
= 0;
23755 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
23759 PyObject
*swig_obj
[1] ;
23761 if (!args
) SWIG_fail
;
23762 swig_obj
[0] = args
;
23763 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
23764 if (!SWIG_IsOK(res1
)) {
23765 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_GetNoCopies" "', expected argument " "1"" of type '" "wxPrintData *""'");
23767 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
23769 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23770 result
= (int)(arg1
)->GetNoCopies();
23771 wxPyEndAllowThreads(__tstate
);
23772 if (PyErr_Occurred()) SWIG_fail
;
23774 resultobj
= SWIG_From_int(static_cast< int >(result
));
23781 SWIGINTERN PyObject
*_wrap_PrintData_GetCollate(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23782 PyObject
*resultobj
= 0;
23783 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
23787 PyObject
*swig_obj
[1] ;
23789 if (!args
) SWIG_fail
;
23790 swig_obj
[0] = args
;
23791 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
23792 if (!SWIG_IsOK(res1
)) {
23793 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_GetCollate" "', expected argument " "1"" of type '" "wxPrintData *""'");
23795 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
23797 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23798 result
= (bool)(arg1
)->GetCollate();
23799 wxPyEndAllowThreads(__tstate
);
23800 if (PyErr_Occurred()) SWIG_fail
;
23803 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23811 SWIGINTERN PyObject
*_wrap_PrintData_GetOrientation(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23812 PyObject
*resultobj
= 0;
23813 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
23817 PyObject
*swig_obj
[1] ;
23819 if (!args
) SWIG_fail
;
23820 swig_obj
[0] = args
;
23821 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
23822 if (!SWIG_IsOK(res1
)) {
23823 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_GetOrientation" "', expected argument " "1"" of type '" "wxPrintData *""'");
23825 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
23827 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23828 result
= (int)(arg1
)->GetOrientation();
23829 wxPyEndAllowThreads(__tstate
);
23830 if (PyErr_Occurred()) SWIG_fail
;
23832 resultobj
= SWIG_From_int(static_cast< int >(result
));
23839 SWIGINTERN PyObject
*_wrap_PrintData_Ok(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23840 PyObject
*resultobj
= 0;
23841 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
23845 PyObject
*swig_obj
[1] ;
23847 if (!args
) SWIG_fail
;
23848 swig_obj
[0] = args
;
23849 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
23850 if (!SWIG_IsOK(res1
)) {
23851 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_Ok" "', expected argument " "1"" of type '" "wxPrintData *""'");
23853 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
23855 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23856 result
= (bool)(arg1
)->Ok();
23857 wxPyEndAllowThreads(__tstate
);
23858 if (PyErr_Occurred()) SWIG_fail
;
23861 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23869 SWIGINTERN PyObject
*_wrap_PrintData_GetPrinterName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23870 PyObject
*resultobj
= 0;
23871 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
23872 wxString
*result
= 0 ;
23875 PyObject
*swig_obj
[1] ;
23877 if (!args
) SWIG_fail
;
23878 swig_obj
[0] = args
;
23879 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
23880 if (!SWIG_IsOK(res1
)) {
23881 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_GetPrinterName" "', expected argument " "1"" of type '" "wxPrintData *""'");
23883 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
23885 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23887 wxString
const &_result_ref
= (arg1
)->GetPrinterName();
23888 result
= (wxString
*) &_result_ref
;
23890 wxPyEndAllowThreads(__tstate
);
23891 if (PyErr_Occurred()) SWIG_fail
;
23895 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
23897 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
23906 SWIGINTERN PyObject
*_wrap_PrintData_GetColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23907 PyObject
*resultobj
= 0;
23908 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
23912 PyObject
*swig_obj
[1] ;
23914 if (!args
) SWIG_fail
;
23915 swig_obj
[0] = args
;
23916 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
23917 if (!SWIG_IsOK(res1
)) {
23918 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_GetColour" "', expected argument " "1"" of type '" "wxPrintData *""'");
23920 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
23922 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23923 result
= (bool)(arg1
)->GetColour();
23924 wxPyEndAllowThreads(__tstate
);
23925 if (PyErr_Occurred()) SWIG_fail
;
23928 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23936 SWIGINTERN PyObject
*_wrap_PrintData_GetDuplex(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23937 PyObject
*resultobj
= 0;
23938 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
23939 wxDuplexMode result
;
23942 PyObject
*swig_obj
[1] ;
23944 if (!args
) SWIG_fail
;
23945 swig_obj
[0] = args
;
23946 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
23947 if (!SWIG_IsOK(res1
)) {
23948 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_GetDuplex" "', expected argument " "1"" of type '" "wxPrintData *""'");
23950 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
23952 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23953 result
= (wxDuplexMode
)(arg1
)->GetDuplex();
23954 wxPyEndAllowThreads(__tstate
);
23955 if (PyErr_Occurred()) SWIG_fail
;
23957 resultobj
= SWIG_From_int(static_cast< int >(result
));
23964 SWIGINTERN PyObject
*_wrap_PrintData_GetPaperId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23965 PyObject
*resultobj
= 0;
23966 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
23967 wxPaperSize result
;
23970 PyObject
*swig_obj
[1] ;
23972 if (!args
) SWIG_fail
;
23973 swig_obj
[0] = args
;
23974 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
23975 if (!SWIG_IsOK(res1
)) {
23976 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_GetPaperId" "', expected argument " "1"" of type '" "wxPrintData *""'");
23978 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
23980 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23981 result
= (wxPaperSize
)(arg1
)->GetPaperId();
23982 wxPyEndAllowThreads(__tstate
);
23983 if (PyErr_Occurred()) SWIG_fail
;
23985 resultobj
= SWIG_From_int(static_cast< int >(result
));
23992 SWIGINTERN PyObject
*_wrap_PrintData_GetPaperSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23993 PyObject
*resultobj
= 0;
23994 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
23995 wxSize
*result
= 0 ;
23998 PyObject
*swig_obj
[1] ;
24000 if (!args
) SWIG_fail
;
24001 swig_obj
[0] = args
;
24002 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
24003 if (!SWIG_IsOK(res1
)) {
24004 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_GetPaperSize" "', expected argument " "1"" of type '" "wxPrintData *""'");
24006 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
24008 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24010 wxSize
const &_result_ref
= (arg1
)->GetPaperSize();
24011 result
= (wxSize
*) &_result_ref
;
24013 wxPyEndAllowThreads(__tstate
);
24014 if (PyErr_Occurred()) SWIG_fail
;
24016 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSize
, 0 | 0 );
24023 SWIGINTERN PyObject
*_wrap_PrintData_GetQuality(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24024 PyObject
*resultobj
= 0;
24025 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
24029 PyObject
*swig_obj
[1] ;
24031 if (!args
) SWIG_fail
;
24032 swig_obj
[0] = args
;
24033 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
24034 if (!SWIG_IsOK(res1
)) {
24035 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_GetQuality" "', expected argument " "1"" of type '" "wxPrintData *""'");
24037 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
24039 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24040 result
= (int)(arg1
)->GetQuality();
24041 wxPyEndAllowThreads(__tstate
);
24042 if (PyErr_Occurred()) SWIG_fail
;
24044 resultobj
= SWIG_From_int(static_cast< int >(result
));
24051 SWIGINTERN PyObject
*_wrap_PrintData_GetBin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24052 PyObject
*resultobj
= 0;
24053 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
24057 PyObject
*swig_obj
[1] ;
24059 if (!args
) SWIG_fail
;
24060 swig_obj
[0] = args
;
24061 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
24062 if (!SWIG_IsOK(res1
)) {
24063 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_GetBin" "', expected argument " "1"" of type '" "wxPrintData *""'");
24065 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
24067 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24068 result
= (wxPrintBin
)(arg1
)->GetBin();
24069 wxPyEndAllowThreads(__tstate
);
24070 if (PyErr_Occurred()) SWIG_fail
;
24072 resultobj
= SWIG_From_int(static_cast< int >(result
));
24079 SWIGINTERN PyObject
*_wrap_PrintData_GetPrintMode(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24080 PyObject
*resultobj
= 0;
24081 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
24082 wxPrintMode result
;
24085 PyObject
*swig_obj
[1] ;
24087 if (!args
) SWIG_fail
;
24088 swig_obj
[0] = args
;
24089 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
24090 if (!SWIG_IsOK(res1
)) {
24091 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_GetPrintMode" "', expected argument " "1"" of type '" "wxPrintData const *""'");
24093 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
24095 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24096 result
= (wxPrintMode
)((wxPrintData
const *)arg1
)->GetPrintMode();
24097 wxPyEndAllowThreads(__tstate
);
24098 if (PyErr_Occurred()) SWIG_fail
;
24100 resultobj
= SWIG_From_int(static_cast< int >(result
));
24107 SWIGINTERN PyObject
*_wrap_PrintData_SetNoCopies(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24108 PyObject
*resultobj
= 0;
24109 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
24115 PyObject
* obj0
= 0 ;
24116 PyObject
* obj1
= 0 ;
24117 char * kwnames
[] = {
24118 (char *) "self",(char *) "v", NULL
24121 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetNoCopies",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24122 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
24123 if (!SWIG_IsOK(res1
)) {
24124 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_SetNoCopies" "', expected argument " "1"" of type '" "wxPrintData *""'");
24126 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
24127 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24128 if (!SWIG_IsOK(ecode2
)) {
24129 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintData_SetNoCopies" "', expected argument " "2"" of type '" "int""'");
24131 arg2
= static_cast< int >(val2
);
24133 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24134 (arg1
)->SetNoCopies(arg2
);
24135 wxPyEndAllowThreads(__tstate
);
24136 if (PyErr_Occurred()) SWIG_fail
;
24138 resultobj
= SWIG_Py_Void();
24145 SWIGINTERN PyObject
*_wrap_PrintData_SetCollate(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24146 PyObject
*resultobj
= 0;
24147 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
24153 PyObject
* obj0
= 0 ;
24154 PyObject
* obj1
= 0 ;
24155 char * kwnames
[] = {
24156 (char *) "self",(char *) "flag", NULL
24159 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetCollate",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24160 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
24161 if (!SWIG_IsOK(res1
)) {
24162 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_SetCollate" "', expected argument " "1"" of type '" "wxPrintData *""'");
24164 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
24165 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
24166 if (!SWIG_IsOK(ecode2
)) {
24167 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintData_SetCollate" "', expected argument " "2"" of type '" "bool""'");
24169 arg2
= static_cast< bool >(val2
);
24171 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24172 (arg1
)->SetCollate(arg2
);
24173 wxPyEndAllowThreads(__tstate
);
24174 if (PyErr_Occurred()) SWIG_fail
;
24176 resultobj
= SWIG_Py_Void();
24183 SWIGINTERN PyObject
*_wrap_PrintData_SetOrientation(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24184 PyObject
*resultobj
= 0;
24185 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
24191 PyObject
* obj0
= 0 ;
24192 PyObject
* obj1
= 0 ;
24193 char * kwnames
[] = {
24194 (char *) "self",(char *) "orient", NULL
24197 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetOrientation",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24198 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
24199 if (!SWIG_IsOK(res1
)) {
24200 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_SetOrientation" "', expected argument " "1"" of type '" "wxPrintData *""'");
24202 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
24203 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24204 if (!SWIG_IsOK(ecode2
)) {
24205 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintData_SetOrientation" "', expected argument " "2"" of type '" "int""'");
24207 arg2
= static_cast< int >(val2
);
24209 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24210 (arg1
)->SetOrientation(arg2
);
24211 wxPyEndAllowThreads(__tstate
);
24212 if (PyErr_Occurred()) SWIG_fail
;
24214 resultobj
= SWIG_Py_Void();
24221 SWIGINTERN PyObject
*_wrap_PrintData_SetPrinterName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24222 PyObject
*resultobj
= 0;
24223 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
24224 wxString
*arg2
= 0 ;
24227 bool temp2
= false ;
24228 PyObject
* obj0
= 0 ;
24229 PyObject
* obj1
= 0 ;
24230 char * kwnames
[] = {
24231 (char *) "self",(char *) "name", NULL
24234 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetPrinterName",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24235 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
24236 if (!SWIG_IsOK(res1
)) {
24237 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_SetPrinterName" "', expected argument " "1"" of type '" "wxPrintData *""'");
24239 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
24241 arg2
= wxString_in_helper(obj1
);
24242 if (arg2
== NULL
) SWIG_fail
;
24246 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24247 (arg1
)->SetPrinterName((wxString
const &)*arg2
);
24248 wxPyEndAllowThreads(__tstate
);
24249 if (PyErr_Occurred()) SWIG_fail
;
24251 resultobj
= SWIG_Py_Void();
24266 SWIGINTERN PyObject
*_wrap_PrintData_SetColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24267 PyObject
*resultobj
= 0;
24268 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
24274 PyObject
* obj0
= 0 ;
24275 PyObject
* obj1
= 0 ;
24276 char * kwnames
[] = {
24277 (char *) "self",(char *) "colour", NULL
24280 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24281 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
24282 if (!SWIG_IsOK(res1
)) {
24283 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_SetColour" "', expected argument " "1"" of type '" "wxPrintData *""'");
24285 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
24286 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
24287 if (!SWIG_IsOK(ecode2
)) {
24288 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintData_SetColour" "', expected argument " "2"" of type '" "bool""'");
24290 arg2
= static_cast< bool >(val2
);
24292 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24293 (arg1
)->SetColour(arg2
);
24294 wxPyEndAllowThreads(__tstate
);
24295 if (PyErr_Occurred()) SWIG_fail
;
24297 resultobj
= SWIG_Py_Void();
24304 SWIGINTERN PyObject
*_wrap_PrintData_SetDuplex(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24305 PyObject
*resultobj
= 0;
24306 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
24307 wxDuplexMode arg2
;
24312 PyObject
* obj0
= 0 ;
24313 PyObject
* obj1
= 0 ;
24314 char * kwnames
[] = {
24315 (char *) "self",(char *) "duplex", NULL
24318 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetDuplex",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24319 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
24320 if (!SWIG_IsOK(res1
)) {
24321 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_SetDuplex" "', expected argument " "1"" of type '" "wxPrintData *""'");
24323 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
24324 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24325 if (!SWIG_IsOK(ecode2
)) {
24326 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintData_SetDuplex" "', expected argument " "2"" of type '" "wxDuplexMode""'");
24328 arg2
= static_cast< wxDuplexMode
>(val2
);
24330 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24331 (arg1
)->SetDuplex(arg2
);
24332 wxPyEndAllowThreads(__tstate
);
24333 if (PyErr_Occurred()) SWIG_fail
;
24335 resultobj
= SWIG_Py_Void();
24342 SWIGINTERN PyObject
*_wrap_PrintData_SetPaperId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24343 PyObject
*resultobj
= 0;
24344 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
24350 PyObject
* obj0
= 0 ;
24351 PyObject
* obj1
= 0 ;
24352 char * kwnames
[] = {
24353 (char *) "self",(char *) "sizeId", NULL
24356 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetPaperId",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24357 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
24358 if (!SWIG_IsOK(res1
)) {
24359 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_SetPaperId" "', expected argument " "1"" of type '" "wxPrintData *""'");
24361 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
24362 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24363 if (!SWIG_IsOK(ecode2
)) {
24364 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintData_SetPaperId" "', expected argument " "2"" of type '" "wxPaperSize""'");
24366 arg2
= static_cast< wxPaperSize
>(val2
);
24368 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24369 (arg1
)->SetPaperId(arg2
);
24370 wxPyEndAllowThreads(__tstate
);
24371 if (PyErr_Occurred()) SWIG_fail
;
24373 resultobj
= SWIG_Py_Void();
24380 SWIGINTERN PyObject
*_wrap_PrintData_SetPaperSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24381 PyObject
*resultobj
= 0;
24382 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
24387 PyObject
* obj0
= 0 ;
24388 PyObject
* obj1
= 0 ;
24389 char * kwnames
[] = {
24390 (char *) "self",(char *) "sz", NULL
24393 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetPaperSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24394 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
24395 if (!SWIG_IsOK(res1
)) {
24396 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_SetPaperSize" "', expected argument " "1"" of type '" "wxPrintData *""'");
24398 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
24401 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
24404 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24405 (arg1
)->SetPaperSize((wxSize
const &)*arg2
);
24406 wxPyEndAllowThreads(__tstate
);
24407 if (PyErr_Occurred()) SWIG_fail
;
24409 resultobj
= SWIG_Py_Void();
24416 SWIGINTERN PyObject
*_wrap_PrintData_SetQuality(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24417 PyObject
*resultobj
= 0;
24418 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
24424 PyObject
* obj0
= 0 ;
24425 PyObject
* obj1
= 0 ;
24426 char * kwnames
[] = {
24427 (char *) "self",(char *) "quality", NULL
24430 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetQuality",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24431 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
24432 if (!SWIG_IsOK(res1
)) {
24433 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_SetQuality" "', expected argument " "1"" of type '" "wxPrintData *""'");
24435 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
24436 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24437 if (!SWIG_IsOK(ecode2
)) {
24438 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintData_SetQuality" "', expected argument " "2"" of type '" "int""'");
24440 arg2
= static_cast< int >(val2
);
24442 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24443 (arg1
)->SetQuality(arg2
);
24444 wxPyEndAllowThreads(__tstate
);
24445 if (PyErr_Occurred()) SWIG_fail
;
24447 resultobj
= SWIG_Py_Void();
24454 SWIGINTERN PyObject
*_wrap_PrintData_SetBin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24455 PyObject
*resultobj
= 0;
24456 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
24462 PyObject
* obj0
= 0 ;
24463 PyObject
* obj1
= 0 ;
24464 char * kwnames
[] = {
24465 (char *) "self",(char *) "bin", NULL
24468 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetBin",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24469 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
24470 if (!SWIG_IsOK(res1
)) {
24471 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_SetBin" "', expected argument " "1"" of type '" "wxPrintData *""'");
24473 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
24474 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24475 if (!SWIG_IsOK(ecode2
)) {
24476 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintData_SetBin" "', expected argument " "2"" of type '" "wxPrintBin""'");
24478 arg2
= static_cast< wxPrintBin
>(val2
);
24480 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24481 (arg1
)->SetBin(arg2
);
24482 wxPyEndAllowThreads(__tstate
);
24483 if (PyErr_Occurred()) SWIG_fail
;
24485 resultobj
= SWIG_Py_Void();
24492 SWIGINTERN PyObject
*_wrap_PrintData_SetPrintMode(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24493 PyObject
*resultobj
= 0;
24494 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
24500 PyObject
* obj0
= 0 ;
24501 PyObject
* obj1
= 0 ;
24502 char * kwnames
[] = {
24503 (char *) "self",(char *) "printMode", NULL
24506 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetPrintMode",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24507 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
24508 if (!SWIG_IsOK(res1
)) {
24509 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_SetPrintMode" "', expected argument " "1"" of type '" "wxPrintData *""'");
24511 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
24512 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24513 if (!SWIG_IsOK(ecode2
)) {
24514 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintData_SetPrintMode" "', expected argument " "2"" of type '" "wxPrintMode""'");
24516 arg2
= static_cast< wxPrintMode
>(val2
);
24518 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24519 (arg1
)->SetPrintMode(arg2
);
24520 wxPyEndAllowThreads(__tstate
);
24521 if (PyErr_Occurred()) SWIG_fail
;
24523 resultobj
= SWIG_Py_Void();
24530 SWIGINTERN PyObject
*_wrap_PrintData_GetFilename(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24531 PyObject
*resultobj
= 0;
24532 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
24536 PyObject
*swig_obj
[1] ;
24538 if (!args
) SWIG_fail
;
24539 swig_obj
[0] = args
;
24540 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
24541 if (!SWIG_IsOK(res1
)) {
24542 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_GetFilename" "', expected argument " "1"" of type '" "wxPrintData const *""'");
24544 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
24546 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24547 result
= ((wxPrintData
const *)arg1
)->GetFilename();
24548 wxPyEndAllowThreads(__tstate
);
24549 if (PyErr_Occurred()) SWIG_fail
;
24553 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
24555 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
24564 SWIGINTERN PyObject
*_wrap_PrintData_SetFilename(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24565 PyObject
*resultobj
= 0;
24566 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
24567 wxString
*arg2
= 0 ;
24570 bool temp2
= false ;
24571 PyObject
* obj0
= 0 ;
24572 PyObject
* obj1
= 0 ;
24573 char * kwnames
[] = {
24574 (char *) "self",(char *) "filename", NULL
24577 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetFilename",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24578 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
24579 if (!SWIG_IsOK(res1
)) {
24580 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_SetFilename" "', expected argument " "1"" of type '" "wxPrintData *""'");
24582 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
24584 arg2
= wxString_in_helper(obj1
);
24585 if (arg2
== NULL
) SWIG_fail
;
24589 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24590 (arg1
)->SetFilename((wxString
const &)*arg2
);
24591 wxPyEndAllowThreads(__tstate
);
24592 if (PyErr_Occurred()) SWIG_fail
;
24594 resultobj
= SWIG_Py_Void();
24609 SWIGINTERN PyObject
*_wrap_PrintData_GetPrivData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24610 PyObject
*resultobj
= 0;
24611 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
24612 PyObject
*result
= 0 ;
24615 PyObject
*swig_obj
[1] ;
24617 if (!args
) SWIG_fail
;
24618 swig_obj
[0] = args
;
24619 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
24620 if (!SWIG_IsOK(res1
)) {
24621 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_GetPrivData" "', expected argument " "1"" of type '" "wxPrintData *""'");
24623 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
24625 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24626 result
= (PyObject
*)wxPrintData_GetPrivData(arg1
);
24627 wxPyEndAllowThreads(__tstate
);
24628 if (PyErr_Occurred()) SWIG_fail
;
24630 resultobj
= result
;
24637 SWIGINTERN PyObject
*_wrap_PrintData_SetPrivData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24638 PyObject
*resultobj
= 0;
24639 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
24640 PyObject
*arg2
= (PyObject
*) 0 ;
24643 PyObject
* obj0
= 0 ;
24644 PyObject
* obj1
= 0 ;
24645 char * kwnames
[] = {
24646 (char *) "self",(char *) "data", NULL
24649 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetPrivData",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24650 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
24651 if (!SWIG_IsOK(res1
)) {
24652 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_SetPrivData" "', expected argument " "1"" of type '" "wxPrintData *""'");
24654 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
24657 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24658 wxPrintData_SetPrivData(arg1
,arg2
);
24659 wxPyEndAllowThreads(__tstate
);
24660 if (PyErr_Occurred()) SWIG_fail
;
24662 resultobj
= SWIG_Py_Void();
24669 SWIGINTERN PyObject
*PrintData_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24671 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
24672 SWIG_TypeNewClientData(SWIGTYPE_p_wxPrintData
, SWIG_NewClientData(obj
));
24673 return SWIG_Py_Void();
24676 SWIGINTERN PyObject
*PrintData_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24677 return SWIG_Python_InitShadowInstance(args
);
24680 SWIGINTERN PyObject
*_wrap_new_PageSetupDialogData__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**SWIGUNUSEDPARM(swig_obj
)) {
24681 PyObject
*resultobj
= 0;
24682 wxPageSetupDialogData
*result
= 0 ;
24684 if ((nobjs
< 0) || (nobjs
> 0)) SWIG_fail
;
24686 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24687 result
= (wxPageSetupDialogData
*)new wxPageSetupDialogData();
24688 wxPyEndAllowThreads(__tstate
);
24689 if (PyErr_Occurred()) SWIG_fail
;
24691 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPageSetupDialogData
, SWIG_POINTER_NEW
| 0 );
24698 SWIGINTERN PyObject
*_wrap_new_PageSetupDialogData__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
24699 PyObject
*resultobj
= 0;
24700 wxPageSetupDialogData
*arg1
= 0 ;
24701 wxPageSetupDialogData
*result
= 0 ;
24705 if ((nobjs
< 1) || (nobjs
> 1)) SWIG_fail
;
24706 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
, SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0);
24707 if (!SWIG_IsOK(res1
)) {
24708 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PageSetupDialogData" "', expected argument " "1"" of type '" "wxPageSetupDialogData const &""'");
24711 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_PageSetupDialogData" "', expected argument " "1"" of type '" "wxPageSetupDialogData const &""'");
24713 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
24715 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24716 result
= (wxPageSetupDialogData
*)new wxPageSetupDialogData((wxPageSetupDialogData
const &)*arg1
);
24717 wxPyEndAllowThreads(__tstate
);
24718 if (PyErr_Occurred()) SWIG_fail
;
24720 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPageSetupDialogData
, SWIG_POINTER_NEW
| 0 );
24727 SWIGINTERN PyObject
*_wrap_new_PageSetupDialogData__SWIG_2(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
24728 PyObject
*resultobj
= 0;
24729 wxPrintData
*arg1
= 0 ;
24730 wxPageSetupDialogData
*result
= 0 ;
24734 if ((nobjs
< 1) || (nobjs
> 1)) SWIG_fail
;
24735 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
, SWIGTYPE_p_wxPrintData
, 0 | 0);
24736 if (!SWIG_IsOK(res1
)) {
24737 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PageSetupDialogData" "', expected argument " "1"" of type '" "wxPrintData const &""'");
24740 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_PageSetupDialogData" "', expected argument " "1"" of type '" "wxPrintData const &""'");
24742 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
24744 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24745 result
= (wxPageSetupDialogData
*)new wxPageSetupDialogData((wxPrintData
const &)*arg1
);
24746 wxPyEndAllowThreads(__tstate
);
24747 if (PyErr_Occurred()) SWIG_fail
;
24749 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPageSetupDialogData
, SWIG_POINTER_NEW
| 0 );
24756 SWIGINTERN PyObject
*_wrap_new_PageSetupDialogData(PyObject
*self
, PyObject
*args
) {
24760 if (!(argc
= SWIG_Python_UnpackTuple(args
,"new_PageSetupDialogData",0,1,argv
))) SWIG_fail
;
24763 return _wrap_new_PageSetupDialogData__SWIG_0(self
, argc
, argv
);
24768 int res
= SWIG_ConvertPtr(argv
[0], 0, SWIGTYPE_p_wxPageSetupDialogData
, 0);
24769 _v
= SWIG_CheckState(res
);
24771 if (!_v
) goto check_2
;
24772 return _wrap_new_PageSetupDialogData__SWIG_1(self
, argc
, argv
);
24777 return _wrap_new_PageSetupDialogData__SWIG_2(self
, argc
, argv
);
24781 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'new_PageSetupDialogData'");
24786 SWIGINTERN PyObject
*_wrap_delete_PageSetupDialogData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24787 PyObject
*resultobj
= 0;
24788 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
24791 PyObject
*swig_obj
[1] ;
24793 if (!args
) SWIG_fail
;
24794 swig_obj
[0] = args
;
24795 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, SWIG_POINTER_DISOWN
| 0 );
24796 if (!SWIG_IsOK(res1
)) {
24797 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_PageSetupDialogData" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
24799 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
24801 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24804 wxPyEndAllowThreads(__tstate
);
24805 if (PyErr_Occurred()) SWIG_fail
;
24807 resultobj
= SWIG_Py_Void();
24814 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_EnableHelp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24815 PyObject
*resultobj
= 0;
24816 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
24822 PyObject
* obj0
= 0 ;
24823 PyObject
* obj1
= 0 ;
24824 char * kwnames
[] = {
24825 (char *) "self",(char *) "flag", NULL
24828 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_EnableHelp",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24829 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
24830 if (!SWIG_IsOK(res1
)) {
24831 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_EnableHelp" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
24833 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
24834 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
24835 if (!SWIG_IsOK(ecode2
)) {
24836 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PageSetupDialogData_EnableHelp" "', expected argument " "2"" of type '" "bool""'");
24838 arg2
= static_cast< bool >(val2
);
24840 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24841 (arg1
)->EnableHelp(arg2
);
24842 wxPyEndAllowThreads(__tstate
);
24843 if (PyErr_Occurred()) SWIG_fail
;
24845 resultobj
= SWIG_Py_Void();
24852 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_EnableMargins(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24853 PyObject
*resultobj
= 0;
24854 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
24860 PyObject
* obj0
= 0 ;
24861 PyObject
* obj1
= 0 ;
24862 char * kwnames
[] = {
24863 (char *) "self",(char *) "flag", NULL
24866 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_EnableMargins",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24867 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
24868 if (!SWIG_IsOK(res1
)) {
24869 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_EnableMargins" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
24871 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
24872 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
24873 if (!SWIG_IsOK(ecode2
)) {
24874 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PageSetupDialogData_EnableMargins" "', expected argument " "2"" of type '" "bool""'");
24876 arg2
= static_cast< bool >(val2
);
24878 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24879 (arg1
)->EnableMargins(arg2
);
24880 wxPyEndAllowThreads(__tstate
);
24881 if (PyErr_Occurred()) SWIG_fail
;
24883 resultobj
= SWIG_Py_Void();
24890 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_EnableOrientation(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24891 PyObject
*resultobj
= 0;
24892 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
24898 PyObject
* obj0
= 0 ;
24899 PyObject
* obj1
= 0 ;
24900 char * kwnames
[] = {
24901 (char *) "self",(char *) "flag", NULL
24904 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_EnableOrientation",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24905 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
24906 if (!SWIG_IsOK(res1
)) {
24907 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_EnableOrientation" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
24909 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
24910 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
24911 if (!SWIG_IsOK(ecode2
)) {
24912 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PageSetupDialogData_EnableOrientation" "', expected argument " "2"" of type '" "bool""'");
24914 arg2
= static_cast< bool >(val2
);
24916 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24917 (arg1
)->EnableOrientation(arg2
);
24918 wxPyEndAllowThreads(__tstate
);
24919 if (PyErr_Occurred()) SWIG_fail
;
24921 resultobj
= SWIG_Py_Void();
24928 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_EnablePaper(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24929 PyObject
*resultobj
= 0;
24930 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
24936 PyObject
* obj0
= 0 ;
24937 PyObject
* obj1
= 0 ;
24938 char * kwnames
[] = {
24939 (char *) "self",(char *) "flag", NULL
24942 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_EnablePaper",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24943 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
24944 if (!SWIG_IsOK(res1
)) {
24945 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_EnablePaper" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
24947 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
24948 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
24949 if (!SWIG_IsOK(ecode2
)) {
24950 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PageSetupDialogData_EnablePaper" "', expected argument " "2"" of type '" "bool""'");
24952 arg2
= static_cast< bool >(val2
);
24954 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24955 (arg1
)->EnablePaper(arg2
);
24956 wxPyEndAllowThreads(__tstate
);
24957 if (PyErr_Occurred()) SWIG_fail
;
24959 resultobj
= SWIG_Py_Void();
24966 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_EnablePrinter(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24967 PyObject
*resultobj
= 0;
24968 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
24974 PyObject
* obj0
= 0 ;
24975 PyObject
* obj1
= 0 ;
24976 char * kwnames
[] = {
24977 (char *) "self",(char *) "flag", NULL
24980 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_EnablePrinter",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24981 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
24982 if (!SWIG_IsOK(res1
)) {
24983 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_EnablePrinter" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
24985 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
24986 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
24987 if (!SWIG_IsOK(ecode2
)) {
24988 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PageSetupDialogData_EnablePrinter" "', expected argument " "2"" of type '" "bool""'");
24990 arg2
= static_cast< bool >(val2
);
24992 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24993 (arg1
)->EnablePrinter(arg2
);
24994 wxPyEndAllowThreads(__tstate
);
24995 if (PyErr_Occurred()) SWIG_fail
;
24997 resultobj
= SWIG_Py_Void();
25004 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_GetDefaultMinMargins(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25005 PyObject
*resultobj
= 0;
25006 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
25010 PyObject
*swig_obj
[1] ;
25012 if (!args
) SWIG_fail
;
25013 swig_obj
[0] = args
;
25014 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
25015 if (!SWIG_IsOK(res1
)) {
25016 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_GetDefaultMinMargins" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25018 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
25020 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25021 result
= (bool)(arg1
)->GetDefaultMinMargins();
25022 wxPyEndAllowThreads(__tstate
);
25023 if (PyErr_Occurred()) SWIG_fail
;
25026 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25034 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_GetEnableMargins(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25035 PyObject
*resultobj
= 0;
25036 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
25040 PyObject
*swig_obj
[1] ;
25042 if (!args
) SWIG_fail
;
25043 swig_obj
[0] = args
;
25044 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
25045 if (!SWIG_IsOK(res1
)) {
25046 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_GetEnableMargins" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25048 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
25050 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25051 result
= (bool)(arg1
)->GetEnableMargins();
25052 wxPyEndAllowThreads(__tstate
);
25053 if (PyErr_Occurred()) SWIG_fail
;
25056 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25064 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_GetEnableOrientation(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25065 PyObject
*resultobj
= 0;
25066 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
25070 PyObject
*swig_obj
[1] ;
25072 if (!args
) SWIG_fail
;
25073 swig_obj
[0] = args
;
25074 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
25075 if (!SWIG_IsOK(res1
)) {
25076 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_GetEnableOrientation" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25078 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
25080 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25081 result
= (bool)(arg1
)->GetEnableOrientation();
25082 wxPyEndAllowThreads(__tstate
);
25083 if (PyErr_Occurred()) SWIG_fail
;
25086 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25094 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_GetEnablePaper(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25095 PyObject
*resultobj
= 0;
25096 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
25100 PyObject
*swig_obj
[1] ;
25102 if (!args
) SWIG_fail
;
25103 swig_obj
[0] = args
;
25104 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
25105 if (!SWIG_IsOK(res1
)) {
25106 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_GetEnablePaper" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25108 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
25110 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25111 result
= (bool)(arg1
)->GetEnablePaper();
25112 wxPyEndAllowThreads(__tstate
);
25113 if (PyErr_Occurred()) SWIG_fail
;
25116 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25124 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_GetEnablePrinter(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25125 PyObject
*resultobj
= 0;
25126 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
25130 PyObject
*swig_obj
[1] ;
25132 if (!args
) SWIG_fail
;
25133 swig_obj
[0] = args
;
25134 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
25135 if (!SWIG_IsOK(res1
)) {
25136 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_GetEnablePrinter" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25138 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
25140 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25141 result
= (bool)(arg1
)->GetEnablePrinter();
25142 wxPyEndAllowThreads(__tstate
);
25143 if (PyErr_Occurred()) SWIG_fail
;
25146 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25154 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_GetEnableHelp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25155 PyObject
*resultobj
= 0;
25156 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
25160 PyObject
*swig_obj
[1] ;
25162 if (!args
) SWIG_fail
;
25163 swig_obj
[0] = args
;
25164 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
25165 if (!SWIG_IsOK(res1
)) {
25166 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_GetEnableHelp" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25168 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
25170 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25171 result
= (bool)(arg1
)->GetEnableHelp();
25172 wxPyEndAllowThreads(__tstate
);
25173 if (PyErr_Occurred()) SWIG_fail
;
25176 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25184 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_GetDefaultInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25185 PyObject
*resultobj
= 0;
25186 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
25190 PyObject
*swig_obj
[1] ;
25192 if (!args
) SWIG_fail
;
25193 swig_obj
[0] = args
;
25194 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
25195 if (!SWIG_IsOK(res1
)) {
25196 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_GetDefaultInfo" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25198 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
25200 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25201 result
= (bool)(arg1
)->GetDefaultInfo();
25202 wxPyEndAllowThreads(__tstate
);
25203 if (PyErr_Occurred()) SWIG_fail
;
25206 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25214 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_GetMarginTopLeft(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25215 PyObject
*resultobj
= 0;
25216 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
25220 PyObject
*swig_obj
[1] ;
25222 if (!args
) SWIG_fail
;
25223 swig_obj
[0] = args
;
25224 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
25225 if (!SWIG_IsOK(res1
)) {
25226 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_GetMarginTopLeft" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25228 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
25230 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25231 result
= (arg1
)->GetMarginTopLeft();
25232 wxPyEndAllowThreads(__tstate
);
25233 if (PyErr_Occurred()) SWIG_fail
;
25235 resultobj
= SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint
& >(result
))), SWIGTYPE_p_wxPoint
, SWIG_POINTER_OWN
| 0 );
25242 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_GetMarginBottomRight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25243 PyObject
*resultobj
= 0;
25244 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
25248 PyObject
*swig_obj
[1] ;
25250 if (!args
) SWIG_fail
;
25251 swig_obj
[0] = args
;
25252 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
25253 if (!SWIG_IsOK(res1
)) {
25254 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_GetMarginBottomRight" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25256 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
25258 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25259 result
= (arg1
)->GetMarginBottomRight();
25260 wxPyEndAllowThreads(__tstate
);
25261 if (PyErr_Occurred()) SWIG_fail
;
25263 resultobj
= SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint
& >(result
))), SWIGTYPE_p_wxPoint
, SWIG_POINTER_OWN
| 0 );
25270 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_GetMinMarginTopLeft(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25271 PyObject
*resultobj
= 0;
25272 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
25276 PyObject
*swig_obj
[1] ;
25278 if (!args
) SWIG_fail
;
25279 swig_obj
[0] = args
;
25280 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
25281 if (!SWIG_IsOK(res1
)) {
25282 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_GetMinMarginTopLeft" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25284 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
25286 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25287 result
= (arg1
)->GetMinMarginTopLeft();
25288 wxPyEndAllowThreads(__tstate
);
25289 if (PyErr_Occurred()) SWIG_fail
;
25291 resultobj
= SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint
& >(result
))), SWIGTYPE_p_wxPoint
, SWIG_POINTER_OWN
| 0 );
25298 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_GetMinMarginBottomRight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25299 PyObject
*resultobj
= 0;
25300 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
25304 PyObject
*swig_obj
[1] ;
25306 if (!args
) SWIG_fail
;
25307 swig_obj
[0] = args
;
25308 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
25309 if (!SWIG_IsOK(res1
)) {
25310 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_GetMinMarginBottomRight" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25312 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
25314 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25315 result
= (arg1
)->GetMinMarginBottomRight();
25316 wxPyEndAllowThreads(__tstate
);
25317 if (PyErr_Occurred()) SWIG_fail
;
25319 resultobj
= SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint
& >(result
))), SWIGTYPE_p_wxPoint
, SWIG_POINTER_OWN
| 0 );
25326 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_GetPaperId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25327 PyObject
*resultobj
= 0;
25328 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
25329 wxPaperSize result
;
25332 PyObject
*swig_obj
[1] ;
25334 if (!args
) SWIG_fail
;
25335 swig_obj
[0] = args
;
25336 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
25337 if (!SWIG_IsOK(res1
)) {
25338 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_GetPaperId" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25340 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
25342 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25343 result
= (wxPaperSize
)(arg1
)->GetPaperId();
25344 wxPyEndAllowThreads(__tstate
);
25345 if (PyErr_Occurred()) SWIG_fail
;
25347 resultobj
= SWIG_From_int(static_cast< int >(result
));
25354 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_GetPaperSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25355 PyObject
*resultobj
= 0;
25356 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
25360 PyObject
*swig_obj
[1] ;
25362 if (!args
) SWIG_fail
;
25363 swig_obj
[0] = args
;
25364 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
25365 if (!SWIG_IsOK(res1
)) {
25366 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_GetPaperSize" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25368 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
25370 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25371 result
= (arg1
)->GetPaperSize();
25372 wxPyEndAllowThreads(__tstate
);
25373 if (PyErr_Occurred()) SWIG_fail
;
25375 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
25382 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_GetPrintData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25383 PyObject
*resultobj
= 0;
25384 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
25385 wxPrintData
*result
= 0 ;
25388 PyObject
*swig_obj
[1] ;
25390 if (!args
) SWIG_fail
;
25391 swig_obj
[0] = args
;
25392 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
25393 if (!SWIG_IsOK(res1
)) {
25394 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_GetPrintData" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25396 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
25398 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25400 wxPrintData
&_result_ref
= (arg1
)->GetPrintData();
25401 result
= (wxPrintData
*) &_result_ref
;
25403 wxPyEndAllowThreads(__tstate
);
25404 if (PyErr_Occurred()) SWIG_fail
;
25406 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPrintData
, 0 | 0 );
25413 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_Ok(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25414 PyObject
*resultobj
= 0;
25415 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
25419 PyObject
*swig_obj
[1] ;
25421 if (!args
) SWIG_fail
;
25422 swig_obj
[0] = args
;
25423 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
25424 if (!SWIG_IsOK(res1
)) {
25425 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_Ok" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25427 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
25429 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25430 result
= (bool)(arg1
)->Ok();
25431 wxPyEndAllowThreads(__tstate
);
25432 if (PyErr_Occurred()) SWIG_fail
;
25435 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25443 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_SetDefaultInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25444 PyObject
*resultobj
= 0;
25445 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
25451 PyObject
* obj0
= 0 ;
25452 PyObject
* obj1
= 0 ;
25453 char * kwnames
[] = {
25454 (char *) "self",(char *) "flag", NULL
25457 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_SetDefaultInfo",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25458 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
25459 if (!SWIG_IsOK(res1
)) {
25460 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_SetDefaultInfo" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25462 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
25463 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
25464 if (!SWIG_IsOK(ecode2
)) {
25465 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PageSetupDialogData_SetDefaultInfo" "', expected argument " "2"" of type '" "bool""'");
25467 arg2
= static_cast< bool >(val2
);
25469 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25470 (arg1
)->SetDefaultInfo(arg2
);
25471 wxPyEndAllowThreads(__tstate
);
25472 if (PyErr_Occurred()) SWIG_fail
;
25474 resultobj
= SWIG_Py_Void();
25481 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_SetDefaultMinMargins(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25482 PyObject
*resultobj
= 0;
25483 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
25489 PyObject
* obj0
= 0 ;
25490 PyObject
* obj1
= 0 ;
25491 char * kwnames
[] = {
25492 (char *) "self",(char *) "flag", NULL
25495 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_SetDefaultMinMargins",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25496 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
25497 if (!SWIG_IsOK(res1
)) {
25498 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_SetDefaultMinMargins" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25500 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
25501 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
25502 if (!SWIG_IsOK(ecode2
)) {
25503 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PageSetupDialogData_SetDefaultMinMargins" "', expected argument " "2"" of type '" "bool""'");
25505 arg2
= static_cast< bool >(val2
);
25507 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25508 (arg1
)->SetDefaultMinMargins(arg2
);
25509 wxPyEndAllowThreads(__tstate
);
25510 if (PyErr_Occurred()) SWIG_fail
;
25512 resultobj
= SWIG_Py_Void();
25519 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_SetMarginTopLeft(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25520 PyObject
*resultobj
= 0;
25521 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
25522 wxPoint
*arg2
= 0 ;
25526 PyObject
* obj0
= 0 ;
25527 PyObject
* obj1
= 0 ;
25528 char * kwnames
[] = {
25529 (char *) "self",(char *) "pt", NULL
25532 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_SetMarginTopLeft",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25533 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
25534 if (!SWIG_IsOK(res1
)) {
25535 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_SetMarginTopLeft" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25537 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
25540 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
25543 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25544 (arg1
)->SetMarginTopLeft((wxPoint
const &)*arg2
);
25545 wxPyEndAllowThreads(__tstate
);
25546 if (PyErr_Occurred()) SWIG_fail
;
25548 resultobj
= SWIG_Py_Void();
25555 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_SetMarginBottomRight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25556 PyObject
*resultobj
= 0;
25557 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
25558 wxPoint
*arg2
= 0 ;
25562 PyObject
* obj0
= 0 ;
25563 PyObject
* obj1
= 0 ;
25564 char * kwnames
[] = {
25565 (char *) "self",(char *) "pt", NULL
25568 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_SetMarginBottomRight",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25569 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
25570 if (!SWIG_IsOK(res1
)) {
25571 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_SetMarginBottomRight" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25573 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
25576 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
25579 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25580 (arg1
)->SetMarginBottomRight((wxPoint
const &)*arg2
);
25581 wxPyEndAllowThreads(__tstate
);
25582 if (PyErr_Occurred()) SWIG_fail
;
25584 resultobj
= SWIG_Py_Void();
25591 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_SetMinMarginTopLeft(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25592 PyObject
*resultobj
= 0;
25593 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
25594 wxPoint
*arg2
= 0 ;
25598 PyObject
* obj0
= 0 ;
25599 PyObject
* obj1
= 0 ;
25600 char * kwnames
[] = {
25601 (char *) "self",(char *) "pt", NULL
25604 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_SetMinMarginTopLeft",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25605 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
25606 if (!SWIG_IsOK(res1
)) {
25607 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_SetMinMarginTopLeft" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25609 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
25612 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
25615 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25616 (arg1
)->SetMinMarginTopLeft((wxPoint
const &)*arg2
);
25617 wxPyEndAllowThreads(__tstate
);
25618 if (PyErr_Occurred()) SWIG_fail
;
25620 resultobj
= SWIG_Py_Void();
25627 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_SetMinMarginBottomRight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25628 PyObject
*resultobj
= 0;
25629 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
25630 wxPoint
*arg2
= 0 ;
25634 PyObject
* obj0
= 0 ;
25635 PyObject
* obj1
= 0 ;
25636 char * kwnames
[] = {
25637 (char *) "self",(char *) "pt", NULL
25640 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_SetMinMarginBottomRight",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25641 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
25642 if (!SWIG_IsOK(res1
)) {
25643 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_SetMinMarginBottomRight" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25645 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
25648 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
25651 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25652 (arg1
)->SetMinMarginBottomRight((wxPoint
const &)*arg2
);
25653 wxPyEndAllowThreads(__tstate
);
25654 if (PyErr_Occurred()) SWIG_fail
;
25656 resultobj
= SWIG_Py_Void();
25663 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_SetPaperId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25664 PyObject
*resultobj
= 0;
25665 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
25671 PyObject
* obj0
= 0 ;
25672 PyObject
* obj1
= 0 ;
25673 char * kwnames
[] = {
25674 (char *) "self",(char *) "id", NULL
25677 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_SetPaperId",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25678 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
25679 if (!SWIG_IsOK(res1
)) {
25680 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_SetPaperId" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25682 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
25683 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
25684 if (!SWIG_IsOK(ecode2
)) {
25685 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PageSetupDialogData_SetPaperId" "', expected argument " "2"" of type '" "wxPaperSize""'");
25687 arg2
= static_cast< wxPaperSize
>(val2
);
25689 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25690 (arg1
)->SetPaperId(arg2
);
25691 wxPyEndAllowThreads(__tstate
);
25692 if (PyErr_Occurred()) SWIG_fail
;
25694 resultobj
= SWIG_Py_Void();
25701 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_SetPaperSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25702 PyObject
*resultobj
= 0;
25703 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
25708 PyObject
* obj0
= 0 ;
25709 PyObject
* obj1
= 0 ;
25710 char * kwnames
[] = {
25711 (char *) "self",(char *) "size", NULL
25714 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_SetPaperSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25715 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
25716 if (!SWIG_IsOK(res1
)) {
25717 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_SetPaperSize" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25719 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
25722 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
25725 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25726 (arg1
)->SetPaperSize((wxSize
const &)*arg2
);
25727 wxPyEndAllowThreads(__tstate
);
25728 if (PyErr_Occurred()) SWIG_fail
;
25730 resultobj
= SWIG_Py_Void();
25737 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_SetPrintData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25738 PyObject
*resultobj
= 0;
25739 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
25740 wxPrintData
*arg2
= 0 ;
25745 PyObject
* obj0
= 0 ;
25746 PyObject
* obj1
= 0 ;
25747 char * kwnames
[] = {
25748 (char *) "self",(char *) "printData", NULL
25751 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_SetPrintData",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25752 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
25753 if (!SWIG_IsOK(res1
)) {
25754 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_SetPrintData" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25756 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
25757 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxPrintData
, 0 | 0);
25758 if (!SWIG_IsOK(res2
)) {
25759 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PageSetupDialogData_SetPrintData" "', expected argument " "2"" of type '" "wxPrintData const &""'");
25762 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "PageSetupDialogData_SetPrintData" "', expected argument " "2"" of type '" "wxPrintData const &""'");
25764 arg2
= reinterpret_cast< wxPrintData
* >(argp2
);
25766 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25767 (arg1
)->SetPrintData((wxPrintData
const &)*arg2
);
25768 wxPyEndAllowThreads(__tstate
);
25769 if (PyErr_Occurred()) SWIG_fail
;
25771 resultobj
= SWIG_Py_Void();
25778 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_CalculateIdFromPaperSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25779 PyObject
*resultobj
= 0;
25780 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
25783 PyObject
*swig_obj
[1] ;
25785 if (!args
) SWIG_fail
;
25786 swig_obj
[0] = args
;
25787 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
25788 if (!SWIG_IsOK(res1
)) {
25789 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_CalculateIdFromPaperSize" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25791 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
25793 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25794 (arg1
)->CalculateIdFromPaperSize();
25795 wxPyEndAllowThreads(__tstate
);
25796 if (PyErr_Occurred()) SWIG_fail
;
25798 resultobj
= SWIG_Py_Void();
25805 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_CalculatePaperSizeFromId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25806 PyObject
*resultobj
= 0;
25807 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
25810 PyObject
*swig_obj
[1] ;
25812 if (!args
) SWIG_fail
;
25813 swig_obj
[0] = args
;
25814 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
25815 if (!SWIG_IsOK(res1
)) {
25816 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_CalculatePaperSizeFromId" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25818 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
25820 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25821 (arg1
)->CalculatePaperSizeFromId();
25822 wxPyEndAllowThreads(__tstate
);
25823 if (PyErr_Occurred()) SWIG_fail
;
25825 resultobj
= SWIG_Py_Void();
25832 SWIGINTERN PyObject
*PageSetupDialogData_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25834 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
25835 SWIG_TypeNewClientData(SWIGTYPE_p_wxPageSetupDialogData
, SWIG_NewClientData(obj
));
25836 return SWIG_Py_Void();
25839 SWIGINTERN PyObject
*PageSetupDialogData_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25840 return SWIG_Python_InitShadowInstance(args
);
25843 SWIGINTERN PyObject
*_wrap_new_PageSetupDialog(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25844 PyObject
*resultobj
= 0;
25845 wxWindow
*arg1
= (wxWindow
*) 0 ;
25846 wxPageSetupDialogData
*arg2
= (wxPageSetupDialogData
*) NULL
;
25847 wxPageSetupDialog
*result
= 0 ;
25852 PyObject
* obj0
= 0 ;
25853 PyObject
* obj1
= 0 ;
25854 char * kwnames
[] = {
25855 (char *) "parent",(char *) "data", NULL
25858 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_PageSetupDialog",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25859 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
25860 if (!SWIG_IsOK(res1
)) {
25861 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PageSetupDialog" "', expected argument " "1"" of type '" "wxWindow *""'");
25863 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
25865 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
25866 if (!SWIG_IsOK(res2
)) {
25867 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_PageSetupDialog" "', expected argument " "2"" of type '" "wxPageSetupDialogData *""'");
25869 arg2
= reinterpret_cast< wxPageSetupDialogData
* >(argp2
);
25872 if (!wxPyCheckForApp()) SWIG_fail
;
25873 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25874 result
= (wxPageSetupDialog
*)new wxPageSetupDialog(arg1
,arg2
);
25875 wxPyEndAllowThreads(__tstate
);
25876 if (PyErr_Occurred()) SWIG_fail
;
25878 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPageSetupDialog
, SWIG_POINTER_NEW
| 0 );
25885 SWIGINTERN PyObject
*_wrap_delete_PageSetupDialog(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25886 PyObject
*resultobj
= 0;
25887 wxPageSetupDialog
*arg1
= (wxPageSetupDialog
*) 0 ;
25890 PyObject
*swig_obj
[1] ;
25892 if (!args
) SWIG_fail
;
25893 swig_obj
[0] = args
;
25894 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPageSetupDialog
, SWIG_POINTER_DISOWN
| 0 );
25895 if (!SWIG_IsOK(res1
)) {
25896 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_PageSetupDialog" "', expected argument " "1"" of type '" "wxPageSetupDialog *""'");
25898 arg1
= reinterpret_cast< wxPageSetupDialog
* >(argp1
);
25900 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25903 wxPyEndAllowThreads(__tstate
);
25904 if (PyErr_Occurred()) SWIG_fail
;
25906 resultobj
= SWIG_Py_Void();
25913 SWIGINTERN PyObject
*_wrap_PageSetupDialog_GetPageSetupData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25914 PyObject
*resultobj
= 0;
25915 wxPageSetupDialog
*arg1
= (wxPageSetupDialog
*) 0 ;
25916 wxPageSetupDialogData
*result
= 0 ;
25919 PyObject
*swig_obj
[1] ;
25921 if (!args
) SWIG_fail
;
25922 swig_obj
[0] = args
;
25923 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPageSetupDialog
, 0 | 0 );
25924 if (!SWIG_IsOK(res1
)) {
25925 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialog_GetPageSetupData" "', expected argument " "1"" of type '" "wxPageSetupDialog *""'");
25927 arg1
= reinterpret_cast< wxPageSetupDialog
* >(argp1
);
25929 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25931 wxPageSetupDialogData
&_result_ref
= (arg1
)->GetPageSetupData();
25932 result
= (wxPageSetupDialogData
*) &_result_ref
;
25934 wxPyEndAllowThreads(__tstate
);
25935 if (PyErr_Occurred()) SWIG_fail
;
25937 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
25944 SWIGINTERN PyObject
*_wrap_PageSetupDialog_GetPageSetupDialogData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25945 PyObject
*resultobj
= 0;
25946 wxPageSetupDialog
*arg1
= (wxPageSetupDialog
*) 0 ;
25947 wxPageSetupDialogData
*result
= 0 ;
25950 PyObject
*swig_obj
[1] ;
25952 if (!args
) SWIG_fail
;
25953 swig_obj
[0] = args
;
25954 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPageSetupDialog
, 0 | 0 );
25955 if (!SWIG_IsOK(res1
)) {
25956 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialog_GetPageSetupDialogData" "', expected argument " "1"" of type '" "wxPageSetupDialog *""'");
25958 arg1
= reinterpret_cast< wxPageSetupDialog
* >(argp1
);
25960 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25962 wxPageSetupDialogData
&_result_ref
= (arg1
)->GetPageSetupDialogData();
25963 result
= (wxPageSetupDialogData
*) &_result_ref
;
25965 wxPyEndAllowThreads(__tstate
);
25966 if (PyErr_Occurred()) SWIG_fail
;
25968 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
25975 SWIGINTERN PyObject
*_wrap_PageSetupDialog_ShowModal(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25976 PyObject
*resultobj
= 0;
25977 wxPageSetupDialog
*arg1
= (wxPageSetupDialog
*) 0 ;
25981 PyObject
*swig_obj
[1] ;
25983 if (!args
) SWIG_fail
;
25984 swig_obj
[0] = args
;
25985 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPageSetupDialog
, 0 | 0 );
25986 if (!SWIG_IsOK(res1
)) {
25987 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialog_ShowModal" "', expected argument " "1"" of type '" "wxPageSetupDialog *""'");
25989 arg1
= reinterpret_cast< wxPageSetupDialog
* >(argp1
);
25991 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25992 result
= (int)(arg1
)->ShowModal();
25993 wxPyEndAllowThreads(__tstate
);
25994 if (PyErr_Occurred()) SWIG_fail
;
25996 resultobj
= SWIG_From_int(static_cast< int >(result
));
26003 SWIGINTERN PyObject
*PageSetupDialog_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26005 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
26006 SWIG_TypeNewClientData(SWIGTYPE_p_wxPageSetupDialog
, SWIG_NewClientData(obj
));
26007 return SWIG_Py_Void();
26010 SWIGINTERN PyObject
*PageSetupDialog_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26011 return SWIG_Python_InitShadowInstance(args
);
26014 SWIGINTERN PyObject
*_wrap_new_PrintDialogData__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**SWIGUNUSEDPARM(swig_obj
)) {
26015 PyObject
*resultobj
= 0;
26016 wxPrintDialogData
*result
= 0 ;
26018 if ((nobjs
< 0) || (nobjs
> 0)) SWIG_fail
;
26020 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26021 result
= (wxPrintDialogData
*)new wxPrintDialogData();
26022 wxPyEndAllowThreads(__tstate
);
26023 if (PyErr_Occurred()) SWIG_fail
;
26025 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPrintDialogData
, SWIG_POINTER_NEW
| 0 );
26032 SWIGINTERN PyObject
*_wrap_new_PrintDialogData__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
26033 PyObject
*resultobj
= 0;
26034 wxPrintData
*arg1
= 0 ;
26035 wxPrintDialogData
*result
= 0 ;
26039 if ((nobjs
< 1) || (nobjs
> 1)) SWIG_fail
;
26040 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
, SWIGTYPE_p_wxPrintData
, 0 | 0);
26041 if (!SWIG_IsOK(res1
)) {
26042 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PrintDialogData" "', expected argument " "1"" of type '" "wxPrintData const &""'");
26045 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_PrintDialogData" "', expected argument " "1"" of type '" "wxPrintData const &""'");
26047 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
26049 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26050 result
= (wxPrintDialogData
*)new wxPrintDialogData((wxPrintData
const &)*arg1
);
26051 wxPyEndAllowThreads(__tstate
);
26052 if (PyErr_Occurred()) SWIG_fail
;
26054 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPrintDialogData
, SWIG_POINTER_NEW
| 0 );
26061 SWIGINTERN PyObject
*_wrap_new_PrintDialogData__SWIG_2(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
26062 PyObject
*resultobj
= 0;
26063 wxPrintDialogData
*arg1
= 0 ;
26064 wxPrintDialogData
*result
= 0 ;
26068 if ((nobjs
< 1) || (nobjs
> 1)) SWIG_fail
;
26069 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
, SWIGTYPE_p_wxPrintDialogData
, 0 | 0);
26070 if (!SWIG_IsOK(res1
)) {
26071 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PrintDialogData" "', expected argument " "1"" of type '" "wxPrintDialogData const &""'");
26074 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_PrintDialogData" "', expected argument " "1"" of type '" "wxPrintDialogData const &""'");
26076 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
26078 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26079 result
= (wxPrintDialogData
*)new wxPrintDialogData((wxPrintDialogData
const &)*arg1
);
26080 wxPyEndAllowThreads(__tstate
);
26081 if (PyErr_Occurred()) SWIG_fail
;
26083 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPrintDialogData
, SWIG_POINTER_NEW
| 0 );
26090 SWIGINTERN PyObject
*_wrap_new_PrintDialogData(PyObject
*self
, PyObject
*args
) {
26094 if (!(argc
= SWIG_Python_UnpackTuple(args
,"new_PrintDialogData",0,1,argv
))) SWIG_fail
;
26097 return _wrap_new_PrintDialogData__SWIG_0(self
, argc
, argv
);
26102 int res
= SWIG_ConvertPtr(argv
[0], 0, SWIGTYPE_p_wxPrintData
, 0);
26103 _v
= SWIG_CheckState(res
);
26105 if (!_v
) goto check_2
;
26106 return _wrap_new_PrintDialogData__SWIG_1(self
, argc
, argv
);
26111 return _wrap_new_PrintDialogData__SWIG_2(self
, argc
, argv
);
26115 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'new_PrintDialogData'");
26120 SWIGINTERN PyObject
*_wrap_delete_PrintDialogData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26121 PyObject
*resultobj
= 0;
26122 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
26125 PyObject
*swig_obj
[1] ;
26127 if (!args
) SWIG_fail
;
26128 swig_obj
[0] = args
;
26129 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintDialogData
, SWIG_POINTER_DISOWN
| 0 );
26130 if (!SWIG_IsOK(res1
)) {
26131 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_PrintDialogData" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
26133 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
26135 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26138 wxPyEndAllowThreads(__tstate
);
26139 if (PyErr_Occurred()) SWIG_fail
;
26141 resultobj
= SWIG_Py_Void();
26148 SWIGINTERN PyObject
*_wrap_PrintDialogData_GetFromPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26149 PyObject
*resultobj
= 0;
26150 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
26154 PyObject
*swig_obj
[1] ;
26156 if (!args
) SWIG_fail
;
26157 swig_obj
[0] = args
;
26158 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
26159 if (!SWIG_IsOK(res1
)) {
26160 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_GetFromPage" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
26162 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
26164 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26165 result
= (int)((wxPrintDialogData
const *)arg1
)->GetFromPage();
26166 wxPyEndAllowThreads(__tstate
);
26167 if (PyErr_Occurred()) SWIG_fail
;
26169 resultobj
= SWIG_From_int(static_cast< int >(result
));
26176 SWIGINTERN PyObject
*_wrap_PrintDialogData_GetToPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26177 PyObject
*resultobj
= 0;
26178 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
26182 PyObject
*swig_obj
[1] ;
26184 if (!args
) SWIG_fail
;
26185 swig_obj
[0] = args
;
26186 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
26187 if (!SWIG_IsOK(res1
)) {
26188 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_GetToPage" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
26190 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
26192 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26193 result
= (int)((wxPrintDialogData
const *)arg1
)->GetToPage();
26194 wxPyEndAllowThreads(__tstate
);
26195 if (PyErr_Occurred()) SWIG_fail
;
26197 resultobj
= SWIG_From_int(static_cast< int >(result
));
26204 SWIGINTERN PyObject
*_wrap_PrintDialogData_GetMinPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26205 PyObject
*resultobj
= 0;
26206 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
26210 PyObject
*swig_obj
[1] ;
26212 if (!args
) SWIG_fail
;
26213 swig_obj
[0] = args
;
26214 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
26215 if (!SWIG_IsOK(res1
)) {
26216 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_GetMinPage" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
26218 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
26220 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26221 result
= (int)((wxPrintDialogData
const *)arg1
)->GetMinPage();
26222 wxPyEndAllowThreads(__tstate
);
26223 if (PyErr_Occurred()) SWIG_fail
;
26225 resultobj
= SWIG_From_int(static_cast< int >(result
));
26232 SWIGINTERN PyObject
*_wrap_PrintDialogData_GetMaxPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26233 PyObject
*resultobj
= 0;
26234 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
26238 PyObject
*swig_obj
[1] ;
26240 if (!args
) SWIG_fail
;
26241 swig_obj
[0] = args
;
26242 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
26243 if (!SWIG_IsOK(res1
)) {
26244 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_GetMaxPage" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
26246 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
26248 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26249 result
= (int)((wxPrintDialogData
const *)arg1
)->GetMaxPage();
26250 wxPyEndAllowThreads(__tstate
);
26251 if (PyErr_Occurred()) SWIG_fail
;
26253 resultobj
= SWIG_From_int(static_cast< int >(result
));
26260 SWIGINTERN PyObject
*_wrap_PrintDialogData_GetNoCopies(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26261 PyObject
*resultobj
= 0;
26262 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
26266 PyObject
*swig_obj
[1] ;
26268 if (!args
) SWIG_fail
;
26269 swig_obj
[0] = args
;
26270 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
26271 if (!SWIG_IsOK(res1
)) {
26272 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_GetNoCopies" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
26274 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
26276 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26277 result
= (int)((wxPrintDialogData
const *)arg1
)->GetNoCopies();
26278 wxPyEndAllowThreads(__tstate
);
26279 if (PyErr_Occurred()) SWIG_fail
;
26281 resultobj
= SWIG_From_int(static_cast< int >(result
));
26288 SWIGINTERN PyObject
*_wrap_PrintDialogData_GetAllPages(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26289 PyObject
*resultobj
= 0;
26290 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
26294 PyObject
*swig_obj
[1] ;
26296 if (!args
) SWIG_fail
;
26297 swig_obj
[0] = args
;
26298 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
26299 if (!SWIG_IsOK(res1
)) {
26300 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_GetAllPages" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
26302 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
26304 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26305 result
= (bool)((wxPrintDialogData
const *)arg1
)->GetAllPages();
26306 wxPyEndAllowThreads(__tstate
);
26307 if (PyErr_Occurred()) SWIG_fail
;
26310 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26318 SWIGINTERN PyObject
*_wrap_PrintDialogData_GetSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26319 PyObject
*resultobj
= 0;
26320 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
26324 PyObject
*swig_obj
[1] ;
26326 if (!args
) SWIG_fail
;
26327 swig_obj
[0] = args
;
26328 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
26329 if (!SWIG_IsOK(res1
)) {
26330 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_GetSelection" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
26332 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
26334 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26335 result
= (bool)((wxPrintDialogData
const *)arg1
)->GetSelection();
26336 wxPyEndAllowThreads(__tstate
);
26337 if (PyErr_Occurred()) SWIG_fail
;
26340 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26348 SWIGINTERN PyObject
*_wrap_PrintDialogData_GetCollate(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26349 PyObject
*resultobj
= 0;
26350 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
26354 PyObject
*swig_obj
[1] ;
26356 if (!args
) SWIG_fail
;
26357 swig_obj
[0] = args
;
26358 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
26359 if (!SWIG_IsOK(res1
)) {
26360 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_GetCollate" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
26362 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
26364 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26365 result
= (bool)((wxPrintDialogData
const *)arg1
)->GetCollate();
26366 wxPyEndAllowThreads(__tstate
);
26367 if (PyErr_Occurred()) SWIG_fail
;
26370 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26378 SWIGINTERN PyObject
*_wrap_PrintDialogData_GetPrintToFile(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26379 PyObject
*resultobj
= 0;
26380 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
26384 PyObject
*swig_obj
[1] ;
26386 if (!args
) SWIG_fail
;
26387 swig_obj
[0] = args
;
26388 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
26389 if (!SWIG_IsOK(res1
)) {
26390 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_GetPrintToFile" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
26392 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
26394 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26395 result
= (bool)((wxPrintDialogData
const *)arg1
)->GetPrintToFile();
26396 wxPyEndAllowThreads(__tstate
);
26397 if (PyErr_Occurred()) SWIG_fail
;
26400 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26408 SWIGINTERN PyObject
*_wrap_PrintDialogData_SetFromPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26409 PyObject
*resultobj
= 0;
26410 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
26416 PyObject
* obj0
= 0 ;
26417 PyObject
* obj1
= 0 ;
26418 char * kwnames
[] = {
26419 (char *) "self",(char *) "v", NULL
26422 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetFromPage",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26423 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
26424 if (!SWIG_IsOK(res1
)) {
26425 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_SetFromPage" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
26427 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
26428 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
26429 if (!SWIG_IsOK(ecode2
)) {
26430 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintDialogData_SetFromPage" "', expected argument " "2"" of type '" "int""'");
26432 arg2
= static_cast< int >(val2
);
26434 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26435 (arg1
)->SetFromPage(arg2
);
26436 wxPyEndAllowThreads(__tstate
);
26437 if (PyErr_Occurred()) SWIG_fail
;
26439 resultobj
= SWIG_Py_Void();
26446 SWIGINTERN PyObject
*_wrap_PrintDialogData_SetToPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26447 PyObject
*resultobj
= 0;
26448 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
26454 PyObject
* obj0
= 0 ;
26455 PyObject
* obj1
= 0 ;
26456 char * kwnames
[] = {
26457 (char *) "self",(char *) "v", NULL
26460 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetToPage",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26461 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
26462 if (!SWIG_IsOK(res1
)) {
26463 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_SetToPage" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
26465 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
26466 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
26467 if (!SWIG_IsOK(ecode2
)) {
26468 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintDialogData_SetToPage" "', expected argument " "2"" of type '" "int""'");
26470 arg2
= static_cast< int >(val2
);
26472 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26473 (arg1
)->SetToPage(arg2
);
26474 wxPyEndAllowThreads(__tstate
);
26475 if (PyErr_Occurred()) SWIG_fail
;
26477 resultobj
= SWIG_Py_Void();
26484 SWIGINTERN PyObject
*_wrap_PrintDialogData_SetMinPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26485 PyObject
*resultobj
= 0;
26486 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
26492 PyObject
* obj0
= 0 ;
26493 PyObject
* obj1
= 0 ;
26494 char * kwnames
[] = {
26495 (char *) "self",(char *) "v", NULL
26498 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetMinPage",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26499 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
26500 if (!SWIG_IsOK(res1
)) {
26501 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_SetMinPage" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
26503 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
26504 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
26505 if (!SWIG_IsOK(ecode2
)) {
26506 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintDialogData_SetMinPage" "', expected argument " "2"" of type '" "int""'");
26508 arg2
= static_cast< int >(val2
);
26510 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26511 (arg1
)->SetMinPage(arg2
);
26512 wxPyEndAllowThreads(__tstate
);
26513 if (PyErr_Occurred()) SWIG_fail
;
26515 resultobj
= SWIG_Py_Void();
26522 SWIGINTERN PyObject
*_wrap_PrintDialogData_SetMaxPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26523 PyObject
*resultobj
= 0;
26524 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
26530 PyObject
* obj0
= 0 ;
26531 PyObject
* obj1
= 0 ;
26532 char * kwnames
[] = {
26533 (char *) "self",(char *) "v", NULL
26536 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetMaxPage",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26537 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
26538 if (!SWIG_IsOK(res1
)) {
26539 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_SetMaxPage" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
26541 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
26542 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
26543 if (!SWIG_IsOK(ecode2
)) {
26544 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintDialogData_SetMaxPage" "', expected argument " "2"" of type '" "int""'");
26546 arg2
= static_cast< int >(val2
);
26548 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26549 (arg1
)->SetMaxPage(arg2
);
26550 wxPyEndAllowThreads(__tstate
);
26551 if (PyErr_Occurred()) SWIG_fail
;
26553 resultobj
= SWIG_Py_Void();
26560 SWIGINTERN PyObject
*_wrap_PrintDialogData_SetNoCopies(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26561 PyObject
*resultobj
= 0;
26562 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
26568 PyObject
* obj0
= 0 ;
26569 PyObject
* obj1
= 0 ;
26570 char * kwnames
[] = {
26571 (char *) "self",(char *) "v", NULL
26574 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetNoCopies",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26575 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
26576 if (!SWIG_IsOK(res1
)) {
26577 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_SetNoCopies" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
26579 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
26580 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
26581 if (!SWIG_IsOK(ecode2
)) {
26582 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintDialogData_SetNoCopies" "', expected argument " "2"" of type '" "int""'");
26584 arg2
= static_cast< int >(val2
);
26586 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26587 (arg1
)->SetNoCopies(arg2
);
26588 wxPyEndAllowThreads(__tstate
);
26589 if (PyErr_Occurred()) SWIG_fail
;
26591 resultobj
= SWIG_Py_Void();
26598 SWIGINTERN PyObject
*_wrap_PrintDialogData_SetAllPages(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26599 PyObject
*resultobj
= 0;
26600 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
26606 PyObject
* obj0
= 0 ;
26607 PyObject
* obj1
= 0 ;
26608 char * kwnames
[] = {
26609 (char *) "self",(char *) "flag", NULL
26612 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetAllPages",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26613 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
26614 if (!SWIG_IsOK(res1
)) {
26615 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_SetAllPages" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
26617 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
26618 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
26619 if (!SWIG_IsOK(ecode2
)) {
26620 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintDialogData_SetAllPages" "', expected argument " "2"" of type '" "bool""'");
26622 arg2
= static_cast< bool >(val2
);
26624 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26625 (arg1
)->SetAllPages(arg2
);
26626 wxPyEndAllowThreads(__tstate
);
26627 if (PyErr_Occurred()) SWIG_fail
;
26629 resultobj
= SWIG_Py_Void();
26636 SWIGINTERN PyObject
*_wrap_PrintDialogData_SetSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26637 PyObject
*resultobj
= 0;
26638 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
26644 PyObject
* obj0
= 0 ;
26645 PyObject
* obj1
= 0 ;
26646 char * kwnames
[] = {
26647 (char *) "self",(char *) "flag", NULL
26650 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetSelection",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26651 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
26652 if (!SWIG_IsOK(res1
)) {
26653 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_SetSelection" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
26655 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
26656 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
26657 if (!SWIG_IsOK(ecode2
)) {
26658 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintDialogData_SetSelection" "', expected argument " "2"" of type '" "bool""'");
26660 arg2
= static_cast< bool >(val2
);
26662 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26663 (arg1
)->SetSelection(arg2
);
26664 wxPyEndAllowThreads(__tstate
);
26665 if (PyErr_Occurred()) SWIG_fail
;
26667 resultobj
= SWIG_Py_Void();
26674 SWIGINTERN PyObject
*_wrap_PrintDialogData_SetCollate(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26675 PyObject
*resultobj
= 0;
26676 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
26682 PyObject
* obj0
= 0 ;
26683 PyObject
* obj1
= 0 ;
26684 char * kwnames
[] = {
26685 (char *) "self",(char *) "flag", NULL
26688 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetCollate",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26689 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
26690 if (!SWIG_IsOK(res1
)) {
26691 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_SetCollate" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
26693 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
26694 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
26695 if (!SWIG_IsOK(ecode2
)) {
26696 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintDialogData_SetCollate" "', expected argument " "2"" of type '" "bool""'");
26698 arg2
= static_cast< bool >(val2
);
26700 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26701 (arg1
)->SetCollate(arg2
);
26702 wxPyEndAllowThreads(__tstate
);
26703 if (PyErr_Occurred()) SWIG_fail
;
26705 resultobj
= SWIG_Py_Void();
26712 SWIGINTERN PyObject
*_wrap_PrintDialogData_SetPrintToFile(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26713 PyObject
*resultobj
= 0;
26714 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
26720 PyObject
* obj0
= 0 ;
26721 PyObject
* obj1
= 0 ;
26722 char * kwnames
[] = {
26723 (char *) "self",(char *) "flag", NULL
26726 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetPrintToFile",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26727 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
26728 if (!SWIG_IsOK(res1
)) {
26729 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_SetPrintToFile" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
26731 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
26732 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
26733 if (!SWIG_IsOK(ecode2
)) {
26734 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintDialogData_SetPrintToFile" "', expected argument " "2"" of type '" "bool""'");
26736 arg2
= static_cast< bool >(val2
);
26738 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26739 (arg1
)->SetPrintToFile(arg2
);
26740 wxPyEndAllowThreads(__tstate
);
26741 if (PyErr_Occurred()) SWIG_fail
;
26743 resultobj
= SWIG_Py_Void();
26750 SWIGINTERN PyObject
*_wrap_PrintDialogData_EnablePrintToFile(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26751 PyObject
*resultobj
= 0;
26752 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
26758 PyObject
* obj0
= 0 ;
26759 PyObject
* obj1
= 0 ;
26760 char * kwnames
[] = {
26761 (char *) "self",(char *) "flag", NULL
26764 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_EnablePrintToFile",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26765 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
26766 if (!SWIG_IsOK(res1
)) {
26767 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_EnablePrintToFile" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
26769 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
26770 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
26771 if (!SWIG_IsOK(ecode2
)) {
26772 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintDialogData_EnablePrintToFile" "', expected argument " "2"" of type '" "bool""'");
26774 arg2
= static_cast< bool >(val2
);
26776 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26777 (arg1
)->EnablePrintToFile(arg2
);
26778 wxPyEndAllowThreads(__tstate
);
26779 if (PyErr_Occurred()) SWIG_fail
;
26781 resultobj
= SWIG_Py_Void();
26788 SWIGINTERN PyObject
*_wrap_PrintDialogData_EnableSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26789 PyObject
*resultobj
= 0;
26790 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
26796 PyObject
* obj0
= 0 ;
26797 PyObject
* obj1
= 0 ;
26798 char * kwnames
[] = {
26799 (char *) "self",(char *) "flag", NULL
26802 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_EnableSelection",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26803 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
26804 if (!SWIG_IsOK(res1
)) {
26805 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_EnableSelection" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
26807 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
26808 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
26809 if (!SWIG_IsOK(ecode2
)) {
26810 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintDialogData_EnableSelection" "', expected argument " "2"" of type '" "bool""'");
26812 arg2
= static_cast< bool >(val2
);
26814 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26815 (arg1
)->EnableSelection(arg2
);
26816 wxPyEndAllowThreads(__tstate
);
26817 if (PyErr_Occurred()) SWIG_fail
;
26819 resultobj
= SWIG_Py_Void();
26826 SWIGINTERN PyObject
*_wrap_PrintDialogData_EnablePageNumbers(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26827 PyObject
*resultobj
= 0;
26828 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
26834 PyObject
* obj0
= 0 ;
26835 PyObject
* obj1
= 0 ;
26836 char * kwnames
[] = {
26837 (char *) "self",(char *) "flag", NULL
26840 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_EnablePageNumbers",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26841 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
26842 if (!SWIG_IsOK(res1
)) {
26843 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_EnablePageNumbers" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
26845 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
26846 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
26847 if (!SWIG_IsOK(ecode2
)) {
26848 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintDialogData_EnablePageNumbers" "', expected argument " "2"" of type '" "bool""'");
26850 arg2
= static_cast< bool >(val2
);
26852 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26853 (arg1
)->EnablePageNumbers(arg2
);
26854 wxPyEndAllowThreads(__tstate
);
26855 if (PyErr_Occurred()) SWIG_fail
;
26857 resultobj
= SWIG_Py_Void();
26864 SWIGINTERN PyObject
*_wrap_PrintDialogData_EnableHelp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26865 PyObject
*resultobj
= 0;
26866 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
26872 PyObject
* obj0
= 0 ;
26873 PyObject
* obj1
= 0 ;
26874 char * kwnames
[] = {
26875 (char *) "self",(char *) "flag", NULL
26878 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_EnableHelp",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26879 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
26880 if (!SWIG_IsOK(res1
)) {
26881 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_EnableHelp" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
26883 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
26884 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
26885 if (!SWIG_IsOK(ecode2
)) {
26886 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintDialogData_EnableHelp" "', expected argument " "2"" of type '" "bool""'");
26888 arg2
= static_cast< bool >(val2
);
26890 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26891 (arg1
)->EnableHelp(arg2
);
26892 wxPyEndAllowThreads(__tstate
);
26893 if (PyErr_Occurred()) SWIG_fail
;
26895 resultobj
= SWIG_Py_Void();
26902 SWIGINTERN PyObject
*_wrap_PrintDialogData_GetEnablePrintToFile(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26903 PyObject
*resultobj
= 0;
26904 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
26908 PyObject
*swig_obj
[1] ;
26910 if (!args
) SWIG_fail
;
26911 swig_obj
[0] = args
;
26912 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
26913 if (!SWIG_IsOK(res1
)) {
26914 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_GetEnablePrintToFile" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
26916 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
26918 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26919 result
= (bool)((wxPrintDialogData
const *)arg1
)->GetEnablePrintToFile();
26920 wxPyEndAllowThreads(__tstate
);
26921 if (PyErr_Occurred()) SWIG_fail
;
26924 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26932 SWIGINTERN PyObject
*_wrap_PrintDialogData_GetEnableSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26933 PyObject
*resultobj
= 0;
26934 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
26938 PyObject
*swig_obj
[1] ;
26940 if (!args
) SWIG_fail
;
26941 swig_obj
[0] = args
;
26942 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
26943 if (!SWIG_IsOK(res1
)) {
26944 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_GetEnableSelection" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
26946 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
26948 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26949 result
= (bool)((wxPrintDialogData
const *)arg1
)->GetEnableSelection();
26950 wxPyEndAllowThreads(__tstate
);
26951 if (PyErr_Occurred()) SWIG_fail
;
26954 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26962 SWIGINTERN PyObject
*_wrap_PrintDialogData_GetEnablePageNumbers(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26963 PyObject
*resultobj
= 0;
26964 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
26968 PyObject
*swig_obj
[1] ;
26970 if (!args
) SWIG_fail
;
26971 swig_obj
[0] = args
;
26972 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
26973 if (!SWIG_IsOK(res1
)) {
26974 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_GetEnablePageNumbers" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
26976 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
26978 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26979 result
= (bool)((wxPrintDialogData
const *)arg1
)->GetEnablePageNumbers();
26980 wxPyEndAllowThreads(__tstate
);
26981 if (PyErr_Occurred()) SWIG_fail
;
26984 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26992 SWIGINTERN PyObject
*_wrap_PrintDialogData_GetEnableHelp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26993 PyObject
*resultobj
= 0;
26994 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
26998 PyObject
*swig_obj
[1] ;
27000 if (!args
) SWIG_fail
;
27001 swig_obj
[0] = args
;
27002 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
27003 if (!SWIG_IsOK(res1
)) {
27004 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_GetEnableHelp" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
27006 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
27008 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27009 result
= (bool)((wxPrintDialogData
const *)arg1
)->GetEnableHelp();
27010 wxPyEndAllowThreads(__tstate
);
27011 if (PyErr_Occurred()) SWIG_fail
;
27014 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27022 SWIGINTERN PyObject
*_wrap_PrintDialogData_Ok(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27023 PyObject
*resultobj
= 0;
27024 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
27028 PyObject
*swig_obj
[1] ;
27030 if (!args
) SWIG_fail
;
27031 swig_obj
[0] = args
;
27032 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
27033 if (!SWIG_IsOK(res1
)) {
27034 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_Ok" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
27036 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
27038 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27039 result
= (bool)((wxPrintDialogData
const *)arg1
)->Ok();
27040 wxPyEndAllowThreads(__tstate
);
27041 if (PyErr_Occurred()) SWIG_fail
;
27044 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27052 SWIGINTERN PyObject
*_wrap_PrintDialogData_GetPrintData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27053 PyObject
*resultobj
= 0;
27054 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
27055 wxPrintData
*result
= 0 ;
27058 PyObject
*swig_obj
[1] ;
27060 if (!args
) SWIG_fail
;
27061 swig_obj
[0] = args
;
27062 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
27063 if (!SWIG_IsOK(res1
)) {
27064 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_GetPrintData" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
27066 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
27068 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27070 wxPrintData
&_result_ref
= (arg1
)->GetPrintData();
27071 result
= (wxPrintData
*) &_result_ref
;
27073 wxPyEndAllowThreads(__tstate
);
27074 if (PyErr_Occurred()) SWIG_fail
;
27076 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPrintData
, 0 | 0 );
27083 SWIGINTERN PyObject
*_wrap_PrintDialogData_SetPrintData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27084 PyObject
*resultobj
= 0;
27085 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
27086 wxPrintData
*arg2
= 0 ;
27091 PyObject
* obj0
= 0 ;
27092 PyObject
* obj1
= 0 ;
27093 char * kwnames
[] = {
27094 (char *) "self",(char *) "printData", NULL
27097 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetPrintData",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
27098 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
27099 if (!SWIG_IsOK(res1
)) {
27100 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_SetPrintData" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
27102 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
27103 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxPrintData
, 0 | 0);
27104 if (!SWIG_IsOK(res2
)) {
27105 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PrintDialogData_SetPrintData" "', expected argument " "2"" of type '" "wxPrintData const &""'");
27108 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "PrintDialogData_SetPrintData" "', expected argument " "2"" of type '" "wxPrintData const &""'");
27110 arg2
= reinterpret_cast< wxPrintData
* >(argp2
);
27112 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27113 (arg1
)->SetPrintData((wxPrintData
const &)*arg2
);
27114 wxPyEndAllowThreads(__tstate
);
27115 if (PyErr_Occurred()) SWIG_fail
;
27117 resultobj
= SWIG_Py_Void();
27124 SWIGINTERN PyObject
*PrintDialogData_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27126 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
27127 SWIG_TypeNewClientData(SWIGTYPE_p_wxPrintDialogData
, SWIG_NewClientData(obj
));
27128 return SWIG_Py_Void();
27131 SWIGINTERN PyObject
*PrintDialogData_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27132 return SWIG_Python_InitShadowInstance(args
);
27135 SWIGINTERN PyObject
*_wrap_new_PrintDialog(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27136 PyObject
*resultobj
= 0;
27137 wxWindow
*arg1
= (wxWindow
*) 0 ;
27138 wxPrintDialogData
*arg2
= (wxPrintDialogData
*) NULL
;
27139 wxPrintDialog
*result
= 0 ;
27144 PyObject
* obj0
= 0 ;
27145 PyObject
* obj1
= 0 ;
27146 char * kwnames
[] = {
27147 (char *) "parent",(char *) "data", NULL
27150 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_PrintDialog",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
27151 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
27152 if (!SWIG_IsOK(res1
)) {
27153 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PrintDialog" "', expected argument " "1"" of type '" "wxWindow *""'");
27155 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
27157 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
27158 if (!SWIG_IsOK(res2
)) {
27159 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_PrintDialog" "', expected argument " "2"" of type '" "wxPrintDialogData *""'");
27161 arg2
= reinterpret_cast< wxPrintDialogData
* >(argp2
);
27164 if (!wxPyCheckForApp()) SWIG_fail
;
27165 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27166 result
= (wxPrintDialog
*)new wxPrintDialog(arg1
,arg2
);
27167 wxPyEndAllowThreads(__tstate
);
27168 if (PyErr_Occurred()) SWIG_fail
;
27170 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPrintDialog
, SWIG_POINTER_NEW
| 0 );
27177 SWIGINTERN PyObject
*_wrap_delete_PrintDialog(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27178 PyObject
*resultobj
= 0;
27179 wxPrintDialog
*arg1
= (wxPrintDialog
*) 0 ;
27182 PyObject
*swig_obj
[1] ;
27184 if (!args
) SWIG_fail
;
27185 swig_obj
[0] = args
;
27186 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintDialog
, SWIG_POINTER_DISOWN
| 0 );
27187 if (!SWIG_IsOK(res1
)) {
27188 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_PrintDialog" "', expected argument " "1"" of type '" "wxPrintDialog *""'");
27190 arg1
= reinterpret_cast< wxPrintDialog
* >(argp1
);
27192 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27195 wxPyEndAllowThreads(__tstate
);
27196 if (PyErr_Occurred()) SWIG_fail
;
27198 resultobj
= SWIG_Py_Void();
27205 SWIGINTERN PyObject
*_wrap_PrintDialog_ShowModal(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27206 PyObject
*resultobj
= 0;
27207 wxPrintDialog
*arg1
= (wxPrintDialog
*) 0 ;
27211 PyObject
*swig_obj
[1] ;
27213 if (!args
) SWIG_fail
;
27214 swig_obj
[0] = args
;
27215 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintDialog
, 0 | 0 );
27216 if (!SWIG_IsOK(res1
)) {
27217 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialog_ShowModal" "', expected argument " "1"" of type '" "wxPrintDialog *""'");
27219 arg1
= reinterpret_cast< wxPrintDialog
* >(argp1
);
27221 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27222 result
= (int)(arg1
)->ShowModal();
27223 wxPyEndAllowThreads(__tstate
);
27224 if (PyErr_Occurred()) SWIG_fail
;
27226 resultobj
= SWIG_From_int(static_cast< int >(result
));
27233 SWIGINTERN PyObject
*_wrap_PrintDialog_GetPrintDialogData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27234 PyObject
*resultobj
= 0;
27235 wxPrintDialog
*arg1
= (wxPrintDialog
*) 0 ;
27236 wxPrintDialogData
*result
= 0 ;
27239 PyObject
*swig_obj
[1] ;
27241 if (!args
) SWIG_fail
;
27242 swig_obj
[0] = args
;
27243 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintDialog
, 0 | 0 );
27244 if (!SWIG_IsOK(res1
)) {
27245 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialog_GetPrintDialogData" "', expected argument " "1"" of type '" "wxPrintDialog *""'");
27247 arg1
= reinterpret_cast< wxPrintDialog
* >(argp1
);
27249 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27251 wxPrintDialogData
&_result_ref
= (arg1
)->GetPrintDialogData();
27252 result
= (wxPrintDialogData
*) &_result_ref
;
27254 wxPyEndAllowThreads(__tstate
);
27255 if (PyErr_Occurred()) SWIG_fail
;
27257 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
27264 SWIGINTERN PyObject
*_wrap_PrintDialog_GetPrintData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27265 PyObject
*resultobj
= 0;
27266 wxPrintDialog
*arg1
= (wxPrintDialog
*) 0 ;
27267 wxPrintData
*result
= 0 ;
27270 PyObject
*swig_obj
[1] ;
27272 if (!args
) SWIG_fail
;
27273 swig_obj
[0] = args
;
27274 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintDialog
, 0 | 0 );
27275 if (!SWIG_IsOK(res1
)) {
27276 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialog_GetPrintData" "', expected argument " "1"" of type '" "wxPrintDialog *""'");
27278 arg1
= reinterpret_cast< wxPrintDialog
* >(argp1
);
27280 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27282 wxPrintData
&_result_ref
= (arg1
)->GetPrintData();
27283 result
= (wxPrintData
*) &_result_ref
;
27285 wxPyEndAllowThreads(__tstate
);
27286 if (PyErr_Occurred()) SWIG_fail
;
27288 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPrintData
, 0 | 0 );
27295 SWIGINTERN PyObject
*_wrap_PrintDialog_GetPrintDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27296 PyObject
*resultobj
= 0;
27297 wxPrintDialog
*arg1
= (wxPrintDialog
*) 0 ;
27301 PyObject
*swig_obj
[1] ;
27303 if (!args
) SWIG_fail
;
27304 swig_obj
[0] = args
;
27305 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintDialog
, 0 | 0 );
27306 if (!SWIG_IsOK(res1
)) {
27307 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialog_GetPrintDC" "', expected argument " "1"" of type '" "wxPrintDialog *""'");
27309 arg1
= reinterpret_cast< wxPrintDialog
* >(argp1
);
27311 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27312 result
= (wxDC
*)(arg1
)->GetPrintDC();
27313 wxPyEndAllowThreads(__tstate
);
27314 if (PyErr_Occurred()) SWIG_fail
;
27317 resultobj
= wxPyMake_wxObject(result
, (bool)SWIG_POINTER_OWN
);
27325 SWIGINTERN PyObject
*PrintDialog_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27327 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
27328 SWIG_TypeNewClientData(SWIGTYPE_p_wxPrintDialog
, SWIG_NewClientData(obj
));
27329 return SWIG_Py_Void();
27332 SWIGINTERN PyObject
*PrintDialog_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27333 return SWIG_Python_InitShadowInstance(args
);
27336 SWIGINTERN PyObject
*_wrap_new_Printer(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27337 PyObject
*resultobj
= 0;
27338 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) NULL
;
27339 wxPrinter
*result
= 0 ;
27342 PyObject
* obj0
= 0 ;
27343 char * kwnames
[] = {
27344 (char *) "data", NULL
27347 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_Printer",kwnames
,&obj0
)) SWIG_fail
;
27349 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
27350 if (!SWIG_IsOK(res1
)) {
27351 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_Printer" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
27353 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
27356 if (!wxPyCheckForApp()) SWIG_fail
;
27357 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27358 result
= (wxPrinter
*)new wxPrinter(arg1
);
27359 wxPyEndAllowThreads(__tstate
);
27360 if (PyErr_Occurred()) SWIG_fail
;
27362 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPrinter
, SWIG_POINTER_NEW
| 0 );
27369 SWIGINTERN PyObject
*_wrap_delete_Printer(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27370 PyObject
*resultobj
= 0;
27371 wxPrinter
*arg1
= (wxPrinter
*) 0 ;
27374 PyObject
*swig_obj
[1] ;
27376 if (!args
) SWIG_fail
;
27377 swig_obj
[0] = args
;
27378 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrinter
, SWIG_POINTER_DISOWN
| 0 );
27379 if (!SWIG_IsOK(res1
)) {
27380 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_Printer" "', expected argument " "1"" of type '" "wxPrinter *""'");
27382 arg1
= reinterpret_cast< wxPrinter
* >(argp1
);
27384 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27387 wxPyEndAllowThreads(__tstate
);
27388 if (PyErr_Occurred()) SWIG_fail
;
27390 resultobj
= SWIG_Py_Void();
27397 SWIGINTERN PyObject
*_wrap_Printer_CreateAbortWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27398 PyObject
*resultobj
= 0;
27399 wxPrinter
*arg1
= (wxPrinter
*) 0 ;
27400 wxWindow
*arg2
= (wxWindow
*) 0 ;
27401 wxPyPrintout
*arg3
= (wxPyPrintout
*) 0 ;
27402 wxWindow
*result
= 0 ;
27409 PyObject
* obj0
= 0 ;
27410 PyObject
* obj1
= 0 ;
27411 PyObject
* obj2
= 0 ;
27412 char * kwnames
[] = {
27413 (char *) "self",(char *) "parent",(char *) "printout", NULL
27416 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Printer_CreateAbortWindow",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
27417 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrinter
, 0 | 0 );
27418 if (!SWIG_IsOK(res1
)) {
27419 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printer_CreateAbortWindow" "', expected argument " "1"" of type '" "wxPrinter *""'");
27421 arg1
= reinterpret_cast< wxPrinter
* >(argp1
);
27422 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
27423 if (!SWIG_IsOK(res2
)) {
27424 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Printer_CreateAbortWindow" "', expected argument " "2"" of type '" "wxWindow *""'");
27426 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
27427 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
27428 if (!SWIG_IsOK(res3
)) {
27429 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "Printer_CreateAbortWindow" "', expected argument " "3"" of type '" "wxPyPrintout *""'");
27431 arg3
= reinterpret_cast< wxPyPrintout
* >(argp3
);
27433 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27434 result
= (wxWindow
*)(arg1
)->CreateAbortWindow(arg2
,arg3
);
27435 wxPyEndAllowThreads(__tstate
);
27436 if (PyErr_Occurred()) SWIG_fail
;
27439 resultobj
= wxPyMake_wxObject(result
, 0);
27447 SWIGINTERN PyObject
*_wrap_Printer_ReportError(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27448 PyObject
*resultobj
= 0;
27449 wxPrinter
*arg1
= (wxPrinter
*) 0 ;
27450 wxWindow
*arg2
= (wxWindow
*) 0 ;
27451 wxPyPrintout
*arg3
= (wxPyPrintout
*) 0 ;
27452 wxString
*arg4
= 0 ;
27459 bool temp4
= false ;
27460 PyObject
* obj0
= 0 ;
27461 PyObject
* obj1
= 0 ;
27462 PyObject
* obj2
= 0 ;
27463 PyObject
* obj3
= 0 ;
27464 char * kwnames
[] = {
27465 (char *) "self",(char *) "parent",(char *) "printout",(char *) "message", NULL
27468 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:Printer_ReportError",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
27469 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrinter
, 0 | 0 );
27470 if (!SWIG_IsOK(res1
)) {
27471 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printer_ReportError" "', expected argument " "1"" of type '" "wxPrinter *""'");
27473 arg1
= reinterpret_cast< wxPrinter
* >(argp1
);
27474 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
27475 if (!SWIG_IsOK(res2
)) {
27476 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Printer_ReportError" "', expected argument " "2"" of type '" "wxWindow *""'");
27478 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
27479 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
27480 if (!SWIG_IsOK(res3
)) {
27481 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "Printer_ReportError" "', expected argument " "3"" of type '" "wxPyPrintout *""'");
27483 arg3
= reinterpret_cast< wxPyPrintout
* >(argp3
);
27485 arg4
= wxString_in_helper(obj3
);
27486 if (arg4
== NULL
) SWIG_fail
;
27490 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27491 (arg1
)->ReportError(arg2
,arg3
,(wxString
const &)*arg4
);
27492 wxPyEndAllowThreads(__tstate
);
27493 if (PyErr_Occurred()) SWIG_fail
;
27495 resultobj
= SWIG_Py_Void();
27510 SWIGINTERN PyObject
*_wrap_Printer_Setup(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27511 PyObject
*resultobj
= 0;
27512 wxPrinter
*arg1
= (wxPrinter
*) 0 ;
27513 wxWindow
*arg2
= (wxWindow
*) 0 ;
27519 PyObject
* obj0
= 0 ;
27520 PyObject
* obj1
= 0 ;
27521 char * kwnames
[] = {
27522 (char *) "self",(char *) "parent", NULL
27525 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Printer_Setup",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
27526 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrinter
, 0 | 0 );
27527 if (!SWIG_IsOK(res1
)) {
27528 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printer_Setup" "', expected argument " "1"" of type '" "wxPrinter *""'");
27530 arg1
= reinterpret_cast< wxPrinter
* >(argp1
);
27531 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
27532 if (!SWIG_IsOK(res2
)) {
27533 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Printer_Setup" "', expected argument " "2"" of type '" "wxWindow *""'");
27535 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
27537 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27538 result
= (bool)(arg1
)->Setup(arg2
);
27539 wxPyEndAllowThreads(__tstate
);
27540 if (PyErr_Occurred()) SWIG_fail
;
27543 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27551 SWIGINTERN PyObject
*_wrap_Printer_Print(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27552 PyObject
*resultobj
= 0;
27553 wxPrinter
*arg1
= (wxPrinter
*) 0 ;
27554 wxWindow
*arg2
= (wxWindow
*) 0 ;
27555 wxPyPrintout
*arg3
= (wxPyPrintout
*) 0 ;
27556 bool arg4
= (bool) true ;
27566 PyObject
* obj0
= 0 ;
27567 PyObject
* obj1
= 0 ;
27568 PyObject
* obj2
= 0 ;
27569 PyObject
* obj3
= 0 ;
27570 char * kwnames
[] = {
27571 (char *) "self",(char *) "parent",(char *) "printout",(char *) "prompt", NULL
27574 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Printer_Print",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
27575 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrinter
, 0 | 0 );
27576 if (!SWIG_IsOK(res1
)) {
27577 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printer_Print" "', expected argument " "1"" of type '" "wxPrinter *""'");
27579 arg1
= reinterpret_cast< wxPrinter
* >(argp1
);
27580 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
27581 if (!SWIG_IsOK(res2
)) {
27582 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Printer_Print" "', expected argument " "2"" of type '" "wxWindow *""'");
27584 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
27585 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
27586 if (!SWIG_IsOK(res3
)) {
27587 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "Printer_Print" "', expected argument " "3"" of type '" "wxPyPrintout *""'");
27589 arg3
= reinterpret_cast< wxPyPrintout
* >(argp3
);
27591 ecode4
= SWIG_AsVal_bool(obj3
, &val4
);
27592 if (!SWIG_IsOK(ecode4
)) {
27593 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Printer_Print" "', expected argument " "4"" of type '" "bool""'");
27595 arg4
= static_cast< bool >(val4
);
27598 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27599 result
= (bool)(arg1
)->Print(arg2
,arg3
,arg4
);
27600 wxPyEndAllowThreads(__tstate
);
27601 if (PyErr_Occurred()) SWIG_fail
;
27604 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27612 SWIGINTERN PyObject
*_wrap_Printer_PrintDialog(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27613 PyObject
*resultobj
= 0;
27614 wxPrinter
*arg1
= (wxPrinter
*) 0 ;
27615 wxWindow
*arg2
= (wxWindow
*) 0 ;
27621 PyObject
* obj0
= 0 ;
27622 PyObject
* obj1
= 0 ;
27623 char * kwnames
[] = {
27624 (char *) "self",(char *) "parent", NULL
27627 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Printer_PrintDialog",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
27628 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrinter
, 0 | 0 );
27629 if (!SWIG_IsOK(res1
)) {
27630 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printer_PrintDialog" "', expected argument " "1"" of type '" "wxPrinter *""'");
27632 arg1
= reinterpret_cast< wxPrinter
* >(argp1
);
27633 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
27634 if (!SWIG_IsOK(res2
)) {
27635 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Printer_PrintDialog" "', expected argument " "2"" of type '" "wxWindow *""'");
27637 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
27639 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27640 result
= (wxDC
*)(arg1
)->PrintDialog(arg2
);
27641 wxPyEndAllowThreads(__tstate
);
27642 if (PyErr_Occurred()) SWIG_fail
;
27645 resultobj
= wxPyMake_wxObject(result
, (bool)0);
27653 SWIGINTERN PyObject
*_wrap_Printer_GetPrintDialogData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27654 PyObject
*resultobj
= 0;
27655 wxPrinter
*arg1
= (wxPrinter
*) 0 ;
27656 wxPrintDialogData
*result
= 0 ;
27659 PyObject
*swig_obj
[1] ;
27661 if (!args
) SWIG_fail
;
27662 swig_obj
[0] = args
;
27663 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrinter
, 0 | 0 );
27664 if (!SWIG_IsOK(res1
)) {
27665 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printer_GetPrintDialogData" "', expected argument " "1"" of type '" "wxPrinter const *""'");
27667 arg1
= reinterpret_cast< wxPrinter
* >(argp1
);
27669 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27671 wxPrintDialogData
&_result_ref
= ((wxPrinter
const *)arg1
)->GetPrintDialogData();
27672 result
= (wxPrintDialogData
*) &_result_ref
;
27674 wxPyEndAllowThreads(__tstate
);
27675 if (PyErr_Occurred()) SWIG_fail
;
27677 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
27684 SWIGINTERN PyObject
*_wrap_Printer_GetAbort(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27685 PyObject
*resultobj
= 0;
27686 wxPrinter
*arg1
= (wxPrinter
*) 0 ;
27690 PyObject
*swig_obj
[1] ;
27692 if (!args
) SWIG_fail
;
27693 swig_obj
[0] = args
;
27694 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrinter
, 0 | 0 );
27695 if (!SWIG_IsOK(res1
)) {
27696 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printer_GetAbort" "', expected argument " "1"" of type '" "wxPrinter *""'");
27698 arg1
= reinterpret_cast< wxPrinter
* >(argp1
);
27700 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27701 result
= (bool)(arg1
)->GetAbort();
27702 wxPyEndAllowThreads(__tstate
);
27703 if (PyErr_Occurred()) SWIG_fail
;
27706 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27714 SWIGINTERN PyObject
*_wrap_Printer_GetLastError(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27715 PyObject
*resultobj
= 0;
27716 wxPrinterError result
;
27718 if (!SWIG_Python_UnpackTuple(args
,"Printer_GetLastError",0,0,0)) SWIG_fail
;
27720 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27721 result
= (wxPrinterError
)wxPrinter::GetLastError();
27722 wxPyEndAllowThreads(__tstate
);
27723 if (PyErr_Occurred()) SWIG_fail
;
27725 resultobj
= SWIG_From_int(static_cast< int >(result
));
27732 SWIGINTERN PyObject
*Printer_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27734 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
27735 SWIG_TypeNewClientData(SWIGTYPE_p_wxPrinter
, SWIG_NewClientData(obj
));
27736 return SWIG_Py_Void();
27739 SWIGINTERN PyObject
*Printer_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27740 return SWIG_Python_InitShadowInstance(args
);
27743 SWIGINTERN PyObject
*_wrap_new_Printout(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27744 PyObject
*resultobj
= 0;
27745 wxString
const &arg1_defvalue
= wxPyPrintoutTitleStr
;
27746 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
27747 wxPyPrintout
*result
= 0 ;
27748 bool temp1
= false ;
27749 PyObject
* obj0
= 0 ;
27750 char * kwnames
[] = {
27751 (char *) "title", NULL
27754 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_Printout",kwnames
,&obj0
)) SWIG_fail
;
27757 arg1
= wxString_in_helper(obj0
);
27758 if (arg1
== NULL
) SWIG_fail
;
27763 if (!wxPyCheckForApp()) SWIG_fail
;
27764 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27765 result
= (wxPyPrintout
*)new wxPyPrintout((wxString
const &)*arg1
);
27766 wxPyEndAllowThreads(__tstate
);
27767 if (PyErr_Occurred()) SWIG_fail
;
27769 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyPrintout
, SWIG_POINTER_NEW
| 0 );
27784 SWIGINTERN PyObject
*_wrap_delete_Printout(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27785 PyObject
*resultobj
= 0;
27786 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
27789 PyObject
*swig_obj
[1] ;
27791 if (!args
) SWIG_fail
;
27792 swig_obj
[0] = args
;
27793 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPrintout
, SWIG_POINTER_DISOWN
| 0 );
27794 if (!SWIG_IsOK(res1
)) {
27795 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_Printout" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
27797 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
27799 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27802 wxPyEndAllowThreads(__tstate
);
27803 if (PyErr_Occurred()) SWIG_fail
;
27805 resultobj
= SWIG_Py_Void();
27812 SWIGINTERN PyObject
*_wrap_Printout__setCallbackInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27813 PyObject
*resultobj
= 0;
27814 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
27815 PyObject
*arg2
= (PyObject
*) 0 ;
27816 PyObject
*arg3
= (PyObject
*) 0 ;
27819 PyObject
* obj0
= 0 ;
27820 PyObject
* obj1
= 0 ;
27821 PyObject
* obj2
= 0 ;
27822 char * kwnames
[] = {
27823 (char *) "self",(char *) "self",(char *) "_class", NULL
27826 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Printout__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
27827 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
27828 if (!SWIG_IsOK(res1
)) {
27829 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
27831 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
27835 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27836 (arg1
)->_setCallbackInfo(arg2
,arg3
);
27837 wxPyEndAllowThreads(__tstate
);
27838 if (PyErr_Occurred()) SWIG_fail
;
27840 resultobj
= SWIG_Py_Void();
27847 SWIGINTERN PyObject
*_wrap_Printout_GetTitle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27848 PyObject
*resultobj
= 0;
27849 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
27853 PyObject
*swig_obj
[1] ;
27855 if (!args
) SWIG_fail
;
27856 swig_obj
[0] = args
;
27857 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
27858 if (!SWIG_IsOK(res1
)) {
27859 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout_GetTitle" "', expected argument " "1"" of type '" "wxPyPrintout const *""'");
27861 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
27863 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27864 result
= ((wxPyPrintout
const *)arg1
)->GetTitle();
27865 wxPyEndAllowThreads(__tstate
);
27866 if (PyErr_Occurred()) SWIG_fail
;
27870 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
27872 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
27881 SWIGINTERN PyObject
*_wrap_Printout_GetDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27882 PyObject
*resultobj
= 0;
27883 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
27887 PyObject
*swig_obj
[1] ;
27889 if (!args
) SWIG_fail
;
27890 swig_obj
[0] = args
;
27891 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
27892 if (!SWIG_IsOK(res1
)) {
27893 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout_GetDC" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
27895 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
27897 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27898 result
= (wxDC
*)(arg1
)->GetDC();
27899 wxPyEndAllowThreads(__tstate
);
27900 if (PyErr_Occurred()) SWIG_fail
;
27903 resultobj
= wxPyMake_wxObject(result
, (bool)0);
27911 SWIGINTERN PyObject
*_wrap_Printout_SetDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27912 PyObject
*resultobj
= 0;
27913 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
27914 wxDC
*arg2
= (wxDC
*) 0 ;
27919 PyObject
* obj0
= 0 ;
27920 PyObject
* obj1
= 0 ;
27921 char * kwnames
[] = {
27922 (char *) "self",(char *) "dc", NULL
27925 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Printout_SetDC",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
27926 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
27927 if (!SWIG_IsOK(res1
)) {
27928 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout_SetDC" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
27930 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
27931 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxDC
, 0 | 0 );
27932 if (!SWIG_IsOK(res2
)) {
27933 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Printout_SetDC" "', expected argument " "2"" of type '" "wxDC *""'");
27935 arg2
= reinterpret_cast< wxDC
* >(argp2
);
27937 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27938 (arg1
)->SetDC(arg2
);
27939 wxPyEndAllowThreads(__tstate
);
27940 if (PyErr_Occurred()) SWIG_fail
;
27942 resultobj
= SWIG_Py_Void();
27949 SWIGINTERN PyObject
*_wrap_Printout_SetPageSizePixels(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27950 PyObject
*resultobj
= 0;
27951 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
27960 PyObject
* obj0
= 0 ;
27961 PyObject
* obj1
= 0 ;
27962 PyObject
* obj2
= 0 ;
27963 char * kwnames
[] = {
27964 (char *) "self",(char *) "w",(char *) "h", NULL
27967 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Printout_SetPageSizePixels",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
27968 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
27969 if (!SWIG_IsOK(res1
)) {
27970 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout_SetPageSizePixels" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
27972 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
27973 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
27974 if (!SWIG_IsOK(ecode2
)) {
27975 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Printout_SetPageSizePixels" "', expected argument " "2"" of type '" "int""'");
27977 arg2
= static_cast< int >(val2
);
27978 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
27979 if (!SWIG_IsOK(ecode3
)) {
27980 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Printout_SetPageSizePixels" "', expected argument " "3"" of type '" "int""'");
27982 arg3
= static_cast< int >(val3
);
27984 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27985 (arg1
)->SetPageSizePixels(arg2
,arg3
);
27986 wxPyEndAllowThreads(__tstate
);
27987 if (PyErr_Occurred()) SWIG_fail
;
27989 resultobj
= SWIG_Py_Void();
27996 SWIGINTERN PyObject
*_wrap_Printout_GetPageSizePixels(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27997 PyObject
*resultobj
= 0;
27998 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
27999 int *arg2
= (int *) 0 ;
28000 int *arg3
= (int *) 0 ;
28004 int res2
= SWIG_TMPOBJ
;
28006 int res3
= SWIG_TMPOBJ
;
28007 PyObject
*swig_obj
[1] ;
28011 if (!args
) SWIG_fail
;
28012 swig_obj
[0] = args
;
28013 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
28014 if (!SWIG_IsOK(res1
)) {
28015 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout_GetPageSizePixels" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
28017 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
28019 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28020 (arg1
)->GetPageSizePixels(arg2
,arg3
);
28021 wxPyEndAllowThreads(__tstate
);
28022 if (PyErr_Occurred()) SWIG_fail
;
28024 resultobj
= SWIG_Py_Void();
28025 if (SWIG_IsTmpObj(res2
)) {
28026 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
28028 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
28029 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
28031 if (SWIG_IsTmpObj(res3
)) {
28032 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
28034 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
28035 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
28043 SWIGINTERN PyObject
*_wrap_Printout_SetPageSizeMM(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28044 PyObject
*resultobj
= 0;
28045 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
28054 PyObject
* obj0
= 0 ;
28055 PyObject
* obj1
= 0 ;
28056 PyObject
* obj2
= 0 ;
28057 char * kwnames
[] = {
28058 (char *) "self",(char *) "w",(char *) "h", NULL
28061 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Printout_SetPageSizeMM",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
28062 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
28063 if (!SWIG_IsOK(res1
)) {
28064 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout_SetPageSizeMM" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
28066 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
28067 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
28068 if (!SWIG_IsOK(ecode2
)) {
28069 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Printout_SetPageSizeMM" "', expected argument " "2"" of type '" "int""'");
28071 arg2
= static_cast< int >(val2
);
28072 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
28073 if (!SWIG_IsOK(ecode3
)) {
28074 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Printout_SetPageSizeMM" "', expected argument " "3"" of type '" "int""'");
28076 arg3
= static_cast< int >(val3
);
28078 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28079 (arg1
)->SetPageSizeMM(arg2
,arg3
);
28080 wxPyEndAllowThreads(__tstate
);
28081 if (PyErr_Occurred()) SWIG_fail
;
28083 resultobj
= SWIG_Py_Void();
28090 SWIGINTERN PyObject
*_wrap_Printout_GetPageSizeMM(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28091 PyObject
*resultobj
= 0;
28092 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
28093 int *arg2
= (int *) 0 ;
28094 int *arg3
= (int *) 0 ;
28098 int res2
= SWIG_TMPOBJ
;
28100 int res3
= SWIG_TMPOBJ
;
28101 PyObject
*swig_obj
[1] ;
28105 if (!args
) SWIG_fail
;
28106 swig_obj
[0] = args
;
28107 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
28108 if (!SWIG_IsOK(res1
)) {
28109 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout_GetPageSizeMM" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
28111 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
28113 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28114 (arg1
)->GetPageSizeMM(arg2
,arg3
);
28115 wxPyEndAllowThreads(__tstate
);
28116 if (PyErr_Occurred()) SWIG_fail
;
28118 resultobj
= SWIG_Py_Void();
28119 if (SWIG_IsTmpObj(res2
)) {
28120 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
28122 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
28123 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
28125 if (SWIG_IsTmpObj(res3
)) {
28126 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
28128 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
28129 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
28137 SWIGINTERN PyObject
*_wrap_Printout_SetPPIScreen(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28138 PyObject
*resultobj
= 0;
28139 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
28148 PyObject
* obj0
= 0 ;
28149 PyObject
* obj1
= 0 ;
28150 PyObject
* obj2
= 0 ;
28151 char * kwnames
[] = {
28152 (char *) "self",(char *) "x",(char *) "y", NULL
28155 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Printout_SetPPIScreen",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
28156 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
28157 if (!SWIG_IsOK(res1
)) {
28158 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout_SetPPIScreen" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
28160 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
28161 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
28162 if (!SWIG_IsOK(ecode2
)) {
28163 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Printout_SetPPIScreen" "', expected argument " "2"" of type '" "int""'");
28165 arg2
= static_cast< int >(val2
);
28166 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
28167 if (!SWIG_IsOK(ecode3
)) {
28168 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Printout_SetPPIScreen" "', expected argument " "3"" of type '" "int""'");
28170 arg3
= static_cast< int >(val3
);
28172 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28173 (arg1
)->SetPPIScreen(arg2
,arg3
);
28174 wxPyEndAllowThreads(__tstate
);
28175 if (PyErr_Occurred()) SWIG_fail
;
28177 resultobj
= SWIG_Py_Void();
28184 SWIGINTERN PyObject
*_wrap_Printout_GetPPIScreen(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28185 PyObject
*resultobj
= 0;
28186 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
28187 int *arg2
= (int *) 0 ;
28188 int *arg3
= (int *) 0 ;
28192 int res2
= SWIG_TMPOBJ
;
28194 int res3
= SWIG_TMPOBJ
;
28195 PyObject
*swig_obj
[1] ;
28199 if (!args
) SWIG_fail
;
28200 swig_obj
[0] = args
;
28201 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
28202 if (!SWIG_IsOK(res1
)) {
28203 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout_GetPPIScreen" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
28205 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
28207 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28208 (arg1
)->GetPPIScreen(arg2
,arg3
);
28209 wxPyEndAllowThreads(__tstate
);
28210 if (PyErr_Occurred()) SWIG_fail
;
28212 resultobj
= SWIG_Py_Void();
28213 if (SWIG_IsTmpObj(res2
)) {
28214 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
28216 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
28217 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
28219 if (SWIG_IsTmpObj(res3
)) {
28220 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
28222 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
28223 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
28231 SWIGINTERN PyObject
*_wrap_Printout_SetPPIPrinter(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28232 PyObject
*resultobj
= 0;
28233 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
28242 PyObject
* obj0
= 0 ;
28243 PyObject
* obj1
= 0 ;
28244 PyObject
* obj2
= 0 ;
28245 char * kwnames
[] = {
28246 (char *) "self",(char *) "x",(char *) "y", NULL
28249 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Printout_SetPPIPrinter",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
28250 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
28251 if (!SWIG_IsOK(res1
)) {
28252 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout_SetPPIPrinter" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
28254 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
28255 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
28256 if (!SWIG_IsOK(ecode2
)) {
28257 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Printout_SetPPIPrinter" "', expected argument " "2"" of type '" "int""'");
28259 arg2
= static_cast< int >(val2
);
28260 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
28261 if (!SWIG_IsOK(ecode3
)) {
28262 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Printout_SetPPIPrinter" "', expected argument " "3"" of type '" "int""'");
28264 arg3
= static_cast< int >(val3
);
28266 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28267 (arg1
)->SetPPIPrinter(arg2
,arg3
);
28268 wxPyEndAllowThreads(__tstate
);
28269 if (PyErr_Occurred()) SWIG_fail
;
28271 resultobj
= SWIG_Py_Void();
28278 SWIGINTERN PyObject
*_wrap_Printout_GetPPIPrinter(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28279 PyObject
*resultobj
= 0;
28280 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
28281 int *arg2
= (int *) 0 ;
28282 int *arg3
= (int *) 0 ;
28286 int res2
= SWIG_TMPOBJ
;
28288 int res3
= SWIG_TMPOBJ
;
28289 PyObject
*swig_obj
[1] ;
28293 if (!args
) SWIG_fail
;
28294 swig_obj
[0] = args
;
28295 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
28296 if (!SWIG_IsOK(res1
)) {
28297 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout_GetPPIPrinter" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
28299 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
28301 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28302 (arg1
)->GetPPIPrinter(arg2
,arg3
);
28303 wxPyEndAllowThreads(__tstate
);
28304 if (PyErr_Occurred()) SWIG_fail
;
28306 resultobj
= SWIG_Py_Void();
28307 if (SWIG_IsTmpObj(res2
)) {
28308 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
28310 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
28311 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
28313 if (SWIG_IsTmpObj(res3
)) {
28314 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
28316 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
28317 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
28325 SWIGINTERN PyObject
*_wrap_Printout_IsPreview(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28326 PyObject
*resultobj
= 0;
28327 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
28331 PyObject
*swig_obj
[1] ;
28333 if (!args
) SWIG_fail
;
28334 swig_obj
[0] = args
;
28335 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
28336 if (!SWIG_IsOK(res1
)) {
28337 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout_IsPreview" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
28339 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
28341 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28342 result
= (bool)(arg1
)->IsPreview();
28343 wxPyEndAllowThreads(__tstate
);
28344 if (PyErr_Occurred()) SWIG_fail
;
28347 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28355 SWIGINTERN PyObject
*_wrap_Printout_SetIsPreview(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28356 PyObject
*resultobj
= 0;
28357 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
28363 PyObject
* obj0
= 0 ;
28364 PyObject
* obj1
= 0 ;
28365 char * kwnames
[] = {
28366 (char *) "self",(char *) "p", NULL
28369 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Printout_SetIsPreview",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
28370 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
28371 if (!SWIG_IsOK(res1
)) {
28372 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout_SetIsPreview" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
28374 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
28375 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
28376 if (!SWIG_IsOK(ecode2
)) {
28377 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Printout_SetIsPreview" "', expected argument " "2"" of type '" "bool""'");
28379 arg2
= static_cast< bool >(val2
);
28381 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28382 (arg1
)->SetIsPreview(arg2
);
28383 wxPyEndAllowThreads(__tstate
);
28384 if (PyErr_Occurred()) SWIG_fail
;
28386 resultobj
= SWIG_Py_Void();
28393 SWIGINTERN PyObject
*_wrap_Printout_OnBeginDocument(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28394 PyObject
*resultobj
= 0;
28395 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
28405 PyObject
* obj0
= 0 ;
28406 PyObject
* obj1
= 0 ;
28407 PyObject
* obj2
= 0 ;
28408 char * kwnames
[] = {
28409 (char *) "self",(char *) "startPage",(char *) "endPage", NULL
28412 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Printout_OnBeginDocument",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
28413 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
28414 if (!SWIG_IsOK(res1
)) {
28415 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout_OnBeginDocument" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
28417 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
28418 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
28419 if (!SWIG_IsOK(ecode2
)) {
28420 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Printout_OnBeginDocument" "', expected argument " "2"" of type '" "int""'");
28422 arg2
= static_cast< int >(val2
);
28423 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
28424 if (!SWIG_IsOK(ecode3
)) {
28425 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Printout_OnBeginDocument" "', expected argument " "3"" of type '" "int""'");
28427 arg3
= static_cast< int >(val3
);
28429 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28430 result
= (bool)(arg1
)->OnBeginDocument(arg2
,arg3
);
28431 wxPyEndAllowThreads(__tstate
);
28432 if (PyErr_Occurred()) SWIG_fail
;
28435 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28443 SWIGINTERN PyObject
*_wrap_Printout_OnEndDocument(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28444 PyObject
*resultobj
= 0;
28445 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
28448 PyObject
*swig_obj
[1] ;
28450 if (!args
) SWIG_fail
;
28451 swig_obj
[0] = args
;
28452 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
28453 if (!SWIG_IsOK(res1
)) {
28454 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout_OnEndDocument" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
28456 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
28458 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28459 (arg1
)->OnEndDocument();
28460 wxPyEndAllowThreads(__tstate
);
28461 if (PyErr_Occurred()) SWIG_fail
;
28463 resultobj
= SWIG_Py_Void();
28470 SWIGINTERN PyObject
*_wrap_Printout_OnBeginPrinting(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28471 PyObject
*resultobj
= 0;
28472 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
28475 PyObject
*swig_obj
[1] ;
28477 if (!args
) SWIG_fail
;
28478 swig_obj
[0] = args
;
28479 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
28480 if (!SWIG_IsOK(res1
)) {
28481 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout_OnBeginPrinting" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
28483 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
28485 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28486 (arg1
)->OnBeginPrinting();
28487 wxPyEndAllowThreads(__tstate
);
28488 if (PyErr_Occurred()) SWIG_fail
;
28490 resultobj
= SWIG_Py_Void();
28497 SWIGINTERN PyObject
*_wrap_Printout_OnEndPrinting(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28498 PyObject
*resultobj
= 0;
28499 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
28502 PyObject
*swig_obj
[1] ;
28504 if (!args
) SWIG_fail
;
28505 swig_obj
[0] = args
;
28506 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
28507 if (!SWIG_IsOK(res1
)) {
28508 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout_OnEndPrinting" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
28510 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
28512 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28513 (arg1
)->OnEndPrinting();
28514 wxPyEndAllowThreads(__tstate
);
28515 if (PyErr_Occurred()) SWIG_fail
;
28517 resultobj
= SWIG_Py_Void();
28524 SWIGINTERN PyObject
*_wrap_Printout_OnPreparePrinting(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28525 PyObject
*resultobj
= 0;
28526 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
28529 PyObject
*swig_obj
[1] ;
28531 if (!args
) SWIG_fail
;
28532 swig_obj
[0] = args
;
28533 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
28534 if (!SWIG_IsOK(res1
)) {
28535 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout_OnPreparePrinting" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
28537 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
28539 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28540 (arg1
)->OnPreparePrinting();
28541 wxPyEndAllowThreads(__tstate
);
28542 if (PyErr_Occurred()) SWIG_fail
;
28544 resultobj
= SWIG_Py_Void();
28551 SWIGINTERN PyObject
*_wrap_Printout_HasPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28552 PyObject
*resultobj
= 0;
28553 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
28560 PyObject
* obj0
= 0 ;
28561 PyObject
* obj1
= 0 ;
28562 char * kwnames
[] = {
28563 (char *) "self",(char *) "page", NULL
28566 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Printout_HasPage",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
28567 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
28568 if (!SWIG_IsOK(res1
)) {
28569 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout_HasPage" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
28571 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
28572 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
28573 if (!SWIG_IsOK(ecode2
)) {
28574 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Printout_HasPage" "', expected argument " "2"" of type '" "int""'");
28576 arg2
= static_cast< int >(val2
);
28578 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28579 result
= (bool)(arg1
)->HasPage(arg2
);
28580 wxPyEndAllowThreads(__tstate
);
28581 if (PyErr_Occurred()) SWIG_fail
;
28584 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28592 SWIGINTERN PyObject
*_wrap_Printout_GetPageInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28593 PyObject
*resultobj
= 0;
28594 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
28595 int *arg2
= (int *) 0 ;
28596 int *arg3
= (int *) 0 ;
28597 int *arg4
= (int *) 0 ;
28598 int *arg5
= (int *) 0 ;
28602 int res2
= SWIG_TMPOBJ
;
28604 int res3
= SWIG_TMPOBJ
;
28606 int res4
= SWIG_TMPOBJ
;
28608 int res5
= SWIG_TMPOBJ
;
28609 PyObject
*swig_obj
[1] ;
28615 if (!args
) SWIG_fail
;
28616 swig_obj
[0] = args
;
28617 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
28618 if (!SWIG_IsOK(res1
)) {
28619 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout_GetPageInfo" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
28621 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
28623 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28624 (arg1
)->GetPageInfo(arg2
,arg3
,arg4
,arg5
);
28625 wxPyEndAllowThreads(__tstate
);
28626 if (PyErr_Occurred()) SWIG_fail
;
28628 resultobj
= SWIG_Py_Void();
28629 if (SWIG_IsTmpObj(res2
)) {
28630 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
28632 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
28633 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
28635 if (SWIG_IsTmpObj(res3
)) {
28636 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
28638 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
28639 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
28641 if (SWIG_IsTmpObj(res4
)) {
28642 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg4
)));
28644 int new_flags
= SWIG_IsNewObj(res4
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
28645 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_int
, new_flags
));
28647 if (SWIG_IsTmpObj(res5
)) {
28648 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg5
)));
28650 int new_flags
= SWIG_IsNewObj(res5
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
28651 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg5
), SWIGTYPE_p_int
, new_flags
));
28659 SWIGINTERN PyObject
*Printout_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28661 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
28662 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyPrintout
, SWIG_NewClientData(obj
));
28663 return SWIG_Py_Void();
28666 SWIGINTERN PyObject
*Printout_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28667 return SWIG_Python_InitShadowInstance(args
);
28670 SWIGINTERN PyObject
*_wrap_new_PreviewCanvas(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28671 PyObject
*resultobj
= 0;
28672 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
28673 wxWindow
*arg2
= (wxWindow
*) 0 ;
28674 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
28675 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
28676 wxSize
const &arg4_defvalue
= wxDefaultSize
;
28677 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
28678 long arg5
= (long) 0 ;
28679 wxString
const &arg6_defvalue
= wxPyPreviewCanvasNameStr
;
28680 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
28681 wxPreviewCanvas
*result
= 0 ;
28690 bool temp6
= false ;
28691 PyObject
* obj0
= 0 ;
28692 PyObject
* obj1
= 0 ;
28693 PyObject
* obj2
= 0 ;
28694 PyObject
* obj3
= 0 ;
28695 PyObject
* obj4
= 0 ;
28696 PyObject
* obj5
= 0 ;
28697 char * kwnames
[] = {
28698 (char *) "preview",(char *) "parent",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
28701 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOO:new_PreviewCanvas",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
28702 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintPreview
, 0 | 0 );
28703 if (!SWIG_IsOK(res1
)) {
28704 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PreviewCanvas" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
28706 arg1
= reinterpret_cast< wxPrintPreview
* >(argp1
);
28707 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
28708 if (!SWIG_IsOK(res2
)) {
28709 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_PreviewCanvas" "', expected argument " "2"" of type '" "wxWindow *""'");
28711 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
28715 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
28721 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
28725 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
28726 if (!SWIG_IsOK(ecode5
)) {
28727 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_PreviewCanvas" "', expected argument " "5"" of type '" "long""'");
28729 arg5
= static_cast< long >(val5
);
28733 arg6
= wxString_in_helper(obj5
);
28734 if (arg6
== NULL
) SWIG_fail
;
28739 if (!wxPyCheckForApp()) SWIG_fail
;
28740 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28741 result
= (wxPreviewCanvas
*)new wxPreviewCanvas(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
28742 wxPyEndAllowThreads(__tstate
);
28743 if (PyErr_Occurred()) SWIG_fail
;
28745 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPreviewCanvas
, SWIG_POINTER_NEW
| 0 );
28760 SWIGINTERN PyObject
*PreviewCanvas_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28762 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
28763 SWIG_TypeNewClientData(SWIGTYPE_p_wxPreviewCanvas
, SWIG_NewClientData(obj
));
28764 return SWIG_Py_Void();
28767 SWIGINTERN PyObject
*PreviewCanvas_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28768 return SWIG_Python_InitShadowInstance(args
);
28771 SWIGINTERN PyObject
*_wrap_new_PreviewFrame(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28772 PyObject
*resultobj
= 0;
28773 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
28774 wxFrame
*arg2
= (wxFrame
*) 0 ;
28775 wxString
*arg3
= 0 ;
28776 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
28777 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
28778 wxSize
const &arg5_defvalue
= wxDefaultSize
;
28779 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
28780 long arg6
= (long) wxDEFAULT_FRAME_STYLE
;
28781 wxString
const &arg7_defvalue
= wxPyFrameNameStr
;
28782 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
28783 wxPreviewFrame
*result
= 0 ;
28787 bool temp3
= false ;
28792 bool temp7
= false ;
28793 PyObject
* obj0
= 0 ;
28794 PyObject
* obj1
= 0 ;
28795 PyObject
* obj2
= 0 ;
28796 PyObject
* obj3
= 0 ;
28797 PyObject
* obj4
= 0 ;
28798 PyObject
* obj5
= 0 ;
28799 PyObject
* obj6
= 0 ;
28800 char * kwnames
[] = {
28801 (char *) "preview",(char *) "parent",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
28804 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:new_PreviewFrame",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
28805 res1
= SWIG_ConvertPtr(obj0
, SWIG_as_voidptrptr(&arg1
), SWIGTYPE_p_wxPrintPreview
, SWIG_POINTER_DISOWN
| 0 );
28806 if (!SWIG_IsOK(res1
)) {
28807 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PreviewFrame" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
28809 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxFrame
, 0 | 0 );
28810 if (!SWIG_IsOK(res2
)) {
28811 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_PreviewFrame" "', expected argument " "2"" of type '" "wxFrame *""'");
28813 arg2
= reinterpret_cast< wxFrame
* >(argp2
);
28815 arg3
= wxString_in_helper(obj2
);
28816 if (arg3
== NULL
) SWIG_fail
;
28822 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
28828 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
28832 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
28833 if (!SWIG_IsOK(ecode6
)) {
28834 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_PreviewFrame" "', expected argument " "6"" of type '" "long""'");
28836 arg6
= static_cast< long >(val6
);
28840 arg7
= wxString_in_helper(obj6
);
28841 if (arg7
== NULL
) SWIG_fail
;
28846 if (!wxPyCheckForApp()) SWIG_fail
;
28847 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28848 result
= (wxPreviewFrame
*)new wxPreviewFrame(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
28849 wxPyEndAllowThreads(__tstate
);
28850 if (PyErr_Occurred()) SWIG_fail
;
28852 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPreviewFrame
, SWIG_POINTER_NEW
| 0 );
28875 SWIGINTERN PyObject
*_wrap_PreviewFrame_Initialize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28876 PyObject
*resultobj
= 0;
28877 wxPreviewFrame
*arg1
= (wxPreviewFrame
*) 0 ;
28880 PyObject
*swig_obj
[1] ;
28882 if (!args
) SWIG_fail
;
28883 swig_obj
[0] = args
;
28884 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPreviewFrame
, 0 | 0 );
28885 if (!SWIG_IsOK(res1
)) {
28886 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PreviewFrame_Initialize" "', expected argument " "1"" of type '" "wxPreviewFrame *""'");
28888 arg1
= reinterpret_cast< wxPreviewFrame
* >(argp1
);
28890 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28891 (arg1
)->Initialize();
28892 wxPyEndAllowThreads(__tstate
);
28893 if (PyErr_Occurred()) SWIG_fail
;
28895 resultobj
= SWIG_Py_Void();
28902 SWIGINTERN PyObject
*_wrap_PreviewFrame_CreateControlBar(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28903 PyObject
*resultobj
= 0;
28904 wxPreviewFrame
*arg1
= (wxPreviewFrame
*) 0 ;
28907 PyObject
*swig_obj
[1] ;
28909 if (!args
) SWIG_fail
;
28910 swig_obj
[0] = args
;
28911 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPreviewFrame
, 0 | 0 );
28912 if (!SWIG_IsOK(res1
)) {
28913 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PreviewFrame_CreateControlBar" "', expected argument " "1"" of type '" "wxPreviewFrame *""'");
28915 arg1
= reinterpret_cast< wxPreviewFrame
* >(argp1
);
28917 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28918 (arg1
)->CreateControlBar();
28919 wxPyEndAllowThreads(__tstate
);
28920 if (PyErr_Occurred()) SWIG_fail
;
28922 resultobj
= SWIG_Py_Void();
28929 SWIGINTERN PyObject
*_wrap_PreviewFrame_CreateCanvas(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28930 PyObject
*resultobj
= 0;
28931 wxPreviewFrame
*arg1
= (wxPreviewFrame
*) 0 ;
28934 PyObject
*swig_obj
[1] ;
28936 if (!args
) SWIG_fail
;
28937 swig_obj
[0] = args
;
28938 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPreviewFrame
, 0 | 0 );
28939 if (!SWIG_IsOK(res1
)) {
28940 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PreviewFrame_CreateCanvas" "', expected argument " "1"" of type '" "wxPreviewFrame *""'");
28942 arg1
= reinterpret_cast< wxPreviewFrame
* >(argp1
);
28944 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28945 (arg1
)->CreateCanvas();
28946 wxPyEndAllowThreads(__tstate
);
28947 if (PyErr_Occurred()) SWIG_fail
;
28949 resultobj
= SWIG_Py_Void();
28956 SWIGINTERN PyObject
*_wrap_PreviewFrame_GetControlBar(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28957 PyObject
*resultobj
= 0;
28958 wxPreviewFrame
*arg1
= (wxPreviewFrame
*) 0 ;
28959 wxPreviewControlBar
*result
= 0 ;
28962 PyObject
*swig_obj
[1] ;
28964 if (!args
) SWIG_fail
;
28965 swig_obj
[0] = args
;
28966 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPreviewFrame
, 0 | 0 );
28967 if (!SWIG_IsOK(res1
)) {
28968 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PreviewFrame_GetControlBar" "', expected argument " "1"" of type '" "wxPreviewFrame const *""'");
28970 arg1
= reinterpret_cast< wxPreviewFrame
* >(argp1
);
28972 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28973 result
= (wxPreviewControlBar
*)((wxPreviewFrame
const *)arg1
)->GetControlBar();
28974 wxPyEndAllowThreads(__tstate
);
28975 if (PyErr_Occurred()) SWIG_fail
;
28977 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPreviewControlBar
, 0 | 0 );
28984 SWIGINTERN PyObject
*PreviewFrame_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28986 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
28987 SWIG_TypeNewClientData(SWIGTYPE_p_wxPreviewFrame
, SWIG_NewClientData(obj
));
28988 return SWIG_Py_Void();
28991 SWIGINTERN PyObject
*PreviewFrame_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28992 return SWIG_Python_InitShadowInstance(args
);
28995 SWIGINTERN PyObject
*_wrap_new_PreviewControlBar(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28996 PyObject
*resultobj
= 0;
28997 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
28999 wxWindow
*arg3
= (wxWindow
*) 0 ;
29000 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
29001 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
29002 wxSize
const &arg5_defvalue
= wxDefaultSize
;
29003 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
29004 long arg6
= (long) wxTAB_TRAVERSAL
;
29005 wxString
const &arg7_defvalue
= wxPyPanelNameStr
;
29006 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
29007 wxPreviewControlBar
*result
= 0 ;
29018 bool temp7
= false ;
29019 PyObject
* obj0
= 0 ;
29020 PyObject
* obj1
= 0 ;
29021 PyObject
* obj2
= 0 ;
29022 PyObject
* obj3
= 0 ;
29023 PyObject
* obj4
= 0 ;
29024 PyObject
* obj5
= 0 ;
29025 PyObject
* obj6
= 0 ;
29026 char * kwnames
[] = {
29027 (char *) "preview",(char *) "buttons",(char *) "parent",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
29030 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:new_PreviewControlBar",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
29031 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintPreview
, 0 | 0 );
29032 if (!SWIG_IsOK(res1
)) {
29033 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PreviewControlBar" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
29035 arg1
= reinterpret_cast< wxPrintPreview
* >(argp1
);
29036 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
29037 if (!SWIG_IsOK(ecode2
)) {
29038 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_PreviewControlBar" "', expected argument " "2"" of type '" "long""'");
29040 arg2
= static_cast< long >(val2
);
29041 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxWindow
, 0 | 0 );
29042 if (!SWIG_IsOK(res3
)) {
29043 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "new_PreviewControlBar" "', expected argument " "3"" of type '" "wxWindow *""'");
29045 arg3
= reinterpret_cast< wxWindow
* >(argp3
);
29049 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
29055 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
29059 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
29060 if (!SWIG_IsOK(ecode6
)) {
29061 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_PreviewControlBar" "', expected argument " "6"" of type '" "long""'");
29063 arg6
= static_cast< long >(val6
);
29067 arg7
= wxString_in_helper(obj6
);
29068 if (arg7
== NULL
) SWIG_fail
;
29073 if (!wxPyCheckForApp()) SWIG_fail
;
29074 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29075 result
= (wxPreviewControlBar
*)new wxPreviewControlBar(arg1
,arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
29076 wxPyEndAllowThreads(__tstate
);
29077 if (PyErr_Occurred()) SWIG_fail
;
29079 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPreviewControlBar
, SWIG_POINTER_NEW
| 0 );
29094 SWIGINTERN PyObject
*_wrap_PreviewControlBar_GetZoomControl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29095 PyObject
*resultobj
= 0;
29096 wxPreviewControlBar
*arg1
= (wxPreviewControlBar
*) 0 ;
29100 PyObject
*swig_obj
[1] ;
29102 if (!args
) SWIG_fail
;
29103 swig_obj
[0] = args
;
29104 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPreviewControlBar
, 0 | 0 );
29105 if (!SWIG_IsOK(res1
)) {
29106 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PreviewControlBar_GetZoomControl" "', expected argument " "1"" of type '" "wxPreviewControlBar *""'");
29108 arg1
= reinterpret_cast< wxPreviewControlBar
* >(argp1
);
29110 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29111 result
= (int)(arg1
)->GetZoomControl();
29112 wxPyEndAllowThreads(__tstate
);
29113 if (PyErr_Occurred()) SWIG_fail
;
29115 resultobj
= SWIG_From_int(static_cast< int >(result
));
29122 SWIGINTERN PyObject
*_wrap_PreviewControlBar_SetZoomControl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29123 PyObject
*resultobj
= 0;
29124 wxPreviewControlBar
*arg1
= (wxPreviewControlBar
*) 0 ;
29130 PyObject
* obj0
= 0 ;
29131 PyObject
* obj1
= 0 ;
29132 char * kwnames
[] = {
29133 (char *) "self",(char *) "zoom", NULL
29136 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PreviewControlBar_SetZoomControl",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
29137 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPreviewControlBar
, 0 | 0 );
29138 if (!SWIG_IsOK(res1
)) {
29139 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PreviewControlBar_SetZoomControl" "', expected argument " "1"" of type '" "wxPreviewControlBar *""'");
29141 arg1
= reinterpret_cast< wxPreviewControlBar
* >(argp1
);
29142 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
29143 if (!SWIG_IsOK(ecode2
)) {
29144 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PreviewControlBar_SetZoomControl" "', expected argument " "2"" of type '" "int""'");
29146 arg2
= static_cast< int >(val2
);
29148 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29149 (arg1
)->SetZoomControl(arg2
);
29150 wxPyEndAllowThreads(__tstate
);
29151 if (PyErr_Occurred()) SWIG_fail
;
29153 resultobj
= SWIG_Py_Void();
29160 SWIGINTERN PyObject
*_wrap_PreviewControlBar_GetPrintPreview(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29161 PyObject
*resultobj
= 0;
29162 wxPreviewControlBar
*arg1
= (wxPreviewControlBar
*) 0 ;
29163 wxPrintPreview
*result
= 0 ;
29166 PyObject
*swig_obj
[1] ;
29168 if (!args
) SWIG_fail
;
29169 swig_obj
[0] = args
;
29170 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPreviewControlBar
, 0 | 0 );
29171 if (!SWIG_IsOK(res1
)) {
29172 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PreviewControlBar_GetPrintPreview" "', expected argument " "1"" of type '" "wxPreviewControlBar *""'");
29174 arg1
= reinterpret_cast< wxPreviewControlBar
* >(argp1
);
29176 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29177 result
= (wxPrintPreview
*)(arg1
)->GetPrintPreview();
29178 wxPyEndAllowThreads(__tstate
);
29179 if (PyErr_Occurred()) SWIG_fail
;
29181 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPrintPreview
, 0 | 0 );
29188 SWIGINTERN PyObject
*_wrap_PreviewControlBar_OnNext(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29189 PyObject
*resultobj
= 0;
29190 wxPreviewControlBar
*arg1
= (wxPreviewControlBar
*) 0 ;
29193 PyObject
*swig_obj
[1] ;
29195 if (!args
) SWIG_fail
;
29196 swig_obj
[0] = args
;
29197 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPreviewControlBar
, 0 | 0 );
29198 if (!SWIG_IsOK(res1
)) {
29199 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PreviewControlBar_OnNext" "', expected argument " "1"" of type '" "wxPreviewControlBar *""'");
29201 arg1
= reinterpret_cast< wxPreviewControlBar
* >(argp1
);
29203 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29205 wxPyEndAllowThreads(__tstate
);
29206 if (PyErr_Occurred()) SWIG_fail
;
29208 resultobj
= SWIG_Py_Void();
29215 SWIGINTERN PyObject
*_wrap_PreviewControlBar_OnPrevious(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29216 PyObject
*resultobj
= 0;
29217 wxPreviewControlBar
*arg1
= (wxPreviewControlBar
*) 0 ;
29220 PyObject
*swig_obj
[1] ;
29222 if (!args
) SWIG_fail
;
29223 swig_obj
[0] = args
;
29224 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPreviewControlBar
, 0 | 0 );
29225 if (!SWIG_IsOK(res1
)) {
29226 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PreviewControlBar_OnPrevious" "', expected argument " "1"" of type '" "wxPreviewControlBar *""'");
29228 arg1
= reinterpret_cast< wxPreviewControlBar
* >(argp1
);
29230 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29231 (arg1
)->OnPrevious();
29232 wxPyEndAllowThreads(__tstate
);
29233 if (PyErr_Occurred()) SWIG_fail
;
29235 resultobj
= SWIG_Py_Void();
29242 SWIGINTERN PyObject
*_wrap_PreviewControlBar_OnFirst(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29243 PyObject
*resultobj
= 0;
29244 wxPreviewControlBar
*arg1
= (wxPreviewControlBar
*) 0 ;
29247 PyObject
*swig_obj
[1] ;
29249 if (!args
) SWIG_fail
;
29250 swig_obj
[0] = args
;
29251 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPreviewControlBar
, 0 | 0 );
29252 if (!SWIG_IsOK(res1
)) {
29253 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PreviewControlBar_OnFirst" "', expected argument " "1"" of type '" "wxPreviewControlBar *""'");
29255 arg1
= reinterpret_cast< wxPreviewControlBar
* >(argp1
);
29257 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29259 wxPyEndAllowThreads(__tstate
);
29260 if (PyErr_Occurred()) SWIG_fail
;
29262 resultobj
= SWIG_Py_Void();
29269 SWIGINTERN PyObject
*_wrap_PreviewControlBar_OnLast(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29270 PyObject
*resultobj
= 0;
29271 wxPreviewControlBar
*arg1
= (wxPreviewControlBar
*) 0 ;
29274 PyObject
*swig_obj
[1] ;
29276 if (!args
) SWIG_fail
;
29277 swig_obj
[0] = args
;
29278 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPreviewControlBar
, 0 | 0 );
29279 if (!SWIG_IsOK(res1
)) {
29280 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PreviewControlBar_OnLast" "', expected argument " "1"" of type '" "wxPreviewControlBar *""'");
29282 arg1
= reinterpret_cast< wxPreviewControlBar
* >(argp1
);
29284 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29286 wxPyEndAllowThreads(__tstate
);
29287 if (PyErr_Occurred()) SWIG_fail
;
29289 resultobj
= SWIG_Py_Void();
29296 SWIGINTERN PyObject
*_wrap_PreviewControlBar_OnGoto(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29297 PyObject
*resultobj
= 0;
29298 wxPreviewControlBar
*arg1
= (wxPreviewControlBar
*) 0 ;
29301 PyObject
*swig_obj
[1] ;
29303 if (!args
) SWIG_fail
;
29304 swig_obj
[0] = args
;
29305 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPreviewControlBar
, 0 | 0 );
29306 if (!SWIG_IsOK(res1
)) {
29307 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PreviewControlBar_OnGoto" "', expected argument " "1"" of type '" "wxPreviewControlBar *""'");
29309 arg1
= reinterpret_cast< wxPreviewControlBar
* >(argp1
);
29311 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29313 wxPyEndAllowThreads(__tstate
);
29314 if (PyErr_Occurred()) SWIG_fail
;
29316 resultobj
= SWIG_Py_Void();
29323 SWIGINTERN PyObject
*PreviewControlBar_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29325 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
29326 SWIG_TypeNewClientData(SWIGTYPE_p_wxPreviewControlBar
, SWIG_NewClientData(obj
));
29327 return SWIG_Py_Void();
29330 SWIGINTERN PyObject
*PreviewControlBar_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29331 return SWIG_Python_InitShadowInstance(args
);
29334 SWIGINTERN PyObject
*_wrap_new_PrintPreview__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
29335 PyObject
*resultobj
= 0;
29336 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
29337 wxPyPrintout
*arg2
= (wxPyPrintout
*) 0 ;
29338 wxPrintDialogData
*arg3
= (wxPrintDialogData
*) NULL
;
29339 wxPrintPreview
*result
= 0 ;
29345 if ((nobjs
< 2) || (nobjs
> 3)) SWIG_fail
;
29346 res1
= SWIG_ConvertPtr(swig_obj
[0], SWIG_as_voidptrptr(&arg1
), SWIGTYPE_p_wxPyPrintout
, SWIG_POINTER_DISOWN
| 0 );
29347 if (!SWIG_IsOK(res1
)) {
29348 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PrintPreview" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
29350 res2
= SWIG_ConvertPtr(swig_obj
[1], SWIG_as_voidptrptr(&arg2
), SWIGTYPE_p_wxPyPrintout
, SWIG_POINTER_DISOWN
| 0 );
29351 if (!SWIG_IsOK(res2
)) {
29352 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_PrintPreview" "', expected argument " "2"" of type '" "wxPyPrintout *""'");
29355 res3
= SWIG_ConvertPtr(swig_obj
[2], &argp3
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
29356 if (!SWIG_IsOK(res3
)) {
29357 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "new_PrintPreview" "', expected argument " "3"" of type '" "wxPrintDialogData *""'");
29359 arg3
= reinterpret_cast< wxPrintDialogData
* >(argp3
);
29362 if (!wxPyCheckForApp()) SWIG_fail
;
29363 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29364 result
= (wxPrintPreview
*)new wxPrintPreview(arg1
,arg2
,arg3
);
29365 wxPyEndAllowThreads(__tstate
);
29366 if (PyErr_Occurred()) SWIG_fail
;
29368 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPrintPreview
, SWIG_POINTER_NEW
| 0 );
29375 SWIGINTERN PyObject
*_wrap_new_PrintPreview__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
29376 PyObject
*resultobj
= 0;
29377 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
29378 wxPyPrintout
*arg2
= (wxPyPrintout
*) 0 ;
29379 wxPrintData
*arg3
= (wxPrintData
*) 0 ;
29380 wxPrintPreview
*result
= 0 ;
29386 if ((nobjs
< 3) || (nobjs
> 3)) SWIG_fail
;
29387 res1
= SWIG_ConvertPtr(swig_obj
[0], SWIG_as_voidptrptr(&arg1
), SWIGTYPE_p_wxPyPrintout
, SWIG_POINTER_DISOWN
| 0 );
29388 if (!SWIG_IsOK(res1
)) {
29389 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PrintPreview" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
29391 res2
= SWIG_ConvertPtr(swig_obj
[1], SWIG_as_voidptrptr(&arg2
), SWIGTYPE_p_wxPyPrintout
, SWIG_POINTER_DISOWN
| 0 );
29392 if (!SWIG_IsOK(res2
)) {
29393 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_PrintPreview" "', expected argument " "2"" of type '" "wxPyPrintout *""'");
29395 res3
= SWIG_ConvertPtr(swig_obj
[2], &argp3
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
29396 if (!SWIG_IsOK(res3
)) {
29397 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "new_PrintPreview" "', expected argument " "3"" of type '" "wxPrintData *""'");
29399 arg3
= reinterpret_cast< wxPrintData
* >(argp3
);
29401 if (!wxPyCheckForApp()) SWIG_fail
;
29402 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29403 result
= (wxPrintPreview
*)new wxPrintPreview(arg1
,arg2
,arg3
);
29404 wxPyEndAllowThreads(__tstate
);
29405 if (PyErr_Occurred()) SWIG_fail
;
29407 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPrintPreview
, SWIG_POINTER_NEW
| 0 );
29414 SWIGINTERN PyObject
*_wrap_new_PrintPreview(PyObject
*self
, PyObject
*args
) {
29418 if (!(argc
= SWIG_Python_UnpackTuple(args
,"new_PrintPreview",0,3,argv
))) SWIG_fail
;
29420 if ((argc
>= 2) && (argc
<= 3)) {
29425 int res
= SWIG_ConvertPtr(argv
[2], &vptr
, SWIGTYPE_p_wxPrintDialogData
, 0);
29426 _v
= SWIG_CheckState(res
);
29428 if (!_v
) goto check_1
;
29430 return _wrap_new_PrintPreview__SWIG_0(self
, argc
, argv
);
29435 return _wrap_new_PrintPreview__SWIG_1(self
, argc
, argv
);
29439 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'new_PrintPreview'");
29444 SWIGINTERN PyObject
*_wrap_delete_PrintPreview(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29445 PyObject
*resultobj
= 0;
29446 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
29449 PyObject
*swig_obj
[1] ;
29451 if (!args
) SWIG_fail
;
29452 swig_obj
[0] = args
;
29453 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintPreview
, SWIG_POINTER_DISOWN
| 0 );
29454 if (!SWIG_IsOK(res1
)) {
29455 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_PrintPreview" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
29457 arg1
= reinterpret_cast< wxPrintPreview
* >(argp1
);
29459 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29462 wxPyEndAllowThreads(__tstate
);
29463 if (PyErr_Occurred()) SWIG_fail
;
29465 resultobj
= SWIG_Py_Void();
29472 SWIGINTERN PyObject
*_wrap_PrintPreview_SetCurrentPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29473 PyObject
*resultobj
= 0;
29474 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
29481 PyObject
* obj0
= 0 ;
29482 PyObject
* obj1
= 0 ;
29483 char * kwnames
[] = {
29484 (char *) "self",(char *) "pageNum", NULL
29487 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintPreview_SetCurrentPage",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
29488 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintPreview
, 0 | 0 );
29489 if (!SWIG_IsOK(res1
)) {
29490 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintPreview_SetCurrentPage" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
29492 arg1
= reinterpret_cast< wxPrintPreview
* >(argp1
);
29493 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
29494 if (!SWIG_IsOK(ecode2
)) {
29495 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintPreview_SetCurrentPage" "', expected argument " "2"" of type '" "int""'");
29497 arg2
= static_cast< int >(val2
);
29499 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29500 result
= (bool)(arg1
)->SetCurrentPage(arg2
);
29501 wxPyEndAllowThreads(__tstate
);
29502 if (PyErr_Occurred()) SWIG_fail
;
29505 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29513 SWIGINTERN PyObject
*_wrap_PrintPreview_GetCurrentPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29514 PyObject
*resultobj
= 0;
29515 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
29519 PyObject
*swig_obj
[1] ;
29521 if (!args
) SWIG_fail
;
29522 swig_obj
[0] = args
;
29523 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintPreview
, 0 | 0 );
29524 if (!SWIG_IsOK(res1
)) {
29525 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintPreview_GetCurrentPage" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
29527 arg1
= reinterpret_cast< wxPrintPreview
* >(argp1
);
29529 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29530 result
= (int)(arg1
)->GetCurrentPage();
29531 wxPyEndAllowThreads(__tstate
);
29532 if (PyErr_Occurred()) SWIG_fail
;
29534 resultobj
= SWIG_From_int(static_cast< int >(result
));
29541 SWIGINTERN PyObject
*_wrap_PrintPreview_SetPrintout(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29542 PyObject
*resultobj
= 0;
29543 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
29544 wxPyPrintout
*arg2
= (wxPyPrintout
*) 0 ;
29548 PyObject
* obj0
= 0 ;
29549 PyObject
* obj1
= 0 ;
29550 char * kwnames
[] = {
29551 (char *) "self",(char *) "printout", NULL
29554 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintPreview_SetPrintout",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
29555 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintPreview
, 0 | 0 );
29556 if (!SWIG_IsOK(res1
)) {
29557 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintPreview_SetPrintout" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
29559 arg1
= reinterpret_cast< wxPrintPreview
* >(argp1
);
29560 res2
= SWIG_ConvertPtr(obj1
, SWIG_as_voidptrptr(&arg2
), SWIGTYPE_p_wxPyPrintout
, SWIG_POINTER_DISOWN
| 0 );
29561 if (!SWIG_IsOK(res2
)) {
29562 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PrintPreview_SetPrintout" "', expected argument " "2"" of type '" "wxPyPrintout *""'");
29565 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29566 (arg1
)->SetPrintout(arg2
);
29567 wxPyEndAllowThreads(__tstate
);
29568 if (PyErr_Occurred()) SWIG_fail
;
29570 resultobj
= SWIG_Py_Void();
29577 SWIGINTERN PyObject
*_wrap_PrintPreview_GetPrintout(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29578 PyObject
*resultobj
= 0;
29579 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
29580 wxPyPrintout
*result
= 0 ;
29583 PyObject
*swig_obj
[1] ;
29585 if (!args
) SWIG_fail
;
29586 swig_obj
[0] = args
;
29587 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintPreview
, 0 | 0 );
29588 if (!SWIG_IsOK(res1
)) {
29589 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintPreview_GetPrintout" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
29591 arg1
= reinterpret_cast< wxPrintPreview
* >(argp1
);
29593 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29594 result
= (wxPyPrintout
*)(arg1
)->GetPrintout();
29595 wxPyEndAllowThreads(__tstate
);
29596 if (PyErr_Occurred()) SWIG_fail
;
29599 resultobj
= wxPyMake_wxObject(result
, 0);
29607 SWIGINTERN PyObject
*_wrap_PrintPreview_GetPrintoutForPrinting(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29608 PyObject
*resultobj
= 0;
29609 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
29610 wxPyPrintout
*result
= 0 ;
29613 PyObject
*swig_obj
[1] ;
29615 if (!args
) SWIG_fail
;
29616 swig_obj
[0] = args
;
29617 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintPreview
, 0 | 0 );
29618 if (!SWIG_IsOK(res1
)) {
29619 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintPreview_GetPrintoutForPrinting" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
29621 arg1
= reinterpret_cast< wxPrintPreview
* >(argp1
);
29623 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29624 result
= (wxPyPrintout
*)(arg1
)->GetPrintoutForPrinting();
29625 wxPyEndAllowThreads(__tstate
);
29626 if (PyErr_Occurred()) SWIG_fail
;
29629 resultobj
= wxPyMake_wxObject(result
, 0);
29637 SWIGINTERN PyObject
*_wrap_PrintPreview_SetFrame(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29638 PyObject
*resultobj
= 0;
29639 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
29640 wxFrame
*arg2
= (wxFrame
*) 0 ;
29645 PyObject
* obj0
= 0 ;
29646 PyObject
* obj1
= 0 ;
29647 char * kwnames
[] = {
29648 (char *) "self",(char *) "frame", NULL
29651 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintPreview_SetFrame",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
29652 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintPreview
, 0 | 0 );
29653 if (!SWIG_IsOK(res1
)) {
29654 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintPreview_SetFrame" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
29656 arg1
= reinterpret_cast< wxPrintPreview
* >(argp1
);
29657 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxFrame
, 0 | 0 );
29658 if (!SWIG_IsOK(res2
)) {
29659 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PrintPreview_SetFrame" "', expected argument " "2"" of type '" "wxFrame *""'");
29661 arg2
= reinterpret_cast< wxFrame
* >(argp2
);
29663 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29664 (arg1
)->SetFrame(arg2
);
29665 wxPyEndAllowThreads(__tstate
);
29666 if (PyErr_Occurred()) SWIG_fail
;
29668 resultobj
= SWIG_Py_Void();
29675 SWIGINTERN PyObject
*_wrap_PrintPreview_SetCanvas(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29676 PyObject
*resultobj
= 0;
29677 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
29678 wxPreviewCanvas
*arg2
= (wxPreviewCanvas
*) 0 ;
29683 PyObject
* obj0
= 0 ;
29684 PyObject
* obj1
= 0 ;
29685 char * kwnames
[] = {
29686 (char *) "self",(char *) "canvas", NULL
29689 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintPreview_SetCanvas",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
29690 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintPreview
, 0 | 0 );
29691 if (!SWIG_IsOK(res1
)) {
29692 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintPreview_SetCanvas" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
29694 arg1
= reinterpret_cast< wxPrintPreview
* >(argp1
);
29695 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxPreviewCanvas
, 0 | 0 );
29696 if (!SWIG_IsOK(res2
)) {
29697 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PrintPreview_SetCanvas" "', expected argument " "2"" of type '" "wxPreviewCanvas *""'");
29699 arg2
= reinterpret_cast< wxPreviewCanvas
* >(argp2
);
29701 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29702 (arg1
)->SetCanvas(arg2
);
29703 wxPyEndAllowThreads(__tstate
);
29704 if (PyErr_Occurred()) SWIG_fail
;
29706 resultobj
= SWIG_Py_Void();
29713 SWIGINTERN PyObject
*_wrap_PrintPreview_GetFrame(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29714 PyObject
*resultobj
= 0;
29715 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
29716 wxFrame
*result
= 0 ;
29719 PyObject
*swig_obj
[1] ;
29721 if (!args
) SWIG_fail
;
29722 swig_obj
[0] = args
;
29723 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintPreview
, 0 | 0 );
29724 if (!SWIG_IsOK(res1
)) {
29725 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintPreview_GetFrame" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
29727 arg1
= reinterpret_cast< wxPrintPreview
* >(argp1
);
29729 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29730 result
= (wxFrame
*)(arg1
)->GetFrame();
29731 wxPyEndAllowThreads(__tstate
);
29732 if (PyErr_Occurred()) SWIG_fail
;
29735 resultobj
= wxPyMake_wxObject(result
, 0);
29743 SWIGINTERN PyObject
*_wrap_PrintPreview_GetCanvas(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29744 PyObject
*resultobj
= 0;
29745 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
29746 wxPreviewCanvas
*result
= 0 ;
29749 PyObject
*swig_obj
[1] ;
29751 if (!args
) SWIG_fail
;
29752 swig_obj
[0] = args
;
29753 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintPreview
, 0 | 0 );
29754 if (!SWIG_IsOK(res1
)) {
29755 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintPreview_GetCanvas" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
29757 arg1
= reinterpret_cast< wxPrintPreview
* >(argp1
);
29759 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29760 result
= (wxPreviewCanvas
*)(arg1
)->GetCanvas();
29761 wxPyEndAllowThreads(__tstate
);
29762 if (PyErr_Occurred()) SWIG_fail
;
29764 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPreviewCanvas
, 0 | 0 );
29771 SWIGINTERN PyObject
*_wrap_PrintPreview_PaintPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29772 PyObject
*resultobj
= 0;
29773 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
29774 wxPreviewCanvas
*arg2
= (wxPreviewCanvas
*) 0 ;
29783 PyObject
* obj0
= 0 ;
29784 PyObject
* obj1
= 0 ;
29785 PyObject
* obj2
= 0 ;
29786 char * kwnames
[] = {
29787 (char *) "self",(char *) "canvas",(char *) "dc", NULL
29790 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PrintPreview_PaintPage",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
29791 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintPreview
, 0 | 0 );
29792 if (!SWIG_IsOK(res1
)) {
29793 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintPreview_PaintPage" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
29795 arg1
= reinterpret_cast< wxPrintPreview
* >(argp1
);
29796 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxPreviewCanvas
, 0 | 0 );
29797 if (!SWIG_IsOK(res2
)) {
29798 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PrintPreview_PaintPage" "', expected argument " "2"" of type '" "wxPreviewCanvas *""'");
29800 arg2
= reinterpret_cast< wxPreviewCanvas
* >(argp2
);
29801 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxDC
, 0 );
29802 if (!SWIG_IsOK(res3
)) {
29803 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "PrintPreview_PaintPage" "', expected argument " "3"" of type '" "wxDC &""'");
29806 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "PrintPreview_PaintPage" "', expected argument " "3"" of type '" "wxDC &""'");
29808 arg3
= reinterpret_cast< wxDC
* >(argp3
);
29810 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29811 result
= (bool)(arg1
)->PaintPage(arg2
,*arg3
);
29812 wxPyEndAllowThreads(__tstate
);
29813 if (PyErr_Occurred()) SWIG_fail
;
29816 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29824 SWIGINTERN PyObject
*_wrap_PrintPreview_DrawBlankPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29825 PyObject
*resultobj
= 0;
29826 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
29827 wxPreviewCanvas
*arg2
= (wxPreviewCanvas
*) 0 ;
29836 PyObject
* obj0
= 0 ;
29837 PyObject
* obj1
= 0 ;
29838 PyObject
* obj2
= 0 ;
29839 char * kwnames
[] = {
29840 (char *) "self",(char *) "canvas",(char *) "dc", NULL
29843 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PrintPreview_DrawBlankPage",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
29844 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintPreview
, 0 | 0 );
29845 if (!SWIG_IsOK(res1
)) {
29846 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintPreview_DrawBlankPage" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
29848 arg1
= reinterpret_cast< wxPrintPreview
* >(argp1
);
29849 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxPreviewCanvas
, 0 | 0 );
29850 if (!SWIG_IsOK(res2
)) {
29851 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PrintPreview_DrawBlankPage" "', expected argument " "2"" of type '" "wxPreviewCanvas *""'");
29853 arg2
= reinterpret_cast< wxPreviewCanvas
* >(argp2
);
29854 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxDC
, 0 );
29855 if (!SWIG_IsOK(res3
)) {
29856 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "PrintPreview_DrawBlankPage" "', expected argument " "3"" of type '" "wxDC &""'");
29859 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "PrintPreview_DrawBlankPage" "', expected argument " "3"" of type '" "wxDC &""'");
29861 arg3
= reinterpret_cast< wxDC
* >(argp3
);
29863 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29864 result
= (bool)(arg1
)->DrawBlankPage(arg2
,*arg3
);
29865 wxPyEndAllowThreads(__tstate
);
29866 if (PyErr_Occurred()) SWIG_fail
;
29869 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29877 SWIGINTERN PyObject
*_wrap_PrintPreview_RenderPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29878 PyObject
*resultobj
= 0;
29879 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
29886 PyObject
* obj0
= 0 ;
29887 PyObject
* obj1
= 0 ;
29888 char * kwnames
[] = {
29889 (char *) "self",(char *) "pageNum", NULL
29892 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintPreview_RenderPage",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
29893 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintPreview
, 0 | 0 );
29894 if (!SWIG_IsOK(res1
)) {
29895 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintPreview_RenderPage" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
29897 arg1
= reinterpret_cast< wxPrintPreview
* >(argp1
);
29898 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
29899 if (!SWIG_IsOK(ecode2
)) {
29900 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintPreview_RenderPage" "', expected argument " "2"" of type '" "int""'");
29902 arg2
= static_cast< int >(val2
);
29904 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29905 result
= (bool)(arg1
)->RenderPage(arg2
);
29906 wxPyEndAllowThreads(__tstate
);
29907 if (PyErr_Occurred()) SWIG_fail
;
29910 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29918 SWIGINTERN PyObject
*_wrap_PrintPreview_AdjustScrollbars(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29919 PyObject
*resultobj
= 0;
29920 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
29921 wxPreviewCanvas
*arg2
= (wxPreviewCanvas
*) 0 ;
29926 PyObject
* obj0
= 0 ;
29927 PyObject
* obj1
= 0 ;
29928 char * kwnames
[] = {
29929 (char *) "self",(char *) "canvas", NULL
29932 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintPreview_AdjustScrollbars",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
29933 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintPreview
, 0 | 0 );
29934 if (!SWIG_IsOK(res1
)) {
29935 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintPreview_AdjustScrollbars" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
29937 arg1
= reinterpret_cast< wxPrintPreview
* >(argp1
);
29938 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxPreviewCanvas
, 0 | 0 );
29939 if (!SWIG_IsOK(res2
)) {
29940 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PrintPreview_AdjustScrollbars" "', expected argument " "2"" of type '" "wxPreviewCanvas *""'");
29942 arg2
= reinterpret_cast< wxPreviewCanvas
* >(argp2
);
29944 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29945 (arg1
)->AdjustScrollbars(arg2
);
29946 wxPyEndAllowThreads(__tstate
);
29947 if (PyErr_Occurred()) SWIG_fail
;
29949 resultobj
= SWIG_Py_Void();
29956 SWIGINTERN PyObject
*_wrap_PrintPreview_GetPrintDialogData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29957 PyObject
*resultobj
= 0;
29958 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
29959 wxPrintDialogData
*result
= 0 ;
29962 PyObject
*swig_obj
[1] ;
29964 if (!args
) SWIG_fail
;
29965 swig_obj
[0] = args
;
29966 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintPreview
, 0 | 0 );
29967 if (!SWIG_IsOK(res1
)) {
29968 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintPreview_GetPrintDialogData" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
29970 arg1
= reinterpret_cast< wxPrintPreview
* >(argp1
);
29972 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29974 wxPrintDialogData
&_result_ref
= (arg1
)->GetPrintDialogData();
29975 result
= (wxPrintDialogData
*) &_result_ref
;
29977 wxPyEndAllowThreads(__tstate
);
29978 if (PyErr_Occurred()) SWIG_fail
;
29980 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
29987 SWIGINTERN PyObject
*_wrap_PrintPreview_SetZoom(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29988 PyObject
*resultobj
= 0;
29989 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
29995 PyObject
* obj0
= 0 ;
29996 PyObject
* obj1
= 0 ;
29997 char * kwnames
[] = {
29998 (char *) "self",(char *) "percent", NULL
30001 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintPreview_SetZoom",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
30002 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintPreview
, 0 | 0 );
30003 if (!SWIG_IsOK(res1
)) {
30004 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintPreview_SetZoom" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
30006 arg1
= reinterpret_cast< wxPrintPreview
* >(argp1
);
30007 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
30008 if (!SWIG_IsOK(ecode2
)) {
30009 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintPreview_SetZoom" "', expected argument " "2"" of type '" "int""'");
30011 arg2
= static_cast< int >(val2
);
30013 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30014 (arg1
)->SetZoom(arg2
);
30015 wxPyEndAllowThreads(__tstate
);
30016 if (PyErr_Occurred()) SWIG_fail
;
30018 resultobj
= SWIG_Py_Void();
30025 SWIGINTERN PyObject
*_wrap_PrintPreview_GetZoom(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30026 PyObject
*resultobj
= 0;
30027 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
30031 PyObject
*swig_obj
[1] ;
30033 if (!args
) SWIG_fail
;
30034 swig_obj
[0] = args
;
30035 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintPreview
, 0 | 0 );
30036 if (!SWIG_IsOK(res1
)) {
30037 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintPreview_GetZoom" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
30039 arg1
= reinterpret_cast< wxPrintPreview
* >(argp1
);
30041 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30042 result
= (int)(arg1
)->GetZoom();
30043 wxPyEndAllowThreads(__tstate
);
30044 if (PyErr_Occurred()) SWIG_fail
;
30046 resultobj
= SWIG_From_int(static_cast< int >(result
));
30053 SWIGINTERN PyObject
*_wrap_PrintPreview_GetMaxPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30054 PyObject
*resultobj
= 0;
30055 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
30059 PyObject
*swig_obj
[1] ;
30061 if (!args
) SWIG_fail
;
30062 swig_obj
[0] = args
;
30063 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintPreview
, 0 | 0 );
30064 if (!SWIG_IsOK(res1
)) {
30065 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintPreview_GetMaxPage" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
30067 arg1
= reinterpret_cast< wxPrintPreview
* >(argp1
);
30069 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30070 result
= (int)(arg1
)->GetMaxPage();
30071 wxPyEndAllowThreads(__tstate
);
30072 if (PyErr_Occurred()) SWIG_fail
;
30074 resultobj
= SWIG_From_int(static_cast< int >(result
));
30081 SWIGINTERN PyObject
*_wrap_PrintPreview_GetMinPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30082 PyObject
*resultobj
= 0;
30083 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
30087 PyObject
*swig_obj
[1] ;
30089 if (!args
) SWIG_fail
;
30090 swig_obj
[0] = args
;
30091 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintPreview
, 0 | 0 );
30092 if (!SWIG_IsOK(res1
)) {
30093 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintPreview_GetMinPage" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
30095 arg1
= reinterpret_cast< wxPrintPreview
* >(argp1
);
30097 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30098 result
= (int)(arg1
)->GetMinPage();
30099 wxPyEndAllowThreads(__tstate
);
30100 if (PyErr_Occurred()) SWIG_fail
;
30102 resultobj
= SWIG_From_int(static_cast< int >(result
));
30109 SWIGINTERN PyObject
*_wrap_PrintPreview_Ok(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30110 PyObject
*resultobj
= 0;
30111 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
30115 PyObject
*swig_obj
[1] ;
30117 if (!args
) SWIG_fail
;
30118 swig_obj
[0] = args
;
30119 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintPreview
, 0 | 0 );
30120 if (!SWIG_IsOK(res1
)) {
30121 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintPreview_Ok" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
30123 arg1
= reinterpret_cast< wxPrintPreview
* >(argp1
);
30125 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30126 result
= (bool)(arg1
)->Ok();
30127 wxPyEndAllowThreads(__tstate
);
30128 if (PyErr_Occurred()) SWIG_fail
;
30131 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30139 SWIGINTERN PyObject
*_wrap_PrintPreview_SetOk(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30140 PyObject
*resultobj
= 0;
30141 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
30147 PyObject
* obj0
= 0 ;
30148 PyObject
* obj1
= 0 ;
30149 char * kwnames
[] = {
30150 (char *) "self",(char *) "ok", NULL
30153 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintPreview_SetOk",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
30154 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintPreview
, 0 | 0 );
30155 if (!SWIG_IsOK(res1
)) {
30156 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintPreview_SetOk" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
30158 arg1
= reinterpret_cast< wxPrintPreview
* >(argp1
);
30159 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
30160 if (!SWIG_IsOK(ecode2
)) {
30161 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintPreview_SetOk" "', expected argument " "2"" of type '" "bool""'");
30163 arg2
= static_cast< bool >(val2
);
30165 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30166 (arg1
)->SetOk(arg2
);
30167 wxPyEndAllowThreads(__tstate
);
30168 if (PyErr_Occurred()) SWIG_fail
;
30170 resultobj
= SWIG_Py_Void();
30177 SWIGINTERN PyObject
*_wrap_PrintPreview_Print(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30178 PyObject
*resultobj
= 0;
30179 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
30186 PyObject
* obj0
= 0 ;
30187 PyObject
* obj1
= 0 ;
30188 char * kwnames
[] = {
30189 (char *) "self",(char *) "interactive", NULL
30192 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintPreview_Print",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
30193 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintPreview
, 0 | 0 );
30194 if (!SWIG_IsOK(res1
)) {
30195 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintPreview_Print" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
30197 arg1
= reinterpret_cast< wxPrintPreview
* >(argp1
);
30198 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
30199 if (!SWIG_IsOK(ecode2
)) {
30200 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintPreview_Print" "', expected argument " "2"" of type '" "bool""'");
30202 arg2
= static_cast< bool >(val2
);
30204 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30205 result
= (bool)(arg1
)->Print(arg2
);
30206 wxPyEndAllowThreads(__tstate
);
30207 if (PyErr_Occurred()) SWIG_fail
;
30210 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30218 SWIGINTERN PyObject
*_wrap_PrintPreview_DetermineScaling(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30219 PyObject
*resultobj
= 0;
30220 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
30223 PyObject
*swig_obj
[1] ;
30225 if (!args
) SWIG_fail
;
30226 swig_obj
[0] = args
;
30227 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintPreview
, 0 | 0 );
30228 if (!SWIG_IsOK(res1
)) {
30229 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintPreview_DetermineScaling" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
30231 arg1
= reinterpret_cast< wxPrintPreview
* >(argp1
);
30233 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30234 (arg1
)->DetermineScaling();
30235 wxPyEndAllowThreads(__tstate
);
30236 if (PyErr_Occurred()) SWIG_fail
;
30238 resultobj
= SWIG_Py_Void();
30245 SWIGINTERN PyObject
*PrintPreview_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30247 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
30248 SWIG_TypeNewClientData(SWIGTYPE_p_wxPrintPreview
, SWIG_NewClientData(obj
));
30249 return SWIG_Py_Void();
30252 SWIGINTERN PyObject
*PrintPreview_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30253 return SWIG_Python_InitShadowInstance(args
);
30256 SWIGINTERN PyObject
*_wrap_new_PyPrintPreview__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
30257 PyObject
*resultobj
= 0;
30258 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
30259 wxPyPrintout
*arg2
= (wxPyPrintout
*) 0 ;
30260 wxPrintDialogData
*arg3
= (wxPrintDialogData
*) NULL
;
30261 wxPyPrintPreview
*result
= 0 ;
30267 if ((nobjs
< 2) || (nobjs
> 3)) SWIG_fail
;
30268 res1
= SWIG_ConvertPtr(swig_obj
[0], SWIG_as_voidptrptr(&arg1
), SWIGTYPE_p_wxPyPrintout
, SWIG_POINTER_DISOWN
| 0 );
30269 if (!SWIG_IsOK(res1
)) {
30270 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PyPrintPreview" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
30272 res2
= SWIG_ConvertPtr(swig_obj
[1], SWIG_as_voidptrptr(&arg2
), SWIGTYPE_p_wxPyPrintout
, SWIG_POINTER_DISOWN
| 0 );
30273 if (!SWIG_IsOK(res2
)) {
30274 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_PyPrintPreview" "', expected argument " "2"" of type '" "wxPyPrintout *""'");
30277 res3
= SWIG_ConvertPtr(swig_obj
[2], &argp3
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
30278 if (!SWIG_IsOK(res3
)) {
30279 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "new_PyPrintPreview" "', expected argument " "3"" of type '" "wxPrintDialogData *""'");
30281 arg3
= reinterpret_cast< wxPrintDialogData
* >(argp3
);
30284 if (!wxPyCheckForApp()) SWIG_fail
;
30285 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30286 result
= (wxPyPrintPreview
*)new wxPyPrintPreview(arg1
,arg2
,arg3
);
30287 wxPyEndAllowThreads(__tstate
);
30288 if (PyErr_Occurred()) SWIG_fail
;
30290 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyPrintPreview
, SWIG_POINTER_NEW
| 0 );
30297 SWIGINTERN PyObject
*_wrap_new_PyPrintPreview__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
30298 PyObject
*resultobj
= 0;
30299 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
30300 wxPyPrintout
*arg2
= (wxPyPrintout
*) 0 ;
30301 wxPrintData
*arg3
= (wxPrintData
*) 0 ;
30302 wxPyPrintPreview
*result
= 0 ;
30308 if ((nobjs
< 3) || (nobjs
> 3)) SWIG_fail
;
30309 res1
= SWIG_ConvertPtr(swig_obj
[0], SWIG_as_voidptrptr(&arg1
), SWIGTYPE_p_wxPyPrintout
, SWIG_POINTER_DISOWN
| 0 );
30310 if (!SWIG_IsOK(res1
)) {
30311 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PyPrintPreview" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
30313 res2
= SWIG_ConvertPtr(swig_obj
[1], SWIG_as_voidptrptr(&arg2
), SWIGTYPE_p_wxPyPrintout
, SWIG_POINTER_DISOWN
| 0 );
30314 if (!SWIG_IsOK(res2
)) {
30315 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_PyPrintPreview" "', expected argument " "2"" of type '" "wxPyPrintout *""'");
30317 res3
= SWIG_ConvertPtr(swig_obj
[2], &argp3
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
30318 if (!SWIG_IsOK(res3
)) {
30319 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "new_PyPrintPreview" "', expected argument " "3"" of type '" "wxPrintData *""'");
30321 arg3
= reinterpret_cast< wxPrintData
* >(argp3
);
30323 if (!wxPyCheckForApp()) SWIG_fail
;
30324 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30325 result
= (wxPyPrintPreview
*)new wxPyPrintPreview(arg1
,arg2
,arg3
);
30326 wxPyEndAllowThreads(__tstate
);
30327 if (PyErr_Occurred()) SWIG_fail
;
30329 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyPrintPreview
, SWIG_POINTER_NEW
| 0 );
30336 SWIGINTERN PyObject
*_wrap_new_PyPrintPreview(PyObject
*self
, PyObject
*args
) {
30340 if (!(argc
= SWIG_Python_UnpackTuple(args
,"new_PyPrintPreview",0,3,argv
))) SWIG_fail
;
30342 if ((argc
>= 2) && (argc
<= 3)) {
30347 int res
= SWIG_ConvertPtr(argv
[2], &vptr
, SWIGTYPE_p_wxPrintDialogData
, 0);
30348 _v
= SWIG_CheckState(res
);
30350 if (!_v
) goto check_1
;
30352 return _wrap_new_PyPrintPreview__SWIG_0(self
, argc
, argv
);
30357 return _wrap_new_PyPrintPreview__SWIG_1(self
, argc
, argv
);
30361 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'new_PyPrintPreview'");
30366 SWIGINTERN PyObject
*_wrap_PyPrintPreview__setCallbackInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30367 PyObject
*resultobj
= 0;
30368 wxPyPrintPreview
*arg1
= (wxPyPrintPreview
*) 0 ;
30369 PyObject
*arg2
= (PyObject
*) 0 ;
30370 PyObject
*arg3
= (PyObject
*) 0 ;
30373 PyObject
* obj0
= 0 ;
30374 PyObject
* obj1
= 0 ;
30375 PyObject
* obj2
= 0 ;
30376 char * kwnames
[] = {
30377 (char *) "self",(char *) "self",(char *) "_class", NULL
30380 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyPrintPreview__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
30381 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPrintPreview
, 0 | 0 );
30382 if (!SWIG_IsOK(res1
)) {
30383 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyPrintPreview__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyPrintPreview *""'");
30385 arg1
= reinterpret_cast< wxPyPrintPreview
* >(argp1
);
30389 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30390 (arg1
)->_setCallbackInfo(arg2
,arg3
);
30391 wxPyEndAllowThreads(__tstate
);
30392 if (PyErr_Occurred()) SWIG_fail
;
30394 resultobj
= SWIG_Py_Void();
30401 SWIGINTERN PyObject
*PyPrintPreview_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30403 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
30404 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyPrintPreview
, SWIG_NewClientData(obj
));
30405 return SWIG_Py_Void();
30408 SWIGINTERN PyObject
*PyPrintPreview_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30409 return SWIG_Python_InitShadowInstance(args
);
30412 SWIGINTERN PyObject
*_wrap_new_PyPreviewFrame(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30413 PyObject
*resultobj
= 0;
30414 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
30415 wxFrame
*arg2
= (wxFrame
*) 0 ;
30416 wxString
*arg3
= 0 ;
30417 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
30418 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
30419 wxSize
const &arg5_defvalue
= wxDefaultSize
;
30420 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
30421 long arg6
= (long) wxDEFAULT_FRAME_STYLE
;
30422 wxString
const &arg7_defvalue
= wxPyFrameNameStr
;
30423 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
30424 wxPyPreviewFrame
*result
= 0 ;
30429 bool temp3
= false ;
30434 bool temp7
= false ;
30435 PyObject
* obj0
= 0 ;
30436 PyObject
* obj1
= 0 ;
30437 PyObject
* obj2
= 0 ;
30438 PyObject
* obj3
= 0 ;
30439 PyObject
* obj4
= 0 ;
30440 PyObject
* obj5
= 0 ;
30441 PyObject
* obj6
= 0 ;
30442 char * kwnames
[] = {
30443 (char *) "preview",(char *) "parent",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
30446 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:new_PyPreviewFrame",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
30447 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintPreview
, 0 | 0 );
30448 if (!SWIG_IsOK(res1
)) {
30449 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PyPreviewFrame" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
30451 arg1
= reinterpret_cast< wxPrintPreview
* >(argp1
);
30452 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxFrame
, 0 | 0 );
30453 if (!SWIG_IsOK(res2
)) {
30454 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_PyPreviewFrame" "', expected argument " "2"" of type '" "wxFrame *""'");
30456 arg2
= reinterpret_cast< wxFrame
* >(argp2
);
30458 arg3
= wxString_in_helper(obj2
);
30459 if (arg3
== NULL
) SWIG_fail
;
30465 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
30471 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
30475 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
30476 if (!SWIG_IsOK(ecode6
)) {
30477 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_PyPreviewFrame" "', expected argument " "6"" of type '" "long""'");
30479 arg6
= static_cast< long >(val6
);
30483 arg7
= wxString_in_helper(obj6
);
30484 if (arg7
== NULL
) SWIG_fail
;
30489 if (!wxPyCheckForApp()) SWIG_fail
;
30490 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30491 result
= (wxPyPreviewFrame
*)new wxPyPreviewFrame(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
30492 wxPyEndAllowThreads(__tstate
);
30493 if (PyErr_Occurred()) SWIG_fail
;
30495 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyPreviewFrame
, SWIG_POINTER_NEW
| 0 );
30518 SWIGINTERN PyObject
*_wrap_PyPreviewFrame__setCallbackInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30519 PyObject
*resultobj
= 0;
30520 wxPyPreviewFrame
*arg1
= (wxPyPreviewFrame
*) 0 ;
30521 PyObject
*arg2
= (PyObject
*) 0 ;
30522 PyObject
*arg3
= (PyObject
*) 0 ;
30525 PyObject
* obj0
= 0 ;
30526 PyObject
* obj1
= 0 ;
30527 PyObject
* obj2
= 0 ;
30528 char * kwnames
[] = {
30529 (char *) "self",(char *) "self",(char *) "_class", NULL
30532 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyPreviewFrame__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
30533 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPreviewFrame
, 0 | 0 );
30534 if (!SWIG_IsOK(res1
)) {
30535 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyPreviewFrame__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyPreviewFrame *""'");
30537 arg1
= reinterpret_cast< wxPyPreviewFrame
* >(argp1
);
30541 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30542 (arg1
)->_setCallbackInfo(arg2
,arg3
);
30543 wxPyEndAllowThreads(__tstate
);
30544 if (PyErr_Occurred()) SWIG_fail
;
30546 resultobj
= SWIG_Py_Void();
30553 SWIGINTERN PyObject
*_wrap_PyPreviewFrame_SetPreviewCanvas(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30554 PyObject
*resultobj
= 0;
30555 wxPyPreviewFrame
*arg1
= (wxPyPreviewFrame
*) 0 ;
30556 wxPreviewCanvas
*arg2
= (wxPreviewCanvas
*) 0 ;
30561 PyObject
* obj0
= 0 ;
30562 PyObject
* obj1
= 0 ;
30563 char * kwnames
[] = {
30564 (char *) "self",(char *) "canvas", NULL
30567 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyPreviewFrame_SetPreviewCanvas",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
30568 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPreviewFrame
, 0 | 0 );
30569 if (!SWIG_IsOK(res1
)) {
30570 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyPreviewFrame_SetPreviewCanvas" "', expected argument " "1"" of type '" "wxPyPreviewFrame *""'");
30572 arg1
= reinterpret_cast< wxPyPreviewFrame
* >(argp1
);
30573 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxPreviewCanvas
, 0 | 0 );
30574 if (!SWIG_IsOK(res2
)) {
30575 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PyPreviewFrame_SetPreviewCanvas" "', expected argument " "2"" of type '" "wxPreviewCanvas *""'");
30577 arg2
= reinterpret_cast< wxPreviewCanvas
* >(argp2
);
30579 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30580 (arg1
)->SetPreviewCanvas(arg2
);
30581 wxPyEndAllowThreads(__tstate
);
30582 if (PyErr_Occurred()) SWIG_fail
;
30584 resultobj
= SWIG_Py_Void();
30591 SWIGINTERN PyObject
*_wrap_PyPreviewFrame_SetControlBar(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30592 PyObject
*resultobj
= 0;
30593 wxPyPreviewFrame
*arg1
= (wxPyPreviewFrame
*) 0 ;
30594 wxPreviewControlBar
*arg2
= (wxPreviewControlBar
*) 0 ;
30599 PyObject
* obj0
= 0 ;
30600 PyObject
* obj1
= 0 ;
30601 char * kwnames
[] = {
30602 (char *) "self",(char *) "bar", NULL
30605 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyPreviewFrame_SetControlBar",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
30606 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPreviewFrame
, 0 | 0 );
30607 if (!SWIG_IsOK(res1
)) {
30608 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyPreviewFrame_SetControlBar" "', expected argument " "1"" of type '" "wxPyPreviewFrame *""'");
30610 arg1
= reinterpret_cast< wxPyPreviewFrame
* >(argp1
);
30611 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxPreviewControlBar
, 0 | 0 );
30612 if (!SWIG_IsOK(res2
)) {
30613 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PyPreviewFrame_SetControlBar" "', expected argument " "2"" of type '" "wxPreviewControlBar *""'");
30615 arg2
= reinterpret_cast< wxPreviewControlBar
* >(argp2
);
30617 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30618 (arg1
)->SetControlBar(arg2
);
30619 wxPyEndAllowThreads(__tstate
);
30620 if (PyErr_Occurred()) SWIG_fail
;
30622 resultobj
= SWIG_Py_Void();
30629 SWIGINTERN PyObject
*_wrap_PyPreviewFrame_Initialize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30630 PyObject
*resultobj
= 0;
30631 wxPyPreviewFrame
*arg1
= (wxPyPreviewFrame
*) 0 ;
30634 PyObject
*swig_obj
[1] ;
30636 if (!args
) SWIG_fail
;
30637 swig_obj
[0] = args
;
30638 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPreviewFrame
, 0 | 0 );
30639 if (!SWIG_IsOK(res1
)) {
30640 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyPreviewFrame_Initialize" "', expected argument " "1"" of type '" "wxPyPreviewFrame *""'");
30642 arg1
= reinterpret_cast< wxPyPreviewFrame
* >(argp1
);
30644 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30645 (arg1
)->Initialize();
30646 wxPyEndAllowThreads(__tstate
);
30647 if (PyErr_Occurred()) SWIG_fail
;
30649 resultobj
= SWIG_Py_Void();
30656 SWIGINTERN PyObject
*_wrap_PyPreviewFrame_CreateCanvas(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30657 PyObject
*resultobj
= 0;
30658 wxPyPreviewFrame
*arg1
= (wxPyPreviewFrame
*) 0 ;
30661 PyObject
*swig_obj
[1] ;
30663 if (!args
) SWIG_fail
;
30664 swig_obj
[0] = args
;
30665 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPreviewFrame
, 0 | 0 );
30666 if (!SWIG_IsOK(res1
)) {
30667 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyPreviewFrame_CreateCanvas" "', expected argument " "1"" of type '" "wxPyPreviewFrame *""'");
30669 arg1
= reinterpret_cast< wxPyPreviewFrame
* >(argp1
);
30671 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30672 (arg1
)->CreateCanvas();
30673 wxPyEndAllowThreads(__tstate
);
30674 if (PyErr_Occurred()) SWIG_fail
;
30676 resultobj
= SWIG_Py_Void();
30683 SWIGINTERN PyObject
*_wrap_PyPreviewFrame_CreateControlBar(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30684 PyObject
*resultobj
= 0;
30685 wxPyPreviewFrame
*arg1
= (wxPyPreviewFrame
*) 0 ;
30688 PyObject
*swig_obj
[1] ;
30690 if (!args
) SWIG_fail
;
30691 swig_obj
[0] = args
;
30692 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPreviewFrame
, 0 | 0 );
30693 if (!SWIG_IsOK(res1
)) {
30694 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyPreviewFrame_CreateControlBar" "', expected argument " "1"" of type '" "wxPyPreviewFrame *""'");
30696 arg1
= reinterpret_cast< wxPyPreviewFrame
* >(argp1
);
30698 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30699 (arg1
)->CreateControlBar();
30700 wxPyEndAllowThreads(__tstate
);
30701 if (PyErr_Occurred()) SWIG_fail
;
30703 resultobj
= SWIG_Py_Void();
30710 SWIGINTERN PyObject
*PyPreviewFrame_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30712 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
30713 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyPreviewFrame
, SWIG_NewClientData(obj
));
30714 return SWIG_Py_Void();
30717 SWIGINTERN PyObject
*PyPreviewFrame_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30718 return SWIG_Python_InitShadowInstance(args
);
30721 SWIGINTERN PyObject
*_wrap_new_PyPreviewControlBar(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30722 PyObject
*resultobj
= 0;
30723 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
30725 wxWindow
*arg3
= (wxWindow
*) 0 ;
30726 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
30727 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
30728 wxSize
const &arg5_defvalue
= wxDefaultSize
;
30729 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
30730 long arg6
= (long) 0 ;
30731 wxString
const &arg7_defvalue
= wxPyPanelNameStr
;
30732 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
30733 wxPyPreviewControlBar
*result
= 0 ;
30744 bool temp7
= false ;
30745 PyObject
* obj0
= 0 ;
30746 PyObject
* obj1
= 0 ;
30747 PyObject
* obj2
= 0 ;
30748 PyObject
* obj3
= 0 ;
30749 PyObject
* obj4
= 0 ;
30750 PyObject
* obj5
= 0 ;
30751 PyObject
* obj6
= 0 ;
30752 char * kwnames
[] = {
30753 (char *) "preview",(char *) "buttons",(char *) "parent",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
30756 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:new_PyPreviewControlBar",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
30757 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintPreview
, 0 | 0 );
30758 if (!SWIG_IsOK(res1
)) {
30759 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PyPreviewControlBar" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
30761 arg1
= reinterpret_cast< wxPrintPreview
* >(argp1
);
30762 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
30763 if (!SWIG_IsOK(ecode2
)) {
30764 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_PyPreviewControlBar" "', expected argument " "2"" of type '" "long""'");
30766 arg2
= static_cast< long >(val2
);
30767 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxWindow
, 0 | 0 );
30768 if (!SWIG_IsOK(res3
)) {
30769 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "new_PyPreviewControlBar" "', expected argument " "3"" of type '" "wxWindow *""'");
30771 arg3
= reinterpret_cast< wxWindow
* >(argp3
);
30775 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
30781 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
30785 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
30786 if (!SWIG_IsOK(ecode6
)) {
30787 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_PyPreviewControlBar" "', expected argument " "6"" of type '" "long""'");
30789 arg6
= static_cast< long >(val6
);
30793 arg7
= wxString_in_helper(obj6
);
30794 if (arg7
== NULL
) SWIG_fail
;
30799 if (!wxPyCheckForApp()) SWIG_fail
;
30800 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30801 result
= (wxPyPreviewControlBar
*)new wxPyPreviewControlBar(arg1
,arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
30802 wxPyEndAllowThreads(__tstate
);
30803 if (PyErr_Occurred()) SWIG_fail
;
30805 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyPreviewControlBar
, SWIG_POINTER_NEW
| 0 );
30820 SWIGINTERN PyObject
*_wrap_PyPreviewControlBar__setCallbackInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30821 PyObject
*resultobj
= 0;
30822 wxPyPreviewControlBar
*arg1
= (wxPyPreviewControlBar
*) 0 ;
30823 PyObject
*arg2
= (PyObject
*) 0 ;
30824 PyObject
*arg3
= (PyObject
*) 0 ;
30827 PyObject
* obj0
= 0 ;
30828 PyObject
* obj1
= 0 ;
30829 PyObject
* obj2
= 0 ;
30830 char * kwnames
[] = {
30831 (char *) "self",(char *) "self",(char *) "_class", NULL
30834 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyPreviewControlBar__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
30835 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPreviewControlBar
, 0 | 0 );
30836 if (!SWIG_IsOK(res1
)) {
30837 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyPreviewControlBar__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyPreviewControlBar *""'");
30839 arg1
= reinterpret_cast< wxPyPreviewControlBar
* >(argp1
);
30843 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30844 (arg1
)->_setCallbackInfo(arg2
,arg3
);
30845 wxPyEndAllowThreads(__tstate
);
30846 if (PyErr_Occurred()) SWIG_fail
;
30848 resultobj
= SWIG_Py_Void();
30855 SWIGINTERN PyObject
*_wrap_PyPreviewControlBar_SetPrintPreview(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30856 PyObject
*resultobj
= 0;
30857 wxPyPreviewControlBar
*arg1
= (wxPyPreviewControlBar
*) 0 ;
30858 wxPrintPreview
*arg2
= (wxPrintPreview
*) 0 ;
30863 PyObject
* obj0
= 0 ;
30864 PyObject
* obj1
= 0 ;
30865 char * kwnames
[] = {
30866 (char *) "self",(char *) "preview", NULL
30869 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyPreviewControlBar_SetPrintPreview",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
30870 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPreviewControlBar
, 0 | 0 );
30871 if (!SWIG_IsOK(res1
)) {
30872 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyPreviewControlBar_SetPrintPreview" "', expected argument " "1"" of type '" "wxPyPreviewControlBar *""'");
30874 arg1
= reinterpret_cast< wxPyPreviewControlBar
* >(argp1
);
30875 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxPrintPreview
, 0 | 0 );
30876 if (!SWIG_IsOK(res2
)) {
30877 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PyPreviewControlBar_SetPrintPreview" "', expected argument " "2"" of type '" "wxPrintPreview *""'");
30879 arg2
= reinterpret_cast< wxPrintPreview
* >(argp2
);
30881 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30882 (arg1
)->SetPrintPreview(arg2
);
30883 wxPyEndAllowThreads(__tstate
);
30884 if (PyErr_Occurred()) SWIG_fail
;
30886 resultobj
= SWIG_Py_Void();
30893 SWIGINTERN PyObject
*_wrap_PyPreviewControlBar_CreateButtons(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30894 PyObject
*resultobj
= 0;
30895 wxPyPreviewControlBar
*arg1
= (wxPyPreviewControlBar
*) 0 ;
30898 PyObject
*swig_obj
[1] ;
30900 if (!args
) SWIG_fail
;
30901 swig_obj
[0] = args
;
30902 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPreviewControlBar
, 0 | 0 );
30903 if (!SWIG_IsOK(res1
)) {
30904 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyPreviewControlBar_CreateButtons" "', expected argument " "1"" of type '" "wxPyPreviewControlBar *""'");
30906 arg1
= reinterpret_cast< wxPyPreviewControlBar
* >(argp1
);
30908 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30909 (arg1
)->CreateButtons();
30910 wxPyEndAllowThreads(__tstate
);
30911 if (PyErr_Occurred()) SWIG_fail
;
30913 resultobj
= SWIG_Py_Void();
30920 SWIGINTERN PyObject
*_wrap_PyPreviewControlBar_SetZoomControl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30921 PyObject
*resultobj
= 0;
30922 wxPyPreviewControlBar
*arg1
= (wxPyPreviewControlBar
*) 0 ;
30928 PyObject
* obj0
= 0 ;
30929 PyObject
* obj1
= 0 ;
30930 char * kwnames
[] = {
30931 (char *) "self",(char *) "zoom", NULL
30934 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyPreviewControlBar_SetZoomControl",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
30935 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPreviewControlBar
, 0 | 0 );
30936 if (!SWIG_IsOK(res1
)) {
30937 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyPreviewControlBar_SetZoomControl" "', expected argument " "1"" of type '" "wxPyPreviewControlBar *""'");
30939 arg1
= reinterpret_cast< wxPyPreviewControlBar
* >(argp1
);
30940 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
30941 if (!SWIG_IsOK(ecode2
)) {
30942 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PyPreviewControlBar_SetZoomControl" "', expected argument " "2"" of type '" "int""'");
30944 arg2
= static_cast< int >(val2
);
30946 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30947 (arg1
)->SetZoomControl(arg2
);
30948 wxPyEndAllowThreads(__tstate
);
30949 if (PyErr_Occurred()) SWIG_fail
;
30951 resultobj
= SWIG_Py_Void();
30958 SWIGINTERN PyObject
*PyPreviewControlBar_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30960 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
30961 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyPreviewControlBar
, SWIG_NewClientData(obj
));
30962 return SWIG_Py_Void();
30965 SWIGINTERN PyObject
*PyPreviewControlBar_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30966 return SWIG_Python_InitShadowInstance(args
);
30969 static PyMethodDef SwigMethods
[] = {
30970 { (char *)"new_Panel", (PyCFunction
) _wrap_new_Panel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30971 { (char *)"new_PrePanel", (PyCFunction
)_wrap_new_PrePanel
, METH_NOARGS
, NULL
},
30972 { (char *)"Panel_Create", (PyCFunction
) _wrap_Panel_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30973 { (char *)"Panel_SetFocusIgnoringChildren", (PyCFunction
)_wrap_Panel_SetFocusIgnoringChildren
, METH_O
, NULL
},
30974 { (char *)"Panel_GetClassDefaultAttributes", (PyCFunction
) _wrap_Panel_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30975 { (char *)"Panel_swigregister", Panel_swigregister
, METH_VARARGS
, NULL
},
30976 { (char *)"Panel_swiginit", Panel_swiginit
, METH_VARARGS
, NULL
},
30977 { (char *)"new_ScrolledWindow", (PyCFunction
) _wrap_new_ScrolledWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30978 { (char *)"new_PreScrolledWindow", (PyCFunction
)_wrap_new_PreScrolledWindow
, METH_NOARGS
, NULL
},
30979 { (char *)"ScrolledWindow_Create", (PyCFunction
) _wrap_ScrolledWindow_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30980 { (char *)"ScrolledWindow_SetScrollbars", (PyCFunction
) _wrap_ScrolledWindow_SetScrollbars
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30981 { (char *)"ScrolledWindow_Scroll", (PyCFunction
) _wrap_ScrolledWindow_Scroll
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30982 { (char *)"ScrolledWindow_GetScrollPageSize", (PyCFunction
) _wrap_ScrolledWindow_GetScrollPageSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30983 { (char *)"ScrolledWindow_SetScrollPageSize", (PyCFunction
) _wrap_ScrolledWindow_SetScrollPageSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30984 { (char *)"ScrolledWindow_SetScrollRate", (PyCFunction
) _wrap_ScrolledWindow_SetScrollRate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30985 { (char *)"ScrolledWindow_GetScrollPixelsPerUnit", (PyCFunction
)_wrap_ScrolledWindow_GetScrollPixelsPerUnit
, METH_O
, NULL
},
30986 { (char *)"ScrolledWindow_EnableScrolling", (PyCFunction
) _wrap_ScrolledWindow_EnableScrolling
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30987 { (char *)"ScrolledWindow_GetViewStart", (PyCFunction
)_wrap_ScrolledWindow_GetViewStart
, METH_O
, NULL
},
30988 { (char *)"ScrolledWindow_SetScale", (PyCFunction
) _wrap_ScrolledWindow_SetScale
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30989 { (char *)"ScrolledWindow_GetScaleX", (PyCFunction
)_wrap_ScrolledWindow_GetScaleX
, METH_O
, NULL
},
30990 { (char *)"ScrolledWindow_GetScaleY", (PyCFunction
)_wrap_ScrolledWindow_GetScaleY
, METH_O
, NULL
},
30991 { (char *)"ScrolledWindow_CalcScrolledPosition", _wrap_ScrolledWindow_CalcScrolledPosition
, METH_VARARGS
, NULL
},
30992 { (char *)"ScrolledWindow_CalcUnscrolledPosition", _wrap_ScrolledWindow_CalcUnscrolledPosition
, METH_VARARGS
, NULL
},
30993 { (char *)"ScrolledWindow_AdjustScrollbars", (PyCFunction
)_wrap_ScrolledWindow_AdjustScrollbars
, METH_O
, NULL
},
30994 { (char *)"ScrolledWindow_CalcScrollInc", (PyCFunction
) _wrap_ScrolledWindow_CalcScrollInc
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30995 { (char *)"ScrolledWindow_SetTargetWindow", (PyCFunction
) _wrap_ScrolledWindow_SetTargetWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30996 { (char *)"ScrolledWindow_GetTargetWindow", (PyCFunction
)_wrap_ScrolledWindow_GetTargetWindow
, METH_O
, NULL
},
30997 { (char *)"ScrolledWindow_SetTargetRect", (PyCFunction
) _wrap_ScrolledWindow_SetTargetRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30998 { (char *)"ScrolledWindow_GetTargetRect", (PyCFunction
)_wrap_ScrolledWindow_GetTargetRect
, METH_O
, NULL
},
30999 { (char *)"ScrolledWindow_DoPrepareDC", (PyCFunction
) _wrap_ScrolledWindow_DoPrepareDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31000 { (char *)"ScrolledWindow_GetClassDefaultAttributes", (PyCFunction
) _wrap_ScrolledWindow_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31001 { (char *)"ScrolledWindow_swigregister", ScrolledWindow_swigregister
, METH_VARARGS
, NULL
},
31002 { (char *)"ScrolledWindow_swiginit", ScrolledWindow_swiginit
, METH_VARARGS
, NULL
},
31003 { (char *)"TopLevelWindow_Maximize", (PyCFunction
) _wrap_TopLevelWindow_Maximize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31004 { (char *)"TopLevelWindow_Restore", (PyCFunction
)_wrap_TopLevelWindow_Restore
, METH_O
, NULL
},
31005 { (char *)"TopLevelWindow_Iconize", (PyCFunction
) _wrap_TopLevelWindow_Iconize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31006 { (char *)"TopLevelWindow_IsMaximized", (PyCFunction
)_wrap_TopLevelWindow_IsMaximized
, METH_O
, NULL
},
31007 { (char *)"TopLevelWindow_IsAlwaysMaximized", (PyCFunction
)_wrap_TopLevelWindow_IsAlwaysMaximized
, METH_O
, NULL
},
31008 { (char *)"TopLevelWindow_IsIconized", (PyCFunction
)_wrap_TopLevelWindow_IsIconized
, METH_O
, NULL
},
31009 { (char *)"TopLevelWindow_GetIcon", (PyCFunction
)_wrap_TopLevelWindow_GetIcon
, METH_O
, NULL
},
31010 { (char *)"TopLevelWindow_SetIcon", (PyCFunction
) _wrap_TopLevelWindow_SetIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31011 { (char *)"TopLevelWindow_SetIcons", (PyCFunction
) _wrap_TopLevelWindow_SetIcons
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31012 { (char *)"TopLevelWindow_ShowFullScreen", (PyCFunction
) _wrap_TopLevelWindow_ShowFullScreen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31013 { (char *)"TopLevelWindow_IsFullScreen", (PyCFunction
)_wrap_TopLevelWindow_IsFullScreen
, METH_O
, NULL
},
31014 { (char *)"TopLevelWindow_SetTitle", (PyCFunction
) _wrap_TopLevelWindow_SetTitle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31015 { (char *)"TopLevelWindow_GetTitle", (PyCFunction
)_wrap_TopLevelWindow_GetTitle
, METH_O
, NULL
},
31016 { (char *)"TopLevelWindow_SetShape", (PyCFunction
) _wrap_TopLevelWindow_SetShape
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31017 { (char *)"TopLevelWindow_RequestUserAttention", (PyCFunction
) _wrap_TopLevelWindow_RequestUserAttention
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31018 { (char *)"TopLevelWindow_IsActive", (PyCFunction
)_wrap_TopLevelWindow_IsActive
, METH_O
, NULL
},
31019 { (char *)"TopLevelWindow_MacSetMetalAppearance", (PyCFunction
) _wrap_TopLevelWindow_MacSetMetalAppearance
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31020 { (char *)"TopLevelWindow_MacGetMetalAppearance", (PyCFunction
)_wrap_TopLevelWindow_MacGetMetalAppearance
, METH_O
, NULL
},
31021 { (char *)"TopLevelWindow_CenterOnScreen", (PyCFunction
) _wrap_TopLevelWindow_CenterOnScreen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31022 { (char *)"TopLevelWindow_EnableCloseButton", (PyCFunction
) _wrap_TopLevelWindow_EnableCloseButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31023 { (char *)"TopLevelWindow_SetTransparent", (PyCFunction
) _wrap_TopLevelWindow_SetTransparent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31024 { (char *)"TopLevelWindow_CanSetTransparent", (PyCFunction
)_wrap_TopLevelWindow_CanSetTransparent
, METH_O
, NULL
},
31025 { (char *)"TopLevelWindow_swigregister", TopLevelWindow_swigregister
, METH_VARARGS
, NULL
},
31026 { (char *)"new_Frame", (PyCFunction
) _wrap_new_Frame
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31027 { (char *)"new_PreFrame", (PyCFunction
)_wrap_new_PreFrame
, METH_NOARGS
, NULL
},
31028 { (char *)"Frame_Create", (PyCFunction
) _wrap_Frame_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31029 { (char *)"Frame_SendSizeEvent", (PyCFunction
)_wrap_Frame_SendSizeEvent
, METH_O
, NULL
},
31030 { (char *)"Frame_SetMenuBar", (PyCFunction
) _wrap_Frame_SetMenuBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31031 { (char *)"Frame_GetMenuBar", (PyCFunction
)_wrap_Frame_GetMenuBar
, METH_O
, NULL
},
31032 { (char *)"Frame_ProcessCommand", (PyCFunction
) _wrap_Frame_ProcessCommand
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31033 { (char *)"Frame_CreateStatusBar", (PyCFunction
) _wrap_Frame_CreateStatusBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31034 { (char *)"Frame_GetStatusBar", (PyCFunction
)_wrap_Frame_GetStatusBar
, METH_O
, NULL
},
31035 { (char *)"Frame_SetStatusBar", (PyCFunction
) _wrap_Frame_SetStatusBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31036 { (char *)"Frame_SetStatusText", (PyCFunction
) _wrap_Frame_SetStatusText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31037 { (char *)"Frame_SetStatusWidths", (PyCFunction
) _wrap_Frame_SetStatusWidths
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31038 { (char *)"Frame_PushStatusText", (PyCFunction
) _wrap_Frame_PushStatusText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31039 { (char *)"Frame_PopStatusText", (PyCFunction
) _wrap_Frame_PopStatusText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31040 { (char *)"Frame_SetStatusBarPane", (PyCFunction
) _wrap_Frame_SetStatusBarPane
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31041 { (char *)"Frame_GetStatusBarPane", (PyCFunction
)_wrap_Frame_GetStatusBarPane
, METH_O
, NULL
},
31042 { (char *)"Frame_CreateToolBar", (PyCFunction
) _wrap_Frame_CreateToolBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31043 { (char *)"Frame_GetToolBar", (PyCFunction
)_wrap_Frame_GetToolBar
, METH_O
, NULL
},
31044 { (char *)"Frame_SetToolBar", (PyCFunction
) _wrap_Frame_SetToolBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31045 { (char *)"Frame_DoGiveHelp", (PyCFunction
) _wrap_Frame_DoGiveHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31046 { (char *)"Frame_DoMenuUpdates", (PyCFunction
) _wrap_Frame_DoMenuUpdates
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31047 { (char *)"Frame_GetClassDefaultAttributes", (PyCFunction
) _wrap_Frame_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31048 { (char *)"Frame_swigregister", Frame_swigregister
, METH_VARARGS
, NULL
},
31049 { (char *)"Frame_swiginit", Frame_swiginit
, METH_VARARGS
, NULL
},
31050 { (char *)"new_Dialog", (PyCFunction
) _wrap_new_Dialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31051 { (char *)"new_PreDialog", (PyCFunction
)_wrap_new_PreDialog
, METH_NOARGS
, NULL
},
31052 { (char *)"Dialog_Create", (PyCFunction
) _wrap_Dialog_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31053 { (char *)"Dialog_SetReturnCode", (PyCFunction
) _wrap_Dialog_SetReturnCode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31054 { (char *)"Dialog_GetReturnCode", (PyCFunction
)_wrap_Dialog_GetReturnCode
, METH_O
, NULL
},
31055 { (char *)"Dialog_SetAffirmativeId", (PyCFunction
) _wrap_Dialog_SetAffirmativeId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31056 { (char *)"Dialog_GetAffirmativeId", (PyCFunction
)_wrap_Dialog_GetAffirmativeId
, METH_O
, NULL
},
31057 { (char *)"Dialog_SetEscapeId", (PyCFunction
) _wrap_Dialog_SetEscapeId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31058 { (char *)"Dialog_GetEscapeId", (PyCFunction
)_wrap_Dialog_GetEscapeId
, METH_O
, NULL
},
31059 { (char *)"Dialog_CreateTextSizer", (PyCFunction
) _wrap_Dialog_CreateTextSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31060 { (char *)"Dialog_CreateButtonSizer", (PyCFunction
) _wrap_Dialog_CreateButtonSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31061 { (char *)"Dialog_CreateStdDialogButtonSizer", (PyCFunction
) _wrap_Dialog_CreateStdDialogButtonSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31062 { (char *)"Dialog_IsModal", (PyCFunction
)_wrap_Dialog_IsModal
, METH_O
, NULL
},
31063 { (char *)"Dialog_ShowModal", (PyCFunction
)_wrap_Dialog_ShowModal
, METH_O
, NULL
},
31064 { (char *)"Dialog_EndModal", (PyCFunction
) _wrap_Dialog_EndModal
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31065 { (char *)"Dialog_GetClassDefaultAttributes", (PyCFunction
) _wrap_Dialog_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31066 { (char *)"Dialog_swigregister", Dialog_swigregister
, METH_VARARGS
, NULL
},
31067 { (char *)"Dialog_swiginit", Dialog_swiginit
, METH_VARARGS
, NULL
},
31068 { (char *)"new_MiniFrame", (PyCFunction
) _wrap_new_MiniFrame
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31069 { (char *)"new_PreMiniFrame", (PyCFunction
)_wrap_new_PreMiniFrame
, METH_NOARGS
, NULL
},
31070 { (char *)"MiniFrame_Create", (PyCFunction
) _wrap_MiniFrame_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31071 { (char *)"MiniFrame_swigregister", MiniFrame_swigregister
, METH_VARARGS
, NULL
},
31072 { (char *)"MiniFrame_swiginit", MiniFrame_swiginit
, METH_VARARGS
, NULL
},
31073 { (char *)"new_SplashScreenWindow", (PyCFunction
) _wrap_new_SplashScreenWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31074 { (char *)"SplashScreenWindow_SetBitmap", (PyCFunction
) _wrap_SplashScreenWindow_SetBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31075 { (char *)"SplashScreenWindow_GetBitmap", (PyCFunction
)_wrap_SplashScreenWindow_GetBitmap
, METH_O
, NULL
},
31076 { (char *)"SplashScreenWindow_swigregister", SplashScreenWindow_swigregister
, METH_VARARGS
, NULL
},
31077 { (char *)"SplashScreenWindow_swiginit", SplashScreenWindow_swiginit
, METH_VARARGS
, NULL
},
31078 { (char *)"new_SplashScreen", (PyCFunction
) _wrap_new_SplashScreen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31079 { (char *)"SplashScreen_GetSplashStyle", (PyCFunction
)_wrap_SplashScreen_GetSplashStyle
, METH_O
, NULL
},
31080 { (char *)"SplashScreen_GetSplashWindow", (PyCFunction
)_wrap_SplashScreen_GetSplashWindow
, METH_O
, NULL
},
31081 { (char *)"SplashScreen_GetTimeout", (PyCFunction
)_wrap_SplashScreen_GetTimeout
, METH_O
, NULL
},
31082 { (char *)"SplashScreen_swigregister", SplashScreen_swigregister
, METH_VARARGS
, NULL
},
31083 { (char *)"SplashScreen_swiginit", SplashScreen_swiginit
, METH_VARARGS
, NULL
},
31084 { (char *)"new_StatusBar", (PyCFunction
) _wrap_new_StatusBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31085 { (char *)"new_PreStatusBar", (PyCFunction
)_wrap_new_PreStatusBar
, METH_NOARGS
, NULL
},
31086 { (char *)"StatusBar_Create", (PyCFunction
) _wrap_StatusBar_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31087 { (char *)"StatusBar_SetFieldsCount", (PyCFunction
) _wrap_StatusBar_SetFieldsCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31088 { (char *)"StatusBar_GetFieldsCount", (PyCFunction
)_wrap_StatusBar_GetFieldsCount
, METH_O
, NULL
},
31089 { (char *)"StatusBar_SetStatusText", (PyCFunction
) _wrap_StatusBar_SetStatusText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31090 { (char *)"StatusBar_GetStatusText", (PyCFunction
) _wrap_StatusBar_GetStatusText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31091 { (char *)"StatusBar_PushStatusText", (PyCFunction
) _wrap_StatusBar_PushStatusText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31092 { (char *)"StatusBar_PopStatusText", (PyCFunction
) _wrap_StatusBar_PopStatusText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31093 { (char *)"StatusBar_SetStatusWidths", (PyCFunction
) _wrap_StatusBar_SetStatusWidths
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31094 { (char *)"StatusBar_SetStatusStyles", (PyCFunction
) _wrap_StatusBar_SetStatusStyles
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31095 { (char *)"StatusBar_GetFieldRect", (PyCFunction
) _wrap_StatusBar_GetFieldRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31096 { (char *)"StatusBar_SetMinHeight", (PyCFunction
) _wrap_StatusBar_SetMinHeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31097 { (char *)"StatusBar_GetBorderX", (PyCFunction
)_wrap_StatusBar_GetBorderX
, METH_O
, NULL
},
31098 { (char *)"StatusBar_GetBorderY", (PyCFunction
)_wrap_StatusBar_GetBorderY
, METH_O
, NULL
},
31099 { (char *)"StatusBar_GetClassDefaultAttributes", (PyCFunction
) _wrap_StatusBar_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31100 { (char *)"StatusBar_swigregister", StatusBar_swigregister
, METH_VARARGS
, NULL
},
31101 { (char *)"StatusBar_swiginit", StatusBar_swiginit
, METH_VARARGS
, NULL
},
31102 { (char *)"new_SplitterWindow", (PyCFunction
) _wrap_new_SplitterWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31103 { (char *)"new_PreSplitterWindow", (PyCFunction
)_wrap_new_PreSplitterWindow
, METH_NOARGS
, NULL
},
31104 { (char *)"SplitterWindow_Create", (PyCFunction
) _wrap_SplitterWindow_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31105 { (char *)"SplitterWindow_GetWindow1", (PyCFunction
)_wrap_SplitterWindow_GetWindow1
, METH_O
, NULL
},
31106 { (char *)"SplitterWindow_GetWindow2", (PyCFunction
)_wrap_SplitterWindow_GetWindow2
, METH_O
, NULL
},
31107 { (char *)"SplitterWindow_SetSplitMode", (PyCFunction
) _wrap_SplitterWindow_SetSplitMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31108 { (char *)"SplitterWindow_GetSplitMode", (PyCFunction
)_wrap_SplitterWindow_GetSplitMode
, METH_O
, NULL
},
31109 { (char *)"SplitterWindow_Initialize", (PyCFunction
) _wrap_SplitterWindow_Initialize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31110 { (char *)"SplitterWindow_SplitVertically", (PyCFunction
) _wrap_SplitterWindow_SplitVertically
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31111 { (char *)"SplitterWindow_SplitHorizontally", (PyCFunction
) _wrap_SplitterWindow_SplitHorizontally
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31112 { (char *)"SplitterWindow_Unsplit", (PyCFunction
) _wrap_SplitterWindow_Unsplit
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31113 { (char *)"SplitterWindow_ReplaceWindow", (PyCFunction
) _wrap_SplitterWindow_ReplaceWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31114 { (char *)"SplitterWindow_UpdateSize", (PyCFunction
)_wrap_SplitterWindow_UpdateSize
, METH_O
, NULL
},
31115 { (char *)"SplitterWindow_IsSplit", (PyCFunction
)_wrap_SplitterWindow_IsSplit
, METH_O
, NULL
},
31116 { (char *)"SplitterWindow_SetSashSize", (PyCFunction
) _wrap_SplitterWindow_SetSashSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31117 { (char *)"SplitterWindow_SetBorderSize", (PyCFunction
) _wrap_SplitterWindow_SetBorderSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31118 { (char *)"SplitterWindow_GetSashSize", (PyCFunction
)_wrap_SplitterWindow_GetSashSize
, METH_O
, NULL
},
31119 { (char *)"SplitterWindow_GetBorderSize", (PyCFunction
)_wrap_SplitterWindow_GetBorderSize
, METH_O
, NULL
},
31120 { (char *)"SplitterWindow_SetSashPosition", (PyCFunction
) _wrap_SplitterWindow_SetSashPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31121 { (char *)"SplitterWindow_GetSashPosition", (PyCFunction
)_wrap_SplitterWindow_GetSashPosition
, METH_O
, NULL
},
31122 { (char *)"SplitterWindow_SetSashGravity", (PyCFunction
) _wrap_SplitterWindow_SetSashGravity
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31123 { (char *)"SplitterWindow_GetSashGravity", (PyCFunction
)_wrap_SplitterWindow_GetSashGravity
, METH_O
, NULL
},
31124 { (char *)"SplitterWindow_SetMinimumPaneSize", (PyCFunction
) _wrap_SplitterWindow_SetMinimumPaneSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31125 { (char *)"SplitterWindow_GetMinimumPaneSize", (PyCFunction
)_wrap_SplitterWindow_GetMinimumPaneSize
, METH_O
, NULL
},
31126 { (char *)"SplitterWindow_SashHitTest", (PyCFunction
) _wrap_SplitterWindow_SashHitTest
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31127 { (char *)"SplitterWindow_SizeWindows", (PyCFunction
)_wrap_SplitterWindow_SizeWindows
, METH_O
, NULL
},
31128 { (char *)"SplitterWindow_SetNeedUpdating", (PyCFunction
) _wrap_SplitterWindow_SetNeedUpdating
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31129 { (char *)"SplitterWindow_GetNeedUpdating", (PyCFunction
)_wrap_SplitterWindow_GetNeedUpdating
, METH_O
, NULL
},
31130 { (char *)"SplitterWindow_GetClassDefaultAttributes", (PyCFunction
) _wrap_SplitterWindow_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31131 { (char *)"SplitterWindow_swigregister", SplitterWindow_swigregister
, METH_VARARGS
, NULL
},
31132 { (char *)"SplitterWindow_swiginit", SplitterWindow_swiginit
, METH_VARARGS
, NULL
},
31133 { (char *)"new_SplitterEvent", (PyCFunction
) _wrap_new_SplitterEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31134 { (char *)"SplitterEvent_SetSashPosition", (PyCFunction
) _wrap_SplitterEvent_SetSashPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31135 { (char *)"SplitterEvent_GetSashPosition", (PyCFunction
)_wrap_SplitterEvent_GetSashPosition
, METH_O
, NULL
},
31136 { (char *)"SplitterEvent_GetWindowBeingRemoved", (PyCFunction
)_wrap_SplitterEvent_GetWindowBeingRemoved
, METH_O
, NULL
},
31137 { (char *)"SplitterEvent_GetX", (PyCFunction
)_wrap_SplitterEvent_GetX
, METH_O
, NULL
},
31138 { (char *)"SplitterEvent_GetY", (PyCFunction
)_wrap_SplitterEvent_GetY
, METH_O
, NULL
},
31139 { (char *)"SplitterEvent_swigregister", SplitterEvent_swigregister
, METH_VARARGS
, NULL
},
31140 { (char *)"SplitterEvent_swiginit", SplitterEvent_swiginit
, METH_VARARGS
, NULL
},
31141 { (char *)"new_SashWindow", (PyCFunction
) _wrap_new_SashWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31142 { (char *)"new_PreSashWindow", (PyCFunction
)_wrap_new_PreSashWindow
, METH_NOARGS
, NULL
},
31143 { (char *)"SashWindow_Create", (PyCFunction
) _wrap_SashWindow_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31144 { (char *)"SashWindow_SetSashVisible", (PyCFunction
) _wrap_SashWindow_SetSashVisible
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31145 { (char *)"SashWindow_GetSashVisible", (PyCFunction
) _wrap_SashWindow_GetSashVisible
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31146 { (char *)"SashWindow_SetSashBorder", (PyCFunction
) _wrap_SashWindow_SetSashBorder
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31147 { (char *)"SashWindow_HasBorder", (PyCFunction
) _wrap_SashWindow_HasBorder
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31148 { (char *)"SashWindow_GetEdgeMargin", (PyCFunction
) _wrap_SashWindow_GetEdgeMargin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31149 { (char *)"SashWindow_SetDefaultBorderSize", (PyCFunction
) _wrap_SashWindow_SetDefaultBorderSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31150 { (char *)"SashWindow_GetDefaultBorderSize", (PyCFunction
)_wrap_SashWindow_GetDefaultBorderSize
, METH_O
, NULL
},
31151 { (char *)"SashWindow_SetExtraBorderSize", (PyCFunction
) _wrap_SashWindow_SetExtraBorderSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31152 { (char *)"SashWindow_GetExtraBorderSize", (PyCFunction
)_wrap_SashWindow_GetExtraBorderSize
, METH_O
, NULL
},
31153 { (char *)"SashWindow_SetMinimumSizeX", (PyCFunction
) _wrap_SashWindow_SetMinimumSizeX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31154 { (char *)"SashWindow_SetMinimumSizeY", (PyCFunction
) _wrap_SashWindow_SetMinimumSizeY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31155 { (char *)"SashWindow_GetMinimumSizeX", (PyCFunction
)_wrap_SashWindow_GetMinimumSizeX
, METH_O
, NULL
},
31156 { (char *)"SashWindow_GetMinimumSizeY", (PyCFunction
)_wrap_SashWindow_GetMinimumSizeY
, METH_O
, NULL
},
31157 { (char *)"SashWindow_SetMaximumSizeX", (PyCFunction
) _wrap_SashWindow_SetMaximumSizeX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31158 { (char *)"SashWindow_SetMaximumSizeY", (PyCFunction
) _wrap_SashWindow_SetMaximumSizeY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31159 { (char *)"SashWindow_GetMaximumSizeX", (PyCFunction
)_wrap_SashWindow_GetMaximumSizeX
, METH_O
, NULL
},
31160 { (char *)"SashWindow_GetMaximumSizeY", (PyCFunction
)_wrap_SashWindow_GetMaximumSizeY
, METH_O
, NULL
},
31161 { (char *)"SashWindow_SashHitTest", (PyCFunction
) _wrap_SashWindow_SashHitTest
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31162 { (char *)"SashWindow_SizeWindows", (PyCFunction
)_wrap_SashWindow_SizeWindows
, METH_O
, NULL
},
31163 { (char *)"SashWindow_swigregister", SashWindow_swigregister
, METH_VARARGS
, NULL
},
31164 { (char *)"SashWindow_swiginit", SashWindow_swiginit
, METH_VARARGS
, NULL
},
31165 { (char *)"new_SashEvent", (PyCFunction
) _wrap_new_SashEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31166 { (char *)"SashEvent_SetEdge", (PyCFunction
) _wrap_SashEvent_SetEdge
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31167 { (char *)"SashEvent_GetEdge", (PyCFunction
)_wrap_SashEvent_GetEdge
, METH_O
, NULL
},
31168 { (char *)"SashEvent_SetDragRect", (PyCFunction
) _wrap_SashEvent_SetDragRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31169 { (char *)"SashEvent_GetDragRect", (PyCFunction
)_wrap_SashEvent_GetDragRect
, METH_O
, NULL
},
31170 { (char *)"SashEvent_SetDragStatus", (PyCFunction
) _wrap_SashEvent_SetDragStatus
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31171 { (char *)"SashEvent_GetDragStatus", (PyCFunction
)_wrap_SashEvent_GetDragStatus
, METH_O
, NULL
},
31172 { (char *)"SashEvent_swigregister", SashEvent_swigregister
, METH_VARARGS
, NULL
},
31173 { (char *)"SashEvent_swiginit", SashEvent_swiginit
, METH_VARARGS
, NULL
},
31174 { (char *)"new_QueryLayoutInfoEvent", (PyCFunction
) _wrap_new_QueryLayoutInfoEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31175 { (char *)"QueryLayoutInfoEvent_SetRequestedLength", (PyCFunction
) _wrap_QueryLayoutInfoEvent_SetRequestedLength
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31176 { (char *)"QueryLayoutInfoEvent_GetRequestedLength", (PyCFunction
)_wrap_QueryLayoutInfoEvent_GetRequestedLength
, METH_O
, NULL
},
31177 { (char *)"QueryLayoutInfoEvent_SetFlags", (PyCFunction
) _wrap_QueryLayoutInfoEvent_SetFlags
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31178 { (char *)"QueryLayoutInfoEvent_GetFlags", (PyCFunction
)_wrap_QueryLayoutInfoEvent_GetFlags
, METH_O
, NULL
},
31179 { (char *)"QueryLayoutInfoEvent_SetSize", (PyCFunction
) _wrap_QueryLayoutInfoEvent_SetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31180 { (char *)"QueryLayoutInfoEvent_GetSize", (PyCFunction
)_wrap_QueryLayoutInfoEvent_GetSize
, METH_O
, NULL
},
31181 { (char *)"QueryLayoutInfoEvent_SetOrientation", (PyCFunction
) _wrap_QueryLayoutInfoEvent_SetOrientation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31182 { (char *)"QueryLayoutInfoEvent_GetOrientation", (PyCFunction
)_wrap_QueryLayoutInfoEvent_GetOrientation
, METH_O
, NULL
},
31183 { (char *)"QueryLayoutInfoEvent_SetAlignment", (PyCFunction
) _wrap_QueryLayoutInfoEvent_SetAlignment
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31184 { (char *)"QueryLayoutInfoEvent_GetAlignment", (PyCFunction
)_wrap_QueryLayoutInfoEvent_GetAlignment
, METH_O
, NULL
},
31185 { (char *)"QueryLayoutInfoEvent_swigregister", QueryLayoutInfoEvent_swigregister
, METH_VARARGS
, NULL
},
31186 { (char *)"QueryLayoutInfoEvent_swiginit", QueryLayoutInfoEvent_swiginit
, METH_VARARGS
, NULL
},
31187 { (char *)"new_CalculateLayoutEvent", (PyCFunction
) _wrap_new_CalculateLayoutEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31188 { (char *)"CalculateLayoutEvent_SetFlags", (PyCFunction
) _wrap_CalculateLayoutEvent_SetFlags
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31189 { (char *)"CalculateLayoutEvent_GetFlags", (PyCFunction
)_wrap_CalculateLayoutEvent_GetFlags
, METH_O
, NULL
},
31190 { (char *)"CalculateLayoutEvent_SetRect", (PyCFunction
) _wrap_CalculateLayoutEvent_SetRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31191 { (char *)"CalculateLayoutEvent_GetRect", (PyCFunction
)_wrap_CalculateLayoutEvent_GetRect
, METH_O
, NULL
},
31192 { (char *)"CalculateLayoutEvent_swigregister", CalculateLayoutEvent_swigregister
, METH_VARARGS
, NULL
},
31193 { (char *)"CalculateLayoutEvent_swiginit", CalculateLayoutEvent_swiginit
, METH_VARARGS
, NULL
},
31194 { (char *)"new_SashLayoutWindow", (PyCFunction
) _wrap_new_SashLayoutWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31195 { (char *)"new_PreSashLayoutWindow", (PyCFunction
)_wrap_new_PreSashLayoutWindow
, METH_NOARGS
, NULL
},
31196 { (char *)"SashLayoutWindow_Create", (PyCFunction
) _wrap_SashLayoutWindow_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31197 { (char *)"SashLayoutWindow_GetAlignment", (PyCFunction
)_wrap_SashLayoutWindow_GetAlignment
, METH_O
, NULL
},
31198 { (char *)"SashLayoutWindow_GetOrientation", (PyCFunction
)_wrap_SashLayoutWindow_GetOrientation
, METH_O
, NULL
},
31199 { (char *)"SashLayoutWindow_SetAlignment", (PyCFunction
) _wrap_SashLayoutWindow_SetAlignment
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31200 { (char *)"SashLayoutWindow_SetDefaultSize", (PyCFunction
) _wrap_SashLayoutWindow_SetDefaultSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31201 { (char *)"SashLayoutWindow_SetOrientation", (PyCFunction
) _wrap_SashLayoutWindow_SetOrientation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31202 { (char *)"SashLayoutWindow_swigregister", SashLayoutWindow_swigregister
, METH_VARARGS
, NULL
},
31203 { (char *)"SashLayoutWindow_swiginit", SashLayoutWindow_swiginit
, METH_VARARGS
, NULL
},
31204 { (char *)"new_LayoutAlgorithm", (PyCFunction
)_wrap_new_LayoutAlgorithm
, METH_NOARGS
, NULL
},
31205 { (char *)"delete_LayoutAlgorithm", (PyCFunction
)_wrap_delete_LayoutAlgorithm
, METH_O
, NULL
},
31206 { (char *)"LayoutAlgorithm_LayoutMDIFrame", (PyCFunction
) _wrap_LayoutAlgorithm_LayoutMDIFrame
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31207 { (char *)"LayoutAlgorithm_LayoutFrame", (PyCFunction
) _wrap_LayoutAlgorithm_LayoutFrame
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31208 { (char *)"LayoutAlgorithm_LayoutWindow", (PyCFunction
) _wrap_LayoutAlgorithm_LayoutWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31209 { (char *)"LayoutAlgorithm_swigregister", LayoutAlgorithm_swigregister
, METH_VARARGS
, NULL
},
31210 { (char *)"LayoutAlgorithm_swiginit", LayoutAlgorithm_swiginit
, METH_VARARGS
, NULL
},
31211 { (char *)"new_PopupWindow", (PyCFunction
) _wrap_new_PopupWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31212 { (char *)"new_PrePopupWindow", (PyCFunction
)_wrap_new_PrePopupWindow
, METH_NOARGS
, NULL
},
31213 { (char *)"PopupWindow_Create", (PyCFunction
) _wrap_PopupWindow_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31214 { (char *)"PopupWindow_Position", (PyCFunction
) _wrap_PopupWindow_Position
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31215 { (char *)"PopupWindow_swigregister", PopupWindow_swigregister
, METH_VARARGS
, NULL
},
31216 { (char *)"PopupWindow_swiginit", PopupWindow_swiginit
, METH_VARARGS
, NULL
},
31217 { (char *)"new_PopupTransientWindow", (PyCFunction
) _wrap_new_PopupTransientWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31218 { (char *)"new_PrePopupTransientWindow", (PyCFunction
)_wrap_new_PrePopupTransientWindow
, METH_NOARGS
, NULL
},
31219 { (char *)"PopupTransientWindow__setCallbackInfo", (PyCFunction
) _wrap_PopupTransientWindow__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31220 { (char *)"PopupTransientWindow_Popup", (PyCFunction
) _wrap_PopupTransientWindow_Popup
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31221 { (char *)"PopupTransientWindow_Dismiss", (PyCFunction
)_wrap_PopupTransientWindow_Dismiss
, METH_O
, NULL
},
31222 { (char *)"PopupTransientWindow_swigregister", PopupTransientWindow_swigregister
, METH_VARARGS
, NULL
},
31223 { (char *)"PopupTransientWindow_swiginit", PopupTransientWindow_swiginit
, METH_VARARGS
, NULL
},
31224 { (char *)"new_TipWindow", (PyCFunction
) _wrap_new_TipWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31225 { (char *)"TipWindow_SetBoundingRect", (PyCFunction
) _wrap_TipWindow_SetBoundingRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31226 { (char *)"TipWindow_Close", (PyCFunction
)_wrap_TipWindow_Close
, METH_O
, NULL
},
31227 { (char *)"TipWindow_swigregister", TipWindow_swigregister
, METH_VARARGS
, NULL
},
31228 { (char *)"TipWindow_swiginit", TipWindow_swiginit
, METH_VARARGS
, NULL
},
31229 { (char *)"new_VScrolledWindow", (PyCFunction
) _wrap_new_VScrolledWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31230 { (char *)"new_PreVScrolledWindow", (PyCFunction
)_wrap_new_PreVScrolledWindow
, METH_NOARGS
, NULL
},
31231 { (char *)"VScrolledWindow__setCallbackInfo", (PyCFunction
) _wrap_VScrolledWindow__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31232 { (char *)"VScrolledWindow_Create", (PyCFunction
) _wrap_VScrolledWindow_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31233 { (char *)"VScrolledWindow_SetLineCount", (PyCFunction
) _wrap_VScrolledWindow_SetLineCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31234 { (char *)"VScrolledWindow_ScrollToLine", (PyCFunction
) _wrap_VScrolledWindow_ScrollToLine
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31235 { (char *)"VScrolledWindow_RefreshLine", (PyCFunction
) _wrap_VScrolledWindow_RefreshLine
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31236 { (char *)"VScrolledWindow_RefreshLines", (PyCFunction
) _wrap_VScrolledWindow_RefreshLines
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31237 { (char *)"VScrolledWindow_HitTestXY", (PyCFunction
) _wrap_VScrolledWindow_HitTestXY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31238 { (char *)"VScrolledWindow_HitTest", (PyCFunction
) _wrap_VScrolledWindow_HitTest
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31239 { (char *)"VScrolledWindow_RefreshAll", (PyCFunction
)_wrap_VScrolledWindow_RefreshAll
, METH_O
, NULL
},
31240 { (char *)"VScrolledWindow_GetLineCount", (PyCFunction
)_wrap_VScrolledWindow_GetLineCount
, METH_O
, NULL
},
31241 { (char *)"VScrolledWindow_GetVisibleBegin", (PyCFunction
)_wrap_VScrolledWindow_GetVisibleBegin
, METH_O
, NULL
},
31242 { (char *)"VScrolledWindow_GetVisibleEnd", (PyCFunction
)_wrap_VScrolledWindow_GetVisibleEnd
, METH_O
, NULL
},
31243 { (char *)"VScrolledWindow_IsVisible", (PyCFunction
) _wrap_VScrolledWindow_IsVisible
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31244 { (char *)"VScrolledWindow_GetFirstVisibleLine", (PyCFunction
)_wrap_VScrolledWindow_GetFirstVisibleLine
, METH_O
, NULL
},
31245 { (char *)"VScrolledWindow_GetLastVisibleLine", (PyCFunction
)_wrap_VScrolledWindow_GetLastVisibleLine
, METH_O
, NULL
},
31246 { (char *)"VScrolledWindow_FindFirstFromBottom", (PyCFunction
) _wrap_VScrolledWindow_FindFirstFromBottom
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31247 { (char *)"VScrolledWindow_GetLinesHeight", (PyCFunction
) _wrap_VScrolledWindow_GetLinesHeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31248 { (char *)"VScrolledWindow_swigregister", VScrolledWindow_swigregister
, METH_VARARGS
, NULL
},
31249 { (char *)"VScrolledWindow_swiginit", VScrolledWindow_swiginit
, METH_VARARGS
, NULL
},
31250 { (char *)"new_VListBox", (PyCFunction
) _wrap_new_VListBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31251 { (char *)"new_PreVListBox", (PyCFunction
)_wrap_new_PreVListBox
, METH_NOARGS
, NULL
},
31252 { (char *)"VListBox__setCallbackInfo", (PyCFunction
) _wrap_VListBox__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31253 { (char *)"VListBox_Create", (PyCFunction
) _wrap_VListBox_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31254 { (char *)"VListBox_GetItemCount", (PyCFunction
)_wrap_VListBox_GetItemCount
, METH_O
, NULL
},
31255 { (char *)"VListBox_HasMultipleSelection", (PyCFunction
)_wrap_VListBox_HasMultipleSelection
, METH_O
, NULL
},
31256 { (char *)"VListBox_GetSelection", (PyCFunction
)_wrap_VListBox_GetSelection
, METH_O
, NULL
},
31257 { (char *)"VListBox_IsCurrent", (PyCFunction
) _wrap_VListBox_IsCurrent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31258 { (char *)"VListBox_IsSelected", (PyCFunction
) _wrap_VListBox_IsSelected
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31259 { (char *)"VListBox_GetSelectedCount", (PyCFunction
)_wrap_VListBox_GetSelectedCount
, METH_O
, NULL
},
31260 { (char *)"VListBox_GetFirstSelected", (PyCFunction
)_wrap_VListBox_GetFirstSelected
, METH_O
, NULL
},
31261 { (char *)"VListBox_GetNextSelected", (PyCFunction
) _wrap_VListBox_GetNextSelected
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31262 { (char *)"VListBox_GetMargins", (PyCFunction
)_wrap_VListBox_GetMargins
, METH_O
, NULL
},
31263 { (char *)"VListBox_GetSelectionBackground", (PyCFunction
)_wrap_VListBox_GetSelectionBackground
, METH_O
, NULL
},
31264 { (char *)"VListBox_SetItemCount", (PyCFunction
) _wrap_VListBox_SetItemCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31265 { (char *)"VListBox_Clear", (PyCFunction
)_wrap_VListBox_Clear
, METH_O
, NULL
},
31266 { (char *)"VListBox_SetSelection", (PyCFunction
) _wrap_VListBox_SetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31267 { (char *)"VListBox_Select", (PyCFunction
) _wrap_VListBox_Select
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31268 { (char *)"VListBox_SelectRange", (PyCFunction
) _wrap_VListBox_SelectRange
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31269 { (char *)"VListBox_Toggle", (PyCFunction
) _wrap_VListBox_Toggle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31270 { (char *)"VListBox_SelectAll", (PyCFunction
)_wrap_VListBox_SelectAll
, METH_O
, NULL
},
31271 { (char *)"VListBox_DeselectAll", (PyCFunction
)_wrap_VListBox_DeselectAll
, METH_O
, NULL
},
31272 { (char *)"VListBox_SetMargins", (PyCFunction
) _wrap_VListBox_SetMargins
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31273 { (char *)"VListBox_SetMarginsXY", (PyCFunction
) _wrap_VListBox_SetMarginsXY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31274 { (char *)"VListBox_SetSelectionBackground", (PyCFunction
) _wrap_VListBox_SetSelectionBackground
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31275 { (char *)"VListBox_OnDrawSeparator", (PyCFunction
) _wrap_VListBox_OnDrawSeparator
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31276 { (char *)"VListBox_OnDrawBackground", (PyCFunction
) _wrap_VListBox_OnDrawBackground
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31277 { (char *)"VListBox_swigregister", VListBox_swigregister
, METH_VARARGS
, NULL
},
31278 { (char *)"VListBox_swiginit", VListBox_swiginit
, METH_VARARGS
, NULL
},
31279 { (char *)"new_HtmlListBox", (PyCFunction
) _wrap_new_HtmlListBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31280 { (char *)"new_PreHtmlListBox", (PyCFunction
)_wrap_new_PreHtmlListBox
, METH_NOARGS
, NULL
},
31281 { (char *)"HtmlListBox__setCallbackInfo", (PyCFunction
) _wrap_HtmlListBox__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31282 { (char *)"HtmlListBox_Create", (PyCFunction
) _wrap_HtmlListBox_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31283 { (char *)"HtmlListBox_SetItemCount", (PyCFunction
) _wrap_HtmlListBox_SetItemCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31284 { (char *)"HtmlListBox_GetFileSystem", (PyCFunction
)_wrap_HtmlListBox_GetFileSystem
, METH_O
, NULL
},
31285 { (char *)"HtmlListBox_OnLinkClicked", (PyCFunction
) _wrap_HtmlListBox_OnLinkClicked
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31286 { (char *)"HtmlListBox_swigregister", HtmlListBox_swigregister
, METH_VARARGS
, NULL
},
31287 { (char *)"HtmlListBox_swiginit", HtmlListBox_swiginit
, METH_VARARGS
, NULL
},
31288 { (char *)"new_TaskBarIcon", (PyCFunction
)_wrap_new_TaskBarIcon
, METH_NOARGS
, NULL
},
31289 { (char *)"delete_TaskBarIcon", (PyCFunction
)_wrap_delete_TaskBarIcon
, METH_O
, NULL
},
31290 { (char *)"TaskBarIcon__setCallbackInfo", (PyCFunction
) _wrap_TaskBarIcon__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31291 { (char *)"TaskBarIcon_Destroy", (PyCFunction
)_wrap_TaskBarIcon_Destroy
, METH_O
, NULL
},
31292 { (char *)"TaskBarIcon_IsOk", (PyCFunction
)_wrap_TaskBarIcon_IsOk
, METH_O
, NULL
},
31293 { (char *)"TaskBarIcon_IsIconInstalled", (PyCFunction
)_wrap_TaskBarIcon_IsIconInstalled
, METH_O
, NULL
},
31294 { (char *)"TaskBarIcon_SetIcon", (PyCFunction
) _wrap_TaskBarIcon_SetIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31295 { (char *)"TaskBarIcon_RemoveIcon", (PyCFunction
)_wrap_TaskBarIcon_RemoveIcon
, METH_O
, NULL
},
31296 { (char *)"TaskBarIcon_PopupMenu", (PyCFunction
) _wrap_TaskBarIcon_PopupMenu
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31297 { (char *)"TaskBarIcon_swigregister", TaskBarIcon_swigregister
, METH_VARARGS
, NULL
},
31298 { (char *)"TaskBarIcon_swiginit", TaskBarIcon_swiginit
, METH_VARARGS
, NULL
},
31299 { (char *)"new_TaskBarIconEvent", (PyCFunction
) _wrap_new_TaskBarIconEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31300 { (char *)"TaskBarIconEvent_swigregister", TaskBarIconEvent_swigregister
, METH_VARARGS
, NULL
},
31301 { (char *)"TaskBarIconEvent_swiginit", TaskBarIconEvent_swiginit
, METH_VARARGS
, NULL
},
31302 { (char *)"new_ColourData", (PyCFunction
)_wrap_new_ColourData
, METH_NOARGS
, NULL
},
31303 { (char *)"delete_ColourData", (PyCFunction
)_wrap_delete_ColourData
, METH_O
, NULL
},
31304 { (char *)"ColourData_GetChooseFull", (PyCFunction
)_wrap_ColourData_GetChooseFull
, METH_O
, NULL
},
31305 { (char *)"ColourData_GetColour", (PyCFunction
)_wrap_ColourData_GetColour
, METH_O
, NULL
},
31306 { (char *)"ColourData_GetCustomColour", (PyCFunction
) _wrap_ColourData_GetCustomColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31307 { (char *)"ColourData_SetChooseFull", (PyCFunction
) _wrap_ColourData_SetChooseFull
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31308 { (char *)"ColourData_SetColour", (PyCFunction
) _wrap_ColourData_SetColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31309 { (char *)"ColourData_SetCustomColour", (PyCFunction
) _wrap_ColourData_SetCustomColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31310 { (char *)"ColourData_swigregister", ColourData_swigregister
, METH_VARARGS
, NULL
},
31311 { (char *)"ColourData_swiginit", ColourData_swiginit
, METH_VARARGS
, NULL
},
31312 { (char *)"new_ColourDialog", (PyCFunction
) _wrap_new_ColourDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31313 { (char *)"ColourDialog_GetColourData", (PyCFunction
)_wrap_ColourDialog_GetColourData
, METH_O
, NULL
},
31314 { (char *)"ColourDialog_swigregister", ColourDialog_swigregister
, METH_VARARGS
, NULL
},
31315 { (char *)"ColourDialog_swiginit", ColourDialog_swiginit
, METH_VARARGS
, NULL
},
31316 { (char *)"GetColourFromUser", (PyCFunction
) _wrap_GetColourFromUser
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31317 { (char *)"new_DirDialog", (PyCFunction
) _wrap_new_DirDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31318 { (char *)"DirDialog_GetPath", (PyCFunction
)_wrap_DirDialog_GetPath
, METH_O
, NULL
},
31319 { (char *)"DirDialog_GetMessage", (PyCFunction
)_wrap_DirDialog_GetMessage
, METH_O
, NULL
},
31320 { (char *)"DirDialog_SetMessage", (PyCFunction
) _wrap_DirDialog_SetMessage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31321 { (char *)"DirDialog_SetPath", (PyCFunction
) _wrap_DirDialog_SetPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31322 { (char *)"DirDialog_swigregister", DirDialog_swigregister
, METH_VARARGS
, NULL
},
31323 { (char *)"DirDialog_swiginit", DirDialog_swiginit
, METH_VARARGS
, NULL
},
31324 { (char *)"new_FileDialog", (PyCFunction
) _wrap_new_FileDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31325 { (char *)"FileDialog_SetMessage", (PyCFunction
) _wrap_FileDialog_SetMessage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31326 { (char *)"FileDialog_SetPath", (PyCFunction
) _wrap_FileDialog_SetPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31327 { (char *)"FileDialog_SetDirectory", (PyCFunction
) _wrap_FileDialog_SetDirectory
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31328 { (char *)"FileDialog_SetFilename", (PyCFunction
) _wrap_FileDialog_SetFilename
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31329 { (char *)"FileDialog_SetWildcard", (PyCFunction
) _wrap_FileDialog_SetWildcard
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31330 { (char *)"FileDialog_SetFilterIndex", (PyCFunction
) _wrap_FileDialog_SetFilterIndex
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31331 { (char *)"FileDialog_GetMessage", (PyCFunction
)_wrap_FileDialog_GetMessage
, METH_O
, NULL
},
31332 { (char *)"FileDialog_GetPath", (PyCFunction
)_wrap_FileDialog_GetPath
, METH_O
, NULL
},
31333 { (char *)"FileDialog_GetDirectory", (PyCFunction
)_wrap_FileDialog_GetDirectory
, METH_O
, NULL
},
31334 { (char *)"FileDialog_GetFilename", (PyCFunction
)_wrap_FileDialog_GetFilename
, METH_O
, NULL
},
31335 { (char *)"FileDialog_GetWildcard", (PyCFunction
)_wrap_FileDialog_GetWildcard
, METH_O
, NULL
},
31336 { (char *)"FileDialog_GetFilterIndex", (PyCFunction
)_wrap_FileDialog_GetFilterIndex
, METH_O
, NULL
},
31337 { (char *)"FileDialog_GetFilenames", (PyCFunction
)_wrap_FileDialog_GetFilenames
, METH_O
, NULL
},
31338 { (char *)"FileDialog_GetPaths", (PyCFunction
)_wrap_FileDialog_GetPaths
, METH_O
, NULL
},
31339 { (char *)"FileDialog_swigregister", FileDialog_swigregister
, METH_VARARGS
, NULL
},
31340 { (char *)"FileDialog_swiginit", FileDialog_swiginit
, METH_VARARGS
, NULL
},
31341 { (char *)"new_MultiChoiceDialog", (PyCFunction
) _wrap_new_MultiChoiceDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31342 { (char *)"MultiChoiceDialog_SetSelections", (PyCFunction
) _wrap_MultiChoiceDialog_SetSelections
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31343 { (char *)"MultiChoiceDialog_GetSelections", (PyCFunction
)_wrap_MultiChoiceDialog_GetSelections
, METH_O
, NULL
},
31344 { (char *)"MultiChoiceDialog_swigregister", MultiChoiceDialog_swigregister
, METH_VARARGS
, NULL
},
31345 { (char *)"MultiChoiceDialog_swiginit", MultiChoiceDialog_swiginit
, METH_VARARGS
, NULL
},
31346 { (char *)"new_SingleChoiceDialog", (PyCFunction
) _wrap_new_SingleChoiceDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31347 { (char *)"SingleChoiceDialog_GetSelection", (PyCFunction
)_wrap_SingleChoiceDialog_GetSelection
, METH_O
, NULL
},
31348 { (char *)"SingleChoiceDialog_GetStringSelection", (PyCFunction
)_wrap_SingleChoiceDialog_GetStringSelection
, METH_O
, NULL
},
31349 { (char *)"SingleChoiceDialog_SetSelection", (PyCFunction
) _wrap_SingleChoiceDialog_SetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31350 { (char *)"SingleChoiceDialog_swigregister", SingleChoiceDialog_swigregister
, METH_VARARGS
, NULL
},
31351 { (char *)"SingleChoiceDialog_swiginit", SingleChoiceDialog_swiginit
, METH_VARARGS
, NULL
},
31352 { (char *)"new_TextEntryDialog", (PyCFunction
) _wrap_new_TextEntryDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31353 { (char *)"TextEntryDialog_GetValue", (PyCFunction
)_wrap_TextEntryDialog_GetValue
, METH_O
, NULL
},
31354 { (char *)"TextEntryDialog_SetValue", (PyCFunction
) _wrap_TextEntryDialog_SetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31355 { (char *)"TextEntryDialog_swigregister", TextEntryDialog_swigregister
, METH_VARARGS
, NULL
},
31356 { (char *)"TextEntryDialog_swiginit", TextEntryDialog_swiginit
, METH_VARARGS
, NULL
},
31357 { (char *)"new_PasswordEntryDialog", (PyCFunction
) _wrap_new_PasswordEntryDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31358 { (char *)"PasswordEntryDialog_swigregister", PasswordEntryDialog_swigregister
, METH_VARARGS
, NULL
},
31359 { (char *)"PasswordEntryDialog_swiginit", PasswordEntryDialog_swiginit
, METH_VARARGS
, NULL
},
31360 { (char *)"new_NumberEntryDialog", (PyCFunction
) _wrap_new_NumberEntryDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31361 { (char *)"NumberEntryDialog_GetValue", (PyCFunction
)_wrap_NumberEntryDialog_GetValue
, METH_O
, NULL
},
31362 { (char *)"NumberEntryDialog_swigregister", NumberEntryDialog_swigregister
, METH_VARARGS
, NULL
},
31363 { (char *)"NumberEntryDialog_swiginit", NumberEntryDialog_swiginit
, METH_VARARGS
, NULL
},
31364 { (char *)"new_FontData", (PyCFunction
)_wrap_new_FontData
, METH_NOARGS
, NULL
},
31365 { (char *)"delete_FontData", (PyCFunction
)_wrap_delete_FontData
, METH_O
, NULL
},
31366 { (char *)"FontData_EnableEffects", (PyCFunction
) _wrap_FontData_EnableEffects
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31367 { (char *)"FontData_GetAllowSymbols", (PyCFunction
)_wrap_FontData_GetAllowSymbols
, METH_O
, NULL
},
31368 { (char *)"FontData_GetColour", (PyCFunction
)_wrap_FontData_GetColour
, METH_O
, NULL
},
31369 { (char *)"FontData_GetChosenFont", (PyCFunction
)_wrap_FontData_GetChosenFont
, METH_O
, NULL
},
31370 { (char *)"FontData_GetEnableEffects", (PyCFunction
)_wrap_FontData_GetEnableEffects
, METH_O
, NULL
},
31371 { (char *)"FontData_GetInitialFont", (PyCFunction
)_wrap_FontData_GetInitialFont
, METH_O
, NULL
},
31372 { (char *)"FontData_GetShowHelp", (PyCFunction
)_wrap_FontData_GetShowHelp
, METH_O
, NULL
},
31373 { (char *)"FontData_SetAllowSymbols", (PyCFunction
) _wrap_FontData_SetAllowSymbols
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31374 { (char *)"FontData_SetChosenFont", (PyCFunction
) _wrap_FontData_SetChosenFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31375 { (char *)"FontData_SetColour", (PyCFunction
) _wrap_FontData_SetColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31376 { (char *)"FontData_SetInitialFont", (PyCFunction
) _wrap_FontData_SetInitialFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31377 { (char *)"FontData_SetRange", (PyCFunction
) _wrap_FontData_SetRange
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31378 { (char *)"FontData_SetShowHelp", (PyCFunction
) _wrap_FontData_SetShowHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31379 { (char *)"FontData_swigregister", FontData_swigregister
, METH_VARARGS
, NULL
},
31380 { (char *)"FontData_swiginit", FontData_swiginit
, METH_VARARGS
, NULL
},
31381 { (char *)"new_FontDialog", (PyCFunction
) _wrap_new_FontDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31382 { (char *)"FontDialog_GetFontData", (PyCFunction
)_wrap_FontDialog_GetFontData
, METH_O
, NULL
},
31383 { (char *)"FontDialog_swigregister", FontDialog_swigregister
, METH_VARARGS
, NULL
},
31384 { (char *)"FontDialog_swiginit", FontDialog_swiginit
, METH_VARARGS
, NULL
},
31385 { (char *)"GetFontFromUser", (PyCFunction
) _wrap_GetFontFromUser
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31386 { (char *)"new_MessageDialog", (PyCFunction
) _wrap_new_MessageDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31387 { (char *)"MessageDialog_swigregister", MessageDialog_swigregister
, METH_VARARGS
, NULL
},
31388 { (char *)"MessageDialog_swiginit", MessageDialog_swiginit
, METH_VARARGS
, NULL
},
31389 { (char *)"new_ProgressDialog", (PyCFunction
) _wrap_new_ProgressDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31390 { (char *)"ProgressDialog_Update", (PyCFunction
) _wrap_ProgressDialog_Update
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31391 { (char *)"ProgressDialog_Resume", (PyCFunction
)_wrap_ProgressDialog_Resume
, METH_O
, NULL
},
31392 { (char *)"ProgressDialog_swigregister", ProgressDialog_swigregister
, METH_VARARGS
, NULL
},
31393 { (char *)"ProgressDialog_swiginit", ProgressDialog_swiginit
, METH_VARARGS
, NULL
},
31394 { (char *)"new_FindDialogEvent", (PyCFunction
) _wrap_new_FindDialogEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31395 { (char *)"FindDialogEvent_GetFlags", (PyCFunction
)_wrap_FindDialogEvent_GetFlags
, METH_O
, NULL
},
31396 { (char *)"FindDialogEvent_GetFindString", (PyCFunction
)_wrap_FindDialogEvent_GetFindString
, METH_O
, NULL
},
31397 { (char *)"FindDialogEvent_GetReplaceString", (PyCFunction
)_wrap_FindDialogEvent_GetReplaceString
, METH_O
, NULL
},
31398 { (char *)"FindDialogEvent_GetDialog", (PyCFunction
)_wrap_FindDialogEvent_GetDialog
, METH_O
, NULL
},
31399 { (char *)"FindDialogEvent_SetFlags", (PyCFunction
) _wrap_FindDialogEvent_SetFlags
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31400 { (char *)"FindDialogEvent_SetFindString", (PyCFunction
) _wrap_FindDialogEvent_SetFindString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31401 { (char *)"FindDialogEvent_SetReplaceString", (PyCFunction
) _wrap_FindDialogEvent_SetReplaceString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31402 { (char *)"FindDialogEvent_swigregister", FindDialogEvent_swigregister
, METH_VARARGS
, NULL
},
31403 { (char *)"FindDialogEvent_swiginit", FindDialogEvent_swiginit
, METH_VARARGS
, NULL
},
31404 { (char *)"new_FindReplaceData", (PyCFunction
) _wrap_new_FindReplaceData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31405 { (char *)"delete_FindReplaceData", (PyCFunction
)_wrap_delete_FindReplaceData
, METH_O
, NULL
},
31406 { (char *)"FindReplaceData_GetFindString", (PyCFunction
)_wrap_FindReplaceData_GetFindString
, METH_O
, NULL
},
31407 { (char *)"FindReplaceData_GetReplaceString", (PyCFunction
)_wrap_FindReplaceData_GetReplaceString
, METH_O
, NULL
},
31408 { (char *)"FindReplaceData_GetFlags", (PyCFunction
)_wrap_FindReplaceData_GetFlags
, METH_O
, NULL
},
31409 { (char *)"FindReplaceData_SetFlags", (PyCFunction
) _wrap_FindReplaceData_SetFlags
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31410 { (char *)"FindReplaceData_SetFindString", (PyCFunction
) _wrap_FindReplaceData_SetFindString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31411 { (char *)"FindReplaceData_SetReplaceString", (PyCFunction
) _wrap_FindReplaceData_SetReplaceString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31412 { (char *)"FindReplaceData_swigregister", FindReplaceData_swigregister
, METH_VARARGS
, NULL
},
31413 { (char *)"FindReplaceData_swiginit", FindReplaceData_swiginit
, METH_VARARGS
, NULL
},
31414 { (char *)"new_FindReplaceDialog", (PyCFunction
) _wrap_new_FindReplaceDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31415 { (char *)"new_PreFindReplaceDialog", (PyCFunction
)_wrap_new_PreFindReplaceDialog
, METH_NOARGS
, NULL
},
31416 { (char *)"FindReplaceDialog_Create", (PyCFunction
) _wrap_FindReplaceDialog_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31417 { (char *)"FindReplaceDialog_GetData", (PyCFunction
)_wrap_FindReplaceDialog_GetData
, METH_O
, NULL
},
31418 { (char *)"FindReplaceDialog_SetData", (PyCFunction
) _wrap_FindReplaceDialog_SetData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31419 { (char *)"FindReplaceDialog_swigregister", FindReplaceDialog_swigregister
, METH_VARARGS
, NULL
},
31420 { (char *)"FindReplaceDialog_swiginit", FindReplaceDialog_swiginit
, METH_VARARGS
, NULL
},
31421 { (char *)"new_MDIParentFrame", (PyCFunction
) _wrap_new_MDIParentFrame
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31422 { (char *)"new_PreMDIParentFrame", (PyCFunction
)_wrap_new_PreMDIParentFrame
, METH_NOARGS
, NULL
},
31423 { (char *)"MDIParentFrame_Create", (PyCFunction
) _wrap_MDIParentFrame_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31424 { (char *)"MDIParentFrame_ActivateNext", (PyCFunction
)_wrap_MDIParentFrame_ActivateNext
, METH_O
, NULL
},
31425 { (char *)"MDIParentFrame_ActivatePrevious", (PyCFunction
)_wrap_MDIParentFrame_ActivatePrevious
, METH_O
, NULL
},
31426 { (char *)"MDIParentFrame_ArrangeIcons", (PyCFunction
)_wrap_MDIParentFrame_ArrangeIcons
, METH_O
, NULL
},
31427 { (char *)"MDIParentFrame_Cascade", (PyCFunction
)_wrap_MDIParentFrame_Cascade
, METH_O
, NULL
},
31428 { (char *)"MDIParentFrame_GetActiveChild", (PyCFunction
)_wrap_MDIParentFrame_GetActiveChild
, METH_O
, NULL
},
31429 { (char *)"MDIParentFrame_GetClientWindow", (PyCFunction
)_wrap_MDIParentFrame_GetClientWindow
, METH_O
, NULL
},
31430 { (char *)"MDIParentFrame_GetToolBar", (PyCFunction
)_wrap_MDIParentFrame_GetToolBar
, METH_O
, NULL
},
31431 { (char *)"MDIParentFrame_GetWindowMenu", (PyCFunction
)_wrap_MDIParentFrame_GetWindowMenu
, METH_O
, NULL
},
31432 { (char *)"MDIParentFrame_SetWindowMenu", (PyCFunction
) _wrap_MDIParentFrame_SetWindowMenu
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31433 { (char *)"MDIParentFrame_Tile", (PyCFunction
) _wrap_MDIParentFrame_Tile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31434 { (char *)"MDIParentFrame_swigregister", MDIParentFrame_swigregister
, METH_VARARGS
, NULL
},
31435 { (char *)"MDIParentFrame_swiginit", MDIParentFrame_swiginit
, METH_VARARGS
, NULL
},
31436 { (char *)"new_MDIChildFrame", (PyCFunction
) _wrap_new_MDIChildFrame
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31437 { (char *)"new_PreMDIChildFrame", (PyCFunction
)_wrap_new_PreMDIChildFrame
, METH_NOARGS
, NULL
},
31438 { (char *)"MDIChildFrame_Create", (PyCFunction
) _wrap_MDIChildFrame_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31439 { (char *)"MDIChildFrame_Activate", (PyCFunction
)_wrap_MDIChildFrame_Activate
, METH_O
, NULL
},
31440 { (char *)"MDIChildFrame_swigregister", MDIChildFrame_swigregister
, METH_VARARGS
, NULL
},
31441 { (char *)"MDIChildFrame_swiginit", MDIChildFrame_swiginit
, METH_VARARGS
, NULL
},
31442 { (char *)"new_MDIClientWindow", (PyCFunction
) _wrap_new_MDIClientWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31443 { (char *)"new_PreMDIClientWindow", (PyCFunction
)_wrap_new_PreMDIClientWindow
, METH_NOARGS
, NULL
},
31444 { (char *)"MDIClientWindow_Create", (PyCFunction
) _wrap_MDIClientWindow_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31445 { (char *)"MDIClientWindow_swigregister", MDIClientWindow_swigregister
, METH_VARARGS
, NULL
},
31446 { (char *)"MDIClientWindow_swiginit", MDIClientWindow_swiginit
, METH_VARARGS
, NULL
},
31447 { (char *)"new_PyWindow", (PyCFunction
) _wrap_new_PyWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31448 { (char *)"new_PrePyWindow", (PyCFunction
)_wrap_new_PrePyWindow
, METH_NOARGS
, NULL
},
31449 { (char *)"PyWindow__setCallbackInfo", (PyCFunction
) _wrap_PyWindow__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31450 { (char *)"PyWindow_SetBestSize", (PyCFunction
) _wrap_PyWindow_SetBestSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31451 { (char *)"PyWindow_DoEraseBackground", (PyCFunction
) _wrap_PyWindow_DoEraseBackground
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31452 { (char *)"PyWindow_DoMoveWindow", (PyCFunction
) _wrap_PyWindow_DoMoveWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31453 { (char *)"PyWindow_DoSetSize", (PyCFunction
) _wrap_PyWindow_DoSetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31454 { (char *)"PyWindow_DoSetClientSize", (PyCFunction
) _wrap_PyWindow_DoSetClientSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31455 { (char *)"PyWindow_DoSetVirtualSize", (PyCFunction
) _wrap_PyWindow_DoSetVirtualSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31456 { (char *)"PyWindow_DoGetSize", (PyCFunction
)_wrap_PyWindow_DoGetSize
, METH_O
, NULL
},
31457 { (char *)"PyWindow_DoGetClientSize", (PyCFunction
)_wrap_PyWindow_DoGetClientSize
, METH_O
, NULL
},
31458 { (char *)"PyWindow_DoGetPosition", (PyCFunction
)_wrap_PyWindow_DoGetPosition
, METH_O
, NULL
},
31459 { (char *)"PyWindow_DoGetVirtualSize", (PyCFunction
)_wrap_PyWindow_DoGetVirtualSize
, METH_O
, NULL
},
31460 { (char *)"PyWindow_DoGetBestSize", (PyCFunction
)_wrap_PyWindow_DoGetBestSize
, METH_O
, NULL
},
31461 { (char *)"PyWindow_GetDefaultAttributes", (PyCFunction
)_wrap_PyWindow_GetDefaultAttributes
, METH_O
, NULL
},
31462 { (char *)"PyWindow_OnInternalIdle", (PyCFunction
)_wrap_PyWindow_OnInternalIdle
, METH_O
, NULL
},
31463 { (char *)"PyWindow_swigregister", PyWindow_swigregister
, METH_VARARGS
, NULL
},
31464 { (char *)"PyWindow_swiginit", PyWindow_swiginit
, METH_VARARGS
, NULL
},
31465 { (char *)"new_PyPanel", (PyCFunction
) _wrap_new_PyPanel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31466 { (char *)"new_PrePyPanel", (PyCFunction
)_wrap_new_PrePyPanel
, METH_NOARGS
, NULL
},
31467 { (char *)"PyPanel__setCallbackInfo", (PyCFunction
) _wrap_PyPanel__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31468 { (char *)"PyPanel_SetBestSize", (PyCFunction
) _wrap_PyPanel_SetBestSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31469 { (char *)"PyPanel_DoEraseBackground", (PyCFunction
) _wrap_PyPanel_DoEraseBackground
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31470 { (char *)"PyPanel_DoMoveWindow", (PyCFunction
) _wrap_PyPanel_DoMoveWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31471 { (char *)"PyPanel_DoSetSize", (PyCFunction
) _wrap_PyPanel_DoSetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31472 { (char *)"PyPanel_DoSetClientSize", (PyCFunction
) _wrap_PyPanel_DoSetClientSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31473 { (char *)"PyPanel_DoSetVirtualSize", (PyCFunction
) _wrap_PyPanel_DoSetVirtualSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31474 { (char *)"PyPanel_DoGetSize", (PyCFunction
)_wrap_PyPanel_DoGetSize
, METH_O
, NULL
},
31475 { (char *)"PyPanel_DoGetClientSize", (PyCFunction
)_wrap_PyPanel_DoGetClientSize
, METH_O
, NULL
},
31476 { (char *)"PyPanel_DoGetPosition", (PyCFunction
)_wrap_PyPanel_DoGetPosition
, METH_O
, NULL
},
31477 { (char *)"PyPanel_DoGetVirtualSize", (PyCFunction
)_wrap_PyPanel_DoGetVirtualSize
, METH_O
, NULL
},
31478 { (char *)"PyPanel_DoGetBestSize", (PyCFunction
)_wrap_PyPanel_DoGetBestSize
, METH_O
, NULL
},
31479 { (char *)"PyPanel_GetDefaultAttributes", (PyCFunction
)_wrap_PyPanel_GetDefaultAttributes
, METH_O
, NULL
},
31480 { (char *)"PyPanel_OnInternalIdle", (PyCFunction
)_wrap_PyPanel_OnInternalIdle
, METH_O
, NULL
},
31481 { (char *)"PyPanel_swigregister", PyPanel_swigregister
, METH_VARARGS
, NULL
},
31482 { (char *)"PyPanel_swiginit", PyPanel_swiginit
, METH_VARARGS
, NULL
},
31483 { (char *)"new_PyScrolledWindow", (PyCFunction
) _wrap_new_PyScrolledWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31484 { (char *)"new_PrePyScrolledWindow", (PyCFunction
)_wrap_new_PrePyScrolledWindow
, METH_NOARGS
, NULL
},
31485 { (char *)"PyScrolledWindow__setCallbackInfo", (PyCFunction
) _wrap_PyScrolledWindow__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31486 { (char *)"PyScrolledWindow_SetBestSize", (PyCFunction
) _wrap_PyScrolledWindow_SetBestSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31487 { (char *)"PyScrolledWindow_DoEraseBackground", (PyCFunction
) _wrap_PyScrolledWindow_DoEraseBackground
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31488 { (char *)"PyScrolledWindow_DoMoveWindow", (PyCFunction
) _wrap_PyScrolledWindow_DoMoveWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31489 { (char *)"PyScrolledWindow_DoSetSize", (PyCFunction
) _wrap_PyScrolledWindow_DoSetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31490 { (char *)"PyScrolledWindow_DoSetClientSize", (PyCFunction
) _wrap_PyScrolledWindow_DoSetClientSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31491 { (char *)"PyScrolledWindow_DoSetVirtualSize", (PyCFunction
) _wrap_PyScrolledWindow_DoSetVirtualSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31492 { (char *)"PyScrolledWindow_DoGetSize", (PyCFunction
)_wrap_PyScrolledWindow_DoGetSize
, METH_O
, NULL
},
31493 { (char *)"PyScrolledWindow_DoGetClientSize", (PyCFunction
)_wrap_PyScrolledWindow_DoGetClientSize
, METH_O
, NULL
},
31494 { (char *)"PyScrolledWindow_DoGetPosition", (PyCFunction
)_wrap_PyScrolledWindow_DoGetPosition
, METH_O
, NULL
},
31495 { (char *)"PyScrolledWindow_DoGetVirtualSize", (PyCFunction
)_wrap_PyScrolledWindow_DoGetVirtualSize
, METH_O
, NULL
},
31496 { (char *)"PyScrolledWindow_DoGetBestSize", (PyCFunction
)_wrap_PyScrolledWindow_DoGetBestSize
, METH_O
, NULL
},
31497 { (char *)"PyScrolledWindow_GetDefaultAttributes", (PyCFunction
)_wrap_PyScrolledWindow_GetDefaultAttributes
, METH_O
, NULL
},
31498 { (char *)"PyScrolledWindow_OnInternalIdle", (PyCFunction
)_wrap_PyScrolledWindow_OnInternalIdle
, METH_O
, NULL
},
31499 { (char *)"PyScrolledWindow_swigregister", PyScrolledWindow_swigregister
, METH_VARARGS
, NULL
},
31500 { (char *)"PyScrolledWindow_swiginit", PyScrolledWindow_swiginit
, METH_VARARGS
, NULL
},
31501 { (char *)"new_PrintData", _wrap_new_PrintData
, METH_VARARGS
, NULL
},
31502 { (char *)"delete_PrintData", (PyCFunction
)_wrap_delete_PrintData
, METH_O
, NULL
},
31503 { (char *)"PrintData_GetNoCopies", (PyCFunction
)_wrap_PrintData_GetNoCopies
, METH_O
, NULL
},
31504 { (char *)"PrintData_GetCollate", (PyCFunction
)_wrap_PrintData_GetCollate
, METH_O
, NULL
},
31505 { (char *)"PrintData_GetOrientation", (PyCFunction
)_wrap_PrintData_GetOrientation
, METH_O
, NULL
},
31506 { (char *)"PrintData_Ok", (PyCFunction
)_wrap_PrintData_Ok
, METH_O
, NULL
},
31507 { (char *)"PrintData_GetPrinterName", (PyCFunction
)_wrap_PrintData_GetPrinterName
, METH_O
, NULL
},
31508 { (char *)"PrintData_GetColour", (PyCFunction
)_wrap_PrintData_GetColour
, METH_O
, NULL
},
31509 { (char *)"PrintData_GetDuplex", (PyCFunction
)_wrap_PrintData_GetDuplex
, METH_O
, NULL
},
31510 { (char *)"PrintData_GetPaperId", (PyCFunction
)_wrap_PrintData_GetPaperId
, METH_O
, NULL
},
31511 { (char *)"PrintData_GetPaperSize", (PyCFunction
)_wrap_PrintData_GetPaperSize
, METH_O
, NULL
},
31512 { (char *)"PrintData_GetQuality", (PyCFunction
)_wrap_PrintData_GetQuality
, METH_O
, NULL
},
31513 { (char *)"PrintData_GetBin", (PyCFunction
)_wrap_PrintData_GetBin
, METH_O
, NULL
},
31514 { (char *)"PrintData_GetPrintMode", (PyCFunction
)_wrap_PrintData_GetPrintMode
, METH_O
, NULL
},
31515 { (char *)"PrintData_SetNoCopies", (PyCFunction
) _wrap_PrintData_SetNoCopies
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31516 { (char *)"PrintData_SetCollate", (PyCFunction
) _wrap_PrintData_SetCollate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31517 { (char *)"PrintData_SetOrientation", (PyCFunction
) _wrap_PrintData_SetOrientation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31518 { (char *)"PrintData_SetPrinterName", (PyCFunction
) _wrap_PrintData_SetPrinterName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31519 { (char *)"PrintData_SetColour", (PyCFunction
) _wrap_PrintData_SetColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31520 { (char *)"PrintData_SetDuplex", (PyCFunction
) _wrap_PrintData_SetDuplex
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31521 { (char *)"PrintData_SetPaperId", (PyCFunction
) _wrap_PrintData_SetPaperId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31522 { (char *)"PrintData_SetPaperSize", (PyCFunction
) _wrap_PrintData_SetPaperSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31523 { (char *)"PrintData_SetQuality", (PyCFunction
) _wrap_PrintData_SetQuality
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31524 { (char *)"PrintData_SetBin", (PyCFunction
) _wrap_PrintData_SetBin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31525 { (char *)"PrintData_SetPrintMode", (PyCFunction
) _wrap_PrintData_SetPrintMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31526 { (char *)"PrintData_GetFilename", (PyCFunction
)_wrap_PrintData_GetFilename
, METH_O
, NULL
},
31527 { (char *)"PrintData_SetFilename", (PyCFunction
) _wrap_PrintData_SetFilename
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31528 { (char *)"PrintData_GetPrivData", (PyCFunction
)_wrap_PrintData_GetPrivData
, METH_O
, NULL
},
31529 { (char *)"PrintData_SetPrivData", (PyCFunction
) _wrap_PrintData_SetPrivData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31530 { (char *)"PrintData_swigregister", PrintData_swigregister
, METH_VARARGS
, NULL
},
31531 { (char *)"PrintData_swiginit", PrintData_swiginit
, METH_VARARGS
, NULL
},
31532 { (char *)"new_PageSetupDialogData", _wrap_new_PageSetupDialogData
, METH_VARARGS
, NULL
},
31533 { (char *)"delete_PageSetupDialogData", (PyCFunction
)_wrap_delete_PageSetupDialogData
, METH_O
, NULL
},
31534 { (char *)"PageSetupDialogData_EnableHelp", (PyCFunction
) _wrap_PageSetupDialogData_EnableHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31535 { (char *)"PageSetupDialogData_EnableMargins", (PyCFunction
) _wrap_PageSetupDialogData_EnableMargins
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31536 { (char *)"PageSetupDialogData_EnableOrientation", (PyCFunction
) _wrap_PageSetupDialogData_EnableOrientation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31537 { (char *)"PageSetupDialogData_EnablePaper", (PyCFunction
) _wrap_PageSetupDialogData_EnablePaper
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31538 { (char *)"PageSetupDialogData_EnablePrinter", (PyCFunction
) _wrap_PageSetupDialogData_EnablePrinter
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31539 { (char *)"PageSetupDialogData_GetDefaultMinMargins", (PyCFunction
)_wrap_PageSetupDialogData_GetDefaultMinMargins
, METH_O
, NULL
},
31540 { (char *)"PageSetupDialogData_GetEnableMargins", (PyCFunction
)_wrap_PageSetupDialogData_GetEnableMargins
, METH_O
, NULL
},
31541 { (char *)"PageSetupDialogData_GetEnableOrientation", (PyCFunction
)_wrap_PageSetupDialogData_GetEnableOrientation
, METH_O
, NULL
},
31542 { (char *)"PageSetupDialogData_GetEnablePaper", (PyCFunction
)_wrap_PageSetupDialogData_GetEnablePaper
, METH_O
, NULL
},
31543 { (char *)"PageSetupDialogData_GetEnablePrinter", (PyCFunction
)_wrap_PageSetupDialogData_GetEnablePrinter
, METH_O
, NULL
},
31544 { (char *)"PageSetupDialogData_GetEnableHelp", (PyCFunction
)_wrap_PageSetupDialogData_GetEnableHelp
, METH_O
, NULL
},
31545 { (char *)"PageSetupDialogData_GetDefaultInfo", (PyCFunction
)_wrap_PageSetupDialogData_GetDefaultInfo
, METH_O
, NULL
},
31546 { (char *)"PageSetupDialogData_GetMarginTopLeft", (PyCFunction
)_wrap_PageSetupDialogData_GetMarginTopLeft
, METH_O
, NULL
},
31547 { (char *)"PageSetupDialogData_GetMarginBottomRight", (PyCFunction
)_wrap_PageSetupDialogData_GetMarginBottomRight
, METH_O
, NULL
},
31548 { (char *)"PageSetupDialogData_GetMinMarginTopLeft", (PyCFunction
)_wrap_PageSetupDialogData_GetMinMarginTopLeft
, METH_O
, NULL
},
31549 { (char *)"PageSetupDialogData_GetMinMarginBottomRight", (PyCFunction
)_wrap_PageSetupDialogData_GetMinMarginBottomRight
, METH_O
, NULL
},
31550 { (char *)"PageSetupDialogData_GetPaperId", (PyCFunction
)_wrap_PageSetupDialogData_GetPaperId
, METH_O
, NULL
},
31551 { (char *)"PageSetupDialogData_GetPaperSize", (PyCFunction
)_wrap_PageSetupDialogData_GetPaperSize
, METH_O
, NULL
},
31552 { (char *)"PageSetupDialogData_GetPrintData", (PyCFunction
)_wrap_PageSetupDialogData_GetPrintData
, METH_O
, NULL
},
31553 { (char *)"PageSetupDialogData_Ok", (PyCFunction
)_wrap_PageSetupDialogData_Ok
, METH_O
, NULL
},
31554 { (char *)"PageSetupDialogData_SetDefaultInfo", (PyCFunction
) _wrap_PageSetupDialogData_SetDefaultInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31555 { (char *)"PageSetupDialogData_SetDefaultMinMargins", (PyCFunction
) _wrap_PageSetupDialogData_SetDefaultMinMargins
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31556 { (char *)"PageSetupDialogData_SetMarginTopLeft", (PyCFunction
) _wrap_PageSetupDialogData_SetMarginTopLeft
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31557 { (char *)"PageSetupDialogData_SetMarginBottomRight", (PyCFunction
) _wrap_PageSetupDialogData_SetMarginBottomRight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31558 { (char *)"PageSetupDialogData_SetMinMarginTopLeft", (PyCFunction
) _wrap_PageSetupDialogData_SetMinMarginTopLeft
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31559 { (char *)"PageSetupDialogData_SetMinMarginBottomRight", (PyCFunction
) _wrap_PageSetupDialogData_SetMinMarginBottomRight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31560 { (char *)"PageSetupDialogData_SetPaperId", (PyCFunction
) _wrap_PageSetupDialogData_SetPaperId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31561 { (char *)"PageSetupDialogData_SetPaperSize", (PyCFunction
) _wrap_PageSetupDialogData_SetPaperSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31562 { (char *)"PageSetupDialogData_SetPrintData", (PyCFunction
) _wrap_PageSetupDialogData_SetPrintData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31563 { (char *)"PageSetupDialogData_CalculateIdFromPaperSize", (PyCFunction
)_wrap_PageSetupDialogData_CalculateIdFromPaperSize
, METH_O
, NULL
},
31564 { (char *)"PageSetupDialogData_CalculatePaperSizeFromId", (PyCFunction
)_wrap_PageSetupDialogData_CalculatePaperSizeFromId
, METH_O
, NULL
},
31565 { (char *)"PageSetupDialogData_swigregister", PageSetupDialogData_swigregister
, METH_VARARGS
, NULL
},
31566 { (char *)"PageSetupDialogData_swiginit", PageSetupDialogData_swiginit
, METH_VARARGS
, NULL
},
31567 { (char *)"new_PageSetupDialog", (PyCFunction
) _wrap_new_PageSetupDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31568 { (char *)"delete_PageSetupDialog", (PyCFunction
)_wrap_delete_PageSetupDialog
, METH_O
, NULL
},
31569 { (char *)"PageSetupDialog_GetPageSetupData", (PyCFunction
)_wrap_PageSetupDialog_GetPageSetupData
, METH_O
, NULL
},
31570 { (char *)"PageSetupDialog_GetPageSetupDialogData", (PyCFunction
)_wrap_PageSetupDialog_GetPageSetupDialogData
, METH_O
, NULL
},
31571 { (char *)"PageSetupDialog_ShowModal", (PyCFunction
)_wrap_PageSetupDialog_ShowModal
, METH_O
, NULL
},
31572 { (char *)"PageSetupDialog_swigregister", PageSetupDialog_swigregister
, METH_VARARGS
, NULL
},
31573 { (char *)"PageSetupDialog_swiginit", PageSetupDialog_swiginit
, METH_VARARGS
, NULL
},
31574 { (char *)"new_PrintDialogData", _wrap_new_PrintDialogData
, METH_VARARGS
, NULL
},
31575 { (char *)"delete_PrintDialogData", (PyCFunction
)_wrap_delete_PrintDialogData
, METH_O
, NULL
},
31576 { (char *)"PrintDialogData_GetFromPage", (PyCFunction
)_wrap_PrintDialogData_GetFromPage
, METH_O
, NULL
},
31577 { (char *)"PrintDialogData_GetToPage", (PyCFunction
)_wrap_PrintDialogData_GetToPage
, METH_O
, NULL
},
31578 { (char *)"PrintDialogData_GetMinPage", (PyCFunction
)_wrap_PrintDialogData_GetMinPage
, METH_O
, NULL
},
31579 { (char *)"PrintDialogData_GetMaxPage", (PyCFunction
)_wrap_PrintDialogData_GetMaxPage
, METH_O
, NULL
},
31580 { (char *)"PrintDialogData_GetNoCopies", (PyCFunction
)_wrap_PrintDialogData_GetNoCopies
, METH_O
, NULL
},
31581 { (char *)"PrintDialogData_GetAllPages", (PyCFunction
)_wrap_PrintDialogData_GetAllPages
, METH_O
, NULL
},
31582 { (char *)"PrintDialogData_GetSelection", (PyCFunction
)_wrap_PrintDialogData_GetSelection
, METH_O
, NULL
},
31583 { (char *)"PrintDialogData_GetCollate", (PyCFunction
)_wrap_PrintDialogData_GetCollate
, METH_O
, NULL
},
31584 { (char *)"PrintDialogData_GetPrintToFile", (PyCFunction
)_wrap_PrintDialogData_GetPrintToFile
, METH_O
, NULL
},
31585 { (char *)"PrintDialogData_SetFromPage", (PyCFunction
) _wrap_PrintDialogData_SetFromPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31586 { (char *)"PrintDialogData_SetToPage", (PyCFunction
) _wrap_PrintDialogData_SetToPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31587 { (char *)"PrintDialogData_SetMinPage", (PyCFunction
) _wrap_PrintDialogData_SetMinPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31588 { (char *)"PrintDialogData_SetMaxPage", (PyCFunction
) _wrap_PrintDialogData_SetMaxPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31589 { (char *)"PrintDialogData_SetNoCopies", (PyCFunction
) _wrap_PrintDialogData_SetNoCopies
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31590 { (char *)"PrintDialogData_SetAllPages", (PyCFunction
) _wrap_PrintDialogData_SetAllPages
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31591 { (char *)"PrintDialogData_SetSelection", (PyCFunction
) _wrap_PrintDialogData_SetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31592 { (char *)"PrintDialogData_SetCollate", (PyCFunction
) _wrap_PrintDialogData_SetCollate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31593 { (char *)"PrintDialogData_SetPrintToFile", (PyCFunction
) _wrap_PrintDialogData_SetPrintToFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31594 { (char *)"PrintDialogData_EnablePrintToFile", (PyCFunction
) _wrap_PrintDialogData_EnablePrintToFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31595 { (char *)"PrintDialogData_EnableSelection", (PyCFunction
) _wrap_PrintDialogData_EnableSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31596 { (char *)"PrintDialogData_EnablePageNumbers", (PyCFunction
) _wrap_PrintDialogData_EnablePageNumbers
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31597 { (char *)"PrintDialogData_EnableHelp", (PyCFunction
) _wrap_PrintDialogData_EnableHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31598 { (char *)"PrintDialogData_GetEnablePrintToFile", (PyCFunction
)_wrap_PrintDialogData_GetEnablePrintToFile
, METH_O
, NULL
},
31599 { (char *)"PrintDialogData_GetEnableSelection", (PyCFunction
)_wrap_PrintDialogData_GetEnableSelection
, METH_O
, NULL
},
31600 { (char *)"PrintDialogData_GetEnablePageNumbers", (PyCFunction
)_wrap_PrintDialogData_GetEnablePageNumbers
, METH_O
, NULL
},
31601 { (char *)"PrintDialogData_GetEnableHelp", (PyCFunction
)_wrap_PrintDialogData_GetEnableHelp
, METH_O
, NULL
},
31602 { (char *)"PrintDialogData_Ok", (PyCFunction
)_wrap_PrintDialogData_Ok
, METH_O
, NULL
},
31603 { (char *)"PrintDialogData_GetPrintData", (PyCFunction
)_wrap_PrintDialogData_GetPrintData
, METH_O
, NULL
},
31604 { (char *)"PrintDialogData_SetPrintData", (PyCFunction
) _wrap_PrintDialogData_SetPrintData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31605 { (char *)"PrintDialogData_swigregister", PrintDialogData_swigregister
, METH_VARARGS
, NULL
},
31606 { (char *)"PrintDialogData_swiginit", PrintDialogData_swiginit
, METH_VARARGS
, NULL
},
31607 { (char *)"new_PrintDialog", (PyCFunction
) _wrap_new_PrintDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31608 { (char *)"delete_PrintDialog", (PyCFunction
)_wrap_delete_PrintDialog
, METH_O
, NULL
},
31609 { (char *)"PrintDialog_ShowModal", (PyCFunction
)_wrap_PrintDialog_ShowModal
, METH_O
, NULL
},
31610 { (char *)"PrintDialog_GetPrintDialogData", (PyCFunction
)_wrap_PrintDialog_GetPrintDialogData
, METH_O
, NULL
},
31611 { (char *)"PrintDialog_GetPrintData", (PyCFunction
)_wrap_PrintDialog_GetPrintData
, METH_O
, NULL
},
31612 { (char *)"PrintDialog_GetPrintDC", (PyCFunction
)_wrap_PrintDialog_GetPrintDC
, METH_O
, NULL
},
31613 { (char *)"PrintDialog_swigregister", PrintDialog_swigregister
, METH_VARARGS
, NULL
},
31614 { (char *)"PrintDialog_swiginit", PrintDialog_swiginit
, METH_VARARGS
, NULL
},
31615 { (char *)"new_Printer", (PyCFunction
) _wrap_new_Printer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31616 { (char *)"delete_Printer", (PyCFunction
)_wrap_delete_Printer
, METH_O
, NULL
},
31617 { (char *)"Printer_CreateAbortWindow", (PyCFunction
) _wrap_Printer_CreateAbortWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31618 { (char *)"Printer_ReportError", (PyCFunction
) _wrap_Printer_ReportError
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31619 { (char *)"Printer_Setup", (PyCFunction
) _wrap_Printer_Setup
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31620 { (char *)"Printer_Print", (PyCFunction
) _wrap_Printer_Print
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31621 { (char *)"Printer_PrintDialog", (PyCFunction
) _wrap_Printer_PrintDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31622 { (char *)"Printer_GetPrintDialogData", (PyCFunction
)_wrap_Printer_GetPrintDialogData
, METH_O
, NULL
},
31623 { (char *)"Printer_GetAbort", (PyCFunction
)_wrap_Printer_GetAbort
, METH_O
, NULL
},
31624 { (char *)"Printer_GetLastError", (PyCFunction
)_wrap_Printer_GetLastError
, METH_NOARGS
, NULL
},
31625 { (char *)"Printer_swigregister", Printer_swigregister
, METH_VARARGS
, NULL
},
31626 { (char *)"Printer_swiginit", Printer_swiginit
, METH_VARARGS
, NULL
},
31627 { (char *)"new_Printout", (PyCFunction
) _wrap_new_Printout
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31628 { (char *)"delete_Printout", (PyCFunction
)_wrap_delete_Printout
, METH_O
, NULL
},
31629 { (char *)"Printout__setCallbackInfo", (PyCFunction
) _wrap_Printout__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31630 { (char *)"Printout_GetTitle", (PyCFunction
)_wrap_Printout_GetTitle
, METH_O
, NULL
},
31631 { (char *)"Printout_GetDC", (PyCFunction
)_wrap_Printout_GetDC
, METH_O
, NULL
},
31632 { (char *)"Printout_SetDC", (PyCFunction
) _wrap_Printout_SetDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31633 { (char *)"Printout_SetPageSizePixels", (PyCFunction
) _wrap_Printout_SetPageSizePixels
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31634 { (char *)"Printout_GetPageSizePixels", (PyCFunction
)_wrap_Printout_GetPageSizePixels
, METH_O
, NULL
},
31635 { (char *)"Printout_SetPageSizeMM", (PyCFunction
) _wrap_Printout_SetPageSizeMM
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31636 { (char *)"Printout_GetPageSizeMM", (PyCFunction
)_wrap_Printout_GetPageSizeMM
, METH_O
, NULL
},
31637 { (char *)"Printout_SetPPIScreen", (PyCFunction
) _wrap_Printout_SetPPIScreen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31638 { (char *)"Printout_GetPPIScreen", (PyCFunction
)_wrap_Printout_GetPPIScreen
, METH_O
, NULL
},
31639 { (char *)"Printout_SetPPIPrinter", (PyCFunction
) _wrap_Printout_SetPPIPrinter
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31640 { (char *)"Printout_GetPPIPrinter", (PyCFunction
)_wrap_Printout_GetPPIPrinter
, METH_O
, NULL
},
31641 { (char *)"Printout_IsPreview", (PyCFunction
)_wrap_Printout_IsPreview
, METH_O
, NULL
},
31642 { (char *)"Printout_SetIsPreview", (PyCFunction
) _wrap_Printout_SetIsPreview
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31643 { (char *)"Printout_OnBeginDocument", (PyCFunction
) _wrap_Printout_OnBeginDocument
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31644 { (char *)"Printout_OnEndDocument", (PyCFunction
)_wrap_Printout_OnEndDocument
, METH_O
, NULL
},
31645 { (char *)"Printout_OnBeginPrinting", (PyCFunction
)_wrap_Printout_OnBeginPrinting
, METH_O
, NULL
},
31646 { (char *)"Printout_OnEndPrinting", (PyCFunction
)_wrap_Printout_OnEndPrinting
, METH_O
, NULL
},
31647 { (char *)"Printout_OnPreparePrinting", (PyCFunction
)_wrap_Printout_OnPreparePrinting
, METH_O
, NULL
},
31648 { (char *)"Printout_HasPage", (PyCFunction
) _wrap_Printout_HasPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31649 { (char *)"Printout_GetPageInfo", (PyCFunction
)_wrap_Printout_GetPageInfo
, METH_O
, NULL
},
31650 { (char *)"Printout_swigregister", Printout_swigregister
, METH_VARARGS
, NULL
},
31651 { (char *)"Printout_swiginit", Printout_swiginit
, METH_VARARGS
, NULL
},
31652 { (char *)"new_PreviewCanvas", (PyCFunction
) _wrap_new_PreviewCanvas
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31653 { (char *)"PreviewCanvas_swigregister", PreviewCanvas_swigregister
, METH_VARARGS
, NULL
},
31654 { (char *)"PreviewCanvas_swiginit", PreviewCanvas_swiginit
, METH_VARARGS
, NULL
},
31655 { (char *)"new_PreviewFrame", (PyCFunction
) _wrap_new_PreviewFrame
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31656 { (char *)"PreviewFrame_Initialize", (PyCFunction
)_wrap_PreviewFrame_Initialize
, METH_O
, NULL
},
31657 { (char *)"PreviewFrame_CreateControlBar", (PyCFunction
)_wrap_PreviewFrame_CreateControlBar
, METH_O
, NULL
},
31658 { (char *)"PreviewFrame_CreateCanvas", (PyCFunction
)_wrap_PreviewFrame_CreateCanvas
, METH_O
, NULL
},
31659 { (char *)"PreviewFrame_GetControlBar", (PyCFunction
)_wrap_PreviewFrame_GetControlBar
, METH_O
, NULL
},
31660 { (char *)"PreviewFrame_swigregister", PreviewFrame_swigregister
, METH_VARARGS
, NULL
},
31661 { (char *)"PreviewFrame_swiginit", PreviewFrame_swiginit
, METH_VARARGS
, NULL
},
31662 { (char *)"new_PreviewControlBar", (PyCFunction
) _wrap_new_PreviewControlBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31663 { (char *)"PreviewControlBar_GetZoomControl", (PyCFunction
)_wrap_PreviewControlBar_GetZoomControl
, METH_O
, NULL
},
31664 { (char *)"PreviewControlBar_SetZoomControl", (PyCFunction
) _wrap_PreviewControlBar_SetZoomControl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31665 { (char *)"PreviewControlBar_GetPrintPreview", (PyCFunction
)_wrap_PreviewControlBar_GetPrintPreview
, METH_O
, NULL
},
31666 { (char *)"PreviewControlBar_OnNext", (PyCFunction
)_wrap_PreviewControlBar_OnNext
, METH_O
, NULL
},
31667 { (char *)"PreviewControlBar_OnPrevious", (PyCFunction
)_wrap_PreviewControlBar_OnPrevious
, METH_O
, NULL
},
31668 { (char *)"PreviewControlBar_OnFirst", (PyCFunction
)_wrap_PreviewControlBar_OnFirst
, METH_O
, NULL
},
31669 { (char *)"PreviewControlBar_OnLast", (PyCFunction
)_wrap_PreviewControlBar_OnLast
, METH_O
, NULL
},
31670 { (char *)"PreviewControlBar_OnGoto", (PyCFunction
)_wrap_PreviewControlBar_OnGoto
, METH_O
, NULL
},
31671 { (char *)"PreviewControlBar_swigregister", PreviewControlBar_swigregister
, METH_VARARGS
, NULL
},
31672 { (char *)"PreviewControlBar_swiginit", PreviewControlBar_swiginit
, METH_VARARGS
, NULL
},
31673 { (char *)"new_PrintPreview", _wrap_new_PrintPreview
, METH_VARARGS
, NULL
},
31674 { (char *)"delete_PrintPreview", (PyCFunction
)_wrap_delete_PrintPreview
, METH_O
, NULL
},
31675 { (char *)"PrintPreview_SetCurrentPage", (PyCFunction
) _wrap_PrintPreview_SetCurrentPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31676 { (char *)"PrintPreview_GetCurrentPage", (PyCFunction
)_wrap_PrintPreview_GetCurrentPage
, METH_O
, NULL
},
31677 { (char *)"PrintPreview_SetPrintout", (PyCFunction
) _wrap_PrintPreview_SetPrintout
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31678 { (char *)"PrintPreview_GetPrintout", (PyCFunction
)_wrap_PrintPreview_GetPrintout
, METH_O
, NULL
},
31679 { (char *)"PrintPreview_GetPrintoutForPrinting", (PyCFunction
)_wrap_PrintPreview_GetPrintoutForPrinting
, METH_O
, NULL
},
31680 { (char *)"PrintPreview_SetFrame", (PyCFunction
) _wrap_PrintPreview_SetFrame
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31681 { (char *)"PrintPreview_SetCanvas", (PyCFunction
) _wrap_PrintPreview_SetCanvas
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31682 { (char *)"PrintPreview_GetFrame", (PyCFunction
)_wrap_PrintPreview_GetFrame
, METH_O
, NULL
},
31683 { (char *)"PrintPreview_GetCanvas", (PyCFunction
)_wrap_PrintPreview_GetCanvas
, METH_O
, NULL
},
31684 { (char *)"PrintPreview_PaintPage", (PyCFunction
) _wrap_PrintPreview_PaintPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31685 { (char *)"PrintPreview_DrawBlankPage", (PyCFunction
) _wrap_PrintPreview_DrawBlankPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31686 { (char *)"PrintPreview_RenderPage", (PyCFunction
) _wrap_PrintPreview_RenderPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31687 { (char *)"PrintPreview_AdjustScrollbars", (PyCFunction
) _wrap_PrintPreview_AdjustScrollbars
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31688 { (char *)"PrintPreview_GetPrintDialogData", (PyCFunction
)_wrap_PrintPreview_GetPrintDialogData
, METH_O
, NULL
},
31689 { (char *)"PrintPreview_SetZoom", (PyCFunction
) _wrap_PrintPreview_SetZoom
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31690 { (char *)"PrintPreview_GetZoom", (PyCFunction
)_wrap_PrintPreview_GetZoom
, METH_O
, NULL
},
31691 { (char *)"PrintPreview_GetMaxPage", (PyCFunction
)_wrap_PrintPreview_GetMaxPage
, METH_O
, NULL
},
31692 { (char *)"PrintPreview_GetMinPage", (PyCFunction
)_wrap_PrintPreview_GetMinPage
, METH_O
, NULL
},
31693 { (char *)"PrintPreview_Ok", (PyCFunction
)_wrap_PrintPreview_Ok
, METH_O
, NULL
},
31694 { (char *)"PrintPreview_SetOk", (PyCFunction
) _wrap_PrintPreview_SetOk
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31695 { (char *)"PrintPreview_Print", (PyCFunction
) _wrap_PrintPreview_Print
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31696 { (char *)"PrintPreview_DetermineScaling", (PyCFunction
)_wrap_PrintPreview_DetermineScaling
, METH_O
, NULL
},
31697 { (char *)"PrintPreview_swigregister", PrintPreview_swigregister
, METH_VARARGS
, NULL
},
31698 { (char *)"PrintPreview_swiginit", PrintPreview_swiginit
, METH_VARARGS
, NULL
},
31699 { (char *)"new_PyPrintPreview", _wrap_new_PyPrintPreview
, METH_VARARGS
, NULL
},
31700 { (char *)"PyPrintPreview__setCallbackInfo", (PyCFunction
) _wrap_PyPrintPreview__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31701 { (char *)"PyPrintPreview_swigregister", PyPrintPreview_swigregister
, METH_VARARGS
, NULL
},
31702 { (char *)"PyPrintPreview_swiginit", PyPrintPreview_swiginit
, METH_VARARGS
, NULL
},
31703 { (char *)"new_PyPreviewFrame", (PyCFunction
) _wrap_new_PyPreviewFrame
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31704 { (char *)"PyPreviewFrame__setCallbackInfo", (PyCFunction
) _wrap_PyPreviewFrame__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31705 { (char *)"PyPreviewFrame_SetPreviewCanvas", (PyCFunction
) _wrap_PyPreviewFrame_SetPreviewCanvas
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31706 { (char *)"PyPreviewFrame_SetControlBar", (PyCFunction
) _wrap_PyPreviewFrame_SetControlBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31707 { (char *)"PyPreviewFrame_Initialize", (PyCFunction
)_wrap_PyPreviewFrame_Initialize
, METH_O
, NULL
},
31708 { (char *)"PyPreviewFrame_CreateCanvas", (PyCFunction
)_wrap_PyPreviewFrame_CreateCanvas
, METH_O
, NULL
},
31709 { (char *)"PyPreviewFrame_CreateControlBar", (PyCFunction
)_wrap_PyPreviewFrame_CreateControlBar
, METH_O
, NULL
},
31710 { (char *)"PyPreviewFrame_swigregister", PyPreviewFrame_swigregister
, METH_VARARGS
, NULL
},
31711 { (char *)"PyPreviewFrame_swiginit", PyPreviewFrame_swiginit
, METH_VARARGS
, NULL
},
31712 { (char *)"new_PyPreviewControlBar", (PyCFunction
) _wrap_new_PyPreviewControlBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31713 { (char *)"PyPreviewControlBar__setCallbackInfo", (PyCFunction
) _wrap_PyPreviewControlBar__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31714 { (char *)"PyPreviewControlBar_SetPrintPreview", (PyCFunction
) _wrap_PyPreviewControlBar_SetPrintPreview
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31715 { (char *)"PyPreviewControlBar_CreateButtons", (PyCFunction
)_wrap_PyPreviewControlBar_CreateButtons
, METH_O
, NULL
},
31716 { (char *)"PyPreviewControlBar_SetZoomControl", (PyCFunction
) _wrap_PyPreviewControlBar_SetZoomControl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31717 { (char *)"PyPreviewControlBar_swigregister", PyPreviewControlBar_swigregister
, METH_VARARGS
, NULL
},
31718 { (char *)"PyPreviewControlBar_swiginit", PyPreviewControlBar_swiginit
, METH_VARARGS
, NULL
},
31719 { NULL
, NULL
, 0, NULL
}
31723 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (BEGIN) -------- */
31725 static void *_p_wxPyPreviewFrameTo_p_wxPreviewFrame(void *x
) {
31726 return (void *)((wxPreviewFrame
*) ((wxPyPreviewFrame
*) x
));
31728 static void *_p_wxContextMenuEventTo_p_wxEvent(void *x
) {
31729 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
31731 static void *_p_wxMenuEventTo_p_wxEvent(void *x
) {
31732 return (void *)((wxEvent
*) ((wxMenuEvent
*) x
));
31734 static void *_p_wxCloseEventTo_p_wxEvent(void *x
) {
31735 return (void *)((wxEvent
*) ((wxCloseEvent
*) x
));
31737 static void *_p_wxMouseEventTo_p_wxEvent(void *x
) {
31738 return (void *)((wxEvent
*) ((wxMouseEvent
*) x
));
31740 static void *_p_wxEraseEventTo_p_wxEvent(void *x
) {
31741 return (void *)((wxEvent
*) ((wxEraseEvent
*) x
));
31743 static void *_p_wxSetCursorEventTo_p_wxEvent(void *x
) {
31744 return (void *)((wxEvent
*) ((wxSetCursorEvent
*) x
));
31746 static void *_p_wxSplitterEventTo_p_wxEvent(void *x
) {
31747 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*) ((wxSplitterEvent
*) x
));
31749 static void *_p_wxInitDialogEventTo_p_wxEvent(void *x
) {
31750 return (void *)((wxEvent
*) ((wxInitDialogEvent
*) x
));
31752 static void *_p_wxScrollEventTo_p_wxEvent(void *x
) {
31753 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxScrollEvent
*) x
));
31755 static void *_p_wxFindDialogEventTo_p_wxEvent(void *x
) {
31756 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxFindDialogEvent
*) x
));
31758 static void *_p_wxNotifyEventTo_p_wxEvent(void *x
) {
31759 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxNotifyEvent
*) x
));
31761 static void *_p_wxPyEventTo_p_wxEvent(void *x
) {
31762 return (void *)((wxEvent
*) ((wxPyEvent
*) x
));
31764 static void *_p_wxCalculateLayoutEventTo_p_wxEvent(void *x
) {
31765 return (void *)((wxEvent
*) ((wxCalculateLayoutEvent
*) x
));
31767 static void *_p_wxIdleEventTo_p_wxEvent(void *x
) {
31768 return (void *)((wxEvent
*) ((wxIdleEvent
*) x
));
31770 static void *_p_wxWindowCreateEventTo_p_wxEvent(void *x
) {
31771 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
31773 static void *_p_wxQueryNewPaletteEventTo_p_wxEvent(void *x
) {
31774 return (void *)((wxEvent
*) ((wxQueryNewPaletteEvent
*) x
));
31776 static void *_p_wxMaximizeEventTo_p_wxEvent(void *x
) {
31777 return (void *)((wxEvent
*) ((wxMaximizeEvent
*) x
));
31779 static void *_p_wxIconizeEventTo_p_wxEvent(void *x
) {
31780 return (void *)((wxEvent
*) ((wxIconizeEvent
*) x
));
31782 static void *_p_wxActivateEventTo_p_wxEvent(void *x
) {
31783 return (void *)((wxEvent
*) ((wxActivateEvent
*) x
));
31785 static void *_p_wxSizeEventTo_p_wxEvent(void *x
) {
31786 return (void *)((wxEvent
*) ((wxSizeEvent
*) x
));
31788 static void *_p_wxMoveEventTo_p_wxEvent(void *x
) {
31789 return (void *)((wxEvent
*) ((wxMoveEvent
*) x
));
31791 static void *_p_wxDateEventTo_p_wxEvent(void *x
) {
31792 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxDateEvent
*) x
));
31794 static void *_p_wxClipboardTextEventTo_p_wxEvent(void *x
) {
31795 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxClipboardTextEvent
*) x
));
31797 static void *_p_wxPaintEventTo_p_wxEvent(void *x
) {
31798 return (void *)((wxEvent
*) ((wxPaintEvent
*) x
));
31800 static void *_p_wxNcPaintEventTo_p_wxEvent(void *x
) {
31801 return (void *)((wxEvent
*) ((wxNcPaintEvent
*) x
));
31803 static void *_p_wxUpdateUIEventTo_p_wxEvent(void *x
) {
31804 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
31806 static void *_p_wxPaletteChangedEventTo_p_wxEvent(void *x
) {
31807 return (void *)((wxEvent
*) ((wxPaletteChangedEvent
*) x
));
31809 static void *_p_wxDisplayChangedEventTo_p_wxEvent(void *x
) {
31810 return (void *)((wxEvent
*) ((wxDisplayChangedEvent
*) x
));
31812 static void *_p_wxMouseCaptureChangedEventTo_p_wxEvent(void *x
) {
31813 return (void *)((wxEvent
*) ((wxMouseCaptureChangedEvent
*) x
));
31815 static void *_p_wxSysColourChangedEventTo_p_wxEvent(void *x
) {
31816 return (void *)((wxEvent
*) ((wxSysColourChangedEvent
*) x
));
31818 static void *_p_wxDropFilesEventTo_p_wxEvent(void *x
) {
31819 return (void *)((wxEvent
*) ((wxDropFilesEvent
*) x
));
31821 static void *_p_wxFocusEventTo_p_wxEvent(void *x
) {
31822 return (void *)((wxEvent
*) ((wxFocusEvent
*) x
));
31824 static void *_p_wxChildFocusEventTo_p_wxEvent(void *x
) {
31825 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
31827 static void *_p_wxSashEventTo_p_wxEvent(void *x
) {
31828 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxSashEvent
*) x
));
31830 static void *_p_wxQueryLayoutInfoEventTo_p_wxEvent(void *x
) {
31831 return (void *)((wxEvent
*) ((wxQueryLayoutInfoEvent
*) x
));
31833 static void *_p_wxShowEventTo_p_wxEvent(void *x
) {
31834 return (void *)((wxEvent
*) ((wxShowEvent
*) x
));
31836 static void *_p_wxCommandEventTo_p_wxEvent(void *x
) {
31837 return (void *)((wxEvent
*) ((wxCommandEvent
*) x
));
31839 static void *_p_wxPyCommandEventTo_p_wxEvent(void *x
) {
31840 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
31842 static void *_p_wxWindowDestroyEventTo_p_wxEvent(void *x
) {
31843 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
31845 static void *_p_wxNavigationKeyEventTo_p_wxEvent(void *x
) {
31846 return (void *)((wxEvent
*) ((wxNavigationKeyEvent
*) x
));
31848 static void *_p_wxKeyEventTo_p_wxEvent(void *x
) {
31849 return (void *)((wxEvent
*) ((wxKeyEvent
*) x
));
31851 static void *_p_wxScrollWinEventTo_p_wxEvent(void *x
) {
31852 return (void *)((wxEvent
*) ((wxScrollWinEvent
*) x
));
31854 static void *_p_wxTaskBarIconEventTo_p_wxEvent(void *x
) {
31855 return (void *)((wxEvent
*) ((wxTaskBarIconEvent
*) x
));
31857 static void *_p_wxSplitterEventTo_p_wxNotifyEvent(void *x
) {
31858 return (void *)((wxNotifyEvent
*) ((wxSplitterEvent
*) x
));
31860 static void *_p_wxPasswordEntryDialogTo_p_wxTextEntryDialog(void *x
) {
31861 return (void *)((wxTextEntryDialog
*) ((wxPasswordEntryDialog
*) x
));
31863 static void *_p_wxSplashScreenTo_p_wxEvtHandler(void *x
) {
31864 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxSplashScreen
*) x
));
31866 static void *_p_wxMiniFrameTo_p_wxEvtHandler(void *x
) {
31867 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxMiniFrame
*) x
));
31869 static void *_p_wxPyPanelTo_p_wxEvtHandler(void *x
) {
31870 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*) ((wxPyPanel
*) x
));
31872 static void *_p_wxMenuBarTo_p_wxEvtHandler(void *x
) {
31873 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxMenuBar
*) x
));
31875 static void *_p_wxValidatorTo_p_wxEvtHandler(void *x
) {
31876 return (void *)((wxEvtHandler
*) ((wxValidator
*) x
));
31878 static void *_p_wxPyValidatorTo_p_wxEvtHandler(void *x
) {
31879 return (void *)((wxEvtHandler
*) (wxValidator
*) ((wxPyValidator
*) x
));
31881 static void *_p_wxMenuTo_p_wxEvtHandler(void *x
) {
31882 return (void *)((wxEvtHandler
*) ((wxMenu
*) x
));
31884 static void *_p_wxPasswordEntryDialogTo_p_wxEvtHandler(void *x
) {
31885 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*)(wxTextEntryDialog
*) ((wxPasswordEntryDialog
*) x
));
31887 static void *_p_wxTextEntryDialogTo_p_wxEvtHandler(void *x
) {
31888 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxTextEntryDialog
*) x
));
31890 static void *_p_wxSingleChoiceDialogTo_p_wxEvtHandler(void *x
) {
31891 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxSingleChoiceDialog
*) x
));
31893 static void *_p_wxMultiChoiceDialogTo_p_wxEvtHandler(void *x
) {
31894 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxMultiChoiceDialog
*) x
));
31896 static void *_p_wxFileDialogTo_p_wxEvtHandler(void *x
) {
31897 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxFileDialog
*) x
));
31899 static void *_p_wxNumberEntryDialogTo_p_wxEvtHandler(void *x
) {
31900 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxNumberEntryDialog
*) x
));
31902 static void *_p_wxMessageDialogTo_p_wxEvtHandler(void *x
) {
31903 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxMessageDialog
*) x
));
31905 static void *_p_wxProgressDialogTo_p_wxEvtHandler(void *x
) {
31906 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxProgressDialog
*) x
));
31908 static void *_p_wxFindReplaceDialogTo_p_wxEvtHandler(void *x
) {
31909 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxFindReplaceDialog
*) x
));
31911 static void *_p_wxPanelTo_p_wxEvtHandler(void *x
) {
31912 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxPanel
*) x
));
31914 static void *_p_wxStatusBarTo_p_wxEvtHandler(void *x
) {
31915 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxStatusBar
*) x
));
31917 static void *_p_wxPyVScrolledWindowTo_p_wxEvtHandler(void *x
) {
31918 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*) ((wxPyVScrolledWindow
*) x
));
31920 static void *_p_wxTipWindowTo_p_wxEvtHandler(void *x
) {
31921 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPopupWindow
*)(wxPyPopupTransientWindow
*) ((wxTipWindow
*) x
));
31923 static void *_p_wxPyPopupTransientWindowTo_p_wxEvtHandler(void *x
) {
31924 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPopupWindow
*) ((wxPyPopupTransientWindow
*) x
));
31926 static void *_p_wxPopupWindowTo_p_wxEvtHandler(void *x
) {
31927 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxPopupWindow
*) x
));
31929 static void *_p_wxSashLayoutWindowTo_p_wxEvtHandler(void *x
) {
31930 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxSashWindow
*) ((wxSashLayoutWindow
*) x
));
31932 static void *_p_wxSashWindowTo_p_wxEvtHandler(void *x
) {
31933 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxSashWindow
*) x
));
31935 static void *_p_wxSplitterWindowTo_p_wxEvtHandler(void *x
) {
31936 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxSplitterWindow
*) x
));
31938 static void *_p_wxSplashScreenWindowTo_p_wxEvtHandler(void *x
) {
31939 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxSplashScreenWindow
*) x
));
31941 static void *_p_wxWindowTo_p_wxEvtHandler(void *x
) {
31942 return (void *)((wxEvtHandler
*) ((wxWindow
*) x
));
31944 static void *_p_wxScrolledWindowTo_p_wxEvtHandler(void *x
) {
31945 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*) ((wxScrolledWindow
*) x
));
31947 static void *_p_wxTopLevelWindowTo_p_wxEvtHandler(void *x
) {
31948 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxTopLevelWindow
*) x
));
31950 static void *_p_wxMDIClientWindowTo_p_wxEvtHandler(void *x
) {
31951 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxMDIClientWindow
*) x
));
31953 static void *_p_wxPyScrolledWindowTo_p_wxEvtHandler(void *x
) {
31954 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*)(wxScrolledWindow
*) ((wxPyScrolledWindow
*) x
));
31956 static void *_p_wxControlTo_p_wxEvtHandler(void *x
) {
31957 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxControl
*) x
));
31959 static void *_p_wxPreviewFrameTo_p_wxEvtHandler(void *x
) {
31960 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxPreviewFrame
*) x
));
31962 static void *_p_wxPyPreviewFrameTo_p_wxEvtHandler(void *x
) {
31963 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*)(wxPreviewFrame
*) ((wxPyPreviewFrame
*) x
));
31965 static void *_p_wxMDIChildFrameTo_p_wxEvtHandler(void *x
) {
31966 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxMDIChildFrame
*) x
));
31968 static void *_p_wxPyAppTo_p_wxEvtHandler(void *x
) {
31969 return (void *)((wxEvtHandler
*) ((wxPyApp
*) x
));
31971 static void *_p_wxControlWithItemsTo_p_wxEvtHandler(void *x
) {
31972 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxControlWithItems
*) x
));
31974 static void *_p_wxPyWindowTo_p_wxEvtHandler(void *x
) {
31975 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxPyWindow
*) x
));
31977 static void *_p_wxPreviewCanvasTo_p_wxEvtHandler(void *x
) {
31978 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*)(wxScrolledWindow
*) ((wxPreviewCanvas
*) x
));
31980 static void *_p_wxPyHtmlListBoxTo_p_wxEvtHandler(void *x
) {
31981 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*)(wxPyVScrolledWindow
*)(wxPyVListBox
*) ((wxPyHtmlListBox
*) x
));
31983 static void *_p_wxPyVListBoxTo_p_wxEvtHandler(void *x
) {
31984 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*)(wxPyVScrolledWindow
*) ((wxPyVListBox
*) x
));
31986 static void *_p_wxPreviewControlBarTo_p_wxEvtHandler(void *x
) {
31987 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*) ((wxPreviewControlBar
*) x
));
31989 static void *_p_wxPyPreviewControlBarTo_p_wxEvtHandler(void *x
) {
31990 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*)(wxPreviewControlBar
*) ((wxPyPreviewControlBar
*) x
));
31992 static void *_p_wxPyTaskBarIconTo_p_wxEvtHandler(void *x
) {
31993 return (void *)((wxEvtHandler
*) ((wxPyTaskBarIcon
*) x
));
31995 static void *_p_wxFrameTo_p_wxEvtHandler(void *x
) {
31996 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*) ((wxFrame
*) x
));
31998 static void *_p_wxDirDialogTo_p_wxEvtHandler(void *x
) {
31999 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxDirDialog
*) x
));
32001 static void *_p_wxColourDialogTo_p_wxEvtHandler(void *x
) {
32002 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxColourDialog
*) x
));
32004 static void *_p_wxDialogTo_p_wxEvtHandler(void *x
) {
32005 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*) ((wxDialog
*) x
));
32007 static void *_p_wxFontDialogTo_p_wxEvtHandler(void *x
) {
32008 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxFontDialog
*) x
));
32010 static void *_p_wxMDIParentFrameTo_p_wxEvtHandler(void *x
) {
32011 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxMDIParentFrame
*) x
));
32013 static void *_p_wxPyHtmlListBoxTo_p_wxPyVListBox(void *x
) {
32014 return (void *)((wxPyVListBox
*) ((wxPyHtmlListBox
*) x
));
32016 static void *_p_wxMDIChildFrameTo_p_wxFrame(void *x
) {
32017 return (void *)((wxFrame
*) ((wxMDIChildFrame
*) x
));
32019 static void *_p_wxProgressDialogTo_p_wxFrame(void *x
) {
32020 return (void *)((wxFrame
*) ((wxProgressDialog
*) x
));
32022 static void *_p_wxPreviewFrameTo_p_wxFrame(void *x
) {
32023 return (void *)((wxFrame
*) ((wxPreviewFrame
*) x
));
32025 static void *_p_wxPyPreviewFrameTo_p_wxFrame(void *x
) {
32026 return (void *)((wxFrame
*) (wxPreviewFrame
*) ((wxPyPreviewFrame
*) x
));
32028 static void *_p_wxMiniFrameTo_p_wxFrame(void *x
) {
32029 return (void *)((wxFrame
*) ((wxMiniFrame
*) x
));
32031 static void *_p_wxSplashScreenTo_p_wxFrame(void *x
) {
32032 return (void *)((wxFrame
*) ((wxSplashScreen
*) x
));
32034 static void *_p_wxMDIParentFrameTo_p_wxFrame(void *x
) {
32035 return (void *)((wxFrame
*) ((wxMDIParentFrame
*) x
));
32037 static void *_p_wxLayoutConstraintsTo_p_wxObject(void *x
) {
32038 return (void *)((wxObject
*) ((wxLayoutConstraints
*) x
));
32040 static void *_p_wxQueryLayoutInfoEventTo_p_wxObject(void *x
) {
32041 return (void *)((wxObject
*) (wxEvent
*) ((wxQueryLayoutInfoEvent
*) x
));
32043 static void *_p_wxPreviewFrameTo_p_wxObject(void *x
) {
32044 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxPreviewFrame
*) x
));
32046 static void *_p_wxPyPreviewFrameTo_p_wxObject(void *x
) {
32047 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*)(wxPreviewFrame
*) ((wxPyPreviewFrame
*) x
));
32049 static void *_p_wxGBSizerItemTo_p_wxObject(void *x
) {
32050 return (void *)((wxObject
*) (wxSizerItem
*) ((wxGBSizerItem
*) x
));
32052 static void *_p_wxSizerItemTo_p_wxObject(void *x
) {
32053 return (void *)((wxObject
*) ((wxSizerItem
*) x
));
32055 static void *_p_wxScrollEventTo_p_wxObject(void *x
) {
32056 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxScrollEvent
*) x
));
32058 static void *_p_wxIndividualLayoutConstraintTo_p_wxObject(void *x
) {
32059 return (void *)((wxObject
*) ((wxIndividualLayoutConstraint
*) x
));
32061 static void *_p_wxStaticBoxSizerTo_p_wxObject(void *x
) {
32062 return (void *)((wxObject
*) (wxSizer
*)(wxBoxSizer
*) ((wxStaticBoxSizer
*) x
));
32064 static void *_p_wxBoxSizerTo_p_wxObject(void *x
) {
32065 return (void *)((wxObject
*) (wxSizer
*) ((wxBoxSizer
*) x
));
32067 static void *_p_wxSizerTo_p_wxObject(void *x
) {
32068 return (void *)((wxObject
*) ((wxSizer
*) x
));
32070 static void *_p_wxGridBagSizerTo_p_wxObject(void *x
) {
32071 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*)(wxFlexGridSizer
*) ((wxGridBagSizer
*) x
));
32073 static void *_p_wxUpdateUIEventTo_p_wxObject(void *x
) {
32074 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
32076 static void *_p_wxPyPanelTo_p_wxObject(void *x
) {
32077 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*) ((wxPyPanel
*) x
));
32079 static void *_p_wxEventTo_p_wxObject(void *x
) {
32080 return (void *)((wxObject
*) ((wxEvent
*) x
));
32082 static void *_p_wxFontDataTo_p_wxObject(void *x
) {
32083 return (void *)((wxObject
*) ((wxFontData
*) x
));
32085 static void *_p_wxPrintDataTo_p_wxObject(void *x
) {
32086 return (void *)((wxObject
*) ((wxPrintData
*) x
));
32088 static void *_p_wxFlexGridSizerTo_p_wxObject(void *x
) {
32089 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*) ((wxFlexGridSizer
*) x
));
32091 static void *_p_wxGridSizerTo_p_wxObject(void *x
) {
32092 return (void *)((wxObject
*) (wxSizer
*) ((wxGridSizer
*) x
));
32094 static void *_p_wxInitDialogEventTo_p_wxObject(void *x
) {
32095 return (void *)((wxObject
*) (wxEvent
*) ((wxInitDialogEvent
*) x
));
32097 static void *_p_wxLayoutAlgorithmTo_p_wxObject(void *x
) {
32098 return (void *)((wxObject
*) ((wxLayoutAlgorithm
*) x
));
32100 static void *_p_wxPyTaskBarIconTo_p_wxObject(void *x
) {
32101 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxPyTaskBarIcon
*) x
));
32103 static void *_p_wxFindDialogEventTo_p_wxObject(void *x
) {
32104 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxFindDialogEvent
*) x
));
32106 static void *_p_wxClipboardTextEventTo_p_wxObject(void *x
) {
32107 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxClipboardTextEvent
*) x
));
32109 static void *_p_wxPaintEventTo_p_wxObject(void *x
) {
32110 return (void *)((wxObject
*) (wxEvent
*) ((wxPaintEvent
*) x
));
32112 static void *_p_wxNcPaintEventTo_p_wxObject(void *x
) {
32113 return (void *)((wxObject
*) (wxEvent
*) ((wxNcPaintEvent
*) x
));
32115 static void *_p_wxPaletteChangedEventTo_p_wxObject(void *x
) {
32116 return (void *)((wxObject
*) (wxEvent
*) ((wxPaletteChangedEvent
*) x
));
32118 static void *_p_wxDisplayChangedEventTo_p_wxObject(void *x
) {
32119 return (void *)((wxObject
*) (wxEvent
*) ((wxDisplayChangedEvent
*) x
));
32121 static void *_p_wxMouseCaptureChangedEventTo_p_wxObject(void *x
) {
32122 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseCaptureChangedEvent
*) x
));
32124 static void *_p_wxSysColourChangedEventTo_p_wxObject(void *x
) {
32125 return (void *)((wxObject
*) (wxEvent
*) ((wxSysColourChangedEvent
*) x
));
32127 static void *_p_wxPreviewCanvasTo_p_wxObject(void *x
) {
32128 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*)(wxScrolledWindow
*) ((wxPreviewCanvas
*) x
));
32130 static void *_p_wxControlTo_p_wxObject(void *x
) {
32131 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxControl
*) x
));
32133 static void *_p_wxSetCursorEventTo_p_wxObject(void *x
) {
32134 return (void *)((wxObject
*) (wxEvent
*) ((wxSetCursorEvent
*) x
));
32136 static void *_p_wxSplitterEventTo_p_wxObject(void *x
) {
32137 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*) ((wxSplitterEvent
*) x
));
32139 static void *_p_wxFSFileTo_p_wxObject(void *x
) {
32140 return (void *)((wxObject
*) ((wxFSFile
*) x
));
32142 static void *_p_wxFindReplaceDataTo_p_wxObject(void *x
) {
32143 return (void *)((wxObject
*) ((wxFindReplaceData
*) x
));
32145 static void *_p_wxPySizerTo_p_wxObject(void *x
) {
32146 return (void *)((wxObject
*) (wxSizer
*) ((wxPySizer
*) x
));
32148 static void *_p_wxMDIChildFrameTo_p_wxObject(void *x
) {
32149 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxMDIChildFrame
*) x
));
32151 static void *_p_wxColourDataTo_p_wxObject(void *x
) {
32152 return (void *)((wxObject
*) ((wxColourData
*) x
));
32154 static void *_p_wxPyEventTo_p_wxObject(void *x
) {
32155 return (void *)((wxObject
*) (wxEvent
*) ((wxPyEvent
*) x
));
32157 static void *_p_wxNotifyEventTo_p_wxObject(void *x
) {
32158 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxNotifyEvent
*) x
));
32160 static void *_p_wxPyWindowTo_p_wxObject(void *x
) {
32161 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxPyWindow
*) x
));
32163 static void *_p_wxSplashScreenTo_p_wxObject(void *x
) {
32164 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxSplashScreen
*) x
));
32166 static void *_p_wxFileDialogTo_p_wxObject(void *x
) {
32167 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxFileDialog
*) x
));
32169 static void *_p_wxMultiChoiceDialogTo_p_wxObject(void *x
) {
32170 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxMultiChoiceDialog
*) x
));
32172 static void *_p_wxSingleChoiceDialogTo_p_wxObject(void *x
) {
32173 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxSingleChoiceDialog
*) x
));
32175 static void *_p_wxTextEntryDialogTo_p_wxObject(void *x
) {
32176 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxTextEntryDialog
*) x
));
32178 static void *_p_wxPasswordEntryDialogTo_p_wxObject(void *x
) {
32179 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*)(wxTextEntryDialog
*) ((wxPasswordEntryDialog
*) x
));
32181 static void *_p_wxNumberEntryDialogTo_p_wxObject(void *x
) {
32182 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxNumberEntryDialog
*) x
));
32184 static void *_p_wxMessageDialogTo_p_wxObject(void *x
) {
32185 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxMessageDialog
*) x
));
32187 static void *_p_wxProgressDialogTo_p_wxObject(void *x
) {
32188 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxProgressDialog
*) x
));
32190 static void *_p_wxFindReplaceDialogTo_p_wxObject(void *x
) {
32191 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxFindReplaceDialog
*) x
));
32193 static void *_p_wxShowEventTo_p_wxObject(void *x
) {
32194 return (void *)((wxObject
*) (wxEvent
*) ((wxShowEvent
*) x
));
32196 static void *_p_wxPrinterTo_p_wxObject(void *x
) {
32197 return (void *)((wxObject
*) ((wxPrinter
*) x
));
32199 static void *_p_wxMenuItemTo_p_wxObject(void *x
) {
32200 return (void *)((wxObject
*) ((wxMenuItem
*) x
));
32202 static void *_p_wxDateEventTo_p_wxObject(void *x
) {
32203 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxDateEvent
*) x
));
32205 static void *_p_wxIdleEventTo_p_wxObject(void *x
) {
32206 return (void *)((wxObject
*) (wxEvent
*) ((wxIdleEvent
*) x
));
32208 static void *_p_wxWindowCreateEventTo_p_wxObject(void *x
) {
32209 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
32211 static void *_p_wxQueryNewPaletteEventTo_p_wxObject(void *x
) {
32212 return (void *)((wxObject
*) (wxEvent
*) ((wxQueryNewPaletteEvent
*) x
));
32214 static void *_p_wxMaximizeEventTo_p_wxObject(void *x
) {
32215 return (void *)((wxObject
*) (wxEvent
*) ((wxMaximizeEvent
*) x
));
32217 static void *_p_wxIconizeEventTo_p_wxObject(void *x
) {
32218 return (void *)((wxObject
*) (wxEvent
*) ((wxIconizeEvent
*) x
));
32220 static void *_p_wxSizeEventTo_p_wxObject(void *x
) {
32221 return (void *)((wxObject
*) (wxEvent
*) ((wxSizeEvent
*) x
));
32223 static void *_p_wxMoveEventTo_p_wxObject(void *x
) {
32224 return (void *)((wxObject
*) (wxEvent
*) ((wxMoveEvent
*) x
));
32226 static void *_p_wxActivateEventTo_p_wxObject(void *x
) {
32227 return (void *)((wxObject
*) (wxEvent
*) ((wxActivateEvent
*) x
));
32229 static void *_p_wxPNMHandlerTo_p_wxObject(void *x
) {
32230 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNMHandler
*) x
));
32232 static void *_p_wxJPEGHandlerTo_p_wxObject(void *x
) {
32233 return (void *)((wxObject
*) (wxImageHandler
*) ((wxJPEGHandler
*) x
));
32235 static void *_p_wxPCXHandlerTo_p_wxObject(void *x
) {
32236 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPCXHandler
*) x
));
32238 static void *_p_wxGIFHandlerTo_p_wxObject(void *x
) {
32239 return (void *)((wxObject
*) (wxImageHandler
*) ((wxGIFHandler
*) x
));
32241 static void *_p_wxPNGHandlerTo_p_wxObject(void *x
) {
32242 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNGHandler
*) x
));
32244 static void *_p_wxANIHandlerTo_p_wxObject(void *x
) {
32245 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*)(wxCURHandler
*) ((wxANIHandler
*) x
));
32247 static void *_p_wxCURHandlerTo_p_wxObject(void *x
) {
32248 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*) ((wxCURHandler
*) x
));
32250 static void *_p_wxICOHandlerTo_p_wxObject(void *x
) {
32251 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*) ((wxICOHandler
*) x
));
32253 static void *_p_wxBMPHandlerTo_p_wxObject(void *x
) {
32254 return (void *)((wxObject
*) (wxImageHandler
*) ((wxBMPHandler
*) x
));
32256 static void *_p_wxPyImageHandlerTo_p_wxObject(void *x
) {
32257 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPyImageHandler
*) x
));
32259 static void *_p_wxImageHandlerTo_p_wxObject(void *x
) {
32260 return (void *)((wxObject
*) ((wxImageHandler
*) x
));
32262 static void *_p_wxXPMHandlerTo_p_wxObject(void *x
) {
32263 return (void *)((wxObject
*) (wxImageHandler
*) ((wxXPMHandler
*) x
));
32265 static void *_p_wxTIFFHandlerTo_p_wxObject(void *x
) {
32266 return (void *)((wxObject
*) (wxImageHandler
*) ((wxTIFFHandler
*) x
));
32268 static void *_p_wxEvtHandlerTo_p_wxObject(void *x
) {
32269 return (void *)((wxObject
*) ((wxEvtHandler
*) x
));
32271 static void *_p_wxCalculateLayoutEventTo_p_wxObject(void *x
) {
32272 return (void *)((wxObject
*) (wxEvent
*) ((wxCalculateLayoutEvent
*) x
));
32274 static void *_p_wxPyVListBoxTo_p_wxObject(void *x
) {
32275 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*)(wxPyVScrolledWindow
*) ((wxPyVListBox
*) x
));
32277 static void *_p_wxPyHtmlListBoxTo_p_wxObject(void *x
) {
32278 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*)(wxPyVScrolledWindow
*)(wxPyVListBox
*) ((wxPyHtmlListBox
*) x
));
32280 static void *_p_wxStdDialogButtonSizerTo_p_wxObject(void *x
) {
32281 return (void *)((wxObject
*) (wxSizer
*)(wxBoxSizer
*) ((wxStdDialogButtonSizer
*) x
));
32283 static void *_p_wxAcceleratorTableTo_p_wxObject(void *x
) {
32284 return (void *)((wxObject
*) ((wxAcceleratorTable
*) x
));
32286 static void *_p_wxMiniFrameTo_p_wxObject(void *x
) {
32287 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxMiniFrame
*) x
));
32289 static void *_p_wxImageTo_p_wxObject(void *x
) {
32290 return (void *)((wxObject
*) ((wxImage
*) x
));
32292 static void *_p_wxFrameTo_p_wxObject(void *x
) {
32293 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*) ((wxFrame
*) x
));
32295 static void *_p_wxPyPrintoutTo_p_wxObject(void *x
) {
32296 return (void *)((wxObject
*) ((wxPyPrintout
*) x
));
32298 static void *_p_wxScrollWinEventTo_p_wxObject(void *x
) {
32299 return (void *)((wxObject
*) (wxEvent
*) ((wxScrollWinEvent
*) x
));
32301 static void *_p_wxTaskBarIconEventTo_p_wxObject(void *x
) {
32302 return (void *)((wxObject
*) (wxEvent
*) ((wxTaskBarIconEvent
*) x
));
32304 static void *_p_wxStatusBarTo_p_wxObject(void *x
) {
32305 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxStatusBar
*) x
));
32307 static void *_p_wxMDIParentFrameTo_p_wxObject(void *x
) {
32308 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxMDIParentFrame
*) x
));
32310 static void *_p_wxWindowDestroyEventTo_p_wxObject(void *x
) {
32311 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
32313 static void *_p_wxNavigationKeyEventTo_p_wxObject(void *x
) {
32314 return (void *)((wxObject
*) (wxEvent
*) ((wxNavigationKeyEvent
*) x
));
32316 static void *_p_wxKeyEventTo_p_wxObject(void *x
) {
32317 return (void *)((wxObject
*) (wxEvent
*) ((wxKeyEvent
*) x
));
32319 static void *_p_wxWindowTo_p_wxObject(void *x
) {
32320 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxWindow
*) x
));
32322 static void *_p_wxMenuTo_p_wxObject(void *x
) {
32323 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxMenu
*) x
));
32325 static void *_p_wxMenuBarTo_p_wxObject(void *x
) {
32326 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxMenuBar
*) x
));
32328 static void *_p_wxScrolledWindowTo_p_wxObject(void *x
) {
32329 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*) ((wxScrolledWindow
*) x
));
32331 static void *_p_wxTopLevelWindowTo_p_wxObject(void *x
) {
32332 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxTopLevelWindow
*) x
));
32334 static void *_p_wxSplashScreenWindowTo_p_wxObject(void *x
) {
32335 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxSplashScreenWindow
*) x
));
32337 static void *_p_wxSplitterWindowTo_p_wxObject(void *x
) {
32338 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxSplitterWindow
*) x
));
32340 static void *_p_wxSashWindowTo_p_wxObject(void *x
) {
32341 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxSashWindow
*) x
));
32343 static void *_p_wxSashLayoutWindowTo_p_wxObject(void *x
) {
32344 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxSashWindow
*) ((wxSashLayoutWindow
*) x
));
32346 static void *_p_wxPopupWindowTo_p_wxObject(void *x
) {
32347 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxPopupWindow
*) x
));
32349 static void *_p_wxPyPopupTransientWindowTo_p_wxObject(void *x
) {
32350 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPopupWindow
*) ((wxPyPopupTransientWindow
*) x
));
32352 static void *_p_wxTipWindowTo_p_wxObject(void *x
) {
32353 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPopupWindow
*)(wxPyPopupTransientWindow
*) ((wxTipWindow
*) x
));
32355 static void *_p_wxPyVScrolledWindowTo_p_wxObject(void *x
) {
32356 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*) ((wxPyVScrolledWindow
*) x
));
32358 static void *_p_wxMDIClientWindowTo_p_wxObject(void *x
) {
32359 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxMDIClientWindow
*) x
));
32361 static void *_p_wxPyScrolledWindowTo_p_wxObject(void *x
) {
32362 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*)(wxScrolledWindow
*) ((wxPyScrolledWindow
*) x
));
32364 static void *_p_wxSashEventTo_p_wxObject(void *x
) {
32365 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxSashEvent
*) x
));
32367 static void *_p_wxPrintPreviewTo_p_wxObject(void *x
) {
32368 return (void *)((wxObject
*) ((wxPrintPreview
*) x
));
32370 static void *_p_wxPyPrintPreviewTo_p_wxObject(void *x
) {
32371 return (void *)((wxObject
*) (wxPrintPreview
*) ((wxPyPrintPreview
*) x
));
32373 static void *_p_wxPanelTo_p_wxObject(void *x
) {
32374 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxPanel
*) x
));
32376 static void *_p_wxDialogTo_p_wxObject(void *x
) {
32377 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*) ((wxDialog
*) x
));
32379 static void *_p_wxColourDialogTo_p_wxObject(void *x
) {
32380 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxColourDialog
*) x
));
32382 static void *_p_wxDirDialogTo_p_wxObject(void *x
) {
32383 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxDirDialog
*) x
));
32385 static void *_p_wxFontDialogTo_p_wxObject(void *x
) {
32386 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxFontDialog
*) x
));
32388 static void *_p_wxPageSetupDialogTo_p_wxObject(void *x
) {
32389 return (void *)((wxObject
*) ((wxPageSetupDialog
*) x
));
32391 static void *_p_wxPrintDialogTo_p_wxObject(void *x
) {
32392 return (void *)((wxObject
*) ((wxPrintDialog
*) x
));
32394 static void *_p_wxFileSystemTo_p_wxObject(void *x
) {
32395 return (void *)((wxObject
*) ((wxFileSystem
*) x
));
32397 static void *_p_wxContextMenuEventTo_p_wxObject(void *x
) {
32398 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
32400 static void *_p_wxMenuEventTo_p_wxObject(void *x
) {
32401 return (void *)((wxObject
*) (wxEvent
*) ((wxMenuEvent
*) x
));
32403 static void *_p_wxPyAppTo_p_wxObject(void *x
) {
32404 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxPyApp
*) x
));
32406 static void *_p_wxCloseEventTo_p_wxObject(void *x
) {
32407 return (void *)((wxObject
*) (wxEvent
*) ((wxCloseEvent
*) x
));
32409 static void *_p_wxMouseEventTo_p_wxObject(void *x
) {
32410 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseEvent
*) x
));
32412 static void *_p_wxEraseEventTo_p_wxObject(void *x
) {
32413 return (void *)((wxObject
*) (wxEvent
*) ((wxEraseEvent
*) x
));
32415 static void *_p_wxPyCommandEventTo_p_wxObject(void *x
) {
32416 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
32418 static void *_p_wxCommandEventTo_p_wxObject(void *x
) {
32419 return (void *)((wxObject
*) (wxEvent
*) ((wxCommandEvent
*) x
));
32421 static void *_p_wxPreviewControlBarTo_p_wxObject(void *x
) {
32422 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*) ((wxPreviewControlBar
*) x
));
32424 static void *_p_wxPyPreviewControlBarTo_p_wxObject(void *x
) {
32425 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*)(wxPreviewControlBar
*) ((wxPyPreviewControlBar
*) x
));
32427 static void *_p_wxDropFilesEventTo_p_wxObject(void *x
) {
32428 return (void *)((wxObject
*) (wxEvent
*) ((wxDropFilesEvent
*) x
));
32430 static void *_p_wxFocusEventTo_p_wxObject(void *x
) {
32431 return (void *)((wxObject
*) (wxEvent
*) ((wxFocusEvent
*) x
));
32433 static void *_p_wxChildFocusEventTo_p_wxObject(void *x
) {
32434 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
32436 static void *_p_wxControlWithItemsTo_p_wxObject(void *x
) {
32437 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxControlWithItems
*) x
));
32439 static void *_p_wxPageSetupDialogDataTo_p_wxObject(void *x
) {
32440 return (void *)((wxObject
*) ((wxPageSetupDialogData
*) x
));
32442 static void *_p_wxPrintDialogDataTo_p_wxObject(void *x
) {
32443 return (void *)((wxObject
*) ((wxPrintDialogData
*) x
));
32445 static void *_p_wxPyValidatorTo_p_wxObject(void *x
) {
32446 return (void *)((wxObject
*) (wxEvtHandler
*)(wxValidator
*) ((wxPyValidator
*) x
));
32448 static void *_p_wxValidatorTo_p_wxObject(void *x
) {
32449 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxValidator
*) x
));
32451 static void *_p_wxPyVListBoxTo_p_wxPyVScrolledWindow(void *x
) {
32452 return (void *)((wxPyVScrolledWindow
*) ((wxPyVListBox
*) x
));
32454 static void *_p_wxPyHtmlListBoxTo_p_wxPyVScrolledWindow(void *x
) {
32455 return (void *)((wxPyVScrolledWindow
*) (wxPyVListBox
*) ((wxPyHtmlListBox
*) x
));
32457 static void *_p_wxTipWindowTo_p_wxPyPopupTransientWindow(void *x
) {
32458 return (void *)((wxPyPopupTransientWindow
*) ((wxTipWindow
*) x
));
32460 static void *_p_wxPyPopupTransientWindowTo_p_wxPopupWindow(void *x
) {
32461 return (void *)((wxPopupWindow
*) ((wxPyPopupTransientWindow
*) x
));
32463 static void *_p_wxTipWindowTo_p_wxPopupWindow(void *x
) {
32464 return (void *)((wxPopupWindow
*) (wxPyPopupTransientWindow
*) ((wxTipWindow
*) x
));
32466 static void *_p_wxSashLayoutWindowTo_p_wxSashWindow(void *x
) {
32467 return (void *)((wxSashWindow
*) ((wxSashLayoutWindow
*) x
));
32469 static void *_p_wxFrameTo_p_wxTopLevelWindow(void *x
) {
32470 return (void *)((wxTopLevelWindow
*) ((wxFrame
*) x
));
32472 static void *_p_wxMiniFrameTo_p_wxTopLevelWindow(void *x
) {
32473 return (void *)((wxTopLevelWindow
*) (wxFrame
*) ((wxMiniFrame
*) x
));
32475 static void *_p_wxFontDialogTo_p_wxTopLevelWindow(void *x
) {
32476 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxFontDialog
*) x
));
32478 static void *_p_wxDirDialogTo_p_wxTopLevelWindow(void *x
) {
32479 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxDirDialog
*) x
));
32481 static void *_p_wxColourDialogTo_p_wxTopLevelWindow(void *x
) {
32482 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxColourDialog
*) x
));
32484 static void *_p_wxDialogTo_p_wxTopLevelWindow(void *x
) {
32485 return (void *)((wxTopLevelWindow
*) ((wxDialog
*) x
));
32487 static void *_p_wxSplashScreenTo_p_wxTopLevelWindow(void *x
) {
32488 return (void *)((wxTopLevelWindow
*) (wxFrame
*) ((wxSplashScreen
*) x
));
32490 static void *_p_wxMDIParentFrameTo_p_wxTopLevelWindow(void *x
) {
32491 return (void *)((wxTopLevelWindow
*) (wxFrame
*) ((wxMDIParentFrame
*) x
));
32493 static void *_p_wxMDIChildFrameTo_p_wxTopLevelWindow(void *x
) {
32494 return (void *)((wxTopLevelWindow
*) (wxFrame
*) ((wxMDIChildFrame
*) x
));
32496 static void *_p_wxMessageDialogTo_p_wxTopLevelWindow(void *x
) {
32497 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxMessageDialog
*) x
));
32499 static void *_p_wxNumberEntryDialogTo_p_wxTopLevelWindow(void *x
) {
32500 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxNumberEntryDialog
*) x
));
32502 static void *_p_wxPasswordEntryDialogTo_p_wxTopLevelWindow(void *x
) {
32503 return (void *)((wxTopLevelWindow
*) (wxDialog
*)(wxTextEntryDialog
*) ((wxPasswordEntryDialog
*) x
));
32505 static void *_p_wxTextEntryDialogTo_p_wxTopLevelWindow(void *x
) {
32506 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxTextEntryDialog
*) x
));
32508 static void *_p_wxSingleChoiceDialogTo_p_wxTopLevelWindow(void *x
) {
32509 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxSingleChoiceDialog
*) x
));
32511 static void *_p_wxMultiChoiceDialogTo_p_wxTopLevelWindow(void *x
) {
32512 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxMultiChoiceDialog
*) x
));
32514 static void *_p_wxFileDialogTo_p_wxTopLevelWindow(void *x
) {
32515 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxFileDialog
*) x
));
32517 static void *_p_wxProgressDialogTo_p_wxTopLevelWindow(void *x
) {
32518 return (void *)((wxTopLevelWindow
*) (wxFrame
*) ((wxProgressDialog
*) x
));
32520 static void *_p_wxFindReplaceDialogTo_p_wxTopLevelWindow(void *x
) {
32521 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxFindReplaceDialog
*) x
));
32523 static void *_p_wxPreviewFrameTo_p_wxTopLevelWindow(void *x
) {
32524 return (void *)((wxTopLevelWindow
*) (wxFrame
*) ((wxPreviewFrame
*) x
));
32526 static void *_p_wxPyPreviewFrameTo_p_wxTopLevelWindow(void *x
) {
32527 return (void *)((wxTopLevelWindow
*) (wxFrame
*)(wxPreviewFrame
*) ((wxPyPreviewFrame
*) x
));
32529 static void *_p_wxSplashScreenTo_p_wxWindow(void *x
) {
32530 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*) ((wxSplashScreen
*) x
));
32532 static void *_p_wxMiniFrameTo_p_wxWindow(void *x
) {
32533 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*) ((wxMiniFrame
*) x
));
32535 static void *_p_wxPyPanelTo_p_wxWindow(void *x
) {
32536 return (void *)((wxWindow
*) (wxPanel
*) ((wxPyPanel
*) x
));
32538 static void *_p_wxMenuBarTo_p_wxWindow(void *x
) {
32539 return (void *)((wxWindow
*) ((wxMenuBar
*) x
));
32541 static void *_p_wxFindReplaceDialogTo_p_wxWindow(void *x
) {
32542 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxFindReplaceDialog
*) x
));
32544 static void *_p_wxProgressDialogTo_p_wxWindow(void *x
) {
32545 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*) ((wxProgressDialog
*) x
));
32547 static void *_p_wxMessageDialogTo_p_wxWindow(void *x
) {
32548 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxMessageDialog
*) x
));
32550 static void *_p_wxNumberEntryDialogTo_p_wxWindow(void *x
) {
32551 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxNumberEntryDialog
*) x
));
32553 static void *_p_wxPasswordEntryDialogTo_p_wxWindow(void *x
) {
32554 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*)(wxTextEntryDialog
*) ((wxPasswordEntryDialog
*) x
));
32556 static void *_p_wxTextEntryDialogTo_p_wxWindow(void *x
) {
32557 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxTextEntryDialog
*) x
));
32559 static void *_p_wxSingleChoiceDialogTo_p_wxWindow(void *x
) {
32560 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxSingleChoiceDialog
*) x
));
32562 static void *_p_wxMultiChoiceDialogTo_p_wxWindow(void *x
) {
32563 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxMultiChoiceDialog
*) x
));
32565 static void *_p_wxFileDialogTo_p_wxWindow(void *x
) {
32566 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxFileDialog
*) x
));
32568 static void *_p_wxPanelTo_p_wxWindow(void *x
) {
32569 return (void *)((wxWindow
*) ((wxPanel
*) x
));
32571 static void *_p_wxStatusBarTo_p_wxWindow(void *x
) {
32572 return (void *)((wxWindow
*) ((wxStatusBar
*) x
));
32574 static void *_p_wxPyVScrolledWindowTo_p_wxWindow(void *x
) {
32575 return (void *)((wxWindow
*) (wxPanel
*) ((wxPyVScrolledWindow
*) x
));
32577 static void *_p_wxTipWindowTo_p_wxWindow(void *x
) {
32578 return (void *)((wxWindow
*) (wxPopupWindow
*)(wxPyPopupTransientWindow
*) ((wxTipWindow
*) x
));
32580 static void *_p_wxPyPopupTransientWindowTo_p_wxWindow(void *x
) {
32581 return (void *)((wxWindow
*) (wxPopupWindow
*) ((wxPyPopupTransientWindow
*) x
));
32583 static void *_p_wxPopupWindowTo_p_wxWindow(void *x
) {
32584 return (void *)((wxWindow
*) ((wxPopupWindow
*) x
));
32586 static void *_p_wxSashLayoutWindowTo_p_wxWindow(void *x
) {
32587 return (void *)((wxWindow
*) (wxSashWindow
*) ((wxSashLayoutWindow
*) x
));
32589 static void *_p_wxScrolledWindowTo_p_wxWindow(void *x
) {
32590 return (void *)((wxWindow
*) (wxPanel
*) ((wxScrolledWindow
*) x
));
32592 static void *_p_wxTopLevelWindowTo_p_wxWindow(void *x
) {
32593 return (void *)((wxWindow
*) ((wxTopLevelWindow
*) x
));
32595 static void *_p_wxSplashScreenWindowTo_p_wxWindow(void *x
) {
32596 return (void *)((wxWindow
*) ((wxSplashScreenWindow
*) x
));
32598 static void *_p_wxSplitterWindowTo_p_wxWindow(void *x
) {
32599 return (void *)((wxWindow
*) ((wxSplitterWindow
*) x
));
32601 static void *_p_wxSashWindowTo_p_wxWindow(void *x
) {
32602 return (void *)((wxWindow
*) ((wxSashWindow
*) x
));
32604 static void *_p_wxMDIClientWindowTo_p_wxWindow(void *x
) {
32605 return (void *)((wxWindow
*) ((wxMDIClientWindow
*) x
));
32607 static void *_p_wxPyScrolledWindowTo_p_wxWindow(void *x
) {
32608 return (void *)((wxWindow
*) (wxPanel
*)(wxScrolledWindow
*) ((wxPyScrolledWindow
*) x
));
32610 static void *_p_wxControlTo_p_wxWindow(void *x
) {
32611 return (void *)((wxWindow
*) ((wxControl
*) x
));
32613 static void *_p_wxPreviewFrameTo_p_wxWindow(void *x
) {
32614 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*) ((wxPreviewFrame
*) x
));
32616 static void *_p_wxPyPreviewFrameTo_p_wxWindow(void *x
) {
32617 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*)(wxPreviewFrame
*) ((wxPyPreviewFrame
*) x
));
32619 static void *_p_wxMDIChildFrameTo_p_wxWindow(void *x
) {
32620 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*) ((wxMDIChildFrame
*) x
));
32622 static void *_p_wxControlWithItemsTo_p_wxWindow(void *x
) {
32623 return (void *)((wxWindow
*) (wxControl
*) ((wxControlWithItems
*) x
));
32625 static void *_p_wxPyWindowTo_p_wxWindow(void *x
) {
32626 return (void *)((wxWindow
*) ((wxPyWindow
*) x
));
32628 static void *_p_wxPreviewCanvasTo_p_wxWindow(void *x
) {
32629 return (void *)((wxWindow
*) (wxPanel
*)(wxScrolledWindow
*) ((wxPreviewCanvas
*) x
));
32631 static void *_p_wxPyHtmlListBoxTo_p_wxWindow(void *x
) {
32632 return (void *)((wxWindow
*) (wxPanel
*)(wxPyVScrolledWindow
*)(wxPyVListBox
*) ((wxPyHtmlListBox
*) x
));
32634 static void *_p_wxPyVListBoxTo_p_wxWindow(void *x
) {
32635 return (void *)((wxWindow
*) (wxPanel
*)(wxPyVScrolledWindow
*) ((wxPyVListBox
*) x
));
32637 static void *_p_wxPreviewControlBarTo_p_wxWindow(void *x
) {
32638 return (void *)((wxWindow
*) (wxPanel
*) ((wxPreviewControlBar
*) x
));
32640 static void *_p_wxPyPreviewControlBarTo_p_wxWindow(void *x
) {
32641 return (void *)((wxWindow
*) (wxPanel
*)(wxPreviewControlBar
*) ((wxPyPreviewControlBar
*) x
));
32643 static void *_p_wxFrameTo_p_wxWindow(void *x
) {
32644 return (void *)((wxWindow
*) (wxTopLevelWindow
*) ((wxFrame
*) x
));
32646 static void *_p_wxFontDialogTo_p_wxWindow(void *x
) {
32647 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxFontDialog
*) x
));
32649 static void *_p_wxDirDialogTo_p_wxWindow(void *x
) {
32650 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxDirDialog
*) x
));
32652 static void *_p_wxColourDialogTo_p_wxWindow(void *x
) {
32653 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxColourDialog
*) x
));
32655 static void *_p_wxDialogTo_p_wxWindow(void *x
) {
32656 return (void *)((wxWindow
*) (wxTopLevelWindow
*) ((wxDialog
*) x
));
32658 static void *_p_wxMDIParentFrameTo_p_wxWindow(void *x
) {
32659 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*) ((wxMDIParentFrame
*) x
));
32661 static void *_p_wxPyScrolledWindowTo_p_wxScrolledWindow(void *x
) {
32662 return (void *)((wxScrolledWindow
*) ((wxPyScrolledWindow
*) x
));
32664 static void *_p_wxPreviewCanvasTo_p_wxScrolledWindow(void *x
) {
32665 return (void *)((wxScrolledWindow
*) ((wxPreviewCanvas
*) x
));
32667 static void *_p_wxPyPrintPreviewTo_p_wxPrintPreview(void *x
) {
32668 return (void *)((wxPrintPreview
*) ((wxPyPrintPreview
*) x
));
32670 static void *_p_wxColourDialogTo_p_wxDialog(void *x
) {
32671 return (void *)((wxDialog
*) ((wxColourDialog
*) x
));
32673 static void *_p_wxDirDialogTo_p_wxDialog(void *x
) {
32674 return (void *)((wxDialog
*) ((wxDirDialog
*) x
));
32676 static void *_p_wxFontDialogTo_p_wxDialog(void *x
) {
32677 return (void *)((wxDialog
*) ((wxFontDialog
*) x
));
32679 static void *_p_wxFileDialogTo_p_wxDialog(void *x
) {
32680 return (void *)((wxDialog
*) ((wxFileDialog
*) x
));
32682 static void *_p_wxMultiChoiceDialogTo_p_wxDialog(void *x
) {
32683 return (void *)((wxDialog
*) ((wxMultiChoiceDialog
*) x
));
32685 static void *_p_wxSingleChoiceDialogTo_p_wxDialog(void *x
) {
32686 return (void *)((wxDialog
*) ((wxSingleChoiceDialog
*) x
));
32688 static void *_p_wxTextEntryDialogTo_p_wxDialog(void *x
) {
32689 return (void *)((wxDialog
*) ((wxTextEntryDialog
*) x
));
32691 static void *_p_wxPasswordEntryDialogTo_p_wxDialog(void *x
) {
32692 return (void *)((wxDialog
*) (wxTextEntryDialog
*) ((wxPasswordEntryDialog
*) x
));
32694 static void *_p_wxNumberEntryDialogTo_p_wxDialog(void *x
) {
32695 return (void *)((wxDialog
*) ((wxNumberEntryDialog
*) x
));
32697 static void *_p_wxMessageDialogTo_p_wxDialog(void *x
) {
32698 return (void *)((wxDialog
*) ((wxMessageDialog
*) x
));
32700 static void *_p_wxFindReplaceDialogTo_p_wxDialog(void *x
) {
32701 return (void *)((wxDialog
*) ((wxFindReplaceDialog
*) x
));
32703 static void *_p_wxScrolledWindowTo_p_wxPanel(void *x
) {
32704 return (void *)((wxPanel
*) ((wxScrolledWindow
*) x
));
32706 static void *_p_wxPyVScrolledWindowTo_p_wxPanel(void *x
) {
32707 return (void *)((wxPanel
*) ((wxPyVScrolledWindow
*) x
));
32709 static void *_p_wxPyScrolledWindowTo_p_wxPanel(void *x
) {
32710 return (void *)((wxPanel
*) (wxScrolledWindow
*) ((wxPyScrolledWindow
*) x
));
32712 static void *_p_wxPyVListBoxTo_p_wxPanel(void *x
) {
32713 return (void *)((wxPanel
*) (wxPyVScrolledWindow
*) ((wxPyVListBox
*) x
));
32715 static void *_p_wxPyHtmlListBoxTo_p_wxPanel(void *x
) {
32716 return (void *)((wxPanel
*) (wxPyVScrolledWindow
*)(wxPyVListBox
*) ((wxPyHtmlListBox
*) x
));
32718 static void *_p_wxPyPanelTo_p_wxPanel(void *x
) {
32719 return (void *)((wxPanel
*) ((wxPyPanel
*) x
));
32721 static void *_p_wxPreviewCanvasTo_p_wxPanel(void *x
) {
32722 return (void *)((wxPanel
*) (wxScrolledWindow
*) ((wxPreviewCanvas
*) x
));
32724 static void *_p_wxPreviewControlBarTo_p_wxPanel(void *x
) {
32725 return (void *)((wxPanel
*) ((wxPreviewControlBar
*) x
));
32727 static void *_p_wxPyPreviewControlBarTo_p_wxPanel(void *x
) {
32728 return (void *)((wxPanel
*) (wxPreviewControlBar
*) ((wxPyPreviewControlBar
*) x
));
32730 static void *_p_wxChildFocusEventTo_p_wxCommandEvent(void *x
) {
32731 return (void *)((wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
32733 static void *_p_wxScrollEventTo_p_wxCommandEvent(void *x
) {
32734 return (void *)((wxCommandEvent
*) ((wxScrollEvent
*) x
));
32736 static void *_p_wxWindowCreateEventTo_p_wxCommandEvent(void *x
) {
32737 return (void *)((wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
32739 static void *_p_wxDateEventTo_p_wxCommandEvent(void *x
) {
32740 return (void *)((wxCommandEvent
*) ((wxDateEvent
*) x
));
32742 static void *_p_wxUpdateUIEventTo_p_wxCommandEvent(void *x
) {
32743 return (void *)((wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
32745 static void *_p_wxClipboardTextEventTo_p_wxCommandEvent(void *x
) {
32746 return (void *)((wxCommandEvent
*) ((wxClipboardTextEvent
*) x
));
32748 static void *_p_wxFindDialogEventTo_p_wxCommandEvent(void *x
) {
32749 return (void *)((wxCommandEvent
*) ((wxFindDialogEvent
*) x
));
32751 static void *_p_wxWindowDestroyEventTo_p_wxCommandEvent(void *x
) {
32752 return (void *)((wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
32754 static void *_p_wxContextMenuEventTo_p_wxCommandEvent(void *x
) {
32755 return (void *)((wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
32757 static void *_p_wxSplitterEventTo_p_wxCommandEvent(void *x
) {
32758 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*) ((wxSplitterEvent
*) x
));
32760 static void *_p_wxNotifyEventTo_p_wxCommandEvent(void *x
) {
32761 return (void *)((wxCommandEvent
*) ((wxNotifyEvent
*) x
));
32763 static void *_p_wxPyCommandEventTo_p_wxCommandEvent(void *x
) {
32764 return (void *)((wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
32766 static void *_p_wxSashEventTo_p_wxCommandEvent(void *x
) {
32767 return (void *)((wxCommandEvent
*) ((wxSashEvent
*) x
));
32769 static void *_p_wxPyPreviewControlBarTo_p_wxPreviewControlBar(void *x
) {
32770 return (void *)((wxPreviewControlBar
*) ((wxPyPreviewControlBar
*) x
));
32772 static swig_type_info _swigt__p_bool
= {"_p_bool", "bool *", 0, 0, (void*)0, 0};
32773 static swig_type_info _swigt__p_char
= {"_p_char", "char *", 0, 0, (void*)0, 0};
32774 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};
32775 static swig_type_info _swigt__p_int
= {"_p_int", "int *", 0, 0, (void*)0, 0};
32776 static swig_type_info _swigt__p_unsigned_char
= {"_p_unsigned_char", "unsigned char *|byte *", 0, 0, (void*)0, 0};
32777 static swig_type_info _swigt__p_unsigned_int
= {"_p_unsigned_int", "unsigned int *|time_t *", 0, 0, (void*)0, 0};
32778 static swig_type_info _swigt__p_unsigned_long
= {"_p_unsigned_long", "unsigned long *|wxUIntPtr *", 0, 0, (void*)0, 0};
32779 static swig_type_info _swigt__p_wxArrayInt
= {"_p_wxArrayInt", "wxArrayInt *", 0, 0, (void*)0, 0};
32780 static swig_type_info _swigt__p_wxBitmap
= {"_p_wxBitmap", "wxBitmap *", 0, 0, (void*)0, 0};
32781 static swig_type_info _swigt__p_wxCalculateLayoutEvent
= {"_p_wxCalculateLayoutEvent", "wxCalculateLayoutEvent *", 0, 0, (void*)0, 0};
32782 static swig_type_info _swigt__p_wxColour
= {"_p_wxColour", "wxColour *", 0, 0, (void*)0, 0};
32783 static swig_type_info _swigt__p_wxColourData
= {"_p_wxColourData", "wxColourData *", 0, 0, (void*)0, 0};
32784 static swig_type_info _swigt__p_wxColourDialog
= {"_p_wxColourDialog", "wxColourDialog *", 0, 0, (void*)0, 0};
32785 static swig_type_info _swigt__p_wxCommandEvent
= {"_p_wxCommandEvent", "wxCommandEvent *", 0, 0, (void*)0, 0};
32786 static swig_type_info _swigt__p_wxWindowDestroyEvent
= {"_p_wxWindowDestroyEvent", 0, 0, 0, 0, 0};
32787 static swig_type_info _swigt__p_wxClipboardTextEvent
= {"_p_wxClipboardTextEvent", 0, 0, 0, 0, 0};
32788 static swig_type_info _swigt__p_wxScrollEvent
= {"_p_wxScrollEvent", 0, 0, 0, 0, 0};
32789 static swig_type_info _swigt__p_wxPyCommandEvent
= {"_p_wxPyCommandEvent", 0, 0, 0, 0, 0};
32790 static swig_type_info _swigt__p_wxContextMenuEvent
= {"_p_wxContextMenuEvent", 0, 0, 0, 0, 0};
32791 static swig_type_info _swigt__p_wxChildFocusEvent
= {"_p_wxChildFocusEvent", 0, 0, 0, 0, 0};
32792 static swig_type_info _swigt__p_wxWindowCreateEvent
= {"_p_wxWindowCreateEvent", 0, 0, 0, 0, 0};
32793 static swig_type_info _swigt__p_wxDateEvent
= {"_p_wxDateEvent", 0, 0, 0, 0, 0};
32794 static swig_type_info _swigt__p_wxUpdateUIEvent
= {"_p_wxUpdateUIEvent", 0, 0, 0, 0, 0};
32795 static swig_type_info _swigt__p_wxDC
= {"_p_wxDC", "wxDC *", 0, 0, (void*)0, 0};
32796 static swig_type_info _swigt__p_wxDialog
= {"_p_wxDialog", "wxDialog *", 0, 0, (void*)0, 0};
32797 static swig_type_info _swigt__p_wxDirDialog
= {"_p_wxDirDialog", "wxDirDialog *", 0, 0, (void*)0, 0};
32798 static swig_type_info _swigt__p_wxDuplexMode
= {"_p_wxDuplexMode", "enum wxDuplexMode *|wxDuplexMode *", 0, 0, (void*)0, 0};
32799 static swig_type_info _swigt__p_wxEvent
= {"_p_wxEvent", "wxEvent *", 0, 0, (void*)0, 0};
32800 static swig_type_info _swigt__p_wxMenuEvent
= {"_p_wxMenuEvent", 0, 0, 0, 0, 0};
32801 static swig_type_info _swigt__p_wxCloseEvent
= {"_p_wxCloseEvent", 0, 0, 0, 0, 0};
32802 static swig_type_info _swigt__p_wxMouseEvent
= {"_p_wxMouseEvent", 0, 0, 0, 0, 0};
32803 static swig_type_info _swigt__p_wxEraseEvent
= {"_p_wxEraseEvent", 0, 0, 0, 0, 0};
32804 static swig_type_info _swigt__p_wxSetCursorEvent
= {"_p_wxSetCursorEvent", 0, 0, 0, 0, 0};
32805 static swig_type_info _swigt__p_wxInitDialogEvent
= {"_p_wxInitDialogEvent", 0, 0, 0, 0, 0};
32806 static swig_type_info _swigt__p_wxPyEvent
= {"_p_wxPyEvent", 0, 0, 0, 0, 0};
32807 static swig_type_info _swigt__p_wxIdleEvent
= {"_p_wxIdleEvent", 0, 0, 0, 0, 0};
32808 static swig_type_info _swigt__p_wxQueryNewPaletteEvent
= {"_p_wxQueryNewPaletteEvent", 0, 0, 0, 0, 0};
32809 static swig_type_info _swigt__p_wxMaximizeEvent
= {"_p_wxMaximizeEvent", 0, 0, 0, 0, 0};
32810 static swig_type_info _swigt__p_wxIconizeEvent
= {"_p_wxIconizeEvent", 0, 0, 0, 0, 0};
32811 static swig_type_info _swigt__p_wxActivateEvent
= {"_p_wxActivateEvent", 0, 0, 0, 0, 0};
32812 static swig_type_info _swigt__p_wxSizeEvent
= {"_p_wxSizeEvent", 0, 0, 0, 0, 0};
32813 static swig_type_info _swigt__p_wxMoveEvent
= {"_p_wxMoveEvent", 0, 0, 0, 0, 0};
32814 static swig_type_info _swigt__p_wxPaintEvent
= {"_p_wxPaintEvent", 0, 0, 0, 0, 0};
32815 static swig_type_info _swigt__p_wxNcPaintEvent
= {"_p_wxNcPaintEvent", 0, 0, 0, 0, 0};
32816 static swig_type_info _swigt__p_wxPaletteChangedEvent
= {"_p_wxPaletteChangedEvent", 0, 0, 0, 0, 0};
32817 static swig_type_info _swigt__p_wxDisplayChangedEvent
= {"_p_wxDisplayChangedEvent", 0, 0, 0, 0, 0};
32818 static swig_type_info _swigt__p_wxMouseCaptureChangedEvent
= {"_p_wxMouseCaptureChangedEvent", 0, 0, 0, 0, 0};
32819 static swig_type_info _swigt__p_wxSysColourChangedEvent
= {"_p_wxSysColourChangedEvent", 0, 0, 0, 0, 0};
32820 static swig_type_info _swigt__p_wxDropFilesEvent
= {"_p_wxDropFilesEvent", 0, 0, 0, 0, 0};
32821 static swig_type_info _swigt__p_wxFocusEvent
= {"_p_wxFocusEvent", 0, 0, 0, 0, 0};
32822 static swig_type_info _swigt__p_wxShowEvent
= {"_p_wxShowEvent", 0, 0, 0, 0, 0};
32823 static swig_type_info _swigt__p_wxNavigationKeyEvent
= {"_p_wxNavigationKeyEvent", 0, 0, 0, 0, 0};
32824 static swig_type_info _swigt__p_wxKeyEvent
= {"_p_wxKeyEvent", 0, 0, 0, 0, 0};
32825 static swig_type_info _swigt__p_wxEvtHandler
= {"_p_wxEvtHandler", "wxEvtHandler *", 0, 0, (void*)0, 0};
32826 static swig_type_info _swigt__p_wxValidator
= {"_p_wxValidator", 0, 0, 0, 0, 0};
32827 static swig_type_info _swigt__p_wxPyValidator
= {"_p_wxPyValidator", 0, 0, 0, 0, 0};
32828 static swig_type_info _swigt__p_wxControl
= {"_p_wxControl", 0, 0, 0, 0, 0};
32829 static swig_type_info _swigt__p_wxPyApp
= {"_p_wxPyApp", 0, 0, 0, 0, 0};
32830 static swig_type_info _swigt__p_wxControlWithItems
= {"_p_wxControlWithItems", 0, 0, 0, 0, 0};
32831 static swig_type_info _swigt__p_wxFileDialog
= {"_p_wxFileDialog", "wxFileDialog *", 0, 0, (void*)0, 0};
32832 static swig_type_info _swigt__p_wxFileSystem
= {"_p_wxFileSystem", "wxFileSystem *", 0, 0, (void*)0, 0};
32833 static swig_type_info _swigt__p_wxFindDialogEvent
= {"_p_wxFindDialogEvent", "wxFindDialogEvent *", 0, 0, (void*)0, 0};
32834 static swig_type_info _swigt__p_wxFindReplaceData
= {"_p_wxFindReplaceData", "wxFindReplaceData *", 0, 0, (void*)0, 0};
32835 static swig_type_info _swigt__p_wxFindReplaceDialog
= {"_p_wxFindReplaceDialog", "wxFindReplaceDialog *", 0, 0, (void*)0, 0};
32836 static swig_type_info _swigt__p_wxFont
= {"_p_wxFont", "wxFont *", 0, 0, (void*)0, 0};
32837 static swig_type_info _swigt__p_wxFontData
= {"_p_wxFontData", "wxFontData *", 0, 0, (void*)0, 0};
32838 static swig_type_info _swigt__p_wxFontDialog
= {"_p_wxFontDialog", "wxFontDialog *", 0, 0, (void*)0, 0};
32839 static swig_type_info _swigt__p_wxFrame
= {"_p_wxFrame", "wxFrame *", 0, 0, (void*)0, 0};
32840 static swig_type_info _swigt__p_wxHtmlLinkInfo
= {"_p_wxHtmlLinkInfo", "wxHtmlLinkInfo *", 0, 0, (void*)0, 0};
32841 static swig_type_info _swigt__p_wxIcon
= {"_p_wxIcon", "wxIcon *", 0, 0, (void*)0, 0};
32842 static swig_type_info _swigt__p_wxIconBundle
= {"_p_wxIconBundle", "wxIconBundle *", 0, 0, (void*)0, 0};
32843 static swig_type_info _swigt__p_wxLayoutAlgorithm
= {"_p_wxLayoutAlgorithm", "wxLayoutAlgorithm *", 0, 0, (void*)0, 0};
32844 static swig_type_info _swigt__p_wxMDIChildFrame
= {"_p_wxMDIChildFrame", "wxMDIChildFrame *", 0, 0, (void*)0, 0};
32845 static swig_type_info _swigt__p_wxMDIClientWindow
= {"_p_wxMDIClientWindow", "wxMDIClientWindow *", 0, 0, (void*)0, 0};
32846 static swig_type_info _swigt__p_wxMDIParentFrame
= {"_p_wxMDIParentFrame", "wxMDIParentFrame *", 0, 0, (void*)0, 0};
32847 static swig_type_info _swigt__p_wxMenu
= {"_p_wxMenu", "wxMenu *", 0, 0, (void*)0, 0};
32848 static swig_type_info _swigt__p_wxMenuBar
= {"_p_wxMenuBar", "wxMenuBar *", 0, 0, (void*)0, 0};
32849 static swig_type_info _swigt__p_wxMessageDialog
= {"_p_wxMessageDialog", "wxMessageDialog *", 0, 0, (void*)0, 0};
32850 static swig_type_info _swigt__p_wxMiniFrame
= {"_p_wxMiniFrame", "wxMiniFrame *", 0, 0, (void*)0, 0};
32851 static swig_type_info _swigt__p_wxMultiChoiceDialog
= {"_p_wxMultiChoiceDialog", "wxMultiChoiceDialog *", 0, 0, (void*)0, 0};
32852 static swig_type_info _swigt__p_wxNotifyEvent
= {"_p_wxNotifyEvent", "wxNotifyEvent *", 0, 0, (void*)0, 0};
32853 static swig_type_info _swigt__p_wxNumberEntryDialog
= {"_p_wxNumberEntryDialog", "wxNumberEntryDialog *", 0, 0, (void*)0, 0};
32854 static swig_type_info _swigt__p_wxObject
= {"_p_wxObject", "wxObject *", 0, 0, (void*)0, 0};
32855 static swig_type_info _swigt__p_wxLayoutConstraints
= {"_p_wxLayoutConstraints", 0, 0, 0, 0, 0};
32856 static swig_type_info _swigt__p_wxGBSizerItem
= {"_p_wxGBSizerItem", 0, 0, 0, 0, 0};
32857 static swig_type_info _swigt__p_wxSizerItem
= {"_p_wxSizerItem", 0, 0, 0, 0, 0};
32858 static swig_type_info _swigt__p_wxIndividualLayoutConstraint
= {"_p_wxIndividualLayoutConstraint", 0, 0, 0, 0, 0};
32859 static swig_type_info _swigt__p_wxStaticBoxSizer
= {"_p_wxStaticBoxSizer", 0, 0, 0, 0, 0};
32860 static swig_type_info _swigt__p_wxBoxSizer
= {"_p_wxBoxSizer", 0, 0, 0, 0, 0};
32861 static swig_type_info _swigt__p_wxSizer
= {"_p_wxSizer", 0, 0, 0, 0, 0};
32862 static swig_type_info _swigt__p_wxGridBagSizer
= {"_p_wxGridBagSizer", 0, 0, 0, 0, 0};
32863 static swig_type_info _swigt__p_wxGridSizer
= {"_p_wxGridSizer", 0, 0, 0, 0, 0};
32864 static swig_type_info _swigt__p_wxFlexGridSizer
= {"_p_wxFlexGridSizer", 0, 0, 0, 0, 0};
32865 static swig_type_info _swigt__p_wxFSFile
= {"_p_wxFSFile", 0, 0, 0, 0, 0};
32866 static swig_type_info _swigt__p_wxPySizer
= {"_p_wxPySizer", 0, 0, 0, 0, 0};
32867 static swig_type_info _swigt__p_wxMenuItem
= {"_p_wxMenuItem", 0, 0, 0, 0, 0};
32868 static swig_type_info _swigt__p_wxBMPHandler
= {"_p_wxBMPHandler", 0, 0, 0, 0, 0};
32869 static swig_type_info _swigt__p_wxICOHandler
= {"_p_wxICOHandler", 0, 0, 0, 0, 0};
32870 static swig_type_info _swigt__p_wxCURHandler
= {"_p_wxCURHandler", 0, 0, 0, 0, 0};
32871 static swig_type_info _swigt__p_wxANIHandler
= {"_p_wxANIHandler", 0, 0, 0, 0, 0};
32872 static swig_type_info _swigt__p_wxPNGHandler
= {"_p_wxPNGHandler", 0, 0, 0, 0, 0};
32873 static swig_type_info _swigt__p_wxGIFHandler
= {"_p_wxGIFHandler", 0, 0, 0, 0, 0};
32874 static swig_type_info _swigt__p_wxPCXHandler
= {"_p_wxPCXHandler", 0, 0, 0, 0, 0};
32875 static swig_type_info _swigt__p_wxJPEGHandler
= {"_p_wxJPEGHandler", 0, 0, 0, 0, 0};
32876 static swig_type_info _swigt__p_wxPNMHandler
= {"_p_wxPNMHandler", 0, 0, 0, 0, 0};
32877 static swig_type_info _swigt__p_wxPyImageHandler
= {"_p_wxPyImageHandler", 0, 0, 0, 0, 0};
32878 static swig_type_info _swigt__p_wxImageHandler
= {"_p_wxImageHandler", 0, 0, 0, 0, 0};
32879 static swig_type_info _swigt__p_wxXPMHandler
= {"_p_wxXPMHandler", 0, 0, 0, 0, 0};
32880 static swig_type_info _swigt__p_wxTIFFHandler
= {"_p_wxTIFFHandler", 0, 0, 0, 0, 0};
32881 static swig_type_info _swigt__p_wxAcceleratorTable
= {"_p_wxAcceleratorTable", 0, 0, 0, 0, 0};
32882 static swig_type_info _swigt__p_wxImage
= {"_p_wxImage", 0, 0, 0, 0, 0};
32883 static swig_type_info _swigt__p_wxPageSetupDialog
= {"_p_wxPageSetupDialog", "wxPageSetupDialog *", 0, 0, (void*)0, 0};
32884 static swig_type_info _swigt__p_wxPageSetupDialogData
= {"_p_wxPageSetupDialogData", "wxPageSetupDialogData *", 0, 0, (void*)0, 0};
32885 static swig_type_info _swigt__p_wxPanel
= {"_p_wxPanel", "wxPanel *", 0, 0, (void*)0, 0};
32886 static swig_type_info _swigt__p_wxPaperSize
= {"_p_wxPaperSize", "enum wxPaperSize *|wxPaperSize *", 0, 0, (void*)0, 0};
32887 static swig_type_info _swigt__p_wxPasswordEntryDialog
= {"_p_wxPasswordEntryDialog", "wxPasswordEntryDialog *", 0, 0, (void*)0, 0};
32888 static swig_type_info _swigt__p_wxPoint
= {"_p_wxPoint", "wxPoint *", 0, 0, (void*)0, 0};
32889 static swig_type_info _swigt__p_wxPopupWindow
= {"_p_wxPopupWindow", "wxPopupWindow *", 0, 0, (void*)0, 0};
32890 static swig_type_info _swigt__p_wxPreviewCanvas
= {"_p_wxPreviewCanvas", "wxPreviewCanvas *", 0, 0, (void*)0, 0};
32891 static swig_type_info _swigt__p_wxPreviewControlBar
= {"_p_wxPreviewControlBar", "wxPreviewControlBar *", 0, 0, (void*)0, 0};
32892 static swig_type_info _swigt__p_wxPreviewFrame
= {"_p_wxPreviewFrame", "wxPreviewFrame *", 0, 0, (void*)0, 0};
32893 static swig_type_info _swigt__p_wxPrintData
= {"_p_wxPrintData", "wxPrintData *", 0, 0, (void*)0, 0};
32894 static swig_type_info _swigt__p_wxPrintDialog
= {"_p_wxPrintDialog", "wxPrintDialog *", 0, 0, (void*)0, 0};
32895 static swig_type_info _swigt__p_wxPrintDialogData
= {"_p_wxPrintDialogData", "wxPrintDialogData *", 0, 0, (void*)0, 0};
32896 static swig_type_info _swigt__p_wxPrintPreview
= {"_p_wxPrintPreview", "wxPrintPreview *", 0, 0, (void*)0, 0};
32897 static swig_type_info _swigt__p_wxPrinter
= {"_p_wxPrinter", "wxPrinter *", 0, 0, (void*)0, 0};
32898 static swig_type_info _swigt__p_wxProgressDialog
= {"_p_wxProgressDialog", "wxProgressDialog *", 0, 0, (void*)0, 0};
32899 static swig_type_info _swigt__p_wxPyHtmlListBox
= {"_p_wxPyHtmlListBox", "wxPyHtmlListBox *", 0, 0, (void*)0, 0};
32900 static swig_type_info _swigt__p_wxPyPanel
= {"_p_wxPyPanel", "wxPyPanel *", 0, 0, (void*)0, 0};
32901 static swig_type_info _swigt__p_wxPyPopupTransientWindow
= {"_p_wxPyPopupTransientWindow", "wxPyPopupTransientWindow *", 0, 0, (void*)0, 0};
32902 static swig_type_info _swigt__p_wxPyPreviewControlBar
= {"_p_wxPyPreviewControlBar", "wxPyPreviewControlBar *", 0, 0, (void*)0, 0};
32903 static swig_type_info _swigt__p_wxPyPreviewFrame
= {"_p_wxPyPreviewFrame", "wxPyPreviewFrame *", 0, 0, (void*)0, 0};
32904 static swig_type_info _swigt__p_wxPyPrintPreview
= {"_p_wxPyPrintPreview", "wxPyPrintPreview *", 0, 0, (void*)0, 0};
32905 static swig_type_info _swigt__p_wxPyPrintout
= {"_p_wxPyPrintout", "wxPyPrintout *", 0, 0, (void*)0, 0};
32906 static swig_type_info _swigt__p_wxPyScrolledWindow
= {"_p_wxPyScrolledWindow", "wxPyScrolledWindow *", 0, 0, (void*)0, 0};
32907 static swig_type_info _swigt__p_wxPyTaskBarIcon
= {"_p_wxPyTaskBarIcon", "wxPyTaskBarIcon *", 0, 0, (void*)0, 0};
32908 static swig_type_info _swigt__p_wxPyVListBox
= {"_p_wxPyVListBox", "wxPyVListBox *", 0, 0, (void*)0, 0};
32909 static swig_type_info _swigt__p_wxPyVScrolledWindow
= {"_p_wxPyVScrolledWindow", "wxPyVScrolledWindow *", 0, 0, (void*)0, 0};
32910 static swig_type_info _swigt__p_wxPyWindow
= {"_p_wxPyWindow", "wxPyWindow *", 0, 0, (void*)0, 0};
32911 static swig_type_info _swigt__p_wxQueryLayoutInfoEvent
= {"_p_wxQueryLayoutInfoEvent", "wxQueryLayoutInfoEvent *", 0, 0, (void*)0, 0};
32912 static swig_type_info _swigt__p_wxRect
= {"_p_wxRect", "wxRect *", 0, 0, (void*)0, 0};
32913 static swig_type_info _swigt__p_wxRegion
= {"_p_wxRegion", "wxRegion *", 0, 0, (void*)0, 0};
32914 static swig_type_info _swigt__p_wxSashEvent
= {"_p_wxSashEvent", "wxSashEvent *", 0, 0, (void*)0, 0};
32915 static swig_type_info _swigt__p_wxSashLayoutWindow
= {"_p_wxSashLayoutWindow", "wxSashLayoutWindow *", 0, 0, (void*)0, 0};
32916 static swig_type_info _swigt__p_wxSashWindow
= {"_p_wxSashWindow", "wxSashWindow *", 0, 0, (void*)0, 0};
32917 static swig_type_info _swigt__p_wxScrollWinEvent
= {"_p_wxScrollWinEvent", "wxScrollWinEvent *", 0, 0, (void*)0, 0};
32918 static swig_type_info _swigt__p_wxScrolledWindow
= {"_p_wxScrolledWindow", "wxScrolledWindow *", 0, 0, (void*)0, 0};
32919 static swig_type_info _swigt__p_wxSingleChoiceDialog
= {"_p_wxSingleChoiceDialog", "wxSingleChoiceDialog *", 0, 0, (void*)0, 0};
32920 static swig_type_info _swigt__p_wxSize
= {"_p_wxSize", "wxSize *", 0, 0, (void*)0, 0};
32921 static swig_type_info _swigt__p_wxSplashScreen
= {"_p_wxSplashScreen", "wxSplashScreen *", 0, 0, (void*)0, 0};
32922 static swig_type_info _swigt__p_wxSplashScreenWindow
= {"_p_wxSplashScreenWindow", "wxSplashScreenWindow *", 0, 0, (void*)0, 0};
32923 static swig_type_info _swigt__p_wxSplitterEvent
= {"_p_wxSplitterEvent", "wxSplitterEvent *", 0, 0, (void*)0, 0};
32924 static swig_type_info _swigt__p_wxSplitterWindow
= {"_p_wxSplitterWindow", "wxSplitterWindow *", 0, 0, (void*)0, 0};
32925 static swig_type_info _swigt__p_wxStatusBar
= {"_p_wxStatusBar", "wxStatusBar *", 0, 0, (void*)0, 0};
32926 static swig_type_info _swigt__p_wxStdDialogButtonSizer
= {"_p_wxStdDialogButtonSizer", "wxStdDialogButtonSizer *", 0, 0, (void*)0, 0};
32927 static swig_type_info _swigt__p_wxString
= {"_p_wxString", "wxString *", 0, 0, (void*)0, 0};
32928 static swig_type_info _swigt__p_wxTaskBarIcon
= {"_p_wxTaskBarIcon", "wxTaskBarIcon *", 0, 0, (void*)0, 0};
32929 static swig_type_info _swigt__p_wxTaskBarIconEvent
= {"_p_wxTaskBarIconEvent", "wxTaskBarIconEvent *", 0, 0, (void*)0, 0};
32930 static swig_type_info _swigt__p_wxTextEntryDialog
= {"_p_wxTextEntryDialog", "wxTextEntryDialog *", 0, 0, (void*)0, 0};
32931 static swig_type_info _swigt__p_wxTipWindow
= {"_p_wxTipWindow", "wxTipWindow *", 0, 0, (void*)0, 0};
32932 static swig_type_info _swigt__p_wxToolBar
= {"_p_wxToolBar", "wxToolBar *", 0, 0, (void*)0, 0};
32933 static swig_type_info _swigt__p_wxTopLevelWindow
= {"_p_wxTopLevelWindow", "wxTopLevelWindow *", 0, 0, (void*)0, 0};
32934 static swig_type_info _swigt__p_wxVisualAttributes
= {"_p_wxVisualAttributes", "wxVisualAttributes *", 0, 0, (void*)0, 0};
32935 static swig_type_info _swigt__p_wxWindow
= {"_p_wxWindow", "wxWindow *", 0, 0, (void*)0, 0};
32937 static swig_type_info
*swig_type_initial
[] = {
32940 &_swigt__p_form_ops_t
,
32942 &_swigt__p_unsigned_char
,
32943 &_swigt__p_unsigned_int
,
32944 &_swigt__p_unsigned_long
,
32945 &_swigt__p_wxANIHandler
,
32946 &_swigt__p_wxAcceleratorTable
,
32947 &_swigt__p_wxActivateEvent
,
32948 &_swigt__p_wxArrayInt
,
32949 &_swigt__p_wxBMPHandler
,
32950 &_swigt__p_wxBitmap
,
32951 &_swigt__p_wxBoxSizer
,
32952 &_swigt__p_wxCURHandler
,
32953 &_swigt__p_wxCalculateLayoutEvent
,
32954 &_swigt__p_wxChildFocusEvent
,
32955 &_swigt__p_wxClipboardTextEvent
,
32956 &_swigt__p_wxCloseEvent
,
32957 &_swigt__p_wxColour
,
32958 &_swigt__p_wxColourData
,
32959 &_swigt__p_wxColourDialog
,
32960 &_swigt__p_wxCommandEvent
,
32961 &_swigt__p_wxContextMenuEvent
,
32962 &_swigt__p_wxControl
,
32963 &_swigt__p_wxControlWithItems
,
32965 &_swigt__p_wxDateEvent
,
32966 &_swigt__p_wxDialog
,
32967 &_swigt__p_wxDirDialog
,
32968 &_swigt__p_wxDisplayChangedEvent
,
32969 &_swigt__p_wxDropFilesEvent
,
32970 &_swigt__p_wxDuplexMode
,
32971 &_swigt__p_wxEraseEvent
,
32972 &_swigt__p_wxEvent
,
32973 &_swigt__p_wxEvtHandler
,
32974 &_swigt__p_wxFSFile
,
32975 &_swigt__p_wxFileDialog
,
32976 &_swigt__p_wxFileSystem
,
32977 &_swigt__p_wxFindDialogEvent
,
32978 &_swigt__p_wxFindReplaceData
,
32979 &_swigt__p_wxFindReplaceDialog
,
32980 &_swigt__p_wxFlexGridSizer
,
32981 &_swigt__p_wxFocusEvent
,
32983 &_swigt__p_wxFontData
,
32984 &_swigt__p_wxFontDialog
,
32985 &_swigt__p_wxFrame
,
32986 &_swigt__p_wxGBSizerItem
,
32987 &_swigt__p_wxGIFHandler
,
32988 &_swigt__p_wxGridBagSizer
,
32989 &_swigt__p_wxGridSizer
,
32990 &_swigt__p_wxHtmlLinkInfo
,
32991 &_swigt__p_wxICOHandler
,
32993 &_swigt__p_wxIconBundle
,
32994 &_swigt__p_wxIconizeEvent
,
32995 &_swigt__p_wxIdleEvent
,
32996 &_swigt__p_wxImage
,
32997 &_swigt__p_wxImageHandler
,
32998 &_swigt__p_wxIndividualLayoutConstraint
,
32999 &_swigt__p_wxInitDialogEvent
,
33000 &_swigt__p_wxJPEGHandler
,
33001 &_swigt__p_wxKeyEvent
,
33002 &_swigt__p_wxLayoutAlgorithm
,
33003 &_swigt__p_wxLayoutConstraints
,
33004 &_swigt__p_wxMDIChildFrame
,
33005 &_swigt__p_wxMDIClientWindow
,
33006 &_swigt__p_wxMDIParentFrame
,
33007 &_swigt__p_wxMaximizeEvent
,
33009 &_swigt__p_wxMenuBar
,
33010 &_swigt__p_wxMenuEvent
,
33011 &_swigt__p_wxMenuItem
,
33012 &_swigt__p_wxMessageDialog
,
33013 &_swigt__p_wxMiniFrame
,
33014 &_swigt__p_wxMouseCaptureChangedEvent
,
33015 &_swigt__p_wxMouseEvent
,
33016 &_swigt__p_wxMoveEvent
,
33017 &_swigt__p_wxMultiChoiceDialog
,
33018 &_swigt__p_wxNavigationKeyEvent
,
33019 &_swigt__p_wxNcPaintEvent
,
33020 &_swigt__p_wxNotifyEvent
,
33021 &_swigt__p_wxNumberEntryDialog
,
33022 &_swigt__p_wxObject
,
33023 &_swigt__p_wxPCXHandler
,
33024 &_swigt__p_wxPNGHandler
,
33025 &_swigt__p_wxPNMHandler
,
33026 &_swigt__p_wxPageSetupDialog
,
33027 &_swigt__p_wxPageSetupDialogData
,
33028 &_swigt__p_wxPaintEvent
,
33029 &_swigt__p_wxPaletteChangedEvent
,
33030 &_swigt__p_wxPanel
,
33031 &_swigt__p_wxPaperSize
,
33032 &_swigt__p_wxPasswordEntryDialog
,
33033 &_swigt__p_wxPoint
,
33034 &_swigt__p_wxPopupWindow
,
33035 &_swigt__p_wxPreviewCanvas
,
33036 &_swigt__p_wxPreviewControlBar
,
33037 &_swigt__p_wxPreviewFrame
,
33038 &_swigt__p_wxPrintData
,
33039 &_swigt__p_wxPrintDialog
,
33040 &_swigt__p_wxPrintDialogData
,
33041 &_swigt__p_wxPrintPreview
,
33042 &_swigt__p_wxPrinter
,
33043 &_swigt__p_wxProgressDialog
,
33044 &_swigt__p_wxPyApp
,
33045 &_swigt__p_wxPyCommandEvent
,
33046 &_swigt__p_wxPyEvent
,
33047 &_swigt__p_wxPyHtmlListBox
,
33048 &_swigt__p_wxPyImageHandler
,
33049 &_swigt__p_wxPyPanel
,
33050 &_swigt__p_wxPyPopupTransientWindow
,
33051 &_swigt__p_wxPyPreviewControlBar
,
33052 &_swigt__p_wxPyPreviewFrame
,
33053 &_swigt__p_wxPyPrintPreview
,
33054 &_swigt__p_wxPyPrintout
,
33055 &_swigt__p_wxPyScrolledWindow
,
33056 &_swigt__p_wxPySizer
,
33057 &_swigt__p_wxPyTaskBarIcon
,
33058 &_swigt__p_wxPyVListBox
,
33059 &_swigt__p_wxPyVScrolledWindow
,
33060 &_swigt__p_wxPyValidator
,
33061 &_swigt__p_wxPyWindow
,
33062 &_swigt__p_wxQueryLayoutInfoEvent
,
33063 &_swigt__p_wxQueryNewPaletteEvent
,
33065 &_swigt__p_wxRegion
,
33066 &_swigt__p_wxSashEvent
,
33067 &_swigt__p_wxSashLayoutWindow
,
33068 &_swigt__p_wxSashWindow
,
33069 &_swigt__p_wxScrollEvent
,
33070 &_swigt__p_wxScrollWinEvent
,
33071 &_swigt__p_wxScrolledWindow
,
33072 &_swigt__p_wxSetCursorEvent
,
33073 &_swigt__p_wxShowEvent
,
33074 &_swigt__p_wxSingleChoiceDialog
,
33076 &_swigt__p_wxSizeEvent
,
33077 &_swigt__p_wxSizer
,
33078 &_swigt__p_wxSizerItem
,
33079 &_swigt__p_wxSplashScreen
,
33080 &_swigt__p_wxSplashScreenWindow
,
33081 &_swigt__p_wxSplitterEvent
,
33082 &_swigt__p_wxSplitterWindow
,
33083 &_swigt__p_wxStaticBoxSizer
,
33084 &_swigt__p_wxStatusBar
,
33085 &_swigt__p_wxStdDialogButtonSizer
,
33086 &_swigt__p_wxString
,
33087 &_swigt__p_wxSysColourChangedEvent
,
33088 &_swigt__p_wxTIFFHandler
,
33089 &_swigt__p_wxTaskBarIcon
,
33090 &_swigt__p_wxTaskBarIconEvent
,
33091 &_swigt__p_wxTextEntryDialog
,
33092 &_swigt__p_wxTipWindow
,
33093 &_swigt__p_wxToolBar
,
33094 &_swigt__p_wxTopLevelWindow
,
33095 &_swigt__p_wxUpdateUIEvent
,
33096 &_swigt__p_wxValidator
,
33097 &_swigt__p_wxVisualAttributes
,
33098 &_swigt__p_wxWindow
,
33099 &_swigt__p_wxWindowCreateEvent
,
33100 &_swigt__p_wxWindowDestroyEvent
,
33101 &_swigt__p_wxXPMHandler
,
33104 static swig_cast_info _swigc__p_bool
[] = { {&_swigt__p_bool
, 0, 0, 0},{0, 0, 0, 0}};
33105 static swig_cast_info _swigc__p_char
[] = { {&_swigt__p_char
, 0, 0, 0},{0, 0, 0, 0}};
33106 static swig_cast_info _swigc__p_form_ops_t
[] = { {&_swigt__p_form_ops_t
, 0, 0, 0},{0, 0, 0, 0}};
33107 static swig_cast_info _swigc__p_int
[] = { {&_swigt__p_int
, 0, 0, 0},{0, 0, 0, 0}};
33108 static swig_cast_info _swigc__p_unsigned_char
[] = { {&_swigt__p_unsigned_char
, 0, 0, 0},{0, 0, 0, 0}};
33109 static swig_cast_info _swigc__p_unsigned_int
[] = { {&_swigt__p_unsigned_int
, 0, 0, 0},{0, 0, 0, 0}};
33110 static swig_cast_info _swigc__p_unsigned_long
[] = { {&_swigt__p_unsigned_long
, 0, 0, 0},{0, 0, 0, 0}};
33111 static swig_cast_info _swigc__p_wxArrayInt
[] = { {&_swigt__p_wxArrayInt
, 0, 0, 0},{0, 0, 0, 0}};
33112 static swig_cast_info _swigc__p_wxBitmap
[] = { {&_swigt__p_wxBitmap
, 0, 0, 0},{0, 0, 0, 0}};
33113 static swig_cast_info _swigc__p_wxCalculateLayoutEvent
[] = { {&_swigt__p_wxCalculateLayoutEvent
, 0, 0, 0},{0, 0, 0, 0}};
33114 static swig_cast_info _swigc__p_wxColour
[] = { {&_swigt__p_wxColour
, 0, 0, 0},{0, 0, 0, 0}};
33115 static swig_cast_info _swigc__p_wxColourData
[] = { {&_swigt__p_wxColourData
, 0, 0, 0},{0, 0, 0, 0}};
33116 static swig_cast_info _swigc__p_wxColourDialog
[] = { {&_swigt__p_wxColourDialog
, 0, 0, 0},{0, 0, 0, 0}};
33117 static swig_cast_info _swigc__p_wxWindowDestroyEvent
[] = {{&_swigt__p_wxWindowDestroyEvent
, 0, 0, 0},{0, 0, 0, 0}};
33118 static swig_cast_info _swigc__p_wxClipboardTextEvent
[] = {{&_swigt__p_wxClipboardTextEvent
, 0, 0, 0},{0, 0, 0, 0}};
33119 static swig_cast_info _swigc__p_wxScrollEvent
[] = {{&_swigt__p_wxScrollEvent
, 0, 0, 0},{0, 0, 0, 0}};
33120 static swig_cast_info _swigc__p_wxPyCommandEvent
[] = {{&_swigt__p_wxPyCommandEvent
, 0, 0, 0},{0, 0, 0, 0}};
33121 static swig_cast_info _swigc__p_wxContextMenuEvent
[] = {{&_swigt__p_wxContextMenuEvent
, 0, 0, 0},{0, 0, 0, 0}};
33122 static swig_cast_info _swigc__p_wxChildFocusEvent
[] = {{&_swigt__p_wxChildFocusEvent
, 0, 0, 0},{0, 0, 0, 0}};
33123 static swig_cast_info _swigc__p_wxWindowCreateEvent
[] = {{&_swigt__p_wxWindowCreateEvent
, 0, 0, 0},{0, 0, 0, 0}};
33124 static swig_cast_info _swigc__p_wxDateEvent
[] = {{&_swigt__p_wxDateEvent
, 0, 0, 0},{0, 0, 0, 0}};
33125 static swig_cast_info _swigc__p_wxUpdateUIEvent
[] = {{&_swigt__p_wxUpdateUIEvent
, 0, 0, 0},{0, 0, 0, 0}};
33126 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}};
33127 static swig_cast_info _swigc__p_wxDC
[] = { {&_swigt__p_wxDC
, 0, 0, 0},{0, 0, 0, 0}};
33128 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}};
33129 static swig_cast_info _swigc__p_wxDirDialog
[] = { {&_swigt__p_wxDirDialog
, 0, 0, 0},{0, 0, 0, 0}};
33130 static swig_cast_info _swigc__p_wxDuplexMode
[] = { {&_swigt__p_wxDuplexMode
, 0, 0, 0},{0, 0, 0, 0}};
33131 static swig_cast_info _swigc__p_wxMenuEvent
[] = {{&_swigt__p_wxMenuEvent
, 0, 0, 0},{0, 0, 0, 0}};
33132 static swig_cast_info _swigc__p_wxCloseEvent
[] = {{&_swigt__p_wxCloseEvent
, 0, 0, 0},{0, 0, 0, 0}};
33133 static swig_cast_info _swigc__p_wxMouseEvent
[] = {{&_swigt__p_wxMouseEvent
, 0, 0, 0},{0, 0, 0, 0}};
33134 static swig_cast_info _swigc__p_wxEraseEvent
[] = {{&_swigt__p_wxEraseEvent
, 0, 0, 0},{0, 0, 0, 0}};
33135 static swig_cast_info _swigc__p_wxSetCursorEvent
[] = {{&_swigt__p_wxSetCursorEvent
, 0, 0, 0},{0, 0, 0, 0}};
33136 static swig_cast_info _swigc__p_wxInitDialogEvent
[] = {{&_swigt__p_wxInitDialogEvent
, 0, 0, 0},{0, 0, 0, 0}};
33137 static swig_cast_info _swigc__p_wxPyEvent
[] = {{&_swigt__p_wxPyEvent
, 0, 0, 0},{0, 0, 0, 0}};
33138 static swig_cast_info _swigc__p_wxIdleEvent
[] = {{&_swigt__p_wxIdleEvent
, 0, 0, 0},{0, 0, 0, 0}};
33139 static swig_cast_info _swigc__p_wxQueryNewPaletteEvent
[] = {{&_swigt__p_wxQueryNewPaletteEvent
, 0, 0, 0},{0, 0, 0, 0}};
33140 static swig_cast_info _swigc__p_wxMaximizeEvent
[] = {{&_swigt__p_wxMaximizeEvent
, 0, 0, 0},{0, 0, 0, 0}};
33141 static swig_cast_info _swigc__p_wxIconizeEvent
[] = {{&_swigt__p_wxIconizeEvent
, 0, 0, 0},{0, 0, 0, 0}};
33142 static swig_cast_info _swigc__p_wxActivateEvent
[] = {{&_swigt__p_wxActivateEvent
, 0, 0, 0},{0, 0, 0, 0}};
33143 static swig_cast_info _swigc__p_wxSizeEvent
[] = {{&_swigt__p_wxSizeEvent
, 0, 0, 0},{0, 0, 0, 0}};
33144 static swig_cast_info _swigc__p_wxMoveEvent
[] = {{&_swigt__p_wxMoveEvent
, 0, 0, 0},{0, 0, 0, 0}};
33145 static swig_cast_info _swigc__p_wxPaintEvent
[] = {{&_swigt__p_wxPaintEvent
, 0, 0, 0},{0, 0, 0, 0}};
33146 static swig_cast_info _swigc__p_wxNcPaintEvent
[] = {{&_swigt__p_wxNcPaintEvent
, 0, 0, 0},{0, 0, 0, 0}};
33147 static swig_cast_info _swigc__p_wxPaletteChangedEvent
[] = {{&_swigt__p_wxPaletteChangedEvent
, 0, 0, 0},{0, 0, 0, 0}};
33148 static swig_cast_info _swigc__p_wxDisplayChangedEvent
[] = {{&_swigt__p_wxDisplayChangedEvent
, 0, 0, 0},{0, 0, 0, 0}};
33149 static swig_cast_info _swigc__p_wxMouseCaptureChangedEvent
[] = {{&_swigt__p_wxMouseCaptureChangedEvent
, 0, 0, 0},{0, 0, 0, 0}};
33150 static swig_cast_info _swigc__p_wxSysColourChangedEvent
[] = {{&_swigt__p_wxSysColourChangedEvent
, 0, 0, 0},{0, 0, 0, 0}};
33151 static swig_cast_info _swigc__p_wxDropFilesEvent
[] = {{&_swigt__p_wxDropFilesEvent
, 0, 0, 0},{0, 0, 0, 0}};
33152 static swig_cast_info _swigc__p_wxFocusEvent
[] = {{&_swigt__p_wxFocusEvent
, 0, 0, 0},{0, 0, 0, 0}};
33153 static swig_cast_info _swigc__p_wxShowEvent
[] = {{&_swigt__p_wxShowEvent
, 0, 0, 0},{0, 0, 0, 0}};
33154 static swig_cast_info _swigc__p_wxNavigationKeyEvent
[] = {{&_swigt__p_wxNavigationKeyEvent
, 0, 0, 0},{0, 0, 0, 0}};
33155 static swig_cast_info _swigc__p_wxKeyEvent
[] = {{&_swigt__p_wxKeyEvent
, 0, 0, 0},{0, 0, 0, 0}};
33156 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_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_wxClipboardTextEvent
, _p_wxClipboardTextEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxPaintEvent
, _p_wxPaintEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxNcPaintEvent
, _p_wxNcPaintEventTo_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}};
33157 static swig_cast_info _swigc__p_wxValidator
[] = {{&_swigt__p_wxValidator
, 0, 0, 0},{0, 0, 0, 0}};
33158 static swig_cast_info _swigc__p_wxPyValidator
[] = {{&_swigt__p_wxPyValidator
, 0, 0, 0},{0, 0, 0, 0}};
33159 static swig_cast_info _swigc__p_wxControl
[] = {{&_swigt__p_wxControl
, 0, 0, 0},{0, 0, 0, 0}};
33160 static swig_cast_info _swigc__p_wxPyApp
[] = {{&_swigt__p_wxPyApp
, 0, 0, 0},{0, 0, 0, 0}};
33161 static swig_cast_info _swigc__p_wxControlWithItems
[] = {{&_swigt__p_wxControlWithItems
, 0, 0, 0},{0, 0, 0, 0}};
33162 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}};
33163 static swig_cast_info _swigc__p_wxFileDialog
[] = { {&_swigt__p_wxFileDialog
, 0, 0, 0},{0, 0, 0, 0}};
33164 static swig_cast_info _swigc__p_wxFileSystem
[] = { {&_swigt__p_wxFileSystem
, 0, 0, 0},{0, 0, 0, 0}};
33165 static swig_cast_info _swigc__p_wxFindDialogEvent
[] = { {&_swigt__p_wxFindDialogEvent
, 0, 0, 0},{0, 0, 0, 0}};
33166 static swig_cast_info _swigc__p_wxFindReplaceData
[] = { {&_swigt__p_wxFindReplaceData
, 0, 0, 0},{0, 0, 0, 0}};
33167 static swig_cast_info _swigc__p_wxFindReplaceDialog
[] = { {&_swigt__p_wxFindReplaceDialog
, 0, 0, 0},{0, 0, 0, 0}};
33168 static swig_cast_info _swigc__p_wxFont
[] = { {&_swigt__p_wxFont
, 0, 0, 0},{0, 0, 0, 0}};
33169 static swig_cast_info _swigc__p_wxFontData
[] = { {&_swigt__p_wxFontData
, 0, 0, 0},{0, 0, 0, 0}};
33170 static swig_cast_info _swigc__p_wxFontDialog
[] = { {&_swigt__p_wxFontDialog
, 0, 0, 0},{0, 0, 0, 0}};
33171 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}};
33172 static swig_cast_info _swigc__p_wxHtmlLinkInfo
[] = { {&_swigt__p_wxHtmlLinkInfo
, 0, 0, 0},{0, 0, 0, 0}};
33173 static swig_cast_info _swigc__p_wxIcon
[] = { {&_swigt__p_wxIcon
, 0, 0, 0},{0, 0, 0, 0}};
33174 static swig_cast_info _swigc__p_wxIconBundle
[] = { {&_swigt__p_wxIconBundle
, 0, 0, 0},{0, 0, 0, 0}};
33175 static swig_cast_info _swigc__p_wxLayoutAlgorithm
[] = { {&_swigt__p_wxLayoutAlgorithm
, 0, 0, 0},{0, 0, 0, 0}};
33176 static swig_cast_info _swigc__p_wxMDIChildFrame
[] = { {&_swigt__p_wxMDIChildFrame
, 0, 0, 0},{0, 0, 0, 0}};
33177 static swig_cast_info _swigc__p_wxMDIClientWindow
[] = { {&_swigt__p_wxMDIClientWindow
, 0, 0, 0},{0, 0, 0, 0}};
33178 static swig_cast_info _swigc__p_wxMDIParentFrame
[] = { {&_swigt__p_wxMDIParentFrame
, 0, 0, 0},{0, 0, 0, 0}};
33179 static swig_cast_info _swigc__p_wxMenu
[] = { {&_swigt__p_wxMenu
, 0, 0, 0},{0, 0, 0, 0}};
33180 static swig_cast_info _swigc__p_wxMenuBar
[] = { {&_swigt__p_wxMenuBar
, 0, 0, 0},{0, 0, 0, 0}};
33181 static swig_cast_info _swigc__p_wxMessageDialog
[] = { {&_swigt__p_wxMessageDialog
, 0, 0, 0},{0, 0, 0, 0}};
33182 static swig_cast_info _swigc__p_wxMiniFrame
[] = { {&_swigt__p_wxMiniFrame
, 0, 0, 0},{0, 0, 0, 0}};
33183 static swig_cast_info _swigc__p_wxMultiChoiceDialog
[] = { {&_swigt__p_wxMultiChoiceDialog
, 0, 0, 0},{0, 0, 0, 0}};
33184 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}};
33185 static swig_cast_info _swigc__p_wxNumberEntryDialog
[] = { {&_swigt__p_wxNumberEntryDialog
, 0, 0, 0},{0, 0, 0, 0}};
33186 static swig_cast_info _swigc__p_wxLayoutConstraints
[] = {{&_swigt__p_wxLayoutConstraints
, 0, 0, 0},{0, 0, 0, 0}};
33187 static swig_cast_info _swigc__p_wxGBSizerItem
[] = {{&_swigt__p_wxGBSizerItem
, 0, 0, 0},{0, 0, 0, 0}};
33188 static swig_cast_info _swigc__p_wxSizerItem
[] = {{&_swigt__p_wxSizerItem
, 0, 0, 0},{0, 0, 0, 0}};
33189 static swig_cast_info _swigc__p_wxIndividualLayoutConstraint
[] = {{&_swigt__p_wxIndividualLayoutConstraint
, 0, 0, 0},{0, 0, 0, 0}};
33190 static swig_cast_info _swigc__p_wxStaticBoxSizer
[] = {{&_swigt__p_wxStaticBoxSizer
, 0, 0, 0},{0, 0, 0, 0}};
33191 static swig_cast_info _swigc__p_wxBoxSizer
[] = {{&_swigt__p_wxBoxSizer
, 0, 0, 0},{0, 0, 0, 0}};
33192 static swig_cast_info _swigc__p_wxSizer
[] = {{&_swigt__p_wxSizer
, 0, 0, 0},{0, 0, 0, 0}};
33193 static swig_cast_info _swigc__p_wxGridBagSizer
[] = {{&_swigt__p_wxGridBagSizer
, 0, 0, 0},{0, 0, 0, 0}};
33194 static swig_cast_info _swigc__p_wxGridSizer
[] = {{&_swigt__p_wxGridSizer
, 0, 0, 0},{0, 0, 0, 0}};
33195 static swig_cast_info _swigc__p_wxFlexGridSizer
[] = {{&_swigt__p_wxFlexGridSizer
, 0, 0, 0},{0, 0, 0, 0}};
33196 static swig_cast_info _swigc__p_wxFSFile
[] = {{&_swigt__p_wxFSFile
, 0, 0, 0},{0, 0, 0, 0}};
33197 static swig_cast_info _swigc__p_wxPySizer
[] = {{&_swigt__p_wxPySizer
, 0, 0, 0},{0, 0, 0, 0}};
33198 static swig_cast_info _swigc__p_wxMenuItem
[] = {{&_swigt__p_wxMenuItem
, 0, 0, 0},{0, 0, 0, 0}};
33199 static swig_cast_info _swigc__p_wxBMPHandler
[] = {{&_swigt__p_wxBMPHandler
, 0, 0, 0},{0, 0, 0, 0}};
33200 static swig_cast_info _swigc__p_wxICOHandler
[] = {{&_swigt__p_wxICOHandler
, 0, 0, 0},{0, 0, 0, 0}};
33201 static swig_cast_info _swigc__p_wxCURHandler
[] = {{&_swigt__p_wxCURHandler
, 0, 0, 0},{0, 0, 0, 0}};
33202 static swig_cast_info _swigc__p_wxANIHandler
[] = {{&_swigt__p_wxANIHandler
, 0, 0, 0},{0, 0, 0, 0}};
33203 static swig_cast_info _swigc__p_wxPNGHandler
[] = {{&_swigt__p_wxPNGHandler
, 0, 0, 0},{0, 0, 0, 0}};
33204 static swig_cast_info _swigc__p_wxGIFHandler
[] = {{&_swigt__p_wxGIFHandler
, 0, 0, 0},{0, 0, 0, 0}};
33205 static swig_cast_info _swigc__p_wxPCXHandler
[] = {{&_swigt__p_wxPCXHandler
, 0, 0, 0},{0, 0, 0, 0}};
33206 static swig_cast_info _swigc__p_wxJPEGHandler
[] = {{&_swigt__p_wxJPEGHandler
, 0, 0, 0},{0, 0, 0, 0}};
33207 static swig_cast_info _swigc__p_wxPNMHandler
[] = {{&_swigt__p_wxPNMHandler
, 0, 0, 0},{0, 0, 0, 0}};
33208 static swig_cast_info _swigc__p_wxPyImageHandler
[] = {{&_swigt__p_wxPyImageHandler
, 0, 0, 0},{0, 0, 0, 0}};
33209 static swig_cast_info _swigc__p_wxImageHandler
[] = {{&_swigt__p_wxImageHandler
, 0, 0, 0},{0, 0, 0, 0}};
33210 static swig_cast_info _swigc__p_wxXPMHandler
[] = {{&_swigt__p_wxXPMHandler
, 0, 0, 0},{0, 0, 0, 0}};
33211 static swig_cast_info _swigc__p_wxTIFFHandler
[] = {{&_swigt__p_wxTIFFHandler
, 0, 0, 0},{0, 0, 0, 0}};
33212 static swig_cast_info _swigc__p_wxAcceleratorTable
[] = {{&_swigt__p_wxAcceleratorTable
, 0, 0, 0},{0, 0, 0, 0}};
33213 static swig_cast_info _swigc__p_wxImage
[] = {{&_swigt__p_wxImage
, 0, 0, 0},{0, 0, 0, 0}};
33214 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_wxGBSizerItem
, _p_wxGBSizerItemTo_p_wxObject
, 0, 0}, {&_swigt__p_wxSizerItem
, _p_wxSizerItemTo_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_wxClipboardTextEvent
, _p_wxClipboardTextEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPaintEvent
, _p_wxPaintEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxNcPaintEvent
, _p_wxNcPaintEventTo_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_wxProgressDialog
, _p_wxProgressDialogTo_p_wxObject
, 0, 0}, {&_swigt__p_wxFindReplaceDialog
, _p_wxFindReplaceDialogTo_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_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_wxActivateEvent
, _p_wxActivateEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxMenuItem
, _p_wxMenuItemTo_p_wxObject
, 0, 0}, {&_swigt__p_wxCalculateLayoutEvent
, _p_wxCalculateLayoutEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxBMPHandler
, _p_wxBMPHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxICOHandler
, _p_wxICOHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxCURHandler
, _p_wxCURHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxANIHandler
, _p_wxANIHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPNGHandler
, _p_wxPNGHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxGIFHandler
, _p_wxGIFHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPCXHandler
, _p_wxPCXHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxJPEGHandler
, _p_wxJPEGHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPNMHandler
, _p_wxPNMHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPyImageHandler
, _p_wxPyImageHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxImageHandler
, _p_wxImageHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxXPMHandler
, _p_wxXPMHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxTIFFHandler
, _p_wxTIFFHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxEvtHandler
, _p_wxEvtHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPyVListBox
, _p_wxPyVListBoxTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPyHtmlListBox
, _p_wxPyHtmlListBoxTo_p_wxObject
, 0, 0}, {&_swigt__p_wxStdDialogButtonSizer
, _p_wxStdDialogButtonSizerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxAcceleratorTable
, _p_wxAcceleratorTableTo_p_wxObject
, 0, 0}, {&_swigt__p_wxMiniFrame
, _p_wxMiniFrameTo_p_wxObject
, 0, 0}, {&_swigt__p_wxImage
, _p_wxImageTo_p_wxObject
, 0, 0}, {&_swigt__p_wxFrame
, _p_wxFrameTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPyPrintout
, _p_wxPyPrintoutTo_p_wxObject
, 0, 0}, {&_swigt__p_wxTaskBarIconEvent
, _p_wxTaskBarIconEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxScrollWinEvent
, _p_wxScrollWinEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxStatusBar
, _p_wxStatusBarTo_p_wxObject
, 0, 0}, {&_swigt__p_wxMDIParentFrame
, _p_wxMDIParentFrameTo_p_wxObject
, 0, 0}, {&_swigt__p_wxObject
, 0, 0, 0}, {&_swigt__p_wxKeyEvent
, _p_wxKeyEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxNavigationKeyEvent
, _p_wxNavigationKeyEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxWindowDestroyEvent
, _p_wxWindowDestroyEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxMenuBar
, _p_wxMenuBarTo_p_wxObject
, 0, 0}, {&_swigt__p_wxScrolledWindow
, _p_wxScrolledWindowTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPyScrolledWindow
, _p_wxPyScrolledWindowTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPyVScrolledWindow
, _p_wxPyVScrolledWindowTo_p_wxObject
, 0, 0}, {&_swigt__p_wxMDIClientWindow
, _p_wxMDIClientWindowTo_p_wxObject
, 0, 0}, {&_swigt__p_wxTopLevelWindow
, _p_wxTopLevelWindowTo_p_wxObject
, 0, 0}, {&_swigt__p_wxWindow
, _p_wxWindowTo_p_wxObject
, 0, 0}, {&_swigt__p_wxSashWindow
, _p_wxSashWindowTo_p_wxObject
, 0, 0}, {&_swigt__p_wxSashLayoutWindow
, _p_wxSashLayoutWindowTo_p_wxObject
, 0, 0}, {&_swigt__p_wxSplitterWindow
, _p_wxSplitterWindowTo_p_wxObject
, 0, 0}, {&_swigt__p_wxSplashScreenWindow
, _p_wxSplashScreenWindowTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPopupWindow
, _p_wxPopupWindowTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPyPopupTransientWindow
, _p_wxPyPopupTransientWindowTo_p_wxObject
, 0, 0}, {&_swigt__p_wxTipWindow
, _p_wxTipWindowTo_p_wxObject
, 0, 0}, {&_swigt__p_wxSashEvent
, _p_wxSashEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPrintPreview
, _p_wxPrintPreviewTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPyPrintPreview
, _p_wxPyPrintPreviewTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPanel
, _p_wxPanelTo_p_wxObject
, 0, 0}, {&_swigt__p_wxDialog
, _p_wxDialogTo_p_wxObject
, 0, 0}, {&_swigt__p_wxColourDialog
, _p_wxColourDialogTo_p_wxObject
, 0, 0}, {&_swigt__p_wxDirDialog
, _p_wxDirDialogTo_p_wxObject
, 0, 0}, {&_swigt__p_wxFontDialog
, _p_wxFontDialogTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPageSetupDialog
, _p_wxPageSetupDialogTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPrintDialog
, _p_wxPrintDialogTo_p_wxObject
, 0, 0}, {&_swigt__p_wxFileSystem
, _p_wxFileSystemTo_p_wxObject
, 0, 0}, {&_swigt__p_wxContextMenuEvent
, _p_wxContextMenuEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxMenuEvent
, _p_wxMenuEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxCloseEvent
, _p_wxCloseEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxMouseEvent
, _p_wxMouseEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxEraseEvent
, _p_wxEraseEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPyApp
, _p_wxPyAppTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPyCommandEvent
, _p_wxPyCommandEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxCommandEvent
, _p_wxCommandEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPreviewControlBar
, _p_wxPreviewControlBarTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPyPreviewControlBar
, _p_wxPyPreviewControlBarTo_p_wxObject
, 0, 0}, {&_swigt__p_wxDropFilesEvent
, _p_wxDropFilesEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxFocusEvent
, _p_wxFocusEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxChildFocusEvent
, _p_wxChildFocusEventTo_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}};
33215 static swig_cast_info _swigc__p_wxPageSetupDialog
[] = { {&_swigt__p_wxPageSetupDialog
, 0, 0, 0},{0, 0, 0, 0}};
33216 static swig_cast_info _swigc__p_wxPageSetupDialogData
[] = { {&_swigt__p_wxPageSetupDialogData
, 0, 0, 0},{0, 0, 0, 0}};
33217 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}};
33218 static swig_cast_info _swigc__p_wxPaperSize
[] = { {&_swigt__p_wxPaperSize
, 0, 0, 0},{0, 0, 0, 0}};
33219 static swig_cast_info _swigc__p_wxPasswordEntryDialog
[] = { {&_swigt__p_wxPasswordEntryDialog
, 0, 0, 0},{0, 0, 0, 0}};
33220 static swig_cast_info _swigc__p_wxPoint
[] = { {&_swigt__p_wxPoint
, 0, 0, 0},{0, 0, 0, 0}};
33221 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}};
33222 static swig_cast_info _swigc__p_wxPreviewCanvas
[] = { {&_swigt__p_wxPreviewCanvas
, 0, 0, 0},{0, 0, 0, 0}};
33223 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}};
33224 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}};
33225 static swig_cast_info _swigc__p_wxPrintData
[] = { {&_swigt__p_wxPrintData
, 0, 0, 0},{0, 0, 0, 0}};
33226 static swig_cast_info _swigc__p_wxPrintDialog
[] = { {&_swigt__p_wxPrintDialog
, 0, 0, 0},{0, 0, 0, 0}};
33227 static swig_cast_info _swigc__p_wxPrintDialogData
[] = { {&_swigt__p_wxPrintDialogData
, 0, 0, 0},{0, 0, 0, 0}};
33228 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}};
33229 static swig_cast_info _swigc__p_wxPrinter
[] = { {&_swigt__p_wxPrinter
, 0, 0, 0},{0, 0, 0, 0}};
33230 static swig_cast_info _swigc__p_wxProgressDialog
[] = { {&_swigt__p_wxProgressDialog
, 0, 0, 0},{0, 0, 0, 0}};
33231 static swig_cast_info _swigc__p_wxPyHtmlListBox
[] = { {&_swigt__p_wxPyHtmlListBox
, 0, 0, 0},{0, 0, 0, 0}};
33232 static swig_cast_info _swigc__p_wxPyPanel
[] = { {&_swigt__p_wxPyPanel
, 0, 0, 0},{0, 0, 0, 0}};
33233 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}};
33234 static swig_cast_info _swigc__p_wxPyPreviewControlBar
[] = { {&_swigt__p_wxPyPreviewControlBar
, 0, 0, 0},{0, 0, 0, 0}};
33235 static swig_cast_info _swigc__p_wxPyPreviewFrame
[] = { {&_swigt__p_wxPyPreviewFrame
, 0, 0, 0},{0, 0, 0, 0}};
33236 static swig_cast_info _swigc__p_wxPyPrintPreview
[] = { {&_swigt__p_wxPyPrintPreview
, 0, 0, 0},{0, 0, 0, 0}};
33237 static swig_cast_info _swigc__p_wxPyPrintout
[] = { {&_swigt__p_wxPyPrintout
, 0, 0, 0},{0, 0, 0, 0}};
33238 static swig_cast_info _swigc__p_wxPyScrolledWindow
[] = { {&_swigt__p_wxPyScrolledWindow
, 0, 0, 0},{0, 0, 0, 0}};
33239 static swig_cast_info _swigc__p_wxPyTaskBarIcon
[] = { {&_swigt__p_wxPyTaskBarIcon
, 0, 0, 0},{0, 0, 0, 0}};
33240 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}};
33241 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}};
33242 static swig_cast_info _swigc__p_wxPyWindow
[] = { {&_swigt__p_wxPyWindow
, 0, 0, 0},{0, 0, 0, 0}};
33243 static swig_cast_info _swigc__p_wxQueryLayoutInfoEvent
[] = { {&_swigt__p_wxQueryLayoutInfoEvent
, 0, 0, 0},{0, 0, 0, 0}};
33244 static swig_cast_info _swigc__p_wxRect
[] = { {&_swigt__p_wxRect
, 0, 0, 0},{0, 0, 0, 0}};
33245 static swig_cast_info _swigc__p_wxRegion
[] = { {&_swigt__p_wxRegion
, 0, 0, 0},{0, 0, 0, 0}};
33246 static swig_cast_info _swigc__p_wxSashEvent
[] = { {&_swigt__p_wxSashEvent
, 0, 0, 0},{0, 0, 0, 0}};
33247 static swig_cast_info _swigc__p_wxSashLayoutWindow
[] = { {&_swigt__p_wxSashLayoutWindow
, 0, 0, 0},{0, 0, 0, 0}};
33248 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}};
33249 static swig_cast_info _swigc__p_wxScrollWinEvent
[] = { {&_swigt__p_wxScrollWinEvent
, 0, 0, 0},{0, 0, 0, 0}};
33250 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}};
33251 static swig_cast_info _swigc__p_wxSingleChoiceDialog
[] = { {&_swigt__p_wxSingleChoiceDialog
, 0, 0, 0},{0, 0, 0, 0}};
33252 static swig_cast_info _swigc__p_wxSize
[] = { {&_swigt__p_wxSize
, 0, 0, 0},{0, 0, 0, 0}};
33253 static swig_cast_info _swigc__p_wxSplashScreen
[] = { {&_swigt__p_wxSplashScreen
, 0, 0, 0},{0, 0, 0, 0}};
33254 static swig_cast_info _swigc__p_wxSplashScreenWindow
[] = { {&_swigt__p_wxSplashScreenWindow
, 0, 0, 0},{0, 0, 0, 0}};
33255 static swig_cast_info _swigc__p_wxSplitterEvent
[] = { {&_swigt__p_wxSplitterEvent
, 0, 0, 0},{0, 0, 0, 0}};
33256 static swig_cast_info _swigc__p_wxSplitterWindow
[] = { {&_swigt__p_wxSplitterWindow
, 0, 0, 0},{0, 0, 0, 0}};
33257 static swig_cast_info _swigc__p_wxStatusBar
[] = { {&_swigt__p_wxStatusBar
, 0, 0, 0},{0, 0, 0, 0}};
33258 static swig_cast_info _swigc__p_wxStdDialogButtonSizer
[] = { {&_swigt__p_wxStdDialogButtonSizer
, 0, 0, 0},{0, 0, 0, 0}};
33259 static swig_cast_info _swigc__p_wxString
[] = { {&_swigt__p_wxString
, 0, 0, 0},{0, 0, 0, 0}};
33260 static swig_cast_info _swigc__p_wxTaskBarIcon
[] = { {&_swigt__p_wxTaskBarIcon
, 0, 0, 0},{0, 0, 0, 0}};
33261 static swig_cast_info _swigc__p_wxTaskBarIconEvent
[] = { {&_swigt__p_wxTaskBarIconEvent
, 0, 0, 0},{0, 0, 0, 0}};
33262 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}};
33263 static swig_cast_info _swigc__p_wxTipWindow
[] = { {&_swigt__p_wxTipWindow
, 0, 0, 0},{0, 0, 0, 0}};
33264 static swig_cast_info _swigc__p_wxToolBar
[] = { {&_swigt__p_wxToolBar
, 0, 0, 0},{0, 0, 0, 0}};
33265 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}};
33266 static swig_cast_info _swigc__p_wxVisualAttributes
[] = { {&_swigt__p_wxVisualAttributes
, 0, 0, 0},{0, 0, 0, 0}};
33267 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}};
33269 static swig_cast_info
*swig_cast_initial
[] = {
33272 _swigc__p_form_ops_t
,
33274 _swigc__p_unsigned_char
,
33275 _swigc__p_unsigned_int
,
33276 _swigc__p_unsigned_long
,
33277 _swigc__p_wxANIHandler
,
33278 _swigc__p_wxAcceleratorTable
,
33279 _swigc__p_wxActivateEvent
,
33280 _swigc__p_wxArrayInt
,
33281 _swigc__p_wxBMPHandler
,
33282 _swigc__p_wxBitmap
,
33283 _swigc__p_wxBoxSizer
,
33284 _swigc__p_wxCURHandler
,
33285 _swigc__p_wxCalculateLayoutEvent
,
33286 _swigc__p_wxChildFocusEvent
,
33287 _swigc__p_wxClipboardTextEvent
,
33288 _swigc__p_wxCloseEvent
,
33289 _swigc__p_wxColour
,
33290 _swigc__p_wxColourData
,
33291 _swigc__p_wxColourDialog
,
33292 _swigc__p_wxCommandEvent
,
33293 _swigc__p_wxContextMenuEvent
,
33294 _swigc__p_wxControl
,
33295 _swigc__p_wxControlWithItems
,
33297 _swigc__p_wxDateEvent
,
33298 _swigc__p_wxDialog
,
33299 _swigc__p_wxDirDialog
,
33300 _swigc__p_wxDisplayChangedEvent
,
33301 _swigc__p_wxDropFilesEvent
,
33302 _swigc__p_wxDuplexMode
,
33303 _swigc__p_wxEraseEvent
,
33305 _swigc__p_wxEvtHandler
,
33306 _swigc__p_wxFSFile
,
33307 _swigc__p_wxFileDialog
,
33308 _swigc__p_wxFileSystem
,
33309 _swigc__p_wxFindDialogEvent
,
33310 _swigc__p_wxFindReplaceData
,
33311 _swigc__p_wxFindReplaceDialog
,
33312 _swigc__p_wxFlexGridSizer
,
33313 _swigc__p_wxFocusEvent
,
33315 _swigc__p_wxFontData
,
33316 _swigc__p_wxFontDialog
,
33318 _swigc__p_wxGBSizerItem
,
33319 _swigc__p_wxGIFHandler
,
33320 _swigc__p_wxGridBagSizer
,
33321 _swigc__p_wxGridSizer
,
33322 _swigc__p_wxHtmlLinkInfo
,
33323 _swigc__p_wxICOHandler
,
33325 _swigc__p_wxIconBundle
,
33326 _swigc__p_wxIconizeEvent
,
33327 _swigc__p_wxIdleEvent
,
33329 _swigc__p_wxImageHandler
,
33330 _swigc__p_wxIndividualLayoutConstraint
,
33331 _swigc__p_wxInitDialogEvent
,
33332 _swigc__p_wxJPEGHandler
,
33333 _swigc__p_wxKeyEvent
,
33334 _swigc__p_wxLayoutAlgorithm
,
33335 _swigc__p_wxLayoutConstraints
,
33336 _swigc__p_wxMDIChildFrame
,
33337 _swigc__p_wxMDIClientWindow
,
33338 _swigc__p_wxMDIParentFrame
,
33339 _swigc__p_wxMaximizeEvent
,
33341 _swigc__p_wxMenuBar
,
33342 _swigc__p_wxMenuEvent
,
33343 _swigc__p_wxMenuItem
,
33344 _swigc__p_wxMessageDialog
,
33345 _swigc__p_wxMiniFrame
,
33346 _swigc__p_wxMouseCaptureChangedEvent
,
33347 _swigc__p_wxMouseEvent
,
33348 _swigc__p_wxMoveEvent
,
33349 _swigc__p_wxMultiChoiceDialog
,
33350 _swigc__p_wxNavigationKeyEvent
,
33351 _swigc__p_wxNcPaintEvent
,
33352 _swigc__p_wxNotifyEvent
,
33353 _swigc__p_wxNumberEntryDialog
,
33354 _swigc__p_wxObject
,
33355 _swigc__p_wxPCXHandler
,
33356 _swigc__p_wxPNGHandler
,
33357 _swigc__p_wxPNMHandler
,
33358 _swigc__p_wxPageSetupDialog
,
33359 _swigc__p_wxPageSetupDialogData
,
33360 _swigc__p_wxPaintEvent
,
33361 _swigc__p_wxPaletteChangedEvent
,
33363 _swigc__p_wxPaperSize
,
33364 _swigc__p_wxPasswordEntryDialog
,
33366 _swigc__p_wxPopupWindow
,
33367 _swigc__p_wxPreviewCanvas
,
33368 _swigc__p_wxPreviewControlBar
,
33369 _swigc__p_wxPreviewFrame
,
33370 _swigc__p_wxPrintData
,
33371 _swigc__p_wxPrintDialog
,
33372 _swigc__p_wxPrintDialogData
,
33373 _swigc__p_wxPrintPreview
,
33374 _swigc__p_wxPrinter
,
33375 _swigc__p_wxProgressDialog
,
33377 _swigc__p_wxPyCommandEvent
,
33378 _swigc__p_wxPyEvent
,
33379 _swigc__p_wxPyHtmlListBox
,
33380 _swigc__p_wxPyImageHandler
,
33381 _swigc__p_wxPyPanel
,
33382 _swigc__p_wxPyPopupTransientWindow
,
33383 _swigc__p_wxPyPreviewControlBar
,
33384 _swigc__p_wxPyPreviewFrame
,
33385 _swigc__p_wxPyPrintPreview
,
33386 _swigc__p_wxPyPrintout
,
33387 _swigc__p_wxPyScrolledWindow
,
33388 _swigc__p_wxPySizer
,
33389 _swigc__p_wxPyTaskBarIcon
,
33390 _swigc__p_wxPyVListBox
,
33391 _swigc__p_wxPyVScrolledWindow
,
33392 _swigc__p_wxPyValidator
,
33393 _swigc__p_wxPyWindow
,
33394 _swigc__p_wxQueryLayoutInfoEvent
,
33395 _swigc__p_wxQueryNewPaletteEvent
,
33397 _swigc__p_wxRegion
,
33398 _swigc__p_wxSashEvent
,
33399 _swigc__p_wxSashLayoutWindow
,
33400 _swigc__p_wxSashWindow
,
33401 _swigc__p_wxScrollEvent
,
33402 _swigc__p_wxScrollWinEvent
,
33403 _swigc__p_wxScrolledWindow
,
33404 _swigc__p_wxSetCursorEvent
,
33405 _swigc__p_wxShowEvent
,
33406 _swigc__p_wxSingleChoiceDialog
,
33408 _swigc__p_wxSizeEvent
,
33410 _swigc__p_wxSizerItem
,
33411 _swigc__p_wxSplashScreen
,
33412 _swigc__p_wxSplashScreenWindow
,
33413 _swigc__p_wxSplitterEvent
,
33414 _swigc__p_wxSplitterWindow
,
33415 _swigc__p_wxStaticBoxSizer
,
33416 _swigc__p_wxStatusBar
,
33417 _swigc__p_wxStdDialogButtonSizer
,
33418 _swigc__p_wxString
,
33419 _swigc__p_wxSysColourChangedEvent
,
33420 _swigc__p_wxTIFFHandler
,
33421 _swigc__p_wxTaskBarIcon
,
33422 _swigc__p_wxTaskBarIconEvent
,
33423 _swigc__p_wxTextEntryDialog
,
33424 _swigc__p_wxTipWindow
,
33425 _swigc__p_wxToolBar
,
33426 _swigc__p_wxTopLevelWindow
,
33427 _swigc__p_wxUpdateUIEvent
,
33428 _swigc__p_wxValidator
,
33429 _swigc__p_wxVisualAttributes
,
33430 _swigc__p_wxWindow
,
33431 _swigc__p_wxWindowCreateEvent
,
33432 _swigc__p_wxWindowDestroyEvent
,
33433 _swigc__p_wxXPMHandler
,
33437 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (END) -------- */
33439 static swig_const_info swig_const_table
[] = {
33440 {0, 0, 0, 0.0, 0, 0}};
33445 /* -----------------------------------------------------------------------------
33446 * Type initialization:
33447 * This problem is tough by the requirement that no dynamic
33448 * memory is used. Also, since swig_type_info structures store pointers to
33449 * swig_cast_info structures and swig_cast_info structures store pointers back
33450 * to swig_type_info structures, we need some lookup code at initialization.
33451 * The idea is that swig generates all the structures that are needed.
33452 * The runtime then collects these partially filled structures.
33453 * The SWIG_InitializeModule function takes these initial arrays out of
33454 * swig_module, and does all the lookup, filling in the swig_module.types
33455 * array with the correct data and linking the correct swig_cast_info
33456 * structures together.
33458 * The generated swig_type_info structures are assigned staticly to an initial
33459 * array. We just loop though that array, and handle each type individually.
33460 * First we lookup if this type has been already loaded, and if so, use the
33461 * loaded structure instead of the generated one. Then we have to fill in the
33462 * cast linked list. The cast data is initially stored in something like a
33463 * two-dimensional array. Each row corresponds to a type (there are the same
33464 * number of rows as there are in the swig_type_initial array). Each entry in
33465 * a column is one of the swig_cast_info structures for that type.
33466 * The cast_initial array is actually an array of arrays, because each row has
33467 * a variable number of columns. So to actually build the cast linked list,
33468 * we find the array of casts associated with the type, and loop through it
33469 * adding the casts to the list. The one last trick we need to do is making
33470 * sure the type pointer in the swig_cast_info struct is correct.
33472 * First off, we lookup the cast->type name to see if it is already loaded.
33473 * There are three cases to handle:
33474 * 1) If the cast->type has already been loaded AND the type we are adding
33475 * casting info to has not been loaded (it is in this module), THEN we
33476 * replace the cast->type pointer with the type pointer that has already
33478 * 2) If BOTH types (the one we are adding casting info to, and the
33479 * cast->type) are loaded, THEN the cast info has already been loaded by
33480 * the previous module so we just ignore it.
33481 * 3) Finally, if cast->type has not already been loaded, then we add that
33482 * swig_cast_info to the linked list (because the cast->type) pointer will
33484 * ----------------------------------------------------------------------------- */
33494 #define SWIGRUNTIME_DEBUG
33498 SWIG_InitializeModule(void *clientdata
) {
33500 swig_module_info
*module_head
;
33501 static int init_run
= 0;
33503 clientdata
= clientdata
;
33505 if (init_run
) return;
33508 /* Initialize the swig_module */
33509 swig_module
.type_initial
= swig_type_initial
;
33510 swig_module
.cast_initial
= swig_cast_initial
;
33512 /* Try and load any already created modules */
33513 module_head
= SWIG_GetModule(clientdata
);
33515 swig_module
.next
= module_head
->next
;
33516 module_head
->next
= &swig_module
;
33518 /* This is the first module loaded */
33519 swig_module
.next
= &swig_module
;
33520 SWIG_SetModule(clientdata
, &swig_module
);
33523 /* Now work on filling in swig_module.types */
33524 #ifdef SWIGRUNTIME_DEBUG
33525 printf("SWIG_InitializeModule: size %d\n", swig_module
.size
);
33527 for (i
= 0; i
< swig_module
.size
; ++i
) {
33528 swig_type_info
*type
= 0;
33529 swig_type_info
*ret
;
33530 swig_cast_info
*cast
;
33532 #ifdef SWIGRUNTIME_DEBUG
33533 printf("SWIG_InitializeModule: type %d %s\n", i
, swig_module
.type_initial
[i
]->name
);
33536 /* if there is another module already loaded */
33537 if (swig_module
.next
!= &swig_module
) {
33538 type
= SWIG_MangledTypeQueryModule(swig_module
.next
, &swig_module
, swig_module
.type_initial
[i
]->name
);
33541 /* Overwrite clientdata field */
33542 #ifdef SWIGRUNTIME_DEBUG
33543 printf("SWIG_InitializeModule: found type %s\n", type
->name
);
33545 if (swig_module
.type_initial
[i
]->clientdata
) {
33546 type
->clientdata
= swig_module
.type_initial
[i
]->clientdata
;
33547 #ifdef SWIGRUNTIME_DEBUG
33548 printf("SWIG_InitializeModule: found and overwrite type %s \n", type
->name
);
33552 type
= swig_module
.type_initial
[i
];
33555 /* Insert casting types */
33556 cast
= swig_module
.cast_initial
[i
];
33557 while (cast
->type
) {
33558 /* Don't need to add information already in the list */
33560 #ifdef SWIGRUNTIME_DEBUG
33561 printf("SWIG_InitializeModule: look cast %s\n", cast
->type
->name
);
33563 if (swig_module
.next
!= &swig_module
) {
33564 ret
= SWIG_MangledTypeQueryModule(swig_module
.next
, &swig_module
, cast
->type
->name
);
33565 #ifdef SWIGRUNTIME_DEBUG
33566 if (ret
) printf("SWIG_InitializeModule: found cast %s\n", ret
->name
);
33570 if (type
== swig_module
.type_initial
[i
]) {
33571 #ifdef SWIGRUNTIME_DEBUG
33572 printf("SWIG_InitializeModule: skip old type %s\n", ret
->name
);
33577 /* Check for casting already in the list */
33578 swig_cast_info
*ocast
= SWIG_TypeCheck(ret
->name
, type
);
33579 #ifdef SWIGRUNTIME_DEBUG
33580 if (ocast
) printf("SWIG_InitializeModule: skip old cast %s\n", ret
->name
);
33582 if (!ocast
) ret
= 0;
33587 #ifdef SWIGRUNTIME_DEBUG
33588 printf("SWIG_InitializeModule: adding cast %s\n", cast
->type
->name
);
33591 type
->cast
->prev
= cast
;
33592 cast
->next
= type
->cast
;
33598 /* Set entry in modules->types array equal to the type */
33599 swig_module
.types
[i
] = type
;
33601 swig_module
.types
[i
] = 0;
33603 #ifdef SWIGRUNTIME_DEBUG
33604 printf("**** SWIG_InitializeModule: Cast List ******\n");
33605 for (i
= 0; i
< swig_module
.size
; ++i
) {
33607 swig_cast_info
*cast
= swig_module
.cast_initial
[i
];
33608 printf("SWIG_InitializeModule: type %d %s\n", i
, swig_module
.type_initial
[i
]->name
);
33609 while (cast
->type
) {
33610 printf("SWIG_InitializeModule: cast type %s\n", cast
->type
->name
);
33614 printf("---- Total casts: %d\n",j
);
33616 printf("**** SWIG_InitializeModule: Cast List ******\n");
33620 /* This function will propagate the clientdata field of type to
33621 * any new swig_type_info structures that have been added into the list
33622 * of equivalent types. It is like calling
33623 * SWIG_TypeClientData(type, clientdata) a second time.
33626 SWIG_PropagateClientData(void) {
33628 swig_cast_info
*equiv
;
33629 static int init_run
= 0;
33631 if (init_run
) return;
33634 for (i
= 0; i
< swig_module
.size
; i
++) {
33635 if (swig_module
.types
[i
]->clientdata
) {
33636 equiv
= swig_module
.types
[i
]->cast
;
33638 if (!equiv
->converter
) {
33639 if (equiv
->type
&& !equiv
->type
->clientdata
)
33640 SWIG_TypeClientData(equiv
->type
, swig_module
.types
[i
]->clientdata
);
33642 equiv
= equiv
->next
;
33662 /* Python-specific SWIG API */
33663 #define SWIG_newvarlink() SWIG_Python_newvarlink()
33664 #define SWIG_addvarlink(p, name, get_attr, set_attr) SWIG_Python_addvarlink(p, name, get_attr, set_attr)
33665 #define SWIG_InstallConstants(d, constants) SWIG_Python_InstallConstants(d, constants)
33667 /* -----------------------------------------------------------------------------
33668 * global variable support code.
33669 * ----------------------------------------------------------------------------- */
33671 typedef struct swig_globalvar
{
33672 char *name
; /* Name of global variable */
33673 PyObject
*(*get_attr
)(void); /* Return the current value */
33674 int (*set_attr
)(PyObject
*); /* Set the value */
33675 struct swig_globalvar
*next
;
33678 typedef struct swig_varlinkobject
{
33680 swig_globalvar
*vars
;
33681 } swig_varlinkobject
;
33683 SWIGINTERN PyObject
*
33684 swig_varlink_repr(swig_varlinkobject
*SWIGUNUSEDPARM(v
)) {
33685 return PyString_FromString("<Swig global variables>");
33688 SWIGINTERN PyObject
*
33689 swig_varlink_str(swig_varlinkobject
*v
) {
33690 PyObject
*str
= PyString_FromString("(");
33691 swig_globalvar
*var
;
33692 for (var
= v
->vars
; var
; var
=var
->next
) {
33693 PyString_ConcatAndDel(&str
,PyString_FromString(var
->name
));
33694 if (var
->next
) PyString_ConcatAndDel(&str
,PyString_FromString(", "));
33696 PyString_ConcatAndDel(&str
,PyString_FromString(")"));
33701 swig_varlink_print(swig_varlinkobject
*v
, FILE *fp
, int SWIGUNUSEDPARM(flags
)) {
33702 PyObject
*str
= swig_varlink_str(v
);
33703 fprintf(fp
,"Swig global variables ");
33704 fprintf(fp
,"%s\n", PyString_AsString(str
));
33710 swig_varlink_dealloc(swig_varlinkobject
*v
) {
33711 swig_globalvar
*var
= v
->vars
;
33713 swig_globalvar
*n
= var
->next
;
33720 SWIGINTERN PyObject
*
33721 swig_varlink_getattr(swig_varlinkobject
*v
, char *n
) {
33722 PyObject
*res
= NULL
;
33723 swig_globalvar
*var
= v
->vars
;
33725 if (strcmp(var
->name
,n
) == 0) {
33726 res
= (*var
->get_attr
)();
33731 if (res
== NULL
&& !PyErr_Occurred()) {
33732 PyErr_SetString(PyExc_NameError
,"Unknown C global variable");
33738 swig_varlink_setattr(swig_varlinkobject
*v
, char *n
, PyObject
*p
) {
33740 swig_globalvar
*var
= v
->vars
;
33742 if (strcmp(var
->name
,n
) == 0) {
33743 res
= (*var
->set_attr
)(p
);
33748 if (res
== 1 && !PyErr_Occurred()) {
33749 PyErr_SetString(PyExc_NameError
,"Unknown C global variable");
33754 SWIGINTERN PyTypeObject
*
33755 swig_varlink_type(void) {
33756 static char varlink__doc__
[] = "Swig var link object";
33757 static PyTypeObject varlink_type
;
33758 static int type_init
= 0;
33760 const PyTypeObject tmp
33762 PyObject_HEAD_INIT(NULL
)
33763 0, /* Number of items in variable part (ob_size) */
33764 (char *)"swigvarlink", /* Type name (tp_name) */
33765 sizeof(swig_varlinkobject
), /* Basic size (tp_basicsize) */
33766 0, /* Itemsize (tp_itemsize) */
33767 (destructor
) swig_varlink_dealloc
, /* Deallocator (tp_dealloc) */
33768 (printfunc
) swig_varlink_print
, /* Print (tp_print) */
33769 (getattrfunc
) swig_varlink_getattr
, /* get attr (tp_getattr) */
33770 (setattrfunc
) swig_varlink_setattr
, /* Set attr (tp_setattr) */
33771 0, /* tp_compare */
33772 (reprfunc
) swig_varlink_repr
, /* tp_repr */
33773 0, /* tp_as_number */
33774 0, /* tp_as_sequence */
33775 0, /* tp_as_mapping */
33778 (reprfunc
)swig_varlink_str
, /* tp_str */
33779 0, /* tp_getattro */
33780 0, /* tp_setattro */
33781 0, /* tp_as_buffer */
33783 varlink__doc__
, /* tp_doc */
33784 0, /* tp_traverse */
33786 0, /* tp_richcompare */
33787 0, /* tp_weaklistoffset */
33788 #if PY_VERSION_HEX >= 0x02020000
33789 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, /* tp_iter -> tp_weaklist */
33791 #if PY_VERSION_HEX >= 0x02030000
33794 #ifdef COUNT_ALLOCS
33795 0,0,0,0 /* tp_alloc -> tp_next */
33798 varlink_type
= tmp
;
33799 varlink_type
.ob_type
= &PyType_Type
;
33802 return &varlink_type
;
33805 /* Create a variable linking object for use later */
33806 SWIGINTERN PyObject
*
33807 SWIG_Python_newvarlink(void) {
33808 swig_varlinkobject
*result
= PyObject_NEW(swig_varlinkobject
, swig_varlink_type());
33812 return ((PyObject
*) result
);
33816 SWIG_Python_addvarlink(PyObject
*p
, char *name
, PyObject
*(*get_attr
)(void), int (*set_attr
)(PyObject
*p
)) {
33817 swig_varlinkobject
*v
= (swig_varlinkobject
*) p
;
33818 swig_globalvar
*gv
= (swig_globalvar
*) malloc(sizeof(swig_globalvar
));
33820 size_t size
= strlen(name
)+1;
33821 gv
->name
= (char *)malloc(size
);
33823 strncpy(gv
->name
,name
,size
);
33824 gv
->get_attr
= get_attr
;
33825 gv
->set_attr
= set_attr
;
33826 gv
->next
= v
->vars
;
33832 SWIGINTERN PyObject
*
33834 static PyObject
*_SWIG_globals
= 0;
33835 if (!_SWIG_globals
) _SWIG_globals
= SWIG_newvarlink();
33836 return _SWIG_globals
;
33839 /* -----------------------------------------------------------------------------
33840 * constants/methods manipulation
33841 * ----------------------------------------------------------------------------- */
33843 /* Install Constants */
33845 SWIG_Python_InstallConstants(PyObject
*d
, swig_const_info constants
[]) {
33848 for (i
= 0; constants
[i
].type
; ++i
) {
33849 switch(constants
[i
].type
) {
33850 case SWIG_PY_POINTER
:
33851 obj
= SWIG_NewPointerObj(constants
[i
].pvalue
, *(constants
[i
]).ptype
,0);
33853 case SWIG_PY_BINARY
:
33854 obj
= SWIG_NewPackedObj(constants
[i
].pvalue
, constants
[i
].lvalue
, *(constants
[i
].ptype
));
33861 PyDict_SetItemString(d
, constants
[i
].name
, obj
);
33867 /* -----------------------------------------------------------------------------*/
33868 /* Fix SwigMethods to carry the callback ptrs when needed */
33869 /* -----------------------------------------------------------------------------*/
33872 SWIG_Python_FixMethods(PyMethodDef
*methods
,
33873 swig_const_info
*const_table
,
33874 swig_type_info
**types
,
33875 swig_type_info
**types_initial
) {
33877 for (i
= 0; methods
[i
].ml_name
; ++i
) {
33878 const char *c
= methods
[i
].ml_doc
;
33879 if (c
&& (c
= strstr(c
, "swig_ptr: "))) {
33881 swig_const_info
*ci
= 0;
33882 const char *name
= c
+ 10;
33883 for (j
= 0; const_table
[j
].type
; ++j
) {
33884 if (strncmp(const_table
[j
].name
, name
,
33885 strlen(const_table
[j
].name
)) == 0) {
33886 ci
= &(const_table
[j
]);
33891 size_t shift
= (ci
->ptype
) - types
;
33892 swig_type_info
*ty
= types_initial
[shift
];
33893 size_t ldoc
= (c
- methods
[i
].ml_doc
);
33894 size_t lptr
= strlen(ty
->name
)+2*sizeof(void*)+2;
33895 char *ndoc
= (char*)malloc(ldoc
+ lptr
+ 10);
33898 void *ptr
= (ci
->type
== SWIG_PY_POINTER
) ? ci
->pvalue
: 0;
33900 strncpy(buff
, methods
[i
].ml_doc
, ldoc
);
33902 strncpy(buff
, "swig_ptr: ", 10);
33904 SWIG_PackVoidPtr(buff
, ptr
, ty
->name
, lptr
);
33905 methods
[i
].ml_doc
= ndoc
;
33917 /* -----------------------------------------------------------------------------*
33918 * Partial Init method
33919 * -----------------------------------------------------------------------------*/
33924 SWIGEXPORT
void SWIG_init(void) {
33927 /* Fix SwigMethods to carry the callback ptrs when needed */
33928 SWIG_Python_FixMethods(SwigMethods
, swig_const_table
, swig_types
, swig_type_initial
);
33930 m
= Py_InitModule((char *) SWIG_name
, SwigMethods
);
33931 d
= PyModule_GetDict(m
);
33933 SWIG_InitializeModule(0);
33934 SWIG_InstallConstants(d
,swig_const_table
);
33937 PyDict_SetItemString(d
,(char*)"cvar", SWIG_globals());
33938 SWIG_addvarlink(SWIG_globals(),(char*)"FrameNameStr",FrameNameStr_get
, FrameNameStr_set
);
33939 SWIG_addvarlink(SWIG_globals(),(char*)"DialogNameStr",DialogNameStr_get
, DialogNameStr_set
);
33940 SWIG_addvarlink(SWIG_globals(),(char*)"StatusLineNameStr",StatusLineNameStr_get
, StatusLineNameStr_set
);
33941 SWIG_addvarlink(SWIG_globals(),(char*)"ToolBarNameStr",ToolBarNameStr_get
, ToolBarNameStr_set
);
33942 SWIG_Python_SetConstant(d
, "STAY_ON_TOP",SWIG_From_int(static_cast< int >(wxSTAY_ON_TOP
)));
33943 SWIG_Python_SetConstant(d
, "ICONIZE",SWIG_From_int(static_cast< int >(wxICONIZE
)));
33944 SWIG_Python_SetConstant(d
, "MINIMIZE",SWIG_From_int(static_cast< int >(wxMINIMIZE
)));
33945 SWIG_Python_SetConstant(d
, "MAXIMIZE",SWIG_From_int(static_cast< int >(wxMAXIMIZE
)));
33946 SWIG_Python_SetConstant(d
, "CLOSE_BOX",SWIG_From_int(static_cast< int >(wxCLOSE_BOX
)));
33947 SWIG_Python_SetConstant(d
, "THICK_FRAME",SWIG_From_int(static_cast< int >(wxTHICK_FRAME
)));
33948 SWIG_Python_SetConstant(d
, "SYSTEM_MENU",SWIG_From_int(static_cast< int >(wxSYSTEM_MENU
)));
33949 SWIG_Python_SetConstant(d
, "MINIMIZE_BOX",SWIG_From_int(static_cast< int >(wxMINIMIZE_BOX
)));
33950 SWIG_Python_SetConstant(d
, "MAXIMIZE_BOX",SWIG_From_int(static_cast< int >(wxMAXIMIZE_BOX
)));
33951 SWIG_Python_SetConstant(d
, "TINY_CAPTION_HORIZ",SWIG_From_int(static_cast< int >(wxTINY_CAPTION_HORIZ
)));
33952 SWIG_Python_SetConstant(d
, "TINY_CAPTION_VERT",SWIG_From_int(static_cast< int >(wxTINY_CAPTION_VERT
)));
33953 SWIG_Python_SetConstant(d
, "RESIZE_BOX",SWIG_From_int(static_cast< int >(wxRESIZE_BOX
)));
33954 SWIG_Python_SetConstant(d
, "RESIZE_BORDER",SWIG_From_int(static_cast< int >(wxRESIZE_BORDER
)));
33955 SWIG_Python_SetConstant(d
, "DIALOG_NO_PARENT",SWIG_From_int(static_cast< int >(wxDIALOG_NO_PARENT
)));
33956 SWIG_Python_SetConstant(d
, "DEFAULT_FRAME_STYLE",SWIG_From_int(static_cast< int >(wxDEFAULT_FRAME_STYLE
)));
33957 SWIG_Python_SetConstant(d
, "DEFAULT_DIALOG_STYLE",SWIG_From_int(static_cast< int >(wxDEFAULT_DIALOG_STYLE
)));
33958 SWIG_Python_SetConstant(d
, "FRAME_TOOL_WINDOW",SWIG_From_int(static_cast< int >(wxFRAME_TOOL_WINDOW
)));
33959 SWIG_Python_SetConstant(d
, "FRAME_FLOAT_ON_PARENT",SWIG_From_int(static_cast< int >(wxFRAME_FLOAT_ON_PARENT
)));
33960 SWIG_Python_SetConstant(d
, "FRAME_NO_WINDOW_MENU",SWIG_From_int(static_cast< int >(wxFRAME_NO_WINDOW_MENU
)));
33961 SWIG_Python_SetConstant(d
, "FRAME_NO_TASKBAR",SWIG_From_int(static_cast< int >(wxFRAME_NO_TASKBAR
)));
33962 SWIG_Python_SetConstant(d
, "FRAME_SHAPED",SWIG_From_int(static_cast< int >(wxFRAME_SHAPED
)));
33963 SWIG_Python_SetConstant(d
, "FRAME_DRAWER",SWIG_From_int(static_cast< int >(wxFRAME_DRAWER
)));
33964 SWIG_Python_SetConstant(d
, "FRAME_EX_METAL",SWIG_From_int(static_cast< int >(wxFRAME_EX_METAL
)));
33965 SWIG_Python_SetConstant(d
, "DIALOG_EX_METAL",SWIG_From_int(static_cast< int >(wxDIALOG_EX_METAL
)));
33966 SWIG_Python_SetConstant(d
, "DIALOG_MODAL",SWIG_From_int(static_cast< int >(wxDIALOG_MODAL
)));
33967 SWIG_Python_SetConstant(d
, "DIALOG_MODELESS",SWIG_From_int(static_cast< int >(wxDIALOG_MODELESS
)));
33968 SWIG_Python_SetConstant(d
, "USER_COLOURS",SWIG_From_int(static_cast< int >(wxUSER_COLOURS
)));
33969 SWIG_Python_SetConstant(d
, "NO_3D",SWIG_From_int(static_cast< int >(wxNO_3D
)));
33970 SWIG_Python_SetConstant(d
, "FULLSCREEN_NOMENUBAR",SWIG_From_int(static_cast< int >(wxFULLSCREEN_NOMENUBAR
)));
33971 SWIG_Python_SetConstant(d
, "FULLSCREEN_NOTOOLBAR",SWIG_From_int(static_cast< int >(wxFULLSCREEN_NOTOOLBAR
)));
33972 SWIG_Python_SetConstant(d
, "FULLSCREEN_NOSTATUSBAR",SWIG_From_int(static_cast< int >(wxFULLSCREEN_NOSTATUSBAR
)));
33973 SWIG_Python_SetConstant(d
, "FULLSCREEN_NOBORDER",SWIG_From_int(static_cast< int >(wxFULLSCREEN_NOBORDER
)));
33974 SWIG_Python_SetConstant(d
, "FULLSCREEN_NOCAPTION",SWIG_From_int(static_cast< int >(wxFULLSCREEN_NOCAPTION
)));
33975 SWIG_Python_SetConstant(d
, "FULLSCREEN_ALL",SWIG_From_int(static_cast< int >(wxFULLSCREEN_ALL
)));
33976 SWIG_Python_SetConstant(d
, "TOPLEVEL_EX_DIALOG",SWIG_From_int(static_cast< int >(wxTOPLEVEL_EX_DIALOG
)));
33977 SWIG_Python_SetConstant(d
, "USER_ATTENTION_INFO",SWIG_From_int(static_cast< int >(wxUSER_ATTENTION_INFO
)));
33978 SWIG_Python_SetConstant(d
, "USER_ATTENTION_ERROR",SWIG_From_int(static_cast< int >(wxUSER_ATTENTION_ERROR
)));
33979 SWIG_Python_SetConstant(d
, "Dialog_ButtonSizerFlags",SWIG_From_int(static_cast< int >(wxDialog::ButtonSizerFlags
)));
33980 SWIG_Python_SetConstant(d
, "SPLASH_CENTRE_ON_PARENT",SWIG_From_int(static_cast< int >(wxSPLASH_CENTRE_ON_PARENT
)));
33981 SWIG_Python_SetConstant(d
, "SPLASH_CENTRE_ON_SCREEN",SWIG_From_int(static_cast< int >(wxSPLASH_CENTRE_ON_SCREEN
)));
33982 SWIG_Python_SetConstant(d
, "SPLASH_NO_CENTRE",SWIG_From_int(static_cast< int >(wxSPLASH_NO_CENTRE
)));
33983 SWIG_Python_SetConstant(d
, "SPLASH_TIMEOUT",SWIG_From_int(static_cast< int >(wxSPLASH_TIMEOUT
)));
33984 SWIG_Python_SetConstant(d
, "SPLASH_NO_TIMEOUT",SWIG_From_int(static_cast< int >(wxSPLASH_NO_TIMEOUT
)));
33985 SWIG_Python_SetConstant(d
, "SB_NORMAL",SWIG_From_int(static_cast< int >(wxSB_NORMAL
)));
33986 SWIG_Python_SetConstant(d
, "SB_FLAT",SWIG_From_int(static_cast< int >(wxSB_FLAT
)));
33987 SWIG_Python_SetConstant(d
, "SB_RAISED",SWIG_From_int(static_cast< int >(wxSB_RAISED
)));
33988 SWIG_addvarlink(SWIG_globals(),(char*)"SplitterNameStr",SplitterNameStr_get
, SplitterNameStr_set
);
33989 SWIG_Python_SetConstant(d
, "SP_NOBORDER",SWIG_From_int(static_cast< int >(wxSP_NOBORDER
)));
33990 SWIG_Python_SetConstant(d
, "SP_NOSASH",SWIG_From_int(static_cast< int >(wxSP_NOSASH
)));
33991 SWIG_Python_SetConstant(d
, "SP_PERMIT_UNSPLIT",SWIG_From_int(static_cast< int >(wxSP_PERMIT_UNSPLIT
)));
33992 SWIG_Python_SetConstant(d
, "SP_LIVE_UPDATE",SWIG_From_int(static_cast< int >(wxSP_LIVE_UPDATE
)));
33993 SWIG_Python_SetConstant(d
, "SP_3DSASH",SWIG_From_int(static_cast< int >(wxSP_3DSASH
)));
33994 SWIG_Python_SetConstant(d
, "SP_3DBORDER",SWIG_From_int(static_cast< int >(wxSP_3DBORDER
)));
33995 SWIG_Python_SetConstant(d
, "SP_NO_XP_THEME",SWIG_From_int(static_cast< int >(wxSP_NO_XP_THEME
)));
33996 SWIG_Python_SetConstant(d
, "SP_BORDER",SWIG_From_int(static_cast< int >(wxSP_BORDER
)));
33997 SWIG_Python_SetConstant(d
, "SP_3D",SWIG_From_int(static_cast< int >(wxSP_3D
)));
33998 SWIG_Python_SetConstant(d
, "SPLIT_HORIZONTAL",SWIG_From_int(static_cast< int >(wxSPLIT_HORIZONTAL
)));
33999 SWIG_Python_SetConstant(d
, "SPLIT_VERTICAL",SWIG_From_int(static_cast< int >(wxSPLIT_VERTICAL
)));
34000 SWIG_Python_SetConstant(d
, "SPLIT_DRAG_NONE",SWIG_From_int(static_cast< int >(wxSPLIT_DRAG_NONE
)));
34001 SWIG_Python_SetConstant(d
, "SPLIT_DRAG_DRAGGING",SWIG_From_int(static_cast< int >(wxSPLIT_DRAG_DRAGGING
)));
34002 SWIG_Python_SetConstant(d
, "SPLIT_DRAG_LEFT_DOWN",SWIG_From_int(static_cast< int >(wxSPLIT_DRAG_LEFT_DOWN
)));
34003 PyDict_SetItemString(d
, "wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGED", PyInt_FromLong(wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGED
));
34004 PyDict_SetItemString(d
, "wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGING", PyInt_FromLong(wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGING
));
34005 PyDict_SetItemString(d
, "wxEVT_COMMAND_SPLITTER_DOUBLECLICKED", PyInt_FromLong(wxEVT_COMMAND_SPLITTER_DOUBLECLICKED
));
34006 PyDict_SetItemString(d
, "wxEVT_COMMAND_SPLITTER_UNSPLIT", PyInt_FromLong(wxEVT_COMMAND_SPLITTER_UNSPLIT
));
34007 SWIG_addvarlink(SWIG_globals(),(char*)"SashNameStr",SashNameStr_get
, SashNameStr_set
);
34008 SWIG_addvarlink(SWIG_globals(),(char*)"SashLayoutNameStr",SashLayoutNameStr_get
, SashLayoutNameStr_set
);
34009 SWIG_Python_SetConstant(d
, "SASH_DRAG_NONE",SWIG_From_int(static_cast< int >(wxSASH_DRAG_NONE
)));
34010 SWIG_Python_SetConstant(d
, "SASH_DRAG_DRAGGING",SWIG_From_int(static_cast< int >(wxSASH_DRAG_DRAGGING
)));
34011 SWIG_Python_SetConstant(d
, "SASH_DRAG_LEFT_DOWN",SWIG_From_int(static_cast< int >(wxSASH_DRAG_LEFT_DOWN
)));
34012 SWIG_Python_SetConstant(d
, "SW_NOBORDER",SWIG_From_int(static_cast< int >(wxSW_NOBORDER
)));
34013 SWIG_Python_SetConstant(d
, "SW_BORDER",SWIG_From_int(static_cast< int >(wxSW_BORDER
)));
34014 SWIG_Python_SetConstant(d
, "SW_3DSASH",SWIG_From_int(static_cast< int >(wxSW_3DSASH
)));
34015 SWIG_Python_SetConstant(d
, "SW_3DBORDER",SWIG_From_int(static_cast< int >(wxSW_3DBORDER
)));
34016 SWIG_Python_SetConstant(d
, "SW_3D",SWIG_From_int(static_cast< int >(wxSW_3D
)));
34017 SWIG_Python_SetConstant(d
, "SASH_TOP",SWIG_From_int(static_cast< int >(wxSASH_TOP
)));
34018 SWIG_Python_SetConstant(d
, "SASH_RIGHT",SWIG_From_int(static_cast< int >(wxSASH_RIGHT
)));
34019 SWIG_Python_SetConstant(d
, "SASH_BOTTOM",SWIG_From_int(static_cast< int >(wxSASH_BOTTOM
)));
34020 SWIG_Python_SetConstant(d
, "SASH_LEFT",SWIG_From_int(static_cast< int >(wxSASH_LEFT
)));
34021 SWIG_Python_SetConstant(d
, "SASH_NONE",SWIG_From_int(static_cast< int >(wxSASH_NONE
)));
34022 SWIG_Python_SetConstant(d
, "SASH_STATUS_OK",SWIG_From_int(static_cast< int >(wxSASH_STATUS_OK
)));
34023 SWIG_Python_SetConstant(d
, "SASH_STATUS_OUT_OF_RANGE",SWIG_From_int(static_cast< int >(wxSASH_STATUS_OUT_OF_RANGE
)));
34024 PyDict_SetItemString(d
, "wxEVT_SASH_DRAGGED", PyInt_FromLong(wxEVT_SASH_DRAGGED
));
34025 SWIG_Python_SetConstant(d
, "LAYOUT_HORIZONTAL",SWIG_From_int(static_cast< int >(wxLAYOUT_HORIZONTAL
)));
34026 SWIG_Python_SetConstant(d
, "LAYOUT_VERTICAL",SWIG_From_int(static_cast< int >(wxLAYOUT_VERTICAL
)));
34027 SWIG_Python_SetConstant(d
, "LAYOUT_NONE",SWIG_From_int(static_cast< int >(wxLAYOUT_NONE
)));
34028 SWIG_Python_SetConstant(d
, "LAYOUT_TOP",SWIG_From_int(static_cast< int >(wxLAYOUT_TOP
)));
34029 SWIG_Python_SetConstant(d
, "LAYOUT_LEFT",SWIG_From_int(static_cast< int >(wxLAYOUT_LEFT
)));
34030 SWIG_Python_SetConstant(d
, "LAYOUT_RIGHT",SWIG_From_int(static_cast< int >(wxLAYOUT_RIGHT
)));
34031 SWIG_Python_SetConstant(d
, "LAYOUT_BOTTOM",SWIG_From_int(static_cast< int >(wxLAYOUT_BOTTOM
)));
34032 SWIG_Python_SetConstant(d
, "LAYOUT_LENGTH_Y",SWIG_From_int(static_cast< int >(wxLAYOUT_LENGTH_Y
)));
34033 SWIG_Python_SetConstant(d
, "LAYOUT_LENGTH_X",SWIG_From_int(static_cast< int >(wxLAYOUT_LENGTH_X
)));
34034 SWIG_Python_SetConstant(d
, "LAYOUT_MRU_LENGTH",SWIG_From_int(static_cast< int >(wxLAYOUT_MRU_LENGTH
)));
34035 SWIG_Python_SetConstant(d
, "LAYOUT_QUERY",SWIG_From_int(static_cast< int >(wxLAYOUT_QUERY
)));
34036 PyDict_SetItemString(d
, "wxEVT_QUERY_LAYOUT_INFO", PyInt_FromLong(wxEVT_QUERY_LAYOUT_INFO
));
34037 PyDict_SetItemString(d
, "wxEVT_CALCULATE_LAYOUT", PyInt_FromLong(wxEVT_CALCULATE_LAYOUT
));
34038 SWIG_addvarlink(SWIG_globals(),(char*)"VListBoxNameStr",VListBoxNameStr_get
, VListBoxNameStr_set
);
34040 // Map renamed classes back to their common name for OOR
34041 wxPyPtrTypeMap_Add("wxHtmlListBox", "wxPyHtmlListBox");
34042 wxPyPtrTypeMap_Add("wxVListBox", "wxPyVListBox");
34043 wxPyPtrTypeMap_Add("wxVScrolledWindow", "wxPyVScrolledWindow");
34045 PyDict_SetItemString(d
, "wxEVT_TASKBAR_MOVE", PyInt_FromLong(wxEVT_TASKBAR_MOVE
));
34046 PyDict_SetItemString(d
, "wxEVT_TASKBAR_LEFT_DOWN", PyInt_FromLong(wxEVT_TASKBAR_LEFT_DOWN
));
34047 PyDict_SetItemString(d
, "wxEVT_TASKBAR_LEFT_UP", PyInt_FromLong(wxEVT_TASKBAR_LEFT_UP
));
34048 PyDict_SetItemString(d
, "wxEVT_TASKBAR_RIGHT_DOWN", PyInt_FromLong(wxEVT_TASKBAR_RIGHT_DOWN
));
34049 PyDict_SetItemString(d
, "wxEVT_TASKBAR_RIGHT_UP", PyInt_FromLong(wxEVT_TASKBAR_RIGHT_UP
));
34050 PyDict_SetItemString(d
, "wxEVT_TASKBAR_LEFT_DCLICK", PyInt_FromLong(wxEVT_TASKBAR_LEFT_DCLICK
));
34051 PyDict_SetItemString(d
, "wxEVT_TASKBAR_RIGHT_DCLICK", PyInt_FromLong(wxEVT_TASKBAR_RIGHT_DCLICK
));
34052 SWIG_addvarlink(SWIG_globals(),(char*)"FileSelectorPromptStr",FileSelectorPromptStr_get
, FileSelectorPromptStr_set
);
34053 SWIG_addvarlink(SWIG_globals(),(char*)"DirSelectorPromptStr",DirSelectorPromptStr_get
, DirSelectorPromptStr_set
);
34054 SWIG_addvarlink(SWIG_globals(),(char*)"DirDialogNameStr",DirDialogNameStr_get
, DirDialogNameStr_set
);
34055 SWIG_addvarlink(SWIG_globals(),(char*)"FileSelectorDefaultWildcardStr",FileSelectorDefaultWildcardStr_get
, FileSelectorDefaultWildcardStr_set
);
34056 SWIG_addvarlink(SWIG_globals(),(char*)"GetTextFromUserPromptStr",GetTextFromUserPromptStr_get
, GetTextFromUserPromptStr_set
);
34057 SWIG_addvarlink(SWIG_globals(),(char*)"MessageBoxCaptionStr",MessageBoxCaptionStr_get
, MessageBoxCaptionStr_set
);
34058 SWIG_Python_SetConstant(d
, "DD_NEW_DIR_BUTTON",SWIG_From_int(static_cast< int >(wxDD_NEW_DIR_BUTTON
)));
34059 SWIG_Python_SetConstant(d
, "DD_DEFAULT_STYLE",SWIG_From_int(static_cast< int >(wxDD_DEFAULT_STYLE
)));
34060 SWIG_Python_SetConstant(d
, "DD_CHANGE_DIR",SWIG_From_int(static_cast< int >(wxDD_CHANGE_DIR
)));
34061 SWIG_Python_SetConstant(d
, "OPEN",SWIG_From_int(static_cast< int >(wxOPEN
)));
34062 SWIG_Python_SetConstant(d
, "SAVE",SWIG_From_int(static_cast< int >(wxSAVE
)));
34063 SWIG_Python_SetConstant(d
, "OVERWRITE_PROMPT",SWIG_From_int(static_cast< int >(wxOVERWRITE_PROMPT
)));
34064 SWIG_Python_SetConstant(d
, "FILE_MUST_EXIST",SWIG_From_int(static_cast< int >(wxFILE_MUST_EXIST
)));
34065 SWIG_Python_SetConstant(d
, "MULTIPLE",SWIG_From_int(static_cast< int >(wxMULTIPLE
)));
34066 SWIG_Python_SetConstant(d
, "CHANGE_DIR",SWIG_From_int(static_cast< int >(wxCHANGE_DIR
)));
34067 SWIG_Python_SetConstant(d
, "HIDE_READONLY",SWIG_From_int(static_cast< int >(wxHIDE_READONLY
)));
34068 SWIG_Python_SetConstant(d
, "FD_OPEN",SWIG_From_int(static_cast< int >(wxFD_OPEN
)));
34069 SWIG_Python_SetConstant(d
, "FD_SAVE",SWIG_From_int(static_cast< int >(wxFD_SAVE
)));
34070 SWIG_Python_SetConstant(d
, "FD_OVERWRITE_PROMPT",SWIG_From_int(static_cast< int >(wxFD_OVERWRITE_PROMPT
)));
34071 SWIG_Python_SetConstant(d
, "FD_FILE_MUST_EXIST",SWIG_From_int(static_cast< int >(wxFD_FILE_MUST_EXIST
)));
34072 SWIG_Python_SetConstant(d
, "FD_MULTIPLE",SWIG_From_int(static_cast< int >(wxFD_MULTIPLE
)));
34073 SWIG_Python_SetConstant(d
, "FD_CHANGE_DIR",SWIG_From_int(static_cast< int >(wxFD_CHANGE_DIR
)));
34074 SWIG_Python_SetConstant(d
, "FD_DEFAULT_STYLE",SWIG_From_int(static_cast< int >(wxFD_DEFAULT_STYLE
)));
34075 SWIG_Python_SetConstant(d
, "CHOICEDLG_STYLE",SWIG_From_int(static_cast< int >(wxCHOICEDLG_STYLE
)));
34076 SWIG_Python_SetConstant(d
, "TextEntryDialogStyle",SWIG_From_int(static_cast< int >(wxTextEntryDialogStyle
)));
34077 SWIG_addvarlink(SWIG_globals(),(char*)"GetPasswordFromUserPromptStr",GetPasswordFromUserPromptStr_get
, GetPasswordFromUserPromptStr_set
);
34078 SWIG_Python_SetConstant(d
, "FR_DOWN",SWIG_From_int(static_cast< int >(wxFR_DOWN
)));
34079 SWIG_Python_SetConstant(d
, "FR_WHOLEWORD",SWIG_From_int(static_cast< int >(wxFR_WHOLEWORD
)));
34080 SWIG_Python_SetConstant(d
, "FR_MATCHCASE",SWIG_From_int(static_cast< int >(wxFR_MATCHCASE
)));
34081 SWIG_Python_SetConstant(d
, "FR_REPLACEDIALOG",SWIG_From_int(static_cast< int >(wxFR_REPLACEDIALOG
)));
34082 SWIG_Python_SetConstant(d
, "FR_NOUPDOWN",SWIG_From_int(static_cast< int >(wxFR_NOUPDOWN
)));
34083 SWIG_Python_SetConstant(d
, "FR_NOMATCHCASE",SWIG_From_int(static_cast< int >(wxFR_NOMATCHCASE
)));
34084 SWIG_Python_SetConstant(d
, "FR_NOWHOLEWORD",SWIG_From_int(static_cast< int >(wxFR_NOWHOLEWORD
)));
34085 PyDict_SetItemString(d
, "wxEVT_COMMAND_FIND", PyInt_FromLong(wxEVT_COMMAND_FIND
));
34086 PyDict_SetItemString(d
, "wxEVT_COMMAND_FIND_NEXT", PyInt_FromLong(wxEVT_COMMAND_FIND_NEXT
));
34087 PyDict_SetItemString(d
, "wxEVT_COMMAND_FIND_REPLACE", PyInt_FromLong(wxEVT_COMMAND_FIND_REPLACE
));
34088 PyDict_SetItemString(d
, "wxEVT_COMMAND_FIND_REPLACE_ALL", PyInt_FromLong(wxEVT_COMMAND_FIND_REPLACE_ALL
));
34089 PyDict_SetItemString(d
, "wxEVT_COMMAND_FIND_CLOSE", PyInt_FromLong(wxEVT_COMMAND_FIND_CLOSE
));
34090 SWIG_Python_SetConstant(d
, "IDM_WINDOWTILE",SWIG_From_int(static_cast< int >(4001)));
34091 SWIG_Python_SetConstant(d
, "IDM_WINDOWTILEHOR",SWIG_From_int(static_cast< int >(4001)));
34092 SWIG_Python_SetConstant(d
, "IDM_WINDOWCASCADE",SWIG_From_int(static_cast< int >(4002)));
34093 SWIG_Python_SetConstant(d
, "IDM_WINDOWICONS",SWIG_From_int(static_cast< int >(4003)));
34094 SWIG_Python_SetConstant(d
, "IDM_WINDOWNEXT",SWIG_From_int(static_cast< int >(4004)));
34095 SWIG_Python_SetConstant(d
, "IDM_WINDOWTILEVERT",SWIG_From_int(static_cast< int >(4005)));
34096 SWIG_Python_SetConstant(d
, "IDM_WINDOWPREV",SWIG_From_int(static_cast< int >(4006)));
34097 SWIG_Python_SetConstant(d
, "FIRST_MDI_CHILD",SWIG_From_int(static_cast< int >(4100)));
34098 SWIG_Python_SetConstant(d
, "LAST_MDI_CHILD",SWIG_From_int(static_cast< int >(4600)));
34099 SWIG_addvarlink(SWIG_globals(),(char*)"PrintoutTitleStr",PrintoutTitleStr_get
, PrintoutTitleStr_set
);
34100 SWIG_addvarlink(SWIG_globals(),(char*)"PreviewCanvasNameStr",PreviewCanvasNameStr_get
, PreviewCanvasNameStr_set
);
34101 SWIG_Python_SetConstant(d
, "PRINT_MODE_NONE",SWIG_From_int(static_cast< int >(wxPRINT_MODE_NONE
)));
34102 SWIG_Python_SetConstant(d
, "PRINT_MODE_PREVIEW",SWIG_From_int(static_cast< int >(wxPRINT_MODE_PREVIEW
)));
34103 SWIG_Python_SetConstant(d
, "PRINT_MODE_FILE",SWIG_From_int(static_cast< int >(wxPRINT_MODE_FILE
)));
34104 SWIG_Python_SetConstant(d
, "PRINT_MODE_PRINTER",SWIG_From_int(static_cast< int >(wxPRINT_MODE_PRINTER
)));
34105 SWIG_Python_SetConstant(d
, "PRINT_MODE_STREAM",SWIG_From_int(static_cast< int >(wxPRINT_MODE_STREAM
)));
34106 SWIG_Python_SetConstant(d
, "PRINTBIN_DEFAULT",SWIG_From_int(static_cast< int >(wxPRINTBIN_DEFAULT
)));
34107 SWIG_Python_SetConstant(d
, "PRINTBIN_ONLYONE",SWIG_From_int(static_cast< int >(wxPRINTBIN_ONLYONE
)));
34108 SWIG_Python_SetConstant(d
, "PRINTBIN_LOWER",SWIG_From_int(static_cast< int >(wxPRINTBIN_LOWER
)));
34109 SWIG_Python_SetConstant(d
, "PRINTBIN_MIDDLE",SWIG_From_int(static_cast< int >(wxPRINTBIN_MIDDLE
)));
34110 SWIG_Python_SetConstant(d
, "PRINTBIN_MANUAL",SWIG_From_int(static_cast< int >(wxPRINTBIN_MANUAL
)));
34111 SWIG_Python_SetConstant(d
, "PRINTBIN_ENVELOPE",SWIG_From_int(static_cast< int >(wxPRINTBIN_ENVELOPE
)));
34112 SWIG_Python_SetConstant(d
, "PRINTBIN_ENVMANUAL",SWIG_From_int(static_cast< int >(wxPRINTBIN_ENVMANUAL
)));
34113 SWIG_Python_SetConstant(d
, "PRINTBIN_AUTO",SWIG_From_int(static_cast< int >(wxPRINTBIN_AUTO
)));
34114 SWIG_Python_SetConstant(d
, "PRINTBIN_TRACTOR",SWIG_From_int(static_cast< int >(wxPRINTBIN_TRACTOR
)));
34115 SWIG_Python_SetConstant(d
, "PRINTBIN_SMALLFMT",SWIG_From_int(static_cast< int >(wxPRINTBIN_SMALLFMT
)));
34116 SWIG_Python_SetConstant(d
, "PRINTBIN_LARGEFMT",SWIG_From_int(static_cast< int >(wxPRINTBIN_LARGEFMT
)));
34117 SWIG_Python_SetConstant(d
, "PRINTBIN_LARGECAPACITY",SWIG_From_int(static_cast< int >(wxPRINTBIN_LARGECAPACITY
)));
34118 SWIG_Python_SetConstant(d
, "PRINTBIN_CASSETTE",SWIG_From_int(static_cast< int >(wxPRINTBIN_CASSETTE
)));
34119 SWIG_Python_SetConstant(d
, "PRINTBIN_FORMSOURCE",SWIG_From_int(static_cast< int >(wxPRINTBIN_FORMSOURCE
)));
34120 SWIG_Python_SetConstant(d
, "PRINTBIN_USER",SWIG_From_int(static_cast< int >(wxPRINTBIN_USER
)));
34121 SWIG_Python_SetConstant(d
, "PRINTER_NO_ERROR",SWIG_From_int(static_cast< int >(wxPRINTER_NO_ERROR
)));
34122 SWIG_Python_SetConstant(d
, "PRINTER_CANCELLED",SWIG_From_int(static_cast< int >(wxPRINTER_CANCELLED
)));
34123 SWIG_Python_SetConstant(d
, "PRINTER_ERROR",SWIG_From_int(static_cast< int >(wxPRINTER_ERROR
)));
34124 SWIG_Python_SetConstant(d
, "PREVIEW_PRINT",SWIG_From_int(static_cast< int >(wxPREVIEW_PRINT
)));
34125 SWIG_Python_SetConstant(d
, "PREVIEW_PREVIOUS",SWIG_From_int(static_cast< int >(wxPREVIEW_PREVIOUS
)));
34126 SWIG_Python_SetConstant(d
, "PREVIEW_NEXT",SWIG_From_int(static_cast< int >(wxPREVIEW_NEXT
)));
34127 SWIG_Python_SetConstant(d
, "PREVIEW_ZOOM",SWIG_From_int(static_cast< int >(wxPREVIEW_ZOOM
)));
34128 SWIG_Python_SetConstant(d
, "PREVIEW_FIRST",SWIG_From_int(static_cast< int >(wxPREVIEW_FIRST
)));
34129 SWIG_Python_SetConstant(d
, "PREVIEW_LAST",SWIG_From_int(static_cast< int >(wxPREVIEW_LAST
)));
34130 SWIG_Python_SetConstant(d
, "PREVIEW_GOTO",SWIG_From_int(static_cast< int >(wxPREVIEW_GOTO
)));
34131 SWIG_Python_SetConstant(d
, "PREVIEW_DEFAULT",SWIG_From_int(static_cast< int >(wxPREVIEW_DEFAULT
)));
34132 SWIG_Python_SetConstant(d
, "ID_PREVIEW_CLOSE",SWIG_From_int(static_cast< int >(wxID_PREVIEW_CLOSE
)));
34133 SWIG_Python_SetConstant(d
, "ID_PREVIEW_NEXT",SWIG_From_int(static_cast< int >(wxID_PREVIEW_NEXT
)));
34134 SWIG_Python_SetConstant(d
, "ID_PREVIEW_PREVIOUS",SWIG_From_int(static_cast< int >(wxID_PREVIEW_PREVIOUS
)));
34135 SWIG_Python_SetConstant(d
, "ID_PREVIEW_PRINT",SWIG_From_int(static_cast< int >(wxID_PREVIEW_PRINT
)));
34136 SWIG_Python_SetConstant(d
, "ID_PREVIEW_ZOOM",SWIG_From_int(static_cast< int >(wxID_PREVIEW_ZOOM
)));
34137 SWIG_Python_SetConstant(d
, "ID_PREVIEW_FIRST",SWIG_From_int(static_cast< int >(wxID_PREVIEW_FIRST
)));
34138 SWIG_Python_SetConstant(d
, "ID_PREVIEW_LAST",SWIG_From_int(static_cast< int >(wxID_PREVIEW_LAST
)));
34139 SWIG_Python_SetConstant(d
, "ID_PREVIEW_GOTO",SWIG_From_int(static_cast< int >(wxID_PREVIEW_GOTO
)));
34141 wxPyPtrTypeMap_Add("wxPrintout", "wxPyPrintout");