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; }
2824 SWIGINTERN
bool wxTopLevelWindow_EnableCloseButton(wxTopLevelWindow
*self
,bool enable
=true){ return false; }
2827 SWIG_AsVal_unsigned_SS_long (PyObject
* obj
, unsigned long* val
)
2830 if (SWIG_AsVal_long(obj
, &v
) && v
< 0) {
2831 return SWIG_TypeError
;
2834 *val
= (unsigned long)v
;
2840 SWIG_AsVal_unsigned_SS_char (PyObject
* obj
, unsigned char *val
)
2843 int res
= SWIG_AsVal_unsigned_SS_long (obj
, &v
);
2844 if (SWIG_IsOK(res
)) {
2845 if ((v
> UCHAR_MAX
)) {
2846 return SWIG_OverflowError
;
2848 if (val
) *val
= static_cast< unsigned char >(v
);
2856 SWIGINTERN wxRect
wxStatusBar_GetFieldRect(wxStatusBar
*self
,int i
){
2858 self
->GetFieldRect(i
, r
);
2861 static const wxString
wxPySplitterNameStr(wxT("splitter"));
2862 static const wxString
wxPySashNameStr(wxT("sashWindow"));
2863 static const wxString
wxPySashLayoutNameStr(wxT("layoutWindow"));
2865 #include <wx/popupwin.h>
2868 class wxPyPopupTransientWindow
: public wxPopupTransientWindow
2871 wxPyPopupTransientWindow() : wxPopupTransientWindow() {}
2872 wxPyPopupTransientWindow(wxWindow
* parent
, int style
= wxBORDER_NONE
)
2873 : wxPopupTransientWindow(parent
, style
) {}
2875 DEC_PYCALLBACK_BOOL_ME(ProcessLeftDown
);
2876 DEC_PYCALLBACK__(OnDismiss
);
2877 DEC_PYCALLBACK_BOOL_(CanDismiss
);
2882 IMP_PYCALLBACK_BOOL_ME(wxPyPopupTransientWindow
, wxPopupTransientWindow
, ProcessLeftDown
);
2883 IMP_PYCALLBACK__(wxPyPopupTransientWindow
, wxPopupTransientWindow
, OnDismiss
);
2884 IMP_PYCALLBACK_BOOL_(wxPyPopupTransientWindow
, wxPopupTransientWindow
, CanDismiss
);
2887 #include <wx/tipwin.h>
2889 SWIGINTERN wxTipWindow
*new_wxTipWindow(wxWindow
*parent
,wxString
const &text
,int maxLength
=100,wxRect
*rectBound
=NULL
){
2890 return new wxTipWindow(parent
, text
, maxLength
, NULL
, rectBound
);
2893 #include <wx/tipwin.h>
2896 #include <wx/vscroll.h>
2899 class wxPyVScrolledWindow
: public wxVScrolledWindow
2901 DECLARE_ABSTRACT_CLASS(wxPyVScrolledWindow
)
2903 wxPyVScrolledWindow() : wxVScrolledWindow() {}
2905 wxPyVScrolledWindow(wxWindow
*parent
,
2906 wxWindowID id
= wxID_ANY
,
2907 const wxPoint
& pos
= wxDefaultPosition
,
2908 const wxSize
& size
= wxDefaultSize
,
2910 const wxString
& name
= wxPyPanelNameStr
)
2911 : wxVScrolledWindow(parent
, id
, pos
, size
, style
, name
)
2914 // Overridable virtuals
2916 // this function must be overridden in the derived class and it should
2917 // return the height of the given line in pixels
2918 DEC_PYCALLBACK_COORD_SIZET_constpure(OnGetLineHeight
);
2921 // this function doesn't have to be overridden but it may be useful to do
2922 // it if calculating the lines heights is a relatively expensive operation
2923 // as it gives the user code a possibility to calculate several of them at
2926 // OnGetLinesHint() is normally called just before OnGetLineHeight() but you
2927 // shouldn't rely on the latter being called for all lines in the interval
2928 // specified here. It is also possible that OnGetLineHeight() will be
2929 // called for the lines outside of this interval, so this is really just a
2930 // hint, not a promise.
2932 // finally note that lineMin is inclusive, while lineMax is exclusive, as
2934 DEC_PYCALLBACK_VOID_SIZETSIZET_const(OnGetLinesHint
);
2937 // when the number of lines changes, we try to estimate the total height
2938 // of all lines which is a rather expensive operation in terms of lines
2939 // access, so if the user code may estimate the average height
2940 // better/faster than we do, it should override this function to implement
2943 // this function should return the best guess for the total height it may
2945 DEC_PYCALLBACK_COORD_const(EstimateTotalHeight
);
2948 // Also expose some other interesting protected methods
2951 // find the index of the line we need to show at the top of the window such
2952 // that the last (fully or partially) visible line is the given one
2953 size_t FindFirstFromBottom(size_t lineLast
, bool fullyVisible
= false)
2954 { return wxVScrolledWindow::FindFirstFromBottom(lineLast
, fullyVisible
); }
2956 // get the total height of the lines between lineMin (inclusive) and
2957 // lineMax (exclusive)
2958 wxCoord
GetLinesHeight(size_t lineMin
, size_t lineMax
) const
2959 { return wxVScrolledWindow::GetLinesHeight(lineMin
, lineMax
); }
2961 // update the thumb size shown by the scrollbar
2962 void UpdateScrollbar() { wxVScrolledWindow::UpdateScrollbar(); }
2964 // remove the scrollbar completely because we don't need it
2965 void RemoveScrollbar() { wxVScrolledWindow::RemoveScrollbar(); }
2970 IMPLEMENT_ABSTRACT_CLASS(wxPyVScrolledWindow
, wxVScrolledWindow
);
2972 IMP_PYCALLBACK_COORD_SIZET_constpure(wxPyVScrolledWindow
, wxVScrolledWindow
, OnGetLineHeight
);
2973 IMP_PYCALLBACK_VOID_SIZETSIZET_const(wxPyVScrolledWindow
, wxVScrolledWindow
, OnGetLinesHint
);
2974 IMP_PYCALLBACK_COORD_const (wxPyVScrolledWindow
, wxVScrolledWindow
, EstimateTotalHeight
);
2977 SWIGINTERNINLINE
int
2978 SWIG_AsVal_size_t (PyObject
* obj
, size_t *val
)
2981 int res
= SWIG_AsVal_unsigned_SS_long (obj
, val
? &v
: 0);
2982 if (SWIG_IsOK(res
) && val
) *val
= static_cast< size_t >(v
);
2987 SWIGINTERNINLINE PyObject
*
2988 SWIG_From_unsigned_SS_long (unsigned long value
)
2990 return (value
> LONG_MAX
) ?
2991 PyLong_FromUnsignedLong(value
) : PyInt_FromLong(static_cast< long >(value
));
2995 SWIGINTERNINLINE PyObject
*
2996 SWIG_From_size_t (size_t value
)
2998 return SWIG_From_unsigned_SS_long (static_cast< unsigned long >(value
));
3002 #include <wx/vlbox.h>
3004 static const wxString
wxPyVListBoxNameStr(wxVListBoxNameStr
);
3006 class wxPyVListBox
: public wxVListBox
3008 DECLARE_ABSTRACT_CLASS(wxPyVListBox
)
3010 wxPyVListBox() : wxVListBox() {}
3012 wxPyVListBox(wxWindow
*parent
,
3013 wxWindowID id
= wxID_ANY
,
3014 const wxPoint
& pos
= wxDefaultPosition
,
3015 const wxSize
& size
= wxDefaultSize
,
3017 const wxString
& name
= wxPyVListBoxNameStr
)
3018 : wxVListBox(parent
, id
, pos
, size
, style
, name
)
3021 // Overridable virtuals
3023 // the derived class must implement this function to actually draw the item
3024 // with the given index on the provided DC
3025 // virtual void OnDrawItem(wxDC& dc, const wxRect& rect, size_t n) const = 0;
3026 DEC_PYCALLBACK__DCRECTSIZET_constpure(OnDrawItem
);
3029 // the derived class must implement this method to return the height of the
3031 // virtual wxCoord OnMeasureItem(size_t n) const = 0;
3032 DEC_PYCALLBACK_COORD_SIZET_constpure(OnMeasureItem
);
3035 // this method may be used to draw separators between the lines; note that
3036 // the rectangle may be modified, typically to deflate it a bit before
3037 // passing to OnDrawItem()
3039 // the base class version doesn't do anything
3040 // virtual void OnDrawSeparator(wxDC& dc, wxRect& rect, size_t n) const;
3041 DEC_PYCALLBACK__DCRECTSIZET2_const(OnDrawSeparator
);
3044 // this method is used to draw the items background and, maybe, a border
3047 // the base class version implements a reasonable default behaviour which
3048 // consists in drawing the selected item with the standard background
3049 // colour and drawing a border around the item if it is either selected or
3051 // virtual void OnDrawBackground(wxDC& dc, const wxRect& rect, size_t n) const;
3052 DEC_PYCALLBACK__DCRECTSIZET_const(OnDrawBackground
);
3058 IMPLEMENT_ABSTRACT_CLASS(wxPyVListBox
, wxVListBox
);
3060 IMP_PYCALLBACK__DCRECTSIZET_constpure(wxPyVListBox
, wxVListBox
, OnDrawItem
);
3061 IMP_PYCALLBACK_COORD_SIZET_constpure (wxPyVListBox
, wxVListBox
, OnMeasureItem
);
3062 IMP_PYCALLBACK__DCRECTSIZET2_const (wxPyVListBox
, wxVListBox
, OnDrawSeparator
);
3063 IMP_PYCALLBACK__DCRECTSIZET_const (wxPyVListBox
, wxVListBox
, OnDrawBackground
);
3066 SWIGINTERN PyObject
*wxPyVListBox_GetFirstSelected(wxPyVListBox
*self
){
3067 unsigned long cookie
= 0;
3068 int selected
= self
->GetFirstSelected(cookie
);
3069 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3070 PyObject
* tup
= PyTuple_New(2);
3071 PyTuple_SET_ITEM(tup
, 0, PyInt_FromLong(selected
));
3072 PyTuple_SET_ITEM(tup
, 1, PyInt_FromLong(cookie
));
3073 wxPyEndBlockThreads(blocked
);
3076 SWIGINTERN PyObject
*wxPyVListBox_GetNextSelected(wxPyVListBox
*self
,unsigned long cookie
){
3077 int selected
= self
->GetNextSelected(cookie
);
3078 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3079 PyObject
* tup
= PyTuple_New(2);
3080 PyTuple_SET_ITEM(tup
, 0, PyInt_FromLong(selected
));
3081 PyTuple_SET_ITEM(tup
, 1, PyInt_FromLong(cookie
));
3082 wxPyEndBlockThreads(blocked
);
3086 #include <wx/htmllbox.h>
3089 class wxPyHtmlListBox
: public wxHtmlListBox
3091 DECLARE_ABSTRACT_CLASS(wxPyHtmlListBox
)
3093 wxPyHtmlListBox() : wxHtmlListBox() {}
3095 wxPyHtmlListBox(wxWindow
*parent
,
3096 wxWindowID id
= wxID_ANY
,
3097 const wxPoint
& pos
= wxDefaultPosition
,
3098 const wxSize
& size
= wxDefaultSize
,
3100 const wxString
& name
= wxPyVListBoxNameStr
)
3101 : wxHtmlListBox(parent
, id
, pos
, size
, style
, name
)
3104 // Overridable virtuals
3106 // this method must be implemented in the derived class and should return
3107 // the body (i.e. without <html>) of the HTML for the given item
3108 DEC_PYCALLBACK_STRING_SIZET_pure(OnGetItem
);
3110 // this function may be overridden to decorate HTML returned by OnGetItem()
3111 DEC_PYCALLBACK_STRING_SIZET(OnGetItemMarkup
);
3113 // These are from wxVListBox
3114 DEC_PYCALLBACK__DCRECTSIZET2_const(OnDrawSeparator
);
3115 DEC_PYCALLBACK__DCRECTSIZET_const(OnDrawBackground
);
3118 // // this method allows to customize the selection appearance: it may be used
3119 // // to specify the colour of the text which normally has the given colour
3120 // // colFg when it is inside the selection
3122 // // by default, the original colour is not used at all and all text has the
3123 // // same (default for this system) colour inside selection
3124 // virtual wxColour GetSelectedTextColour(const wxColour& colFg) const;
3126 // // this is the same as GetSelectedTextColour() but allows to customize the
3127 // // background colour -- this is even more rarely used as you can change it
3128 // // globally using SetSelectionBackground()
3129 // virtual wxColour GetSelectedTextBgColour(const wxColour& colBg) const;
3132 // This method may be overriden to handle clicking on a link in
3133 // the listbox. By default, clicking links is ignored.
3134 virtual void OnLinkClicked(size_t n
,
3135 const wxHtmlLinkInfo
& link
);
3141 IMPLEMENT_ABSTRACT_CLASS(wxPyHtmlListBox
, wxHtmlListBox
)
3143 IMP_PYCALLBACK_STRING_SIZET_pure(wxPyHtmlListBox
, wxHtmlListBox
, OnGetItem
);
3144 IMP_PYCALLBACK_STRING_SIZET (wxPyHtmlListBox
, wxHtmlListBox
, OnGetItemMarkup
);
3145 IMP_PYCALLBACK__DCRECTSIZET2_const (wxPyHtmlListBox
, wxHtmlListBox
, OnDrawSeparator
);
3146 IMP_PYCALLBACK__DCRECTSIZET_const (wxPyHtmlListBox
, wxHtmlListBox
, OnDrawBackground
);
3149 void wxPyHtmlListBox::OnLinkClicked(size_t n
,
3150 const wxHtmlLinkInfo
& link
) {
3152 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3153 if ((found
= wxPyCBH_findCallback(m_myInst
, "OnLinkClicked"))) {
3154 PyObject
* obj
= wxPyConstructObject((void*)&link
, wxT("wxHtmlLinkInfo"), 0);
3155 wxPyCBH_callCallback(m_myInst
, Py_BuildValue("(iO)", n
, obj
));
3158 wxPyEndBlockThreads(blocked
);
3160 wxPyHtmlListBox::OnLinkClicked(n
, link
);
3167 #ifndef wxHAS_TASK_BAR_ICON
3168 // implement dummy classes for platforms that don't have it
3170 class wxTaskBarIcon
: public wxEvtHandler
3173 wxTaskBarIcon() { wxPyRaiseNotImplemented(); }
3177 class wxTaskBarIconEvent
: public wxEvent
3180 wxTaskBarIconEvent(wxEventType
, wxTaskBarIcon
*)
3181 { wxPyRaiseNotImplemented(); }
3182 virtual wxEvent
* Clone() const { return NULL
; }
3183 bool IsOk() const { return false; }
3184 bool IsIconInstalled() const { return false; }
3185 bool SetIcon(const wxIcon
& icon
, const wxString
& tooltip
= wxPyEmptyString
) { return false; }
3186 bool RemoveIcon() { return false; }
3187 bool PopupMenu(wxMenu
*menu
) { return false; }
3191 wxEVT_TASKBAR_MOVE
= 0,
3192 wxEVT_TASKBAR_LEFT_DOWN
= 0,
3193 wxEVT_TASKBAR_LEFT_UP
= 0,
3194 wxEVT_TASKBAR_RIGHT_DOWN
= 0,
3195 wxEVT_TASKBAR_RIGHT_UP
= 0,
3196 wxEVT_TASKBAR_LEFT_DCLICK
= 0,
3197 wxEVT_TASKBAR_RIGHT_DCLICK
= 0,
3202 // Otherwise make a class that can virtualize CreatePopupMenu
3203 class wxPyTaskBarIcon
: public wxTaskBarIcon
3205 DECLARE_ABSTRACT_CLASS(wxPyTaskBarIcon
)
3207 wxPyTaskBarIcon() : wxTaskBarIcon()
3210 wxMenu
* CreatePopupMenu() {
3211 wxMenu
*rval
= NULL
;
3213 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3214 if ((found
= wxPyCBH_findCallback(m_myInst
, "CreatePopupMenu"))) {
3217 ro
= wxPyCBH_callCallbackObj(m_myInst
, Py_BuildValue("()"));
3219 if (wxPyConvertSwigPtr(ro
, (void **)&ptr
, wxT("wxMenu")))
3224 wxPyEndBlockThreads(blocked
);
3226 rval
= wxTaskBarIcon::CreatePopupMenu();
3233 IMPLEMENT_ABSTRACT_CLASS(wxPyTaskBarIcon
, wxTaskBarIcon
);
3237 SWIGINTERN
void wxPyTaskBarIcon_Destroy(wxPyTaskBarIcon
*self
){
3241 static const wxString
wxPyFileSelectorPromptStr(wxFileSelectorPromptStr
);
3242 static const wxString
wxPyDirSelectorPromptStr(wxDirSelectorPromptStr
);
3243 static const wxString
wxPyDirDialogNameStr(wxDirDialogNameStr
);
3244 static const wxString
wxPyFileSelectorDefaultWildcardStr(wxFileSelectorDefaultWildcardStr
);
3245 static const wxString
wxPyGetTextFromUserPromptStr(wxGetTextFromUserPromptStr
);
3246 static const wxString
wxPyMessageBoxCaptionStr(wxMessageBoxCaptionStr
);
3248 // for compatibility only
3249 #define wxHIDE_READONLY 0
3251 SWIGINTERN PyObject
*wxFileDialog_GetFilenames(wxFileDialog
*self
){
3253 self
->GetFilenames(arr
);
3254 return wxArrayString2PyList_helper(arr
);
3256 SWIGINTERN PyObject
*wxFileDialog_GetPaths(wxFileDialog
*self
){
3258 self
->GetPaths(arr
);
3259 return wxArrayString2PyList_helper(arr
);
3261 SWIGINTERN PyObject
*wxMultiChoiceDialog_GetSelections(wxMultiChoiceDialog
*self
){
3262 return wxArrayInt2PyList_helper(self
->GetSelections());
3264 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
){
3265 return new wxSingleChoiceDialog(parent
, message
, caption
,
3266 choices
, choices_array
, NULL
, style
, pos
);
3268 static const wxString
wxPyGetPasswordFromUserPromptStr(wxGetPasswordFromUserPromptStr
);
3270 SWIGINTERNINLINE PyObject
*
3271 SWIG_From_bool (bool value
)
3273 return PyBool_FromLong(value
? 1 : 0);
3279 // C++ version of Python aware wxWindow
3280 class wxPyWindow
: public wxWindow
3282 DECLARE_DYNAMIC_CLASS(wxPyWindow
)
3284 wxPyWindow() : wxWindow() {}
3285 wxPyWindow(wxWindow
* parent
, const wxWindowID id
,
3286 const wxPoint
& pos
= wxDefaultPosition
,
3287 const wxSize
& size
= wxDefaultSize
,
3289 const wxString
& name
= wxPyPanelNameStr
)
3290 : wxWindow(parent
, id
, pos
, size
, style
, name
) {}
3292 void SetBestSize(const wxSize
& size
) { wxWindow::SetBestSize(size
); }
3294 bool DoEraseBackground(wxDC
* dc
) {
3296 return wxWindow::DoEraseBackground(dc
->GetHDC());
3298 dc
->SetBackground(wxBrush(GetBackgroundColour()));
3304 DEC_PYCALLBACK_VOID_INT4(DoMoveWindow
);
3305 DEC_PYCALLBACK_VOID_INT5(DoSetSize
);
3306 DEC_PYCALLBACK_VOID_INTINT(DoSetClientSize
);
3307 DEC_PYCALLBACK_VOID_INTINT(DoSetVirtualSize
);
3309 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetSize
);
3310 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetClientSize
);
3311 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetPosition
);
3313 DEC_PYCALLBACK_SIZE_const(DoGetVirtualSize
);
3314 DEC_PYCALLBACK_SIZE_const(DoGetBestSize
);
3316 DEC_PYCALLBACK__(InitDialog
);
3317 DEC_PYCALLBACK_BOOL_(TransferDataFromWindow
);
3318 DEC_PYCALLBACK_BOOL_(TransferDataToWindow
);
3319 DEC_PYCALLBACK_BOOL_(Validate
);
3321 DEC_PYCALLBACK_BOOL_const(AcceptsFocus
);
3322 DEC_PYCALLBACK_BOOL_const(AcceptsFocusFromKeyboard
);
3323 DEC_PYCALLBACK_SIZE_const(GetMaxSize
);
3325 DEC_PYCALLBACK_VOID_WXWINBASE(AddChild
);
3326 DEC_PYCALLBACK_VOID_WXWINBASE(RemoveChild
);
3328 DEC_PYCALLBACK_BOOL_const(ShouldInheritColours
);
3329 DEC_PYCALLBACK_VIZATTR_(GetDefaultAttributes
);
3331 DEC_PYCALLBACK_BOOL_(HasTransparentBackground
);
3333 DEC_PYCALLBACK_VOID_(OnInternalIdle
);
3338 IMPLEMENT_DYNAMIC_CLASS(wxPyWindow
, wxWindow
);
3340 IMP_PYCALLBACK_VOID_INT4(wxPyWindow
, wxWindow
, DoMoveWindow
);
3341 IMP_PYCALLBACK_VOID_INT5(wxPyWindow
, wxWindow
, DoSetSize
);
3342 IMP_PYCALLBACK_VOID_INTINT(wxPyWindow
, wxWindow
, DoSetClientSize
);
3343 IMP_PYCALLBACK_VOID_INTINT(wxPyWindow
, wxWindow
, DoSetVirtualSize
);
3345 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyWindow
, wxWindow
, DoGetSize
);
3346 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyWindow
, wxWindow
, DoGetClientSize
);
3347 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyWindow
, wxWindow
, DoGetPosition
);
3349 IMP_PYCALLBACK_SIZE_const(wxPyWindow
, wxWindow
, DoGetVirtualSize
);
3350 IMP_PYCALLBACK_SIZE_const(wxPyWindow
, wxWindow
, DoGetBestSize
);
3352 IMP_PYCALLBACK__(wxPyWindow
, wxWindow
, InitDialog
);
3353 IMP_PYCALLBACK_BOOL_(wxPyWindow
, wxWindow
, TransferDataFromWindow
);
3354 IMP_PYCALLBACK_BOOL_(wxPyWindow
, wxWindow
, TransferDataToWindow
);
3355 IMP_PYCALLBACK_BOOL_(wxPyWindow
, wxWindow
, Validate
);
3357 IMP_PYCALLBACK_BOOL_const(wxPyWindow
, wxWindow
, AcceptsFocus
);
3358 IMP_PYCALLBACK_BOOL_const(wxPyWindow
, wxWindow
, AcceptsFocusFromKeyboard
);
3359 IMP_PYCALLBACK_SIZE_const(wxPyWindow
, wxWindow
, GetMaxSize
);
3361 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyWindow
, wxWindow
, AddChild
);
3362 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyWindow
, wxWindow
, RemoveChild
);
3364 IMP_PYCALLBACK_BOOL_const(wxPyWindow
, wxWindow
, ShouldInheritColours
);
3365 IMP_PYCALLBACK_VIZATTR_(wxPyWindow
, wxWindow
, GetDefaultAttributes
);
3367 IMP_PYCALLBACK_BOOL_(wxPyWindow
, wxWindow
, HasTransparentBackground
);
3369 IMP_PYCALLBACK_VOID_(wxPyWindow
, wxWindow
, OnInternalIdle
);
3371 // C++ version of Python aware wxPanel
3372 class wxPyPanel
: public wxPanel
3374 DECLARE_DYNAMIC_CLASS(wxPyPanel
)
3376 wxPyPanel() : wxPanel() {}
3377 wxPyPanel(wxWindow
* parent
, const wxWindowID id
,
3378 const wxPoint
& pos
= wxDefaultPosition
,
3379 const wxSize
& size
= wxDefaultSize
,
3381 const wxString
& name
= wxPyPanelNameStr
)
3382 : wxPanel(parent
, id
, pos
, size
, style
, name
) {}
3384 void SetBestSize(const wxSize
& size
) { wxPanel::SetBestSize(size
); }
3385 bool DoEraseBackground(wxDC
* dc
) {
3387 return wxWindow::DoEraseBackground(dc
->GetHDC());
3389 dc
->SetBackground(wxBrush(GetBackgroundColour()));
3396 DEC_PYCALLBACK_VOID_INT4(DoMoveWindow
);
3397 DEC_PYCALLBACK_VOID_INT5(DoSetSize
);
3398 DEC_PYCALLBACK_VOID_INTINT(DoSetClientSize
);
3399 DEC_PYCALLBACK_VOID_INTINT(DoSetVirtualSize
);
3401 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetSize
);
3402 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetClientSize
);
3403 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetPosition
);
3405 DEC_PYCALLBACK_SIZE_const(DoGetVirtualSize
);
3406 DEC_PYCALLBACK_SIZE_const(DoGetBestSize
);
3408 DEC_PYCALLBACK__(InitDialog
);
3409 DEC_PYCALLBACK_BOOL_(TransferDataFromWindow
);
3410 DEC_PYCALLBACK_BOOL_(TransferDataToWindow
);
3411 DEC_PYCALLBACK_BOOL_(Validate
);
3413 DEC_PYCALLBACK_BOOL_const(AcceptsFocus
);
3414 DEC_PYCALLBACK_BOOL_const(AcceptsFocusFromKeyboard
);
3415 DEC_PYCALLBACK_SIZE_const(GetMaxSize
);
3417 DEC_PYCALLBACK_VOID_WXWINBASE(AddChild
);
3418 DEC_PYCALLBACK_VOID_WXWINBASE(RemoveChild
);
3420 DEC_PYCALLBACK_BOOL_const(ShouldInheritColours
);
3421 DEC_PYCALLBACK_VIZATTR_(GetDefaultAttributes
);
3423 DEC_PYCALLBACK_BOOL_(HasTransparentBackground
);
3425 DEC_PYCALLBACK_VOID_(OnInternalIdle
);
3430 IMPLEMENT_DYNAMIC_CLASS(wxPyPanel
, wxPanel
);
3432 IMP_PYCALLBACK_VOID_INT4(wxPyPanel
, wxPanel
, DoMoveWindow
);
3433 IMP_PYCALLBACK_VOID_INT5(wxPyPanel
, wxPanel
, DoSetSize
);
3434 IMP_PYCALLBACK_VOID_INTINT(wxPyPanel
, wxPanel
, DoSetClientSize
);
3435 IMP_PYCALLBACK_VOID_INTINT(wxPyPanel
, wxPanel
, DoSetVirtualSize
);
3437 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyPanel
, wxPanel
, DoGetSize
);
3438 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyPanel
, wxPanel
, DoGetClientSize
);
3439 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyPanel
, wxPanel
, DoGetPosition
);
3441 IMP_PYCALLBACK_SIZE_const(wxPyPanel
, wxPanel
, DoGetVirtualSize
);
3442 IMP_PYCALLBACK_SIZE_const(wxPyPanel
, wxPanel
, DoGetBestSize
);
3444 IMP_PYCALLBACK__(wxPyPanel
, wxPanel
, InitDialog
);
3445 IMP_PYCALLBACK_BOOL_(wxPyPanel
, wxPanel
, TransferDataFromWindow
);
3446 IMP_PYCALLBACK_BOOL_(wxPyPanel
, wxPanel
, TransferDataToWindow
);
3447 IMP_PYCALLBACK_BOOL_(wxPyPanel
, wxPanel
, Validate
);
3449 IMP_PYCALLBACK_BOOL_const(wxPyPanel
, wxPanel
, AcceptsFocus
);
3450 IMP_PYCALLBACK_BOOL_const(wxPyPanel
, wxPanel
, AcceptsFocusFromKeyboard
);
3451 IMP_PYCALLBACK_SIZE_const(wxPyPanel
, wxPanel
, GetMaxSize
);
3453 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyPanel
, wxPanel
, AddChild
);
3454 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyPanel
, wxPanel
, RemoveChild
);
3456 IMP_PYCALLBACK_BOOL_const(wxPyPanel
, wxPanel
, ShouldInheritColours
);
3457 IMP_PYCALLBACK_VIZATTR_(wxPyPanel
, wxPanel
, GetDefaultAttributes
);
3459 IMP_PYCALLBACK_BOOL_(wxPyPanel
, wxPanel
, HasTransparentBackground
);
3461 IMP_PYCALLBACK_VOID_(wxPyPanel
, wxPanel
, OnInternalIdle
);
3463 // C++ version of Python aware wxScrolledWindow
3464 class wxPyScrolledWindow
: public wxScrolledWindow
3466 DECLARE_DYNAMIC_CLASS(wxPyScrolledWindow
)
3468 wxPyScrolledWindow() : wxScrolledWindow() {}
3469 wxPyScrolledWindow(wxWindow
* parent
, const wxWindowID id
,
3470 const wxPoint
& pos
= wxDefaultPosition
,
3471 const wxSize
& size
= wxDefaultSize
,
3473 const wxString
& name
= wxPyPanelNameStr
)
3474 : wxScrolledWindow(parent
, id
, pos
, size
, style
, name
) {}
3476 void SetBestSize(const wxSize
& size
) { wxScrolledWindow::SetBestSize(size
); }
3477 bool DoEraseBackground(wxDC
* dc
) {
3479 return wxWindow::DoEraseBackground(dc
->GetHDC());
3481 dc
->SetBackground(wxBrush(GetBackgroundColour()));
3487 DEC_PYCALLBACK_VOID_INT4(DoMoveWindow
);
3488 DEC_PYCALLBACK_VOID_INT5(DoSetSize
);
3489 DEC_PYCALLBACK_VOID_INTINT(DoSetClientSize
);
3490 DEC_PYCALLBACK_VOID_INTINT(DoSetVirtualSize
);
3492 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetSize
);
3493 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetClientSize
);
3494 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetPosition
);
3496 DEC_PYCALLBACK_SIZE_const(DoGetVirtualSize
);
3497 DEC_PYCALLBACK_SIZE_const(DoGetBestSize
);
3499 DEC_PYCALLBACK__(InitDialog
);
3500 DEC_PYCALLBACK_BOOL_(TransferDataFromWindow
);
3501 DEC_PYCALLBACK_BOOL_(TransferDataToWindow
);
3502 DEC_PYCALLBACK_BOOL_(Validate
);
3504 DEC_PYCALLBACK_BOOL_const(AcceptsFocus
);
3505 DEC_PYCALLBACK_BOOL_const(AcceptsFocusFromKeyboard
);
3506 DEC_PYCALLBACK_SIZE_const(GetMaxSize
);
3508 DEC_PYCALLBACK_VOID_WXWINBASE(AddChild
);
3509 DEC_PYCALLBACK_VOID_WXWINBASE(RemoveChild
);
3511 DEC_PYCALLBACK_BOOL_const(ShouldInheritColours
);
3512 DEC_PYCALLBACK_VIZATTR_(GetDefaultAttributes
);
3514 DEC_PYCALLBACK_BOOL_(HasTransparentBackground
);
3516 DEC_PYCALLBACK_VOID_(OnInternalIdle
);
3521 IMPLEMENT_DYNAMIC_CLASS(wxPyScrolledWindow
, wxScrolledWindow
);
3523 IMP_PYCALLBACK_VOID_INT4(wxPyScrolledWindow
, wxScrolledWindow
, DoMoveWindow
);
3524 IMP_PYCALLBACK_VOID_INT5(wxPyScrolledWindow
, wxScrolledWindow
, DoSetSize
);
3525 IMP_PYCALLBACK_VOID_INTINT(wxPyScrolledWindow
, wxScrolledWindow
, DoSetClientSize
);
3526 IMP_PYCALLBACK_VOID_INTINT(wxPyScrolledWindow
, wxScrolledWindow
, DoSetVirtualSize
);
3528 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyScrolledWindow
, wxScrolledWindow
, DoGetSize
);
3529 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyScrolledWindow
, wxScrolledWindow
, DoGetClientSize
);
3530 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyScrolledWindow
, wxScrolledWindow
, DoGetPosition
);
3532 IMP_PYCALLBACK_SIZE_const(wxPyScrolledWindow
, wxScrolledWindow
, DoGetVirtualSize
);
3533 IMP_PYCALLBACK_SIZE_const(wxPyScrolledWindow
, wxScrolledWindow
, DoGetBestSize
);
3535 IMP_PYCALLBACK__(wxPyScrolledWindow
, wxScrolledWindow
, InitDialog
);
3536 IMP_PYCALLBACK_BOOL_(wxPyScrolledWindow
, wxScrolledWindow
, TransferDataFromWindow
);
3537 IMP_PYCALLBACK_BOOL_(wxPyScrolledWindow
, wxScrolledWindow
, TransferDataToWindow
);
3538 IMP_PYCALLBACK_BOOL_(wxPyScrolledWindow
, wxScrolledWindow
, Validate
);
3540 IMP_PYCALLBACK_BOOL_const(wxPyScrolledWindow
, wxScrolledWindow
, AcceptsFocus
);
3541 IMP_PYCALLBACK_BOOL_const(wxPyScrolledWindow
, wxScrolledWindow
, AcceptsFocusFromKeyboard
);
3542 IMP_PYCALLBACK_SIZE_const(wxPyScrolledWindow
, wxScrolledWindow
, GetMaxSize
);
3544 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyScrolledWindow
, wxScrolledWindow
, AddChild
);
3545 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyScrolledWindow
, wxScrolledWindow
, RemoveChild
);
3547 IMP_PYCALLBACK_BOOL_const(wxPyScrolledWindow
, wxScrolledWindow
, ShouldInheritColours
);
3548 IMP_PYCALLBACK_VIZATTR_(wxPyScrolledWindow
, wxScrolledWindow
, GetDefaultAttributes
);
3550 IMP_PYCALLBACK_BOOL_(wxPyScrolledWindow
, wxScrolledWindow
, HasTransparentBackground
);
3552 IMP_PYCALLBACK_VOID_(wxPyScrolledWindow
, wxScrolledWindow
, OnInternalIdle
);
3555 #include "wx/wxPython/printfw.h"
3558 static const wxString
wxPyPrintoutTitleStr(wxT("Printout"));
3559 static const wxString
wxPyPreviewCanvasNameStr(wxT("previewcanvas"));
3560 SWIGINTERN PyObject
*wxPrintData_GetPrivData(wxPrintData
*self
){
3562 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3563 data
= PyString_FromStringAndSize(self
->GetPrivData(),
3564 self
->GetPrivDataLen());
3565 wxPyEndBlockThreads(blocked
);
3568 SWIGINTERN
void wxPrintData_SetPrivData(wxPrintData
*self
,PyObject
*data
){
3569 if (! PyString_Check(data
)) {
3570 wxPyBLOCK_THREADS(PyErr_SetString(PyExc_TypeError
,
3571 "Expected string object"));
3575 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3576 self
->SetPrivData(PyString_AS_STRING(data
), PyString_GET_SIZE(data
));
3577 wxPyEndBlockThreads(blocked
);
3581 IMPLEMENT_ABSTRACT_CLASS(wxPyPrintout
, wxPrintout
);
3583 // Since this one would be tough and ugly to do with the Macros...
3584 void wxPyPrintout::GetPageInfo(int *minPage
, int *maxPage
, int *pageFrom
, int *pageTo
) {
3585 bool hadErr
= false;
3588 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3589 if ((found
= wxPyCBH_findCallback(m_myInst
, "GetPageInfo"))) {
3590 PyObject
* result
= wxPyCBH_callCallbackObj(m_myInst
, Py_BuildValue("()"));
3591 if (result
&& PyTuple_Check(result
) && PyTuple_Size(result
) == 4) {
3594 val
= PyTuple_GetItem(result
, 0);
3595 if (PyInt_Check(val
)) *minPage
= PyInt_AsLong(val
);
3598 val
= PyTuple_GetItem(result
, 1);
3599 if (PyInt_Check(val
)) *maxPage
= PyInt_AsLong(val
);
3602 val
= PyTuple_GetItem(result
, 2);
3603 if (PyInt_Check(val
)) *pageFrom
= PyInt_AsLong(val
);
3606 val
= PyTuple_GetItem(result
, 3);
3607 if (PyInt_Check(val
)) *pageTo
= PyInt_AsLong(val
);
3614 PyErr_SetString(PyExc_TypeError
, "GetPageInfo should return a tuple of 4 integers.");
3619 wxPyEndBlockThreads(blocked
);
3621 wxPrintout::GetPageInfo(minPage
, maxPage
, pageFrom
, pageTo
);
3626 IMP_PYCALLBACK_BOOL_INTINT(wxPyPrintout
, wxPrintout
, OnBeginDocument
);
3627 IMP_PYCALLBACK__(wxPyPrintout
, wxPrintout
, OnEndDocument
);
3628 IMP_PYCALLBACK__(wxPyPrintout
, wxPrintout
, OnBeginPrinting
);
3629 IMP_PYCALLBACK__(wxPyPrintout
, wxPrintout
, OnEndPrinting
);
3630 IMP_PYCALLBACK__(wxPyPrintout
, wxPrintout
, OnPreparePrinting
);
3631 IMP_PYCALLBACK_BOOL_INT_pure(wxPyPrintout
, wxPrintout
, OnPrintPage
);
3632 IMP_PYCALLBACK_BOOL_INT(wxPyPrintout
, wxPrintout
, HasPage
);
3638 #define DEC_PYCALLBACK_BOOL_PREWINDC(CBNAME) \
3639 bool CBNAME(wxPreviewCanvas* a, wxDC& b)
3642 #define IMP_PYCALLBACK_BOOL_PREWINDC(CLASS, PCLASS, CBNAME) \
3643 bool CLASS::CBNAME(wxPreviewCanvas* a, wxDC& b) { \
3646 wxPyBlock_t blocked = wxPyBeginBlockThreads(); \
3647 if ((found = wxPyCBH_findCallback(m_myInst, #CBNAME))) { \
3648 PyObject* win = wxPyMake_wxObject(a,false); \
3649 PyObject* dc = wxPyMake_wxObject(&b,false); \
3650 rval = wxPyCBH_callCallback(m_myInst, Py_BuildValue("(OO)", win, dc)); \
3654 wxPyEndBlockThreads(blocked); \
3656 rval = PCLASS::CBNAME(a, b); \
3663 class wxPyPrintPreview
: public wxPrintPreview
3665 DECLARE_CLASS(wxPyPrintPreview
)
3667 wxPyPrintPreview(wxPyPrintout
* printout
,
3668 wxPyPrintout
* printoutForPrinting
,
3669 wxPrintDialogData
* data
=NULL
)
3670 : wxPrintPreview(printout
, printoutForPrinting
, data
)
3672 wxPyPrintPreview(wxPyPrintout
* printout
,
3673 wxPyPrintout
* printoutForPrinting
,
3675 : wxPrintPreview(printout
, printoutForPrinting
, data
)
3678 DEC_PYCALLBACK_BOOL_INT(SetCurrentPage
);
3679 DEC_PYCALLBACK_BOOL_PREWINDC(PaintPage
);
3680 DEC_PYCALLBACK_BOOL_PREWINDC(DrawBlankPage
);
3681 DEC_PYCALLBACK_BOOL_INT(RenderPage
);
3682 DEC_PYCALLBACK_VOID_INT(SetZoom
);
3683 DEC_PYCALLBACK_BOOL_BOOL(Print
);
3684 DEC_PYCALLBACK_VOID_(DetermineScaling
);
3689 // Stupid renamed classes... Fix this in 2.5...
3690 #if defined(__WXMSW__)
3691 IMPLEMENT_CLASS( wxPyPrintPreview
, wxWindowsPrintPreview
);
3692 #elif defined(__WXMAC__)
3693 IMPLEMENT_CLASS( wxPyPrintPreview
, wxMacPrintPreview
);
3695 IMPLEMENT_CLASS( wxPyPrintPreview
, wxPostScriptPrintPreview
);
3698 IMP_PYCALLBACK_BOOL_INT (wxPyPrintPreview
, wxPrintPreview
, SetCurrentPage
);
3699 IMP_PYCALLBACK_BOOL_PREWINDC(wxPyPrintPreview
, wxPrintPreview
, PaintPage
);
3700 IMP_PYCALLBACK_BOOL_PREWINDC(wxPyPrintPreview
, wxPrintPreview
, DrawBlankPage
);
3701 IMP_PYCALLBACK_BOOL_INT (wxPyPrintPreview
, wxPrintPreview
, RenderPage
);
3702 IMP_PYCALLBACK_VOID_INT (wxPyPrintPreview
, wxPrintPreview
, SetZoom
);
3703 IMP_PYCALLBACK_BOOL_BOOL (wxPyPrintPreview
, wxPrintPreview
, Print
);
3704 IMP_PYCALLBACK_VOID_ (wxPyPrintPreview
, wxPrintPreview
, DetermineScaling
);
3707 class wxPyPreviewFrame
: public wxPreviewFrame
3709 DECLARE_CLASS(wxPyPreviewFrame
)
3711 wxPyPreviewFrame(wxPrintPreview
* preview
, wxFrame
* parent
,
3712 const wxString
& title
,
3713 const wxPoint
& pos
= wxDefaultPosition
,
3714 const wxSize
& size
= wxDefaultSize
,
3715 long style
= wxDEFAULT_FRAME_STYLE
,
3716 const wxString
& name
= wxPyFrameNameStr
)
3717 : wxPreviewFrame(preview
, parent
, title
, pos
, size
, style
, name
)
3720 void SetPreviewCanvas(wxPreviewCanvas
* canvas
) { m_previewCanvas
= canvas
; }
3721 void SetControlBar(wxPreviewControlBar
* bar
) { m_controlBar
= bar
; }
3723 DEC_PYCALLBACK_VOID_(Initialize
);
3724 DEC_PYCALLBACK_VOID_(CreateCanvas
);
3725 DEC_PYCALLBACK_VOID_(CreateControlBar
);
3730 IMPLEMENT_CLASS(wxPyPreviewFrame
, wxPreviewFrame
);
3732 IMP_PYCALLBACK_VOID_(wxPyPreviewFrame
, wxPreviewFrame
, Initialize
);
3733 IMP_PYCALLBACK_VOID_(wxPyPreviewFrame
, wxPreviewFrame
, CreateCanvas
);
3734 IMP_PYCALLBACK_VOID_(wxPyPreviewFrame
, wxPreviewFrame
, CreateControlBar
);
3737 class wxPyPreviewControlBar
: public wxPreviewControlBar
3739 DECLARE_CLASS(wxPyPreviewControlBar
)
3741 wxPyPreviewControlBar(wxPrintPreview
*preview
,
3744 const wxPoint
& pos
= wxDefaultPosition
,
3745 const wxSize
& size
= wxDefaultSize
,
3747 const wxString
& name
= wxPyPanelNameStr
)
3748 : wxPreviewControlBar(preview
, buttons
, parent
, pos
, size
, style
, name
)
3751 void SetPrintPreview(wxPrintPreview
* preview
) { m_printPreview
= preview
; }
3753 DEC_PYCALLBACK_VOID_(CreateButtons
);
3754 DEC_PYCALLBACK_VOID_INT(SetZoomControl
);
3759 IMPLEMENT_CLASS(wxPyPreviewControlBar
, wxPreviewControlBar
);
3760 IMP_PYCALLBACK_VOID_(wxPyPreviewControlBar
, wxPreviewControlBar
, CreateButtons
);
3761 IMP_PYCALLBACK_VOID_INT(wxPyPreviewControlBar
, wxPreviewControlBar
, SetZoomControl
);
3766 SWIGINTERN PyObject
*_wrap_new_Panel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
3767 PyObject
*resultobj
= 0;
3768 wxWindow
*arg1
= (wxWindow
*) 0 ;
3769 int arg2
= (int) (int)-1 ;
3770 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
3771 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
3772 wxSize
const &arg4_defvalue
= wxDefaultSize
;
3773 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
3774 long arg5
= (long) wxTAB_TRAVERSAL
|wxNO_BORDER
;
3775 wxString
const &arg6_defvalue
= wxPyPanelNameStr
;
3776 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
3777 wxPanel
*result
= 0 ;
3786 bool temp6
= false ;
3787 PyObject
* obj0
= 0 ;
3788 PyObject
* obj1
= 0 ;
3789 PyObject
* obj2
= 0 ;
3790 PyObject
* obj3
= 0 ;
3791 PyObject
* obj4
= 0 ;
3792 PyObject
* obj5
= 0 ;
3793 char * kwnames
[] = {
3794 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
3797 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_Panel",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
3798 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
3799 if (!SWIG_IsOK(res1
)) {
3800 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_Panel" "', expected argument " "1"" of type '" "wxWindow *""'");
3802 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
3804 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
3805 if (!SWIG_IsOK(ecode2
)) {
3806 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Panel" "', expected argument " "2"" of type '" "int""'");
3808 arg2
= static_cast< int >(val2
);
3813 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
3819 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
3823 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
3824 if (!SWIG_IsOK(ecode5
)) {
3825 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_Panel" "', expected argument " "5"" of type '" "long""'");
3827 arg5
= static_cast< long >(val5
);
3831 arg6
= wxString_in_helper(obj5
);
3832 if (arg6
== NULL
) SWIG_fail
;
3837 if (!wxPyCheckForApp()) SWIG_fail
;
3838 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3839 result
= (wxPanel
*)new wxPanel(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
3840 wxPyEndAllowThreads(__tstate
);
3841 if (PyErr_Occurred()) SWIG_fail
;
3843 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPanel
, SWIG_POINTER_NEW
| 0 );
3858 SWIGINTERN PyObject
*_wrap_new_PrePanel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
3859 PyObject
*resultobj
= 0;
3860 wxPanel
*result
= 0 ;
3862 if (!SWIG_Python_UnpackTuple(args
,"new_PrePanel",0,0,0)) SWIG_fail
;
3864 if (!wxPyCheckForApp()) SWIG_fail
;
3865 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3866 result
= (wxPanel
*)new wxPanel();
3867 wxPyEndAllowThreads(__tstate
);
3868 if (PyErr_Occurred()) SWIG_fail
;
3870 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPanel
, SWIG_POINTER_OWN
| 0 );
3877 SWIGINTERN PyObject
*_wrap_Panel_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
3878 PyObject
*resultobj
= 0;
3879 wxPanel
*arg1
= (wxPanel
*) 0 ;
3880 wxWindow
*arg2
= (wxWindow
*) 0 ;
3881 int arg3
= (int) (int)-1 ;
3882 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
3883 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
3884 wxSize
const &arg5_defvalue
= wxDefaultSize
;
3885 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
3886 long arg6
= (long) wxTAB_TRAVERSAL
|wxNO_BORDER
;
3887 wxString
const &arg7_defvalue
= wxPyPanelNameStr
;
3888 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
3900 bool temp7
= false ;
3901 PyObject
* obj0
= 0 ;
3902 PyObject
* obj1
= 0 ;
3903 PyObject
* obj2
= 0 ;
3904 PyObject
* obj3
= 0 ;
3905 PyObject
* obj4
= 0 ;
3906 PyObject
* obj5
= 0 ;
3907 PyObject
* obj6
= 0 ;
3908 char * kwnames
[] = {
3909 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
3912 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:Panel_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
3913 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPanel
, 0 | 0 );
3914 if (!SWIG_IsOK(res1
)) {
3915 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Panel_Create" "', expected argument " "1"" of type '" "wxPanel *""'");
3917 arg1
= reinterpret_cast< wxPanel
* >(argp1
);
3918 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
3919 if (!SWIG_IsOK(res2
)) {
3920 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Panel_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
3922 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
3924 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
3925 if (!SWIG_IsOK(ecode3
)) {
3926 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Panel_Create" "', expected argument " "3"" of type '" "int""'");
3928 arg3
= static_cast< int >(val3
);
3933 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
3939 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
3943 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
3944 if (!SWIG_IsOK(ecode6
)) {
3945 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "Panel_Create" "', expected argument " "6"" of type '" "long""'");
3947 arg6
= static_cast< long >(val6
);
3951 arg7
= wxString_in_helper(obj6
);
3952 if (arg7
== NULL
) SWIG_fail
;
3957 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3958 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
3959 wxPyEndAllowThreads(__tstate
);
3960 if (PyErr_Occurred()) SWIG_fail
;
3963 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3979 SWIGINTERN PyObject
*_wrap_Panel_SetFocusIgnoringChildren(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
3980 PyObject
*resultobj
= 0;
3981 wxPanel
*arg1
= (wxPanel
*) 0 ;
3984 PyObject
*swig_obj
[1] ;
3986 if (!args
) SWIG_fail
;
3988 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPanel
, 0 | 0 );
3989 if (!SWIG_IsOK(res1
)) {
3990 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Panel_SetFocusIgnoringChildren" "', expected argument " "1"" of type '" "wxPanel *""'");
3992 arg1
= reinterpret_cast< wxPanel
* >(argp1
);
3994 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3995 (arg1
)->SetFocusIgnoringChildren();
3996 wxPyEndAllowThreads(__tstate
);
3997 if (PyErr_Occurred()) SWIG_fail
;
3999 resultobj
= SWIG_Py_Void();
4006 SWIGINTERN PyObject
*_wrap_Panel_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4007 PyObject
*resultobj
= 0;
4008 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
4009 SwigValueWrapper
<wxVisualAttributes
> result
;
4012 PyObject
* obj0
= 0 ;
4013 char * kwnames
[] = {
4014 (char *) "variant", NULL
4017 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Panel_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
4019 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
4020 if (!SWIG_IsOK(ecode1
)) {
4021 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "Panel_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
4023 arg1
= static_cast< wxWindowVariant
>(val1
);
4026 if (!wxPyCheckForApp()) SWIG_fail
;
4027 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4028 result
= wxPanel::GetClassDefaultAttributes(arg1
);
4029 wxPyEndAllowThreads(__tstate
);
4030 if (PyErr_Occurred()) SWIG_fail
;
4032 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
4039 SWIGINTERN PyObject
*Panel_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4041 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
4042 SWIG_TypeNewClientData(SWIGTYPE_p_wxPanel
, SWIG_NewClientData(obj
));
4043 return SWIG_Py_Void();
4046 SWIGINTERN PyObject
*Panel_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4047 return SWIG_Python_InitShadowInstance(args
);
4050 SWIGINTERN PyObject
*_wrap_new_ScrolledWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4051 PyObject
*resultobj
= 0;
4052 wxWindow
*arg1
= (wxWindow
*) 0 ;
4053 int arg2
= (int) (int)-1 ;
4054 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
4055 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
4056 wxSize
const &arg4_defvalue
= wxDefaultSize
;
4057 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
4058 long arg5
= (long) wxHSCROLL
|wxVSCROLL
;
4059 wxString
const &arg6_defvalue
= wxPyPanelNameStr
;
4060 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
4061 wxScrolledWindow
*result
= 0 ;
4070 bool temp6
= false ;
4071 PyObject
* obj0
= 0 ;
4072 PyObject
* obj1
= 0 ;
4073 PyObject
* obj2
= 0 ;
4074 PyObject
* obj3
= 0 ;
4075 PyObject
* obj4
= 0 ;
4076 PyObject
* obj5
= 0 ;
4077 char * kwnames
[] = {
4078 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
4081 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_ScrolledWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
4082 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
4083 if (!SWIG_IsOK(res1
)) {
4084 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_ScrolledWindow" "', expected argument " "1"" of type '" "wxWindow *""'");
4086 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
4088 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
4089 if (!SWIG_IsOK(ecode2
)) {
4090 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_ScrolledWindow" "', expected argument " "2"" of type '" "int""'");
4092 arg2
= static_cast< int >(val2
);
4097 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
4103 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
4107 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
4108 if (!SWIG_IsOK(ecode5
)) {
4109 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_ScrolledWindow" "', expected argument " "5"" of type '" "long""'");
4111 arg5
= static_cast< long >(val5
);
4115 arg6
= wxString_in_helper(obj5
);
4116 if (arg6
== NULL
) SWIG_fail
;
4121 if (!wxPyCheckForApp()) SWIG_fail
;
4122 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4123 result
= (wxScrolledWindow
*)new wxScrolledWindow(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
4124 wxPyEndAllowThreads(__tstate
);
4125 if (PyErr_Occurred()) SWIG_fail
;
4127 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxScrolledWindow
, SWIG_POINTER_NEW
| 0 );
4142 SWIGINTERN PyObject
*_wrap_new_PreScrolledWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4143 PyObject
*resultobj
= 0;
4144 wxScrolledWindow
*result
= 0 ;
4146 if (!SWIG_Python_UnpackTuple(args
,"new_PreScrolledWindow",0,0,0)) SWIG_fail
;
4148 if (!wxPyCheckForApp()) SWIG_fail
;
4149 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4150 result
= (wxScrolledWindow
*)new wxScrolledWindow();
4151 wxPyEndAllowThreads(__tstate
);
4152 if (PyErr_Occurred()) SWIG_fail
;
4154 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxScrolledWindow
, SWIG_POINTER_OWN
| 0 );
4161 SWIGINTERN PyObject
*_wrap_ScrolledWindow_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4162 PyObject
*resultobj
= 0;
4163 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
4164 wxWindow
*arg2
= (wxWindow
*) 0 ;
4165 int arg3
= (int) (int)-1 ;
4166 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
4167 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
4168 wxSize
const &arg5_defvalue
= wxDefaultSize
;
4169 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
4170 long arg6
= (long) wxHSCROLL
|wxVSCROLL
;
4171 wxString
const &arg7_defvalue
= wxPyPanelNameStr
;
4172 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
4184 bool temp7
= false ;
4185 PyObject
* obj0
= 0 ;
4186 PyObject
* obj1
= 0 ;
4187 PyObject
* obj2
= 0 ;
4188 PyObject
* obj3
= 0 ;
4189 PyObject
* obj4
= 0 ;
4190 PyObject
* obj5
= 0 ;
4191 PyObject
* obj6
= 0 ;
4192 char * kwnames
[] = {
4193 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
4196 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:ScrolledWindow_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
4197 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxScrolledWindow
, 0 | 0 );
4198 if (!SWIG_IsOK(res1
)) {
4199 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrolledWindow_Create" "', expected argument " "1"" of type '" "wxScrolledWindow *""'");
4201 arg1
= reinterpret_cast< wxScrolledWindow
* >(argp1
);
4202 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
4203 if (!SWIG_IsOK(res2
)) {
4204 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ScrolledWindow_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
4206 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
4208 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
4209 if (!SWIG_IsOK(ecode3
)) {
4210 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ScrolledWindow_Create" "', expected argument " "3"" of type '" "int""'");
4212 arg3
= static_cast< int >(val3
);
4217 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
4223 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
4227 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
4228 if (!SWIG_IsOK(ecode6
)) {
4229 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "ScrolledWindow_Create" "', expected argument " "6"" of type '" "long""'");
4231 arg6
= static_cast< long >(val6
);
4235 arg7
= wxString_in_helper(obj6
);
4236 if (arg7
== NULL
) SWIG_fail
;
4241 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4242 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
4243 wxPyEndAllowThreads(__tstate
);
4244 if (PyErr_Occurred()) SWIG_fail
;
4247 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4263 SWIGINTERN PyObject
*_wrap_ScrolledWindow_SetScrollbars(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4264 PyObject
*resultobj
= 0;
4265 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
4270 int arg6
= (int) 0 ;
4271 int arg7
= (int) 0 ;
4272 bool arg8
= (bool) false ;
4289 PyObject
* obj0
= 0 ;
4290 PyObject
* obj1
= 0 ;
4291 PyObject
* obj2
= 0 ;
4292 PyObject
* obj3
= 0 ;
4293 PyObject
* obj4
= 0 ;
4294 PyObject
* obj5
= 0 ;
4295 PyObject
* obj6
= 0 ;
4296 PyObject
* obj7
= 0 ;
4297 char * kwnames
[] = {
4298 (char *) "self",(char *) "pixelsPerUnitX",(char *) "pixelsPerUnitY",(char *) "noUnitsX",(char *) "noUnitsY",(char *) "xPos",(char *) "yPos",(char *) "noRefresh", NULL
4301 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|OOO:ScrolledWindow_SetScrollbars",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
4302 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxScrolledWindow
, 0 | 0 );
4303 if (!SWIG_IsOK(res1
)) {
4304 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrolledWindow_SetScrollbars" "', expected argument " "1"" of type '" "wxScrolledWindow *""'");
4306 arg1
= reinterpret_cast< wxScrolledWindow
* >(argp1
);
4307 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
4308 if (!SWIG_IsOK(ecode2
)) {
4309 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ScrolledWindow_SetScrollbars" "', expected argument " "2"" of type '" "int""'");
4311 arg2
= static_cast< int >(val2
);
4312 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
4313 if (!SWIG_IsOK(ecode3
)) {
4314 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ScrolledWindow_SetScrollbars" "', expected argument " "3"" of type '" "int""'");
4316 arg3
= static_cast< int >(val3
);
4317 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
4318 if (!SWIG_IsOK(ecode4
)) {
4319 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "ScrolledWindow_SetScrollbars" "', expected argument " "4"" of type '" "int""'");
4321 arg4
= static_cast< int >(val4
);
4322 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
4323 if (!SWIG_IsOK(ecode5
)) {
4324 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "ScrolledWindow_SetScrollbars" "', expected argument " "5"" of type '" "int""'");
4326 arg5
= static_cast< int >(val5
);
4328 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
4329 if (!SWIG_IsOK(ecode6
)) {
4330 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "ScrolledWindow_SetScrollbars" "', expected argument " "6"" of type '" "int""'");
4332 arg6
= static_cast< int >(val6
);
4335 ecode7
= SWIG_AsVal_int(obj6
, &val7
);
4336 if (!SWIG_IsOK(ecode7
)) {
4337 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "ScrolledWindow_SetScrollbars" "', expected argument " "7"" of type '" "int""'");
4339 arg7
= static_cast< int >(val7
);
4342 ecode8
= SWIG_AsVal_bool(obj7
, &val8
);
4343 if (!SWIG_IsOK(ecode8
)) {
4344 SWIG_exception_fail(SWIG_ArgError(ecode8
), "in method '" "ScrolledWindow_SetScrollbars" "', expected argument " "8"" of type '" "bool""'");
4346 arg8
= static_cast< bool >(val8
);
4349 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4350 (arg1
)->SetScrollbars(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
,arg8
);
4351 wxPyEndAllowThreads(__tstate
);
4352 if (PyErr_Occurred()) SWIG_fail
;
4354 resultobj
= SWIG_Py_Void();
4361 SWIGINTERN PyObject
*_wrap_ScrolledWindow_Scroll(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4362 PyObject
*resultobj
= 0;
4363 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
4372 PyObject
* obj0
= 0 ;
4373 PyObject
* obj1
= 0 ;
4374 PyObject
* obj2
= 0 ;
4375 char * kwnames
[] = {
4376 (char *) "self",(char *) "x",(char *) "y", NULL
4379 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ScrolledWindow_Scroll",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
4380 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxScrolledWindow
, 0 | 0 );
4381 if (!SWIG_IsOK(res1
)) {
4382 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrolledWindow_Scroll" "', expected argument " "1"" of type '" "wxScrolledWindow *""'");
4384 arg1
= reinterpret_cast< wxScrolledWindow
* >(argp1
);
4385 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
4386 if (!SWIG_IsOK(ecode2
)) {
4387 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ScrolledWindow_Scroll" "', expected argument " "2"" of type '" "int""'");
4389 arg2
= static_cast< int >(val2
);
4390 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
4391 if (!SWIG_IsOK(ecode3
)) {
4392 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ScrolledWindow_Scroll" "', expected argument " "3"" of type '" "int""'");
4394 arg3
= static_cast< int >(val3
);
4396 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4397 (arg1
)->Scroll(arg2
,arg3
);
4398 wxPyEndAllowThreads(__tstate
);
4399 if (PyErr_Occurred()) SWIG_fail
;
4401 resultobj
= SWIG_Py_Void();
4408 SWIGINTERN PyObject
*_wrap_ScrolledWindow_GetScrollPageSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4409 PyObject
*resultobj
= 0;
4410 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
4417 PyObject
* obj0
= 0 ;
4418 PyObject
* obj1
= 0 ;
4419 char * kwnames
[] = {
4420 (char *) "self",(char *) "orient", NULL
4423 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ScrolledWindow_GetScrollPageSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4424 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxScrolledWindow
, 0 | 0 );
4425 if (!SWIG_IsOK(res1
)) {
4426 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrolledWindow_GetScrollPageSize" "', expected argument " "1"" of type '" "wxScrolledWindow const *""'");
4428 arg1
= reinterpret_cast< wxScrolledWindow
* >(argp1
);
4429 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
4430 if (!SWIG_IsOK(ecode2
)) {
4431 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ScrolledWindow_GetScrollPageSize" "', expected argument " "2"" of type '" "int""'");
4433 arg2
= static_cast< int >(val2
);
4435 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4436 result
= (int)((wxScrolledWindow
const *)arg1
)->GetScrollPageSize(arg2
);
4437 wxPyEndAllowThreads(__tstate
);
4438 if (PyErr_Occurred()) SWIG_fail
;
4440 resultobj
= SWIG_From_int(static_cast< int >(result
));
4447 SWIGINTERN PyObject
*_wrap_ScrolledWindow_SetScrollPageSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4448 PyObject
*resultobj
= 0;
4449 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
4458 PyObject
* obj0
= 0 ;
4459 PyObject
* obj1
= 0 ;
4460 PyObject
* obj2
= 0 ;
4461 char * kwnames
[] = {
4462 (char *) "self",(char *) "orient",(char *) "pageSize", NULL
4465 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ScrolledWindow_SetScrollPageSize",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
4466 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxScrolledWindow
, 0 | 0 );
4467 if (!SWIG_IsOK(res1
)) {
4468 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrolledWindow_SetScrollPageSize" "', expected argument " "1"" of type '" "wxScrolledWindow *""'");
4470 arg1
= reinterpret_cast< wxScrolledWindow
* >(argp1
);
4471 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
4472 if (!SWIG_IsOK(ecode2
)) {
4473 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ScrolledWindow_SetScrollPageSize" "', expected argument " "2"" of type '" "int""'");
4475 arg2
= static_cast< int >(val2
);
4476 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
4477 if (!SWIG_IsOK(ecode3
)) {
4478 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ScrolledWindow_SetScrollPageSize" "', expected argument " "3"" of type '" "int""'");
4480 arg3
= static_cast< int >(val3
);
4482 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4483 (arg1
)->SetScrollPageSize(arg2
,arg3
);
4484 wxPyEndAllowThreads(__tstate
);
4485 if (PyErr_Occurred()) SWIG_fail
;
4487 resultobj
= SWIG_Py_Void();
4494 SWIGINTERN PyObject
*_wrap_ScrolledWindow_SetScrollRate(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4495 PyObject
*resultobj
= 0;
4496 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
4505 PyObject
* obj0
= 0 ;
4506 PyObject
* obj1
= 0 ;
4507 PyObject
* obj2
= 0 ;
4508 char * kwnames
[] = {
4509 (char *) "self",(char *) "xstep",(char *) "ystep", NULL
4512 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ScrolledWindow_SetScrollRate",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
4513 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxScrolledWindow
, 0 | 0 );
4514 if (!SWIG_IsOK(res1
)) {
4515 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrolledWindow_SetScrollRate" "', expected argument " "1"" of type '" "wxScrolledWindow *""'");
4517 arg1
= reinterpret_cast< wxScrolledWindow
* >(argp1
);
4518 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
4519 if (!SWIG_IsOK(ecode2
)) {
4520 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ScrolledWindow_SetScrollRate" "', expected argument " "2"" of type '" "int""'");
4522 arg2
= static_cast< int >(val2
);
4523 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
4524 if (!SWIG_IsOK(ecode3
)) {
4525 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ScrolledWindow_SetScrollRate" "', expected argument " "3"" of type '" "int""'");
4527 arg3
= static_cast< int >(val3
);
4529 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4530 (arg1
)->SetScrollRate(arg2
,arg3
);
4531 wxPyEndAllowThreads(__tstate
);
4532 if (PyErr_Occurred()) SWIG_fail
;
4534 resultobj
= SWIG_Py_Void();
4541 SWIGINTERN PyObject
*_wrap_ScrolledWindow_GetScrollPixelsPerUnit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4542 PyObject
*resultobj
= 0;
4543 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
4544 int *arg2
= (int *) 0 ;
4545 int *arg3
= (int *) 0 ;
4549 int res2
= SWIG_TMPOBJ
;
4551 int res3
= SWIG_TMPOBJ
;
4552 PyObject
*swig_obj
[1] ;
4556 if (!args
) SWIG_fail
;
4558 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxScrolledWindow
, 0 | 0 );
4559 if (!SWIG_IsOK(res1
)) {
4560 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrolledWindow_GetScrollPixelsPerUnit" "', expected argument " "1"" of type '" "wxScrolledWindow const *""'");
4562 arg1
= reinterpret_cast< wxScrolledWindow
* >(argp1
);
4564 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4565 ((wxScrolledWindow
const *)arg1
)->GetScrollPixelsPerUnit(arg2
,arg3
);
4566 wxPyEndAllowThreads(__tstate
);
4567 if (PyErr_Occurred()) SWIG_fail
;
4569 resultobj
= SWIG_Py_Void();
4570 if (SWIG_IsTmpObj(res2
)) {
4571 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
4573 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
4574 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
4576 if (SWIG_IsTmpObj(res3
)) {
4577 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
4579 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
4580 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
4588 SWIGINTERN PyObject
*_wrap_ScrolledWindow_EnableScrolling(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4589 PyObject
*resultobj
= 0;
4590 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
4599 PyObject
* obj0
= 0 ;
4600 PyObject
* obj1
= 0 ;
4601 PyObject
* obj2
= 0 ;
4602 char * kwnames
[] = {
4603 (char *) "self",(char *) "x_scrolling",(char *) "y_scrolling", NULL
4606 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ScrolledWindow_EnableScrolling",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
4607 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxScrolledWindow
, 0 | 0 );
4608 if (!SWIG_IsOK(res1
)) {
4609 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrolledWindow_EnableScrolling" "', expected argument " "1"" of type '" "wxScrolledWindow *""'");
4611 arg1
= reinterpret_cast< wxScrolledWindow
* >(argp1
);
4612 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
4613 if (!SWIG_IsOK(ecode2
)) {
4614 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ScrolledWindow_EnableScrolling" "', expected argument " "2"" of type '" "bool""'");
4616 arg2
= static_cast< bool >(val2
);
4617 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
4618 if (!SWIG_IsOK(ecode3
)) {
4619 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ScrolledWindow_EnableScrolling" "', expected argument " "3"" of type '" "bool""'");
4621 arg3
= static_cast< bool >(val3
);
4623 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4624 (arg1
)->EnableScrolling(arg2
,arg3
);
4625 wxPyEndAllowThreads(__tstate
);
4626 if (PyErr_Occurred()) SWIG_fail
;
4628 resultobj
= SWIG_Py_Void();
4635 SWIGINTERN PyObject
*_wrap_ScrolledWindow_GetViewStart(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4636 PyObject
*resultobj
= 0;
4637 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
4638 int *arg2
= (int *) 0 ;
4639 int *arg3
= (int *) 0 ;
4643 int res2
= SWIG_TMPOBJ
;
4645 int res3
= SWIG_TMPOBJ
;
4646 PyObject
*swig_obj
[1] ;
4650 if (!args
) SWIG_fail
;
4652 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxScrolledWindow
, 0 | 0 );
4653 if (!SWIG_IsOK(res1
)) {
4654 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrolledWindow_GetViewStart" "', expected argument " "1"" of type '" "wxScrolledWindow const *""'");
4656 arg1
= reinterpret_cast< wxScrolledWindow
* >(argp1
);
4658 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4659 ((wxScrolledWindow
const *)arg1
)->GetViewStart(arg2
,arg3
);
4660 wxPyEndAllowThreads(__tstate
);
4661 if (PyErr_Occurred()) SWIG_fail
;
4663 resultobj
= SWIG_Py_Void();
4664 if (SWIG_IsTmpObj(res2
)) {
4665 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
4667 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
4668 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
4670 if (SWIG_IsTmpObj(res3
)) {
4671 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
4673 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
4674 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
4682 SWIGINTERN PyObject
*_wrap_ScrolledWindow_SetScale(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4683 PyObject
*resultobj
= 0;
4684 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
4693 PyObject
* obj0
= 0 ;
4694 PyObject
* obj1
= 0 ;
4695 PyObject
* obj2
= 0 ;
4696 char * kwnames
[] = {
4697 (char *) "self",(char *) "xs",(char *) "ys", NULL
4700 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ScrolledWindow_SetScale",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
4701 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxScrolledWindow
, 0 | 0 );
4702 if (!SWIG_IsOK(res1
)) {
4703 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrolledWindow_SetScale" "', expected argument " "1"" of type '" "wxScrolledWindow *""'");
4705 arg1
= reinterpret_cast< wxScrolledWindow
* >(argp1
);
4706 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
4707 if (!SWIG_IsOK(ecode2
)) {
4708 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ScrolledWindow_SetScale" "', expected argument " "2"" of type '" "double""'");
4710 arg2
= static_cast< double >(val2
);
4711 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
4712 if (!SWIG_IsOK(ecode3
)) {
4713 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ScrolledWindow_SetScale" "', expected argument " "3"" of type '" "double""'");
4715 arg3
= static_cast< double >(val3
);
4717 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4718 (arg1
)->SetScale(arg2
,arg3
);
4719 wxPyEndAllowThreads(__tstate
);
4720 if (PyErr_Occurred()) SWIG_fail
;
4722 resultobj
= SWIG_Py_Void();
4729 SWIGINTERN PyObject
*_wrap_ScrolledWindow_GetScaleX(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4730 PyObject
*resultobj
= 0;
4731 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
4735 PyObject
*swig_obj
[1] ;
4737 if (!args
) SWIG_fail
;
4739 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxScrolledWindow
, 0 | 0 );
4740 if (!SWIG_IsOK(res1
)) {
4741 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrolledWindow_GetScaleX" "', expected argument " "1"" of type '" "wxScrolledWindow const *""'");
4743 arg1
= reinterpret_cast< wxScrolledWindow
* >(argp1
);
4745 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4746 result
= (double)((wxScrolledWindow
const *)arg1
)->GetScaleX();
4747 wxPyEndAllowThreads(__tstate
);
4748 if (PyErr_Occurred()) SWIG_fail
;
4750 resultobj
= SWIG_From_double(static_cast< double >(result
));
4757 SWIGINTERN PyObject
*_wrap_ScrolledWindow_GetScaleY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4758 PyObject
*resultobj
= 0;
4759 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
4763 PyObject
*swig_obj
[1] ;
4765 if (!args
) SWIG_fail
;
4767 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxScrolledWindow
, 0 | 0 );
4768 if (!SWIG_IsOK(res1
)) {
4769 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrolledWindow_GetScaleY" "', expected argument " "1"" of type '" "wxScrolledWindow const *""'");
4771 arg1
= reinterpret_cast< wxScrolledWindow
* >(argp1
);
4773 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4774 result
= (double)((wxScrolledWindow
const *)arg1
)->GetScaleY();
4775 wxPyEndAllowThreads(__tstate
);
4776 if (PyErr_Occurred()) SWIG_fail
;
4778 resultobj
= SWIG_From_double(static_cast< double >(result
));
4785 SWIGINTERN PyObject
*_wrap_ScrolledWindow_CalcScrolledPosition__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
4786 PyObject
*resultobj
= 0;
4787 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
4794 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
4795 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxScrolledWindow
, 0 | 0 );
4796 if (!SWIG_IsOK(res1
)) {
4797 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrolledWindow_CalcScrolledPosition" "', expected argument " "1"" of type '" "wxScrolledWindow const *""'");
4799 arg1
= reinterpret_cast< wxScrolledWindow
* >(argp1
);
4802 if ( ! wxPoint_helper(swig_obj
[1], &arg2
)) SWIG_fail
;
4805 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4806 result
= ((wxScrolledWindow
const *)arg1
)->CalcScrolledPosition((wxPoint
const &)*arg2
);
4807 wxPyEndAllowThreads(__tstate
);
4808 if (PyErr_Occurred()) SWIG_fail
;
4810 resultobj
= SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint
& >(result
))), SWIGTYPE_p_wxPoint
, SWIG_POINTER_OWN
| 0 );
4817 SWIGINTERN PyObject
*_wrap_ScrolledWindow_CalcScrolledPosition__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
4818 PyObject
*resultobj
= 0;
4819 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
4822 int *arg4
= (int *) 0 ;
4823 int *arg5
= (int *) 0 ;
4831 int res4
= SWIG_TMPOBJ
;
4833 int res5
= SWIG_TMPOBJ
;
4837 if ((nobjs
< 3) || (nobjs
> 3)) SWIG_fail
;
4838 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxScrolledWindow
, 0 | 0 );
4839 if (!SWIG_IsOK(res1
)) {
4840 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrolledWindow_CalcScrolledPosition" "', expected argument " "1"" of type '" "wxScrolledWindow const *""'");
4842 arg1
= reinterpret_cast< wxScrolledWindow
* >(argp1
);
4843 ecode2
= SWIG_AsVal_int(swig_obj
[1], &val2
);
4844 if (!SWIG_IsOK(ecode2
)) {
4845 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ScrolledWindow_CalcScrolledPosition" "', expected argument " "2"" of type '" "int""'");
4847 arg2
= static_cast< int >(val2
);
4848 ecode3
= SWIG_AsVal_int(swig_obj
[2], &val3
);
4849 if (!SWIG_IsOK(ecode3
)) {
4850 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ScrolledWindow_CalcScrolledPosition" "', expected argument " "3"" of type '" "int""'");
4852 arg3
= static_cast< int >(val3
);
4854 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4855 ((wxScrolledWindow
const *)arg1
)->CalcScrolledPosition(arg2
,arg3
,arg4
,arg5
);
4856 wxPyEndAllowThreads(__tstate
);
4857 if (PyErr_Occurred()) SWIG_fail
;
4859 resultobj
= SWIG_Py_Void();
4860 if (SWIG_IsTmpObj(res4
)) {
4861 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg4
)));
4863 int new_flags
= SWIG_IsNewObj(res4
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
4864 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_int
, new_flags
));
4866 if (SWIG_IsTmpObj(res5
)) {
4867 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg5
)));
4869 int new_flags
= SWIG_IsNewObj(res5
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
4870 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg5
), SWIGTYPE_p_int
, new_flags
));
4878 SWIGINTERN PyObject
*_wrap_ScrolledWindow_CalcScrolledPosition(PyObject
*self
, PyObject
*args
) {
4882 if (!(argc
= SWIG_Python_UnpackTuple(args
,"ScrolledWindow_CalcScrolledPosition",0,3,argv
))) SWIG_fail
;
4885 return _wrap_ScrolledWindow_CalcScrolledPosition__SWIG_0(self
, argc
, argv
);
4888 return _wrap_ScrolledWindow_CalcScrolledPosition__SWIG_1(self
, argc
, argv
);
4892 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'ScrolledWindow_CalcScrolledPosition'");
4897 SWIGINTERN PyObject
*_wrap_ScrolledWindow_CalcUnscrolledPosition__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
4898 PyObject
*resultobj
= 0;
4899 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
4906 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
4907 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxScrolledWindow
, 0 | 0 );
4908 if (!SWIG_IsOK(res1
)) {
4909 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrolledWindow_CalcUnscrolledPosition" "', expected argument " "1"" of type '" "wxScrolledWindow const *""'");
4911 arg1
= reinterpret_cast< wxScrolledWindow
* >(argp1
);
4914 if ( ! wxPoint_helper(swig_obj
[1], &arg2
)) SWIG_fail
;
4917 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4918 result
= ((wxScrolledWindow
const *)arg1
)->CalcUnscrolledPosition((wxPoint
const &)*arg2
);
4919 wxPyEndAllowThreads(__tstate
);
4920 if (PyErr_Occurred()) SWIG_fail
;
4922 resultobj
= SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint
& >(result
))), SWIGTYPE_p_wxPoint
, SWIG_POINTER_OWN
| 0 );
4929 SWIGINTERN PyObject
*_wrap_ScrolledWindow_CalcUnscrolledPosition__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
4930 PyObject
*resultobj
= 0;
4931 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
4934 int *arg4
= (int *) 0 ;
4935 int *arg5
= (int *) 0 ;
4943 int res4
= SWIG_TMPOBJ
;
4945 int res5
= SWIG_TMPOBJ
;
4949 if ((nobjs
< 3) || (nobjs
> 3)) SWIG_fail
;
4950 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxScrolledWindow
, 0 | 0 );
4951 if (!SWIG_IsOK(res1
)) {
4952 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrolledWindow_CalcUnscrolledPosition" "', expected argument " "1"" of type '" "wxScrolledWindow const *""'");
4954 arg1
= reinterpret_cast< wxScrolledWindow
* >(argp1
);
4955 ecode2
= SWIG_AsVal_int(swig_obj
[1], &val2
);
4956 if (!SWIG_IsOK(ecode2
)) {
4957 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ScrolledWindow_CalcUnscrolledPosition" "', expected argument " "2"" of type '" "int""'");
4959 arg2
= static_cast< int >(val2
);
4960 ecode3
= SWIG_AsVal_int(swig_obj
[2], &val3
);
4961 if (!SWIG_IsOK(ecode3
)) {
4962 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ScrolledWindow_CalcUnscrolledPosition" "', expected argument " "3"" of type '" "int""'");
4964 arg3
= static_cast< int >(val3
);
4966 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4967 ((wxScrolledWindow
const *)arg1
)->CalcUnscrolledPosition(arg2
,arg3
,arg4
,arg5
);
4968 wxPyEndAllowThreads(__tstate
);
4969 if (PyErr_Occurred()) SWIG_fail
;
4971 resultobj
= SWIG_Py_Void();
4972 if (SWIG_IsTmpObj(res4
)) {
4973 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg4
)));
4975 int new_flags
= SWIG_IsNewObj(res4
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
4976 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_int
, new_flags
));
4978 if (SWIG_IsTmpObj(res5
)) {
4979 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg5
)));
4981 int new_flags
= SWIG_IsNewObj(res5
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
4982 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg5
), SWIGTYPE_p_int
, new_flags
));
4990 SWIGINTERN PyObject
*_wrap_ScrolledWindow_CalcUnscrolledPosition(PyObject
*self
, PyObject
*args
) {
4994 if (!(argc
= SWIG_Python_UnpackTuple(args
,"ScrolledWindow_CalcUnscrolledPosition",0,3,argv
))) SWIG_fail
;
4997 return _wrap_ScrolledWindow_CalcUnscrolledPosition__SWIG_0(self
, argc
, argv
);
5000 return _wrap_ScrolledWindow_CalcUnscrolledPosition__SWIG_1(self
, argc
, argv
);
5004 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'ScrolledWindow_CalcUnscrolledPosition'");
5009 SWIGINTERN PyObject
*_wrap_ScrolledWindow_AdjustScrollbars(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5010 PyObject
*resultobj
= 0;
5011 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
5014 PyObject
*swig_obj
[1] ;
5016 if (!args
) SWIG_fail
;
5018 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxScrolledWindow
, 0 | 0 );
5019 if (!SWIG_IsOK(res1
)) {
5020 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrolledWindow_AdjustScrollbars" "', expected argument " "1"" of type '" "wxScrolledWindow *""'");
5022 arg1
= reinterpret_cast< wxScrolledWindow
* >(argp1
);
5024 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5025 (arg1
)->AdjustScrollbars();
5026 wxPyEndAllowThreads(__tstate
);
5027 if (PyErr_Occurred()) SWIG_fail
;
5029 resultobj
= SWIG_Py_Void();
5036 SWIGINTERN PyObject
*_wrap_ScrolledWindow_CalcScrollInc(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5037 PyObject
*resultobj
= 0;
5038 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
5039 wxScrollWinEvent
*arg2
= 0 ;
5045 PyObject
* obj0
= 0 ;
5046 PyObject
* obj1
= 0 ;
5047 char * kwnames
[] = {
5048 (char *) "self",(char *) "event", NULL
5051 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ScrolledWindow_CalcScrollInc",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5052 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxScrolledWindow
, 0 | 0 );
5053 if (!SWIG_IsOK(res1
)) {
5054 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrolledWindow_CalcScrollInc" "', expected argument " "1"" of type '" "wxScrolledWindow *""'");
5056 arg1
= reinterpret_cast< wxScrolledWindow
* >(argp1
);
5057 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxScrollWinEvent
, 0 );
5058 if (!SWIG_IsOK(res2
)) {
5059 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ScrolledWindow_CalcScrollInc" "', expected argument " "2"" of type '" "wxScrollWinEvent &""'");
5062 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ScrolledWindow_CalcScrollInc" "', expected argument " "2"" of type '" "wxScrollWinEvent &""'");
5064 arg2
= reinterpret_cast< wxScrollWinEvent
* >(argp2
);
5066 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5067 result
= (int)(arg1
)->CalcScrollInc(*arg2
);
5068 wxPyEndAllowThreads(__tstate
);
5069 if (PyErr_Occurred()) SWIG_fail
;
5071 resultobj
= SWIG_From_int(static_cast< int >(result
));
5078 SWIGINTERN PyObject
*_wrap_ScrolledWindow_SetTargetWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5079 PyObject
*resultobj
= 0;
5080 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
5081 wxWindow
*arg2
= (wxWindow
*) 0 ;
5086 PyObject
* obj0
= 0 ;
5087 PyObject
* obj1
= 0 ;
5088 char * kwnames
[] = {
5089 (char *) "self",(char *) "target", NULL
5092 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ScrolledWindow_SetTargetWindow",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5093 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxScrolledWindow
, 0 | 0 );
5094 if (!SWIG_IsOK(res1
)) {
5095 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrolledWindow_SetTargetWindow" "', expected argument " "1"" of type '" "wxScrolledWindow *""'");
5097 arg1
= reinterpret_cast< wxScrolledWindow
* >(argp1
);
5098 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
5099 if (!SWIG_IsOK(res2
)) {
5100 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ScrolledWindow_SetTargetWindow" "', expected argument " "2"" of type '" "wxWindow *""'");
5102 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
5104 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5105 (arg1
)->SetTargetWindow(arg2
);
5106 wxPyEndAllowThreads(__tstate
);
5107 if (PyErr_Occurred()) SWIG_fail
;
5109 resultobj
= SWIG_Py_Void();
5116 SWIGINTERN PyObject
*_wrap_ScrolledWindow_GetTargetWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5117 PyObject
*resultobj
= 0;
5118 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
5119 wxWindow
*result
= 0 ;
5122 PyObject
*swig_obj
[1] ;
5124 if (!args
) SWIG_fail
;
5126 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxScrolledWindow
, 0 | 0 );
5127 if (!SWIG_IsOK(res1
)) {
5128 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrolledWindow_GetTargetWindow" "', expected argument " "1"" of type '" "wxScrolledWindow const *""'");
5130 arg1
= reinterpret_cast< wxScrolledWindow
* >(argp1
);
5132 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5133 result
= (wxWindow
*)((wxScrolledWindow
const *)arg1
)->GetTargetWindow();
5134 wxPyEndAllowThreads(__tstate
);
5135 if (PyErr_Occurred()) SWIG_fail
;
5138 resultobj
= wxPyMake_wxObject(result
, 0);
5146 SWIGINTERN PyObject
*_wrap_ScrolledWindow_DoPrepareDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5147 PyObject
*resultobj
= 0;
5148 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
5154 PyObject
* obj0
= 0 ;
5155 PyObject
* obj1
= 0 ;
5156 char * kwnames
[] = {
5157 (char *) "self",(char *) "dc", NULL
5160 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ScrolledWindow_DoPrepareDC",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5161 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxScrolledWindow
, 0 | 0 );
5162 if (!SWIG_IsOK(res1
)) {
5163 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrolledWindow_DoPrepareDC" "', expected argument " "1"" of type '" "wxScrolledWindow *""'");
5165 arg1
= reinterpret_cast< wxScrolledWindow
* >(argp1
);
5166 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxDC
, 0 );
5167 if (!SWIG_IsOK(res2
)) {
5168 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ScrolledWindow_DoPrepareDC" "', expected argument " "2"" of type '" "wxDC &""'");
5171 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ScrolledWindow_DoPrepareDC" "', expected argument " "2"" of type '" "wxDC &""'");
5173 arg2
= reinterpret_cast< wxDC
* >(argp2
);
5175 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5176 (arg1
)->DoPrepareDC(*arg2
);
5177 wxPyEndAllowThreads(__tstate
);
5178 if (PyErr_Occurred()) SWIG_fail
;
5180 resultobj
= SWIG_Py_Void();
5187 SWIGINTERN PyObject
*_wrap_ScrolledWindow_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5188 PyObject
*resultobj
= 0;
5189 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
5190 SwigValueWrapper
<wxVisualAttributes
> result
;
5193 PyObject
* obj0
= 0 ;
5194 char * kwnames
[] = {
5195 (char *) "variant", NULL
5198 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:ScrolledWindow_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
5200 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
5201 if (!SWIG_IsOK(ecode1
)) {
5202 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "ScrolledWindow_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
5204 arg1
= static_cast< wxWindowVariant
>(val1
);
5207 if (!wxPyCheckForApp()) SWIG_fail
;
5208 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5209 result
= wxScrolledWindow::GetClassDefaultAttributes(arg1
);
5210 wxPyEndAllowThreads(__tstate
);
5211 if (PyErr_Occurred()) SWIG_fail
;
5213 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
5220 SWIGINTERN PyObject
*ScrolledWindow_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5222 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
5223 SWIG_TypeNewClientData(SWIGTYPE_p_wxScrolledWindow
, SWIG_NewClientData(obj
));
5224 return SWIG_Py_Void();
5227 SWIGINTERN PyObject
*ScrolledWindow_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5228 return SWIG_Python_InitShadowInstance(args
);
5231 SWIGINTERN
int FrameNameStr_set(PyObject
*) {
5232 SWIG_Error(SWIG_AttributeError
,"Variable FrameNameStr is read-only.");
5237 SWIGINTERN PyObject
*FrameNameStr_get(void) {
5238 PyObject
*pyobj
= 0;
5242 pyobj
= PyUnicode_FromWideChar((&wxPyFrameNameStr
)->c_str(), (&wxPyFrameNameStr
)->Len());
5244 pyobj
= PyString_FromStringAndSize((&wxPyFrameNameStr
)->c_str(), (&wxPyFrameNameStr
)->Len());
5251 SWIGINTERN
int DialogNameStr_set(PyObject
*) {
5252 SWIG_Error(SWIG_AttributeError
,"Variable DialogNameStr is read-only.");
5257 SWIGINTERN PyObject
*DialogNameStr_get(void) {
5258 PyObject
*pyobj
= 0;
5262 pyobj
= PyUnicode_FromWideChar((&wxPyDialogNameStr
)->c_str(), (&wxPyDialogNameStr
)->Len());
5264 pyobj
= PyString_FromStringAndSize((&wxPyDialogNameStr
)->c_str(), (&wxPyDialogNameStr
)->Len());
5271 SWIGINTERN
int StatusLineNameStr_set(PyObject
*) {
5272 SWIG_Error(SWIG_AttributeError
,"Variable StatusLineNameStr is read-only.");
5277 SWIGINTERN PyObject
*StatusLineNameStr_get(void) {
5278 PyObject
*pyobj
= 0;
5282 pyobj
= PyUnicode_FromWideChar((&wxPyStatusLineNameStr
)->c_str(), (&wxPyStatusLineNameStr
)->Len());
5284 pyobj
= PyString_FromStringAndSize((&wxPyStatusLineNameStr
)->c_str(), (&wxPyStatusLineNameStr
)->Len());
5291 SWIGINTERN
int ToolBarNameStr_set(PyObject
*) {
5292 SWIG_Error(SWIG_AttributeError
,"Variable ToolBarNameStr is read-only.");
5297 SWIGINTERN PyObject
*ToolBarNameStr_get(void) {
5298 PyObject
*pyobj
= 0;
5302 pyobj
= PyUnicode_FromWideChar((&wxPyToolBarNameStr
)->c_str(), (&wxPyToolBarNameStr
)->Len());
5304 pyobj
= PyString_FromStringAndSize((&wxPyToolBarNameStr
)->c_str(), (&wxPyToolBarNameStr
)->Len());
5311 SWIGINTERN PyObject
*_wrap_TopLevelWindow_Maximize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5312 PyObject
*resultobj
= 0;
5313 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
5314 bool arg2
= (bool) true ;
5319 PyObject
* obj0
= 0 ;
5320 PyObject
* obj1
= 0 ;
5321 char * kwnames
[] = {
5322 (char *) "self",(char *) "maximize", NULL
5325 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:TopLevelWindow_Maximize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5326 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTopLevelWindow
, 0 | 0 );
5327 if (!SWIG_IsOK(res1
)) {
5328 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TopLevelWindow_Maximize" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
5330 arg1
= reinterpret_cast< wxTopLevelWindow
* >(argp1
);
5332 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
5333 if (!SWIG_IsOK(ecode2
)) {
5334 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TopLevelWindow_Maximize" "', expected argument " "2"" of type '" "bool""'");
5336 arg2
= static_cast< bool >(val2
);
5339 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5340 (arg1
)->Maximize(arg2
);
5341 wxPyEndAllowThreads(__tstate
);
5342 if (PyErr_Occurred()) SWIG_fail
;
5344 resultobj
= SWIG_Py_Void();
5351 SWIGINTERN PyObject
*_wrap_TopLevelWindow_Restore(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5352 PyObject
*resultobj
= 0;
5353 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
5356 PyObject
*swig_obj
[1] ;
5358 if (!args
) SWIG_fail
;
5360 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTopLevelWindow
, 0 | 0 );
5361 if (!SWIG_IsOK(res1
)) {
5362 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TopLevelWindow_Restore" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
5364 arg1
= reinterpret_cast< wxTopLevelWindow
* >(argp1
);
5366 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5368 wxPyEndAllowThreads(__tstate
);
5369 if (PyErr_Occurred()) SWIG_fail
;
5371 resultobj
= SWIG_Py_Void();
5378 SWIGINTERN PyObject
*_wrap_TopLevelWindow_Iconize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5379 PyObject
*resultobj
= 0;
5380 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
5381 bool arg2
= (bool) true ;
5386 PyObject
* obj0
= 0 ;
5387 PyObject
* obj1
= 0 ;
5388 char * kwnames
[] = {
5389 (char *) "self",(char *) "iconize", NULL
5392 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:TopLevelWindow_Iconize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5393 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTopLevelWindow
, 0 | 0 );
5394 if (!SWIG_IsOK(res1
)) {
5395 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TopLevelWindow_Iconize" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
5397 arg1
= reinterpret_cast< wxTopLevelWindow
* >(argp1
);
5399 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
5400 if (!SWIG_IsOK(ecode2
)) {
5401 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TopLevelWindow_Iconize" "', expected argument " "2"" of type '" "bool""'");
5403 arg2
= static_cast< bool >(val2
);
5406 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5407 (arg1
)->Iconize(arg2
);
5408 wxPyEndAllowThreads(__tstate
);
5409 if (PyErr_Occurred()) SWIG_fail
;
5411 resultobj
= SWIG_Py_Void();
5418 SWIGINTERN PyObject
*_wrap_TopLevelWindow_IsMaximized(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5419 PyObject
*resultobj
= 0;
5420 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
5424 PyObject
*swig_obj
[1] ;
5426 if (!args
) SWIG_fail
;
5428 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTopLevelWindow
, 0 | 0 );
5429 if (!SWIG_IsOK(res1
)) {
5430 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TopLevelWindow_IsMaximized" "', expected argument " "1"" of type '" "wxTopLevelWindow const *""'");
5432 arg1
= reinterpret_cast< wxTopLevelWindow
* >(argp1
);
5434 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5435 result
= (bool)((wxTopLevelWindow
const *)arg1
)->IsMaximized();
5436 wxPyEndAllowThreads(__tstate
);
5437 if (PyErr_Occurred()) SWIG_fail
;
5440 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5448 SWIGINTERN PyObject
*_wrap_TopLevelWindow_IsAlwaysMaximized(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5449 PyObject
*resultobj
= 0;
5450 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
5454 PyObject
*swig_obj
[1] ;
5456 if (!args
) SWIG_fail
;
5458 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTopLevelWindow
, 0 | 0 );
5459 if (!SWIG_IsOK(res1
)) {
5460 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TopLevelWindow_IsAlwaysMaximized" "', expected argument " "1"" of type '" "wxTopLevelWindow const *""'");
5462 arg1
= reinterpret_cast< wxTopLevelWindow
* >(argp1
);
5464 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5465 result
= (bool)((wxTopLevelWindow
const *)arg1
)->IsAlwaysMaximized();
5466 wxPyEndAllowThreads(__tstate
);
5467 if (PyErr_Occurred()) SWIG_fail
;
5470 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5478 SWIGINTERN PyObject
*_wrap_TopLevelWindow_IsIconized(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5479 PyObject
*resultobj
= 0;
5480 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
5484 PyObject
*swig_obj
[1] ;
5486 if (!args
) SWIG_fail
;
5488 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTopLevelWindow
, 0 | 0 );
5489 if (!SWIG_IsOK(res1
)) {
5490 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TopLevelWindow_IsIconized" "', expected argument " "1"" of type '" "wxTopLevelWindow const *""'");
5492 arg1
= reinterpret_cast< wxTopLevelWindow
* >(argp1
);
5494 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5495 result
= (bool)((wxTopLevelWindow
const *)arg1
)->IsIconized();
5496 wxPyEndAllowThreads(__tstate
);
5497 if (PyErr_Occurred()) SWIG_fail
;
5500 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5508 SWIGINTERN PyObject
*_wrap_TopLevelWindow_GetIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5509 PyObject
*resultobj
= 0;
5510 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
5514 PyObject
*swig_obj
[1] ;
5516 if (!args
) SWIG_fail
;
5518 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTopLevelWindow
, 0 | 0 );
5519 if (!SWIG_IsOK(res1
)) {
5520 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TopLevelWindow_GetIcon" "', expected argument " "1"" of type '" "wxTopLevelWindow const *""'");
5522 arg1
= reinterpret_cast< wxTopLevelWindow
* >(argp1
);
5524 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5525 result
= ((wxTopLevelWindow
const *)arg1
)->GetIcon();
5526 wxPyEndAllowThreads(__tstate
);
5527 if (PyErr_Occurred()) SWIG_fail
;
5529 resultobj
= SWIG_NewPointerObj((new wxIcon(static_cast< const wxIcon
& >(result
))), SWIGTYPE_p_wxIcon
, SWIG_POINTER_OWN
| 0 );
5536 SWIGINTERN PyObject
*_wrap_TopLevelWindow_SetIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5537 PyObject
*resultobj
= 0;
5538 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
5544 PyObject
* obj0
= 0 ;
5545 PyObject
* obj1
= 0 ;
5546 char * kwnames
[] = {
5547 (char *) "self",(char *) "icon", NULL
5550 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TopLevelWindow_SetIcon",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5551 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTopLevelWindow
, 0 | 0 );
5552 if (!SWIG_IsOK(res1
)) {
5553 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TopLevelWindow_SetIcon" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
5555 arg1
= reinterpret_cast< wxTopLevelWindow
* >(argp1
);
5556 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxIcon
, 0 | 0);
5557 if (!SWIG_IsOK(res2
)) {
5558 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TopLevelWindow_SetIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
5561 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TopLevelWindow_SetIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
5563 arg2
= reinterpret_cast< wxIcon
* >(argp2
);
5565 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5566 (arg1
)->SetIcon((wxIcon
const &)*arg2
);
5567 wxPyEndAllowThreads(__tstate
);
5568 if (PyErr_Occurred()) SWIG_fail
;
5570 resultobj
= SWIG_Py_Void();
5577 SWIGINTERN PyObject
*_wrap_TopLevelWindow_SetIcons(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5578 PyObject
*resultobj
= 0;
5579 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
5580 wxIconBundle
*arg2
= 0 ;
5585 PyObject
* obj0
= 0 ;
5586 PyObject
* obj1
= 0 ;
5587 char * kwnames
[] = {
5588 (char *) "self",(char *) "icons", NULL
5591 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TopLevelWindow_SetIcons",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5592 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTopLevelWindow
, 0 | 0 );
5593 if (!SWIG_IsOK(res1
)) {
5594 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TopLevelWindow_SetIcons" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
5596 arg1
= reinterpret_cast< wxTopLevelWindow
* >(argp1
);
5597 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxIconBundle
, 0 | 0);
5598 if (!SWIG_IsOK(res2
)) {
5599 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TopLevelWindow_SetIcons" "', expected argument " "2"" of type '" "wxIconBundle const &""'");
5602 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TopLevelWindow_SetIcons" "', expected argument " "2"" of type '" "wxIconBundle const &""'");
5604 arg2
= reinterpret_cast< wxIconBundle
* >(argp2
);
5606 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5607 (arg1
)->SetIcons((wxIconBundle
const &)*arg2
);
5608 wxPyEndAllowThreads(__tstate
);
5609 if (PyErr_Occurred()) SWIG_fail
;
5611 resultobj
= SWIG_Py_Void();
5618 SWIGINTERN PyObject
*_wrap_TopLevelWindow_ShowFullScreen(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5619 PyObject
*resultobj
= 0;
5620 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
5622 long arg3
= (long) wxFULLSCREEN_ALL
;
5630 PyObject
* obj0
= 0 ;
5631 PyObject
* obj1
= 0 ;
5632 PyObject
* obj2
= 0 ;
5633 char * kwnames
[] = {
5634 (char *) "self",(char *) "show",(char *) "style", NULL
5637 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TopLevelWindow_ShowFullScreen",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
5638 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTopLevelWindow
, 0 | 0 );
5639 if (!SWIG_IsOK(res1
)) {
5640 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TopLevelWindow_ShowFullScreen" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
5642 arg1
= reinterpret_cast< wxTopLevelWindow
* >(argp1
);
5643 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
5644 if (!SWIG_IsOK(ecode2
)) {
5645 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TopLevelWindow_ShowFullScreen" "', expected argument " "2"" of type '" "bool""'");
5647 arg2
= static_cast< bool >(val2
);
5649 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
5650 if (!SWIG_IsOK(ecode3
)) {
5651 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TopLevelWindow_ShowFullScreen" "', expected argument " "3"" of type '" "long""'");
5653 arg3
= static_cast< long >(val3
);
5656 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5657 result
= (bool)(arg1
)->ShowFullScreen(arg2
,arg3
);
5658 wxPyEndAllowThreads(__tstate
);
5659 if (PyErr_Occurred()) SWIG_fail
;
5662 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5670 SWIGINTERN PyObject
*_wrap_TopLevelWindow_IsFullScreen(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5671 PyObject
*resultobj
= 0;
5672 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
5676 PyObject
*swig_obj
[1] ;
5678 if (!args
) SWIG_fail
;
5680 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTopLevelWindow
, 0 | 0 );
5681 if (!SWIG_IsOK(res1
)) {
5682 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TopLevelWindow_IsFullScreen" "', expected argument " "1"" of type '" "wxTopLevelWindow const *""'");
5684 arg1
= reinterpret_cast< wxTopLevelWindow
* >(argp1
);
5686 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5687 result
= (bool)((wxTopLevelWindow
const *)arg1
)->IsFullScreen();
5688 wxPyEndAllowThreads(__tstate
);
5689 if (PyErr_Occurred()) SWIG_fail
;
5692 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5700 SWIGINTERN PyObject
*_wrap_TopLevelWindow_SetTitle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5701 PyObject
*resultobj
= 0;
5702 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
5703 wxString
*arg2
= 0 ;
5706 bool temp2
= false ;
5707 PyObject
* obj0
= 0 ;
5708 PyObject
* obj1
= 0 ;
5709 char * kwnames
[] = {
5710 (char *) "self",(char *) "title", NULL
5713 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TopLevelWindow_SetTitle",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5714 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTopLevelWindow
, 0 | 0 );
5715 if (!SWIG_IsOK(res1
)) {
5716 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TopLevelWindow_SetTitle" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
5718 arg1
= reinterpret_cast< wxTopLevelWindow
* >(argp1
);
5720 arg2
= wxString_in_helper(obj1
);
5721 if (arg2
== NULL
) SWIG_fail
;
5725 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5726 (arg1
)->SetTitle((wxString
const &)*arg2
);
5727 wxPyEndAllowThreads(__tstate
);
5728 if (PyErr_Occurred()) SWIG_fail
;
5730 resultobj
= SWIG_Py_Void();
5745 SWIGINTERN PyObject
*_wrap_TopLevelWindow_GetTitle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5746 PyObject
*resultobj
= 0;
5747 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
5751 PyObject
*swig_obj
[1] ;
5753 if (!args
) SWIG_fail
;
5755 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTopLevelWindow
, 0 | 0 );
5756 if (!SWIG_IsOK(res1
)) {
5757 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TopLevelWindow_GetTitle" "', expected argument " "1"" of type '" "wxTopLevelWindow const *""'");
5759 arg1
= reinterpret_cast< wxTopLevelWindow
* >(argp1
);
5761 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5762 result
= ((wxTopLevelWindow
const *)arg1
)->GetTitle();
5763 wxPyEndAllowThreads(__tstate
);
5764 if (PyErr_Occurred()) SWIG_fail
;
5768 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
5770 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
5779 SWIGINTERN PyObject
*_wrap_TopLevelWindow_SetShape(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5780 PyObject
*resultobj
= 0;
5781 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
5782 wxRegion
*arg2
= 0 ;
5788 PyObject
* obj0
= 0 ;
5789 PyObject
* obj1
= 0 ;
5790 char * kwnames
[] = {
5791 (char *) "self",(char *) "region", NULL
5794 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TopLevelWindow_SetShape",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5795 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTopLevelWindow
, 0 | 0 );
5796 if (!SWIG_IsOK(res1
)) {
5797 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TopLevelWindow_SetShape" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
5799 arg1
= reinterpret_cast< wxTopLevelWindow
* >(argp1
);
5800 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxRegion
, 0 | 0);
5801 if (!SWIG_IsOK(res2
)) {
5802 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TopLevelWindow_SetShape" "', expected argument " "2"" of type '" "wxRegion const &""'");
5805 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TopLevelWindow_SetShape" "', expected argument " "2"" of type '" "wxRegion const &""'");
5807 arg2
= reinterpret_cast< wxRegion
* >(argp2
);
5809 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5810 result
= (bool)(arg1
)->SetShape((wxRegion
const &)*arg2
);
5811 wxPyEndAllowThreads(__tstate
);
5812 if (PyErr_Occurred()) SWIG_fail
;
5815 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5823 SWIGINTERN PyObject
*_wrap_TopLevelWindow_RequestUserAttention(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5824 PyObject
*resultobj
= 0;
5825 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
5826 int arg2
= (int) wxUSER_ATTENTION_INFO
;
5831 PyObject
* obj0
= 0 ;
5832 PyObject
* obj1
= 0 ;
5833 char * kwnames
[] = {
5834 (char *) "self",(char *) "flags", NULL
5837 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:TopLevelWindow_RequestUserAttention",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5838 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTopLevelWindow
, 0 | 0 );
5839 if (!SWIG_IsOK(res1
)) {
5840 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TopLevelWindow_RequestUserAttention" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
5842 arg1
= reinterpret_cast< wxTopLevelWindow
* >(argp1
);
5844 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
5845 if (!SWIG_IsOK(ecode2
)) {
5846 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TopLevelWindow_RequestUserAttention" "', expected argument " "2"" of type '" "int""'");
5848 arg2
= static_cast< int >(val2
);
5851 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5852 (arg1
)->RequestUserAttention(arg2
);
5853 wxPyEndAllowThreads(__tstate
);
5854 if (PyErr_Occurred()) SWIG_fail
;
5856 resultobj
= SWIG_Py_Void();
5863 SWIGINTERN PyObject
*_wrap_TopLevelWindow_IsActive(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5864 PyObject
*resultobj
= 0;
5865 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
5869 PyObject
*swig_obj
[1] ;
5871 if (!args
) SWIG_fail
;
5873 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTopLevelWindow
, 0 | 0 );
5874 if (!SWIG_IsOK(res1
)) {
5875 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TopLevelWindow_IsActive" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
5877 arg1
= reinterpret_cast< wxTopLevelWindow
* >(argp1
);
5879 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5880 result
= (bool)(arg1
)->IsActive();
5881 wxPyEndAllowThreads(__tstate
);
5882 if (PyErr_Occurred()) SWIG_fail
;
5885 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5893 SWIGINTERN PyObject
*_wrap_TopLevelWindow_MacSetMetalAppearance(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5894 PyObject
*resultobj
= 0;
5895 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
5901 PyObject
* obj0
= 0 ;
5902 PyObject
* obj1
= 0 ;
5903 char * kwnames
[] = {
5904 (char *) "self",(char *) "on", NULL
5907 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TopLevelWindow_MacSetMetalAppearance",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5908 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTopLevelWindow
, 0 | 0 );
5909 if (!SWIG_IsOK(res1
)) {
5910 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TopLevelWindow_MacSetMetalAppearance" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
5912 arg1
= reinterpret_cast< wxTopLevelWindow
* >(argp1
);
5913 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
5914 if (!SWIG_IsOK(ecode2
)) {
5915 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TopLevelWindow_MacSetMetalAppearance" "', expected argument " "2"" of type '" "bool""'");
5917 arg2
= static_cast< bool >(val2
);
5919 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5920 wxTopLevelWindow_MacSetMetalAppearance(arg1
,arg2
);
5921 wxPyEndAllowThreads(__tstate
);
5922 if (PyErr_Occurred()) SWIG_fail
;
5924 resultobj
= SWIG_Py_Void();
5931 SWIGINTERN PyObject
*_wrap_TopLevelWindow_MacGetMetalAppearance(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5932 PyObject
*resultobj
= 0;
5933 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
5937 PyObject
*swig_obj
[1] ;
5939 if (!args
) SWIG_fail
;
5941 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTopLevelWindow
, 0 | 0 );
5942 if (!SWIG_IsOK(res1
)) {
5943 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TopLevelWindow_MacGetMetalAppearance" "', expected argument " "1"" of type '" "wxTopLevelWindow const *""'");
5945 arg1
= reinterpret_cast< wxTopLevelWindow
* >(argp1
);
5947 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5948 result
= (bool)wxTopLevelWindow_MacGetMetalAppearance((wxTopLevelWindow
const *)arg1
);
5949 wxPyEndAllowThreads(__tstate
);
5950 if (PyErr_Occurred()) SWIG_fail
;
5953 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5961 SWIGINTERN PyObject
*_wrap_TopLevelWindow_CenterOnScreen(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5962 PyObject
*resultobj
= 0;
5963 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
5964 int arg2
= (int) wxBOTH
;
5969 PyObject
* obj0
= 0 ;
5970 PyObject
* obj1
= 0 ;
5971 char * kwnames
[] = {
5972 (char *) "self",(char *) "dir", NULL
5975 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:TopLevelWindow_CenterOnScreen",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5976 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTopLevelWindow
, 0 | 0 );
5977 if (!SWIG_IsOK(res1
)) {
5978 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TopLevelWindow_CenterOnScreen" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
5980 arg1
= reinterpret_cast< wxTopLevelWindow
* >(argp1
);
5982 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
5983 if (!SWIG_IsOK(ecode2
)) {
5984 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TopLevelWindow_CenterOnScreen" "', expected argument " "2"" of type '" "int""'");
5986 arg2
= static_cast< int >(val2
);
5989 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5990 (arg1
)->CenterOnScreen(arg2
);
5991 wxPyEndAllowThreads(__tstate
);
5992 if (PyErr_Occurred()) SWIG_fail
;
5994 resultobj
= SWIG_Py_Void();
6001 SWIGINTERN PyObject
*_wrap_TopLevelWindow_EnableCloseButton(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6002 PyObject
*resultobj
= 0;
6003 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
6004 bool arg2
= (bool) true ;
6010 PyObject
* obj0
= 0 ;
6011 PyObject
* obj1
= 0 ;
6012 char * kwnames
[] = {
6013 (char *) "self",(char *) "enable", NULL
6016 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:TopLevelWindow_EnableCloseButton",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6017 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTopLevelWindow
, 0 | 0 );
6018 if (!SWIG_IsOK(res1
)) {
6019 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TopLevelWindow_EnableCloseButton" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
6021 arg1
= reinterpret_cast< wxTopLevelWindow
* >(argp1
);
6023 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
6024 if (!SWIG_IsOK(ecode2
)) {
6025 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TopLevelWindow_EnableCloseButton" "', expected argument " "2"" of type '" "bool""'");
6027 arg2
= static_cast< bool >(val2
);
6030 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6031 result
= (bool)wxTopLevelWindow_EnableCloseButton(arg1
,arg2
);
6032 wxPyEndAllowThreads(__tstate
);
6033 if (PyErr_Occurred()) SWIG_fail
;
6036 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6044 SWIGINTERN PyObject
*_wrap_TopLevelWindow_SetTransparent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6045 PyObject
*resultobj
= 0;
6046 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
6051 unsigned char val2
;
6053 PyObject
* obj0
= 0 ;
6054 PyObject
* obj1
= 0 ;
6055 char * kwnames
[] = {
6056 (char *) "self",(char *) "alpha", NULL
6059 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TopLevelWindow_SetTransparent",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6060 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTopLevelWindow
, 0 | 0 );
6061 if (!SWIG_IsOK(res1
)) {
6062 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TopLevelWindow_SetTransparent" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
6064 arg1
= reinterpret_cast< wxTopLevelWindow
* >(argp1
);
6065 ecode2
= SWIG_AsVal_unsigned_SS_char(obj1
, &val2
);
6066 if (!SWIG_IsOK(ecode2
)) {
6067 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TopLevelWindow_SetTransparent" "', expected argument " "2"" of type '" "byte""'");
6069 arg2
= static_cast< byte
>(val2
);
6071 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6072 result
= (bool)(arg1
)->SetTransparent(arg2
);
6073 wxPyEndAllowThreads(__tstate
);
6074 if (PyErr_Occurred()) SWIG_fail
;
6077 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6085 SWIGINTERN PyObject
*_wrap_TopLevelWindow_CanSetTransparent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6086 PyObject
*resultobj
= 0;
6087 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
6091 PyObject
*swig_obj
[1] ;
6093 if (!args
) SWIG_fail
;
6095 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTopLevelWindow
, 0 | 0 );
6096 if (!SWIG_IsOK(res1
)) {
6097 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TopLevelWindow_CanSetTransparent" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
6099 arg1
= reinterpret_cast< wxTopLevelWindow
* >(argp1
);
6101 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6102 result
= (bool)(arg1
)->CanSetTransparent();
6103 wxPyEndAllowThreads(__tstate
);
6104 if (PyErr_Occurred()) SWIG_fail
;
6107 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6115 SWIGINTERN PyObject
*_wrap_TopLevelWindow_GetDefaultItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6116 PyObject
*resultobj
= 0;
6117 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
6118 wxWindow
*result
= 0 ;
6121 PyObject
*swig_obj
[1] ;
6123 if (!args
) SWIG_fail
;
6125 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTopLevelWindow
, 0 | 0 );
6126 if (!SWIG_IsOK(res1
)) {
6127 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TopLevelWindow_GetDefaultItem" "', expected argument " "1"" of type '" "wxTopLevelWindow const *""'");
6129 arg1
= reinterpret_cast< wxTopLevelWindow
* >(argp1
);
6131 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6132 result
= (wxWindow
*)((wxTopLevelWindow
const *)arg1
)->GetDefaultItem();
6133 wxPyEndAllowThreads(__tstate
);
6134 if (PyErr_Occurred()) SWIG_fail
;
6137 resultobj
= wxPyMake_wxObject(result
, 0);
6145 SWIGINTERN PyObject
*_wrap_TopLevelWindow_SetDefaultItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6146 PyObject
*resultobj
= 0;
6147 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
6148 wxWindow
*arg2
= (wxWindow
*) 0 ;
6149 wxWindow
*result
= 0 ;
6154 PyObject
* obj0
= 0 ;
6155 PyObject
* obj1
= 0 ;
6156 char * kwnames
[] = {
6157 (char *) "self",(char *) "child", NULL
6160 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TopLevelWindow_SetDefaultItem",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6161 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTopLevelWindow
, 0 | 0 );
6162 if (!SWIG_IsOK(res1
)) {
6163 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TopLevelWindow_SetDefaultItem" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
6165 arg1
= reinterpret_cast< wxTopLevelWindow
* >(argp1
);
6166 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
6167 if (!SWIG_IsOK(res2
)) {
6168 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TopLevelWindow_SetDefaultItem" "', expected argument " "2"" of type '" "wxWindow *""'");
6170 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
6172 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6173 result
= (wxWindow
*)(arg1
)->SetDefaultItem(arg2
);
6174 wxPyEndAllowThreads(__tstate
);
6175 if (PyErr_Occurred()) SWIG_fail
;
6178 resultobj
= wxPyMake_wxObject(result
, 0);
6186 SWIGINTERN PyObject
*_wrap_TopLevelWindow_SetTmpDefaultItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6187 PyObject
*resultobj
= 0;
6188 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
6189 wxWindow
*arg2
= (wxWindow
*) 0 ;
6194 PyObject
* obj0
= 0 ;
6195 PyObject
* obj1
= 0 ;
6196 char * kwnames
[] = {
6197 (char *) "self",(char *) "win", NULL
6200 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TopLevelWindow_SetTmpDefaultItem",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6201 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTopLevelWindow
, 0 | 0 );
6202 if (!SWIG_IsOK(res1
)) {
6203 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TopLevelWindow_SetTmpDefaultItem" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
6205 arg1
= reinterpret_cast< wxTopLevelWindow
* >(argp1
);
6206 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
6207 if (!SWIG_IsOK(res2
)) {
6208 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TopLevelWindow_SetTmpDefaultItem" "', expected argument " "2"" of type '" "wxWindow *""'");
6210 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
6212 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6213 (arg1
)->SetTmpDefaultItem(arg2
);
6214 wxPyEndAllowThreads(__tstate
);
6215 if (PyErr_Occurred()) SWIG_fail
;
6217 resultobj
= SWIG_Py_Void();
6224 SWIGINTERN PyObject
*_wrap_TopLevelWindow_GetTmpDefaultItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6225 PyObject
*resultobj
= 0;
6226 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
6227 wxWindow
*result
= 0 ;
6230 PyObject
*swig_obj
[1] ;
6232 if (!args
) SWIG_fail
;
6234 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTopLevelWindow
, 0 | 0 );
6235 if (!SWIG_IsOK(res1
)) {
6236 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TopLevelWindow_GetTmpDefaultItem" "', expected argument " "1"" of type '" "wxTopLevelWindow const *""'");
6238 arg1
= reinterpret_cast< wxTopLevelWindow
* >(argp1
);
6240 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6241 result
= (wxWindow
*)((wxTopLevelWindow
const *)arg1
)->GetTmpDefaultItem();
6242 wxPyEndAllowThreads(__tstate
);
6243 if (PyErr_Occurred()) SWIG_fail
;
6246 resultobj
= wxPyMake_wxObject(result
, 0);
6254 SWIGINTERN PyObject
*TopLevelWindow_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6256 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
6257 SWIG_TypeNewClientData(SWIGTYPE_p_wxTopLevelWindow
, SWIG_NewClientData(obj
));
6258 return SWIG_Py_Void();
6261 SWIGINTERN PyObject
*_wrap_new_Frame(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6262 PyObject
*resultobj
= 0;
6263 wxWindow
*arg1
= (wxWindow
*) 0 ;
6264 int arg2
= (int) (int)-1 ;
6265 wxString
const &arg3_defvalue
= wxPyEmptyString
;
6266 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
6267 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
6268 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
6269 wxSize
const &arg5_defvalue
= wxDefaultSize
;
6270 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
6271 long arg6
= (long) wxDEFAULT_FRAME_STYLE
;
6272 wxString
const &arg7_defvalue
= wxPyFrameNameStr
;
6273 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
6274 wxFrame
*result
= 0 ;
6279 bool temp3
= false ;
6284 bool temp7
= false ;
6285 PyObject
* obj0
= 0 ;
6286 PyObject
* obj1
= 0 ;
6287 PyObject
* obj2
= 0 ;
6288 PyObject
* obj3
= 0 ;
6289 PyObject
* obj4
= 0 ;
6290 PyObject
* obj5
= 0 ;
6291 PyObject
* obj6
= 0 ;
6292 char * kwnames
[] = {
6293 (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
6296 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_Frame",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
6297 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
6298 if (!SWIG_IsOK(res1
)) {
6299 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_Frame" "', expected argument " "1"" of type '" "wxWindow *""'");
6301 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
6303 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
6304 if (!SWIG_IsOK(ecode2
)) {
6305 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Frame" "', expected argument " "2"" of type '" "int""'");
6307 arg2
= static_cast< int >(val2
);
6311 arg3
= wxString_in_helper(obj2
);
6312 if (arg3
== NULL
) SWIG_fail
;
6319 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
6325 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
6329 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
6330 if (!SWIG_IsOK(ecode6
)) {
6331 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_Frame" "', expected argument " "6"" of type '" "long""'");
6333 arg6
= static_cast< long >(val6
);
6337 arg7
= wxString_in_helper(obj6
);
6338 if (arg7
== NULL
) SWIG_fail
;
6343 if (!wxPyCheckForApp()) SWIG_fail
;
6344 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6345 result
= (wxFrame
*)new wxFrame(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
6346 wxPyEndAllowThreads(__tstate
);
6347 if (PyErr_Occurred()) SWIG_fail
;
6349 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFrame
, SWIG_POINTER_NEW
| 0 );
6372 SWIGINTERN PyObject
*_wrap_new_PreFrame(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6373 PyObject
*resultobj
= 0;
6374 wxFrame
*result
= 0 ;
6376 if (!SWIG_Python_UnpackTuple(args
,"new_PreFrame",0,0,0)) SWIG_fail
;
6378 if (!wxPyCheckForApp()) SWIG_fail
;
6379 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6380 result
= (wxFrame
*)new wxFrame();
6381 wxPyEndAllowThreads(__tstate
);
6382 if (PyErr_Occurred()) SWIG_fail
;
6384 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFrame
, SWIG_POINTER_OWN
| 0 );
6391 SWIGINTERN PyObject
*_wrap_Frame_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6392 PyObject
*resultobj
= 0;
6393 wxFrame
*arg1
= (wxFrame
*) 0 ;
6394 wxWindow
*arg2
= (wxWindow
*) 0 ;
6395 int arg3
= (int) (int)-1 ;
6396 wxString
const &arg4_defvalue
= wxPyEmptyString
;
6397 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
6398 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
6399 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
6400 wxSize
const &arg6_defvalue
= wxDefaultSize
;
6401 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
6402 long arg7
= (long) wxDEFAULT_FRAME_STYLE
;
6403 wxString
const &arg8_defvalue
= wxPyFrameNameStr
;
6404 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
6412 bool temp4
= false ;
6417 bool temp8
= false ;
6418 PyObject
* obj0
= 0 ;
6419 PyObject
* obj1
= 0 ;
6420 PyObject
* obj2
= 0 ;
6421 PyObject
* obj3
= 0 ;
6422 PyObject
* obj4
= 0 ;
6423 PyObject
* obj5
= 0 ;
6424 PyObject
* obj6
= 0 ;
6425 PyObject
* obj7
= 0 ;
6426 char * kwnames
[] = {
6427 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
6430 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:Frame_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
6431 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFrame
, 0 | 0 );
6432 if (!SWIG_IsOK(res1
)) {
6433 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Frame_Create" "', expected argument " "1"" of type '" "wxFrame *""'");
6435 arg1
= reinterpret_cast< wxFrame
* >(argp1
);
6436 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
6437 if (!SWIG_IsOK(res2
)) {
6438 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Frame_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
6440 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
6442 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
6443 if (!SWIG_IsOK(ecode3
)) {
6444 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Frame_Create" "', expected argument " "3"" of type '" "int""'");
6446 arg3
= static_cast< int >(val3
);
6450 arg4
= wxString_in_helper(obj3
);
6451 if (arg4
== NULL
) SWIG_fail
;
6458 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
6464 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
6468 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
6469 if (!SWIG_IsOK(ecode7
)) {
6470 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "Frame_Create" "', expected argument " "7"" of type '" "long""'");
6472 arg7
= static_cast< long >(val7
);
6476 arg8
= wxString_in_helper(obj7
);
6477 if (arg8
== NULL
) SWIG_fail
;
6482 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6483 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxString
const &)*arg8
);
6484 wxPyEndAllowThreads(__tstate
);
6485 if (PyErr_Occurred()) SWIG_fail
;
6488 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6512 SWIGINTERN PyObject
*_wrap_Frame_SendSizeEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6513 PyObject
*resultobj
= 0;
6514 wxFrame
*arg1
= (wxFrame
*) 0 ;
6517 PyObject
*swig_obj
[1] ;
6519 if (!args
) SWIG_fail
;
6521 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFrame
, 0 | 0 );
6522 if (!SWIG_IsOK(res1
)) {
6523 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Frame_SendSizeEvent" "', expected argument " "1"" of type '" "wxFrame *""'");
6525 arg1
= reinterpret_cast< wxFrame
* >(argp1
);
6527 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6528 (arg1
)->SendSizeEvent();
6529 wxPyEndAllowThreads(__tstate
);
6530 if (PyErr_Occurred()) SWIG_fail
;
6532 resultobj
= SWIG_Py_Void();
6539 SWIGINTERN PyObject
*_wrap_Frame_SetMenuBar(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6540 PyObject
*resultobj
= 0;
6541 wxFrame
*arg1
= (wxFrame
*) 0 ;
6542 wxMenuBar
*arg2
= (wxMenuBar
*) 0 ;
6547 PyObject
* obj0
= 0 ;
6548 PyObject
* obj1
= 0 ;
6549 char * kwnames
[] = {
6550 (char *) "self",(char *) "menubar", NULL
6553 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Frame_SetMenuBar",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6554 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFrame
, 0 | 0 );
6555 if (!SWIG_IsOK(res1
)) {
6556 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Frame_SetMenuBar" "', expected argument " "1"" of type '" "wxFrame *""'");
6558 arg1
= reinterpret_cast< wxFrame
* >(argp1
);
6559 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxMenuBar
, 0 | 0 );
6560 if (!SWIG_IsOK(res2
)) {
6561 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Frame_SetMenuBar" "', expected argument " "2"" of type '" "wxMenuBar *""'");
6563 arg2
= reinterpret_cast< wxMenuBar
* >(argp2
);
6565 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6566 (arg1
)->SetMenuBar(arg2
);
6567 wxPyEndAllowThreads(__tstate
);
6568 if (PyErr_Occurred()) SWIG_fail
;
6570 resultobj
= SWIG_Py_Void();
6577 SWIGINTERN PyObject
*_wrap_Frame_GetMenuBar(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6578 PyObject
*resultobj
= 0;
6579 wxFrame
*arg1
= (wxFrame
*) 0 ;
6580 wxMenuBar
*result
= 0 ;
6583 PyObject
*swig_obj
[1] ;
6585 if (!args
) SWIG_fail
;
6587 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFrame
, 0 | 0 );
6588 if (!SWIG_IsOK(res1
)) {
6589 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Frame_GetMenuBar" "', expected argument " "1"" of type '" "wxFrame const *""'");
6591 arg1
= reinterpret_cast< wxFrame
* >(argp1
);
6593 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6594 result
= (wxMenuBar
*)((wxFrame
const *)arg1
)->GetMenuBar();
6595 wxPyEndAllowThreads(__tstate
);
6596 if (PyErr_Occurred()) SWIG_fail
;
6599 resultobj
= wxPyMake_wxObject(result
, 0);
6607 SWIGINTERN PyObject
*_wrap_Frame_ProcessCommand(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6608 PyObject
*resultobj
= 0;
6609 wxFrame
*arg1
= (wxFrame
*) 0 ;
6616 PyObject
* obj0
= 0 ;
6617 PyObject
* obj1
= 0 ;
6618 char * kwnames
[] = {
6619 (char *) "self",(char *) "winid", NULL
6622 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Frame_ProcessCommand",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6623 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFrame
, 0 | 0 );
6624 if (!SWIG_IsOK(res1
)) {
6625 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Frame_ProcessCommand" "', expected argument " "1"" of type '" "wxFrame *""'");
6627 arg1
= reinterpret_cast< wxFrame
* >(argp1
);
6628 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
6629 if (!SWIG_IsOK(ecode2
)) {
6630 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Frame_ProcessCommand" "', expected argument " "2"" of type '" "int""'");
6632 arg2
= static_cast< int >(val2
);
6634 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6635 result
= (bool)(arg1
)->ProcessCommand(arg2
);
6636 wxPyEndAllowThreads(__tstate
);
6637 if (PyErr_Occurred()) SWIG_fail
;
6640 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6648 SWIGINTERN PyObject
*_wrap_Frame_CreateStatusBar(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6649 PyObject
*resultobj
= 0;
6650 wxFrame
*arg1
= (wxFrame
*) 0 ;
6651 int arg2
= (int) 1 ;
6652 long arg3
= (long) wxDEFAULT_STATUSBAR_STYLE
;
6653 int arg4
= (int) 0 ;
6654 wxString
const &arg5_defvalue
= wxPyStatusLineNameStr
;
6655 wxString
*arg5
= (wxString
*) &arg5_defvalue
;
6656 wxStatusBar
*result
= 0 ;
6665 bool temp5
= false ;
6666 PyObject
* obj0
= 0 ;
6667 PyObject
* obj1
= 0 ;
6668 PyObject
* obj2
= 0 ;
6669 PyObject
* obj3
= 0 ;
6670 PyObject
* obj4
= 0 ;
6671 char * kwnames
[] = {
6672 (char *) "self",(char *) "number",(char *) "style",(char *) "winid",(char *) "name", NULL
6675 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOO:Frame_CreateStatusBar",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
6676 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFrame
, 0 | 0 );
6677 if (!SWIG_IsOK(res1
)) {
6678 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Frame_CreateStatusBar" "', expected argument " "1"" of type '" "wxFrame *""'");
6680 arg1
= reinterpret_cast< wxFrame
* >(argp1
);
6682 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
6683 if (!SWIG_IsOK(ecode2
)) {
6684 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Frame_CreateStatusBar" "', expected argument " "2"" of type '" "int""'");
6686 arg2
= static_cast< int >(val2
);
6689 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
6690 if (!SWIG_IsOK(ecode3
)) {
6691 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Frame_CreateStatusBar" "', expected argument " "3"" of type '" "long""'");
6693 arg3
= static_cast< long >(val3
);
6696 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
6697 if (!SWIG_IsOK(ecode4
)) {
6698 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Frame_CreateStatusBar" "', expected argument " "4"" of type '" "int""'");
6700 arg4
= static_cast< int >(val4
);
6704 arg5
= wxString_in_helper(obj4
);
6705 if (arg5
== NULL
) SWIG_fail
;
6710 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6711 result
= (wxStatusBar
*)(arg1
)->CreateStatusBar(arg2
,arg3
,arg4
,(wxString
const &)*arg5
);
6712 wxPyEndAllowThreads(__tstate
);
6713 if (PyErr_Occurred()) SWIG_fail
;
6716 resultobj
= wxPyMake_wxObject(result
, (bool)0);
6732 SWIGINTERN PyObject
*_wrap_Frame_GetStatusBar(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6733 PyObject
*resultobj
= 0;
6734 wxFrame
*arg1
= (wxFrame
*) 0 ;
6735 wxStatusBar
*result
= 0 ;
6738 PyObject
*swig_obj
[1] ;
6740 if (!args
) SWIG_fail
;
6742 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFrame
, 0 | 0 );
6743 if (!SWIG_IsOK(res1
)) {
6744 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Frame_GetStatusBar" "', expected argument " "1"" of type '" "wxFrame const *""'");
6746 arg1
= reinterpret_cast< wxFrame
* >(argp1
);
6748 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6749 result
= (wxStatusBar
*)((wxFrame
const *)arg1
)->GetStatusBar();
6750 wxPyEndAllowThreads(__tstate
);
6751 if (PyErr_Occurred()) SWIG_fail
;
6754 resultobj
= wxPyMake_wxObject(result
, (bool)0);
6762 SWIGINTERN PyObject
*_wrap_Frame_SetStatusBar(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6763 PyObject
*resultobj
= 0;
6764 wxFrame
*arg1
= (wxFrame
*) 0 ;
6765 wxStatusBar
*arg2
= (wxStatusBar
*) 0 ;
6770 PyObject
* obj0
= 0 ;
6771 PyObject
* obj1
= 0 ;
6772 char * kwnames
[] = {
6773 (char *) "self",(char *) "statBar", NULL
6776 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Frame_SetStatusBar",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6777 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFrame
, 0 | 0 );
6778 if (!SWIG_IsOK(res1
)) {
6779 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Frame_SetStatusBar" "', expected argument " "1"" of type '" "wxFrame *""'");
6781 arg1
= reinterpret_cast< wxFrame
* >(argp1
);
6782 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxStatusBar
, 0 | 0 );
6783 if (!SWIG_IsOK(res2
)) {
6784 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Frame_SetStatusBar" "', expected argument " "2"" of type '" "wxStatusBar *""'");
6786 arg2
= reinterpret_cast< wxStatusBar
* >(argp2
);
6788 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6789 (arg1
)->SetStatusBar(arg2
);
6790 wxPyEndAllowThreads(__tstate
);
6791 if (PyErr_Occurred()) SWIG_fail
;
6793 resultobj
= SWIG_Py_Void();
6800 SWIGINTERN PyObject
*_wrap_Frame_SetStatusText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6801 PyObject
*resultobj
= 0;
6802 wxFrame
*arg1
= (wxFrame
*) 0 ;
6803 wxString
*arg2
= 0 ;
6804 int arg3
= (int) 0 ;
6807 bool temp2
= false ;
6810 PyObject
* obj0
= 0 ;
6811 PyObject
* obj1
= 0 ;
6812 PyObject
* obj2
= 0 ;
6813 char * kwnames
[] = {
6814 (char *) "self",(char *) "text",(char *) "number", NULL
6817 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Frame_SetStatusText",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
6818 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFrame
, 0 | 0 );
6819 if (!SWIG_IsOK(res1
)) {
6820 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Frame_SetStatusText" "', expected argument " "1"" of type '" "wxFrame *""'");
6822 arg1
= reinterpret_cast< wxFrame
* >(argp1
);
6824 arg2
= wxString_in_helper(obj1
);
6825 if (arg2
== NULL
) SWIG_fail
;
6829 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
6830 if (!SWIG_IsOK(ecode3
)) {
6831 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Frame_SetStatusText" "', expected argument " "3"" of type '" "int""'");
6833 arg3
= static_cast< int >(val3
);
6836 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6837 (arg1
)->SetStatusText((wxString
const &)*arg2
,arg3
);
6838 wxPyEndAllowThreads(__tstate
);
6839 if (PyErr_Occurred()) SWIG_fail
;
6841 resultobj
= SWIG_Py_Void();
6856 SWIGINTERN PyObject
*_wrap_Frame_SetStatusWidths(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6857 PyObject
*resultobj
= 0;
6858 wxFrame
*arg1
= (wxFrame
*) 0 ;
6860 int *arg3
= (int *) 0 ;
6863 PyObject
* obj0
= 0 ;
6864 PyObject
* obj1
= 0 ;
6865 char * kwnames
[] = {
6866 (char *) "self",(char *) "widths", NULL
6869 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Frame_SetStatusWidths",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6870 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFrame
, 0 | 0 );
6871 if (!SWIG_IsOK(res1
)) {
6872 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Frame_SetStatusWidths" "', expected argument " "1"" of type '" "wxFrame *""'");
6874 arg1
= reinterpret_cast< wxFrame
* >(argp1
);
6876 arg2
= PyList_Size(obj1
);
6877 arg3
= int_LIST_helper(obj1
);
6878 if (arg3
== NULL
) SWIG_fail
;
6881 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6882 (arg1
)->SetStatusWidths(arg2
,(int const *)arg3
);
6883 wxPyEndAllowThreads(__tstate
);
6884 if (PyErr_Occurred()) SWIG_fail
;
6886 resultobj
= SWIG_Py_Void();
6888 if (arg3
) delete [] arg3
;
6893 if (arg3
) delete [] arg3
;
6899 SWIGINTERN PyObject
*_wrap_Frame_PushStatusText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6900 PyObject
*resultobj
= 0;
6901 wxFrame
*arg1
= (wxFrame
*) 0 ;
6902 wxString
*arg2
= 0 ;
6903 int arg3
= (int) 0 ;
6906 bool temp2
= false ;
6909 PyObject
* obj0
= 0 ;
6910 PyObject
* obj1
= 0 ;
6911 PyObject
* obj2
= 0 ;
6912 char * kwnames
[] = {
6913 (char *) "self",(char *) "text",(char *) "number", NULL
6916 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Frame_PushStatusText",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
6917 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFrame
, 0 | 0 );
6918 if (!SWIG_IsOK(res1
)) {
6919 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Frame_PushStatusText" "', expected argument " "1"" of type '" "wxFrame *""'");
6921 arg1
= reinterpret_cast< wxFrame
* >(argp1
);
6923 arg2
= wxString_in_helper(obj1
);
6924 if (arg2
== NULL
) SWIG_fail
;
6928 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
6929 if (!SWIG_IsOK(ecode3
)) {
6930 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Frame_PushStatusText" "', expected argument " "3"" of type '" "int""'");
6932 arg3
= static_cast< int >(val3
);
6935 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6936 (arg1
)->PushStatusText((wxString
const &)*arg2
,arg3
);
6937 wxPyEndAllowThreads(__tstate
);
6938 if (PyErr_Occurred()) SWIG_fail
;
6940 resultobj
= SWIG_Py_Void();
6955 SWIGINTERN PyObject
*_wrap_Frame_PopStatusText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6956 PyObject
*resultobj
= 0;
6957 wxFrame
*arg1
= (wxFrame
*) 0 ;
6958 int arg2
= (int) 0 ;
6963 PyObject
* obj0
= 0 ;
6964 PyObject
* obj1
= 0 ;
6965 char * kwnames
[] = {
6966 (char *) "self",(char *) "number", NULL
6969 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Frame_PopStatusText",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6970 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFrame
, 0 | 0 );
6971 if (!SWIG_IsOK(res1
)) {
6972 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Frame_PopStatusText" "', expected argument " "1"" of type '" "wxFrame *""'");
6974 arg1
= reinterpret_cast< wxFrame
* >(argp1
);
6976 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
6977 if (!SWIG_IsOK(ecode2
)) {
6978 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Frame_PopStatusText" "', expected argument " "2"" of type '" "int""'");
6980 arg2
= static_cast< int >(val2
);
6983 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6984 (arg1
)->PopStatusText(arg2
);
6985 wxPyEndAllowThreads(__tstate
);
6986 if (PyErr_Occurred()) SWIG_fail
;
6988 resultobj
= SWIG_Py_Void();
6995 SWIGINTERN PyObject
*_wrap_Frame_SetStatusBarPane(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6996 PyObject
*resultobj
= 0;
6997 wxFrame
*arg1
= (wxFrame
*) 0 ;
7003 PyObject
* obj0
= 0 ;
7004 PyObject
* obj1
= 0 ;
7005 char * kwnames
[] = {
7006 (char *) "self",(char *) "n", NULL
7009 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Frame_SetStatusBarPane",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7010 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFrame
, 0 | 0 );
7011 if (!SWIG_IsOK(res1
)) {
7012 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Frame_SetStatusBarPane" "', expected argument " "1"" of type '" "wxFrame *""'");
7014 arg1
= reinterpret_cast< wxFrame
* >(argp1
);
7015 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
7016 if (!SWIG_IsOK(ecode2
)) {
7017 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Frame_SetStatusBarPane" "', expected argument " "2"" of type '" "int""'");
7019 arg2
= static_cast< int >(val2
);
7021 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7022 (arg1
)->SetStatusBarPane(arg2
);
7023 wxPyEndAllowThreads(__tstate
);
7024 if (PyErr_Occurred()) SWIG_fail
;
7026 resultobj
= SWIG_Py_Void();
7033 SWIGINTERN PyObject
*_wrap_Frame_GetStatusBarPane(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7034 PyObject
*resultobj
= 0;
7035 wxFrame
*arg1
= (wxFrame
*) 0 ;
7039 PyObject
*swig_obj
[1] ;
7041 if (!args
) SWIG_fail
;
7043 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFrame
, 0 | 0 );
7044 if (!SWIG_IsOK(res1
)) {
7045 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Frame_GetStatusBarPane" "', expected argument " "1"" of type '" "wxFrame const *""'");
7047 arg1
= reinterpret_cast< wxFrame
* >(argp1
);
7049 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7050 result
= (int)((wxFrame
const *)arg1
)->GetStatusBarPane();
7051 wxPyEndAllowThreads(__tstate
);
7052 if (PyErr_Occurred()) SWIG_fail
;
7054 resultobj
= SWIG_From_int(static_cast< int >(result
));
7061 SWIGINTERN PyObject
*_wrap_Frame_CreateToolBar(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7062 PyObject
*resultobj
= 0;
7063 wxFrame
*arg1
= (wxFrame
*) 0 ;
7064 long arg2
= (long) -1 ;
7065 int arg3
= (int) -1 ;
7066 wxString
const &arg4_defvalue
= wxPyToolBarNameStr
;
7067 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
7068 wxToolBar
*result
= 0 ;
7075 bool temp4
= false ;
7076 PyObject
* obj0
= 0 ;
7077 PyObject
* obj1
= 0 ;
7078 PyObject
* obj2
= 0 ;
7079 PyObject
* obj3
= 0 ;
7080 char * kwnames
[] = {
7081 (char *) "self",(char *) "style",(char *) "winid",(char *) "name", NULL
7084 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOO:Frame_CreateToolBar",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
7085 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFrame
, 0 | 0 );
7086 if (!SWIG_IsOK(res1
)) {
7087 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Frame_CreateToolBar" "', expected argument " "1"" of type '" "wxFrame *""'");
7089 arg1
= reinterpret_cast< wxFrame
* >(argp1
);
7091 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
7092 if (!SWIG_IsOK(ecode2
)) {
7093 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Frame_CreateToolBar" "', expected argument " "2"" of type '" "long""'");
7095 arg2
= static_cast< long >(val2
);
7098 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
7099 if (!SWIG_IsOK(ecode3
)) {
7100 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Frame_CreateToolBar" "', expected argument " "3"" of type '" "int""'");
7102 arg3
= static_cast< int >(val3
);
7106 arg4
= wxString_in_helper(obj3
);
7107 if (arg4
== NULL
) SWIG_fail
;
7112 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7113 result
= (wxToolBar
*)(arg1
)->CreateToolBar(arg2
,arg3
,(wxString
const &)*arg4
);
7114 wxPyEndAllowThreads(__tstate
);
7115 if (PyErr_Occurred()) SWIG_fail
;
7118 resultobj
= wxPyMake_wxObject(result
, (bool)0);
7134 SWIGINTERN PyObject
*_wrap_Frame_GetToolBar(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7135 PyObject
*resultobj
= 0;
7136 wxFrame
*arg1
= (wxFrame
*) 0 ;
7137 wxToolBar
*result
= 0 ;
7140 PyObject
*swig_obj
[1] ;
7142 if (!args
) SWIG_fail
;
7144 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFrame
, 0 | 0 );
7145 if (!SWIG_IsOK(res1
)) {
7146 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Frame_GetToolBar" "', expected argument " "1"" of type '" "wxFrame const *""'");
7148 arg1
= reinterpret_cast< wxFrame
* >(argp1
);
7150 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7151 result
= (wxToolBar
*)((wxFrame
const *)arg1
)->GetToolBar();
7152 wxPyEndAllowThreads(__tstate
);
7153 if (PyErr_Occurred()) SWIG_fail
;
7156 resultobj
= wxPyMake_wxObject(result
, (bool)0);
7164 SWIGINTERN PyObject
*_wrap_Frame_SetToolBar(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7165 PyObject
*resultobj
= 0;
7166 wxFrame
*arg1
= (wxFrame
*) 0 ;
7167 wxToolBar
*arg2
= (wxToolBar
*) 0 ;
7172 PyObject
* obj0
= 0 ;
7173 PyObject
* obj1
= 0 ;
7174 char * kwnames
[] = {
7175 (char *) "self",(char *) "toolbar", NULL
7178 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Frame_SetToolBar",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7179 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFrame
, 0 | 0 );
7180 if (!SWIG_IsOK(res1
)) {
7181 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Frame_SetToolBar" "', expected argument " "1"" of type '" "wxFrame *""'");
7183 arg1
= reinterpret_cast< wxFrame
* >(argp1
);
7184 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxToolBar
, 0 | 0 );
7185 if (!SWIG_IsOK(res2
)) {
7186 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Frame_SetToolBar" "', expected argument " "2"" of type '" "wxToolBar *""'");
7188 arg2
= reinterpret_cast< wxToolBar
* >(argp2
);
7190 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7191 (arg1
)->SetToolBar(arg2
);
7192 wxPyEndAllowThreads(__tstate
);
7193 if (PyErr_Occurred()) SWIG_fail
;
7195 resultobj
= SWIG_Py_Void();
7202 SWIGINTERN PyObject
*_wrap_Frame_DoGiveHelp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7203 PyObject
*resultobj
= 0;
7204 wxFrame
*arg1
= (wxFrame
*) 0 ;
7205 wxString
*arg2
= 0 ;
7209 bool temp2
= false ;
7212 PyObject
* obj0
= 0 ;
7213 PyObject
* obj1
= 0 ;
7214 PyObject
* obj2
= 0 ;
7215 char * kwnames
[] = {
7216 (char *) "self",(char *) "text",(char *) "show", NULL
7219 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Frame_DoGiveHelp",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
7220 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFrame
, 0 | 0 );
7221 if (!SWIG_IsOK(res1
)) {
7222 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Frame_DoGiveHelp" "', expected argument " "1"" of type '" "wxFrame *""'");
7224 arg1
= reinterpret_cast< wxFrame
* >(argp1
);
7226 arg2
= wxString_in_helper(obj1
);
7227 if (arg2
== NULL
) SWIG_fail
;
7230 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
7231 if (!SWIG_IsOK(ecode3
)) {
7232 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Frame_DoGiveHelp" "', expected argument " "3"" of type '" "bool""'");
7234 arg3
= static_cast< bool >(val3
);
7236 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7237 (arg1
)->DoGiveHelp((wxString
const &)*arg2
,arg3
);
7238 wxPyEndAllowThreads(__tstate
);
7239 if (PyErr_Occurred()) SWIG_fail
;
7241 resultobj
= SWIG_Py_Void();
7256 SWIGINTERN PyObject
*_wrap_Frame_DoMenuUpdates(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7257 PyObject
*resultobj
= 0;
7258 wxFrame
*arg1
= (wxFrame
*) 0 ;
7259 wxMenu
*arg2
= (wxMenu
*) NULL
;
7264 PyObject
* obj0
= 0 ;
7265 PyObject
* obj1
= 0 ;
7266 char * kwnames
[] = {
7267 (char *) "self",(char *) "menu", NULL
7270 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Frame_DoMenuUpdates",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7271 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFrame
, 0 | 0 );
7272 if (!SWIG_IsOK(res1
)) {
7273 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Frame_DoMenuUpdates" "', expected argument " "1"" of type '" "wxFrame *""'");
7275 arg1
= reinterpret_cast< wxFrame
* >(argp1
);
7277 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxMenu
, 0 | 0 );
7278 if (!SWIG_IsOK(res2
)) {
7279 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Frame_DoMenuUpdates" "', expected argument " "2"" of type '" "wxMenu *""'");
7281 arg2
= reinterpret_cast< wxMenu
* >(argp2
);
7284 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7285 (arg1
)->DoMenuUpdates(arg2
);
7286 wxPyEndAllowThreads(__tstate
);
7287 if (PyErr_Occurred()) SWIG_fail
;
7289 resultobj
= SWIG_Py_Void();
7296 SWIGINTERN PyObject
*_wrap_Frame_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7297 PyObject
*resultobj
= 0;
7298 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
7299 SwigValueWrapper
<wxVisualAttributes
> result
;
7302 PyObject
* obj0
= 0 ;
7303 char * kwnames
[] = {
7304 (char *) "variant", NULL
7307 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Frame_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
7309 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
7310 if (!SWIG_IsOK(ecode1
)) {
7311 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "Frame_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
7313 arg1
= static_cast< wxWindowVariant
>(val1
);
7316 if (!wxPyCheckForApp()) SWIG_fail
;
7317 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7318 result
= wxFrame::GetClassDefaultAttributes(arg1
);
7319 wxPyEndAllowThreads(__tstate
);
7320 if (PyErr_Occurred()) SWIG_fail
;
7322 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
7329 SWIGINTERN PyObject
*Frame_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7331 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
7332 SWIG_TypeNewClientData(SWIGTYPE_p_wxFrame
, SWIG_NewClientData(obj
));
7333 return SWIG_Py_Void();
7336 SWIGINTERN PyObject
*Frame_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7337 return SWIG_Python_InitShadowInstance(args
);
7340 SWIGINTERN PyObject
*_wrap_new_Dialog(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7341 PyObject
*resultobj
= 0;
7342 wxWindow
*arg1
= (wxWindow
*) 0 ;
7343 int arg2
= (int) (int)-1 ;
7344 wxString
const &arg3_defvalue
= wxPyEmptyString
;
7345 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
7346 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
7347 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
7348 wxSize
const &arg5_defvalue
= wxDefaultSize
;
7349 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
7350 long arg6
= (long) wxDEFAULT_DIALOG_STYLE
;
7351 wxString
const &arg7_defvalue
= wxPyDialogNameStr
;
7352 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
7353 wxDialog
*result
= 0 ;
7358 bool temp3
= false ;
7363 bool temp7
= false ;
7364 PyObject
* obj0
= 0 ;
7365 PyObject
* obj1
= 0 ;
7366 PyObject
* obj2
= 0 ;
7367 PyObject
* obj3
= 0 ;
7368 PyObject
* obj4
= 0 ;
7369 PyObject
* obj5
= 0 ;
7370 PyObject
* obj6
= 0 ;
7371 char * kwnames
[] = {
7372 (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
7375 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_Dialog",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
7376 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
7377 if (!SWIG_IsOK(res1
)) {
7378 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_Dialog" "', expected argument " "1"" of type '" "wxWindow *""'");
7380 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
7382 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
7383 if (!SWIG_IsOK(ecode2
)) {
7384 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Dialog" "', expected argument " "2"" of type '" "int""'");
7386 arg2
= static_cast< int >(val2
);
7390 arg3
= wxString_in_helper(obj2
);
7391 if (arg3
== NULL
) SWIG_fail
;
7398 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
7404 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
7408 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
7409 if (!SWIG_IsOK(ecode6
)) {
7410 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_Dialog" "', expected argument " "6"" of type '" "long""'");
7412 arg6
= static_cast< long >(val6
);
7416 arg7
= wxString_in_helper(obj6
);
7417 if (arg7
== NULL
) SWIG_fail
;
7422 if (!wxPyCheckForApp()) SWIG_fail
;
7423 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7424 result
= (wxDialog
*)new wxDialog(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
7425 wxPyEndAllowThreads(__tstate
);
7426 if (PyErr_Occurred()) SWIG_fail
;
7428 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDialog
, SWIG_POINTER_NEW
| 0 );
7451 SWIGINTERN PyObject
*_wrap_new_PreDialog(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7452 PyObject
*resultobj
= 0;
7453 wxDialog
*result
= 0 ;
7455 if (!SWIG_Python_UnpackTuple(args
,"new_PreDialog",0,0,0)) SWIG_fail
;
7457 if (!wxPyCheckForApp()) SWIG_fail
;
7458 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7459 result
= (wxDialog
*)new wxDialog();
7460 wxPyEndAllowThreads(__tstate
);
7461 if (PyErr_Occurred()) SWIG_fail
;
7463 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDialog
, SWIG_POINTER_OWN
| 0 );
7470 SWIGINTERN PyObject
*_wrap_Dialog_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7471 PyObject
*resultobj
= 0;
7472 wxDialog
*arg1
= (wxDialog
*) 0 ;
7473 wxWindow
*arg2
= (wxWindow
*) 0 ;
7474 int arg3
= (int) (int)-1 ;
7475 wxString
const &arg4_defvalue
= wxPyEmptyString
;
7476 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
7477 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
7478 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
7479 wxSize
const &arg6_defvalue
= wxDefaultSize
;
7480 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
7481 long arg7
= (long) wxDEFAULT_DIALOG_STYLE
;
7482 wxString
const &arg8_defvalue
= wxPyDialogNameStr
;
7483 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
7491 bool temp4
= false ;
7496 bool temp8
= false ;
7497 PyObject
* obj0
= 0 ;
7498 PyObject
* obj1
= 0 ;
7499 PyObject
* obj2
= 0 ;
7500 PyObject
* obj3
= 0 ;
7501 PyObject
* obj4
= 0 ;
7502 PyObject
* obj5
= 0 ;
7503 PyObject
* obj6
= 0 ;
7504 PyObject
* obj7
= 0 ;
7505 char * kwnames
[] = {
7506 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
7509 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:Dialog_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
7510 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDialog
, 0 | 0 );
7511 if (!SWIG_IsOK(res1
)) {
7512 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Dialog_Create" "', expected argument " "1"" of type '" "wxDialog *""'");
7514 arg1
= reinterpret_cast< wxDialog
* >(argp1
);
7515 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
7516 if (!SWIG_IsOK(res2
)) {
7517 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Dialog_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
7519 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
7521 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
7522 if (!SWIG_IsOK(ecode3
)) {
7523 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Dialog_Create" "', expected argument " "3"" of type '" "int""'");
7525 arg3
= static_cast< int >(val3
);
7529 arg4
= wxString_in_helper(obj3
);
7530 if (arg4
== NULL
) SWIG_fail
;
7537 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
7543 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
7547 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
7548 if (!SWIG_IsOK(ecode7
)) {
7549 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "Dialog_Create" "', expected argument " "7"" of type '" "long""'");
7551 arg7
= static_cast< long >(val7
);
7555 arg8
= wxString_in_helper(obj7
);
7556 if (arg8
== NULL
) SWIG_fail
;
7561 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7562 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxString
const &)*arg8
);
7563 wxPyEndAllowThreads(__tstate
);
7564 if (PyErr_Occurred()) SWIG_fail
;
7567 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7591 SWIGINTERN PyObject
*_wrap_Dialog_SetReturnCode(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7592 PyObject
*resultobj
= 0;
7593 wxDialog
*arg1
= (wxDialog
*) 0 ;
7599 PyObject
* obj0
= 0 ;
7600 PyObject
* obj1
= 0 ;
7601 char * kwnames
[] = {
7602 (char *) "self",(char *) "returnCode", NULL
7605 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Dialog_SetReturnCode",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7606 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDialog
, 0 | 0 );
7607 if (!SWIG_IsOK(res1
)) {
7608 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Dialog_SetReturnCode" "', expected argument " "1"" of type '" "wxDialog *""'");
7610 arg1
= reinterpret_cast< wxDialog
* >(argp1
);
7611 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
7612 if (!SWIG_IsOK(ecode2
)) {
7613 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Dialog_SetReturnCode" "', expected argument " "2"" of type '" "int""'");
7615 arg2
= static_cast< int >(val2
);
7617 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7618 (arg1
)->SetReturnCode(arg2
);
7619 wxPyEndAllowThreads(__tstate
);
7620 if (PyErr_Occurred()) SWIG_fail
;
7622 resultobj
= SWIG_Py_Void();
7629 SWIGINTERN PyObject
*_wrap_Dialog_GetReturnCode(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7630 PyObject
*resultobj
= 0;
7631 wxDialog
*arg1
= (wxDialog
*) 0 ;
7635 PyObject
*swig_obj
[1] ;
7637 if (!args
) SWIG_fail
;
7639 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDialog
, 0 | 0 );
7640 if (!SWIG_IsOK(res1
)) {
7641 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Dialog_GetReturnCode" "', expected argument " "1"" of type '" "wxDialog const *""'");
7643 arg1
= reinterpret_cast< wxDialog
* >(argp1
);
7645 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7646 result
= (int)((wxDialog
const *)arg1
)->GetReturnCode();
7647 wxPyEndAllowThreads(__tstate
);
7648 if (PyErr_Occurred()) SWIG_fail
;
7650 resultobj
= SWIG_From_int(static_cast< int >(result
));
7657 SWIGINTERN PyObject
*_wrap_Dialog_SetAffirmativeId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7658 PyObject
*resultobj
= 0;
7659 wxDialog
*arg1
= (wxDialog
*) 0 ;
7665 PyObject
* obj0
= 0 ;
7666 PyObject
* obj1
= 0 ;
7667 char * kwnames
[] = {
7668 (char *) "self",(char *) "affirmativeId", NULL
7671 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Dialog_SetAffirmativeId",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7672 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDialog
, 0 | 0 );
7673 if (!SWIG_IsOK(res1
)) {
7674 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Dialog_SetAffirmativeId" "', expected argument " "1"" of type '" "wxDialog *""'");
7676 arg1
= reinterpret_cast< wxDialog
* >(argp1
);
7677 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
7678 if (!SWIG_IsOK(ecode2
)) {
7679 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Dialog_SetAffirmativeId" "', expected argument " "2"" of type '" "int""'");
7681 arg2
= static_cast< int >(val2
);
7683 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7684 (arg1
)->SetAffirmativeId(arg2
);
7685 wxPyEndAllowThreads(__tstate
);
7686 if (PyErr_Occurred()) SWIG_fail
;
7688 resultobj
= SWIG_Py_Void();
7695 SWIGINTERN PyObject
*_wrap_Dialog_GetAffirmativeId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7696 PyObject
*resultobj
= 0;
7697 wxDialog
*arg1
= (wxDialog
*) 0 ;
7701 PyObject
*swig_obj
[1] ;
7703 if (!args
) SWIG_fail
;
7705 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDialog
, 0 | 0 );
7706 if (!SWIG_IsOK(res1
)) {
7707 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Dialog_GetAffirmativeId" "', expected argument " "1"" of type '" "wxDialog const *""'");
7709 arg1
= reinterpret_cast< wxDialog
* >(argp1
);
7711 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7712 result
= (int)((wxDialog
const *)arg1
)->GetAffirmativeId();
7713 wxPyEndAllowThreads(__tstate
);
7714 if (PyErr_Occurred()) SWIG_fail
;
7716 resultobj
= SWIG_From_int(static_cast< int >(result
));
7723 SWIGINTERN PyObject
*_wrap_Dialog_SetEscapeId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7724 PyObject
*resultobj
= 0;
7725 wxDialog
*arg1
= (wxDialog
*) 0 ;
7731 PyObject
* obj0
= 0 ;
7732 PyObject
* obj1
= 0 ;
7733 char * kwnames
[] = {
7734 (char *) "self",(char *) "escapeId", NULL
7737 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Dialog_SetEscapeId",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7738 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDialog
, 0 | 0 );
7739 if (!SWIG_IsOK(res1
)) {
7740 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Dialog_SetEscapeId" "', expected argument " "1"" of type '" "wxDialog *""'");
7742 arg1
= reinterpret_cast< wxDialog
* >(argp1
);
7743 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
7744 if (!SWIG_IsOK(ecode2
)) {
7745 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Dialog_SetEscapeId" "', expected argument " "2"" of type '" "int""'");
7747 arg2
= static_cast< int >(val2
);
7749 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7750 (arg1
)->SetEscapeId(arg2
);
7751 wxPyEndAllowThreads(__tstate
);
7752 if (PyErr_Occurred()) SWIG_fail
;
7754 resultobj
= SWIG_Py_Void();
7761 SWIGINTERN PyObject
*_wrap_Dialog_GetEscapeId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7762 PyObject
*resultobj
= 0;
7763 wxDialog
*arg1
= (wxDialog
*) 0 ;
7767 PyObject
*swig_obj
[1] ;
7769 if (!args
) SWIG_fail
;
7771 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDialog
, 0 | 0 );
7772 if (!SWIG_IsOK(res1
)) {
7773 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Dialog_GetEscapeId" "', expected argument " "1"" of type '" "wxDialog const *""'");
7775 arg1
= reinterpret_cast< wxDialog
* >(argp1
);
7777 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7778 result
= (int)((wxDialog
const *)arg1
)->GetEscapeId();
7779 wxPyEndAllowThreads(__tstate
);
7780 if (PyErr_Occurred()) SWIG_fail
;
7782 resultobj
= SWIG_From_int(static_cast< int >(result
));
7789 SWIGINTERN PyObject
*_wrap_Dialog_CreateTextSizer(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7790 PyObject
*resultobj
= 0;
7791 wxDialog
*arg1
= (wxDialog
*) 0 ;
7792 wxString
*arg2
= 0 ;
7793 wxSizer
*result
= 0 ;
7796 bool temp2
= false ;
7797 PyObject
* obj0
= 0 ;
7798 PyObject
* obj1
= 0 ;
7799 char * kwnames
[] = {
7800 (char *) "self",(char *) "message", NULL
7803 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Dialog_CreateTextSizer",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7804 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDialog
, 0 | 0 );
7805 if (!SWIG_IsOK(res1
)) {
7806 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Dialog_CreateTextSizer" "', expected argument " "1"" of type '" "wxDialog *""'");
7808 arg1
= reinterpret_cast< wxDialog
* >(argp1
);
7810 arg2
= wxString_in_helper(obj1
);
7811 if (arg2
== NULL
) SWIG_fail
;
7815 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7816 result
= (wxSizer
*)(arg1
)->CreateTextSizer((wxString
const &)*arg2
);
7817 wxPyEndAllowThreads(__tstate
);
7818 if (PyErr_Occurred()) SWIG_fail
;
7821 resultobj
= wxPyMake_wxObject(result
, (bool)0);
7837 SWIGINTERN PyObject
*_wrap_Dialog_CreateButtonSizer(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7838 PyObject
*resultobj
= 0;
7839 wxDialog
*arg1
= (wxDialog
*) 0 ;
7841 bool arg3
= (bool) false ;
7842 int arg4
= (int) 0 ;
7843 wxSizer
*result
= 0 ;
7852 PyObject
* obj0
= 0 ;
7853 PyObject
* obj1
= 0 ;
7854 PyObject
* obj2
= 0 ;
7855 PyObject
* obj3
= 0 ;
7856 char * kwnames
[] = {
7857 (char *) "self",(char *) "flags",(char *) "separated",(char *) "distance", NULL
7860 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:Dialog_CreateButtonSizer",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
7861 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDialog
, 0 | 0 );
7862 if (!SWIG_IsOK(res1
)) {
7863 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Dialog_CreateButtonSizer" "', expected argument " "1"" of type '" "wxDialog *""'");
7865 arg1
= reinterpret_cast< wxDialog
* >(argp1
);
7866 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
7867 if (!SWIG_IsOK(ecode2
)) {
7868 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Dialog_CreateButtonSizer" "', expected argument " "2"" of type '" "long""'");
7870 arg2
= static_cast< long >(val2
);
7872 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
7873 if (!SWIG_IsOK(ecode3
)) {
7874 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Dialog_CreateButtonSizer" "', expected argument " "3"" of type '" "bool""'");
7876 arg3
= static_cast< bool >(val3
);
7879 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
7880 if (!SWIG_IsOK(ecode4
)) {
7881 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Dialog_CreateButtonSizer" "', expected argument " "4"" of type '" "int""'");
7883 arg4
= static_cast< int >(val4
);
7886 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7887 result
= (wxSizer
*)(arg1
)->CreateButtonSizer(arg2
,arg3
,arg4
);
7888 wxPyEndAllowThreads(__tstate
);
7889 if (PyErr_Occurred()) SWIG_fail
;
7892 resultobj
= wxPyMake_wxObject(result
, (bool)0);
7900 SWIGINTERN PyObject
*_wrap_Dialog_CreateStdDialogButtonSizer(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7901 PyObject
*resultobj
= 0;
7902 wxDialog
*arg1
= (wxDialog
*) 0 ;
7904 wxStdDialogButtonSizer
*result
= 0 ;
7909 PyObject
* obj0
= 0 ;
7910 PyObject
* obj1
= 0 ;
7911 char * kwnames
[] = {
7912 (char *) "self",(char *) "flags", NULL
7915 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Dialog_CreateStdDialogButtonSizer",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7916 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDialog
, 0 | 0 );
7917 if (!SWIG_IsOK(res1
)) {
7918 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Dialog_CreateStdDialogButtonSizer" "', expected argument " "1"" of type '" "wxDialog *""'");
7920 arg1
= reinterpret_cast< wxDialog
* >(argp1
);
7921 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
7922 if (!SWIG_IsOK(ecode2
)) {
7923 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Dialog_CreateStdDialogButtonSizer" "', expected argument " "2"" of type '" "long""'");
7925 arg2
= static_cast< long >(val2
);
7927 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7928 result
= (wxStdDialogButtonSizer
*)(arg1
)->CreateStdDialogButtonSizer(arg2
);
7929 wxPyEndAllowThreads(__tstate
);
7930 if (PyErr_Occurred()) SWIG_fail
;
7932 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxStdDialogButtonSizer
, 0 | 0 );
7939 SWIGINTERN PyObject
*_wrap_Dialog_IsModal(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7940 PyObject
*resultobj
= 0;
7941 wxDialog
*arg1
= (wxDialog
*) 0 ;
7945 PyObject
*swig_obj
[1] ;
7947 if (!args
) SWIG_fail
;
7949 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDialog
, 0 | 0 );
7950 if (!SWIG_IsOK(res1
)) {
7951 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Dialog_IsModal" "', expected argument " "1"" of type '" "wxDialog const *""'");
7953 arg1
= reinterpret_cast< wxDialog
* >(argp1
);
7955 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7956 result
= (bool)((wxDialog
const *)arg1
)->IsModal();
7957 wxPyEndAllowThreads(__tstate
);
7958 if (PyErr_Occurred()) SWIG_fail
;
7961 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7969 SWIGINTERN PyObject
*_wrap_Dialog_ShowModal(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7970 PyObject
*resultobj
= 0;
7971 wxDialog
*arg1
= (wxDialog
*) 0 ;
7975 PyObject
*swig_obj
[1] ;
7977 if (!args
) SWIG_fail
;
7979 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDialog
, 0 | 0 );
7980 if (!SWIG_IsOK(res1
)) {
7981 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Dialog_ShowModal" "', expected argument " "1"" of type '" "wxDialog *""'");
7983 arg1
= reinterpret_cast< wxDialog
* >(argp1
);
7985 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7986 result
= (int)(arg1
)->ShowModal();
7987 wxPyEndAllowThreads(__tstate
);
7988 if (PyErr_Occurred()) SWIG_fail
;
7990 resultobj
= SWIG_From_int(static_cast< int >(result
));
7997 SWIGINTERN PyObject
*_wrap_Dialog_EndModal(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7998 PyObject
*resultobj
= 0;
7999 wxDialog
*arg1
= (wxDialog
*) 0 ;
8005 PyObject
* obj0
= 0 ;
8006 PyObject
* obj1
= 0 ;
8007 char * kwnames
[] = {
8008 (char *) "self",(char *) "retCode", NULL
8011 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Dialog_EndModal",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
8012 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDialog
, 0 | 0 );
8013 if (!SWIG_IsOK(res1
)) {
8014 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Dialog_EndModal" "', expected argument " "1"" of type '" "wxDialog *""'");
8016 arg1
= reinterpret_cast< wxDialog
* >(argp1
);
8017 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
8018 if (!SWIG_IsOK(ecode2
)) {
8019 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Dialog_EndModal" "', expected argument " "2"" of type '" "int""'");
8021 arg2
= static_cast< int >(val2
);
8023 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8024 (arg1
)->EndModal(arg2
);
8025 wxPyEndAllowThreads(__tstate
);
8026 if (PyErr_Occurred()) SWIG_fail
;
8028 resultobj
= SWIG_Py_Void();
8035 SWIGINTERN PyObject
*_wrap_Dialog_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8036 PyObject
*resultobj
= 0;
8037 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
8038 SwigValueWrapper
<wxVisualAttributes
> result
;
8041 PyObject
* obj0
= 0 ;
8042 char * kwnames
[] = {
8043 (char *) "variant", NULL
8046 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Dialog_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
8048 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
8049 if (!SWIG_IsOK(ecode1
)) {
8050 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "Dialog_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
8052 arg1
= static_cast< wxWindowVariant
>(val1
);
8055 if (!wxPyCheckForApp()) SWIG_fail
;
8056 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8057 result
= wxDialog::GetClassDefaultAttributes(arg1
);
8058 wxPyEndAllowThreads(__tstate
);
8059 if (PyErr_Occurred()) SWIG_fail
;
8061 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
8068 SWIGINTERN PyObject
*Dialog_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8070 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
8071 SWIG_TypeNewClientData(SWIGTYPE_p_wxDialog
, SWIG_NewClientData(obj
));
8072 return SWIG_Py_Void();
8075 SWIGINTERN PyObject
*Dialog_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8076 return SWIG_Python_InitShadowInstance(args
);
8079 SWIGINTERN PyObject
*_wrap_new_MiniFrame(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8080 PyObject
*resultobj
= 0;
8081 wxWindow
*arg1
= (wxWindow
*) 0 ;
8082 int arg2
= (int) (int)-1 ;
8083 wxString
const &arg3_defvalue
= wxPyEmptyString
;
8084 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
8085 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
8086 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
8087 wxSize
const &arg5_defvalue
= wxDefaultSize
;
8088 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
8089 long arg6
= (long) wxDEFAULT_FRAME_STYLE
;
8090 wxString
const &arg7_defvalue
= wxPyFrameNameStr
;
8091 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
8092 wxMiniFrame
*result
= 0 ;
8097 bool temp3
= false ;
8102 bool temp7
= false ;
8103 PyObject
* obj0
= 0 ;
8104 PyObject
* obj1
= 0 ;
8105 PyObject
* obj2
= 0 ;
8106 PyObject
* obj3
= 0 ;
8107 PyObject
* obj4
= 0 ;
8108 PyObject
* obj5
= 0 ;
8109 PyObject
* obj6
= 0 ;
8110 char * kwnames
[] = {
8111 (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
8114 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_MiniFrame",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
8115 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
8116 if (!SWIG_IsOK(res1
)) {
8117 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_MiniFrame" "', expected argument " "1"" of type '" "wxWindow *""'");
8119 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
8121 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
8122 if (!SWIG_IsOK(ecode2
)) {
8123 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_MiniFrame" "', expected argument " "2"" of type '" "int""'");
8125 arg2
= static_cast< int >(val2
);
8129 arg3
= wxString_in_helper(obj2
);
8130 if (arg3
== NULL
) SWIG_fail
;
8137 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
8143 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
8147 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
8148 if (!SWIG_IsOK(ecode6
)) {
8149 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_MiniFrame" "', expected argument " "6"" of type '" "long""'");
8151 arg6
= static_cast< long >(val6
);
8155 arg7
= wxString_in_helper(obj6
);
8156 if (arg7
== NULL
) SWIG_fail
;
8161 if (!wxPyCheckForApp()) SWIG_fail
;
8162 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8163 result
= (wxMiniFrame
*)new wxMiniFrame(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
8164 wxPyEndAllowThreads(__tstate
);
8165 if (PyErr_Occurred()) SWIG_fail
;
8167 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMiniFrame
, SWIG_POINTER_NEW
| 0 );
8190 SWIGINTERN PyObject
*_wrap_new_PreMiniFrame(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8191 PyObject
*resultobj
= 0;
8192 wxMiniFrame
*result
= 0 ;
8194 if (!SWIG_Python_UnpackTuple(args
,"new_PreMiniFrame",0,0,0)) SWIG_fail
;
8196 if (!wxPyCheckForApp()) SWIG_fail
;
8197 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8198 result
= (wxMiniFrame
*)new wxMiniFrame();
8199 wxPyEndAllowThreads(__tstate
);
8200 if (PyErr_Occurred()) SWIG_fail
;
8202 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMiniFrame
, SWIG_POINTER_OWN
| 0 );
8209 SWIGINTERN PyObject
*_wrap_MiniFrame_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8210 PyObject
*resultobj
= 0;
8211 wxMiniFrame
*arg1
= (wxMiniFrame
*) 0 ;
8212 wxWindow
*arg2
= (wxWindow
*) 0 ;
8213 int arg3
= (int) (int)-1 ;
8214 wxString
const &arg4_defvalue
= wxPyEmptyString
;
8215 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
8216 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
8217 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
8218 wxSize
const &arg6_defvalue
= wxDefaultSize
;
8219 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
8220 long arg7
= (long) wxDEFAULT_FRAME_STYLE
;
8221 wxString
const &arg8_defvalue
= wxPyFrameNameStr
;
8222 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
8230 bool temp4
= false ;
8235 bool temp8
= false ;
8236 PyObject
* obj0
= 0 ;
8237 PyObject
* obj1
= 0 ;
8238 PyObject
* obj2
= 0 ;
8239 PyObject
* obj3
= 0 ;
8240 PyObject
* obj4
= 0 ;
8241 PyObject
* obj5
= 0 ;
8242 PyObject
* obj6
= 0 ;
8243 PyObject
* obj7
= 0 ;
8244 char * kwnames
[] = {
8245 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
8248 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:MiniFrame_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
8249 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMiniFrame
, 0 | 0 );
8250 if (!SWIG_IsOK(res1
)) {
8251 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MiniFrame_Create" "', expected argument " "1"" of type '" "wxMiniFrame *""'");
8253 arg1
= reinterpret_cast< wxMiniFrame
* >(argp1
);
8254 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
8255 if (!SWIG_IsOK(res2
)) {
8256 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "MiniFrame_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
8258 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
8260 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
8261 if (!SWIG_IsOK(ecode3
)) {
8262 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "MiniFrame_Create" "', expected argument " "3"" of type '" "int""'");
8264 arg3
= static_cast< int >(val3
);
8268 arg4
= wxString_in_helper(obj3
);
8269 if (arg4
== NULL
) SWIG_fail
;
8276 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
8282 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
8286 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
8287 if (!SWIG_IsOK(ecode7
)) {
8288 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "MiniFrame_Create" "', expected argument " "7"" of type '" "long""'");
8290 arg7
= static_cast< long >(val7
);
8294 arg8
= wxString_in_helper(obj7
);
8295 if (arg8
== NULL
) SWIG_fail
;
8300 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8301 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxString
const &)*arg8
);
8302 wxPyEndAllowThreads(__tstate
);
8303 if (PyErr_Occurred()) SWIG_fail
;
8306 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8330 SWIGINTERN PyObject
*MiniFrame_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8332 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
8333 SWIG_TypeNewClientData(SWIGTYPE_p_wxMiniFrame
, SWIG_NewClientData(obj
));
8334 return SWIG_Py_Void();
8337 SWIGINTERN PyObject
*MiniFrame_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8338 return SWIG_Python_InitShadowInstance(args
);
8341 SWIGINTERN PyObject
*_wrap_new_SplashScreenWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8342 PyObject
*resultobj
= 0;
8343 wxBitmap
*arg1
= 0 ;
8344 wxWindow
*arg2
= (wxWindow
*) 0 ;
8346 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
8347 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
8348 wxSize
const &arg5_defvalue
= wxDefaultSize
;
8349 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
8350 long arg6
= (long) wxNO_BORDER
;
8351 wxSplashScreenWindow
*result
= 0 ;
8362 PyObject
* obj0
= 0 ;
8363 PyObject
* obj1
= 0 ;
8364 PyObject
* obj2
= 0 ;
8365 PyObject
* obj3
= 0 ;
8366 PyObject
* obj4
= 0 ;
8367 PyObject
* obj5
= 0 ;
8368 char * kwnames
[] = {
8369 (char *) "bitmap",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
8372 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOO:new_SplashScreenWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
8373 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxBitmap
, 0 | 0);
8374 if (!SWIG_IsOK(res1
)) {
8375 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_SplashScreenWindow" "', expected argument " "1"" of type '" "wxBitmap const &""'");
8378 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_SplashScreenWindow" "', expected argument " "1"" of type '" "wxBitmap const &""'");
8380 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
8381 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
8382 if (!SWIG_IsOK(res2
)) {
8383 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_SplashScreenWindow" "', expected argument " "2"" of type '" "wxWindow *""'");
8385 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
8386 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
8387 if (!SWIG_IsOK(ecode3
)) {
8388 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_SplashScreenWindow" "', expected argument " "3"" of type '" "int""'");
8390 arg3
= static_cast< int >(val3
);
8394 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
8400 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
8404 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
8405 if (!SWIG_IsOK(ecode6
)) {
8406 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_SplashScreenWindow" "', expected argument " "6"" of type '" "long""'");
8408 arg6
= static_cast< long >(val6
);
8411 if (!wxPyCheckForApp()) SWIG_fail
;
8412 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8413 result
= (wxSplashScreenWindow
*)new wxSplashScreenWindow((wxBitmap
const &)*arg1
,arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
);
8414 wxPyEndAllowThreads(__tstate
);
8415 if (PyErr_Occurred()) SWIG_fail
;
8417 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSplashScreenWindow
, SWIG_POINTER_NEW
| 0 );
8424 SWIGINTERN PyObject
*_wrap_SplashScreenWindow_SetBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8425 PyObject
*resultobj
= 0;
8426 wxSplashScreenWindow
*arg1
= (wxSplashScreenWindow
*) 0 ;
8427 wxBitmap
*arg2
= 0 ;
8432 PyObject
* obj0
= 0 ;
8433 PyObject
* obj1
= 0 ;
8434 char * kwnames
[] = {
8435 (char *) "self",(char *) "bitmap", NULL
8438 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SplashScreenWindow_SetBitmap",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
8439 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSplashScreenWindow
, 0 | 0 );
8440 if (!SWIG_IsOK(res1
)) {
8441 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplashScreenWindow_SetBitmap" "', expected argument " "1"" of type '" "wxSplashScreenWindow *""'");
8443 arg1
= reinterpret_cast< wxSplashScreenWindow
* >(argp1
);
8444 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
8445 if (!SWIG_IsOK(res2
)) {
8446 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "SplashScreenWindow_SetBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
8449 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "SplashScreenWindow_SetBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
8451 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
8453 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8454 (arg1
)->SetBitmap((wxBitmap
const &)*arg2
);
8455 wxPyEndAllowThreads(__tstate
);
8456 if (PyErr_Occurred()) SWIG_fail
;
8458 resultobj
= SWIG_Py_Void();
8465 SWIGINTERN PyObject
*_wrap_SplashScreenWindow_GetBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8466 PyObject
*resultobj
= 0;
8467 wxSplashScreenWindow
*arg1
= (wxSplashScreenWindow
*) 0 ;
8468 wxBitmap
*result
= 0 ;
8471 PyObject
*swig_obj
[1] ;
8473 if (!args
) SWIG_fail
;
8475 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSplashScreenWindow
, 0 | 0 );
8476 if (!SWIG_IsOK(res1
)) {
8477 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplashScreenWindow_GetBitmap" "', expected argument " "1"" of type '" "wxSplashScreenWindow *""'");
8479 arg1
= reinterpret_cast< wxSplashScreenWindow
* >(argp1
);
8481 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8483 wxBitmap
&_result_ref
= (arg1
)->GetBitmap();
8484 result
= (wxBitmap
*) &_result_ref
;
8486 wxPyEndAllowThreads(__tstate
);
8487 if (PyErr_Occurred()) SWIG_fail
;
8490 wxBitmap
* resultptr
= new wxBitmap(*result
);
8491 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxBitmap
, 1);
8499 SWIGINTERN PyObject
*SplashScreenWindow_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8501 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
8502 SWIG_TypeNewClientData(SWIGTYPE_p_wxSplashScreenWindow
, SWIG_NewClientData(obj
));
8503 return SWIG_Py_Void();
8506 SWIGINTERN PyObject
*SplashScreenWindow_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8507 return SWIG_Python_InitShadowInstance(args
);
8510 SWIGINTERN PyObject
*_wrap_new_SplashScreen(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8511 PyObject
*resultobj
= 0;
8512 wxBitmap
*arg1
= 0 ;
8515 wxWindow
*arg4
= (wxWindow
*) 0 ;
8516 int arg5
= (int) -1 ;
8517 wxPoint
const &arg6_defvalue
= wxDefaultPosition
;
8518 wxPoint
*arg6
= (wxPoint
*) &arg6_defvalue
;
8519 wxSize
const &arg7_defvalue
= wxDefaultSize
;
8520 wxSize
*arg7
= (wxSize
*) &arg7_defvalue
;
8521 long arg8
= (long) wxSIMPLE_BORDER
|wxFRAME_NO_TASKBAR
|wxSTAY_ON_TOP
;
8522 wxSplashScreen
*result
= 0 ;
8537 PyObject
* obj0
= 0 ;
8538 PyObject
* obj1
= 0 ;
8539 PyObject
* obj2
= 0 ;
8540 PyObject
* obj3
= 0 ;
8541 PyObject
* obj4
= 0 ;
8542 PyObject
* obj5
= 0 ;
8543 PyObject
* obj6
= 0 ;
8544 PyObject
* obj7
= 0 ;
8545 char * kwnames
[] = {
8546 (char *) "bitmap",(char *) "splashStyle",(char *) "milliseconds",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
8549 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOOO:new_SplashScreen",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
8550 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxBitmap
, 0 | 0);
8551 if (!SWIG_IsOK(res1
)) {
8552 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_SplashScreen" "', expected argument " "1"" of type '" "wxBitmap const &""'");
8555 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_SplashScreen" "', expected argument " "1"" of type '" "wxBitmap const &""'");
8557 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
8558 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
8559 if (!SWIG_IsOK(ecode2
)) {
8560 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_SplashScreen" "', expected argument " "2"" of type '" "long""'");
8562 arg2
= static_cast< long >(val2
);
8563 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
8564 if (!SWIG_IsOK(ecode3
)) {
8565 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_SplashScreen" "', expected argument " "3"" of type '" "int""'");
8567 arg3
= static_cast< int >(val3
);
8568 res4
= SWIG_ConvertPtr(obj3
, &argp4
,SWIGTYPE_p_wxWindow
, 0 | 0 );
8569 if (!SWIG_IsOK(res4
)) {
8570 SWIG_exception_fail(SWIG_ArgError(res4
), "in method '" "new_SplashScreen" "', expected argument " "4"" of type '" "wxWindow *""'");
8572 arg4
= reinterpret_cast< wxWindow
* >(argp4
);
8574 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
8575 if (!SWIG_IsOK(ecode5
)) {
8576 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_SplashScreen" "', expected argument " "5"" of type '" "int""'");
8578 arg5
= static_cast< int >(val5
);
8583 if ( ! wxPoint_helper(obj5
, &arg6
)) SWIG_fail
;
8589 if ( ! wxSize_helper(obj6
, &arg7
)) SWIG_fail
;
8593 ecode8
= SWIG_AsVal_long(obj7
, &val8
);
8594 if (!SWIG_IsOK(ecode8
)) {
8595 SWIG_exception_fail(SWIG_ArgError(ecode8
), "in method '" "new_SplashScreen" "', expected argument " "8"" of type '" "long""'");
8597 arg8
= static_cast< long >(val8
);
8600 if (!wxPyCheckForApp()) SWIG_fail
;
8601 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8602 result
= (wxSplashScreen
*)new wxSplashScreen((wxBitmap
const &)*arg1
,arg2
,arg3
,arg4
,arg5
,(wxPoint
const &)*arg6
,(wxSize
const &)*arg7
,arg8
);
8603 wxPyEndAllowThreads(__tstate
);
8604 if (PyErr_Occurred()) SWIG_fail
;
8606 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSplashScreen
, SWIG_POINTER_NEW
| 0 );
8613 SWIGINTERN PyObject
*_wrap_SplashScreen_GetSplashStyle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8614 PyObject
*resultobj
= 0;
8615 wxSplashScreen
*arg1
= (wxSplashScreen
*) 0 ;
8619 PyObject
*swig_obj
[1] ;
8621 if (!args
) SWIG_fail
;
8623 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSplashScreen
, 0 | 0 );
8624 if (!SWIG_IsOK(res1
)) {
8625 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplashScreen_GetSplashStyle" "', expected argument " "1"" of type '" "wxSplashScreen const *""'");
8627 arg1
= reinterpret_cast< wxSplashScreen
* >(argp1
);
8629 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8630 result
= (long)((wxSplashScreen
const *)arg1
)->GetSplashStyle();
8631 wxPyEndAllowThreads(__tstate
);
8632 if (PyErr_Occurred()) SWIG_fail
;
8634 resultobj
= SWIG_From_long(static_cast< long >(result
));
8641 SWIGINTERN PyObject
*_wrap_SplashScreen_GetSplashWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8642 PyObject
*resultobj
= 0;
8643 wxSplashScreen
*arg1
= (wxSplashScreen
*) 0 ;
8644 wxSplashScreenWindow
*result
= 0 ;
8647 PyObject
*swig_obj
[1] ;
8649 if (!args
) SWIG_fail
;
8651 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSplashScreen
, 0 | 0 );
8652 if (!SWIG_IsOK(res1
)) {
8653 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplashScreen_GetSplashWindow" "', expected argument " "1"" of type '" "wxSplashScreen const *""'");
8655 arg1
= reinterpret_cast< wxSplashScreen
* >(argp1
);
8657 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8658 result
= (wxSplashScreenWindow
*)((wxSplashScreen
const *)arg1
)->GetSplashWindow();
8659 wxPyEndAllowThreads(__tstate
);
8660 if (PyErr_Occurred()) SWIG_fail
;
8662 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSplashScreenWindow
, 0 | 0 );
8669 SWIGINTERN PyObject
*_wrap_SplashScreen_GetTimeout(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8670 PyObject
*resultobj
= 0;
8671 wxSplashScreen
*arg1
= (wxSplashScreen
*) 0 ;
8675 PyObject
*swig_obj
[1] ;
8677 if (!args
) SWIG_fail
;
8679 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSplashScreen
, 0 | 0 );
8680 if (!SWIG_IsOK(res1
)) {
8681 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplashScreen_GetTimeout" "', expected argument " "1"" of type '" "wxSplashScreen const *""'");
8683 arg1
= reinterpret_cast< wxSplashScreen
* >(argp1
);
8685 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8686 result
= (int)((wxSplashScreen
const *)arg1
)->GetTimeout();
8687 wxPyEndAllowThreads(__tstate
);
8688 if (PyErr_Occurred()) SWIG_fail
;
8690 resultobj
= SWIG_From_int(static_cast< int >(result
));
8697 SWIGINTERN PyObject
*SplashScreen_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8699 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
8700 SWIG_TypeNewClientData(SWIGTYPE_p_wxSplashScreen
, SWIG_NewClientData(obj
));
8701 return SWIG_Py_Void();
8704 SWIGINTERN PyObject
*SplashScreen_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8705 return SWIG_Python_InitShadowInstance(args
);
8708 SWIGINTERN PyObject
*_wrap_new_StatusBar(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8709 PyObject
*resultobj
= 0;
8710 wxWindow
*arg1
= (wxWindow
*) 0 ;
8711 int arg2
= (int) -1 ;
8712 long arg3
= (long) wxDEFAULT_STATUSBAR_STYLE
;
8713 wxString
const &arg4_defvalue
= wxPyStatusLineNameStr
;
8714 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
8715 wxStatusBar
*result
= 0 ;
8722 bool temp4
= false ;
8723 PyObject
* obj0
= 0 ;
8724 PyObject
* obj1
= 0 ;
8725 PyObject
* obj2
= 0 ;
8726 PyObject
* obj3
= 0 ;
8727 char * kwnames
[] = {
8728 (char *) "parent",(char *) "id",(char *) "style",(char *) "name", NULL
8731 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOO:new_StatusBar",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
8732 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
8733 if (!SWIG_IsOK(res1
)) {
8734 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_StatusBar" "', expected argument " "1"" of type '" "wxWindow *""'");
8736 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
8738 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
8739 if (!SWIG_IsOK(ecode2
)) {
8740 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_StatusBar" "', expected argument " "2"" of type '" "int""'");
8742 arg2
= static_cast< int >(val2
);
8745 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
8746 if (!SWIG_IsOK(ecode3
)) {
8747 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_StatusBar" "', expected argument " "3"" of type '" "long""'");
8749 arg3
= static_cast< long >(val3
);
8753 arg4
= wxString_in_helper(obj3
);
8754 if (arg4
== NULL
) SWIG_fail
;
8759 if (!wxPyCheckForApp()) SWIG_fail
;
8760 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8761 result
= (wxStatusBar
*)new wxStatusBar(arg1
,arg2
,arg3
,(wxString
const &)*arg4
);
8762 wxPyEndAllowThreads(__tstate
);
8763 if (PyErr_Occurred()) SWIG_fail
;
8765 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxStatusBar
, SWIG_POINTER_NEW
| 0 );
8780 SWIGINTERN PyObject
*_wrap_new_PreStatusBar(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8781 PyObject
*resultobj
= 0;
8782 wxStatusBar
*result
= 0 ;
8784 if (!SWIG_Python_UnpackTuple(args
,"new_PreStatusBar",0,0,0)) SWIG_fail
;
8786 if (!wxPyCheckForApp()) SWIG_fail
;
8787 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8788 result
= (wxStatusBar
*)new wxStatusBar();
8789 wxPyEndAllowThreads(__tstate
);
8790 if (PyErr_Occurred()) SWIG_fail
;
8792 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxStatusBar
, SWIG_POINTER_OWN
| 0 );
8799 SWIGINTERN PyObject
*_wrap_StatusBar_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8800 PyObject
*resultobj
= 0;
8801 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
8802 wxWindow
*arg2
= (wxWindow
*) 0 ;
8803 int arg3
= (int) -1 ;
8804 long arg4
= (long) wxST_SIZEGRIP
;
8805 wxString
const &arg5_defvalue
= wxPyStatusLineNameStr
;
8806 wxString
*arg5
= (wxString
*) &arg5_defvalue
;
8816 bool temp5
= false ;
8817 PyObject
* obj0
= 0 ;
8818 PyObject
* obj1
= 0 ;
8819 PyObject
* obj2
= 0 ;
8820 PyObject
* obj3
= 0 ;
8821 PyObject
* obj4
= 0 ;
8822 char * kwnames
[] = {
8823 (char *) "self",(char *) "parent",(char *) "id",(char *) "style",(char *) "name", NULL
8826 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOO:StatusBar_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
8827 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxStatusBar
, 0 | 0 );
8828 if (!SWIG_IsOK(res1
)) {
8829 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StatusBar_Create" "', expected argument " "1"" of type '" "wxStatusBar *""'");
8831 arg1
= reinterpret_cast< wxStatusBar
* >(argp1
);
8832 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
8833 if (!SWIG_IsOK(res2
)) {
8834 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "StatusBar_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
8836 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
8838 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
8839 if (!SWIG_IsOK(ecode3
)) {
8840 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "StatusBar_Create" "', expected argument " "3"" of type '" "int""'");
8842 arg3
= static_cast< int >(val3
);
8845 ecode4
= SWIG_AsVal_long(obj3
, &val4
);
8846 if (!SWIG_IsOK(ecode4
)) {
8847 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "StatusBar_Create" "', expected argument " "4"" of type '" "long""'");
8849 arg4
= static_cast< long >(val4
);
8853 arg5
= wxString_in_helper(obj4
);
8854 if (arg5
== NULL
) SWIG_fail
;
8859 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8860 result
= (bool)(arg1
)->Create(arg2
,arg3
,arg4
,(wxString
const &)*arg5
);
8861 wxPyEndAllowThreads(__tstate
);
8862 if (PyErr_Occurred()) SWIG_fail
;
8865 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8881 SWIGINTERN PyObject
*_wrap_StatusBar_SetFieldsCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8882 PyObject
*resultobj
= 0;
8883 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
8884 int arg2
= (int) 1 ;
8889 PyObject
* obj0
= 0 ;
8890 PyObject
* obj1
= 0 ;
8891 char * kwnames
[] = {
8892 (char *) "self",(char *) "number", NULL
8895 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:StatusBar_SetFieldsCount",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
8896 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxStatusBar
, 0 | 0 );
8897 if (!SWIG_IsOK(res1
)) {
8898 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StatusBar_SetFieldsCount" "', expected argument " "1"" of type '" "wxStatusBar *""'");
8900 arg1
= reinterpret_cast< wxStatusBar
* >(argp1
);
8902 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
8903 if (!SWIG_IsOK(ecode2
)) {
8904 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "StatusBar_SetFieldsCount" "', expected argument " "2"" of type '" "int""'");
8906 arg2
= static_cast< int >(val2
);
8909 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8910 (arg1
)->SetFieldsCount(arg2
);
8911 wxPyEndAllowThreads(__tstate
);
8912 if (PyErr_Occurred()) SWIG_fail
;
8914 resultobj
= SWIG_Py_Void();
8921 SWIGINTERN PyObject
*_wrap_StatusBar_GetFieldsCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8922 PyObject
*resultobj
= 0;
8923 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
8927 PyObject
*swig_obj
[1] ;
8929 if (!args
) SWIG_fail
;
8931 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxStatusBar
, 0 | 0 );
8932 if (!SWIG_IsOK(res1
)) {
8933 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StatusBar_GetFieldsCount" "', expected argument " "1"" of type '" "wxStatusBar const *""'");
8935 arg1
= reinterpret_cast< wxStatusBar
* >(argp1
);
8937 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8938 result
= (int)((wxStatusBar
const *)arg1
)->GetFieldsCount();
8939 wxPyEndAllowThreads(__tstate
);
8940 if (PyErr_Occurred()) SWIG_fail
;
8942 resultobj
= SWIG_From_int(static_cast< int >(result
));
8949 SWIGINTERN PyObject
*_wrap_StatusBar_SetStatusText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8950 PyObject
*resultobj
= 0;
8951 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
8952 wxString
*arg2
= 0 ;
8953 int arg3
= (int) 0 ;
8956 bool temp2
= false ;
8959 PyObject
* obj0
= 0 ;
8960 PyObject
* obj1
= 0 ;
8961 PyObject
* obj2
= 0 ;
8962 char * kwnames
[] = {
8963 (char *) "self",(char *) "text",(char *) "number", NULL
8966 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:StatusBar_SetStatusText",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
8967 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxStatusBar
, 0 | 0 );
8968 if (!SWIG_IsOK(res1
)) {
8969 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StatusBar_SetStatusText" "', expected argument " "1"" of type '" "wxStatusBar *""'");
8971 arg1
= reinterpret_cast< wxStatusBar
* >(argp1
);
8973 arg2
= wxString_in_helper(obj1
);
8974 if (arg2
== NULL
) SWIG_fail
;
8978 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
8979 if (!SWIG_IsOK(ecode3
)) {
8980 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "StatusBar_SetStatusText" "', expected argument " "3"" of type '" "int""'");
8982 arg3
= static_cast< int >(val3
);
8985 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8986 (arg1
)->SetStatusText((wxString
const &)*arg2
,arg3
);
8987 wxPyEndAllowThreads(__tstate
);
8988 if (PyErr_Occurred()) SWIG_fail
;
8990 resultobj
= SWIG_Py_Void();
9005 SWIGINTERN PyObject
*_wrap_StatusBar_GetStatusText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9006 PyObject
*resultobj
= 0;
9007 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
9008 int arg2
= (int) 0 ;
9014 PyObject
* obj0
= 0 ;
9015 PyObject
* obj1
= 0 ;
9016 char * kwnames
[] = {
9017 (char *) "self",(char *) "number", NULL
9020 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:StatusBar_GetStatusText",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9021 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxStatusBar
, 0 | 0 );
9022 if (!SWIG_IsOK(res1
)) {
9023 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StatusBar_GetStatusText" "', expected argument " "1"" of type '" "wxStatusBar const *""'");
9025 arg1
= reinterpret_cast< wxStatusBar
* >(argp1
);
9027 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9028 if (!SWIG_IsOK(ecode2
)) {
9029 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "StatusBar_GetStatusText" "', expected argument " "2"" of type '" "int""'");
9031 arg2
= static_cast< int >(val2
);
9034 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9035 result
= ((wxStatusBar
const *)arg1
)->GetStatusText(arg2
);
9036 wxPyEndAllowThreads(__tstate
);
9037 if (PyErr_Occurred()) SWIG_fail
;
9041 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
9043 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
9052 SWIGINTERN PyObject
*_wrap_StatusBar_PushStatusText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9053 PyObject
*resultobj
= 0;
9054 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
9055 wxString
*arg2
= 0 ;
9056 int arg3
= (int) 0 ;
9059 bool temp2
= false ;
9062 PyObject
* obj0
= 0 ;
9063 PyObject
* obj1
= 0 ;
9064 PyObject
* obj2
= 0 ;
9065 char * kwnames
[] = {
9066 (char *) "self",(char *) "text",(char *) "number", NULL
9069 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:StatusBar_PushStatusText",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
9070 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxStatusBar
, 0 | 0 );
9071 if (!SWIG_IsOK(res1
)) {
9072 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StatusBar_PushStatusText" "', expected argument " "1"" of type '" "wxStatusBar *""'");
9074 arg1
= reinterpret_cast< wxStatusBar
* >(argp1
);
9076 arg2
= wxString_in_helper(obj1
);
9077 if (arg2
== NULL
) SWIG_fail
;
9081 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
9082 if (!SWIG_IsOK(ecode3
)) {
9083 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "StatusBar_PushStatusText" "', expected argument " "3"" of type '" "int""'");
9085 arg3
= static_cast< int >(val3
);
9088 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9089 (arg1
)->PushStatusText((wxString
const &)*arg2
,arg3
);
9090 wxPyEndAllowThreads(__tstate
);
9091 if (PyErr_Occurred()) SWIG_fail
;
9093 resultobj
= SWIG_Py_Void();
9108 SWIGINTERN PyObject
*_wrap_StatusBar_PopStatusText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9109 PyObject
*resultobj
= 0;
9110 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
9111 int arg2
= (int) 0 ;
9116 PyObject
* obj0
= 0 ;
9117 PyObject
* obj1
= 0 ;
9118 char * kwnames
[] = {
9119 (char *) "self",(char *) "number", NULL
9122 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:StatusBar_PopStatusText",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9123 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxStatusBar
, 0 | 0 );
9124 if (!SWIG_IsOK(res1
)) {
9125 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StatusBar_PopStatusText" "', expected argument " "1"" of type '" "wxStatusBar *""'");
9127 arg1
= reinterpret_cast< wxStatusBar
* >(argp1
);
9129 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9130 if (!SWIG_IsOK(ecode2
)) {
9131 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "StatusBar_PopStatusText" "', expected argument " "2"" of type '" "int""'");
9133 arg2
= static_cast< int >(val2
);
9136 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9137 (arg1
)->PopStatusText(arg2
);
9138 wxPyEndAllowThreads(__tstate
);
9139 if (PyErr_Occurred()) SWIG_fail
;
9141 resultobj
= SWIG_Py_Void();
9148 SWIGINTERN PyObject
*_wrap_StatusBar_SetStatusWidths(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9149 PyObject
*resultobj
= 0;
9150 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
9152 int *arg3
= (int *) 0 ;
9155 PyObject
* obj0
= 0 ;
9156 PyObject
* obj1
= 0 ;
9157 char * kwnames
[] = {
9158 (char *) "self",(char *) "widths", NULL
9161 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StatusBar_SetStatusWidths",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9162 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxStatusBar
, 0 | 0 );
9163 if (!SWIG_IsOK(res1
)) {
9164 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StatusBar_SetStatusWidths" "', expected argument " "1"" of type '" "wxStatusBar *""'");
9166 arg1
= reinterpret_cast< wxStatusBar
* >(argp1
);
9168 arg2
= PyList_Size(obj1
);
9169 arg3
= int_LIST_helper(obj1
);
9170 if (arg3
== NULL
) SWIG_fail
;
9173 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9174 (arg1
)->SetStatusWidths(arg2
,(int const *)arg3
);
9175 wxPyEndAllowThreads(__tstate
);
9176 if (PyErr_Occurred()) SWIG_fail
;
9178 resultobj
= SWIG_Py_Void();
9180 if (arg3
) delete [] arg3
;
9185 if (arg3
) delete [] arg3
;
9191 SWIGINTERN PyObject
*_wrap_StatusBar_SetStatusStyles(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9192 PyObject
*resultobj
= 0;
9193 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
9195 int *arg3
= (int *) 0 ;
9198 PyObject
* obj0
= 0 ;
9199 PyObject
* obj1
= 0 ;
9200 char * kwnames
[] = {
9201 (char *) "self",(char *) "styles", NULL
9204 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StatusBar_SetStatusStyles",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9205 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxStatusBar
, 0 | 0 );
9206 if (!SWIG_IsOK(res1
)) {
9207 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StatusBar_SetStatusStyles" "', expected argument " "1"" of type '" "wxStatusBar *""'");
9209 arg1
= reinterpret_cast< wxStatusBar
* >(argp1
);
9211 arg2
= PyList_Size(obj1
);
9212 arg3
= int_LIST_helper(obj1
);
9213 if (arg3
== NULL
) SWIG_fail
;
9216 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9217 (arg1
)->SetStatusStyles(arg2
,(int const *)arg3
);
9218 wxPyEndAllowThreads(__tstate
);
9219 if (PyErr_Occurred()) SWIG_fail
;
9221 resultobj
= SWIG_Py_Void();
9223 if (arg3
) delete [] arg3
;
9228 if (arg3
) delete [] arg3
;
9234 SWIGINTERN PyObject
*_wrap_StatusBar_GetFieldRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9235 PyObject
*resultobj
= 0;
9236 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
9243 PyObject
* obj0
= 0 ;
9244 PyObject
* obj1
= 0 ;
9245 char * kwnames
[] = {
9246 (char *) "self",(char *) "i", NULL
9249 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StatusBar_GetFieldRect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9250 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxStatusBar
, 0 | 0 );
9251 if (!SWIG_IsOK(res1
)) {
9252 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StatusBar_GetFieldRect" "', expected argument " "1"" of type '" "wxStatusBar *""'");
9254 arg1
= reinterpret_cast< wxStatusBar
* >(argp1
);
9255 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9256 if (!SWIG_IsOK(ecode2
)) {
9257 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "StatusBar_GetFieldRect" "', expected argument " "2"" of type '" "int""'");
9259 arg2
= static_cast< int >(val2
);
9261 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9262 result
= wxStatusBar_GetFieldRect(arg1
,arg2
);
9263 wxPyEndAllowThreads(__tstate
);
9264 if (PyErr_Occurred()) SWIG_fail
;
9266 resultobj
= SWIG_NewPointerObj((new wxRect(static_cast< const wxRect
& >(result
))), SWIGTYPE_p_wxRect
, SWIG_POINTER_OWN
| 0 );
9273 SWIGINTERN PyObject
*_wrap_StatusBar_SetMinHeight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9274 PyObject
*resultobj
= 0;
9275 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
9281 PyObject
* obj0
= 0 ;
9282 PyObject
* obj1
= 0 ;
9283 char * kwnames
[] = {
9284 (char *) "self",(char *) "height", NULL
9287 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StatusBar_SetMinHeight",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9288 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxStatusBar
, 0 | 0 );
9289 if (!SWIG_IsOK(res1
)) {
9290 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StatusBar_SetMinHeight" "', expected argument " "1"" of type '" "wxStatusBar *""'");
9292 arg1
= reinterpret_cast< wxStatusBar
* >(argp1
);
9293 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9294 if (!SWIG_IsOK(ecode2
)) {
9295 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "StatusBar_SetMinHeight" "', expected argument " "2"" of type '" "int""'");
9297 arg2
= static_cast< int >(val2
);
9299 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9300 (arg1
)->SetMinHeight(arg2
);
9301 wxPyEndAllowThreads(__tstate
);
9302 if (PyErr_Occurred()) SWIG_fail
;
9304 resultobj
= SWIG_Py_Void();
9311 SWIGINTERN PyObject
*_wrap_StatusBar_GetBorderX(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9312 PyObject
*resultobj
= 0;
9313 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
9317 PyObject
*swig_obj
[1] ;
9319 if (!args
) SWIG_fail
;
9321 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxStatusBar
, 0 | 0 );
9322 if (!SWIG_IsOK(res1
)) {
9323 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StatusBar_GetBorderX" "', expected argument " "1"" of type '" "wxStatusBar const *""'");
9325 arg1
= reinterpret_cast< wxStatusBar
* >(argp1
);
9327 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9328 result
= (int)((wxStatusBar
const *)arg1
)->GetBorderX();
9329 wxPyEndAllowThreads(__tstate
);
9330 if (PyErr_Occurred()) SWIG_fail
;
9332 resultobj
= SWIG_From_int(static_cast< int >(result
));
9339 SWIGINTERN PyObject
*_wrap_StatusBar_GetBorderY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9340 PyObject
*resultobj
= 0;
9341 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
9345 PyObject
*swig_obj
[1] ;
9347 if (!args
) SWIG_fail
;
9349 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxStatusBar
, 0 | 0 );
9350 if (!SWIG_IsOK(res1
)) {
9351 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StatusBar_GetBorderY" "', expected argument " "1"" of type '" "wxStatusBar const *""'");
9353 arg1
= reinterpret_cast< wxStatusBar
* >(argp1
);
9355 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9356 result
= (int)((wxStatusBar
const *)arg1
)->GetBorderY();
9357 wxPyEndAllowThreads(__tstate
);
9358 if (PyErr_Occurred()) SWIG_fail
;
9360 resultobj
= SWIG_From_int(static_cast< int >(result
));
9367 SWIGINTERN PyObject
*_wrap_StatusBar_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9368 PyObject
*resultobj
= 0;
9369 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
9370 SwigValueWrapper
<wxVisualAttributes
> result
;
9373 PyObject
* obj0
= 0 ;
9374 char * kwnames
[] = {
9375 (char *) "variant", NULL
9378 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:StatusBar_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
9380 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
9381 if (!SWIG_IsOK(ecode1
)) {
9382 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "StatusBar_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
9384 arg1
= static_cast< wxWindowVariant
>(val1
);
9387 if (!wxPyCheckForApp()) SWIG_fail
;
9388 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9389 result
= wxStatusBar::GetClassDefaultAttributes(arg1
);
9390 wxPyEndAllowThreads(__tstate
);
9391 if (PyErr_Occurred()) SWIG_fail
;
9393 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
9400 SWIGINTERN PyObject
*StatusBar_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9402 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
9403 SWIG_TypeNewClientData(SWIGTYPE_p_wxStatusBar
, SWIG_NewClientData(obj
));
9404 return SWIG_Py_Void();
9407 SWIGINTERN PyObject
*StatusBar_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9408 return SWIG_Python_InitShadowInstance(args
);
9411 SWIGINTERN
int SplitterNameStr_set(PyObject
*) {
9412 SWIG_Error(SWIG_AttributeError
,"Variable SplitterNameStr is read-only.");
9417 SWIGINTERN PyObject
*SplitterNameStr_get(void) {
9418 PyObject
*pyobj
= 0;
9422 pyobj
= PyUnicode_FromWideChar((&wxPySplitterNameStr
)->c_str(), (&wxPySplitterNameStr
)->Len());
9424 pyobj
= PyString_FromStringAndSize((&wxPySplitterNameStr
)->c_str(), (&wxPySplitterNameStr
)->Len());
9431 SWIGINTERN PyObject
*_wrap_new_SplitterWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9432 PyObject
*resultobj
= 0;
9433 wxWindow
*arg1
= (wxWindow
*) 0 ;
9434 int arg2
= (int) -1 ;
9435 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
9436 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
9437 wxSize
const &arg4_defvalue
= wxDefaultSize
;
9438 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
9439 long arg5
= (long) wxSP_3D
;
9440 wxString
const &arg6_defvalue
= wxPySplitterNameStr
;
9441 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
9442 wxSplitterWindow
*result
= 0 ;
9451 bool temp6
= false ;
9452 PyObject
* obj0
= 0 ;
9453 PyObject
* obj1
= 0 ;
9454 PyObject
* obj2
= 0 ;
9455 PyObject
* obj3
= 0 ;
9456 PyObject
* obj4
= 0 ;
9457 PyObject
* obj5
= 0 ;
9458 char * kwnames
[] = {
9459 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
9462 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_SplitterWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
9463 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
9464 if (!SWIG_IsOK(res1
)) {
9465 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_SplitterWindow" "', expected argument " "1"" of type '" "wxWindow *""'");
9467 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
9469 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9470 if (!SWIG_IsOK(ecode2
)) {
9471 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_SplitterWindow" "', expected argument " "2"" of type '" "int""'");
9473 arg2
= static_cast< int >(val2
);
9478 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
9484 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
9488 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
9489 if (!SWIG_IsOK(ecode5
)) {
9490 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_SplitterWindow" "', expected argument " "5"" of type '" "long""'");
9492 arg5
= static_cast< long >(val5
);
9496 arg6
= wxString_in_helper(obj5
);
9497 if (arg6
== NULL
) SWIG_fail
;
9502 if (!wxPyCheckForApp()) SWIG_fail
;
9503 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9504 result
= (wxSplitterWindow
*)new wxSplitterWindow(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
9505 wxPyEndAllowThreads(__tstate
);
9506 if (PyErr_Occurred()) SWIG_fail
;
9508 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSplitterWindow
, SWIG_POINTER_NEW
| 0 );
9523 SWIGINTERN PyObject
*_wrap_new_PreSplitterWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9524 PyObject
*resultobj
= 0;
9525 wxSplitterWindow
*result
= 0 ;
9527 if (!SWIG_Python_UnpackTuple(args
,"new_PreSplitterWindow",0,0,0)) SWIG_fail
;
9529 if (!wxPyCheckForApp()) SWIG_fail
;
9530 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9531 result
= (wxSplitterWindow
*)new wxSplitterWindow();
9532 wxPyEndAllowThreads(__tstate
);
9533 if (PyErr_Occurred()) SWIG_fail
;
9535 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSplitterWindow
, SWIG_POINTER_OWN
| 0 );
9542 SWIGINTERN PyObject
*_wrap_SplitterWindow_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9543 PyObject
*resultobj
= 0;
9544 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
9545 wxWindow
*arg2
= (wxWindow
*) 0 ;
9546 int arg3
= (int) -1 ;
9547 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
9548 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
9549 wxSize
const &arg5_defvalue
= wxDefaultSize
;
9550 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
9551 long arg6
= (long) wxSP_3D
;
9552 wxString
const &arg7_defvalue
= wxPySplitterNameStr
;
9553 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
9565 bool temp7
= false ;
9566 PyObject
* obj0
= 0 ;
9567 PyObject
* obj1
= 0 ;
9568 PyObject
* obj2
= 0 ;
9569 PyObject
* obj3
= 0 ;
9570 PyObject
* obj4
= 0 ;
9571 PyObject
* obj5
= 0 ;
9572 PyObject
* obj6
= 0 ;
9573 char * kwnames
[] = {
9574 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
9577 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:SplitterWindow_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
9578 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSplitterWindow
, 0 | 0 );
9579 if (!SWIG_IsOK(res1
)) {
9580 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterWindow_Create" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
9582 arg1
= reinterpret_cast< wxSplitterWindow
* >(argp1
);
9583 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
9584 if (!SWIG_IsOK(res2
)) {
9585 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "SplitterWindow_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
9587 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
9589 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
9590 if (!SWIG_IsOK(ecode3
)) {
9591 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "SplitterWindow_Create" "', expected argument " "3"" of type '" "int""'");
9593 arg3
= static_cast< int >(val3
);
9598 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
9604 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
9608 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
9609 if (!SWIG_IsOK(ecode6
)) {
9610 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "SplitterWindow_Create" "', expected argument " "6"" of type '" "long""'");
9612 arg6
= static_cast< long >(val6
);
9616 arg7
= wxString_in_helper(obj6
);
9617 if (arg7
== NULL
) SWIG_fail
;
9622 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9623 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
9624 wxPyEndAllowThreads(__tstate
);
9625 if (PyErr_Occurred()) SWIG_fail
;
9628 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9644 SWIGINTERN PyObject
*_wrap_SplitterWindow_GetWindow1(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9645 PyObject
*resultobj
= 0;
9646 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
9647 wxWindow
*result
= 0 ;
9650 PyObject
*swig_obj
[1] ;
9652 if (!args
) SWIG_fail
;
9654 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSplitterWindow
, 0 | 0 );
9655 if (!SWIG_IsOK(res1
)) {
9656 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterWindow_GetWindow1" "', expected argument " "1"" of type '" "wxSplitterWindow const *""'");
9658 arg1
= reinterpret_cast< wxSplitterWindow
* >(argp1
);
9660 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9661 result
= (wxWindow
*)((wxSplitterWindow
const *)arg1
)->GetWindow1();
9662 wxPyEndAllowThreads(__tstate
);
9663 if (PyErr_Occurred()) SWIG_fail
;
9666 resultobj
= wxPyMake_wxObject(result
, 0);
9674 SWIGINTERN PyObject
*_wrap_SplitterWindow_GetWindow2(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9675 PyObject
*resultobj
= 0;
9676 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
9677 wxWindow
*result
= 0 ;
9680 PyObject
*swig_obj
[1] ;
9682 if (!args
) SWIG_fail
;
9684 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSplitterWindow
, 0 | 0 );
9685 if (!SWIG_IsOK(res1
)) {
9686 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterWindow_GetWindow2" "', expected argument " "1"" of type '" "wxSplitterWindow const *""'");
9688 arg1
= reinterpret_cast< wxSplitterWindow
* >(argp1
);
9690 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9691 result
= (wxWindow
*)((wxSplitterWindow
const *)arg1
)->GetWindow2();
9692 wxPyEndAllowThreads(__tstate
);
9693 if (PyErr_Occurred()) SWIG_fail
;
9696 resultobj
= wxPyMake_wxObject(result
, 0);
9704 SWIGINTERN PyObject
*_wrap_SplitterWindow_SetSplitMode(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9705 PyObject
*resultobj
= 0;
9706 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
9712 PyObject
* obj0
= 0 ;
9713 PyObject
* obj1
= 0 ;
9714 char * kwnames
[] = {
9715 (char *) "self",(char *) "mode", NULL
9718 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SplitterWindow_SetSplitMode",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9719 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSplitterWindow
, 0 | 0 );
9720 if (!SWIG_IsOK(res1
)) {
9721 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterWindow_SetSplitMode" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
9723 arg1
= reinterpret_cast< wxSplitterWindow
* >(argp1
);
9724 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9725 if (!SWIG_IsOK(ecode2
)) {
9726 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SplitterWindow_SetSplitMode" "', expected argument " "2"" of type '" "int""'");
9728 arg2
= static_cast< int >(val2
);
9730 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9731 (arg1
)->SetSplitMode(arg2
);
9732 wxPyEndAllowThreads(__tstate
);
9733 if (PyErr_Occurred()) SWIG_fail
;
9735 resultobj
= SWIG_Py_Void();
9742 SWIGINTERN PyObject
*_wrap_SplitterWindow_GetSplitMode(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9743 PyObject
*resultobj
= 0;
9744 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
9748 PyObject
*swig_obj
[1] ;
9750 if (!args
) SWIG_fail
;
9752 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSplitterWindow
, 0 | 0 );
9753 if (!SWIG_IsOK(res1
)) {
9754 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterWindow_GetSplitMode" "', expected argument " "1"" of type '" "wxSplitterWindow const *""'");
9756 arg1
= reinterpret_cast< wxSplitterWindow
* >(argp1
);
9758 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9759 result
= (wxSplitMode
)((wxSplitterWindow
const *)arg1
)->GetSplitMode();
9760 wxPyEndAllowThreads(__tstate
);
9761 if (PyErr_Occurred()) SWIG_fail
;
9763 resultobj
= SWIG_From_int(static_cast< int >(result
));
9770 SWIGINTERN PyObject
*_wrap_SplitterWindow_Initialize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9771 PyObject
*resultobj
= 0;
9772 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
9773 wxWindow
*arg2
= (wxWindow
*) 0 ;
9778 PyObject
* obj0
= 0 ;
9779 PyObject
* obj1
= 0 ;
9780 char * kwnames
[] = {
9781 (char *) "self",(char *) "window", NULL
9784 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SplitterWindow_Initialize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9785 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSplitterWindow
, 0 | 0 );
9786 if (!SWIG_IsOK(res1
)) {
9787 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterWindow_Initialize" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
9789 arg1
= reinterpret_cast< wxSplitterWindow
* >(argp1
);
9790 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
9791 if (!SWIG_IsOK(res2
)) {
9792 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "SplitterWindow_Initialize" "', expected argument " "2"" of type '" "wxWindow *""'");
9794 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
9796 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9797 (arg1
)->Initialize(arg2
);
9798 wxPyEndAllowThreads(__tstate
);
9799 if (PyErr_Occurred()) SWIG_fail
;
9801 resultobj
= SWIG_Py_Void();
9808 SWIGINTERN PyObject
*_wrap_SplitterWindow_SplitVertically(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9809 PyObject
*resultobj
= 0;
9810 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
9811 wxWindow
*arg2
= (wxWindow
*) 0 ;
9812 wxWindow
*arg3
= (wxWindow
*) 0 ;
9813 int arg4
= (int) 0 ;
9823 PyObject
* obj0
= 0 ;
9824 PyObject
* obj1
= 0 ;
9825 PyObject
* obj2
= 0 ;
9826 PyObject
* obj3
= 0 ;
9827 char * kwnames
[] = {
9828 (char *) "self",(char *) "window1",(char *) "window2",(char *) "sashPosition", NULL
9831 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:SplitterWindow_SplitVertically",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
9832 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSplitterWindow
, 0 | 0 );
9833 if (!SWIG_IsOK(res1
)) {
9834 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterWindow_SplitVertically" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
9836 arg1
= reinterpret_cast< wxSplitterWindow
* >(argp1
);
9837 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
9838 if (!SWIG_IsOK(res2
)) {
9839 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "SplitterWindow_SplitVertically" "', expected argument " "2"" of type '" "wxWindow *""'");
9841 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
9842 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxWindow
, 0 | 0 );
9843 if (!SWIG_IsOK(res3
)) {
9844 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "SplitterWindow_SplitVertically" "', expected argument " "3"" of type '" "wxWindow *""'");
9846 arg3
= reinterpret_cast< wxWindow
* >(argp3
);
9848 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
9849 if (!SWIG_IsOK(ecode4
)) {
9850 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "SplitterWindow_SplitVertically" "', expected argument " "4"" of type '" "int""'");
9852 arg4
= static_cast< int >(val4
);
9855 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9856 result
= (bool)(arg1
)->SplitVertically(arg2
,arg3
,arg4
);
9857 wxPyEndAllowThreads(__tstate
);
9858 if (PyErr_Occurred()) SWIG_fail
;
9861 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9869 SWIGINTERN PyObject
*_wrap_SplitterWindow_SplitHorizontally(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9870 PyObject
*resultobj
= 0;
9871 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
9872 wxWindow
*arg2
= (wxWindow
*) 0 ;
9873 wxWindow
*arg3
= (wxWindow
*) 0 ;
9874 int arg4
= (int) 0 ;
9884 PyObject
* obj0
= 0 ;
9885 PyObject
* obj1
= 0 ;
9886 PyObject
* obj2
= 0 ;
9887 PyObject
* obj3
= 0 ;
9888 char * kwnames
[] = {
9889 (char *) "self",(char *) "window1",(char *) "window2",(char *) "sashPosition", NULL
9892 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:SplitterWindow_SplitHorizontally",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
9893 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSplitterWindow
, 0 | 0 );
9894 if (!SWIG_IsOK(res1
)) {
9895 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterWindow_SplitHorizontally" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
9897 arg1
= reinterpret_cast< wxSplitterWindow
* >(argp1
);
9898 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
9899 if (!SWIG_IsOK(res2
)) {
9900 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "SplitterWindow_SplitHorizontally" "', expected argument " "2"" of type '" "wxWindow *""'");
9902 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
9903 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxWindow
, 0 | 0 );
9904 if (!SWIG_IsOK(res3
)) {
9905 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "SplitterWindow_SplitHorizontally" "', expected argument " "3"" of type '" "wxWindow *""'");
9907 arg3
= reinterpret_cast< wxWindow
* >(argp3
);
9909 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
9910 if (!SWIG_IsOK(ecode4
)) {
9911 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "SplitterWindow_SplitHorizontally" "', expected argument " "4"" of type '" "int""'");
9913 arg4
= static_cast< int >(val4
);
9916 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9917 result
= (bool)(arg1
)->SplitHorizontally(arg2
,arg3
,arg4
);
9918 wxPyEndAllowThreads(__tstate
);
9919 if (PyErr_Occurred()) SWIG_fail
;
9922 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9930 SWIGINTERN PyObject
*_wrap_SplitterWindow_Unsplit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9931 PyObject
*resultobj
= 0;
9932 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
9933 wxWindow
*arg2
= (wxWindow
*) NULL
;
9939 PyObject
* obj0
= 0 ;
9940 PyObject
* obj1
= 0 ;
9941 char * kwnames
[] = {
9942 (char *) "self",(char *) "toRemove", NULL
9945 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:SplitterWindow_Unsplit",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9946 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSplitterWindow
, 0 | 0 );
9947 if (!SWIG_IsOK(res1
)) {
9948 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterWindow_Unsplit" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
9950 arg1
= reinterpret_cast< wxSplitterWindow
* >(argp1
);
9952 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
9953 if (!SWIG_IsOK(res2
)) {
9954 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "SplitterWindow_Unsplit" "', expected argument " "2"" of type '" "wxWindow *""'");
9956 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
9959 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9960 result
= (bool)(arg1
)->Unsplit(arg2
);
9961 wxPyEndAllowThreads(__tstate
);
9962 if (PyErr_Occurred()) SWIG_fail
;
9965 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9973 SWIGINTERN PyObject
*_wrap_SplitterWindow_ReplaceWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9974 PyObject
*resultobj
= 0;
9975 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
9976 wxWindow
*arg2
= (wxWindow
*) 0 ;
9977 wxWindow
*arg3
= (wxWindow
*) 0 ;
9985 PyObject
* obj0
= 0 ;
9986 PyObject
* obj1
= 0 ;
9987 PyObject
* obj2
= 0 ;
9988 char * kwnames
[] = {
9989 (char *) "self",(char *) "winOld",(char *) "winNew", NULL
9992 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:SplitterWindow_ReplaceWindow",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
9993 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSplitterWindow
, 0 | 0 );
9994 if (!SWIG_IsOK(res1
)) {
9995 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterWindow_ReplaceWindow" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
9997 arg1
= reinterpret_cast< wxSplitterWindow
* >(argp1
);
9998 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
9999 if (!SWIG_IsOK(res2
)) {
10000 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "SplitterWindow_ReplaceWindow" "', expected argument " "2"" of type '" "wxWindow *""'");
10002 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
10003 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxWindow
, 0 | 0 );
10004 if (!SWIG_IsOK(res3
)) {
10005 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "SplitterWindow_ReplaceWindow" "', expected argument " "3"" of type '" "wxWindow *""'");
10007 arg3
= reinterpret_cast< wxWindow
* >(argp3
);
10009 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10010 result
= (bool)(arg1
)->ReplaceWindow(arg2
,arg3
);
10011 wxPyEndAllowThreads(__tstate
);
10012 if (PyErr_Occurred()) SWIG_fail
;
10015 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10023 SWIGINTERN PyObject
*_wrap_SplitterWindow_UpdateSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10024 PyObject
*resultobj
= 0;
10025 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
10028 PyObject
*swig_obj
[1] ;
10030 if (!args
) SWIG_fail
;
10031 swig_obj
[0] = args
;
10032 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSplitterWindow
, 0 | 0 );
10033 if (!SWIG_IsOK(res1
)) {
10034 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterWindow_UpdateSize" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
10036 arg1
= reinterpret_cast< wxSplitterWindow
* >(argp1
);
10038 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10039 (arg1
)->UpdateSize();
10040 wxPyEndAllowThreads(__tstate
);
10041 if (PyErr_Occurred()) SWIG_fail
;
10043 resultobj
= SWIG_Py_Void();
10050 SWIGINTERN PyObject
*_wrap_SplitterWindow_IsSplit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10051 PyObject
*resultobj
= 0;
10052 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
10056 PyObject
*swig_obj
[1] ;
10058 if (!args
) SWIG_fail
;
10059 swig_obj
[0] = args
;
10060 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSplitterWindow
, 0 | 0 );
10061 if (!SWIG_IsOK(res1
)) {
10062 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterWindow_IsSplit" "', expected argument " "1"" of type '" "wxSplitterWindow const *""'");
10064 arg1
= reinterpret_cast< wxSplitterWindow
* >(argp1
);
10066 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10067 result
= (bool)((wxSplitterWindow
const *)arg1
)->IsSplit();
10068 wxPyEndAllowThreads(__tstate
);
10069 if (PyErr_Occurred()) SWIG_fail
;
10072 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10080 SWIGINTERN PyObject
*_wrap_SplitterWindow_SetSashSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10081 PyObject
*resultobj
= 0;
10082 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
10088 PyObject
* obj0
= 0 ;
10089 PyObject
* obj1
= 0 ;
10090 char * kwnames
[] = {
10091 (char *) "self",(char *) "width", NULL
10094 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SplitterWindow_SetSashSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10095 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSplitterWindow
, 0 | 0 );
10096 if (!SWIG_IsOK(res1
)) {
10097 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterWindow_SetSashSize" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
10099 arg1
= reinterpret_cast< wxSplitterWindow
* >(argp1
);
10100 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
10101 if (!SWIG_IsOK(ecode2
)) {
10102 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SplitterWindow_SetSashSize" "', expected argument " "2"" of type '" "int""'");
10104 arg2
= static_cast< int >(val2
);
10106 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10107 (arg1
)->SetSashSize(arg2
);
10108 wxPyEndAllowThreads(__tstate
);
10109 if (PyErr_Occurred()) SWIG_fail
;
10111 resultobj
= SWIG_Py_Void();
10118 SWIGINTERN PyObject
*_wrap_SplitterWindow_SetBorderSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10119 PyObject
*resultobj
= 0;
10120 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
10126 PyObject
* obj0
= 0 ;
10127 PyObject
* obj1
= 0 ;
10128 char * kwnames
[] = {
10129 (char *) "self",(char *) "width", NULL
10132 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SplitterWindow_SetBorderSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10133 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSplitterWindow
, 0 | 0 );
10134 if (!SWIG_IsOK(res1
)) {
10135 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterWindow_SetBorderSize" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
10137 arg1
= reinterpret_cast< wxSplitterWindow
* >(argp1
);
10138 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
10139 if (!SWIG_IsOK(ecode2
)) {
10140 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SplitterWindow_SetBorderSize" "', expected argument " "2"" of type '" "int""'");
10142 arg2
= static_cast< int >(val2
);
10144 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10145 (arg1
)->SetBorderSize(arg2
);
10146 wxPyEndAllowThreads(__tstate
);
10147 if (PyErr_Occurred()) SWIG_fail
;
10149 resultobj
= SWIG_Py_Void();
10156 SWIGINTERN PyObject
*_wrap_SplitterWindow_GetSashSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10157 PyObject
*resultobj
= 0;
10158 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
10162 PyObject
*swig_obj
[1] ;
10164 if (!args
) SWIG_fail
;
10165 swig_obj
[0] = args
;
10166 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSplitterWindow
, 0 | 0 );
10167 if (!SWIG_IsOK(res1
)) {
10168 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterWindow_GetSashSize" "', expected argument " "1"" of type '" "wxSplitterWindow const *""'");
10170 arg1
= reinterpret_cast< wxSplitterWindow
* >(argp1
);
10172 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10173 result
= (int)((wxSplitterWindow
const *)arg1
)->GetSashSize();
10174 wxPyEndAllowThreads(__tstate
);
10175 if (PyErr_Occurred()) SWIG_fail
;
10177 resultobj
= SWIG_From_int(static_cast< int >(result
));
10184 SWIGINTERN PyObject
*_wrap_SplitterWindow_GetBorderSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10185 PyObject
*resultobj
= 0;
10186 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
10190 PyObject
*swig_obj
[1] ;
10192 if (!args
) SWIG_fail
;
10193 swig_obj
[0] = args
;
10194 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSplitterWindow
, 0 | 0 );
10195 if (!SWIG_IsOK(res1
)) {
10196 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterWindow_GetBorderSize" "', expected argument " "1"" of type '" "wxSplitterWindow const *""'");
10198 arg1
= reinterpret_cast< wxSplitterWindow
* >(argp1
);
10200 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10201 result
= (int)((wxSplitterWindow
const *)arg1
)->GetBorderSize();
10202 wxPyEndAllowThreads(__tstate
);
10203 if (PyErr_Occurred()) SWIG_fail
;
10205 resultobj
= SWIG_From_int(static_cast< int >(result
));
10212 SWIGINTERN PyObject
*_wrap_SplitterWindow_SetSashPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10213 PyObject
*resultobj
= 0;
10214 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
10216 bool arg3
= (bool) true ;
10223 PyObject
* obj0
= 0 ;
10224 PyObject
* obj1
= 0 ;
10225 PyObject
* obj2
= 0 ;
10226 char * kwnames
[] = {
10227 (char *) "self",(char *) "position",(char *) "redraw", NULL
10230 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:SplitterWindow_SetSashPosition",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
10231 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSplitterWindow
, 0 | 0 );
10232 if (!SWIG_IsOK(res1
)) {
10233 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterWindow_SetSashPosition" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
10235 arg1
= reinterpret_cast< wxSplitterWindow
* >(argp1
);
10236 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
10237 if (!SWIG_IsOK(ecode2
)) {
10238 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SplitterWindow_SetSashPosition" "', expected argument " "2"" of type '" "int""'");
10240 arg2
= static_cast< int >(val2
);
10242 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
10243 if (!SWIG_IsOK(ecode3
)) {
10244 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "SplitterWindow_SetSashPosition" "', expected argument " "3"" of type '" "bool""'");
10246 arg3
= static_cast< bool >(val3
);
10249 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10250 (arg1
)->SetSashPosition(arg2
,arg3
);
10251 wxPyEndAllowThreads(__tstate
);
10252 if (PyErr_Occurred()) SWIG_fail
;
10254 resultobj
= SWIG_Py_Void();
10261 SWIGINTERN PyObject
*_wrap_SplitterWindow_GetSashPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10262 PyObject
*resultobj
= 0;
10263 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
10267 PyObject
*swig_obj
[1] ;
10269 if (!args
) SWIG_fail
;
10270 swig_obj
[0] = args
;
10271 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSplitterWindow
, 0 | 0 );
10272 if (!SWIG_IsOK(res1
)) {
10273 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterWindow_GetSashPosition" "', expected argument " "1"" of type '" "wxSplitterWindow const *""'");
10275 arg1
= reinterpret_cast< wxSplitterWindow
* >(argp1
);
10277 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10278 result
= (int)((wxSplitterWindow
const *)arg1
)->GetSashPosition();
10279 wxPyEndAllowThreads(__tstate
);
10280 if (PyErr_Occurred()) SWIG_fail
;
10282 resultobj
= SWIG_From_int(static_cast< int >(result
));
10289 SWIGINTERN PyObject
*_wrap_SplitterWindow_SetSashGravity(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10290 PyObject
*resultobj
= 0;
10291 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
10297 PyObject
* obj0
= 0 ;
10298 PyObject
* obj1
= 0 ;
10299 char * kwnames
[] = {
10300 (char *) "self",(char *) "gravity", NULL
10303 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SplitterWindow_SetSashGravity",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10304 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSplitterWindow
, 0 | 0 );
10305 if (!SWIG_IsOK(res1
)) {
10306 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterWindow_SetSashGravity" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
10308 arg1
= reinterpret_cast< wxSplitterWindow
* >(argp1
);
10309 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
10310 if (!SWIG_IsOK(ecode2
)) {
10311 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SplitterWindow_SetSashGravity" "', expected argument " "2"" of type '" "double""'");
10313 arg2
= static_cast< double >(val2
);
10315 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10316 (arg1
)->SetSashGravity(arg2
);
10317 wxPyEndAllowThreads(__tstate
);
10318 if (PyErr_Occurred()) SWIG_fail
;
10320 resultobj
= SWIG_Py_Void();
10327 SWIGINTERN PyObject
*_wrap_SplitterWindow_GetSashGravity(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10328 PyObject
*resultobj
= 0;
10329 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
10333 PyObject
*swig_obj
[1] ;
10335 if (!args
) SWIG_fail
;
10336 swig_obj
[0] = args
;
10337 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSplitterWindow
, 0 | 0 );
10338 if (!SWIG_IsOK(res1
)) {
10339 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterWindow_GetSashGravity" "', expected argument " "1"" of type '" "wxSplitterWindow const *""'");
10341 arg1
= reinterpret_cast< wxSplitterWindow
* >(argp1
);
10343 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10344 result
= (double)((wxSplitterWindow
const *)arg1
)->GetSashGravity();
10345 wxPyEndAllowThreads(__tstate
);
10346 if (PyErr_Occurred()) SWIG_fail
;
10348 resultobj
= SWIG_From_double(static_cast< double >(result
));
10355 SWIGINTERN PyObject
*_wrap_SplitterWindow_SetMinimumPaneSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10356 PyObject
*resultobj
= 0;
10357 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
10363 PyObject
* obj0
= 0 ;
10364 PyObject
* obj1
= 0 ;
10365 char * kwnames
[] = {
10366 (char *) "self",(char *) "min", NULL
10369 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SplitterWindow_SetMinimumPaneSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10370 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSplitterWindow
, 0 | 0 );
10371 if (!SWIG_IsOK(res1
)) {
10372 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterWindow_SetMinimumPaneSize" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
10374 arg1
= reinterpret_cast< wxSplitterWindow
* >(argp1
);
10375 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
10376 if (!SWIG_IsOK(ecode2
)) {
10377 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SplitterWindow_SetMinimumPaneSize" "', expected argument " "2"" of type '" "int""'");
10379 arg2
= static_cast< int >(val2
);
10381 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10382 (arg1
)->SetMinimumPaneSize(arg2
);
10383 wxPyEndAllowThreads(__tstate
);
10384 if (PyErr_Occurred()) SWIG_fail
;
10386 resultobj
= SWIG_Py_Void();
10393 SWIGINTERN PyObject
*_wrap_SplitterWindow_GetMinimumPaneSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10394 PyObject
*resultobj
= 0;
10395 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
10399 PyObject
*swig_obj
[1] ;
10401 if (!args
) SWIG_fail
;
10402 swig_obj
[0] = args
;
10403 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSplitterWindow
, 0 | 0 );
10404 if (!SWIG_IsOK(res1
)) {
10405 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterWindow_GetMinimumPaneSize" "', expected argument " "1"" of type '" "wxSplitterWindow const *""'");
10407 arg1
= reinterpret_cast< wxSplitterWindow
* >(argp1
);
10409 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10410 result
= (int)((wxSplitterWindow
const *)arg1
)->GetMinimumPaneSize();
10411 wxPyEndAllowThreads(__tstate
);
10412 if (PyErr_Occurred()) SWIG_fail
;
10414 resultobj
= SWIG_From_int(static_cast< int >(result
));
10421 SWIGINTERN PyObject
*_wrap_SplitterWindow_SashHitTest(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10422 PyObject
*resultobj
= 0;
10423 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
10426 int arg4
= (int) 5 ;
10436 PyObject
* obj0
= 0 ;
10437 PyObject
* obj1
= 0 ;
10438 PyObject
* obj2
= 0 ;
10439 PyObject
* obj3
= 0 ;
10440 char * kwnames
[] = {
10441 (char *) "self",(char *) "x",(char *) "y",(char *) "tolerance", NULL
10444 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:SplitterWindow_SashHitTest",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
10445 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSplitterWindow
, 0 | 0 );
10446 if (!SWIG_IsOK(res1
)) {
10447 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterWindow_SashHitTest" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
10449 arg1
= reinterpret_cast< wxSplitterWindow
* >(argp1
);
10450 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
10451 if (!SWIG_IsOK(ecode2
)) {
10452 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SplitterWindow_SashHitTest" "', expected argument " "2"" of type '" "int""'");
10454 arg2
= static_cast< int >(val2
);
10455 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
10456 if (!SWIG_IsOK(ecode3
)) {
10457 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "SplitterWindow_SashHitTest" "', expected argument " "3"" of type '" "int""'");
10459 arg3
= static_cast< int >(val3
);
10461 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
10462 if (!SWIG_IsOK(ecode4
)) {
10463 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "SplitterWindow_SashHitTest" "', expected argument " "4"" of type '" "int""'");
10465 arg4
= static_cast< int >(val4
);
10468 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10469 result
= (bool)(arg1
)->SashHitTest(arg2
,arg3
,arg4
);
10470 wxPyEndAllowThreads(__tstate
);
10471 if (PyErr_Occurred()) SWIG_fail
;
10474 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10482 SWIGINTERN PyObject
*_wrap_SplitterWindow_SizeWindows(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10483 PyObject
*resultobj
= 0;
10484 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
10487 PyObject
*swig_obj
[1] ;
10489 if (!args
) SWIG_fail
;
10490 swig_obj
[0] = args
;
10491 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSplitterWindow
, 0 | 0 );
10492 if (!SWIG_IsOK(res1
)) {
10493 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterWindow_SizeWindows" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
10495 arg1
= reinterpret_cast< wxSplitterWindow
* >(argp1
);
10497 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10498 (arg1
)->SizeWindows();
10499 wxPyEndAllowThreads(__tstate
);
10500 if (PyErr_Occurred()) SWIG_fail
;
10502 resultobj
= SWIG_Py_Void();
10509 SWIGINTERN PyObject
*_wrap_SplitterWindow_SetNeedUpdating(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10510 PyObject
*resultobj
= 0;
10511 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
10517 PyObject
* obj0
= 0 ;
10518 PyObject
* obj1
= 0 ;
10519 char * kwnames
[] = {
10520 (char *) "self",(char *) "needUpdating", NULL
10523 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SplitterWindow_SetNeedUpdating",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10524 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSplitterWindow
, 0 | 0 );
10525 if (!SWIG_IsOK(res1
)) {
10526 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterWindow_SetNeedUpdating" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
10528 arg1
= reinterpret_cast< wxSplitterWindow
* >(argp1
);
10529 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
10530 if (!SWIG_IsOK(ecode2
)) {
10531 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SplitterWindow_SetNeedUpdating" "', expected argument " "2"" of type '" "bool""'");
10533 arg2
= static_cast< bool >(val2
);
10535 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10536 (arg1
)->SetNeedUpdating(arg2
);
10537 wxPyEndAllowThreads(__tstate
);
10538 if (PyErr_Occurred()) SWIG_fail
;
10540 resultobj
= SWIG_Py_Void();
10547 SWIGINTERN PyObject
*_wrap_SplitterWindow_GetNeedUpdating(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10548 PyObject
*resultobj
= 0;
10549 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
10553 PyObject
*swig_obj
[1] ;
10555 if (!args
) SWIG_fail
;
10556 swig_obj
[0] = args
;
10557 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSplitterWindow
, 0 | 0 );
10558 if (!SWIG_IsOK(res1
)) {
10559 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterWindow_GetNeedUpdating" "', expected argument " "1"" of type '" "wxSplitterWindow const *""'");
10561 arg1
= reinterpret_cast< wxSplitterWindow
* >(argp1
);
10563 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10564 result
= (bool)((wxSplitterWindow
const *)arg1
)->GetNeedUpdating();
10565 wxPyEndAllowThreads(__tstate
);
10566 if (PyErr_Occurred()) SWIG_fail
;
10569 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10577 SWIGINTERN PyObject
*_wrap_SplitterWindow_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10578 PyObject
*resultobj
= 0;
10579 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
10580 SwigValueWrapper
<wxVisualAttributes
> result
;
10583 PyObject
* obj0
= 0 ;
10584 char * kwnames
[] = {
10585 (char *) "variant", NULL
10588 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:SplitterWindow_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
10590 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
10591 if (!SWIG_IsOK(ecode1
)) {
10592 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "SplitterWindow_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
10594 arg1
= static_cast< wxWindowVariant
>(val1
);
10597 if (!wxPyCheckForApp()) SWIG_fail
;
10598 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10599 result
= wxSplitterWindow::GetClassDefaultAttributes(arg1
);
10600 wxPyEndAllowThreads(__tstate
);
10601 if (PyErr_Occurred()) SWIG_fail
;
10603 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
10610 SWIGINTERN PyObject
*SplitterWindow_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10612 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
10613 SWIG_TypeNewClientData(SWIGTYPE_p_wxSplitterWindow
, SWIG_NewClientData(obj
));
10614 return SWIG_Py_Void();
10617 SWIGINTERN PyObject
*SplitterWindow_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10618 return SWIG_Python_InitShadowInstance(args
);
10621 SWIGINTERN PyObject
*_wrap_new_SplitterEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10622 PyObject
*resultobj
= 0;
10623 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
10624 wxSplitterWindow
*arg2
= (wxSplitterWindow
*) (wxSplitterWindow
*) NULL
;
10625 wxSplitterEvent
*result
= 0 ;
10630 PyObject
* obj0
= 0 ;
10631 PyObject
* obj1
= 0 ;
10632 char * kwnames
[] = {
10633 (char *) "type",(char *) "splitter", NULL
10636 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_SplitterEvent",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10638 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
10639 if (!SWIG_IsOK(ecode1
)) {
10640 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_SplitterEvent" "', expected argument " "1"" of type '" "wxEventType""'");
10642 arg1
= static_cast< wxEventType
>(val1
);
10645 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxSplitterWindow
, 0 | 0 );
10646 if (!SWIG_IsOK(res2
)) {
10647 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_SplitterEvent" "', expected argument " "2"" of type '" "wxSplitterWindow *""'");
10649 arg2
= reinterpret_cast< wxSplitterWindow
* >(argp2
);
10652 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10653 result
= (wxSplitterEvent
*)new wxSplitterEvent(arg1
,arg2
);
10654 wxPyEndAllowThreads(__tstate
);
10655 if (PyErr_Occurred()) SWIG_fail
;
10657 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSplitterEvent
, SWIG_POINTER_NEW
| 0 );
10664 SWIGINTERN PyObject
*_wrap_SplitterEvent_SetSashPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10665 PyObject
*resultobj
= 0;
10666 wxSplitterEvent
*arg1
= (wxSplitterEvent
*) 0 ;
10672 PyObject
* obj0
= 0 ;
10673 PyObject
* obj1
= 0 ;
10674 char * kwnames
[] = {
10675 (char *) "self",(char *) "pos", NULL
10678 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SplitterEvent_SetSashPosition",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10679 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSplitterEvent
, 0 | 0 );
10680 if (!SWIG_IsOK(res1
)) {
10681 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterEvent_SetSashPosition" "', expected argument " "1"" of type '" "wxSplitterEvent *""'");
10683 arg1
= reinterpret_cast< wxSplitterEvent
* >(argp1
);
10684 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
10685 if (!SWIG_IsOK(ecode2
)) {
10686 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SplitterEvent_SetSashPosition" "', expected argument " "2"" of type '" "int""'");
10688 arg2
= static_cast< int >(val2
);
10690 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10691 (arg1
)->SetSashPosition(arg2
);
10692 wxPyEndAllowThreads(__tstate
);
10693 if (PyErr_Occurred()) SWIG_fail
;
10695 resultobj
= SWIG_Py_Void();
10702 SWIGINTERN PyObject
*_wrap_SplitterEvent_GetSashPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10703 PyObject
*resultobj
= 0;
10704 wxSplitterEvent
*arg1
= (wxSplitterEvent
*) 0 ;
10708 PyObject
*swig_obj
[1] ;
10710 if (!args
) SWIG_fail
;
10711 swig_obj
[0] = args
;
10712 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSplitterEvent
, 0 | 0 );
10713 if (!SWIG_IsOK(res1
)) {
10714 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterEvent_GetSashPosition" "', expected argument " "1"" of type '" "wxSplitterEvent const *""'");
10716 arg1
= reinterpret_cast< wxSplitterEvent
* >(argp1
);
10718 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10719 result
= (int)((wxSplitterEvent
const *)arg1
)->GetSashPosition();
10720 wxPyEndAllowThreads(__tstate
);
10721 if (PyErr_Occurred()) SWIG_fail
;
10723 resultobj
= SWIG_From_int(static_cast< int >(result
));
10730 SWIGINTERN PyObject
*_wrap_SplitterEvent_GetWindowBeingRemoved(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10731 PyObject
*resultobj
= 0;
10732 wxSplitterEvent
*arg1
= (wxSplitterEvent
*) 0 ;
10733 wxWindow
*result
= 0 ;
10736 PyObject
*swig_obj
[1] ;
10738 if (!args
) SWIG_fail
;
10739 swig_obj
[0] = args
;
10740 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSplitterEvent
, 0 | 0 );
10741 if (!SWIG_IsOK(res1
)) {
10742 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterEvent_GetWindowBeingRemoved" "', expected argument " "1"" of type '" "wxSplitterEvent const *""'");
10744 arg1
= reinterpret_cast< wxSplitterEvent
* >(argp1
);
10746 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10747 result
= (wxWindow
*)((wxSplitterEvent
const *)arg1
)->GetWindowBeingRemoved();
10748 wxPyEndAllowThreads(__tstate
);
10749 if (PyErr_Occurred()) SWIG_fail
;
10752 resultobj
= wxPyMake_wxObject(result
, 0);
10760 SWIGINTERN PyObject
*_wrap_SplitterEvent_GetX(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10761 PyObject
*resultobj
= 0;
10762 wxSplitterEvent
*arg1
= (wxSplitterEvent
*) 0 ;
10766 PyObject
*swig_obj
[1] ;
10768 if (!args
) SWIG_fail
;
10769 swig_obj
[0] = args
;
10770 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSplitterEvent
, 0 | 0 );
10771 if (!SWIG_IsOK(res1
)) {
10772 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterEvent_GetX" "', expected argument " "1"" of type '" "wxSplitterEvent const *""'");
10774 arg1
= reinterpret_cast< wxSplitterEvent
* >(argp1
);
10776 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10777 result
= (int)((wxSplitterEvent
const *)arg1
)->GetX();
10778 wxPyEndAllowThreads(__tstate
);
10779 if (PyErr_Occurred()) SWIG_fail
;
10781 resultobj
= SWIG_From_int(static_cast< int >(result
));
10788 SWIGINTERN PyObject
*_wrap_SplitterEvent_GetY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10789 PyObject
*resultobj
= 0;
10790 wxSplitterEvent
*arg1
= (wxSplitterEvent
*) 0 ;
10794 PyObject
*swig_obj
[1] ;
10796 if (!args
) SWIG_fail
;
10797 swig_obj
[0] = args
;
10798 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSplitterEvent
, 0 | 0 );
10799 if (!SWIG_IsOK(res1
)) {
10800 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterEvent_GetY" "', expected argument " "1"" of type '" "wxSplitterEvent const *""'");
10802 arg1
= reinterpret_cast< wxSplitterEvent
* >(argp1
);
10804 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10805 result
= (int)((wxSplitterEvent
const *)arg1
)->GetY();
10806 wxPyEndAllowThreads(__tstate
);
10807 if (PyErr_Occurred()) SWIG_fail
;
10809 resultobj
= SWIG_From_int(static_cast< int >(result
));
10816 SWIGINTERN PyObject
*SplitterEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10818 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
10819 SWIG_TypeNewClientData(SWIGTYPE_p_wxSplitterEvent
, SWIG_NewClientData(obj
));
10820 return SWIG_Py_Void();
10823 SWIGINTERN PyObject
*SplitterEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10824 return SWIG_Python_InitShadowInstance(args
);
10827 SWIGINTERN
int SashNameStr_set(PyObject
*) {
10828 SWIG_Error(SWIG_AttributeError
,"Variable SashNameStr is read-only.");
10833 SWIGINTERN PyObject
*SashNameStr_get(void) {
10834 PyObject
*pyobj
= 0;
10838 pyobj
= PyUnicode_FromWideChar((&wxPySashNameStr
)->c_str(), (&wxPySashNameStr
)->Len());
10840 pyobj
= PyString_FromStringAndSize((&wxPySashNameStr
)->c_str(), (&wxPySashNameStr
)->Len());
10847 SWIGINTERN
int SashLayoutNameStr_set(PyObject
*) {
10848 SWIG_Error(SWIG_AttributeError
,"Variable SashLayoutNameStr is read-only.");
10853 SWIGINTERN PyObject
*SashLayoutNameStr_get(void) {
10854 PyObject
*pyobj
= 0;
10858 pyobj
= PyUnicode_FromWideChar((&wxPySashLayoutNameStr
)->c_str(), (&wxPySashLayoutNameStr
)->Len());
10860 pyobj
= PyString_FromStringAndSize((&wxPySashLayoutNameStr
)->c_str(), (&wxPySashLayoutNameStr
)->Len());
10867 SWIGINTERN PyObject
*_wrap_new_SashWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10868 PyObject
*resultobj
= 0;
10869 wxWindow
*arg1
= (wxWindow
*) 0 ;
10870 int arg2
= (int) -1 ;
10871 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
10872 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
10873 wxSize
const &arg4_defvalue
= wxDefaultSize
;
10874 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
10875 long arg5
= (long) wxCLIP_CHILDREN
|wxSW_3D
;
10876 wxString
const &arg6_defvalue
= wxPySashNameStr
;
10877 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
10878 wxSashWindow
*result
= 0 ;
10887 bool temp6
= false ;
10888 PyObject
* obj0
= 0 ;
10889 PyObject
* obj1
= 0 ;
10890 PyObject
* obj2
= 0 ;
10891 PyObject
* obj3
= 0 ;
10892 PyObject
* obj4
= 0 ;
10893 PyObject
* obj5
= 0 ;
10894 char * kwnames
[] = {
10895 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
10898 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_SashWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
10899 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
10900 if (!SWIG_IsOK(res1
)) {
10901 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_SashWindow" "', expected argument " "1"" of type '" "wxWindow *""'");
10903 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
10905 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
10906 if (!SWIG_IsOK(ecode2
)) {
10907 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_SashWindow" "', expected argument " "2"" of type '" "int""'");
10909 arg2
= static_cast< int >(val2
);
10914 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
10920 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
10924 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
10925 if (!SWIG_IsOK(ecode5
)) {
10926 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_SashWindow" "', expected argument " "5"" of type '" "long""'");
10928 arg5
= static_cast< long >(val5
);
10932 arg6
= wxString_in_helper(obj5
);
10933 if (arg6
== NULL
) SWIG_fail
;
10938 if (!wxPyCheckForApp()) SWIG_fail
;
10939 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10940 result
= (wxSashWindow
*)new wxSashWindow(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
10941 wxPyEndAllowThreads(__tstate
);
10942 if (PyErr_Occurred()) SWIG_fail
;
10944 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSashWindow
, SWIG_POINTER_NEW
| 0 );
10959 SWIGINTERN PyObject
*_wrap_new_PreSashWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10960 PyObject
*resultobj
= 0;
10961 wxSashWindow
*result
= 0 ;
10963 if (!SWIG_Python_UnpackTuple(args
,"new_PreSashWindow",0,0,0)) SWIG_fail
;
10965 if (!wxPyCheckForApp()) SWIG_fail
;
10966 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10967 result
= (wxSashWindow
*)new wxSashWindow();
10968 wxPyEndAllowThreads(__tstate
);
10969 if (PyErr_Occurred()) SWIG_fail
;
10971 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSashWindow
, SWIG_POINTER_OWN
| 0 );
10978 SWIGINTERN PyObject
*_wrap_SashWindow_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10979 PyObject
*resultobj
= 0;
10980 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
10981 wxWindow
*arg2
= (wxWindow
*) 0 ;
10982 int arg3
= (int) -1 ;
10983 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
10984 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
10985 wxSize
const &arg5_defvalue
= wxDefaultSize
;
10986 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
10987 long arg6
= (long) wxCLIP_CHILDREN
|wxSW_3D
;
10988 wxString
const &arg7_defvalue
= wxPySashNameStr
;
10989 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
11001 bool temp7
= false ;
11002 PyObject
* obj0
= 0 ;
11003 PyObject
* obj1
= 0 ;
11004 PyObject
* obj2
= 0 ;
11005 PyObject
* obj3
= 0 ;
11006 PyObject
* obj4
= 0 ;
11007 PyObject
* obj5
= 0 ;
11008 PyObject
* obj6
= 0 ;
11009 char * kwnames
[] = {
11010 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
11013 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:SashWindow_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
11014 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSashWindow
, 0 | 0 );
11015 if (!SWIG_IsOK(res1
)) {
11016 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashWindow_Create" "', expected argument " "1"" of type '" "wxSashWindow *""'");
11018 arg1
= reinterpret_cast< wxSashWindow
* >(argp1
);
11019 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
11020 if (!SWIG_IsOK(res2
)) {
11021 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "SashWindow_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
11023 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
11025 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
11026 if (!SWIG_IsOK(ecode3
)) {
11027 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "SashWindow_Create" "', expected argument " "3"" of type '" "int""'");
11029 arg3
= static_cast< int >(val3
);
11034 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
11040 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
11044 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
11045 if (!SWIG_IsOK(ecode6
)) {
11046 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "SashWindow_Create" "', expected argument " "6"" of type '" "long""'");
11048 arg6
= static_cast< long >(val6
);
11052 arg7
= wxString_in_helper(obj6
);
11053 if (arg7
== NULL
) SWIG_fail
;
11058 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11059 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
11060 wxPyEndAllowThreads(__tstate
);
11061 if (PyErr_Occurred()) SWIG_fail
;
11064 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11080 SWIGINTERN PyObject
*_wrap_SashWindow_SetSashVisible(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11081 PyObject
*resultobj
= 0;
11082 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
11083 wxSashEdgePosition arg2
;
11091 PyObject
* obj0
= 0 ;
11092 PyObject
* obj1
= 0 ;
11093 PyObject
* obj2
= 0 ;
11094 char * kwnames
[] = {
11095 (char *) "self",(char *) "edge",(char *) "sash", NULL
11098 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:SashWindow_SetSashVisible",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
11099 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSashWindow
, 0 | 0 );
11100 if (!SWIG_IsOK(res1
)) {
11101 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashWindow_SetSashVisible" "', expected argument " "1"" of type '" "wxSashWindow *""'");
11103 arg1
= reinterpret_cast< wxSashWindow
* >(argp1
);
11104 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
11105 if (!SWIG_IsOK(ecode2
)) {
11106 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SashWindow_SetSashVisible" "', expected argument " "2"" of type '" "wxSashEdgePosition""'");
11108 arg2
= static_cast< wxSashEdgePosition
>(val2
);
11109 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
11110 if (!SWIG_IsOK(ecode3
)) {
11111 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "SashWindow_SetSashVisible" "', expected argument " "3"" of type '" "bool""'");
11113 arg3
= static_cast< bool >(val3
);
11115 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11116 (arg1
)->SetSashVisible(arg2
,arg3
);
11117 wxPyEndAllowThreads(__tstate
);
11118 if (PyErr_Occurred()) SWIG_fail
;
11120 resultobj
= SWIG_Py_Void();
11127 SWIGINTERN PyObject
*_wrap_SashWindow_GetSashVisible(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11128 PyObject
*resultobj
= 0;
11129 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
11130 wxSashEdgePosition arg2
;
11136 PyObject
* obj0
= 0 ;
11137 PyObject
* obj1
= 0 ;
11138 char * kwnames
[] = {
11139 (char *) "self",(char *) "edge", NULL
11142 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashWindow_GetSashVisible",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11143 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSashWindow
, 0 | 0 );
11144 if (!SWIG_IsOK(res1
)) {
11145 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashWindow_GetSashVisible" "', expected argument " "1"" of type '" "wxSashWindow const *""'");
11147 arg1
= reinterpret_cast< wxSashWindow
* >(argp1
);
11148 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
11149 if (!SWIG_IsOK(ecode2
)) {
11150 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SashWindow_GetSashVisible" "', expected argument " "2"" of type '" "wxSashEdgePosition""'");
11152 arg2
= static_cast< wxSashEdgePosition
>(val2
);
11154 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11155 result
= (bool)((wxSashWindow
const *)arg1
)->GetSashVisible(arg2
);
11156 wxPyEndAllowThreads(__tstate
);
11157 if (PyErr_Occurred()) SWIG_fail
;
11160 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11168 SWIGINTERN PyObject
*_wrap_SashWindow_SetSashBorder(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11169 PyObject
*resultobj
= 0;
11170 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
11171 wxSashEdgePosition arg2
;
11179 PyObject
* obj0
= 0 ;
11180 PyObject
* obj1
= 0 ;
11181 PyObject
* obj2
= 0 ;
11182 char * kwnames
[] = {
11183 (char *) "self",(char *) "edge",(char *) "border", NULL
11186 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:SashWindow_SetSashBorder",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
11187 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSashWindow
, 0 | 0 );
11188 if (!SWIG_IsOK(res1
)) {
11189 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashWindow_SetSashBorder" "', expected argument " "1"" of type '" "wxSashWindow *""'");
11191 arg1
= reinterpret_cast< wxSashWindow
* >(argp1
);
11192 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
11193 if (!SWIG_IsOK(ecode2
)) {
11194 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SashWindow_SetSashBorder" "', expected argument " "2"" of type '" "wxSashEdgePosition""'");
11196 arg2
= static_cast< wxSashEdgePosition
>(val2
);
11197 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
11198 if (!SWIG_IsOK(ecode3
)) {
11199 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "SashWindow_SetSashBorder" "', expected argument " "3"" of type '" "bool""'");
11201 arg3
= static_cast< bool >(val3
);
11203 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11204 (arg1
)->SetSashBorder(arg2
,arg3
);
11205 wxPyEndAllowThreads(__tstate
);
11206 if (PyErr_Occurred()) SWIG_fail
;
11208 resultobj
= SWIG_Py_Void();
11215 SWIGINTERN PyObject
*_wrap_SashWindow_HasBorder(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11216 PyObject
*resultobj
= 0;
11217 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
11218 wxSashEdgePosition arg2
;
11224 PyObject
* obj0
= 0 ;
11225 PyObject
* obj1
= 0 ;
11226 char * kwnames
[] = {
11227 (char *) "self",(char *) "edge", NULL
11230 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashWindow_HasBorder",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11231 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSashWindow
, 0 | 0 );
11232 if (!SWIG_IsOK(res1
)) {
11233 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashWindow_HasBorder" "', expected argument " "1"" of type '" "wxSashWindow const *""'");
11235 arg1
= reinterpret_cast< wxSashWindow
* >(argp1
);
11236 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
11237 if (!SWIG_IsOK(ecode2
)) {
11238 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SashWindow_HasBorder" "', expected argument " "2"" of type '" "wxSashEdgePosition""'");
11240 arg2
= static_cast< wxSashEdgePosition
>(val2
);
11242 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11243 result
= (bool)((wxSashWindow
const *)arg1
)->HasBorder(arg2
);
11244 wxPyEndAllowThreads(__tstate
);
11245 if (PyErr_Occurred()) SWIG_fail
;
11248 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11256 SWIGINTERN PyObject
*_wrap_SashWindow_GetEdgeMargin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11257 PyObject
*resultobj
= 0;
11258 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
11259 wxSashEdgePosition arg2
;
11265 PyObject
* obj0
= 0 ;
11266 PyObject
* obj1
= 0 ;
11267 char * kwnames
[] = {
11268 (char *) "self",(char *) "edge", NULL
11271 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashWindow_GetEdgeMargin",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11272 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSashWindow
, 0 | 0 );
11273 if (!SWIG_IsOK(res1
)) {
11274 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashWindow_GetEdgeMargin" "', expected argument " "1"" of type '" "wxSashWindow const *""'");
11276 arg1
= reinterpret_cast< wxSashWindow
* >(argp1
);
11277 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
11278 if (!SWIG_IsOK(ecode2
)) {
11279 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SashWindow_GetEdgeMargin" "', expected argument " "2"" of type '" "wxSashEdgePosition""'");
11281 arg2
= static_cast< wxSashEdgePosition
>(val2
);
11283 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11284 result
= (int)((wxSashWindow
const *)arg1
)->GetEdgeMargin(arg2
);
11285 wxPyEndAllowThreads(__tstate
);
11286 if (PyErr_Occurred()) SWIG_fail
;
11288 resultobj
= SWIG_From_int(static_cast< int >(result
));
11295 SWIGINTERN PyObject
*_wrap_SashWindow_SetDefaultBorderSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11296 PyObject
*resultobj
= 0;
11297 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
11303 PyObject
* obj0
= 0 ;
11304 PyObject
* obj1
= 0 ;
11305 char * kwnames
[] = {
11306 (char *) "self",(char *) "width", NULL
11309 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashWindow_SetDefaultBorderSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11310 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSashWindow
, 0 | 0 );
11311 if (!SWIG_IsOK(res1
)) {
11312 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashWindow_SetDefaultBorderSize" "', expected argument " "1"" of type '" "wxSashWindow *""'");
11314 arg1
= reinterpret_cast< wxSashWindow
* >(argp1
);
11315 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
11316 if (!SWIG_IsOK(ecode2
)) {
11317 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SashWindow_SetDefaultBorderSize" "', expected argument " "2"" of type '" "int""'");
11319 arg2
= static_cast< int >(val2
);
11321 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11322 (arg1
)->SetDefaultBorderSize(arg2
);
11323 wxPyEndAllowThreads(__tstate
);
11324 if (PyErr_Occurred()) SWIG_fail
;
11326 resultobj
= SWIG_Py_Void();
11333 SWIGINTERN PyObject
*_wrap_SashWindow_GetDefaultBorderSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11334 PyObject
*resultobj
= 0;
11335 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
11339 PyObject
*swig_obj
[1] ;
11341 if (!args
) SWIG_fail
;
11342 swig_obj
[0] = args
;
11343 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSashWindow
, 0 | 0 );
11344 if (!SWIG_IsOK(res1
)) {
11345 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashWindow_GetDefaultBorderSize" "', expected argument " "1"" of type '" "wxSashWindow const *""'");
11347 arg1
= reinterpret_cast< wxSashWindow
* >(argp1
);
11349 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11350 result
= (int)((wxSashWindow
const *)arg1
)->GetDefaultBorderSize();
11351 wxPyEndAllowThreads(__tstate
);
11352 if (PyErr_Occurred()) SWIG_fail
;
11354 resultobj
= SWIG_From_int(static_cast< int >(result
));
11361 SWIGINTERN PyObject
*_wrap_SashWindow_SetExtraBorderSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11362 PyObject
*resultobj
= 0;
11363 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
11369 PyObject
* obj0
= 0 ;
11370 PyObject
* obj1
= 0 ;
11371 char * kwnames
[] = {
11372 (char *) "self",(char *) "width", NULL
11375 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashWindow_SetExtraBorderSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11376 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSashWindow
, 0 | 0 );
11377 if (!SWIG_IsOK(res1
)) {
11378 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashWindow_SetExtraBorderSize" "', expected argument " "1"" of type '" "wxSashWindow *""'");
11380 arg1
= reinterpret_cast< wxSashWindow
* >(argp1
);
11381 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
11382 if (!SWIG_IsOK(ecode2
)) {
11383 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SashWindow_SetExtraBorderSize" "', expected argument " "2"" of type '" "int""'");
11385 arg2
= static_cast< int >(val2
);
11387 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11388 (arg1
)->SetExtraBorderSize(arg2
);
11389 wxPyEndAllowThreads(__tstate
);
11390 if (PyErr_Occurred()) SWIG_fail
;
11392 resultobj
= SWIG_Py_Void();
11399 SWIGINTERN PyObject
*_wrap_SashWindow_GetExtraBorderSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11400 PyObject
*resultobj
= 0;
11401 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
11405 PyObject
*swig_obj
[1] ;
11407 if (!args
) SWIG_fail
;
11408 swig_obj
[0] = args
;
11409 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSashWindow
, 0 | 0 );
11410 if (!SWIG_IsOK(res1
)) {
11411 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashWindow_GetExtraBorderSize" "', expected argument " "1"" of type '" "wxSashWindow const *""'");
11413 arg1
= reinterpret_cast< wxSashWindow
* >(argp1
);
11415 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11416 result
= (int)((wxSashWindow
const *)arg1
)->GetExtraBorderSize();
11417 wxPyEndAllowThreads(__tstate
);
11418 if (PyErr_Occurred()) SWIG_fail
;
11420 resultobj
= SWIG_From_int(static_cast< int >(result
));
11427 SWIGINTERN PyObject
*_wrap_SashWindow_SetMinimumSizeX(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11428 PyObject
*resultobj
= 0;
11429 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
11435 PyObject
* obj0
= 0 ;
11436 PyObject
* obj1
= 0 ;
11437 char * kwnames
[] = {
11438 (char *) "self",(char *) "min", NULL
11441 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashWindow_SetMinimumSizeX",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11442 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSashWindow
, 0 | 0 );
11443 if (!SWIG_IsOK(res1
)) {
11444 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashWindow_SetMinimumSizeX" "', expected argument " "1"" of type '" "wxSashWindow *""'");
11446 arg1
= reinterpret_cast< wxSashWindow
* >(argp1
);
11447 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
11448 if (!SWIG_IsOK(ecode2
)) {
11449 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SashWindow_SetMinimumSizeX" "', expected argument " "2"" of type '" "int""'");
11451 arg2
= static_cast< int >(val2
);
11453 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11454 (arg1
)->SetMinimumSizeX(arg2
);
11455 wxPyEndAllowThreads(__tstate
);
11456 if (PyErr_Occurred()) SWIG_fail
;
11458 resultobj
= SWIG_Py_Void();
11465 SWIGINTERN PyObject
*_wrap_SashWindow_SetMinimumSizeY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11466 PyObject
*resultobj
= 0;
11467 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
11473 PyObject
* obj0
= 0 ;
11474 PyObject
* obj1
= 0 ;
11475 char * kwnames
[] = {
11476 (char *) "self",(char *) "min", NULL
11479 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashWindow_SetMinimumSizeY",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11480 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSashWindow
, 0 | 0 );
11481 if (!SWIG_IsOK(res1
)) {
11482 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashWindow_SetMinimumSizeY" "', expected argument " "1"" of type '" "wxSashWindow *""'");
11484 arg1
= reinterpret_cast< wxSashWindow
* >(argp1
);
11485 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
11486 if (!SWIG_IsOK(ecode2
)) {
11487 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SashWindow_SetMinimumSizeY" "', expected argument " "2"" of type '" "int""'");
11489 arg2
= static_cast< int >(val2
);
11491 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11492 (arg1
)->SetMinimumSizeY(arg2
);
11493 wxPyEndAllowThreads(__tstate
);
11494 if (PyErr_Occurred()) SWIG_fail
;
11496 resultobj
= SWIG_Py_Void();
11503 SWIGINTERN PyObject
*_wrap_SashWindow_GetMinimumSizeX(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11504 PyObject
*resultobj
= 0;
11505 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
11509 PyObject
*swig_obj
[1] ;
11511 if (!args
) SWIG_fail
;
11512 swig_obj
[0] = args
;
11513 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSashWindow
, 0 | 0 );
11514 if (!SWIG_IsOK(res1
)) {
11515 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashWindow_GetMinimumSizeX" "', expected argument " "1"" of type '" "wxSashWindow const *""'");
11517 arg1
= reinterpret_cast< wxSashWindow
* >(argp1
);
11519 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11520 result
= (int)((wxSashWindow
const *)arg1
)->GetMinimumSizeX();
11521 wxPyEndAllowThreads(__tstate
);
11522 if (PyErr_Occurred()) SWIG_fail
;
11524 resultobj
= SWIG_From_int(static_cast< int >(result
));
11531 SWIGINTERN PyObject
*_wrap_SashWindow_GetMinimumSizeY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11532 PyObject
*resultobj
= 0;
11533 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
11537 PyObject
*swig_obj
[1] ;
11539 if (!args
) SWIG_fail
;
11540 swig_obj
[0] = args
;
11541 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSashWindow
, 0 | 0 );
11542 if (!SWIG_IsOK(res1
)) {
11543 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashWindow_GetMinimumSizeY" "', expected argument " "1"" of type '" "wxSashWindow const *""'");
11545 arg1
= reinterpret_cast< wxSashWindow
* >(argp1
);
11547 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11548 result
= (int)((wxSashWindow
const *)arg1
)->GetMinimumSizeY();
11549 wxPyEndAllowThreads(__tstate
);
11550 if (PyErr_Occurred()) SWIG_fail
;
11552 resultobj
= SWIG_From_int(static_cast< int >(result
));
11559 SWIGINTERN PyObject
*_wrap_SashWindow_SetMaximumSizeX(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11560 PyObject
*resultobj
= 0;
11561 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
11567 PyObject
* obj0
= 0 ;
11568 PyObject
* obj1
= 0 ;
11569 char * kwnames
[] = {
11570 (char *) "self",(char *) "max", NULL
11573 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashWindow_SetMaximumSizeX",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11574 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSashWindow
, 0 | 0 );
11575 if (!SWIG_IsOK(res1
)) {
11576 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashWindow_SetMaximumSizeX" "', expected argument " "1"" of type '" "wxSashWindow *""'");
11578 arg1
= reinterpret_cast< wxSashWindow
* >(argp1
);
11579 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
11580 if (!SWIG_IsOK(ecode2
)) {
11581 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SashWindow_SetMaximumSizeX" "', expected argument " "2"" of type '" "int""'");
11583 arg2
= static_cast< int >(val2
);
11585 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11586 (arg1
)->SetMaximumSizeX(arg2
);
11587 wxPyEndAllowThreads(__tstate
);
11588 if (PyErr_Occurred()) SWIG_fail
;
11590 resultobj
= SWIG_Py_Void();
11597 SWIGINTERN PyObject
*_wrap_SashWindow_SetMaximumSizeY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11598 PyObject
*resultobj
= 0;
11599 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
11605 PyObject
* obj0
= 0 ;
11606 PyObject
* obj1
= 0 ;
11607 char * kwnames
[] = {
11608 (char *) "self",(char *) "max", NULL
11611 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashWindow_SetMaximumSizeY",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11612 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSashWindow
, 0 | 0 );
11613 if (!SWIG_IsOK(res1
)) {
11614 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashWindow_SetMaximumSizeY" "', expected argument " "1"" of type '" "wxSashWindow *""'");
11616 arg1
= reinterpret_cast< wxSashWindow
* >(argp1
);
11617 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
11618 if (!SWIG_IsOK(ecode2
)) {
11619 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SashWindow_SetMaximumSizeY" "', expected argument " "2"" of type '" "int""'");
11621 arg2
= static_cast< int >(val2
);
11623 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11624 (arg1
)->SetMaximumSizeY(arg2
);
11625 wxPyEndAllowThreads(__tstate
);
11626 if (PyErr_Occurred()) SWIG_fail
;
11628 resultobj
= SWIG_Py_Void();
11635 SWIGINTERN PyObject
*_wrap_SashWindow_GetMaximumSizeX(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11636 PyObject
*resultobj
= 0;
11637 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
11641 PyObject
*swig_obj
[1] ;
11643 if (!args
) SWIG_fail
;
11644 swig_obj
[0] = args
;
11645 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSashWindow
, 0 | 0 );
11646 if (!SWIG_IsOK(res1
)) {
11647 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashWindow_GetMaximumSizeX" "', expected argument " "1"" of type '" "wxSashWindow const *""'");
11649 arg1
= reinterpret_cast< wxSashWindow
* >(argp1
);
11651 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11652 result
= (int)((wxSashWindow
const *)arg1
)->GetMaximumSizeX();
11653 wxPyEndAllowThreads(__tstate
);
11654 if (PyErr_Occurred()) SWIG_fail
;
11656 resultobj
= SWIG_From_int(static_cast< int >(result
));
11663 SWIGINTERN PyObject
*_wrap_SashWindow_GetMaximumSizeY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11664 PyObject
*resultobj
= 0;
11665 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
11669 PyObject
*swig_obj
[1] ;
11671 if (!args
) SWIG_fail
;
11672 swig_obj
[0] = args
;
11673 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSashWindow
, 0 | 0 );
11674 if (!SWIG_IsOK(res1
)) {
11675 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashWindow_GetMaximumSizeY" "', expected argument " "1"" of type '" "wxSashWindow const *""'");
11677 arg1
= reinterpret_cast< wxSashWindow
* >(argp1
);
11679 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11680 result
= (int)((wxSashWindow
const *)arg1
)->GetMaximumSizeY();
11681 wxPyEndAllowThreads(__tstate
);
11682 if (PyErr_Occurred()) SWIG_fail
;
11684 resultobj
= SWIG_From_int(static_cast< int >(result
));
11691 SWIGINTERN PyObject
*_wrap_SashWindow_SashHitTest(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11692 PyObject
*resultobj
= 0;
11693 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
11696 int arg4
= (int) 2 ;
11697 wxSashEdgePosition result
;
11706 PyObject
* obj0
= 0 ;
11707 PyObject
* obj1
= 0 ;
11708 PyObject
* obj2
= 0 ;
11709 PyObject
* obj3
= 0 ;
11710 char * kwnames
[] = {
11711 (char *) "self",(char *) "x",(char *) "y",(char *) "tolerance", NULL
11714 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:SashWindow_SashHitTest",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
11715 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSashWindow
, 0 | 0 );
11716 if (!SWIG_IsOK(res1
)) {
11717 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashWindow_SashHitTest" "', expected argument " "1"" of type '" "wxSashWindow *""'");
11719 arg1
= reinterpret_cast< wxSashWindow
* >(argp1
);
11720 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
11721 if (!SWIG_IsOK(ecode2
)) {
11722 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SashWindow_SashHitTest" "', expected argument " "2"" of type '" "int""'");
11724 arg2
= static_cast< int >(val2
);
11725 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
11726 if (!SWIG_IsOK(ecode3
)) {
11727 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "SashWindow_SashHitTest" "', expected argument " "3"" of type '" "int""'");
11729 arg3
= static_cast< int >(val3
);
11731 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
11732 if (!SWIG_IsOK(ecode4
)) {
11733 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "SashWindow_SashHitTest" "', expected argument " "4"" of type '" "int""'");
11735 arg4
= static_cast< int >(val4
);
11738 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11739 result
= (wxSashEdgePosition
)(arg1
)->SashHitTest(arg2
,arg3
,arg4
);
11740 wxPyEndAllowThreads(__tstate
);
11741 if (PyErr_Occurred()) SWIG_fail
;
11743 resultobj
= SWIG_From_int(static_cast< int >(result
));
11750 SWIGINTERN PyObject
*_wrap_SashWindow_SizeWindows(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11751 PyObject
*resultobj
= 0;
11752 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
11755 PyObject
*swig_obj
[1] ;
11757 if (!args
) SWIG_fail
;
11758 swig_obj
[0] = args
;
11759 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSashWindow
, 0 | 0 );
11760 if (!SWIG_IsOK(res1
)) {
11761 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashWindow_SizeWindows" "', expected argument " "1"" of type '" "wxSashWindow *""'");
11763 arg1
= reinterpret_cast< wxSashWindow
* >(argp1
);
11765 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11766 (arg1
)->SizeWindows();
11767 wxPyEndAllowThreads(__tstate
);
11768 if (PyErr_Occurred()) SWIG_fail
;
11770 resultobj
= SWIG_Py_Void();
11777 SWIGINTERN PyObject
*SashWindow_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11779 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
11780 SWIG_TypeNewClientData(SWIGTYPE_p_wxSashWindow
, SWIG_NewClientData(obj
));
11781 return SWIG_Py_Void();
11784 SWIGINTERN PyObject
*SashWindow_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11785 return SWIG_Python_InitShadowInstance(args
);
11788 SWIGINTERN PyObject
*_wrap_new_SashEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11789 PyObject
*resultobj
= 0;
11790 int arg1
= (int) 0 ;
11791 wxSashEdgePosition arg2
= (wxSashEdgePosition
) wxSASH_NONE
;
11792 wxSashEvent
*result
= 0 ;
11797 PyObject
* obj0
= 0 ;
11798 PyObject
* obj1
= 0 ;
11799 char * kwnames
[] = {
11800 (char *) "id",(char *) "edge", NULL
11803 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_SashEvent",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11805 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
11806 if (!SWIG_IsOK(ecode1
)) {
11807 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_SashEvent" "', expected argument " "1"" of type '" "int""'");
11809 arg1
= static_cast< int >(val1
);
11812 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
11813 if (!SWIG_IsOK(ecode2
)) {
11814 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_SashEvent" "', expected argument " "2"" of type '" "wxSashEdgePosition""'");
11816 arg2
= static_cast< wxSashEdgePosition
>(val2
);
11819 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11820 result
= (wxSashEvent
*)new wxSashEvent(arg1
,arg2
);
11821 wxPyEndAllowThreads(__tstate
);
11822 if (PyErr_Occurred()) SWIG_fail
;
11824 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSashEvent
, SWIG_POINTER_NEW
| 0 );
11831 SWIGINTERN PyObject
*_wrap_SashEvent_SetEdge(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11832 PyObject
*resultobj
= 0;
11833 wxSashEvent
*arg1
= (wxSashEvent
*) 0 ;
11834 wxSashEdgePosition arg2
;
11839 PyObject
* obj0
= 0 ;
11840 PyObject
* obj1
= 0 ;
11841 char * kwnames
[] = {
11842 (char *) "self",(char *) "edge", NULL
11845 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashEvent_SetEdge",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11846 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSashEvent
, 0 | 0 );
11847 if (!SWIG_IsOK(res1
)) {
11848 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashEvent_SetEdge" "', expected argument " "1"" of type '" "wxSashEvent *""'");
11850 arg1
= reinterpret_cast< wxSashEvent
* >(argp1
);
11851 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
11852 if (!SWIG_IsOK(ecode2
)) {
11853 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SashEvent_SetEdge" "', expected argument " "2"" of type '" "wxSashEdgePosition""'");
11855 arg2
= static_cast< wxSashEdgePosition
>(val2
);
11857 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11858 (arg1
)->SetEdge(arg2
);
11859 wxPyEndAllowThreads(__tstate
);
11860 if (PyErr_Occurred()) SWIG_fail
;
11862 resultobj
= SWIG_Py_Void();
11869 SWIGINTERN PyObject
*_wrap_SashEvent_GetEdge(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11870 PyObject
*resultobj
= 0;
11871 wxSashEvent
*arg1
= (wxSashEvent
*) 0 ;
11872 wxSashEdgePosition result
;
11875 PyObject
*swig_obj
[1] ;
11877 if (!args
) SWIG_fail
;
11878 swig_obj
[0] = args
;
11879 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSashEvent
, 0 | 0 );
11880 if (!SWIG_IsOK(res1
)) {
11881 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashEvent_GetEdge" "', expected argument " "1"" of type '" "wxSashEvent const *""'");
11883 arg1
= reinterpret_cast< wxSashEvent
* >(argp1
);
11885 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11886 result
= (wxSashEdgePosition
)((wxSashEvent
const *)arg1
)->GetEdge();
11887 wxPyEndAllowThreads(__tstate
);
11888 if (PyErr_Occurred()) SWIG_fail
;
11890 resultobj
= SWIG_From_int(static_cast< int >(result
));
11897 SWIGINTERN PyObject
*_wrap_SashEvent_SetDragRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11898 PyObject
*resultobj
= 0;
11899 wxSashEvent
*arg1
= (wxSashEvent
*) 0 ;
11904 PyObject
* obj0
= 0 ;
11905 PyObject
* obj1
= 0 ;
11906 char * kwnames
[] = {
11907 (char *) "self",(char *) "rect", NULL
11910 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashEvent_SetDragRect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11911 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSashEvent
, 0 | 0 );
11912 if (!SWIG_IsOK(res1
)) {
11913 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashEvent_SetDragRect" "', expected argument " "1"" of type '" "wxSashEvent *""'");
11915 arg1
= reinterpret_cast< wxSashEvent
* >(argp1
);
11918 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
11921 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11922 (arg1
)->SetDragRect((wxRect
const &)*arg2
);
11923 wxPyEndAllowThreads(__tstate
);
11924 if (PyErr_Occurred()) SWIG_fail
;
11926 resultobj
= SWIG_Py_Void();
11933 SWIGINTERN PyObject
*_wrap_SashEvent_GetDragRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11934 PyObject
*resultobj
= 0;
11935 wxSashEvent
*arg1
= (wxSashEvent
*) 0 ;
11939 PyObject
*swig_obj
[1] ;
11941 if (!args
) SWIG_fail
;
11942 swig_obj
[0] = args
;
11943 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSashEvent
, 0 | 0 );
11944 if (!SWIG_IsOK(res1
)) {
11945 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashEvent_GetDragRect" "', expected argument " "1"" of type '" "wxSashEvent const *""'");
11947 arg1
= reinterpret_cast< wxSashEvent
* >(argp1
);
11949 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11950 result
= ((wxSashEvent
const *)arg1
)->GetDragRect();
11951 wxPyEndAllowThreads(__tstate
);
11952 if (PyErr_Occurred()) SWIG_fail
;
11954 resultobj
= SWIG_NewPointerObj((new wxRect(static_cast< const wxRect
& >(result
))), SWIGTYPE_p_wxRect
, SWIG_POINTER_OWN
| 0 );
11961 SWIGINTERN PyObject
*_wrap_SashEvent_SetDragStatus(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11962 PyObject
*resultobj
= 0;
11963 wxSashEvent
*arg1
= (wxSashEvent
*) 0 ;
11964 wxSashDragStatus arg2
;
11969 PyObject
* obj0
= 0 ;
11970 PyObject
* obj1
= 0 ;
11971 char * kwnames
[] = {
11972 (char *) "self",(char *) "status", NULL
11975 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashEvent_SetDragStatus",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11976 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSashEvent
, 0 | 0 );
11977 if (!SWIG_IsOK(res1
)) {
11978 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashEvent_SetDragStatus" "', expected argument " "1"" of type '" "wxSashEvent *""'");
11980 arg1
= reinterpret_cast< wxSashEvent
* >(argp1
);
11981 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
11982 if (!SWIG_IsOK(ecode2
)) {
11983 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SashEvent_SetDragStatus" "', expected argument " "2"" of type '" "wxSashDragStatus""'");
11985 arg2
= static_cast< wxSashDragStatus
>(val2
);
11987 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11988 (arg1
)->SetDragStatus(arg2
);
11989 wxPyEndAllowThreads(__tstate
);
11990 if (PyErr_Occurred()) SWIG_fail
;
11992 resultobj
= SWIG_Py_Void();
11999 SWIGINTERN PyObject
*_wrap_SashEvent_GetDragStatus(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12000 PyObject
*resultobj
= 0;
12001 wxSashEvent
*arg1
= (wxSashEvent
*) 0 ;
12002 wxSashDragStatus result
;
12005 PyObject
*swig_obj
[1] ;
12007 if (!args
) SWIG_fail
;
12008 swig_obj
[0] = args
;
12009 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSashEvent
, 0 | 0 );
12010 if (!SWIG_IsOK(res1
)) {
12011 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashEvent_GetDragStatus" "', expected argument " "1"" of type '" "wxSashEvent const *""'");
12013 arg1
= reinterpret_cast< wxSashEvent
* >(argp1
);
12015 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12016 result
= (wxSashDragStatus
)((wxSashEvent
const *)arg1
)->GetDragStatus();
12017 wxPyEndAllowThreads(__tstate
);
12018 if (PyErr_Occurred()) SWIG_fail
;
12020 resultobj
= SWIG_From_int(static_cast< int >(result
));
12027 SWIGINTERN PyObject
*SashEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12029 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
12030 SWIG_TypeNewClientData(SWIGTYPE_p_wxSashEvent
, SWIG_NewClientData(obj
));
12031 return SWIG_Py_Void();
12034 SWIGINTERN PyObject
*SashEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12035 return SWIG_Python_InitShadowInstance(args
);
12038 SWIGINTERN PyObject
*_wrap_new_QueryLayoutInfoEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12039 PyObject
*resultobj
= 0;
12040 int arg1
= (int) 0 ;
12041 wxQueryLayoutInfoEvent
*result
= 0 ;
12044 PyObject
* obj0
= 0 ;
12045 char * kwnames
[] = {
12046 (char *) "id", NULL
12049 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_QueryLayoutInfoEvent",kwnames
,&obj0
)) SWIG_fail
;
12051 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
12052 if (!SWIG_IsOK(ecode1
)) {
12053 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_QueryLayoutInfoEvent" "', expected argument " "1"" of type '" "int""'");
12055 arg1
= static_cast< int >(val1
);
12058 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12059 result
= (wxQueryLayoutInfoEvent
*)new wxQueryLayoutInfoEvent(arg1
);
12060 wxPyEndAllowThreads(__tstate
);
12061 if (PyErr_Occurred()) SWIG_fail
;
12063 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxQueryLayoutInfoEvent
, SWIG_POINTER_NEW
| 0 );
12070 SWIGINTERN PyObject
*_wrap_QueryLayoutInfoEvent_SetRequestedLength(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12071 PyObject
*resultobj
= 0;
12072 wxQueryLayoutInfoEvent
*arg1
= (wxQueryLayoutInfoEvent
*) 0 ;
12078 PyObject
* obj0
= 0 ;
12079 PyObject
* obj1
= 0 ;
12080 char * kwnames
[] = {
12081 (char *) "self",(char *) "length", NULL
12084 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:QueryLayoutInfoEvent_SetRequestedLength",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12085 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxQueryLayoutInfoEvent
, 0 | 0 );
12086 if (!SWIG_IsOK(res1
)) {
12087 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "QueryLayoutInfoEvent_SetRequestedLength" "', expected argument " "1"" of type '" "wxQueryLayoutInfoEvent *""'");
12089 arg1
= reinterpret_cast< wxQueryLayoutInfoEvent
* >(argp1
);
12090 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
12091 if (!SWIG_IsOK(ecode2
)) {
12092 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "QueryLayoutInfoEvent_SetRequestedLength" "', expected argument " "2"" of type '" "int""'");
12094 arg2
= static_cast< int >(val2
);
12096 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12097 (arg1
)->SetRequestedLength(arg2
);
12098 wxPyEndAllowThreads(__tstate
);
12099 if (PyErr_Occurred()) SWIG_fail
;
12101 resultobj
= SWIG_Py_Void();
12108 SWIGINTERN PyObject
*_wrap_QueryLayoutInfoEvent_GetRequestedLength(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12109 PyObject
*resultobj
= 0;
12110 wxQueryLayoutInfoEvent
*arg1
= (wxQueryLayoutInfoEvent
*) 0 ;
12114 PyObject
*swig_obj
[1] ;
12116 if (!args
) SWIG_fail
;
12117 swig_obj
[0] = args
;
12118 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxQueryLayoutInfoEvent
, 0 | 0 );
12119 if (!SWIG_IsOK(res1
)) {
12120 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "QueryLayoutInfoEvent_GetRequestedLength" "', expected argument " "1"" of type '" "wxQueryLayoutInfoEvent const *""'");
12122 arg1
= reinterpret_cast< wxQueryLayoutInfoEvent
* >(argp1
);
12124 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12125 result
= (int)((wxQueryLayoutInfoEvent
const *)arg1
)->GetRequestedLength();
12126 wxPyEndAllowThreads(__tstate
);
12127 if (PyErr_Occurred()) SWIG_fail
;
12129 resultobj
= SWIG_From_int(static_cast< int >(result
));
12136 SWIGINTERN PyObject
*_wrap_QueryLayoutInfoEvent_SetFlags(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12137 PyObject
*resultobj
= 0;
12138 wxQueryLayoutInfoEvent
*arg1
= (wxQueryLayoutInfoEvent
*) 0 ;
12144 PyObject
* obj0
= 0 ;
12145 PyObject
* obj1
= 0 ;
12146 char * kwnames
[] = {
12147 (char *) "self",(char *) "flags", NULL
12150 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:QueryLayoutInfoEvent_SetFlags",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12151 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxQueryLayoutInfoEvent
, 0 | 0 );
12152 if (!SWIG_IsOK(res1
)) {
12153 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "QueryLayoutInfoEvent_SetFlags" "', expected argument " "1"" of type '" "wxQueryLayoutInfoEvent *""'");
12155 arg1
= reinterpret_cast< wxQueryLayoutInfoEvent
* >(argp1
);
12156 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
12157 if (!SWIG_IsOK(ecode2
)) {
12158 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "QueryLayoutInfoEvent_SetFlags" "', expected argument " "2"" of type '" "int""'");
12160 arg2
= static_cast< int >(val2
);
12162 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12163 (arg1
)->SetFlags(arg2
);
12164 wxPyEndAllowThreads(__tstate
);
12165 if (PyErr_Occurred()) SWIG_fail
;
12167 resultobj
= SWIG_Py_Void();
12174 SWIGINTERN PyObject
*_wrap_QueryLayoutInfoEvent_GetFlags(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12175 PyObject
*resultobj
= 0;
12176 wxQueryLayoutInfoEvent
*arg1
= (wxQueryLayoutInfoEvent
*) 0 ;
12180 PyObject
*swig_obj
[1] ;
12182 if (!args
) SWIG_fail
;
12183 swig_obj
[0] = args
;
12184 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxQueryLayoutInfoEvent
, 0 | 0 );
12185 if (!SWIG_IsOK(res1
)) {
12186 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "QueryLayoutInfoEvent_GetFlags" "', expected argument " "1"" of type '" "wxQueryLayoutInfoEvent const *""'");
12188 arg1
= reinterpret_cast< wxQueryLayoutInfoEvent
* >(argp1
);
12190 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12191 result
= (int)((wxQueryLayoutInfoEvent
const *)arg1
)->GetFlags();
12192 wxPyEndAllowThreads(__tstate
);
12193 if (PyErr_Occurred()) SWIG_fail
;
12195 resultobj
= SWIG_From_int(static_cast< int >(result
));
12202 SWIGINTERN PyObject
*_wrap_QueryLayoutInfoEvent_SetSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12203 PyObject
*resultobj
= 0;
12204 wxQueryLayoutInfoEvent
*arg1
= (wxQueryLayoutInfoEvent
*) 0 ;
12209 PyObject
* obj0
= 0 ;
12210 PyObject
* obj1
= 0 ;
12211 char * kwnames
[] = {
12212 (char *) "self",(char *) "size", NULL
12215 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:QueryLayoutInfoEvent_SetSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12216 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxQueryLayoutInfoEvent
, 0 | 0 );
12217 if (!SWIG_IsOK(res1
)) {
12218 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "QueryLayoutInfoEvent_SetSize" "', expected argument " "1"" of type '" "wxQueryLayoutInfoEvent *""'");
12220 arg1
= reinterpret_cast< wxQueryLayoutInfoEvent
* >(argp1
);
12223 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
12226 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12227 (arg1
)->SetSize((wxSize
const &)*arg2
);
12228 wxPyEndAllowThreads(__tstate
);
12229 if (PyErr_Occurred()) SWIG_fail
;
12231 resultobj
= SWIG_Py_Void();
12238 SWIGINTERN PyObject
*_wrap_QueryLayoutInfoEvent_GetSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12239 PyObject
*resultobj
= 0;
12240 wxQueryLayoutInfoEvent
*arg1
= (wxQueryLayoutInfoEvent
*) 0 ;
12244 PyObject
*swig_obj
[1] ;
12246 if (!args
) SWIG_fail
;
12247 swig_obj
[0] = args
;
12248 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxQueryLayoutInfoEvent
, 0 | 0 );
12249 if (!SWIG_IsOK(res1
)) {
12250 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "QueryLayoutInfoEvent_GetSize" "', expected argument " "1"" of type '" "wxQueryLayoutInfoEvent const *""'");
12252 arg1
= reinterpret_cast< wxQueryLayoutInfoEvent
* >(argp1
);
12254 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12255 result
= ((wxQueryLayoutInfoEvent
const *)arg1
)->GetSize();
12256 wxPyEndAllowThreads(__tstate
);
12257 if (PyErr_Occurred()) SWIG_fail
;
12259 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
12266 SWIGINTERN PyObject
*_wrap_QueryLayoutInfoEvent_SetOrientation(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12267 PyObject
*resultobj
= 0;
12268 wxQueryLayoutInfoEvent
*arg1
= (wxQueryLayoutInfoEvent
*) 0 ;
12269 wxLayoutOrientation arg2
;
12274 PyObject
* obj0
= 0 ;
12275 PyObject
* obj1
= 0 ;
12276 char * kwnames
[] = {
12277 (char *) "self",(char *) "orient", NULL
12280 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:QueryLayoutInfoEvent_SetOrientation",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12281 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxQueryLayoutInfoEvent
, 0 | 0 );
12282 if (!SWIG_IsOK(res1
)) {
12283 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "QueryLayoutInfoEvent_SetOrientation" "', expected argument " "1"" of type '" "wxQueryLayoutInfoEvent *""'");
12285 arg1
= reinterpret_cast< wxQueryLayoutInfoEvent
* >(argp1
);
12286 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
12287 if (!SWIG_IsOK(ecode2
)) {
12288 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "QueryLayoutInfoEvent_SetOrientation" "', expected argument " "2"" of type '" "wxLayoutOrientation""'");
12290 arg2
= static_cast< wxLayoutOrientation
>(val2
);
12292 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12293 (arg1
)->SetOrientation(arg2
);
12294 wxPyEndAllowThreads(__tstate
);
12295 if (PyErr_Occurred()) SWIG_fail
;
12297 resultobj
= SWIG_Py_Void();
12304 SWIGINTERN PyObject
*_wrap_QueryLayoutInfoEvent_GetOrientation(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12305 PyObject
*resultobj
= 0;
12306 wxQueryLayoutInfoEvent
*arg1
= (wxQueryLayoutInfoEvent
*) 0 ;
12307 wxLayoutOrientation result
;
12310 PyObject
*swig_obj
[1] ;
12312 if (!args
) SWIG_fail
;
12313 swig_obj
[0] = args
;
12314 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxQueryLayoutInfoEvent
, 0 | 0 );
12315 if (!SWIG_IsOK(res1
)) {
12316 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "QueryLayoutInfoEvent_GetOrientation" "', expected argument " "1"" of type '" "wxQueryLayoutInfoEvent const *""'");
12318 arg1
= reinterpret_cast< wxQueryLayoutInfoEvent
* >(argp1
);
12320 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12321 result
= (wxLayoutOrientation
)((wxQueryLayoutInfoEvent
const *)arg1
)->GetOrientation();
12322 wxPyEndAllowThreads(__tstate
);
12323 if (PyErr_Occurred()) SWIG_fail
;
12325 resultobj
= SWIG_From_int(static_cast< int >(result
));
12332 SWIGINTERN PyObject
*_wrap_QueryLayoutInfoEvent_SetAlignment(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12333 PyObject
*resultobj
= 0;
12334 wxQueryLayoutInfoEvent
*arg1
= (wxQueryLayoutInfoEvent
*) 0 ;
12335 wxLayoutAlignment arg2
;
12340 PyObject
* obj0
= 0 ;
12341 PyObject
* obj1
= 0 ;
12342 char * kwnames
[] = {
12343 (char *) "self",(char *) "align", NULL
12346 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:QueryLayoutInfoEvent_SetAlignment",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12347 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxQueryLayoutInfoEvent
, 0 | 0 );
12348 if (!SWIG_IsOK(res1
)) {
12349 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "QueryLayoutInfoEvent_SetAlignment" "', expected argument " "1"" of type '" "wxQueryLayoutInfoEvent *""'");
12351 arg1
= reinterpret_cast< wxQueryLayoutInfoEvent
* >(argp1
);
12352 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
12353 if (!SWIG_IsOK(ecode2
)) {
12354 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "QueryLayoutInfoEvent_SetAlignment" "', expected argument " "2"" of type '" "wxLayoutAlignment""'");
12356 arg2
= static_cast< wxLayoutAlignment
>(val2
);
12358 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12359 (arg1
)->SetAlignment(arg2
);
12360 wxPyEndAllowThreads(__tstate
);
12361 if (PyErr_Occurred()) SWIG_fail
;
12363 resultobj
= SWIG_Py_Void();
12370 SWIGINTERN PyObject
*_wrap_QueryLayoutInfoEvent_GetAlignment(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12371 PyObject
*resultobj
= 0;
12372 wxQueryLayoutInfoEvent
*arg1
= (wxQueryLayoutInfoEvent
*) 0 ;
12373 wxLayoutAlignment result
;
12376 PyObject
*swig_obj
[1] ;
12378 if (!args
) SWIG_fail
;
12379 swig_obj
[0] = args
;
12380 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxQueryLayoutInfoEvent
, 0 | 0 );
12381 if (!SWIG_IsOK(res1
)) {
12382 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "QueryLayoutInfoEvent_GetAlignment" "', expected argument " "1"" of type '" "wxQueryLayoutInfoEvent const *""'");
12384 arg1
= reinterpret_cast< wxQueryLayoutInfoEvent
* >(argp1
);
12386 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12387 result
= (wxLayoutAlignment
)((wxQueryLayoutInfoEvent
const *)arg1
)->GetAlignment();
12388 wxPyEndAllowThreads(__tstate
);
12389 if (PyErr_Occurred()) SWIG_fail
;
12391 resultobj
= SWIG_From_int(static_cast< int >(result
));
12398 SWIGINTERN PyObject
*QueryLayoutInfoEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12400 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
12401 SWIG_TypeNewClientData(SWIGTYPE_p_wxQueryLayoutInfoEvent
, SWIG_NewClientData(obj
));
12402 return SWIG_Py_Void();
12405 SWIGINTERN PyObject
*QueryLayoutInfoEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12406 return SWIG_Python_InitShadowInstance(args
);
12409 SWIGINTERN PyObject
*_wrap_new_CalculateLayoutEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12410 PyObject
*resultobj
= 0;
12411 int arg1
= (int) 0 ;
12412 wxCalculateLayoutEvent
*result
= 0 ;
12415 PyObject
* obj0
= 0 ;
12416 char * kwnames
[] = {
12417 (char *) "id", NULL
12420 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_CalculateLayoutEvent",kwnames
,&obj0
)) SWIG_fail
;
12422 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
12423 if (!SWIG_IsOK(ecode1
)) {
12424 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_CalculateLayoutEvent" "', expected argument " "1"" of type '" "int""'");
12426 arg1
= static_cast< int >(val1
);
12429 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12430 result
= (wxCalculateLayoutEvent
*)new wxCalculateLayoutEvent(arg1
);
12431 wxPyEndAllowThreads(__tstate
);
12432 if (PyErr_Occurred()) SWIG_fail
;
12434 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxCalculateLayoutEvent
, SWIG_POINTER_NEW
| 0 );
12441 SWIGINTERN PyObject
*_wrap_CalculateLayoutEvent_SetFlags(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12442 PyObject
*resultobj
= 0;
12443 wxCalculateLayoutEvent
*arg1
= (wxCalculateLayoutEvent
*) 0 ;
12449 PyObject
* obj0
= 0 ;
12450 PyObject
* obj1
= 0 ;
12451 char * kwnames
[] = {
12452 (char *) "self",(char *) "flags", NULL
12455 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CalculateLayoutEvent_SetFlags",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12456 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxCalculateLayoutEvent
, 0 | 0 );
12457 if (!SWIG_IsOK(res1
)) {
12458 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "CalculateLayoutEvent_SetFlags" "', expected argument " "1"" of type '" "wxCalculateLayoutEvent *""'");
12460 arg1
= reinterpret_cast< wxCalculateLayoutEvent
* >(argp1
);
12461 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
12462 if (!SWIG_IsOK(ecode2
)) {
12463 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "CalculateLayoutEvent_SetFlags" "', expected argument " "2"" of type '" "int""'");
12465 arg2
= static_cast< int >(val2
);
12467 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12468 (arg1
)->SetFlags(arg2
);
12469 wxPyEndAllowThreads(__tstate
);
12470 if (PyErr_Occurred()) SWIG_fail
;
12472 resultobj
= SWIG_Py_Void();
12479 SWIGINTERN PyObject
*_wrap_CalculateLayoutEvent_GetFlags(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12480 PyObject
*resultobj
= 0;
12481 wxCalculateLayoutEvent
*arg1
= (wxCalculateLayoutEvent
*) 0 ;
12485 PyObject
*swig_obj
[1] ;
12487 if (!args
) SWIG_fail
;
12488 swig_obj
[0] = args
;
12489 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxCalculateLayoutEvent
, 0 | 0 );
12490 if (!SWIG_IsOK(res1
)) {
12491 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "CalculateLayoutEvent_GetFlags" "', expected argument " "1"" of type '" "wxCalculateLayoutEvent const *""'");
12493 arg1
= reinterpret_cast< wxCalculateLayoutEvent
* >(argp1
);
12495 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12496 result
= (int)((wxCalculateLayoutEvent
const *)arg1
)->GetFlags();
12497 wxPyEndAllowThreads(__tstate
);
12498 if (PyErr_Occurred()) SWIG_fail
;
12500 resultobj
= SWIG_From_int(static_cast< int >(result
));
12507 SWIGINTERN PyObject
*_wrap_CalculateLayoutEvent_SetRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12508 PyObject
*resultobj
= 0;
12509 wxCalculateLayoutEvent
*arg1
= (wxCalculateLayoutEvent
*) 0 ;
12514 PyObject
* obj0
= 0 ;
12515 PyObject
* obj1
= 0 ;
12516 char * kwnames
[] = {
12517 (char *) "self",(char *) "rect", NULL
12520 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CalculateLayoutEvent_SetRect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12521 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxCalculateLayoutEvent
, 0 | 0 );
12522 if (!SWIG_IsOK(res1
)) {
12523 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "CalculateLayoutEvent_SetRect" "', expected argument " "1"" of type '" "wxCalculateLayoutEvent *""'");
12525 arg1
= reinterpret_cast< wxCalculateLayoutEvent
* >(argp1
);
12528 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
12531 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12532 (arg1
)->SetRect((wxRect
const &)*arg2
);
12533 wxPyEndAllowThreads(__tstate
);
12534 if (PyErr_Occurred()) SWIG_fail
;
12536 resultobj
= SWIG_Py_Void();
12543 SWIGINTERN PyObject
*_wrap_CalculateLayoutEvent_GetRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12544 PyObject
*resultobj
= 0;
12545 wxCalculateLayoutEvent
*arg1
= (wxCalculateLayoutEvent
*) 0 ;
12549 PyObject
*swig_obj
[1] ;
12551 if (!args
) SWIG_fail
;
12552 swig_obj
[0] = args
;
12553 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxCalculateLayoutEvent
, 0 | 0 );
12554 if (!SWIG_IsOK(res1
)) {
12555 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "CalculateLayoutEvent_GetRect" "', expected argument " "1"" of type '" "wxCalculateLayoutEvent const *""'");
12557 arg1
= reinterpret_cast< wxCalculateLayoutEvent
* >(argp1
);
12559 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12560 result
= ((wxCalculateLayoutEvent
const *)arg1
)->GetRect();
12561 wxPyEndAllowThreads(__tstate
);
12562 if (PyErr_Occurred()) SWIG_fail
;
12564 resultobj
= SWIG_NewPointerObj((new wxRect(static_cast< const wxRect
& >(result
))), SWIGTYPE_p_wxRect
, SWIG_POINTER_OWN
| 0 );
12571 SWIGINTERN PyObject
*CalculateLayoutEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12573 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
12574 SWIG_TypeNewClientData(SWIGTYPE_p_wxCalculateLayoutEvent
, SWIG_NewClientData(obj
));
12575 return SWIG_Py_Void();
12578 SWIGINTERN PyObject
*CalculateLayoutEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12579 return SWIG_Python_InitShadowInstance(args
);
12582 SWIGINTERN PyObject
*_wrap_new_SashLayoutWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12583 PyObject
*resultobj
= 0;
12584 wxWindow
*arg1
= (wxWindow
*) 0 ;
12585 int arg2
= (int) -1 ;
12586 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
12587 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
12588 wxSize
const &arg4_defvalue
= wxDefaultSize
;
12589 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
12590 long arg5
= (long) wxCLIP_CHILDREN
|wxSW_3D
;
12591 wxString
const &arg6_defvalue
= wxPySashLayoutNameStr
;
12592 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
12593 wxSashLayoutWindow
*result
= 0 ;
12602 bool temp6
= false ;
12603 PyObject
* obj0
= 0 ;
12604 PyObject
* obj1
= 0 ;
12605 PyObject
* obj2
= 0 ;
12606 PyObject
* obj3
= 0 ;
12607 PyObject
* obj4
= 0 ;
12608 PyObject
* obj5
= 0 ;
12609 char * kwnames
[] = {
12610 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
12613 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_SashLayoutWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
12614 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
12615 if (!SWIG_IsOK(res1
)) {
12616 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_SashLayoutWindow" "', expected argument " "1"" of type '" "wxWindow *""'");
12618 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
12620 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
12621 if (!SWIG_IsOK(ecode2
)) {
12622 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_SashLayoutWindow" "', expected argument " "2"" of type '" "int""'");
12624 arg2
= static_cast< int >(val2
);
12629 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
12635 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
12639 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
12640 if (!SWIG_IsOK(ecode5
)) {
12641 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_SashLayoutWindow" "', expected argument " "5"" of type '" "long""'");
12643 arg5
= static_cast< long >(val5
);
12647 arg6
= wxString_in_helper(obj5
);
12648 if (arg6
== NULL
) SWIG_fail
;
12653 if (!wxPyCheckForApp()) SWIG_fail
;
12654 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12655 result
= (wxSashLayoutWindow
*)new wxSashLayoutWindow(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
12656 wxPyEndAllowThreads(__tstate
);
12657 if (PyErr_Occurred()) SWIG_fail
;
12659 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSashLayoutWindow
, SWIG_POINTER_NEW
| 0 );
12674 SWIGINTERN PyObject
*_wrap_new_PreSashLayoutWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12675 PyObject
*resultobj
= 0;
12676 wxSashLayoutWindow
*result
= 0 ;
12678 if (!SWIG_Python_UnpackTuple(args
,"new_PreSashLayoutWindow",0,0,0)) SWIG_fail
;
12680 if (!wxPyCheckForApp()) SWIG_fail
;
12681 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12682 result
= (wxSashLayoutWindow
*)new wxSashLayoutWindow();
12683 wxPyEndAllowThreads(__tstate
);
12684 if (PyErr_Occurred()) SWIG_fail
;
12686 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSashLayoutWindow
, SWIG_POINTER_OWN
| 0 );
12693 SWIGINTERN PyObject
*_wrap_SashLayoutWindow_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12694 PyObject
*resultobj
= 0;
12695 wxSashLayoutWindow
*arg1
= (wxSashLayoutWindow
*) 0 ;
12696 wxWindow
*arg2
= (wxWindow
*) 0 ;
12697 int arg3
= (int) -1 ;
12698 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
12699 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
12700 wxSize
const &arg5_defvalue
= wxDefaultSize
;
12701 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
12702 long arg6
= (long) wxCLIP_CHILDREN
|wxSW_3D
;
12703 wxString
const &arg7_defvalue
= wxPySashLayoutNameStr
;
12704 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
12716 bool temp7
= false ;
12717 PyObject
* obj0
= 0 ;
12718 PyObject
* obj1
= 0 ;
12719 PyObject
* obj2
= 0 ;
12720 PyObject
* obj3
= 0 ;
12721 PyObject
* obj4
= 0 ;
12722 PyObject
* obj5
= 0 ;
12723 PyObject
* obj6
= 0 ;
12724 char * kwnames
[] = {
12725 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
12728 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:SashLayoutWindow_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
12729 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSashLayoutWindow
, 0 | 0 );
12730 if (!SWIG_IsOK(res1
)) {
12731 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashLayoutWindow_Create" "', expected argument " "1"" of type '" "wxSashLayoutWindow *""'");
12733 arg1
= reinterpret_cast< wxSashLayoutWindow
* >(argp1
);
12734 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
12735 if (!SWIG_IsOK(res2
)) {
12736 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "SashLayoutWindow_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
12738 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
12740 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
12741 if (!SWIG_IsOK(ecode3
)) {
12742 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "SashLayoutWindow_Create" "', expected argument " "3"" of type '" "int""'");
12744 arg3
= static_cast< int >(val3
);
12749 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
12755 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
12759 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
12760 if (!SWIG_IsOK(ecode6
)) {
12761 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "SashLayoutWindow_Create" "', expected argument " "6"" of type '" "long""'");
12763 arg6
= static_cast< long >(val6
);
12767 arg7
= wxString_in_helper(obj6
);
12768 if (arg7
== NULL
) SWIG_fail
;
12773 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12774 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
12775 wxPyEndAllowThreads(__tstate
);
12776 if (PyErr_Occurred()) SWIG_fail
;
12779 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12795 SWIGINTERN PyObject
*_wrap_SashLayoutWindow_GetAlignment(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12796 PyObject
*resultobj
= 0;
12797 wxSashLayoutWindow
*arg1
= (wxSashLayoutWindow
*) 0 ;
12798 wxLayoutAlignment result
;
12801 PyObject
*swig_obj
[1] ;
12803 if (!args
) SWIG_fail
;
12804 swig_obj
[0] = args
;
12805 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSashLayoutWindow
, 0 | 0 );
12806 if (!SWIG_IsOK(res1
)) {
12807 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashLayoutWindow_GetAlignment" "', expected argument " "1"" of type '" "wxSashLayoutWindow *""'");
12809 arg1
= reinterpret_cast< wxSashLayoutWindow
* >(argp1
);
12811 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12812 result
= (wxLayoutAlignment
)(arg1
)->GetAlignment();
12813 wxPyEndAllowThreads(__tstate
);
12814 if (PyErr_Occurred()) SWIG_fail
;
12816 resultobj
= SWIG_From_int(static_cast< int >(result
));
12823 SWIGINTERN PyObject
*_wrap_SashLayoutWindow_GetOrientation(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12824 PyObject
*resultobj
= 0;
12825 wxSashLayoutWindow
*arg1
= (wxSashLayoutWindow
*) 0 ;
12826 wxLayoutOrientation result
;
12829 PyObject
*swig_obj
[1] ;
12831 if (!args
) SWIG_fail
;
12832 swig_obj
[0] = args
;
12833 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSashLayoutWindow
, 0 | 0 );
12834 if (!SWIG_IsOK(res1
)) {
12835 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashLayoutWindow_GetOrientation" "', expected argument " "1"" of type '" "wxSashLayoutWindow *""'");
12837 arg1
= reinterpret_cast< wxSashLayoutWindow
* >(argp1
);
12839 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12840 result
= (wxLayoutOrientation
)(arg1
)->GetOrientation();
12841 wxPyEndAllowThreads(__tstate
);
12842 if (PyErr_Occurred()) SWIG_fail
;
12844 resultobj
= SWIG_From_int(static_cast< int >(result
));
12851 SWIGINTERN PyObject
*_wrap_SashLayoutWindow_SetAlignment(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12852 PyObject
*resultobj
= 0;
12853 wxSashLayoutWindow
*arg1
= (wxSashLayoutWindow
*) 0 ;
12854 wxLayoutAlignment arg2
;
12859 PyObject
* obj0
= 0 ;
12860 PyObject
* obj1
= 0 ;
12861 char * kwnames
[] = {
12862 (char *) "self",(char *) "alignment", NULL
12865 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashLayoutWindow_SetAlignment",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12866 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSashLayoutWindow
, 0 | 0 );
12867 if (!SWIG_IsOK(res1
)) {
12868 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashLayoutWindow_SetAlignment" "', expected argument " "1"" of type '" "wxSashLayoutWindow *""'");
12870 arg1
= reinterpret_cast< wxSashLayoutWindow
* >(argp1
);
12871 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
12872 if (!SWIG_IsOK(ecode2
)) {
12873 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SashLayoutWindow_SetAlignment" "', expected argument " "2"" of type '" "wxLayoutAlignment""'");
12875 arg2
= static_cast< wxLayoutAlignment
>(val2
);
12877 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12878 (arg1
)->SetAlignment(arg2
);
12879 wxPyEndAllowThreads(__tstate
);
12880 if (PyErr_Occurred()) SWIG_fail
;
12882 resultobj
= SWIG_Py_Void();
12889 SWIGINTERN PyObject
*_wrap_SashLayoutWindow_SetDefaultSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12890 PyObject
*resultobj
= 0;
12891 wxSashLayoutWindow
*arg1
= (wxSashLayoutWindow
*) 0 ;
12896 PyObject
* obj0
= 0 ;
12897 PyObject
* obj1
= 0 ;
12898 char * kwnames
[] = {
12899 (char *) "self",(char *) "size", NULL
12902 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashLayoutWindow_SetDefaultSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12903 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSashLayoutWindow
, 0 | 0 );
12904 if (!SWIG_IsOK(res1
)) {
12905 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashLayoutWindow_SetDefaultSize" "', expected argument " "1"" of type '" "wxSashLayoutWindow *""'");
12907 arg1
= reinterpret_cast< wxSashLayoutWindow
* >(argp1
);
12910 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
12913 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12914 (arg1
)->SetDefaultSize((wxSize
const &)*arg2
);
12915 wxPyEndAllowThreads(__tstate
);
12916 if (PyErr_Occurred()) SWIG_fail
;
12918 resultobj
= SWIG_Py_Void();
12925 SWIGINTERN PyObject
*_wrap_SashLayoutWindow_SetOrientation(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12926 PyObject
*resultobj
= 0;
12927 wxSashLayoutWindow
*arg1
= (wxSashLayoutWindow
*) 0 ;
12928 wxLayoutOrientation arg2
;
12933 PyObject
* obj0
= 0 ;
12934 PyObject
* obj1
= 0 ;
12935 char * kwnames
[] = {
12936 (char *) "self",(char *) "orientation", NULL
12939 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashLayoutWindow_SetOrientation",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12940 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSashLayoutWindow
, 0 | 0 );
12941 if (!SWIG_IsOK(res1
)) {
12942 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashLayoutWindow_SetOrientation" "', expected argument " "1"" of type '" "wxSashLayoutWindow *""'");
12944 arg1
= reinterpret_cast< wxSashLayoutWindow
* >(argp1
);
12945 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
12946 if (!SWIG_IsOK(ecode2
)) {
12947 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SashLayoutWindow_SetOrientation" "', expected argument " "2"" of type '" "wxLayoutOrientation""'");
12949 arg2
= static_cast< wxLayoutOrientation
>(val2
);
12951 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12952 (arg1
)->SetOrientation(arg2
);
12953 wxPyEndAllowThreads(__tstate
);
12954 if (PyErr_Occurred()) SWIG_fail
;
12956 resultobj
= SWIG_Py_Void();
12963 SWIGINTERN PyObject
*SashLayoutWindow_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12965 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
12966 SWIG_TypeNewClientData(SWIGTYPE_p_wxSashLayoutWindow
, SWIG_NewClientData(obj
));
12967 return SWIG_Py_Void();
12970 SWIGINTERN PyObject
*SashLayoutWindow_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12971 return SWIG_Python_InitShadowInstance(args
);
12974 SWIGINTERN PyObject
*_wrap_new_LayoutAlgorithm(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12975 PyObject
*resultobj
= 0;
12976 wxLayoutAlgorithm
*result
= 0 ;
12978 if (!SWIG_Python_UnpackTuple(args
,"new_LayoutAlgorithm",0,0,0)) SWIG_fail
;
12980 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12981 result
= (wxLayoutAlgorithm
*)new wxLayoutAlgorithm();
12982 wxPyEndAllowThreads(__tstate
);
12983 if (PyErr_Occurred()) SWIG_fail
;
12985 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxLayoutAlgorithm
, SWIG_POINTER_NEW
| 0 );
12992 SWIGINTERN PyObject
*_wrap_delete_LayoutAlgorithm(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12993 PyObject
*resultobj
= 0;
12994 wxLayoutAlgorithm
*arg1
= (wxLayoutAlgorithm
*) 0 ;
12997 PyObject
*swig_obj
[1] ;
12999 if (!args
) SWIG_fail
;
13000 swig_obj
[0] = args
;
13001 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLayoutAlgorithm
, SWIG_POINTER_DISOWN
| 0 );
13002 if (!SWIG_IsOK(res1
)) {
13003 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_LayoutAlgorithm" "', expected argument " "1"" of type '" "wxLayoutAlgorithm *""'");
13005 arg1
= reinterpret_cast< wxLayoutAlgorithm
* >(argp1
);
13007 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13010 wxPyEndAllowThreads(__tstate
);
13011 if (PyErr_Occurred()) SWIG_fail
;
13013 resultobj
= SWIG_Py_Void();
13020 SWIGINTERN PyObject
*_wrap_LayoutAlgorithm_LayoutMDIFrame(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13021 PyObject
*resultobj
= 0;
13022 wxLayoutAlgorithm
*arg1
= (wxLayoutAlgorithm
*) 0 ;
13023 wxMDIParentFrame
*arg2
= (wxMDIParentFrame
*) 0 ;
13024 wxRect
*arg3
= (wxRect
*) NULL
;
13032 PyObject
* obj0
= 0 ;
13033 PyObject
* obj1
= 0 ;
13034 PyObject
* obj2
= 0 ;
13035 char * kwnames
[] = {
13036 (char *) "self",(char *) "frame",(char *) "rect", NULL
13039 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:LayoutAlgorithm_LayoutMDIFrame",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
13040 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxLayoutAlgorithm
, 0 | 0 );
13041 if (!SWIG_IsOK(res1
)) {
13042 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "LayoutAlgorithm_LayoutMDIFrame" "', expected argument " "1"" of type '" "wxLayoutAlgorithm *""'");
13044 arg1
= reinterpret_cast< wxLayoutAlgorithm
* >(argp1
);
13045 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxMDIParentFrame
, 0 | 0 );
13046 if (!SWIG_IsOK(res2
)) {
13047 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "LayoutAlgorithm_LayoutMDIFrame" "', expected argument " "2"" of type '" "wxMDIParentFrame *""'");
13049 arg2
= reinterpret_cast< wxMDIParentFrame
* >(argp2
);
13051 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxRect
, 0 | 0 );
13052 if (!SWIG_IsOK(res3
)) {
13053 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "LayoutAlgorithm_LayoutMDIFrame" "', expected argument " "3"" of type '" "wxRect *""'");
13055 arg3
= reinterpret_cast< wxRect
* >(argp3
);
13058 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13059 result
= (bool)(arg1
)->LayoutMDIFrame(arg2
,arg3
);
13060 wxPyEndAllowThreads(__tstate
);
13061 if (PyErr_Occurred()) SWIG_fail
;
13064 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13072 SWIGINTERN PyObject
*_wrap_LayoutAlgorithm_LayoutFrame(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13073 PyObject
*resultobj
= 0;
13074 wxLayoutAlgorithm
*arg1
= (wxLayoutAlgorithm
*) 0 ;
13075 wxFrame
*arg2
= (wxFrame
*) 0 ;
13076 wxWindow
*arg3
= (wxWindow
*) NULL
;
13084 PyObject
* obj0
= 0 ;
13085 PyObject
* obj1
= 0 ;
13086 PyObject
* obj2
= 0 ;
13087 char * kwnames
[] = {
13088 (char *) "self",(char *) "frame",(char *) "mainWindow", NULL
13091 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:LayoutAlgorithm_LayoutFrame",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
13092 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxLayoutAlgorithm
, 0 | 0 );
13093 if (!SWIG_IsOK(res1
)) {
13094 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "LayoutAlgorithm_LayoutFrame" "', expected argument " "1"" of type '" "wxLayoutAlgorithm *""'");
13096 arg1
= reinterpret_cast< wxLayoutAlgorithm
* >(argp1
);
13097 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxFrame
, 0 | 0 );
13098 if (!SWIG_IsOK(res2
)) {
13099 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "LayoutAlgorithm_LayoutFrame" "', expected argument " "2"" of type '" "wxFrame *""'");
13101 arg2
= reinterpret_cast< wxFrame
* >(argp2
);
13103 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxWindow
, 0 | 0 );
13104 if (!SWIG_IsOK(res3
)) {
13105 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "LayoutAlgorithm_LayoutFrame" "', expected argument " "3"" of type '" "wxWindow *""'");
13107 arg3
= reinterpret_cast< wxWindow
* >(argp3
);
13110 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13111 result
= (bool)(arg1
)->LayoutFrame(arg2
,arg3
);
13112 wxPyEndAllowThreads(__tstate
);
13113 if (PyErr_Occurred()) SWIG_fail
;
13116 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13124 SWIGINTERN PyObject
*_wrap_LayoutAlgorithm_LayoutWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13125 PyObject
*resultobj
= 0;
13126 wxLayoutAlgorithm
*arg1
= (wxLayoutAlgorithm
*) 0 ;
13127 wxWindow
*arg2
= (wxWindow
*) 0 ;
13128 wxWindow
*arg3
= (wxWindow
*) NULL
;
13136 PyObject
* obj0
= 0 ;
13137 PyObject
* obj1
= 0 ;
13138 PyObject
* obj2
= 0 ;
13139 char * kwnames
[] = {
13140 (char *) "self",(char *) "parent",(char *) "mainWindow", NULL
13143 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:LayoutAlgorithm_LayoutWindow",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
13144 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxLayoutAlgorithm
, 0 | 0 );
13145 if (!SWIG_IsOK(res1
)) {
13146 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "LayoutAlgorithm_LayoutWindow" "', expected argument " "1"" of type '" "wxLayoutAlgorithm *""'");
13148 arg1
= reinterpret_cast< wxLayoutAlgorithm
* >(argp1
);
13149 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
13150 if (!SWIG_IsOK(res2
)) {
13151 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "LayoutAlgorithm_LayoutWindow" "', expected argument " "2"" of type '" "wxWindow *""'");
13153 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
13155 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxWindow
, 0 | 0 );
13156 if (!SWIG_IsOK(res3
)) {
13157 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "LayoutAlgorithm_LayoutWindow" "', expected argument " "3"" of type '" "wxWindow *""'");
13159 arg3
= reinterpret_cast< wxWindow
* >(argp3
);
13162 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13163 result
= (bool)(arg1
)->LayoutWindow(arg2
,arg3
);
13164 wxPyEndAllowThreads(__tstate
);
13165 if (PyErr_Occurred()) SWIG_fail
;
13168 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13176 SWIGINTERN PyObject
*LayoutAlgorithm_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13178 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
13179 SWIG_TypeNewClientData(SWIGTYPE_p_wxLayoutAlgorithm
, SWIG_NewClientData(obj
));
13180 return SWIG_Py_Void();
13183 SWIGINTERN PyObject
*LayoutAlgorithm_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13184 return SWIG_Python_InitShadowInstance(args
);
13187 SWIGINTERN PyObject
*_wrap_new_PopupWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13188 PyObject
*resultobj
= 0;
13189 wxWindow
*arg1
= (wxWindow
*) 0 ;
13190 int arg2
= (int) wxBORDER_NONE
;
13191 wxPopupWindow
*result
= 0 ;
13196 PyObject
* obj0
= 0 ;
13197 PyObject
* obj1
= 0 ;
13198 char * kwnames
[] = {
13199 (char *) "parent",(char *) "flags", NULL
13202 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_PopupWindow",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13203 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
13204 if (!SWIG_IsOK(res1
)) {
13205 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PopupWindow" "', expected argument " "1"" of type '" "wxWindow *""'");
13207 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
13209 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
13210 if (!SWIG_IsOK(ecode2
)) {
13211 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_PopupWindow" "', expected argument " "2"" of type '" "int""'");
13213 arg2
= static_cast< int >(val2
);
13216 if (!wxPyCheckForApp()) SWIG_fail
;
13217 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13218 result
= (wxPopupWindow
*)new wxPopupWindow(arg1
,arg2
);
13219 wxPyEndAllowThreads(__tstate
);
13220 if (PyErr_Occurred()) SWIG_fail
;
13222 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPopupWindow
, SWIG_POINTER_NEW
| 0 );
13229 SWIGINTERN PyObject
*_wrap_new_PrePopupWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13230 PyObject
*resultobj
= 0;
13231 wxPopupWindow
*result
= 0 ;
13233 if (!SWIG_Python_UnpackTuple(args
,"new_PrePopupWindow",0,0,0)) SWIG_fail
;
13235 if (!wxPyCheckForApp()) SWIG_fail
;
13236 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13237 result
= (wxPopupWindow
*)new wxPopupWindow();
13238 wxPyEndAllowThreads(__tstate
);
13239 if (PyErr_Occurred()) SWIG_fail
;
13241 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPopupWindow
, SWIG_POINTER_OWN
| 0 );
13248 SWIGINTERN PyObject
*_wrap_PopupWindow_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13249 PyObject
*resultobj
= 0;
13250 wxPopupWindow
*arg1
= (wxPopupWindow
*) 0 ;
13251 wxWindow
*arg2
= (wxWindow
*) 0 ;
13252 int arg3
= (int) wxBORDER_NONE
;
13260 PyObject
* obj0
= 0 ;
13261 PyObject
* obj1
= 0 ;
13262 PyObject
* obj2
= 0 ;
13263 char * kwnames
[] = {
13264 (char *) "self",(char *) "parent",(char *) "flags", NULL
13267 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:PopupWindow_Create",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
13268 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPopupWindow
, 0 | 0 );
13269 if (!SWIG_IsOK(res1
)) {
13270 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PopupWindow_Create" "', expected argument " "1"" of type '" "wxPopupWindow *""'");
13272 arg1
= reinterpret_cast< wxPopupWindow
* >(argp1
);
13273 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
13274 if (!SWIG_IsOK(res2
)) {
13275 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PopupWindow_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
13277 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
13279 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
13280 if (!SWIG_IsOK(ecode3
)) {
13281 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PopupWindow_Create" "', expected argument " "3"" of type '" "int""'");
13283 arg3
= static_cast< int >(val3
);
13286 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13287 result
= (bool)(arg1
)->Create(arg2
,arg3
);
13288 wxPyEndAllowThreads(__tstate
);
13289 if (PyErr_Occurred()) SWIG_fail
;
13292 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13300 SWIGINTERN PyObject
*_wrap_PopupWindow_Position(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13301 PyObject
*resultobj
= 0;
13302 wxPopupWindow
*arg1
= (wxPopupWindow
*) 0 ;
13303 wxPoint
*arg2
= 0 ;
13309 PyObject
* obj0
= 0 ;
13310 PyObject
* obj1
= 0 ;
13311 PyObject
* obj2
= 0 ;
13312 char * kwnames
[] = {
13313 (char *) "self",(char *) "ptOrigin",(char *) "size", NULL
13316 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PopupWindow_Position",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
13317 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPopupWindow
, 0 | 0 );
13318 if (!SWIG_IsOK(res1
)) {
13319 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PopupWindow_Position" "', expected argument " "1"" of type '" "wxPopupWindow *""'");
13321 arg1
= reinterpret_cast< wxPopupWindow
* >(argp1
);
13324 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
13328 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
13331 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13332 (arg1
)->Position((wxPoint
const &)*arg2
,(wxSize
const &)*arg3
);
13333 wxPyEndAllowThreads(__tstate
);
13334 if (PyErr_Occurred()) SWIG_fail
;
13336 resultobj
= SWIG_Py_Void();
13343 SWIGINTERN PyObject
*PopupWindow_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13345 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
13346 SWIG_TypeNewClientData(SWIGTYPE_p_wxPopupWindow
, SWIG_NewClientData(obj
));
13347 return SWIG_Py_Void();
13350 SWIGINTERN PyObject
*PopupWindow_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13351 return SWIG_Python_InitShadowInstance(args
);
13354 SWIGINTERN PyObject
*_wrap_new_PopupTransientWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13355 PyObject
*resultobj
= 0;
13356 wxWindow
*arg1
= (wxWindow
*) 0 ;
13357 int arg2
= (int) wxBORDER_NONE
;
13358 wxPyPopupTransientWindow
*result
= 0 ;
13363 PyObject
* obj0
= 0 ;
13364 PyObject
* obj1
= 0 ;
13365 char * kwnames
[] = {
13366 (char *) "parent",(char *) "style", NULL
13369 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_PopupTransientWindow",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13370 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
13371 if (!SWIG_IsOK(res1
)) {
13372 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PopupTransientWindow" "', expected argument " "1"" of type '" "wxWindow *""'");
13374 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
13376 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
13377 if (!SWIG_IsOK(ecode2
)) {
13378 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_PopupTransientWindow" "', expected argument " "2"" of type '" "int""'");
13380 arg2
= static_cast< int >(val2
);
13383 if (!wxPyCheckForApp()) SWIG_fail
;
13384 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13385 result
= (wxPyPopupTransientWindow
*)new wxPyPopupTransientWindow(arg1
,arg2
);
13386 wxPyEndAllowThreads(__tstate
);
13387 if (PyErr_Occurred()) SWIG_fail
;
13389 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyPopupTransientWindow
, SWIG_POINTER_NEW
| 0 );
13396 SWIGINTERN PyObject
*_wrap_new_PrePopupTransientWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13397 PyObject
*resultobj
= 0;
13398 wxPyPopupTransientWindow
*result
= 0 ;
13400 if (!SWIG_Python_UnpackTuple(args
,"new_PrePopupTransientWindow",0,0,0)) SWIG_fail
;
13402 if (!wxPyCheckForApp()) SWIG_fail
;
13403 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13404 result
= (wxPyPopupTransientWindow
*)new wxPyPopupTransientWindow();
13405 wxPyEndAllowThreads(__tstate
);
13406 if (PyErr_Occurred()) SWIG_fail
;
13408 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyPopupTransientWindow
, SWIG_POINTER_OWN
| 0 );
13415 SWIGINTERN PyObject
*_wrap_PopupTransientWindow__setCallbackInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13416 PyObject
*resultobj
= 0;
13417 wxPyPopupTransientWindow
*arg1
= (wxPyPopupTransientWindow
*) 0 ;
13418 PyObject
*arg2
= (PyObject
*) 0 ;
13419 PyObject
*arg3
= (PyObject
*) 0 ;
13422 PyObject
* obj0
= 0 ;
13423 PyObject
* obj1
= 0 ;
13424 PyObject
* obj2
= 0 ;
13425 char * kwnames
[] = {
13426 (char *) "self",(char *) "self",(char *) "_class", NULL
13429 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PopupTransientWindow__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
13430 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPopupTransientWindow
, 0 | 0 );
13431 if (!SWIG_IsOK(res1
)) {
13432 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PopupTransientWindow__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyPopupTransientWindow *""'");
13434 arg1
= reinterpret_cast< wxPyPopupTransientWindow
* >(argp1
);
13438 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13439 (arg1
)->_setCallbackInfo(arg2
,arg3
);
13440 wxPyEndAllowThreads(__tstate
);
13441 if (PyErr_Occurred()) SWIG_fail
;
13443 resultobj
= SWIG_Py_Void();
13450 SWIGINTERN PyObject
*_wrap_PopupTransientWindow_Popup(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13451 PyObject
*resultobj
= 0;
13452 wxPyPopupTransientWindow
*arg1
= (wxPyPopupTransientWindow
*) 0 ;
13453 wxWindow
*arg2
= (wxWindow
*) NULL
;
13458 PyObject
* obj0
= 0 ;
13459 PyObject
* obj1
= 0 ;
13460 char * kwnames
[] = {
13461 (char *) "self",(char *) "focus", NULL
13464 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:PopupTransientWindow_Popup",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13465 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPopupTransientWindow
, 0 | 0 );
13466 if (!SWIG_IsOK(res1
)) {
13467 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PopupTransientWindow_Popup" "', expected argument " "1"" of type '" "wxPyPopupTransientWindow *""'");
13469 arg1
= reinterpret_cast< wxPyPopupTransientWindow
* >(argp1
);
13471 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
13472 if (!SWIG_IsOK(res2
)) {
13473 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PopupTransientWindow_Popup" "', expected argument " "2"" of type '" "wxWindow *""'");
13475 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
13478 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13479 (arg1
)->Popup(arg2
);
13480 wxPyEndAllowThreads(__tstate
);
13481 if (PyErr_Occurred()) SWIG_fail
;
13483 resultobj
= SWIG_Py_Void();
13490 SWIGINTERN PyObject
*_wrap_PopupTransientWindow_Dismiss(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13491 PyObject
*resultobj
= 0;
13492 wxPyPopupTransientWindow
*arg1
= (wxPyPopupTransientWindow
*) 0 ;
13495 PyObject
*swig_obj
[1] ;
13497 if (!args
) SWIG_fail
;
13498 swig_obj
[0] = args
;
13499 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPopupTransientWindow
, 0 | 0 );
13500 if (!SWIG_IsOK(res1
)) {
13501 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PopupTransientWindow_Dismiss" "', expected argument " "1"" of type '" "wxPyPopupTransientWindow *""'");
13503 arg1
= reinterpret_cast< wxPyPopupTransientWindow
* >(argp1
);
13505 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13507 wxPyEndAllowThreads(__tstate
);
13508 if (PyErr_Occurred()) SWIG_fail
;
13510 resultobj
= SWIG_Py_Void();
13517 SWIGINTERN PyObject
*PopupTransientWindow_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13519 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
13520 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyPopupTransientWindow
, SWIG_NewClientData(obj
));
13521 return SWIG_Py_Void();
13524 SWIGINTERN PyObject
*PopupTransientWindow_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13525 return SWIG_Python_InitShadowInstance(args
);
13528 SWIGINTERN PyObject
*_wrap_new_TipWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13529 PyObject
*resultobj
= 0;
13530 wxWindow
*arg1
= (wxWindow
*) 0 ;
13531 wxString
*arg2
= 0 ;
13532 int arg3
= (int) 100 ;
13533 wxRect
*arg4
= (wxRect
*) NULL
;
13534 wxTipWindow
*result
= 0 ;
13537 bool temp2
= false ;
13542 PyObject
* obj0
= 0 ;
13543 PyObject
* obj1
= 0 ;
13544 PyObject
* obj2
= 0 ;
13545 PyObject
* obj3
= 0 ;
13546 char * kwnames
[] = {
13547 (char *) "parent",(char *) "text",(char *) "maxLength",(char *) "rectBound", NULL
13550 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:new_TipWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
13551 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
13552 if (!SWIG_IsOK(res1
)) {
13553 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_TipWindow" "', expected argument " "1"" of type '" "wxWindow *""'");
13555 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
13557 arg2
= wxString_in_helper(obj1
);
13558 if (arg2
== NULL
) SWIG_fail
;
13562 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
13563 if (!SWIG_IsOK(ecode3
)) {
13564 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_TipWindow" "', expected argument " "3"" of type '" "int""'");
13566 arg3
= static_cast< int >(val3
);
13569 res4
= SWIG_ConvertPtr(obj3
, &argp4
,SWIGTYPE_p_wxRect
, 0 | 0 );
13570 if (!SWIG_IsOK(res4
)) {
13571 SWIG_exception_fail(SWIG_ArgError(res4
), "in method '" "new_TipWindow" "', expected argument " "4"" of type '" "wxRect *""'");
13573 arg4
= reinterpret_cast< wxRect
* >(argp4
);
13576 if (!wxPyCheckForApp()) SWIG_fail
;
13577 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13578 result
= (wxTipWindow
*)new_wxTipWindow(arg1
,(wxString
const &)*arg2
,arg3
,arg4
);
13579 wxPyEndAllowThreads(__tstate
);
13580 if (PyErr_Occurred()) SWIG_fail
;
13582 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxTipWindow
, SWIG_POINTER_NEW
| 0 );
13597 SWIGINTERN PyObject
*_wrap_TipWindow_SetBoundingRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13598 PyObject
*resultobj
= 0;
13599 wxTipWindow
*arg1
= (wxTipWindow
*) 0 ;
13604 PyObject
* obj0
= 0 ;
13605 PyObject
* obj1
= 0 ;
13606 char * kwnames
[] = {
13607 (char *) "self",(char *) "rectBound", NULL
13610 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TipWindow_SetBoundingRect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13611 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTipWindow
, 0 | 0 );
13612 if (!SWIG_IsOK(res1
)) {
13613 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TipWindow_SetBoundingRect" "', expected argument " "1"" of type '" "wxTipWindow *""'");
13615 arg1
= reinterpret_cast< wxTipWindow
* >(argp1
);
13618 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
13621 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13622 (arg1
)->SetBoundingRect((wxRect
const &)*arg2
);
13623 wxPyEndAllowThreads(__tstate
);
13624 if (PyErr_Occurred()) SWIG_fail
;
13626 resultobj
= SWIG_Py_Void();
13633 SWIGINTERN PyObject
*_wrap_TipWindow_Close(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13634 PyObject
*resultobj
= 0;
13635 wxTipWindow
*arg1
= (wxTipWindow
*) 0 ;
13638 PyObject
*swig_obj
[1] ;
13640 if (!args
) SWIG_fail
;
13641 swig_obj
[0] = args
;
13642 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTipWindow
, 0 | 0 );
13643 if (!SWIG_IsOK(res1
)) {
13644 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TipWindow_Close" "', expected argument " "1"" of type '" "wxTipWindow *""'");
13646 arg1
= reinterpret_cast< wxTipWindow
* >(argp1
);
13648 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13650 wxPyEndAllowThreads(__tstate
);
13651 if (PyErr_Occurred()) SWIG_fail
;
13653 resultobj
= SWIG_Py_Void();
13660 SWIGINTERN PyObject
*TipWindow_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13662 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
13663 SWIG_TypeNewClientData(SWIGTYPE_p_wxTipWindow
, SWIG_NewClientData(obj
));
13664 return SWIG_Py_Void();
13667 SWIGINTERN PyObject
*TipWindow_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13668 return SWIG_Python_InitShadowInstance(args
);
13671 SWIGINTERN PyObject
*_wrap_new_VScrolledWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13672 PyObject
*resultobj
= 0;
13673 wxWindow
*arg1
= (wxWindow
*) 0 ;
13674 int arg2
= (int) wxID_ANY
;
13675 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
13676 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
13677 wxSize
const &arg4_defvalue
= wxDefaultSize
;
13678 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
13679 long arg5
= (long) 0 ;
13680 wxString
const &arg6_defvalue
= wxPyPanelNameStr
;
13681 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
13682 wxPyVScrolledWindow
*result
= 0 ;
13691 bool temp6
= false ;
13692 PyObject
* obj0
= 0 ;
13693 PyObject
* obj1
= 0 ;
13694 PyObject
* obj2
= 0 ;
13695 PyObject
* obj3
= 0 ;
13696 PyObject
* obj4
= 0 ;
13697 PyObject
* obj5
= 0 ;
13698 char * kwnames
[] = {
13699 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
13702 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_VScrolledWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
13703 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
13704 if (!SWIG_IsOK(res1
)) {
13705 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_VScrolledWindow" "', expected argument " "1"" of type '" "wxWindow *""'");
13707 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
13709 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
13710 if (!SWIG_IsOK(ecode2
)) {
13711 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_VScrolledWindow" "', expected argument " "2"" of type '" "int""'");
13713 arg2
= static_cast< int >(val2
);
13718 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
13724 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
13728 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
13729 if (!SWIG_IsOK(ecode5
)) {
13730 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_VScrolledWindow" "', expected argument " "5"" of type '" "long""'");
13732 arg5
= static_cast< long >(val5
);
13736 arg6
= wxString_in_helper(obj5
);
13737 if (arg6
== NULL
) SWIG_fail
;
13742 if (!wxPyCheckForApp()) SWIG_fail
;
13743 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13744 result
= (wxPyVScrolledWindow
*)new wxPyVScrolledWindow(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
13745 wxPyEndAllowThreads(__tstate
);
13746 if (PyErr_Occurred()) SWIG_fail
;
13748 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyVScrolledWindow
, SWIG_POINTER_NEW
| 0 );
13763 SWIGINTERN PyObject
*_wrap_new_PreVScrolledWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13764 PyObject
*resultobj
= 0;
13765 wxPyVScrolledWindow
*result
= 0 ;
13767 if (!SWIG_Python_UnpackTuple(args
,"new_PreVScrolledWindow",0,0,0)) SWIG_fail
;
13769 if (!wxPyCheckForApp()) SWIG_fail
;
13770 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13771 result
= (wxPyVScrolledWindow
*)new wxPyVScrolledWindow();
13772 wxPyEndAllowThreads(__tstate
);
13773 if (PyErr_Occurred()) SWIG_fail
;
13775 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyVScrolledWindow
, SWIG_POINTER_OWN
| 0 );
13782 SWIGINTERN PyObject
*_wrap_VScrolledWindow__setCallbackInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13783 PyObject
*resultobj
= 0;
13784 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
13785 PyObject
*arg2
= (PyObject
*) 0 ;
13786 PyObject
*arg3
= (PyObject
*) 0 ;
13789 PyObject
* obj0
= 0 ;
13790 PyObject
* obj1
= 0 ;
13791 PyObject
* obj2
= 0 ;
13792 char * kwnames
[] = {
13793 (char *) "self",(char *) "self",(char *) "_class", NULL
13796 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:VScrolledWindow__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
13797 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyVScrolledWindow
, 0 | 0 );
13798 if (!SWIG_IsOK(res1
)) {
13799 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VScrolledWindow__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyVScrolledWindow *""'");
13801 arg1
= reinterpret_cast< wxPyVScrolledWindow
* >(argp1
);
13805 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13806 (arg1
)->_setCallbackInfo(arg2
,arg3
);
13807 wxPyEndAllowThreads(__tstate
);
13808 if (PyErr_Occurred()) SWIG_fail
;
13810 resultobj
= SWIG_Py_Void();
13817 SWIGINTERN PyObject
*_wrap_VScrolledWindow_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13818 PyObject
*resultobj
= 0;
13819 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
13820 wxWindow
*arg2
= (wxWindow
*) 0 ;
13821 int arg3
= (int) wxID_ANY
;
13822 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
13823 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
13824 wxSize
const &arg5_defvalue
= wxDefaultSize
;
13825 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
13826 long arg6
= (long) 0 ;
13827 wxString
const &arg7_defvalue
= wxPyPanelNameStr
;
13828 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
13840 bool temp7
= false ;
13841 PyObject
* obj0
= 0 ;
13842 PyObject
* obj1
= 0 ;
13843 PyObject
* obj2
= 0 ;
13844 PyObject
* obj3
= 0 ;
13845 PyObject
* obj4
= 0 ;
13846 PyObject
* obj5
= 0 ;
13847 PyObject
* obj6
= 0 ;
13848 char * kwnames
[] = {
13849 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
13852 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:VScrolledWindow_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
13853 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyVScrolledWindow
, 0 | 0 );
13854 if (!SWIG_IsOK(res1
)) {
13855 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VScrolledWindow_Create" "', expected argument " "1"" of type '" "wxPyVScrolledWindow *""'");
13857 arg1
= reinterpret_cast< wxPyVScrolledWindow
* >(argp1
);
13858 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
13859 if (!SWIG_IsOK(res2
)) {
13860 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "VScrolledWindow_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
13862 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
13864 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
13865 if (!SWIG_IsOK(ecode3
)) {
13866 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "VScrolledWindow_Create" "', expected argument " "3"" of type '" "int""'");
13868 arg3
= static_cast< int >(val3
);
13873 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
13879 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
13883 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
13884 if (!SWIG_IsOK(ecode6
)) {
13885 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "VScrolledWindow_Create" "', expected argument " "6"" of type '" "long""'");
13887 arg6
= static_cast< long >(val6
);
13891 arg7
= wxString_in_helper(obj6
);
13892 if (arg7
== NULL
) SWIG_fail
;
13897 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13898 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
13899 wxPyEndAllowThreads(__tstate
);
13900 if (PyErr_Occurred()) SWIG_fail
;
13903 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13919 SWIGINTERN PyObject
*_wrap_VScrolledWindow_SetLineCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13920 PyObject
*resultobj
= 0;
13921 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
13927 PyObject
* obj0
= 0 ;
13928 PyObject
* obj1
= 0 ;
13929 char * kwnames
[] = {
13930 (char *) "self",(char *) "count", NULL
13933 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VScrolledWindow_SetLineCount",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13934 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyVScrolledWindow
, 0 | 0 );
13935 if (!SWIG_IsOK(res1
)) {
13936 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VScrolledWindow_SetLineCount" "', expected argument " "1"" of type '" "wxPyVScrolledWindow *""'");
13938 arg1
= reinterpret_cast< wxPyVScrolledWindow
* >(argp1
);
13939 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
13940 if (!SWIG_IsOK(ecode2
)) {
13941 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "VScrolledWindow_SetLineCount" "', expected argument " "2"" of type '" "size_t""'");
13943 arg2
= static_cast< size_t >(val2
);
13945 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13946 (arg1
)->SetLineCount(arg2
);
13947 wxPyEndAllowThreads(__tstate
);
13948 if (PyErr_Occurred()) SWIG_fail
;
13950 resultobj
= SWIG_Py_Void();
13957 SWIGINTERN PyObject
*_wrap_VScrolledWindow_ScrollToLine(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13958 PyObject
*resultobj
= 0;
13959 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
13966 PyObject
* obj0
= 0 ;
13967 PyObject
* obj1
= 0 ;
13968 char * kwnames
[] = {
13969 (char *) "self",(char *) "line", NULL
13972 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VScrolledWindow_ScrollToLine",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13973 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyVScrolledWindow
, 0 | 0 );
13974 if (!SWIG_IsOK(res1
)) {
13975 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VScrolledWindow_ScrollToLine" "', expected argument " "1"" of type '" "wxPyVScrolledWindow *""'");
13977 arg1
= reinterpret_cast< wxPyVScrolledWindow
* >(argp1
);
13978 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
13979 if (!SWIG_IsOK(ecode2
)) {
13980 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "VScrolledWindow_ScrollToLine" "', expected argument " "2"" of type '" "size_t""'");
13982 arg2
= static_cast< size_t >(val2
);
13984 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13985 result
= (bool)(arg1
)->ScrollToLine(arg2
);
13986 wxPyEndAllowThreads(__tstate
);
13987 if (PyErr_Occurred()) SWIG_fail
;
13990 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13998 SWIGINTERN PyObject
*_wrap_VScrolledWindow_RefreshLine(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13999 PyObject
*resultobj
= 0;
14000 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
14006 PyObject
* obj0
= 0 ;
14007 PyObject
* obj1
= 0 ;
14008 char * kwnames
[] = {
14009 (char *) "self",(char *) "line", NULL
14012 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VScrolledWindow_RefreshLine",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
14013 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyVScrolledWindow
, 0 | 0 );
14014 if (!SWIG_IsOK(res1
)) {
14015 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VScrolledWindow_RefreshLine" "', expected argument " "1"" of type '" "wxPyVScrolledWindow *""'");
14017 arg1
= reinterpret_cast< wxPyVScrolledWindow
* >(argp1
);
14018 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
14019 if (!SWIG_IsOK(ecode2
)) {
14020 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "VScrolledWindow_RefreshLine" "', expected argument " "2"" of type '" "size_t""'");
14022 arg2
= static_cast< size_t >(val2
);
14024 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14025 (arg1
)->RefreshLine(arg2
);
14026 wxPyEndAllowThreads(__tstate
);
14027 if (PyErr_Occurred()) SWIG_fail
;
14029 resultobj
= SWIG_Py_Void();
14036 SWIGINTERN PyObject
*_wrap_VScrolledWindow_RefreshLines(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14037 PyObject
*resultobj
= 0;
14038 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
14047 PyObject
* obj0
= 0 ;
14048 PyObject
* obj1
= 0 ;
14049 PyObject
* obj2
= 0 ;
14050 char * kwnames
[] = {
14051 (char *) "self",(char *) "from",(char *) "to", NULL
14054 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:VScrolledWindow_RefreshLines",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
14055 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyVScrolledWindow
, 0 | 0 );
14056 if (!SWIG_IsOK(res1
)) {
14057 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VScrolledWindow_RefreshLines" "', expected argument " "1"" of type '" "wxPyVScrolledWindow *""'");
14059 arg1
= reinterpret_cast< wxPyVScrolledWindow
* >(argp1
);
14060 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
14061 if (!SWIG_IsOK(ecode2
)) {
14062 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "VScrolledWindow_RefreshLines" "', expected argument " "2"" of type '" "size_t""'");
14064 arg2
= static_cast< size_t >(val2
);
14065 ecode3
= SWIG_AsVal_size_t(obj2
, &val3
);
14066 if (!SWIG_IsOK(ecode3
)) {
14067 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "VScrolledWindow_RefreshLines" "', expected argument " "3"" of type '" "size_t""'");
14069 arg3
= static_cast< size_t >(val3
);
14071 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14072 (arg1
)->RefreshLines(arg2
,arg3
);
14073 wxPyEndAllowThreads(__tstate
);
14074 if (PyErr_Occurred()) SWIG_fail
;
14076 resultobj
= SWIG_Py_Void();
14083 SWIGINTERN PyObject
*_wrap_VScrolledWindow_HitTestXY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14084 PyObject
*resultobj
= 0;
14085 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
14095 PyObject
* obj0
= 0 ;
14096 PyObject
* obj1
= 0 ;
14097 PyObject
* obj2
= 0 ;
14098 char * kwnames
[] = {
14099 (char *) "self",(char *) "x",(char *) "y", NULL
14102 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:VScrolledWindow_HitTestXY",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
14103 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyVScrolledWindow
, 0 | 0 );
14104 if (!SWIG_IsOK(res1
)) {
14105 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VScrolledWindow_HitTestXY" "', expected argument " "1"" of type '" "wxPyVScrolledWindow const *""'");
14107 arg1
= reinterpret_cast< wxPyVScrolledWindow
* >(argp1
);
14108 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
14109 if (!SWIG_IsOK(ecode2
)) {
14110 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "VScrolledWindow_HitTestXY" "', expected argument " "2"" of type '" "int""'");
14112 arg2
= static_cast< int >(val2
);
14113 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
14114 if (!SWIG_IsOK(ecode3
)) {
14115 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "VScrolledWindow_HitTestXY" "', expected argument " "3"" of type '" "int""'");
14117 arg3
= static_cast< int >(val3
);
14119 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14120 result
= (int)((wxPyVScrolledWindow
const *)arg1
)->HitTest(arg2
,arg3
);
14121 wxPyEndAllowThreads(__tstate
);
14122 if (PyErr_Occurred()) SWIG_fail
;
14124 resultobj
= SWIG_From_int(static_cast< int >(result
));
14131 SWIGINTERN PyObject
*_wrap_VScrolledWindow_HitTest(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14132 PyObject
*resultobj
= 0;
14133 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
14134 wxPoint
*arg2
= 0 ;
14139 PyObject
* obj0
= 0 ;
14140 PyObject
* obj1
= 0 ;
14141 char * kwnames
[] = {
14142 (char *) "self",(char *) "pt", NULL
14145 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VScrolledWindow_HitTest",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
14146 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyVScrolledWindow
, 0 | 0 );
14147 if (!SWIG_IsOK(res1
)) {
14148 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VScrolledWindow_HitTest" "', expected argument " "1"" of type '" "wxPyVScrolledWindow const *""'");
14150 arg1
= reinterpret_cast< wxPyVScrolledWindow
* >(argp1
);
14153 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
14156 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14157 result
= (int)((wxPyVScrolledWindow
const *)arg1
)->HitTest((wxPoint
const &)*arg2
);
14158 wxPyEndAllowThreads(__tstate
);
14159 if (PyErr_Occurred()) SWIG_fail
;
14161 resultobj
= SWIG_From_int(static_cast< int >(result
));
14168 SWIGINTERN PyObject
*_wrap_VScrolledWindow_RefreshAll(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14169 PyObject
*resultobj
= 0;
14170 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
14173 PyObject
*swig_obj
[1] ;
14175 if (!args
) SWIG_fail
;
14176 swig_obj
[0] = args
;
14177 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyVScrolledWindow
, 0 | 0 );
14178 if (!SWIG_IsOK(res1
)) {
14179 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VScrolledWindow_RefreshAll" "', expected argument " "1"" of type '" "wxPyVScrolledWindow *""'");
14181 arg1
= reinterpret_cast< wxPyVScrolledWindow
* >(argp1
);
14183 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14184 (arg1
)->RefreshAll();
14185 wxPyEndAllowThreads(__tstate
);
14186 if (PyErr_Occurred()) SWIG_fail
;
14188 resultobj
= SWIG_Py_Void();
14195 SWIGINTERN PyObject
*_wrap_VScrolledWindow_GetLineCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14196 PyObject
*resultobj
= 0;
14197 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
14201 PyObject
*swig_obj
[1] ;
14203 if (!args
) SWIG_fail
;
14204 swig_obj
[0] = args
;
14205 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyVScrolledWindow
, 0 | 0 );
14206 if (!SWIG_IsOK(res1
)) {
14207 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VScrolledWindow_GetLineCount" "', expected argument " "1"" of type '" "wxPyVScrolledWindow const *""'");
14209 arg1
= reinterpret_cast< wxPyVScrolledWindow
* >(argp1
);
14211 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14212 result
= (size_t)((wxPyVScrolledWindow
const *)arg1
)->GetLineCount();
14213 wxPyEndAllowThreads(__tstate
);
14214 if (PyErr_Occurred()) SWIG_fail
;
14216 resultobj
= SWIG_From_size_t(static_cast< size_t >(result
));
14223 SWIGINTERN PyObject
*_wrap_VScrolledWindow_GetVisibleBegin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14224 PyObject
*resultobj
= 0;
14225 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
14229 PyObject
*swig_obj
[1] ;
14231 if (!args
) SWIG_fail
;
14232 swig_obj
[0] = args
;
14233 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyVScrolledWindow
, 0 | 0 );
14234 if (!SWIG_IsOK(res1
)) {
14235 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VScrolledWindow_GetVisibleBegin" "', expected argument " "1"" of type '" "wxPyVScrolledWindow const *""'");
14237 arg1
= reinterpret_cast< wxPyVScrolledWindow
* >(argp1
);
14239 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14240 result
= (size_t)((wxPyVScrolledWindow
const *)arg1
)->GetVisibleBegin();
14241 wxPyEndAllowThreads(__tstate
);
14242 if (PyErr_Occurred()) SWIG_fail
;
14244 resultobj
= SWIG_From_size_t(static_cast< size_t >(result
));
14251 SWIGINTERN PyObject
*_wrap_VScrolledWindow_GetVisibleEnd(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14252 PyObject
*resultobj
= 0;
14253 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
14257 PyObject
*swig_obj
[1] ;
14259 if (!args
) SWIG_fail
;
14260 swig_obj
[0] = args
;
14261 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyVScrolledWindow
, 0 | 0 );
14262 if (!SWIG_IsOK(res1
)) {
14263 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VScrolledWindow_GetVisibleEnd" "', expected argument " "1"" of type '" "wxPyVScrolledWindow const *""'");
14265 arg1
= reinterpret_cast< wxPyVScrolledWindow
* >(argp1
);
14267 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14268 result
= (size_t)((wxPyVScrolledWindow
const *)arg1
)->GetVisibleEnd();
14269 wxPyEndAllowThreads(__tstate
);
14270 if (PyErr_Occurred()) SWIG_fail
;
14272 resultobj
= SWIG_From_size_t(static_cast< size_t >(result
));
14279 SWIGINTERN PyObject
*_wrap_VScrolledWindow_IsVisible(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14280 PyObject
*resultobj
= 0;
14281 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
14288 PyObject
* obj0
= 0 ;
14289 PyObject
* obj1
= 0 ;
14290 char * kwnames
[] = {
14291 (char *) "self",(char *) "line", NULL
14294 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VScrolledWindow_IsVisible",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
14295 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyVScrolledWindow
, 0 | 0 );
14296 if (!SWIG_IsOK(res1
)) {
14297 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VScrolledWindow_IsVisible" "', expected argument " "1"" of type '" "wxPyVScrolledWindow const *""'");
14299 arg1
= reinterpret_cast< wxPyVScrolledWindow
* >(argp1
);
14300 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
14301 if (!SWIG_IsOK(ecode2
)) {
14302 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "VScrolledWindow_IsVisible" "', expected argument " "2"" of type '" "size_t""'");
14304 arg2
= static_cast< size_t >(val2
);
14306 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14307 result
= (bool)((wxPyVScrolledWindow
const *)arg1
)->IsVisible(arg2
);
14308 wxPyEndAllowThreads(__tstate
);
14309 if (PyErr_Occurred()) SWIG_fail
;
14312 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14320 SWIGINTERN PyObject
*_wrap_VScrolledWindow_GetFirstVisibleLine(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14321 PyObject
*resultobj
= 0;
14322 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
14326 PyObject
*swig_obj
[1] ;
14328 if (!args
) SWIG_fail
;
14329 swig_obj
[0] = args
;
14330 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyVScrolledWindow
, 0 | 0 );
14331 if (!SWIG_IsOK(res1
)) {
14332 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VScrolledWindow_GetFirstVisibleLine" "', expected argument " "1"" of type '" "wxPyVScrolledWindow const *""'");
14334 arg1
= reinterpret_cast< wxPyVScrolledWindow
* >(argp1
);
14336 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14337 result
= (size_t)((wxPyVScrolledWindow
const *)arg1
)->GetFirstVisibleLine();
14338 wxPyEndAllowThreads(__tstate
);
14339 if (PyErr_Occurred()) SWIG_fail
;
14341 resultobj
= SWIG_From_size_t(static_cast< size_t >(result
));
14348 SWIGINTERN PyObject
*_wrap_VScrolledWindow_GetLastVisibleLine(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14349 PyObject
*resultobj
= 0;
14350 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
14354 PyObject
*swig_obj
[1] ;
14356 if (!args
) SWIG_fail
;
14357 swig_obj
[0] = args
;
14358 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyVScrolledWindow
, 0 | 0 );
14359 if (!SWIG_IsOK(res1
)) {
14360 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VScrolledWindow_GetLastVisibleLine" "', expected argument " "1"" of type '" "wxPyVScrolledWindow const *""'");
14362 arg1
= reinterpret_cast< wxPyVScrolledWindow
* >(argp1
);
14364 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14365 result
= (size_t)((wxPyVScrolledWindow
const *)arg1
)->GetLastVisibleLine();
14366 wxPyEndAllowThreads(__tstate
);
14367 if (PyErr_Occurred()) SWIG_fail
;
14369 resultobj
= SWIG_From_size_t(static_cast< size_t >(result
));
14376 SWIGINTERN PyObject
*_wrap_VScrolledWindow_FindFirstFromBottom(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14377 PyObject
*resultobj
= 0;
14378 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
14380 bool arg3
= (bool) false ;
14388 PyObject
* obj0
= 0 ;
14389 PyObject
* obj1
= 0 ;
14390 PyObject
* obj2
= 0 ;
14391 char * kwnames
[] = {
14392 (char *) "self",(char *) "lineLast",(char *) "fullyVisible", NULL
14395 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:VScrolledWindow_FindFirstFromBottom",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
14396 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyVScrolledWindow
, 0 | 0 );
14397 if (!SWIG_IsOK(res1
)) {
14398 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VScrolledWindow_FindFirstFromBottom" "', expected argument " "1"" of type '" "wxPyVScrolledWindow *""'");
14400 arg1
= reinterpret_cast< wxPyVScrolledWindow
* >(argp1
);
14401 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
14402 if (!SWIG_IsOK(ecode2
)) {
14403 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "VScrolledWindow_FindFirstFromBottom" "', expected argument " "2"" of type '" "size_t""'");
14405 arg2
= static_cast< size_t >(val2
);
14407 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
14408 if (!SWIG_IsOK(ecode3
)) {
14409 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "VScrolledWindow_FindFirstFromBottom" "', expected argument " "3"" of type '" "bool""'");
14411 arg3
= static_cast< bool >(val3
);
14414 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14415 result
= (size_t)(arg1
)->FindFirstFromBottom(arg2
,arg3
);
14416 wxPyEndAllowThreads(__tstate
);
14417 if (PyErr_Occurred()) SWIG_fail
;
14419 resultobj
= SWIG_From_size_t(static_cast< size_t >(result
));
14426 SWIGINTERN PyObject
*_wrap_VScrolledWindow_GetLinesHeight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14427 PyObject
*resultobj
= 0;
14428 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
14438 PyObject
* obj0
= 0 ;
14439 PyObject
* obj1
= 0 ;
14440 PyObject
* obj2
= 0 ;
14441 char * kwnames
[] = {
14442 (char *) "self",(char *) "lineMin",(char *) "lineMax", NULL
14445 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:VScrolledWindow_GetLinesHeight",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
14446 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyVScrolledWindow
, 0 | 0 );
14447 if (!SWIG_IsOK(res1
)) {
14448 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VScrolledWindow_GetLinesHeight" "', expected argument " "1"" of type '" "wxPyVScrolledWindow const *""'");
14450 arg1
= reinterpret_cast< wxPyVScrolledWindow
* >(argp1
);
14451 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
14452 if (!SWIG_IsOK(ecode2
)) {
14453 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "VScrolledWindow_GetLinesHeight" "', expected argument " "2"" of type '" "size_t""'");
14455 arg2
= static_cast< size_t >(val2
);
14456 ecode3
= SWIG_AsVal_size_t(obj2
, &val3
);
14457 if (!SWIG_IsOK(ecode3
)) {
14458 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "VScrolledWindow_GetLinesHeight" "', expected argument " "3"" of type '" "size_t""'");
14460 arg3
= static_cast< size_t >(val3
);
14462 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14463 result
= (int)((wxPyVScrolledWindow
const *)arg1
)->GetLinesHeight(arg2
,arg3
);
14464 wxPyEndAllowThreads(__tstate
);
14465 if (PyErr_Occurred()) SWIG_fail
;
14467 resultobj
= SWIG_From_int(static_cast< int >(result
));
14474 SWIGINTERN PyObject
*VScrolledWindow_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14476 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
14477 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyVScrolledWindow
, SWIG_NewClientData(obj
));
14478 return SWIG_Py_Void();
14481 SWIGINTERN PyObject
*VScrolledWindow_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14482 return SWIG_Python_InitShadowInstance(args
);
14485 SWIGINTERN
int VListBoxNameStr_set(PyObject
*) {
14486 SWIG_Error(SWIG_AttributeError
,"Variable VListBoxNameStr is read-only.");
14491 SWIGINTERN PyObject
*VListBoxNameStr_get(void) {
14492 PyObject
*pyobj
= 0;
14496 pyobj
= PyUnicode_FromWideChar((&wxPyVListBoxNameStr
)->c_str(), (&wxPyVListBoxNameStr
)->Len());
14498 pyobj
= PyString_FromStringAndSize((&wxPyVListBoxNameStr
)->c_str(), (&wxPyVListBoxNameStr
)->Len());
14505 SWIGINTERN PyObject
*_wrap_new_VListBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14506 PyObject
*resultobj
= 0;
14507 wxWindow
*arg1
= (wxWindow
*) 0 ;
14508 int arg2
= (int) wxID_ANY
;
14509 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
14510 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
14511 wxSize
const &arg4_defvalue
= wxDefaultSize
;
14512 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
14513 long arg5
= (long) 0 ;
14514 wxString
const &arg6_defvalue
= wxPyVListBoxNameStr
;
14515 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
14516 wxPyVListBox
*result
= 0 ;
14525 bool temp6
= false ;
14526 PyObject
* obj0
= 0 ;
14527 PyObject
* obj1
= 0 ;
14528 PyObject
* obj2
= 0 ;
14529 PyObject
* obj3
= 0 ;
14530 PyObject
* obj4
= 0 ;
14531 PyObject
* obj5
= 0 ;
14532 char * kwnames
[] = {
14533 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
14536 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_VListBox",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
14537 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
14538 if (!SWIG_IsOK(res1
)) {
14539 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_VListBox" "', expected argument " "1"" of type '" "wxWindow *""'");
14541 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
14543 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
14544 if (!SWIG_IsOK(ecode2
)) {
14545 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_VListBox" "', expected argument " "2"" of type '" "int""'");
14547 arg2
= static_cast< int >(val2
);
14552 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
14558 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
14562 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
14563 if (!SWIG_IsOK(ecode5
)) {
14564 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_VListBox" "', expected argument " "5"" of type '" "long""'");
14566 arg5
= static_cast< long >(val5
);
14570 arg6
= wxString_in_helper(obj5
);
14571 if (arg6
== NULL
) SWIG_fail
;
14576 if (!wxPyCheckForApp()) SWIG_fail
;
14577 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14578 result
= (wxPyVListBox
*)new wxPyVListBox(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
14579 wxPyEndAllowThreads(__tstate
);
14580 if (PyErr_Occurred()) SWIG_fail
;
14582 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyVListBox
, SWIG_POINTER_NEW
| 0 );
14597 SWIGINTERN PyObject
*_wrap_new_PreVListBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14598 PyObject
*resultobj
= 0;
14599 wxPyVListBox
*result
= 0 ;
14601 if (!SWIG_Python_UnpackTuple(args
,"new_PreVListBox",0,0,0)) SWIG_fail
;
14603 if (!wxPyCheckForApp()) SWIG_fail
;
14604 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14605 result
= (wxPyVListBox
*)new wxPyVListBox();
14606 wxPyEndAllowThreads(__tstate
);
14607 if (PyErr_Occurred()) SWIG_fail
;
14609 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyVListBox
, SWIG_POINTER_OWN
| 0 );
14616 SWIGINTERN PyObject
*_wrap_VListBox__setCallbackInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14617 PyObject
*resultobj
= 0;
14618 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
14619 PyObject
*arg2
= (PyObject
*) 0 ;
14620 PyObject
*arg3
= (PyObject
*) 0 ;
14623 PyObject
* obj0
= 0 ;
14624 PyObject
* obj1
= 0 ;
14625 PyObject
* obj2
= 0 ;
14626 char * kwnames
[] = {
14627 (char *) "self",(char *) "self",(char *) "_class", NULL
14630 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:VListBox__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
14631 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyVListBox
, 0 | 0 );
14632 if (!SWIG_IsOK(res1
)) {
14633 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VListBox__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
14635 arg1
= reinterpret_cast< wxPyVListBox
* >(argp1
);
14639 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14640 (arg1
)->_setCallbackInfo(arg2
,arg3
);
14641 wxPyEndAllowThreads(__tstate
);
14642 if (PyErr_Occurred()) SWIG_fail
;
14644 resultobj
= SWIG_Py_Void();
14651 SWIGINTERN PyObject
*_wrap_VListBox_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14652 PyObject
*resultobj
= 0;
14653 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
14654 wxWindow
*arg2
= (wxWindow
*) 0 ;
14655 int arg3
= (int) wxID_ANY
;
14656 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
14657 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
14658 wxSize
const &arg5_defvalue
= wxDefaultSize
;
14659 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
14660 long arg6
= (long) 0 ;
14661 wxString
const &arg7_defvalue
= wxPyVListBoxNameStr
;
14662 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
14674 bool temp7
= false ;
14675 PyObject
* obj0
= 0 ;
14676 PyObject
* obj1
= 0 ;
14677 PyObject
* obj2
= 0 ;
14678 PyObject
* obj3
= 0 ;
14679 PyObject
* obj4
= 0 ;
14680 PyObject
* obj5
= 0 ;
14681 PyObject
* obj6
= 0 ;
14682 char * kwnames
[] = {
14683 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
14686 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:VListBox_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
14687 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyVListBox
, 0 | 0 );
14688 if (!SWIG_IsOK(res1
)) {
14689 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VListBox_Create" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
14691 arg1
= reinterpret_cast< wxPyVListBox
* >(argp1
);
14692 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
14693 if (!SWIG_IsOK(res2
)) {
14694 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "VListBox_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
14696 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
14698 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
14699 if (!SWIG_IsOK(ecode3
)) {
14700 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "VListBox_Create" "', expected argument " "3"" of type '" "int""'");
14702 arg3
= static_cast< int >(val3
);
14707 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
14713 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
14717 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
14718 if (!SWIG_IsOK(ecode6
)) {
14719 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "VListBox_Create" "', expected argument " "6"" of type '" "long""'");
14721 arg6
= static_cast< long >(val6
);
14725 arg7
= wxString_in_helper(obj6
);
14726 if (arg7
== NULL
) SWIG_fail
;
14731 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14732 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
14733 wxPyEndAllowThreads(__tstate
);
14734 if (PyErr_Occurred()) SWIG_fail
;
14737 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14753 SWIGINTERN PyObject
*_wrap_VListBox_GetItemCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14754 PyObject
*resultobj
= 0;
14755 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
14759 PyObject
*swig_obj
[1] ;
14761 if (!args
) SWIG_fail
;
14762 swig_obj
[0] = args
;
14763 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyVListBox
, 0 | 0 );
14764 if (!SWIG_IsOK(res1
)) {
14765 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VListBox_GetItemCount" "', expected argument " "1"" of type '" "wxPyVListBox const *""'");
14767 arg1
= reinterpret_cast< wxPyVListBox
* >(argp1
);
14769 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14770 result
= (size_t)((wxPyVListBox
const *)arg1
)->GetItemCount();
14771 wxPyEndAllowThreads(__tstate
);
14772 if (PyErr_Occurred()) SWIG_fail
;
14774 resultobj
= SWIG_From_size_t(static_cast< size_t >(result
));
14781 SWIGINTERN PyObject
*_wrap_VListBox_HasMultipleSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14782 PyObject
*resultobj
= 0;
14783 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
14787 PyObject
*swig_obj
[1] ;
14789 if (!args
) SWIG_fail
;
14790 swig_obj
[0] = args
;
14791 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyVListBox
, 0 | 0 );
14792 if (!SWIG_IsOK(res1
)) {
14793 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VListBox_HasMultipleSelection" "', expected argument " "1"" of type '" "wxPyVListBox const *""'");
14795 arg1
= reinterpret_cast< wxPyVListBox
* >(argp1
);
14797 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14798 result
= (bool)((wxPyVListBox
const *)arg1
)->HasMultipleSelection();
14799 wxPyEndAllowThreads(__tstate
);
14800 if (PyErr_Occurred()) SWIG_fail
;
14803 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14811 SWIGINTERN PyObject
*_wrap_VListBox_GetSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14812 PyObject
*resultobj
= 0;
14813 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
14817 PyObject
*swig_obj
[1] ;
14819 if (!args
) SWIG_fail
;
14820 swig_obj
[0] = args
;
14821 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyVListBox
, 0 | 0 );
14822 if (!SWIG_IsOK(res1
)) {
14823 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VListBox_GetSelection" "', expected argument " "1"" of type '" "wxPyVListBox const *""'");
14825 arg1
= reinterpret_cast< wxPyVListBox
* >(argp1
);
14827 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14828 result
= (int)((wxPyVListBox
const *)arg1
)->GetSelection();
14829 wxPyEndAllowThreads(__tstate
);
14830 if (PyErr_Occurred()) SWIG_fail
;
14832 resultobj
= SWIG_From_int(static_cast< int >(result
));
14839 SWIGINTERN PyObject
*_wrap_VListBox_IsCurrent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14840 PyObject
*resultobj
= 0;
14841 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
14848 PyObject
* obj0
= 0 ;
14849 PyObject
* obj1
= 0 ;
14850 char * kwnames
[] = {
14851 (char *) "self",(char *) "item", NULL
14854 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VListBox_IsCurrent",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
14855 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyVListBox
, 0 | 0 );
14856 if (!SWIG_IsOK(res1
)) {
14857 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VListBox_IsCurrent" "', expected argument " "1"" of type '" "wxPyVListBox const *""'");
14859 arg1
= reinterpret_cast< wxPyVListBox
* >(argp1
);
14860 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
14861 if (!SWIG_IsOK(ecode2
)) {
14862 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "VListBox_IsCurrent" "', expected argument " "2"" of type '" "size_t""'");
14864 arg2
= static_cast< size_t >(val2
);
14866 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14867 result
= (bool)((wxPyVListBox
const *)arg1
)->IsCurrent(arg2
);
14868 wxPyEndAllowThreads(__tstate
);
14869 if (PyErr_Occurred()) SWIG_fail
;
14872 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14880 SWIGINTERN PyObject
*_wrap_VListBox_IsSelected(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14881 PyObject
*resultobj
= 0;
14882 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
14889 PyObject
* obj0
= 0 ;
14890 PyObject
* obj1
= 0 ;
14891 char * kwnames
[] = {
14892 (char *) "self",(char *) "item", NULL
14895 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VListBox_IsSelected",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
14896 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyVListBox
, 0 | 0 );
14897 if (!SWIG_IsOK(res1
)) {
14898 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VListBox_IsSelected" "', expected argument " "1"" of type '" "wxPyVListBox const *""'");
14900 arg1
= reinterpret_cast< wxPyVListBox
* >(argp1
);
14901 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
14902 if (!SWIG_IsOK(ecode2
)) {
14903 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "VListBox_IsSelected" "', expected argument " "2"" of type '" "size_t""'");
14905 arg2
= static_cast< size_t >(val2
);
14907 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14908 result
= (bool)((wxPyVListBox
const *)arg1
)->IsSelected(arg2
);
14909 wxPyEndAllowThreads(__tstate
);
14910 if (PyErr_Occurred()) SWIG_fail
;
14913 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14921 SWIGINTERN PyObject
*_wrap_VListBox_GetSelectedCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14922 PyObject
*resultobj
= 0;
14923 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
14927 PyObject
*swig_obj
[1] ;
14929 if (!args
) SWIG_fail
;
14930 swig_obj
[0] = args
;
14931 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyVListBox
, 0 | 0 );
14932 if (!SWIG_IsOK(res1
)) {
14933 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VListBox_GetSelectedCount" "', expected argument " "1"" of type '" "wxPyVListBox const *""'");
14935 arg1
= reinterpret_cast< wxPyVListBox
* >(argp1
);
14937 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14938 result
= (size_t)((wxPyVListBox
const *)arg1
)->GetSelectedCount();
14939 wxPyEndAllowThreads(__tstate
);
14940 if (PyErr_Occurred()) SWIG_fail
;
14942 resultobj
= SWIG_From_size_t(static_cast< size_t >(result
));
14949 SWIGINTERN PyObject
*_wrap_VListBox_GetFirstSelected(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14950 PyObject
*resultobj
= 0;
14951 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
14952 PyObject
*result
= 0 ;
14955 PyObject
*swig_obj
[1] ;
14957 if (!args
) SWIG_fail
;
14958 swig_obj
[0] = args
;
14959 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyVListBox
, 0 | 0 );
14960 if (!SWIG_IsOK(res1
)) {
14961 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VListBox_GetFirstSelected" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
14963 arg1
= reinterpret_cast< wxPyVListBox
* >(argp1
);
14965 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14966 result
= (PyObject
*)wxPyVListBox_GetFirstSelected(arg1
);
14967 wxPyEndAllowThreads(__tstate
);
14968 if (PyErr_Occurred()) SWIG_fail
;
14970 resultobj
= result
;
14977 SWIGINTERN PyObject
*_wrap_VListBox_GetNextSelected(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14978 PyObject
*resultobj
= 0;
14979 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
14980 unsigned long arg2
;
14981 PyObject
*result
= 0 ;
14984 unsigned long val2
;
14986 PyObject
* obj0
= 0 ;
14987 PyObject
* obj1
= 0 ;
14988 char * kwnames
[] = {
14989 (char *) "self",(char *) "cookie", NULL
14992 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VListBox_GetNextSelected",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
14993 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyVListBox
, 0 | 0 );
14994 if (!SWIG_IsOK(res1
)) {
14995 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VListBox_GetNextSelected" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
14997 arg1
= reinterpret_cast< wxPyVListBox
* >(argp1
);
14998 ecode2
= SWIG_AsVal_unsigned_SS_long(obj1
, &val2
);
14999 if (!SWIG_IsOK(ecode2
)) {
15000 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "VListBox_GetNextSelected" "', expected argument " "2"" of type '" "unsigned long""'");
15002 arg2
= static_cast< unsigned long >(val2
);
15004 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15005 result
= (PyObject
*)wxPyVListBox_GetNextSelected(arg1
,arg2
);
15006 wxPyEndAllowThreads(__tstate
);
15007 if (PyErr_Occurred()) SWIG_fail
;
15009 resultobj
= result
;
15016 SWIGINTERN PyObject
*_wrap_VListBox_GetMargins(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15017 PyObject
*resultobj
= 0;
15018 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
15022 PyObject
*swig_obj
[1] ;
15024 if (!args
) SWIG_fail
;
15025 swig_obj
[0] = args
;
15026 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyVListBox
, 0 | 0 );
15027 if (!SWIG_IsOK(res1
)) {
15028 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VListBox_GetMargins" "', expected argument " "1"" of type '" "wxPyVListBox const *""'");
15030 arg1
= reinterpret_cast< wxPyVListBox
* >(argp1
);
15032 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15033 result
= ((wxPyVListBox
const *)arg1
)->GetMargins();
15034 wxPyEndAllowThreads(__tstate
);
15035 if (PyErr_Occurred()) SWIG_fail
;
15037 resultobj
= SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint
& >(result
))), SWIGTYPE_p_wxPoint
, SWIG_POINTER_OWN
| 0 );
15044 SWIGINTERN PyObject
*_wrap_VListBox_GetSelectionBackground(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15045 PyObject
*resultobj
= 0;
15046 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
15047 wxColour
*result
= 0 ;
15050 PyObject
*swig_obj
[1] ;
15052 if (!args
) SWIG_fail
;
15053 swig_obj
[0] = args
;
15054 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyVListBox
, 0 | 0 );
15055 if (!SWIG_IsOK(res1
)) {
15056 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VListBox_GetSelectionBackground" "', expected argument " "1"" of type '" "wxPyVListBox const *""'");
15058 arg1
= reinterpret_cast< wxPyVListBox
* >(argp1
);
15060 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15062 wxColour
const &_result_ref
= ((wxPyVListBox
const *)arg1
)->GetSelectionBackground();
15063 result
= (wxColour
*) &_result_ref
;
15065 wxPyEndAllowThreads(__tstate
);
15066 if (PyErr_Occurred()) SWIG_fail
;
15068 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxColour
, 0 | 0 );
15075 SWIGINTERN PyObject
*_wrap_VListBox_SetItemCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15076 PyObject
*resultobj
= 0;
15077 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
15083 PyObject
* obj0
= 0 ;
15084 PyObject
* obj1
= 0 ;
15085 char * kwnames
[] = {
15086 (char *) "self",(char *) "count", NULL
15089 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VListBox_SetItemCount",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
15090 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyVListBox
, 0 | 0 );
15091 if (!SWIG_IsOK(res1
)) {
15092 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VListBox_SetItemCount" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
15094 arg1
= reinterpret_cast< wxPyVListBox
* >(argp1
);
15095 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
15096 if (!SWIG_IsOK(ecode2
)) {
15097 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "VListBox_SetItemCount" "', expected argument " "2"" of type '" "size_t""'");
15099 arg2
= static_cast< size_t >(val2
);
15101 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15102 (arg1
)->SetItemCount(arg2
);
15103 wxPyEndAllowThreads(__tstate
);
15104 if (PyErr_Occurred()) SWIG_fail
;
15106 resultobj
= SWIG_Py_Void();
15113 SWIGINTERN PyObject
*_wrap_VListBox_Clear(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15114 PyObject
*resultobj
= 0;
15115 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
15118 PyObject
*swig_obj
[1] ;
15120 if (!args
) SWIG_fail
;
15121 swig_obj
[0] = args
;
15122 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyVListBox
, 0 | 0 );
15123 if (!SWIG_IsOK(res1
)) {
15124 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VListBox_Clear" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
15126 arg1
= reinterpret_cast< wxPyVListBox
* >(argp1
);
15128 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15130 wxPyEndAllowThreads(__tstate
);
15131 if (PyErr_Occurred()) SWIG_fail
;
15133 resultobj
= SWIG_Py_Void();
15140 SWIGINTERN PyObject
*_wrap_VListBox_SetSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15141 PyObject
*resultobj
= 0;
15142 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
15148 PyObject
* obj0
= 0 ;
15149 PyObject
* obj1
= 0 ;
15150 char * kwnames
[] = {
15151 (char *) "self",(char *) "selection", NULL
15154 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VListBox_SetSelection",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
15155 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyVListBox
, 0 | 0 );
15156 if (!SWIG_IsOK(res1
)) {
15157 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VListBox_SetSelection" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
15159 arg1
= reinterpret_cast< wxPyVListBox
* >(argp1
);
15160 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
15161 if (!SWIG_IsOK(ecode2
)) {
15162 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "VListBox_SetSelection" "', expected argument " "2"" of type '" "int""'");
15164 arg2
= static_cast< int >(val2
);
15166 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15167 (arg1
)->SetSelection(arg2
);
15168 wxPyEndAllowThreads(__tstate
);
15169 if (PyErr_Occurred()) SWIG_fail
;
15171 resultobj
= SWIG_Py_Void();
15178 SWIGINTERN PyObject
*_wrap_VListBox_Select(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15179 PyObject
*resultobj
= 0;
15180 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
15182 bool arg3
= (bool) true ;
15190 PyObject
* obj0
= 0 ;
15191 PyObject
* obj1
= 0 ;
15192 PyObject
* obj2
= 0 ;
15193 char * kwnames
[] = {
15194 (char *) "self",(char *) "item",(char *) "select", NULL
15197 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:VListBox_Select",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
15198 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyVListBox
, 0 | 0 );
15199 if (!SWIG_IsOK(res1
)) {
15200 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VListBox_Select" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
15202 arg1
= reinterpret_cast< wxPyVListBox
* >(argp1
);
15203 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
15204 if (!SWIG_IsOK(ecode2
)) {
15205 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "VListBox_Select" "', expected argument " "2"" of type '" "size_t""'");
15207 arg2
= static_cast< size_t >(val2
);
15209 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
15210 if (!SWIG_IsOK(ecode3
)) {
15211 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "VListBox_Select" "', expected argument " "3"" of type '" "bool""'");
15213 arg3
= static_cast< bool >(val3
);
15216 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15217 result
= (bool)(arg1
)->Select(arg2
,arg3
);
15218 wxPyEndAllowThreads(__tstate
);
15219 if (PyErr_Occurred()) SWIG_fail
;
15222 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15230 SWIGINTERN PyObject
*_wrap_VListBox_SelectRange(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15231 PyObject
*resultobj
= 0;
15232 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
15242 PyObject
* obj0
= 0 ;
15243 PyObject
* obj1
= 0 ;
15244 PyObject
* obj2
= 0 ;
15245 char * kwnames
[] = {
15246 (char *) "self",(char *) "from",(char *) "to", NULL
15249 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:VListBox_SelectRange",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
15250 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyVListBox
, 0 | 0 );
15251 if (!SWIG_IsOK(res1
)) {
15252 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VListBox_SelectRange" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
15254 arg1
= reinterpret_cast< wxPyVListBox
* >(argp1
);
15255 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
15256 if (!SWIG_IsOK(ecode2
)) {
15257 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "VListBox_SelectRange" "', expected argument " "2"" of type '" "size_t""'");
15259 arg2
= static_cast< size_t >(val2
);
15260 ecode3
= SWIG_AsVal_size_t(obj2
, &val3
);
15261 if (!SWIG_IsOK(ecode3
)) {
15262 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "VListBox_SelectRange" "', expected argument " "3"" of type '" "size_t""'");
15264 arg3
= static_cast< size_t >(val3
);
15266 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15267 result
= (bool)(arg1
)->SelectRange(arg2
,arg3
);
15268 wxPyEndAllowThreads(__tstate
);
15269 if (PyErr_Occurred()) SWIG_fail
;
15272 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15280 SWIGINTERN PyObject
*_wrap_VListBox_Toggle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15281 PyObject
*resultobj
= 0;
15282 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
15288 PyObject
* obj0
= 0 ;
15289 PyObject
* obj1
= 0 ;
15290 char * kwnames
[] = {
15291 (char *) "self",(char *) "item", NULL
15294 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VListBox_Toggle",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
15295 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyVListBox
, 0 | 0 );
15296 if (!SWIG_IsOK(res1
)) {
15297 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VListBox_Toggle" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
15299 arg1
= reinterpret_cast< wxPyVListBox
* >(argp1
);
15300 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
15301 if (!SWIG_IsOK(ecode2
)) {
15302 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "VListBox_Toggle" "', expected argument " "2"" of type '" "size_t""'");
15304 arg2
= static_cast< size_t >(val2
);
15306 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15307 (arg1
)->Toggle(arg2
);
15308 wxPyEndAllowThreads(__tstate
);
15309 if (PyErr_Occurred()) SWIG_fail
;
15311 resultobj
= SWIG_Py_Void();
15318 SWIGINTERN PyObject
*_wrap_VListBox_SelectAll(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15319 PyObject
*resultobj
= 0;
15320 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
15324 PyObject
*swig_obj
[1] ;
15326 if (!args
) SWIG_fail
;
15327 swig_obj
[0] = args
;
15328 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyVListBox
, 0 | 0 );
15329 if (!SWIG_IsOK(res1
)) {
15330 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VListBox_SelectAll" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
15332 arg1
= reinterpret_cast< wxPyVListBox
* >(argp1
);
15334 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15335 result
= (bool)(arg1
)->SelectAll();
15336 wxPyEndAllowThreads(__tstate
);
15337 if (PyErr_Occurred()) SWIG_fail
;
15340 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15348 SWIGINTERN PyObject
*_wrap_VListBox_DeselectAll(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15349 PyObject
*resultobj
= 0;
15350 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
15354 PyObject
*swig_obj
[1] ;
15356 if (!args
) SWIG_fail
;
15357 swig_obj
[0] = args
;
15358 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyVListBox
, 0 | 0 );
15359 if (!SWIG_IsOK(res1
)) {
15360 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VListBox_DeselectAll" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
15362 arg1
= reinterpret_cast< wxPyVListBox
* >(argp1
);
15364 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15365 result
= (bool)(arg1
)->DeselectAll();
15366 wxPyEndAllowThreads(__tstate
);
15367 if (PyErr_Occurred()) SWIG_fail
;
15370 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15378 SWIGINTERN PyObject
*_wrap_VListBox_SetMargins(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15379 PyObject
*resultobj
= 0;
15380 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
15381 wxPoint
*arg2
= 0 ;
15385 PyObject
* obj0
= 0 ;
15386 PyObject
* obj1
= 0 ;
15387 char * kwnames
[] = {
15388 (char *) "self",(char *) "pt", NULL
15391 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VListBox_SetMargins",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
15392 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyVListBox
, 0 | 0 );
15393 if (!SWIG_IsOK(res1
)) {
15394 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VListBox_SetMargins" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
15396 arg1
= reinterpret_cast< wxPyVListBox
* >(argp1
);
15399 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
15402 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15403 (arg1
)->SetMargins((wxPoint
const &)*arg2
);
15404 wxPyEndAllowThreads(__tstate
);
15405 if (PyErr_Occurred()) SWIG_fail
;
15407 resultobj
= SWIG_Py_Void();
15414 SWIGINTERN PyObject
*_wrap_VListBox_SetMarginsXY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15415 PyObject
*resultobj
= 0;
15416 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
15425 PyObject
* obj0
= 0 ;
15426 PyObject
* obj1
= 0 ;
15427 PyObject
* obj2
= 0 ;
15428 char * kwnames
[] = {
15429 (char *) "self",(char *) "x",(char *) "y", NULL
15432 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:VListBox_SetMarginsXY",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
15433 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyVListBox
, 0 | 0 );
15434 if (!SWIG_IsOK(res1
)) {
15435 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VListBox_SetMarginsXY" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
15437 arg1
= reinterpret_cast< wxPyVListBox
* >(argp1
);
15438 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
15439 if (!SWIG_IsOK(ecode2
)) {
15440 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "VListBox_SetMarginsXY" "', expected argument " "2"" of type '" "int""'");
15442 arg2
= static_cast< int >(val2
);
15443 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
15444 if (!SWIG_IsOK(ecode3
)) {
15445 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "VListBox_SetMarginsXY" "', expected argument " "3"" of type '" "int""'");
15447 arg3
= static_cast< int >(val3
);
15449 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15450 (arg1
)->SetMargins(arg2
,arg3
);
15451 wxPyEndAllowThreads(__tstate
);
15452 if (PyErr_Occurred()) SWIG_fail
;
15454 resultobj
= SWIG_Py_Void();
15461 SWIGINTERN PyObject
*_wrap_VListBox_SetSelectionBackground(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15462 PyObject
*resultobj
= 0;
15463 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
15464 wxColour
*arg2
= 0 ;
15468 PyObject
* obj0
= 0 ;
15469 PyObject
* obj1
= 0 ;
15470 char * kwnames
[] = {
15471 (char *) "self",(char *) "col", NULL
15474 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VListBox_SetSelectionBackground",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
15475 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyVListBox
, 0 | 0 );
15476 if (!SWIG_IsOK(res1
)) {
15477 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VListBox_SetSelectionBackground" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
15479 arg1
= reinterpret_cast< wxPyVListBox
* >(argp1
);
15482 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
15485 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15486 (arg1
)->SetSelectionBackground((wxColour
const &)*arg2
);
15487 wxPyEndAllowThreads(__tstate
);
15488 if (PyErr_Occurred()) SWIG_fail
;
15490 resultobj
= SWIG_Py_Void();
15497 SWIGINTERN PyObject
*_wrap_VListBox_OnDrawSeparator(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15498 PyObject
*resultobj
= 0;
15499 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
15510 PyObject
* obj0
= 0 ;
15511 PyObject
* obj1
= 0 ;
15512 PyObject
* obj2
= 0 ;
15513 PyObject
* obj3
= 0 ;
15514 char * kwnames
[] = {
15515 (char *) "self",(char *) "dc",(char *) "rect",(char *) "n", NULL
15518 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:VListBox_OnDrawSeparator",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
15519 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyVListBox
, 0 | 0 );
15520 if (!SWIG_IsOK(res1
)) {
15521 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VListBox_OnDrawSeparator" "', expected argument " "1"" of type '" "wxPyVListBox const *""'");
15523 arg1
= reinterpret_cast< wxPyVListBox
* >(argp1
);
15524 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxDC
, 0 );
15525 if (!SWIG_IsOK(res2
)) {
15526 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "VListBox_OnDrawSeparator" "', expected argument " "2"" of type '" "wxDC &""'");
15529 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "VListBox_OnDrawSeparator" "', expected argument " "2"" of type '" "wxDC &""'");
15531 arg2
= reinterpret_cast< wxDC
* >(argp2
);
15534 if ( ! wxRect_helper(obj2
, &arg3
)) SWIG_fail
;
15536 ecode4
= SWIG_AsVal_size_t(obj3
, &val4
);
15537 if (!SWIG_IsOK(ecode4
)) {
15538 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "VListBox_OnDrawSeparator" "', expected argument " "4"" of type '" "size_t""'");
15540 arg4
= static_cast< size_t >(val4
);
15542 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15543 ((wxPyVListBox
const *)arg1
)->OnDrawSeparator(*arg2
,*arg3
,arg4
);
15544 wxPyEndAllowThreads(__tstate
);
15545 if (PyErr_Occurred()) SWIG_fail
;
15547 resultobj
= SWIG_Py_Void();
15554 SWIGINTERN PyObject
*_wrap_VListBox_OnDrawBackground(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15555 PyObject
*resultobj
= 0;
15556 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
15567 PyObject
* obj0
= 0 ;
15568 PyObject
* obj1
= 0 ;
15569 PyObject
* obj2
= 0 ;
15570 PyObject
* obj3
= 0 ;
15571 char * kwnames
[] = {
15572 (char *) "self",(char *) "dc",(char *) "rect",(char *) "n", NULL
15575 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:VListBox_OnDrawBackground",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
15576 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyVListBox
, 0 | 0 );
15577 if (!SWIG_IsOK(res1
)) {
15578 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VListBox_OnDrawBackground" "', expected argument " "1"" of type '" "wxPyVListBox const *""'");
15580 arg1
= reinterpret_cast< wxPyVListBox
* >(argp1
);
15581 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxDC
, 0 );
15582 if (!SWIG_IsOK(res2
)) {
15583 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "VListBox_OnDrawBackground" "', expected argument " "2"" of type '" "wxDC &""'");
15586 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "VListBox_OnDrawBackground" "', expected argument " "2"" of type '" "wxDC &""'");
15588 arg2
= reinterpret_cast< wxDC
* >(argp2
);
15591 if ( ! wxRect_helper(obj2
, &arg3
)) SWIG_fail
;
15593 ecode4
= SWIG_AsVal_size_t(obj3
, &val4
);
15594 if (!SWIG_IsOK(ecode4
)) {
15595 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "VListBox_OnDrawBackground" "', expected argument " "4"" of type '" "size_t""'");
15597 arg4
= static_cast< size_t >(val4
);
15599 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15600 ((wxPyVListBox
const *)arg1
)->OnDrawBackground(*arg2
,(wxRect
const &)*arg3
,arg4
);
15601 wxPyEndAllowThreads(__tstate
);
15602 if (PyErr_Occurred()) SWIG_fail
;
15604 resultobj
= SWIG_Py_Void();
15611 SWIGINTERN PyObject
*VListBox_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15613 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
15614 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyVListBox
, SWIG_NewClientData(obj
));
15615 return SWIG_Py_Void();
15618 SWIGINTERN PyObject
*VListBox_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15619 return SWIG_Python_InitShadowInstance(args
);
15622 SWIGINTERN PyObject
*_wrap_new_HtmlListBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15623 PyObject
*resultobj
= 0;
15624 wxWindow
*arg1
= (wxWindow
*) 0 ;
15625 int arg2
= (int) wxID_ANY
;
15626 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
15627 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
15628 wxSize
const &arg4_defvalue
= wxDefaultSize
;
15629 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
15630 long arg5
= (long) 0 ;
15631 wxString
const &arg6_defvalue
= wxPyVListBoxNameStr
;
15632 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
15633 wxPyHtmlListBox
*result
= 0 ;
15642 bool temp6
= false ;
15643 PyObject
* obj0
= 0 ;
15644 PyObject
* obj1
= 0 ;
15645 PyObject
* obj2
= 0 ;
15646 PyObject
* obj3
= 0 ;
15647 PyObject
* obj4
= 0 ;
15648 PyObject
* obj5
= 0 ;
15649 char * kwnames
[] = {
15650 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
15653 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_HtmlListBox",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
15654 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
15655 if (!SWIG_IsOK(res1
)) {
15656 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_HtmlListBox" "', expected argument " "1"" of type '" "wxWindow *""'");
15658 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
15660 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
15661 if (!SWIG_IsOK(ecode2
)) {
15662 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_HtmlListBox" "', expected argument " "2"" of type '" "int""'");
15664 arg2
= static_cast< int >(val2
);
15669 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
15675 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
15679 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
15680 if (!SWIG_IsOK(ecode5
)) {
15681 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_HtmlListBox" "', expected argument " "5"" of type '" "long""'");
15683 arg5
= static_cast< long >(val5
);
15687 arg6
= wxString_in_helper(obj5
);
15688 if (arg6
== NULL
) SWIG_fail
;
15693 if (!wxPyCheckForApp()) SWIG_fail
;
15694 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15695 result
= (wxPyHtmlListBox
*)new wxPyHtmlListBox(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
15696 wxPyEndAllowThreads(__tstate
);
15697 if (PyErr_Occurred()) SWIG_fail
;
15699 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyHtmlListBox
, SWIG_POINTER_NEW
| 0 );
15714 SWIGINTERN PyObject
*_wrap_new_PreHtmlListBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15715 PyObject
*resultobj
= 0;
15716 wxPyHtmlListBox
*result
= 0 ;
15718 if (!SWIG_Python_UnpackTuple(args
,"new_PreHtmlListBox",0,0,0)) SWIG_fail
;
15720 if (!wxPyCheckForApp()) SWIG_fail
;
15721 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15722 result
= (wxPyHtmlListBox
*)new wxPyHtmlListBox();
15723 wxPyEndAllowThreads(__tstate
);
15724 if (PyErr_Occurred()) SWIG_fail
;
15726 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyHtmlListBox
, SWIG_POINTER_OWN
| 0 );
15733 SWIGINTERN PyObject
*_wrap_HtmlListBox__setCallbackInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15734 PyObject
*resultobj
= 0;
15735 wxPyHtmlListBox
*arg1
= (wxPyHtmlListBox
*) 0 ;
15736 PyObject
*arg2
= (PyObject
*) 0 ;
15737 PyObject
*arg3
= (PyObject
*) 0 ;
15740 PyObject
* obj0
= 0 ;
15741 PyObject
* obj1
= 0 ;
15742 PyObject
* obj2
= 0 ;
15743 char * kwnames
[] = {
15744 (char *) "self",(char *) "self",(char *) "_class", NULL
15747 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:HtmlListBox__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
15748 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyHtmlListBox
, 0 | 0 );
15749 if (!SWIG_IsOK(res1
)) {
15750 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlListBox__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyHtmlListBox *""'");
15752 arg1
= reinterpret_cast< wxPyHtmlListBox
* >(argp1
);
15756 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15757 (arg1
)->_setCallbackInfo(arg2
,arg3
);
15758 wxPyEndAllowThreads(__tstate
);
15759 if (PyErr_Occurred()) SWIG_fail
;
15761 resultobj
= SWIG_Py_Void();
15768 SWIGINTERN PyObject
*_wrap_HtmlListBox_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15769 PyObject
*resultobj
= 0;
15770 wxPyHtmlListBox
*arg1
= (wxPyHtmlListBox
*) 0 ;
15771 wxWindow
*arg2
= (wxWindow
*) 0 ;
15772 int arg3
= (int) wxID_ANY
;
15773 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
15774 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
15775 wxSize
const &arg5_defvalue
= wxDefaultSize
;
15776 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
15777 long arg6
= (long) 0 ;
15778 wxString
const &arg7_defvalue
= wxPyVListBoxNameStr
;
15779 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
15791 bool temp7
= false ;
15792 PyObject
* obj0
= 0 ;
15793 PyObject
* obj1
= 0 ;
15794 PyObject
* obj2
= 0 ;
15795 PyObject
* obj3
= 0 ;
15796 PyObject
* obj4
= 0 ;
15797 PyObject
* obj5
= 0 ;
15798 PyObject
* obj6
= 0 ;
15799 char * kwnames
[] = {
15800 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
15803 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:HtmlListBox_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
15804 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyHtmlListBox
, 0 | 0 );
15805 if (!SWIG_IsOK(res1
)) {
15806 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlListBox_Create" "', expected argument " "1"" of type '" "wxPyHtmlListBox *""'");
15808 arg1
= reinterpret_cast< wxPyHtmlListBox
* >(argp1
);
15809 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
15810 if (!SWIG_IsOK(res2
)) {
15811 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "HtmlListBox_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
15813 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
15815 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
15816 if (!SWIG_IsOK(ecode3
)) {
15817 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "HtmlListBox_Create" "', expected argument " "3"" of type '" "int""'");
15819 arg3
= static_cast< int >(val3
);
15824 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
15830 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
15834 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
15835 if (!SWIG_IsOK(ecode6
)) {
15836 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "HtmlListBox_Create" "', expected argument " "6"" of type '" "long""'");
15838 arg6
= static_cast< long >(val6
);
15842 arg7
= wxString_in_helper(obj6
);
15843 if (arg7
== NULL
) SWIG_fail
;
15848 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15849 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
15850 wxPyEndAllowThreads(__tstate
);
15851 if (PyErr_Occurred()) SWIG_fail
;
15854 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15870 SWIGINTERN PyObject
*_wrap_HtmlListBox_SetItemCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15871 PyObject
*resultobj
= 0;
15872 wxPyHtmlListBox
*arg1
= (wxPyHtmlListBox
*) 0 ;
15878 PyObject
* obj0
= 0 ;
15879 PyObject
* obj1
= 0 ;
15880 char * kwnames
[] = {
15881 (char *) "self",(char *) "count", NULL
15884 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlListBox_SetItemCount",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
15885 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyHtmlListBox
, 0 | 0 );
15886 if (!SWIG_IsOK(res1
)) {
15887 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlListBox_SetItemCount" "', expected argument " "1"" of type '" "wxPyHtmlListBox *""'");
15889 arg1
= reinterpret_cast< wxPyHtmlListBox
* >(argp1
);
15890 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
15891 if (!SWIG_IsOK(ecode2
)) {
15892 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "HtmlListBox_SetItemCount" "', expected argument " "2"" of type '" "size_t""'");
15894 arg2
= static_cast< size_t >(val2
);
15896 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15897 (arg1
)->SetItemCount(arg2
);
15898 wxPyEndAllowThreads(__tstate
);
15899 if (PyErr_Occurred()) SWIG_fail
;
15901 resultobj
= SWIG_Py_Void();
15908 SWIGINTERN PyObject
*_wrap_HtmlListBox_GetFileSystem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15909 PyObject
*resultobj
= 0;
15910 wxPyHtmlListBox
*arg1
= (wxPyHtmlListBox
*) 0 ;
15911 wxFileSystem
*result
= 0 ;
15914 PyObject
*swig_obj
[1] ;
15916 if (!args
) SWIG_fail
;
15917 swig_obj
[0] = args
;
15918 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyHtmlListBox
, 0 | 0 );
15919 if (!SWIG_IsOK(res1
)) {
15920 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlListBox_GetFileSystem" "', expected argument " "1"" of type '" "wxPyHtmlListBox *""'");
15922 arg1
= reinterpret_cast< wxPyHtmlListBox
* >(argp1
);
15924 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15926 wxFileSystem
&_result_ref
= (arg1
)->GetFileSystem();
15927 result
= (wxFileSystem
*) &_result_ref
;
15929 wxPyEndAllowThreads(__tstate
);
15930 if (PyErr_Occurred()) SWIG_fail
;
15932 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFileSystem
, 0 | 0 );
15939 SWIGINTERN PyObject
*_wrap_HtmlListBox_OnLinkClicked(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15940 PyObject
*resultobj
= 0;
15941 wxPyHtmlListBox
*arg1
= (wxPyHtmlListBox
*) 0 ;
15943 wxHtmlLinkInfo
*arg3
= 0 ;
15950 PyObject
* obj0
= 0 ;
15951 PyObject
* obj1
= 0 ;
15952 PyObject
* obj2
= 0 ;
15953 char * kwnames
[] = {
15954 (char *) "self",(char *) "n",(char *) "link", NULL
15957 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:HtmlListBox_OnLinkClicked",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
15958 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyHtmlListBox
, 0 | 0 );
15959 if (!SWIG_IsOK(res1
)) {
15960 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlListBox_OnLinkClicked" "', expected argument " "1"" of type '" "wxPyHtmlListBox *""'");
15962 arg1
= reinterpret_cast< wxPyHtmlListBox
* >(argp1
);
15963 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
15964 if (!SWIG_IsOK(ecode2
)) {
15965 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "HtmlListBox_OnLinkClicked" "', expected argument " "2"" of type '" "size_t""'");
15967 arg2
= static_cast< size_t >(val2
);
15968 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxHtmlLinkInfo
, 0 | 0);
15969 if (!SWIG_IsOK(res3
)) {
15970 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "HtmlListBox_OnLinkClicked" "', expected argument " "3"" of type '" "wxHtmlLinkInfo const &""'");
15973 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "HtmlListBox_OnLinkClicked" "', expected argument " "3"" of type '" "wxHtmlLinkInfo const &""'");
15975 arg3
= reinterpret_cast< wxHtmlLinkInfo
* >(argp3
);
15977 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15978 (arg1
)->OnLinkClicked(arg2
,(wxHtmlLinkInfo
const &)*arg3
);
15979 wxPyEndAllowThreads(__tstate
);
15980 if (PyErr_Occurred()) SWIG_fail
;
15982 resultobj
= SWIG_Py_Void();
15989 SWIGINTERN PyObject
*HtmlListBox_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15991 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
15992 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyHtmlListBox
, SWIG_NewClientData(obj
));
15993 return SWIG_Py_Void();
15996 SWIGINTERN PyObject
*HtmlListBox_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15997 return SWIG_Python_InitShadowInstance(args
);
16000 SWIGINTERN PyObject
*_wrap_new_TaskBarIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16001 PyObject
*resultobj
= 0;
16002 wxPyTaskBarIcon
*result
= 0 ;
16004 if (!SWIG_Python_UnpackTuple(args
,"new_TaskBarIcon",0,0,0)) SWIG_fail
;
16006 if (!wxPyCheckForApp()) SWIG_fail
;
16007 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16008 result
= (wxPyTaskBarIcon
*)new wxPyTaskBarIcon();
16009 wxPyEndAllowThreads(__tstate
);
16010 if (PyErr_Occurred()) SWIG_fail
;
16012 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyTaskBarIcon
, SWIG_POINTER_NEW
| 0 );
16019 SWIGINTERN PyObject
*_wrap_delete_TaskBarIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16020 PyObject
*resultobj
= 0;
16021 wxPyTaskBarIcon
*arg1
= (wxPyTaskBarIcon
*) 0 ;
16024 PyObject
*swig_obj
[1] ;
16026 if (!args
) SWIG_fail
;
16027 swig_obj
[0] = args
;
16028 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTaskBarIcon
, SWIG_POINTER_DISOWN
| 0 );
16029 if (!SWIG_IsOK(res1
)) {
16030 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_TaskBarIcon" "', expected argument " "1"" of type '" "wxPyTaskBarIcon *""'");
16032 arg1
= reinterpret_cast< wxPyTaskBarIcon
* >(argp1
);
16034 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16037 wxPyEndAllowThreads(__tstate
);
16038 if (PyErr_Occurred()) SWIG_fail
;
16040 resultobj
= SWIG_Py_Void();
16047 SWIGINTERN PyObject
*_wrap_TaskBarIcon__setCallbackInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16048 PyObject
*resultobj
= 0;
16049 wxPyTaskBarIcon
*arg1
= (wxPyTaskBarIcon
*) 0 ;
16050 PyObject
*arg2
= (PyObject
*) 0 ;
16051 PyObject
*arg3
= (PyObject
*) 0 ;
16057 PyObject
* obj0
= 0 ;
16058 PyObject
* obj1
= 0 ;
16059 PyObject
* obj2
= 0 ;
16060 PyObject
* obj3
= 0 ;
16061 char * kwnames
[] = {
16062 (char *) "self",(char *) "self",(char *) "_class",(char *) "incref", NULL
16065 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:TaskBarIcon__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
16066 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTaskBarIcon
, 0 | 0 );
16067 if (!SWIG_IsOK(res1
)) {
16068 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TaskBarIcon__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyTaskBarIcon *""'");
16070 arg1
= reinterpret_cast< wxPyTaskBarIcon
* >(argp1
);
16073 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
16074 if (!SWIG_IsOK(ecode4
)) {
16075 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "TaskBarIcon__setCallbackInfo" "', expected argument " "4"" of type '" "int""'");
16077 arg4
= static_cast< int >(val4
);
16079 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16080 (arg1
)->_setCallbackInfo(arg2
,arg3
,arg4
);
16081 wxPyEndAllowThreads(__tstate
);
16082 if (PyErr_Occurred()) SWIG_fail
;
16084 resultobj
= SWIG_Py_Void();
16091 SWIGINTERN PyObject
*_wrap_TaskBarIcon_Destroy(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16092 PyObject
*resultobj
= 0;
16093 wxPyTaskBarIcon
*arg1
= (wxPyTaskBarIcon
*) 0 ;
16096 PyObject
*swig_obj
[1] ;
16098 if (!args
) SWIG_fail
;
16099 swig_obj
[0] = args
;
16100 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTaskBarIcon
, 0 | 0 );
16101 if (!SWIG_IsOK(res1
)) {
16102 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TaskBarIcon_Destroy" "', expected argument " "1"" of type '" "wxPyTaskBarIcon *""'");
16104 arg1
= reinterpret_cast< wxPyTaskBarIcon
* >(argp1
);
16106 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16107 wxPyTaskBarIcon_Destroy(arg1
);
16108 wxPyEndAllowThreads(__tstate
);
16109 if (PyErr_Occurred()) SWIG_fail
;
16111 resultobj
= SWIG_Py_Void();
16118 SWIGINTERN PyObject
*_wrap_TaskBarIcon_IsOk(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16119 PyObject
*resultobj
= 0;
16120 wxPyTaskBarIcon
*arg1
= (wxPyTaskBarIcon
*) 0 ;
16124 PyObject
*swig_obj
[1] ;
16126 if (!args
) SWIG_fail
;
16127 swig_obj
[0] = args
;
16128 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTaskBarIcon
, 0 | 0 );
16129 if (!SWIG_IsOK(res1
)) {
16130 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TaskBarIcon_IsOk" "', expected argument " "1"" of type '" "wxPyTaskBarIcon const *""'");
16132 arg1
= reinterpret_cast< wxPyTaskBarIcon
* >(argp1
);
16134 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16135 result
= (bool)((wxPyTaskBarIcon
const *)arg1
)->IsOk();
16136 wxPyEndAllowThreads(__tstate
);
16137 if (PyErr_Occurred()) SWIG_fail
;
16140 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16148 SWIGINTERN PyObject
*_wrap_TaskBarIcon_IsIconInstalled(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16149 PyObject
*resultobj
= 0;
16150 wxPyTaskBarIcon
*arg1
= (wxPyTaskBarIcon
*) 0 ;
16154 PyObject
*swig_obj
[1] ;
16156 if (!args
) SWIG_fail
;
16157 swig_obj
[0] = args
;
16158 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTaskBarIcon
, 0 | 0 );
16159 if (!SWIG_IsOK(res1
)) {
16160 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TaskBarIcon_IsIconInstalled" "', expected argument " "1"" of type '" "wxPyTaskBarIcon const *""'");
16162 arg1
= reinterpret_cast< wxPyTaskBarIcon
* >(argp1
);
16164 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16165 result
= (bool)((wxPyTaskBarIcon
const *)arg1
)->IsIconInstalled();
16166 wxPyEndAllowThreads(__tstate
);
16167 if (PyErr_Occurred()) SWIG_fail
;
16170 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16178 SWIGINTERN PyObject
*_wrap_TaskBarIcon_SetIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16179 PyObject
*resultobj
= 0;
16180 wxPyTaskBarIcon
*arg1
= (wxPyTaskBarIcon
*) 0 ;
16182 wxString
const &arg3_defvalue
= wxPyEmptyString
;
16183 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
16189 bool temp3
= false ;
16190 PyObject
* obj0
= 0 ;
16191 PyObject
* obj1
= 0 ;
16192 PyObject
* obj2
= 0 ;
16193 char * kwnames
[] = {
16194 (char *) "self",(char *) "icon",(char *) "tooltip", NULL
16197 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TaskBarIcon_SetIcon",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
16198 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTaskBarIcon
, 0 | 0 );
16199 if (!SWIG_IsOK(res1
)) {
16200 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TaskBarIcon_SetIcon" "', expected argument " "1"" of type '" "wxPyTaskBarIcon *""'");
16202 arg1
= reinterpret_cast< wxPyTaskBarIcon
* >(argp1
);
16203 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxIcon
, 0 | 0);
16204 if (!SWIG_IsOK(res2
)) {
16205 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TaskBarIcon_SetIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
16208 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TaskBarIcon_SetIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
16210 arg2
= reinterpret_cast< wxIcon
* >(argp2
);
16213 arg3
= wxString_in_helper(obj2
);
16214 if (arg3
== NULL
) SWIG_fail
;
16219 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16220 result
= (bool)(arg1
)->SetIcon((wxIcon
const &)*arg2
,(wxString
const &)*arg3
);
16221 wxPyEndAllowThreads(__tstate
);
16222 if (PyErr_Occurred()) SWIG_fail
;
16225 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16241 SWIGINTERN PyObject
*_wrap_TaskBarIcon_RemoveIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16242 PyObject
*resultobj
= 0;
16243 wxPyTaskBarIcon
*arg1
= (wxPyTaskBarIcon
*) 0 ;
16247 PyObject
*swig_obj
[1] ;
16249 if (!args
) SWIG_fail
;
16250 swig_obj
[0] = args
;
16251 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTaskBarIcon
, 0 | 0 );
16252 if (!SWIG_IsOK(res1
)) {
16253 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TaskBarIcon_RemoveIcon" "', expected argument " "1"" of type '" "wxPyTaskBarIcon *""'");
16255 arg1
= reinterpret_cast< wxPyTaskBarIcon
* >(argp1
);
16257 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16258 result
= (bool)(arg1
)->RemoveIcon();
16259 wxPyEndAllowThreads(__tstate
);
16260 if (PyErr_Occurred()) SWIG_fail
;
16263 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16271 SWIGINTERN PyObject
*_wrap_TaskBarIcon_PopupMenu(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16272 PyObject
*resultobj
= 0;
16273 wxPyTaskBarIcon
*arg1
= (wxPyTaskBarIcon
*) 0 ;
16274 wxMenu
*arg2
= (wxMenu
*) 0 ;
16280 PyObject
* obj0
= 0 ;
16281 PyObject
* obj1
= 0 ;
16282 char * kwnames
[] = {
16283 (char *) "self",(char *) "menu", NULL
16286 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TaskBarIcon_PopupMenu",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
16287 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTaskBarIcon
, 0 | 0 );
16288 if (!SWIG_IsOK(res1
)) {
16289 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TaskBarIcon_PopupMenu" "', expected argument " "1"" of type '" "wxPyTaskBarIcon *""'");
16291 arg1
= reinterpret_cast< wxPyTaskBarIcon
* >(argp1
);
16292 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxMenu
, 0 | 0 );
16293 if (!SWIG_IsOK(res2
)) {
16294 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TaskBarIcon_PopupMenu" "', expected argument " "2"" of type '" "wxMenu *""'");
16296 arg2
= reinterpret_cast< wxMenu
* >(argp2
);
16298 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16299 result
= (bool)(arg1
)->PopupMenu(arg2
);
16300 wxPyEndAllowThreads(__tstate
);
16301 if (PyErr_Occurred()) SWIG_fail
;
16304 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16312 SWIGINTERN PyObject
*TaskBarIcon_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16314 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
16315 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyTaskBarIcon
, SWIG_NewClientData(obj
));
16316 return SWIG_Py_Void();
16319 SWIGINTERN PyObject
*TaskBarIcon_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16320 return SWIG_Python_InitShadowInstance(args
);
16323 SWIGINTERN PyObject
*_wrap_new_TaskBarIconEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16324 PyObject
*resultobj
= 0;
16326 wxTaskBarIcon
*arg2
= (wxTaskBarIcon
*) 0 ;
16327 wxTaskBarIconEvent
*result
= 0 ;
16332 PyObject
* obj0
= 0 ;
16333 PyObject
* obj1
= 0 ;
16334 char * kwnames
[] = {
16335 (char *) "evtType",(char *) "tbIcon", NULL
16338 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_TaskBarIconEvent",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
16339 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
16340 if (!SWIG_IsOK(ecode1
)) {
16341 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_TaskBarIconEvent" "', expected argument " "1"" of type '" "wxEventType""'");
16343 arg1
= static_cast< wxEventType
>(val1
);
16344 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxTaskBarIcon
, 0 | 0 );
16345 if (!SWIG_IsOK(res2
)) {
16346 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_TaskBarIconEvent" "', expected argument " "2"" of type '" "wxTaskBarIcon *""'");
16348 arg2
= reinterpret_cast< wxTaskBarIcon
* >(argp2
);
16350 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16351 result
= (wxTaskBarIconEvent
*)new wxTaskBarIconEvent(arg1
,arg2
);
16352 wxPyEndAllowThreads(__tstate
);
16353 if (PyErr_Occurred()) SWIG_fail
;
16355 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxTaskBarIconEvent
, SWIG_POINTER_NEW
| 0 );
16362 SWIGINTERN PyObject
*TaskBarIconEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16364 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
16365 SWIG_TypeNewClientData(SWIGTYPE_p_wxTaskBarIconEvent
, SWIG_NewClientData(obj
));
16366 return SWIG_Py_Void();
16369 SWIGINTERN PyObject
*TaskBarIconEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16370 return SWIG_Python_InitShadowInstance(args
);
16373 SWIGINTERN
int FileSelectorPromptStr_set(PyObject
*) {
16374 SWIG_Error(SWIG_AttributeError
,"Variable FileSelectorPromptStr is read-only.");
16379 SWIGINTERN PyObject
*FileSelectorPromptStr_get(void) {
16380 PyObject
*pyobj
= 0;
16384 pyobj
= PyUnicode_FromWideChar((&wxPyFileSelectorPromptStr
)->c_str(), (&wxPyFileSelectorPromptStr
)->Len());
16386 pyobj
= PyString_FromStringAndSize((&wxPyFileSelectorPromptStr
)->c_str(), (&wxPyFileSelectorPromptStr
)->Len());
16393 SWIGINTERN
int DirSelectorPromptStr_set(PyObject
*) {
16394 SWIG_Error(SWIG_AttributeError
,"Variable DirSelectorPromptStr is read-only.");
16399 SWIGINTERN PyObject
*DirSelectorPromptStr_get(void) {
16400 PyObject
*pyobj
= 0;
16404 pyobj
= PyUnicode_FromWideChar((&wxPyDirSelectorPromptStr
)->c_str(), (&wxPyDirSelectorPromptStr
)->Len());
16406 pyobj
= PyString_FromStringAndSize((&wxPyDirSelectorPromptStr
)->c_str(), (&wxPyDirSelectorPromptStr
)->Len());
16413 SWIGINTERN
int DirDialogNameStr_set(PyObject
*) {
16414 SWIG_Error(SWIG_AttributeError
,"Variable DirDialogNameStr is read-only.");
16419 SWIGINTERN PyObject
*DirDialogNameStr_get(void) {
16420 PyObject
*pyobj
= 0;
16424 pyobj
= PyUnicode_FromWideChar((&wxPyDirDialogNameStr
)->c_str(), (&wxPyDirDialogNameStr
)->Len());
16426 pyobj
= PyString_FromStringAndSize((&wxPyDirDialogNameStr
)->c_str(), (&wxPyDirDialogNameStr
)->Len());
16433 SWIGINTERN
int FileSelectorDefaultWildcardStr_set(PyObject
*) {
16434 SWIG_Error(SWIG_AttributeError
,"Variable FileSelectorDefaultWildcardStr is read-only.");
16439 SWIGINTERN PyObject
*FileSelectorDefaultWildcardStr_get(void) {
16440 PyObject
*pyobj
= 0;
16444 pyobj
= PyUnicode_FromWideChar((&wxPyFileSelectorDefaultWildcardStr
)->c_str(), (&wxPyFileSelectorDefaultWildcardStr
)->Len());
16446 pyobj
= PyString_FromStringAndSize((&wxPyFileSelectorDefaultWildcardStr
)->c_str(), (&wxPyFileSelectorDefaultWildcardStr
)->Len());
16453 SWIGINTERN
int GetTextFromUserPromptStr_set(PyObject
*) {
16454 SWIG_Error(SWIG_AttributeError
,"Variable GetTextFromUserPromptStr is read-only.");
16459 SWIGINTERN PyObject
*GetTextFromUserPromptStr_get(void) {
16460 PyObject
*pyobj
= 0;
16464 pyobj
= PyUnicode_FromWideChar((&wxPyGetTextFromUserPromptStr
)->c_str(), (&wxPyGetTextFromUserPromptStr
)->Len());
16466 pyobj
= PyString_FromStringAndSize((&wxPyGetTextFromUserPromptStr
)->c_str(), (&wxPyGetTextFromUserPromptStr
)->Len());
16473 SWIGINTERN
int MessageBoxCaptionStr_set(PyObject
*) {
16474 SWIG_Error(SWIG_AttributeError
,"Variable MessageBoxCaptionStr is read-only.");
16479 SWIGINTERN PyObject
*MessageBoxCaptionStr_get(void) {
16480 PyObject
*pyobj
= 0;
16484 pyobj
= PyUnicode_FromWideChar((&wxPyMessageBoxCaptionStr
)->c_str(), (&wxPyMessageBoxCaptionStr
)->Len());
16486 pyobj
= PyString_FromStringAndSize((&wxPyMessageBoxCaptionStr
)->c_str(), (&wxPyMessageBoxCaptionStr
)->Len());
16493 SWIGINTERN PyObject
*_wrap_new_ColourData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16494 PyObject
*resultobj
= 0;
16495 wxColourData
*result
= 0 ;
16497 if (!SWIG_Python_UnpackTuple(args
,"new_ColourData",0,0,0)) SWIG_fail
;
16499 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16500 result
= (wxColourData
*)new wxColourData();
16501 wxPyEndAllowThreads(__tstate
);
16502 if (PyErr_Occurred()) SWIG_fail
;
16504 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxColourData
, SWIG_POINTER_NEW
| 0 );
16511 SWIGINTERN PyObject
*_wrap_delete_ColourData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16512 PyObject
*resultobj
= 0;
16513 wxColourData
*arg1
= (wxColourData
*) 0 ;
16516 PyObject
*swig_obj
[1] ;
16518 if (!args
) SWIG_fail
;
16519 swig_obj
[0] = args
;
16520 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxColourData
, SWIG_POINTER_DISOWN
| 0 );
16521 if (!SWIG_IsOK(res1
)) {
16522 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_ColourData" "', expected argument " "1"" of type '" "wxColourData *""'");
16524 arg1
= reinterpret_cast< wxColourData
* >(argp1
);
16526 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16529 wxPyEndAllowThreads(__tstate
);
16530 if (PyErr_Occurred()) SWIG_fail
;
16532 resultobj
= SWIG_Py_Void();
16539 SWIGINTERN PyObject
*_wrap_ColourData_GetChooseFull(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16540 PyObject
*resultobj
= 0;
16541 wxColourData
*arg1
= (wxColourData
*) 0 ;
16545 PyObject
*swig_obj
[1] ;
16547 if (!args
) SWIG_fail
;
16548 swig_obj
[0] = args
;
16549 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxColourData
, 0 | 0 );
16550 if (!SWIG_IsOK(res1
)) {
16551 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ColourData_GetChooseFull" "', expected argument " "1"" of type '" "wxColourData *""'");
16553 arg1
= reinterpret_cast< wxColourData
* >(argp1
);
16555 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16556 result
= (bool)(arg1
)->GetChooseFull();
16557 wxPyEndAllowThreads(__tstate
);
16558 if (PyErr_Occurred()) SWIG_fail
;
16561 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16569 SWIGINTERN PyObject
*_wrap_ColourData_GetColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16570 PyObject
*resultobj
= 0;
16571 wxColourData
*arg1
= (wxColourData
*) 0 ;
16575 PyObject
*swig_obj
[1] ;
16577 if (!args
) SWIG_fail
;
16578 swig_obj
[0] = args
;
16579 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxColourData
, 0 | 0 );
16580 if (!SWIG_IsOK(res1
)) {
16581 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ColourData_GetColour" "', expected argument " "1"" of type '" "wxColourData *""'");
16583 arg1
= reinterpret_cast< wxColourData
* >(argp1
);
16585 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16586 result
= (arg1
)->GetColour();
16587 wxPyEndAllowThreads(__tstate
);
16588 if (PyErr_Occurred()) SWIG_fail
;
16590 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
16597 SWIGINTERN PyObject
*_wrap_ColourData_GetCustomColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16598 PyObject
*resultobj
= 0;
16599 wxColourData
*arg1
= (wxColourData
*) 0 ;
16606 PyObject
* obj0
= 0 ;
16607 PyObject
* obj1
= 0 ;
16608 char * kwnames
[] = {
16609 (char *) "self",(char *) "i", NULL
16612 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ColourData_GetCustomColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
16613 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxColourData
, 0 | 0 );
16614 if (!SWIG_IsOK(res1
)) {
16615 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ColourData_GetCustomColour" "', expected argument " "1"" of type '" "wxColourData *""'");
16617 arg1
= reinterpret_cast< wxColourData
* >(argp1
);
16618 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
16619 if (!SWIG_IsOK(ecode2
)) {
16620 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ColourData_GetCustomColour" "', expected argument " "2"" of type '" "int""'");
16622 arg2
= static_cast< int >(val2
);
16624 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16625 result
= (arg1
)->GetCustomColour(arg2
);
16626 wxPyEndAllowThreads(__tstate
);
16627 if (PyErr_Occurred()) SWIG_fail
;
16629 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
16636 SWIGINTERN PyObject
*_wrap_ColourData_SetChooseFull(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16637 PyObject
*resultobj
= 0;
16638 wxColourData
*arg1
= (wxColourData
*) 0 ;
16644 PyObject
* obj0
= 0 ;
16645 PyObject
* obj1
= 0 ;
16646 char * kwnames
[] = {
16647 (char *) "self",(char *) "flag", NULL
16650 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ColourData_SetChooseFull",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
16651 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxColourData
, 0 | 0 );
16652 if (!SWIG_IsOK(res1
)) {
16653 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ColourData_SetChooseFull" "', expected argument " "1"" of type '" "wxColourData *""'");
16655 arg1
= reinterpret_cast< wxColourData
* >(argp1
);
16656 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
16657 if (!SWIG_IsOK(ecode2
)) {
16658 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ColourData_SetChooseFull" "', expected argument " "2"" of type '" "int""'");
16660 arg2
= static_cast< int >(val2
);
16662 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16663 (arg1
)->SetChooseFull(arg2
);
16664 wxPyEndAllowThreads(__tstate
);
16665 if (PyErr_Occurred()) SWIG_fail
;
16667 resultobj
= SWIG_Py_Void();
16674 SWIGINTERN PyObject
*_wrap_ColourData_SetColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16675 PyObject
*resultobj
= 0;
16676 wxColourData
*arg1
= (wxColourData
*) 0 ;
16677 wxColour
*arg2
= 0 ;
16681 PyObject
* obj0
= 0 ;
16682 PyObject
* obj1
= 0 ;
16683 char * kwnames
[] = {
16684 (char *) "self",(char *) "colour", NULL
16687 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ColourData_SetColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
16688 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxColourData
, 0 | 0 );
16689 if (!SWIG_IsOK(res1
)) {
16690 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ColourData_SetColour" "', expected argument " "1"" of type '" "wxColourData *""'");
16692 arg1
= reinterpret_cast< wxColourData
* >(argp1
);
16695 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
16698 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16699 (arg1
)->SetColour((wxColour
const &)*arg2
);
16700 wxPyEndAllowThreads(__tstate
);
16701 if (PyErr_Occurred()) SWIG_fail
;
16703 resultobj
= SWIG_Py_Void();
16710 SWIGINTERN PyObject
*_wrap_ColourData_SetCustomColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16711 PyObject
*resultobj
= 0;
16712 wxColourData
*arg1
= (wxColourData
*) 0 ;
16714 wxColour
*arg3
= 0 ;
16720 PyObject
* obj0
= 0 ;
16721 PyObject
* obj1
= 0 ;
16722 PyObject
* obj2
= 0 ;
16723 char * kwnames
[] = {
16724 (char *) "self",(char *) "i",(char *) "colour", NULL
16727 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ColourData_SetCustomColour",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
16728 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxColourData
, 0 | 0 );
16729 if (!SWIG_IsOK(res1
)) {
16730 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ColourData_SetCustomColour" "', expected argument " "1"" of type '" "wxColourData *""'");
16732 arg1
= reinterpret_cast< wxColourData
* >(argp1
);
16733 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
16734 if (!SWIG_IsOK(ecode2
)) {
16735 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ColourData_SetCustomColour" "', expected argument " "2"" of type '" "int""'");
16737 arg2
= static_cast< int >(val2
);
16740 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
16743 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16744 (arg1
)->SetCustomColour(arg2
,(wxColour
const &)*arg3
);
16745 wxPyEndAllowThreads(__tstate
);
16746 if (PyErr_Occurred()) SWIG_fail
;
16748 resultobj
= SWIG_Py_Void();
16755 SWIGINTERN PyObject
*ColourData_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16757 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
16758 SWIG_TypeNewClientData(SWIGTYPE_p_wxColourData
, SWIG_NewClientData(obj
));
16759 return SWIG_Py_Void();
16762 SWIGINTERN PyObject
*ColourData_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16763 return SWIG_Python_InitShadowInstance(args
);
16766 SWIGINTERN PyObject
*_wrap_new_ColourDialog(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16767 PyObject
*resultobj
= 0;
16768 wxWindow
*arg1
= (wxWindow
*) 0 ;
16769 wxColourData
*arg2
= (wxColourData
*) NULL
;
16770 wxColourDialog
*result
= 0 ;
16775 PyObject
* obj0
= 0 ;
16776 PyObject
* obj1
= 0 ;
16777 char * kwnames
[] = {
16778 (char *) "parent",(char *) "data", NULL
16781 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_ColourDialog",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
16782 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
16783 if (!SWIG_IsOK(res1
)) {
16784 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_ColourDialog" "', expected argument " "1"" of type '" "wxWindow *""'");
16786 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
16788 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxColourData
, 0 | 0 );
16789 if (!SWIG_IsOK(res2
)) {
16790 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_ColourDialog" "', expected argument " "2"" of type '" "wxColourData *""'");
16792 arg2
= reinterpret_cast< wxColourData
* >(argp2
);
16795 if (!wxPyCheckForApp()) SWIG_fail
;
16796 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16797 result
= (wxColourDialog
*)new wxColourDialog(arg1
,arg2
);
16798 wxPyEndAllowThreads(__tstate
);
16799 if (PyErr_Occurred()) SWIG_fail
;
16801 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxColourDialog
, SWIG_POINTER_NEW
| 0 );
16808 SWIGINTERN PyObject
*_wrap_ColourDialog_GetColourData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16809 PyObject
*resultobj
= 0;
16810 wxColourDialog
*arg1
= (wxColourDialog
*) 0 ;
16811 wxColourData
*result
= 0 ;
16814 PyObject
*swig_obj
[1] ;
16816 if (!args
) SWIG_fail
;
16817 swig_obj
[0] = args
;
16818 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxColourDialog
, 0 | 0 );
16819 if (!SWIG_IsOK(res1
)) {
16820 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ColourDialog_GetColourData" "', expected argument " "1"" of type '" "wxColourDialog *""'");
16822 arg1
= reinterpret_cast< wxColourDialog
* >(argp1
);
16824 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16826 wxColourData
&_result_ref
= (arg1
)->GetColourData();
16827 result
= (wxColourData
*) &_result_ref
;
16829 wxPyEndAllowThreads(__tstate
);
16830 if (PyErr_Occurred()) SWIG_fail
;
16832 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxColourData
, 0 | 0 );
16839 SWIGINTERN PyObject
*ColourDialog_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16841 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
16842 SWIG_TypeNewClientData(SWIGTYPE_p_wxColourDialog
, SWIG_NewClientData(obj
));
16843 return SWIG_Py_Void();
16846 SWIGINTERN PyObject
*ColourDialog_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16847 return SWIG_Python_InitShadowInstance(args
);
16850 SWIGINTERN PyObject
*_wrap_GetColourFromUser(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16851 PyObject
*resultobj
= 0;
16852 wxWindow
*arg1
= (wxWindow
*) (wxWindow
*) NULL
;
16853 wxColour
const &arg2_defvalue
= wxNullColour
;
16854 wxColour
*arg2
= (wxColour
*) &arg2_defvalue
;
16855 wxString
const &arg3_defvalue
= wxPyEmptyString
;
16856 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
16861 bool temp3
= false ;
16862 PyObject
* obj0
= 0 ;
16863 PyObject
* obj1
= 0 ;
16864 PyObject
* obj2
= 0 ;
16865 char * kwnames
[] = {
16866 (char *) "parent",(char *) "colInit",(char *) "caption", NULL
16869 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOO:GetColourFromUser",kwnames
,&obj0
,&obj1
,&obj2
)) 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 '" "GetColourFromUser" "', expected argument " "1"" of type '" "wxWindow *""'");
16875 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
16880 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
16885 arg3
= wxString_in_helper(obj2
);
16886 if (arg3
== NULL
) SWIG_fail
;
16891 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16892 result
= wxGetColourFromUser(arg1
,(wxColour
const &)*arg2
,(wxString
const &)*arg3
);
16893 wxPyEndAllowThreads(__tstate
);
16894 if (PyErr_Occurred()) SWIG_fail
;
16896 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
16911 SWIGINTERN PyObject
*_wrap_new_DirDialog(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16912 PyObject
*resultobj
= 0;
16913 wxWindow
*arg1
= (wxWindow
*) 0 ;
16914 wxString
const &arg2_defvalue
= wxPyDirSelectorPromptStr
;
16915 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
16916 wxString
const &arg3_defvalue
= wxPyEmptyString
;
16917 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
16918 long arg4
= (long) wxDD_DEFAULT_STYLE
;
16919 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
16920 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
16921 wxSize
const &arg6_defvalue
= wxDefaultSize
;
16922 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
16923 wxString
const &arg7_defvalue
= wxPyDirDialogNameStr
;
16924 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
16925 wxDirDialog
*result
= 0 ;
16928 bool temp2
= false ;
16929 bool temp3
= false ;
16934 bool temp7
= false ;
16935 PyObject
* obj0
= 0 ;
16936 PyObject
* obj1
= 0 ;
16937 PyObject
* obj2
= 0 ;
16938 PyObject
* obj3
= 0 ;
16939 PyObject
* obj4
= 0 ;
16940 PyObject
* obj5
= 0 ;
16941 PyObject
* obj6
= 0 ;
16942 char * kwnames
[] = {
16943 (char *) "parent",(char *) "message",(char *) "defaultPath",(char *) "style",(char *) "pos",(char *) "size",(char *) "name", NULL
16946 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_DirDialog",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
16947 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
16948 if (!SWIG_IsOK(res1
)) {
16949 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_DirDialog" "', expected argument " "1"" of type '" "wxWindow *""'");
16951 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
16954 arg2
= wxString_in_helper(obj1
);
16955 if (arg2
== NULL
) SWIG_fail
;
16961 arg3
= wxString_in_helper(obj2
);
16962 if (arg3
== NULL
) SWIG_fail
;
16967 ecode4
= SWIG_AsVal_long(obj3
, &val4
);
16968 if (!SWIG_IsOK(ecode4
)) {
16969 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_DirDialog" "', expected argument " "4"" of type '" "long""'");
16971 arg4
= static_cast< long >(val4
);
16976 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
16982 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
16987 arg7
= wxString_in_helper(obj6
);
16988 if (arg7
== NULL
) SWIG_fail
;
16993 if (!wxPyCheckForApp()) SWIG_fail
;
16994 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16995 result
= (wxDirDialog
*)new wxDirDialog(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,(wxString
const &)*arg7
);
16996 wxPyEndAllowThreads(__tstate
);
16997 if (PyErr_Occurred()) SWIG_fail
;
16999 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDirDialog
, SWIG_POINTER_NEW
| 0 );
17030 SWIGINTERN PyObject
*_wrap_DirDialog_GetPath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17031 PyObject
*resultobj
= 0;
17032 wxDirDialog
*arg1
= (wxDirDialog
*) 0 ;
17036 PyObject
*swig_obj
[1] ;
17038 if (!args
) SWIG_fail
;
17039 swig_obj
[0] = args
;
17040 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDirDialog
, 0 | 0 );
17041 if (!SWIG_IsOK(res1
)) {
17042 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DirDialog_GetPath" "', expected argument " "1"" of type '" "wxDirDialog *""'");
17044 arg1
= reinterpret_cast< wxDirDialog
* >(argp1
);
17046 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17047 result
= (arg1
)->GetPath();
17048 wxPyEndAllowThreads(__tstate
);
17049 if (PyErr_Occurred()) SWIG_fail
;
17053 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
17055 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
17064 SWIGINTERN PyObject
*_wrap_DirDialog_GetMessage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17065 PyObject
*resultobj
= 0;
17066 wxDirDialog
*arg1
= (wxDirDialog
*) 0 ;
17070 PyObject
*swig_obj
[1] ;
17072 if (!args
) SWIG_fail
;
17073 swig_obj
[0] = args
;
17074 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDirDialog
, 0 | 0 );
17075 if (!SWIG_IsOK(res1
)) {
17076 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DirDialog_GetMessage" "', expected argument " "1"" of type '" "wxDirDialog *""'");
17078 arg1
= reinterpret_cast< wxDirDialog
* >(argp1
);
17080 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17081 result
= (arg1
)->GetMessage();
17082 wxPyEndAllowThreads(__tstate
);
17083 if (PyErr_Occurred()) SWIG_fail
;
17087 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
17089 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
17098 SWIGINTERN PyObject
*_wrap_DirDialog_SetMessage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17099 PyObject
*resultobj
= 0;
17100 wxDirDialog
*arg1
= (wxDirDialog
*) 0 ;
17101 wxString
*arg2
= 0 ;
17104 bool temp2
= false ;
17105 PyObject
* obj0
= 0 ;
17106 PyObject
* obj1
= 0 ;
17107 char * kwnames
[] = {
17108 (char *) "self",(char *) "message", NULL
17111 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DirDialog_SetMessage",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
17112 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDirDialog
, 0 | 0 );
17113 if (!SWIG_IsOK(res1
)) {
17114 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DirDialog_SetMessage" "', expected argument " "1"" of type '" "wxDirDialog *""'");
17116 arg1
= reinterpret_cast< wxDirDialog
* >(argp1
);
17118 arg2
= wxString_in_helper(obj1
);
17119 if (arg2
== NULL
) SWIG_fail
;
17123 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17124 (arg1
)->SetMessage((wxString
const &)*arg2
);
17125 wxPyEndAllowThreads(__tstate
);
17126 if (PyErr_Occurred()) SWIG_fail
;
17128 resultobj
= SWIG_Py_Void();
17143 SWIGINTERN PyObject
*_wrap_DirDialog_SetPath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17144 PyObject
*resultobj
= 0;
17145 wxDirDialog
*arg1
= (wxDirDialog
*) 0 ;
17146 wxString
*arg2
= 0 ;
17149 bool temp2
= false ;
17150 PyObject
* obj0
= 0 ;
17151 PyObject
* obj1
= 0 ;
17152 char * kwnames
[] = {
17153 (char *) "self",(char *) "path", NULL
17156 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DirDialog_SetPath",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
17157 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDirDialog
, 0 | 0 );
17158 if (!SWIG_IsOK(res1
)) {
17159 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DirDialog_SetPath" "', expected argument " "1"" of type '" "wxDirDialog *""'");
17161 arg1
= reinterpret_cast< wxDirDialog
* >(argp1
);
17163 arg2
= wxString_in_helper(obj1
);
17164 if (arg2
== NULL
) SWIG_fail
;
17168 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17169 (arg1
)->SetPath((wxString
const &)*arg2
);
17170 wxPyEndAllowThreads(__tstate
);
17171 if (PyErr_Occurred()) SWIG_fail
;
17173 resultobj
= SWIG_Py_Void();
17188 SWIGINTERN PyObject
*DirDialog_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17190 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
17191 SWIG_TypeNewClientData(SWIGTYPE_p_wxDirDialog
, SWIG_NewClientData(obj
));
17192 return SWIG_Py_Void();
17195 SWIGINTERN PyObject
*DirDialog_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17196 return SWIG_Python_InitShadowInstance(args
);
17199 SWIGINTERN PyObject
*_wrap_new_FileDialog(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17200 PyObject
*resultobj
= 0;
17201 wxWindow
*arg1
= (wxWindow
*) 0 ;
17202 wxString
const &arg2_defvalue
= wxPyFileSelectorPromptStr
;
17203 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
17204 wxString
const &arg3_defvalue
= wxPyEmptyString
;
17205 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
17206 wxString
const &arg4_defvalue
= wxPyEmptyString
;
17207 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
17208 wxString
const &arg5_defvalue
= wxPyFileSelectorDefaultWildcardStr
;
17209 wxString
*arg5
= (wxString
*) &arg5_defvalue
;
17210 long arg6
= (long) wxFD_DEFAULT_STYLE
;
17211 wxPoint
const &arg7_defvalue
= wxDefaultPosition
;
17212 wxPoint
*arg7
= (wxPoint
*) &arg7_defvalue
;
17213 wxFileDialog
*result
= 0 ;
17216 bool temp2
= false ;
17217 bool temp3
= false ;
17218 bool temp4
= false ;
17219 bool temp5
= false ;
17223 PyObject
* obj0
= 0 ;
17224 PyObject
* obj1
= 0 ;
17225 PyObject
* obj2
= 0 ;
17226 PyObject
* obj3
= 0 ;
17227 PyObject
* obj4
= 0 ;
17228 PyObject
* obj5
= 0 ;
17229 PyObject
* obj6
= 0 ;
17230 char * kwnames
[] = {
17231 (char *) "parent",(char *) "message",(char *) "defaultDir",(char *) "defaultFile",(char *) "wildcard",(char *) "style",(char *) "pos", NULL
17234 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_FileDialog",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
17235 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
17236 if (!SWIG_IsOK(res1
)) {
17237 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_FileDialog" "', expected argument " "1"" of type '" "wxWindow *""'");
17239 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
17242 arg2
= wxString_in_helper(obj1
);
17243 if (arg2
== NULL
) SWIG_fail
;
17249 arg3
= wxString_in_helper(obj2
);
17250 if (arg3
== NULL
) SWIG_fail
;
17256 arg4
= wxString_in_helper(obj3
);
17257 if (arg4
== NULL
) SWIG_fail
;
17263 arg5
= wxString_in_helper(obj4
);
17264 if (arg5
== NULL
) SWIG_fail
;
17269 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
17270 if (!SWIG_IsOK(ecode6
)) {
17271 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_FileDialog" "', expected argument " "6"" of type '" "long""'");
17273 arg6
= static_cast< long >(val6
);
17278 if ( ! wxPoint_helper(obj6
, &arg7
)) SWIG_fail
;
17282 if (!wxPyCheckForApp()) SWIG_fail
;
17283 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17284 result
= (wxFileDialog
*)new wxFileDialog(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
,(wxString
const &)*arg5
,arg6
,(wxPoint
const &)*arg7
);
17285 wxPyEndAllowThreads(__tstate
);
17286 if (PyErr_Occurred()) SWIG_fail
;
17288 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFileDialog
, SWIG_POINTER_NEW
| 0 );
17327 SWIGINTERN PyObject
*_wrap_FileDialog_SetMessage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17328 PyObject
*resultobj
= 0;
17329 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
17330 wxString
*arg2
= 0 ;
17333 bool temp2
= false ;
17334 PyObject
* obj0
= 0 ;
17335 PyObject
* obj1
= 0 ;
17336 char * kwnames
[] = {
17337 (char *) "self",(char *) "message", NULL
17340 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileDialog_SetMessage",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
17341 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFileDialog
, 0 | 0 );
17342 if (!SWIG_IsOK(res1
)) {
17343 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileDialog_SetMessage" "', expected argument " "1"" of type '" "wxFileDialog *""'");
17345 arg1
= reinterpret_cast< wxFileDialog
* >(argp1
);
17347 arg2
= wxString_in_helper(obj1
);
17348 if (arg2
== NULL
) SWIG_fail
;
17352 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17353 (arg1
)->SetMessage((wxString
const &)*arg2
);
17354 wxPyEndAllowThreads(__tstate
);
17355 if (PyErr_Occurred()) SWIG_fail
;
17357 resultobj
= SWIG_Py_Void();
17372 SWIGINTERN PyObject
*_wrap_FileDialog_SetPath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17373 PyObject
*resultobj
= 0;
17374 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
17375 wxString
*arg2
= 0 ;
17378 bool temp2
= false ;
17379 PyObject
* obj0
= 0 ;
17380 PyObject
* obj1
= 0 ;
17381 char * kwnames
[] = {
17382 (char *) "self",(char *) "path", NULL
17385 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileDialog_SetPath",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
17386 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFileDialog
, 0 | 0 );
17387 if (!SWIG_IsOK(res1
)) {
17388 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileDialog_SetPath" "', expected argument " "1"" of type '" "wxFileDialog *""'");
17390 arg1
= reinterpret_cast< wxFileDialog
* >(argp1
);
17392 arg2
= wxString_in_helper(obj1
);
17393 if (arg2
== NULL
) SWIG_fail
;
17397 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17398 (arg1
)->SetPath((wxString
const &)*arg2
);
17399 wxPyEndAllowThreads(__tstate
);
17400 if (PyErr_Occurred()) SWIG_fail
;
17402 resultobj
= SWIG_Py_Void();
17417 SWIGINTERN PyObject
*_wrap_FileDialog_SetDirectory(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17418 PyObject
*resultobj
= 0;
17419 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
17420 wxString
*arg2
= 0 ;
17423 bool temp2
= false ;
17424 PyObject
* obj0
= 0 ;
17425 PyObject
* obj1
= 0 ;
17426 char * kwnames
[] = {
17427 (char *) "self",(char *) "dir", NULL
17430 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileDialog_SetDirectory",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
17431 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFileDialog
, 0 | 0 );
17432 if (!SWIG_IsOK(res1
)) {
17433 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileDialog_SetDirectory" "', expected argument " "1"" of type '" "wxFileDialog *""'");
17435 arg1
= reinterpret_cast< wxFileDialog
* >(argp1
);
17437 arg2
= wxString_in_helper(obj1
);
17438 if (arg2
== NULL
) SWIG_fail
;
17442 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17443 (arg1
)->SetDirectory((wxString
const &)*arg2
);
17444 wxPyEndAllowThreads(__tstate
);
17445 if (PyErr_Occurred()) SWIG_fail
;
17447 resultobj
= SWIG_Py_Void();
17462 SWIGINTERN PyObject
*_wrap_FileDialog_SetFilename(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17463 PyObject
*resultobj
= 0;
17464 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
17465 wxString
*arg2
= 0 ;
17468 bool temp2
= false ;
17469 PyObject
* obj0
= 0 ;
17470 PyObject
* obj1
= 0 ;
17471 char * kwnames
[] = {
17472 (char *) "self",(char *) "name", NULL
17475 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileDialog_SetFilename",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
17476 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFileDialog
, 0 | 0 );
17477 if (!SWIG_IsOK(res1
)) {
17478 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileDialog_SetFilename" "', expected argument " "1"" of type '" "wxFileDialog *""'");
17480 arg1
= reinterpret_cast< wxFileDialog
* >(argp1
);
17482 arg2
= wxString_in_helper(obj1
);
17483 if (arg2
== NULL
) SWIG_fail
;
17487 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17488 (arg1
)->SetFilename((wxString
const &)*arg2
);
17489 wxPyEndAllowThreads(__tstate
);
17490 if (PyErr_Occurred()) SWIG_fail
;
17492 resultobj
= SWIG_Py_Void();
17507 SWIGINTERN PyObject
*_wrap_FileDialog_SetWildcard(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17508 PyObject
*resultobj
= 0;
17509 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
17510 wxString
*arg2
= 0 ;
17513 bool temp2
= false ;
17514 PyObject
* obj0
= 0 ;
17515 PyObject
* obj1
= 0 ;
17516 char * kwnames
[] = {
17517 (char *) "self",(char *) "wildCard", NULL
17520 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileDialog_SetWildcard",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
17521 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFileDialog
, 0 | 0 );
17522 if (!SWIG_IsOK(res1
)) {
17523 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileDialog_SetWildcard" "', expected argument " "1"" of type '" "wxFileDialog *""'");
17525 arg1
= reinterpret_cast< wxFileDialog
* >(argp1
);
17527 arg2
= wxString_in_helper(obj1
);
17528 if (arg2
== NULL
) SWIG_fail
;
17532 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17533 (arg1
)->SetWildcard((wxString
const &)*arg2
);
17534 wxPyEndAllowThreads(__tstate
);
17535 if (PyErr_Occurred()) SWIG_fail
;
17537 resultobj
= SWIG_Py_Void();
17552 SWIGINTERN PyObject
*_wrap_FileDialog_SetFilterIndex(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17553 PyObject
*resultobj
= 0;
17554 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
17560 PyObject
* obj0
= 0 ;
17561 PyObject
* obj1
= 0 ;
17562 char * kwnames
[] = {
17563 (char *) "self",(char *) "filterIndex", NULL
17566 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileDialog_SetFilterIndex",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
17567 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFileDialog
, 0 | 0 );
17568 if (!SWIG_IsOK(res1
)) {
17569 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileDialog_SetFilterIndex" "', expected argument " "1"" of type '" "wxFileDialog *""'");
17571 arg1
= reinterpret_cast< wxFileDialog
* >(argp1
);
17572 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
17573 if (!SWIG_IsOK(ecode2
)) {
17574 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "FileDialog_SetFilterIndex" "', expected argument " "2"" of type '" "int""'");
17576 arg2
= static_cast< int >(val2
);
17578 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17579 (arg1
)->SetFilterIndex(arg2
);
17580 wxPyEndAllowThreads(__tstate
);
17581 if (PyErr_Occurred()) SWIG_fail
;
17583 resultobj
= SWIG_Py_Void();
17590 SWIGINTERN PyObject
*_wrap_FileDialog_GetMessage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17591 PyObject
*resultobj
= 0;
17592 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
17596 PyObject
*swig_obj
[1] ;
17598 if (!args
) SWIG_fail
;
17599 swig_obj
[0] = args
;
17600 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFileDialog
, 0 | 0 );
17601 if (!SWIG_IsOK(res1
)) {
17602 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileDialog_GetMessage" "', expected argument " "1"" of type '" "wxFileDialog const *""'");
17604 arg1
= reinterpret_cast< wxFileDialog
* >(argp1
);
17606 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17607 result
= ((wxFileDialog
const *)arg1
)->GetMessage();
17608 wxPyEndAllowThreads(__tstate
);
17609 if (PyErr_Occurred()) SWIG_fail
;
17613 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
17615 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
17624 SWIGINTERN PyObject
*_wrap_FileDialog_GetPath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17625 PyObject
*resultobj
= 0;
17626 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
17630 PyObject
*swig_obj
[1] ;
17632 if (!args
) SWIG_fail
;
17633 swig_obj
[0] = args
;
17634 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFileDialog
, 0 | 0 );
17635 if (!SWIG_IsOK(res1
)) {
17636 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileDialog_GetPath" "', expected argument " "1"" of type '" "wxFileDialog const *""'");
17638 arg1
= reinterpret_cast< wxFileDialog
* >(argp1
);
17640 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17641 result
= ((wxFileDialog
const *)arg1
)->GetPath();
17642 wxPyEndAllowThreads(__tstate
);
17643 if (PyErr_Occurred()) SWIG_fail
;
17647 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
17649 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
17658 SWIGINTERN PyObject
*_wrap_FileDialog_GetDirectory(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17659 PyObject
*resultobj
= 0;
17660 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
17664 PyObject
*swig_obj
[1] ;
17666 if (!args
) SWIG_fail
;
17667 swig_obj
[0] = args
;
17668 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFileDialog
, 0 | 0 );
17669 if (!SWIG_IsOK(res1
)) {
17670 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileDialog_GetDirectory" "', expected argument " "1"" of type '" "wxFileDialog const *""'");
17672 arg1
= reinterpret_cast< wxFileDialog
* >(argp1
);
17674 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17675 result
= ((wxFileDialog
const *)arg1
)->GetDirectory();
17676 wxPyEndAllowThreads(__tstate
);
17677 if (PyErr_Occurred()) SWIG_fail
;
17681 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
17683 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
17692 SWIGINTERN PyObject
*_wrap_FileDialog_GetFilename(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17693 PyObject
*resultobj
= 0;
17694 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
17698 PyObject
*swig_obj
[1] ;
17700 if (!args
) SWIG_fail
;
17701 swig_obj
[0] = args
;
17702 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFileDialog
, 0 | 0 );
17703 if (!SWIG_IsOK(res1
)) {
17704 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileDialog_GetFilename" "', expected argument " "1"" of type '" "wxFileDialog const *""'");
17706 arg1
= reinterpret_cast< wxFileDialog
* >(argp1
);
17708 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17709 result
= ((wxFileDialog
const *)arg1
)->GetFilename();
17710 wxPyEndAllowThreads(__tstate
);
17711 if (PyErr_Occurred()) SWIG_fail
;
17715 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
17717 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
17726 SWIGINTERN PyObject
*_wrap_FileDialog_GetWildcard(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17727 PyObject
*resultobj
= 0;
17728 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
17732 PyObject
*swig_obj
[1] ;
17734 if (!args
) SWIG_fail
;
17735 swig_obj
[0] = args
;
17736 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFileDialog
, 0 | 0 );
17737 if (!SWIG_IsOK(res1
)) {
17738 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileDialog_GetWildcard" "', expected argument " "1"" of type '" "wxFileDialog const *""'");
17740 arg1
= reinterpret_cast< wxFileDialog
* >(argp1
);
17742 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17743 result
= ((wxFileDialog
const *)arg1
)->GetWildcard();
17744 wxPyEndAllowThreads(__tstate
);
17745 if (PyErr_Occurred()) SWIG_fail
;
17749 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
17751 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
17760 SWIGINTERN PyObject
*_wrap_FileDialog_GetFilterIndex(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17761 PyObject
*resultobj
= 0;
17762 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
17766 PyObject
*swig_obj
[1] ;
17768 if (!args
) SWIG_fail
;
17769 swig_obj
[0] = args
;
17770 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFileDialog
, 0 | 0 );
17771 if (!SWIG_IsOK(res1
)) {
17772 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileDialog_GetFilterIndex" "', expected argument " "1"" of type '" "wxFileDialog const *""'");
17774 arg1
= reinterpret_cast< wxFileDialog
* >(argp1
);
17776 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17777 result
= (int)((wxFileDialog
const *)arg1
)->GetFilterIndex();
17778 wxPyEndAllowThreads(__tstate
);
17779 if (PyErr_Occurred()) SWIG_fail
;
17781 resultobj
= SWIG_From_int(static_cast< int >(result
));
17788 SWIGINTERN PyObject
*_wrap_FileDialog_GetFilenames(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17789 PyObject
*resultobj
= 0;
17790 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
17791 PyObject
*result
= 0 ;
17794 PyObject
*swig_obj
[1] ;
17796 if (!args
) SWIG_fail
;
17797 swig_obj
[0] = args
;
17798 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFileDialog
, 0 | 0 );
17799 if (!SWIG_IsOK(res1
)) {
17800 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileDialog_GetFilenames" "', expected argument " "1"" of type '" "wxFileDialog *""'");
17802 arg1
= reinterpret_cast< wxFileDialog
* >(argp1
);
17804 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17805 result
= (PyObject
*)wxFileDialog_GetFilenames(arg1
);
17806 wxPyEndAllowThreads(__tstate
);
17807 if (PyErr_Occurred()) SWIG_fail
;
17809 resultobj
= result
;
17816 SWIGINTERN PyObject
*_wrap_FileDialog_GetPaths(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17817 PyObject
*resultobj
= 0;
17818 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
17819 PyObject
*result
= 0 ;
17822 PyObject
*swig_obj
[1] ;
17824 if (!args
) SWIG_fail
;
17825 swig_obj
[0] = args
;
17826 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFileDialog
, 0 | 0 );
17827 if (!SWIG_IsOK(res1
)) {
17828 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileDialog_GetPaths" "', expected argument " "1"" of type '" "wxFileDialog *""'");
17830 arg1
= reinterpret_cast< wxFileDialog
* >(argp1
);
17832 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17833 result
= (PyObject
*)wxFileDialog_GetPaths(arg1
);
17834 wxPyEndAllowThreads(__tstate
);
17835 if (PyErr_Occurred()) SWIG_fail
;
17837 resultobj
= result
;
17844 SWIGINTERN PyObject
*FileDialog_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17846 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
17847 SWIG_TypeNewClientData(SWIGTYPE_p_wxFileDialog
, SWIG_NewClientData(obj
));
17848 return SWIG_Py_Void();
17851 SWIGINTERN PyObject
*FileDialog_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17852 return SWIG_Python_InitShadowInstance(args
);
17855 SWIGINTERN PyObject
*_wrap_new_MultiChoiceDialog(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17856 PyObject
*resultobj
= 0;
17857 wxWindow
*arg1
= (wxWindow
*) 0 ;
17858 wxString
*arg2
= 0 ;
17859 wxString
*arg3
= 0 ;
17860 int arg4
= (int) 0 ;
17861 wxString
*arg5
= (wxString
*) NULL
;
17862 long arg6
= (long) wxCHOICEDLG_STYLE
;
17863 wxPoint
const &arg7_defvalue
= wxDefaultPosition
;
17864 wxPoint
*arg7
= (wxPoint
*) &arg7_defvalue
;
17865 wxMultiChoiceDialog
*result
= 0 ;
17868 bool temp2
= false ;
17869 bool temp3
= false ;
17873 PyObject
* obj0
= 0 ;
17874 PyObject
* obj1
= 0 ;
17875 PyObject
* obj2
= 0 ;
17876 PyObject
* obj3
= 0 ;
17877 PyObject
* obj4
= 0 ;
17878 PyObject
* obj5
= 0 ;
17879 char * kwnames
[] = {
17880 (char *) "parent",(char *) "message",(char *) "caption",(char *) "choices",(char *) "style",(char *) "pos", NULL
17883 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOO:new_MultiChoiceDialog",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
17884 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
17885 if (!SWIG_IsOK(res1
)) {
17886 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_MultiChoiceDialog" "', expected argument " "1"" of type '" "wxWindow *""'");
17888 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
17890 arg2
= wxString_in_helper(obj1
);
17891 if (arg2
== NULL
) SWIG_fail
;
17895 arg3
= wxString_in_helper(obj2
);
17896 if (arg3
== NULL
) SWIG_fail
;
17901 arg4
= PyList_Size(obj3
);
17902 arg5
= wxString_LIST_helper(obj3
);
17903 if (arg5
== NULL
) SWIG_fail
;
17907 ecode6
= SWIG_AsVal_long(obj4
, &val6
);
17908 if (!SWIG_IsOK(ecode6
)) {
17909 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_MultiChoiceDialog" "', expected argument " "6"" of type '" "long""'");
17911 arg6
= static_cast< long >(val6
);
17916 if ( ! wxPoint_helper(obj5
, &arg7
)) SWIG_fail
;
17920 if (!wxPyCheckForApp()) SWIG_fail
;
17921 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17922 result
= (wxMultiChoiceDialog
*)new wxMultiChoiceDialog(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,arg4
,arg5
,arg6
,(wxPoint
const &)*arg7
);
17923 wxPyEndAllowThreads(__tstate
);
17924 if (PyErr_Occurred()) SWIG_fail
;
17926 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMultiChoiceDialog
, SWIG_POINTER_NEW
| 0 );
17936 if (arg5
) delete [] arg5
;
17949 if (arg5
) delete [] arg5
;
17955 SWIGINTERN PyObject
*_wrap_MultiChoiceDialog_SetSelections(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17956 PyObject
*resultobj
= 0;
17957 wxMultiChoiceDialog
*arg1
= (wxMultiChoiceDialog
*) 0 ;
17958 wxArrayInt
*arg2
= 0 ;
17961 bool temp2
= false ;
17962 PyObject
* obj0
= 0 ;
17963 PyObject
* obj1
= 0 ;
17964 char * kwnames
[] = {
17965 (char *) "self",(char *) "selections", NULL
17968 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MultiChoiceDialog_SetSelections",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
17969 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMultiChoiceDialog
, 0 | 0 );
17970 if (!SWIG_IsOK(res1
)) {
17971 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MultiChoiceDialog_SetSelections" "', expected argument " "1"" of type '" "wxMultiChoiceDialog *""'");
17973 arg1
= reinterpret_cast< wxMultiChoiceDialog
* >(argp1
);
17975 if (! PySequence_Check(obj1
)) {
17976 PyErr_SetString(PyExc_TypeError
, "Sequence of integers expected.");
17979 arg2
= new wxArrayInt
;
17981 int i
, len
=PySequence_Length(obj1
);
17982 for (i
=0; i
<len
; i
++) {
17983 PyObject
* item
= PySequence_GetItem(obj1
, i
);
17984 PyObject
* number
= PyNumber_Int(item
);
17985 arg2
->Add(PyInt_AS_LONG(number
));
17991 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17992 (arg1
)->SetSelections((wxArrayInt
const &)*arg2
);
17993 wxPyEndAllowThreads(__tstate
);
17994 if (PyErr_Occurred()) SWIG_fail
;
17996 resultobj
= SWIG_Py_Void();
17998 if (temp2
) delete arg2
;
18003 if (temp2
) delete arg2
;
18009 SWIGINTERN PyObject
*_wrap_MultiChoiceDialog_GetSelections(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18010 PyObject
*resultobj
= 0;
18011 wxMultiChoiceDialog
*arg1
= (wxMultiChoiceDialog
*) 0 ;
18012 PyObject
*result
= 0 ;
18015 PyObject
*swig_obj
[1] ;
18017 if (!args
) SWIG_fail
;
18018 swig_obj
[0] = args
;
18019 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMultiChoiceDialog
, 0 | 0 );
18020 if (!SWIG_IsOK(res1
)) {
18021 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MultiChoiceDialog_GetSelections" "', expected argument " "1"" of type '" "wxMultiChoiceDialog *""'");
18023 arg1
= reinterpret_cast< wxMultiChoiceDialog
* >(argp1
);
18025 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18026 result
= (PyObject
*)wxMultiChoiceDialog_GetSelections(arg1
);
18027 wxPyEndAllowThreads(__tstate
);
18028 if (PyErr_Occurred()) SWIG_fail
;
18030 resultobj
= result
;
18037 SWIGINTERN PyObject
*MultiChoiceDialog_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18039 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
18040 SWIG_TypeNewClientData(SWIGTYPE_p_wxMultiChoiceDialog
, SWIG_NewClientData(obj
));
18041 return SWIG_Py_Void();
18044 SWIGINTERN PyObject
*MultiChoiceDialog_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18045 return SWIG_Python_InitShadowInstance(args
);
18048 SWIGINTERN PyObject
*_wrap_new_SingleChoiceDialog(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18049 PyObject
*resultobj
= 0;
18050 wxWindow
*arg1
= (wxWindow
*) 0 ;
18051 wxString
*arg2
= 0 ;
18052 wxString
*arg3
= 0 ;
18054 wxString
*arg5
= (wxString
*) 0 ;
18055 long arg6
= (long) wxCHOICEDLG_STYLE
;
18056 wxPoint
const &arg7_defvalue
= wxDefaultPosition
;
18057 wxPoint
*arg7
= (wxPoint
*) &arg7_defvalue
;
18058 wxSingleChoiceDialog
*result
= 0 ;
18061 bool temp2
= false ;
18062 bool temp3
= false ;
18066 PyObject
* obj0
= 0 ;
18067 PyObject
* obj1
= 0 ;
18068 PyObject
* obj2
= 0 ;
18069 PyObject
* obj3
= 0 ;
18070 PyObject
* obj4
= 0 ;
18071 PyObject
* obj5
= 0 ;
18072 char * kwnames
[] = {
18073 (char *) "parent",(char *) "message",(char *) "caption",(char *) "choices",(char *) "style",(char *) "pos", NULL
18076 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OO:new_SingleChoiceDialog",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
18077 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
18078 if (!SWIG_IsOK(res1
)) {
18079 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_SingleChoiceDialog" "', expected argument " "1"" of type '" "wxWindow *""'");
18081 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
18083 arg2
= wxString_in_helper(obj1
);
18084 if (arg2
== NULL
) SWIG_fail
;
18088 arg3
= wxString_in_helper(obj2
);
18089 if (arg3
== NULL
) SWIG_fail
;
18093 arg4
= PyList_Size(obj3
);
18094 arg5
= wxString_LIST_helper(obj3
);
18095 if (arg5
== NULL
) SWIG_fail
;
18098 ecode6
= SWIG_AsVal_long(obj4
, &val6
);
18099 if (!SWIG_IsOK(ecode6
)) {
18100 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_SingleChoiceDialog" "', expected argument " "6"" of type '" "long""'");
18102 arg6
= static_cast< long >(val6
);
18107 if ( ! wxPoint_helper(obj5
, &arg7
)) SWIG_fail
;
18111 if (!wxPyCheckForApp()) SWIG_fail
;
18112 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18113 result
= (wxSingleChoiceDialog
*)new_wxSingleChoiceDialog(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,arg4
,arg5
,arg6
,(wxPoint
const &)*arg7
);
18114 wxPyEndAllowThreads(__tstate
);
18115 if (PyErr_Occurred()) SWIG_fail
;
18117 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSingleChoiceDialog
, SWIG_POINTER_NEW
| 0 );
18127 if (arg5
) delete [] arg5
;
18140 if (arg5
) delete [] arg5
;
18146 SWIGINTERN PyObject
*_wrap_SingleChoiceDialog_GetSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18147 PyObject
*resultobj
= 0;
18148 wxSingleChoiceDialog
*arg1
= (wxSingleChoiceDialog
*) 0 ;
18152 PyObject
*swig_obj
[1] ;
18154 if (!args
) SWIG_fail
;
18155 swig_obj
[0] = args
;
18156 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSingleChoiceDialog
, 0 | 0 );
18157 if (!SWIG_IsOK(res1
)) {
18158 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SingleChoiceDialog_GetSelection" "', expected argument " "1"" of type '" "wxSingleChoiceDialog *""'");
18160 arg1
= reinterpret_cast< wxSingleChoiceDialog
* >(argp1
);
18162 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18163 result
= (int)(arg1
)->GetSelection();
18164 wxPyEndAllowThreads(__tstate
);
18165 if (PyErr_Occurred()) SWIG_fail
;
18167 resultobj
= SWIG_From_int(static_cast< int >(result
));
18174 SWIGINTERN PyObject
*_wrap_SingleChoiceDialog_GetStringSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18175 PyObject
*resultobj
= 0;
18176 wxSingleChoiceDialog
*arg1
= (wxSingleChoiceDialog
*) 0 ;
18180 PyObject
*swig_obj
[1] ;
18182 if (!args
) SWIG_fail
;
18183 swig_obj
[0] = args
;
18184 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSingleChoiceDialog
, 0 | 0 );
18185 if (!SWIG_IsOK(res1
)) {
18186 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SingleChoiceDialog_GetStringSelection" "', expected argument " "1"" of type '" "wxSingleChoiceDialog *""'");
18188 arg1
= reinterpret_cast< wxSingleChoiceDialog
* >(argp1
);
18190 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18191 result
= (arg1
)->GetStringSelection();
18192 wxPyEndAllowThreads(__tstate
);
18193 if (PyErr_Occurred()) SWIG_fail
;
18197 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
18199 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
18208 SWIGINTERN PyObject
*_wrap_SingleChoiceDialog_SetSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18209 PyObject
*resultobj
= 0;
18210 wxSingleChoiceDialog
*arg1
= (wxSingleChoiceDialog
*) 0 ;
18216 PyObject
* obj0
= 0 ;
18217 PyObject
* obj1
= 0 ;
18218 char * kwnames
[] = {
18219 (char *) "self",(char *) "sel", NULL
18222 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SingleChoiceDialog_SetSelection",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
18223 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSingleChoiceDialog
, 0 | 0 );
18224 if (!SWIG_IsOK(res1
)) {
18225 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SingleChoiceDialog_SetSelection" "', expected argument " "1"" of type '" "wxSingleChoiceDialog *""'");
18227 arg1
= reinterpret_cast< wxSingleChoiceDialog
* >(argp1
);
18228 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
18229 if (!SWIG_IsOK(ecode2
)) {
18230 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SingleChoiceDialog_SetSelection" "', expected argument " "2"" of type '" "int""'");
18232 arg2
= static_cast< int >(val2
);
18234 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18235 (arg1
)->SetSelection(arg2
);
18236 wxPyEndAllowThreads(__tstate
);
18237 if (PyErr_Occurred()) SWIG_fail
;
18239 resultobj
= SWIG_Py_Void();
18246 SWIGINTERN PyObject
*SingleChoiceDialog_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18248 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
18249 SWIG_TypeNewClientData(SWIGTYPE_p_wxSingleChoiceDialog
, SWIG_NewClientData(obj
));
18250 return SWIG_Py_Void();
18253 SWIGINTERN PyObject
*SingleChoiceDialog_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18254 return SWIG_Python_InitShadowInstance(args
);
18257 SWIGINTERN PyObject
*_wrap_new_TextEntryDialog(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18258 PyObject
*resultobj
= 0;
18259 wxWindow
*arg1
= (wxWindow
*) 0 ;
18260 wxString
*arg2
= 0 ;
18261 wxString
const &arg3_defvalue
= wxPyGetTextFromUserPromptStr
;
18262 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
18263 wxString
const &arg4_defvalue
= wxPyEmptyString
;
18264 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
18265 long arg5
= (long) wxTextEntryDialogStyle
;
18266 wxPoint
const &arg6_defvalue
= wxDefaultPosition
;
18267 wxPoint
*arg6
= (wxPoint
*) &arg6_defvalue
;
18268 wxTextEntryDialog
*result
= 0 ;
18271 bool temp2
= false ;
18272 bool temp3
= false ;
18273 bool temp4
= false ;
18277 PyObject
* obj0
= 0 ;
18278 PyObject
* obj1
= 0 ;
18279 PyObject
* obj2
= 0 ;
18280 PyObject
* obj3
= 0 ;
18281 PyObject
* obj4
= 0 ;
18282 PyObject
* obj5
= 0 ;
18283 char * kwnames
[] = {
18284 (char *) "parent",(char *) "message",(char *) "caption",(char *) "defaultValue",(char *) "style",(char *) "pos", NULL
18287 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOO:new_TextEntryDialog",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
18288 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
18289 if (!SWIG_IsOK(res1
)) {
18290 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_TextEntryDialog" "', expected argument " "1"" of type '" "wxWindow *""'");
18292 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
18294 arg2
= wxString_in_helper(obj1
);
18295 if (arg2
== NULL
) SWIG_fail
;
18300 arg3
= wxString_in_helper(obj2
);
18301 if (arg3
== NULL
) SWIG_fail
;
18307 arg4
= wxString_in_helper(obj3
);
18308 if (arg4
== NULL
) SWIG_fail
;
18313 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
18314 if (!SWIG_IsOK(ecode5
)) {
18315 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_TextEntryDialog" "', expected argument " "5"" of type '" "long""'");
18317 arg5
= static_cast< long >(val5
);
18322 if ( ! wxPoint_helper(obj5
, &arg6
)) SWIG_fail
;
18326 if (!wxPyCheckForApp()) SWIG_fail
;
18327 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18328 result
= (wxTextEntryDialog
*)new wxTextEntryDialog(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
,arg5
,(wxPoint
const &)*arg6
);
18329 wxPyEndAllowThreads(__tstate
);
18330 if (PyErr_Occurred()) SWIG_fail
;
18332 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxTextEntryDialog
, SWIG_POINTER_NEW
| 0 );
18363 SWIGINTERN PyObject
*_wrap_TextEntryDialog_GetValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18364 PyObject
*resultobj
= 0;
18365 wxTextEntryDialog
*arg1
= (wxTextEntryDialog
*) 0 ;
18369 PyObject
*swig_obj
[1] ;
18371 if (!args
) SWIG_fail
;
18372 swig_obj
[0] = args
;
18373 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextEntryDialog
, 0 | 0 );
18374 if (!SWIG_IsOK(res1
)) {
18375 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextEntryDialog_GetValue" "', expected argument " "1"" of type '" "wxTextEntryDialog *""'");
18377 arg1
= reinterpret_cast< wxTextEntryDialog
* >(argp1
);
18379 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18380 result
= (arg1
)->GetValue();
18381 wxPyEndAllowThreads(__tstate
);
18382 if (PyErr_Occurred()) SWIG_fail
;
18386 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
18388 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
18397 SWIGINTERN PyObject
*_wrap_TextEntryDialog_SetValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18398 PyObject
*resultobj
= 0;
18399 wxTextEntryDialog
*arg1
= (wxTextEntryDialog
*) 0 ;
18400 wxString
*arg2
= 0 ;
18403 bool temp2
= false ;
18404 PyObject
* obj0
= 0 ;
18405 PyObject
* obj1
= 0 ;
18406 char * kwnames
[] = {
18407 (char *) "self",(char *) "value", NULL
18410 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextEntryDialog_SetValue",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
18411 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextEntryDialog
, 0 | 0 );
18412 if (!SWIG_IsOK(res1
)) {
18413 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextEntryDialog_SetValue" "', expected argument " "1"" of type '" "wxTextEntryDialog *""'");
18415 arg1
= reinterpret_cast< wxTextEntryDialog
* >(argp1
);
18417 arg2
= wxString_in_helper(obj1
);
18418 if (arg2
== NULL
) SWIG_fail
;
18422 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18423 (arg1
)->SetValue((wxString
const &)*arg2
);
18424 wxPyEndAllowThreads(__tstate
);
18425 if (PyErr_Occurred()) SWIG_fail
;
18427 resultobj
= SWIG_Py_Void();
18442 SWIGINTERN PyObject
*TextEntryDialog_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18444 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
18445 SWIG_TypeNewClientData(SWIGTYPE_p_wxTextEntryDialog
, SWIG_NewClientData(obj
));
18446 return SWIG_Py_Void();
18449 SWIGINTERN PyObject
*TextEntryDialog_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18450 return SWIG_Python_InitShadowInstance(args
);
18453 SWIGINTERN
int GetPasswordFromUserPromptStr_set(PyObject
*) {
18454 SWIG_Error(SWIG_AttributeError
,"Variable GetPasswordFromUserPromptStr is read-only.");
18459 SWIGINTERN PyObject
*GetPasswordFromUserPromptStr_get(void) {
18460 PyObject
*pyobj
= 0;
18464 pyobj
= PyUnicode_FromWideChar((&wxPyGetPasswordFromUserPromptStr
)->c_str(), (&wxPyGetPasswordFromUserPromptStr
)->Len());
18466 pyobj
= PyString_FromStringAndSize((&wxPyGetPasswordFromUserPromptStr
)->c_str(), (&wxPyGetPasswordFromUserPromptStr
)->Len());
18473 SWIGINTERN PyObject
*_wrap_new_PasswordEntryDialog(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18474 PyObject
*resultobj
= 0;
18475 wxWindow
*arg1
= (wxWindow
*) 0 ;
18476 wxString
*arg2
= 0 ;
18477 wxString
const &arg3_defvalue
= wxPyGetPasswordFromUserPromptStr
;
18478 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
18479 wxString
const &arg4_defvalue
= wxPyEmptyString
;
18480 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
18481 long arg5
= (long) wxTextEntryDialogStyle
;
18482 wxPoint
const &arg6_defvalue
= wxDefaultPosition
;
18483 wxPoint
*arg6
= (wxPoint
*) &arg6_defvalue
;
18484 wxPasswordEntryDialog
*result
= 0 ;
18487 bool temp2
= false ;
18488 bool temp3
= false ;
18489 bool temp4
= false ;
18493 PyObject
* obj0
= 0 ;
18494 PyObject
* obj1
= 0 ;
18495 PyObject
* obj2
= 0 ;
18496 PyObject
* obj3
= 0 ;
18497 PyObject
* obj4
= 0 ;
18498 PyObject
* obj5
= 0 ;
18499 char * kwnames
[] = {
18500 (char *) "parent",(char *) "message",(char *) "caption",(char *) "value",(char *) "style",(char *) "pos", NULL
18503 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOO:new_PasswordEntryDialog",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
18504 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
18505 if (!SWIG_IsOK(res1
)) {
18506 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PasswordEntryDialog" "', expected argument " "1"" of type '" "wxWindow *""'");
18508 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
18510 arg2
= wxString_in_helper(obj1
);
18511 if (arg2
== NULL
) SWIG_fail
;
18516 arg3
= wxString_in_helper(obj2
);
18517 if (arg3
== NULL
) SWIG_fail
;
18523 arg4
= wxString_in_helper(obj3
);
18524 if (arg4
== NULL
) SWIG_fail
;
18529 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
18530 if (!SWIG_IsOK(ecode5
)) {
18531 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_PasswordEntryDialog" "', expected argument " "5"" of type '" "long""'");
18533 arg5
= static_cast< long >(val5
);
18538 if ( ! wxPoint_helper(obj5
, &arg6
)) SWIG_fail
;
18542 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18543 result
= (wxPasswordEntryDialog
*)new wxPasswordEntryDialog(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
,arg5
,(wxPoint
const &)*arg6
);
18544 wxPyEndAllowThreads(__tstate
);
18545 if (PyErr_Occurred()) SWIG_fail
;
18547 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPasswordEntryDialog
, SWIG_POINTER_NEW
| 0 );
18578 SWIGINTERN PyObject
*PasswordEntryDialog_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18580 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
18581 SWIG_TypeNewClientData(SWIGTYPE_p_wxPasswordEntryDialog
, SWIG_NewClientData(obj
));
18582 return SWIG_Py_Void();
18585 SWIGINTERN PyObject
*PasswordEntryDialog_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18586 return SWIG_Python_InitShadowInstance(args
);
18589 SWIGINTERN PyObject
*_wrap_new_NumberEntryDialog(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18590 PyObject
*resultobj
= 0;
18591 wxWindow
*arg1
= (wxWindow
*) 0 ;
18592 wxString
*arg2
= 0 ;
18593 wxString
*arg3
= 0 ;
18594 wxString
*arg4
= 0 ;
18598 wxPoint
const &arg8_defvalue
= wxDefaultPosition
;
18599 wxPoint
*arg8
= (wxPoint
*) &arg8_defvalue
;
18600 wxNumberEntryDialog
*result
= 0 ;
18603 bool temp2
= false ;
18604 bool temp3
= false ;
18605 bool temp4
= false ;
18613 PyObject
* obj0
= 0 ;
18614 PyObject
* obj1
= 0 ;
18615 PyObject
* obj2
= 0 ;
18616 PyObject
* obj3
= 0 ;
18617 PyObject
* obj4
= 0 ;
18618 PyObject
* obj5
= 0 ;
18619 PyObject
* obj6
= 0 ;
18620 PyObject
* obj7
= 0 ;
18621 char * kwnames
[] = {
18622 (char *) "parent",(char *) "message",(char *) "prompt",(char *) "caption",(char *) "value",(char *) "min",(char *) "max",(char *) "pos", NULL
18625 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOOO|O:new_NumberEntryDialog",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
18626 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
18627 if (!SWIG_IsOK(res1
)) {
18628 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_NumberEntryDialog" "', expected argument " "1"" of type '" "wxWindow *""'");
18630 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
18632 arg2
= wxString_in_helper(obj1
);
18633 if (arg2
== NULL
) SWIG_fail
;
18637 arg3
= wxString_in_helper(obj2
);
18638 if (arg3
== NULL
) SWIG_fail
;
18642 arg4
= wxString_in_helper(obj3
);
18643 if (arg4
== NULL
) SWIG_fail
;
18646 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
18647 if (!SWIG_IsOK(ecode5
)) {
18648 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_NumberEntryDialog" "', expected argument " "5"" of type '" "long""'");
18650 arg5
= static_cast< long >(val5
);
18651 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
18652 if (!SWIG_IsOK(ecode6
)) {
18653 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_NumberEntryDialog" "', expected argument " "6"" of type '" "long""'");
18655 arg6
= static_cast< long >(val6
);
18656 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
18657 if (!SWIG_IsOK(ecode7
)) {
18658 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "new_NumberEntryDialog" "', expected argument " "7"" of type '" "long""'");
18660 arg7
= static_cast< long >(val7
);
18664 if ( ! wxPoint_helper(obj7
, &arg8
)) SWIG_fail
;
18668 if (!wxPyCheckForApp()) SWIG_fail
;
18669 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18670 result
= (wxNumberEntryDialog
*)new wxNumberEntryDialog(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
,arg5
,arg6
,arg7
,(wxPoint
const &)*arg8
);
18671 wxPyEndAllowThreads(__tstate
);
18672 if (PyErr_Occurred()) SWIG_fail
;
18674 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxNumberEntryDialog
, SWIG_POINTER_NEW
| 0 );
18705 SWIGINTERN PyObject
*_wrap_NumberEntryDialog_GetValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18706 PyObject
*resultobj
= 0;
18707 wxNumberEntryDialog
*arg1
= (wxNumberEntryDialog
*) 0 ;
18711 PyObject
*swig_obj
[1] ;
18713 if (!args
) SWIG_fail
;
18714 swig_obj
[0] = args
;
18715 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNumberEntryDialog
, 0 | 0 );
18716 if (!SWIG_IsOK(res1
)) {
18717 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NumberEntryDialog_GetValue" "', expected argument " "1"" of type '" "wxNumberEntryDialog *""'");
18719 arg1
= reinterpret_cast< wxNumberEntryDialog
* >(argp1
);
18721 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18722 result
= (long)(arg1
)->GetValue();
18723 wxPyEndAllowThreads(__tstate
);
18724 if (PyErr_Occurred()) SWIG_fail
;
18726 resultobj
= SWIG_From_long(static_cast< long >(result
));
18733 SWIGINTERN PyObject
*NumberEntryDialog_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18735 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
18736 SWIG_TypeNewClientData(SWIGTYPE_p_wxNumberEntryDialog
, SWIG_NewClientData(obj
));
18737 return SWIG_Py_Void();
18740 SWIGINTERN PyObject
*NumberEntryDialog_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18741 return SWIG_Python_InitShadowInstance(args
);
18744 SWIGINTERN PyObject
*_wrap_new_FontData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18745 PyObject
*resultobj
= 0;
18746 wxFontData
*result
= 0 ;
18748 if (!SWIG_Python_UnpackTuple(args
,"new_FontData",0,0,0)) SWIG_fail
;
18750 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18751 result
= (wxFontData
*)new wxFontData();
18752 wxPyEndAllowThreads(__tstate
);
18753 if (PyErr_Occurred()) SWIG_fail
;
18755 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFontData
, SWIG_POINTER_NEW
| 0 );
18762 SWIGINTERN PyObject
*_wrap_delete_FontData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18763 PyObject
*resultobj
= 0;
18764 wxFontData
*arg1
= (wxFontData
*) 0 ;
18767 PyObject
*swig_obj
[1] ;
18769 if (!args
) SWIG_fail
;
18770 swig_obj
[0] = args
;
18771 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFontData
, SWIG_POINTER_DISOWN
| 0 );
18772 if (!SWIG_IsOK(res1
)) {
18773 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_FontData" "', expected argument " "1"" of type '" "wxFontData *""'");
18775 arg1
= reinterpret_cast< wxFontData
* >(argp1
);
18777 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18780 wxPyEndAllowThreads(__tstate
);
18781 if (PyErr_Occurred()) SWIG_fail
;
18783 resultobj
= SWIG_Py_Void();
18790 SWIGINTERN PyObject
*_wrap_FontData_EnableEffects(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18791 PyObject
*resultobj
= 0;
18792 wxFontData
*arg1
= (wxFontData
*) 0 ;
18798 PyObject
* obj0
= 0 ;
18799 PyObject
* obj1
= 0 ;
18800 char * kwnames
[] = {
18801 (char *) "self",(char *) "enable", NULL
18804 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontData_EnableEffects",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
18805 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFontData
, 0 | 0 );
18806 if (!SWIG_IsOK(res1
)) {
18807 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontData_EnableEffects" "', expected argument " "1"" of type '" "wxFontData *""'");
18809 arg1
= reinterpret_cast< wxFontData
* >(argp1
);
18810 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
18811 if (!SWIG_IsOK(ecode2
)) {
18812 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "FontData_EnableEffects" "', expected argument " "2"" of type '" "bool""'");
18814 arg2
= static_cast< bool >(val2
);
18816 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18817 (arg1
)->EnableEffects(arg2
);
18818 wxPyEndAllowThreads(__tstate
);
18819 if (PyErr_Occurred()) SWIG_fail
;
18821 resultobj
= SWIG_Py_Void();
18828 SWIGINTERN PyObject
*_wrap_FontData_GetAllowSymbols(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18829 PyObject
*resultobj
= 0;
18830 wxFontData
*arg1
= (wxFontData
*) 0 ;
18834 PyObject
*swig_obj
[1] ;
18836 if (!args
) SWIG_fail
;
18837 swig_obj
[0] = args
;
18838 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFontData
, 0 | 0 );
18839 if (!SWIG_IsOK(res1
)) {
18840 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontData_GetAllowSymbols" "', expected argument " "1"" of type '" "wxFontData *""'");
18842 arg1
= reinterpret_cast< wxFontData
* >(argp1
);
18844 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18845 result
= (bool)(arg1
)->GetAllowSymbols();
18846 wxPyEndAllowThreads(__tstate
);
18847 if (PyErr_Occurred()) SWIG_fail
;
18850 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18858 SWIGINTERN PyObject
*_wrap_FontData_GetColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18859 PyObject
*resultobj
= 0;
18860 wxFontData
*arg1
= (wxFontData
*) 0 ;
18864 PyObject
*swig_obj
[1] ;
18866 if (!args
) SWIG_fail
;
18867 swig_obj
[0] = args
;
18868 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFontData
, 0 | 0 );
18869 if (!SWIG_IsOK(res1
)) {
18870 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontData_GetColour" "', expected argument " "1"" of type '" "wxFontData *""'");
18872 arg1
= reinterpret_cast< wxFontData
* >(argp1
);
18874 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18875 result
= (arg1
)->GetColour();
18876 wxPyEndAllowThreads(__tstate
);
18877 if (PyErr_Occurred()) SWIG_fail
;
18879 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
18886 SWIGINTERN PyObject
*_wrap_FontData_GetChosenFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18887 PyObject
*resultobj
= 0;
18888 wxFontData
*arg1
= (wxFontData
*) 0 ;
18892 PyObject
*swig_obj
[1] ;
18894 if (!args
) SWIG_fail
;
18895 swig_obj
[0] = args
;
18896 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFontData
, 0 | 0 );
18897 if (!SWIG_IsOK(res1
)) {
18898 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontData_GetChosenFont" "', expected argument " "1"" of type '" "wxFontData *""'");
18900 arg1
= reinterpret_cast< wxFontData
* >(argp1
);
18902 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18903 result
= (arg1
)->GetChosenFont();
18904 wxPyEndAllowThreads(__tstate
);
18905 if (PyErr_Occurred()) SWIG_fail
;
18907 resultobj
= SWIG_NewPointerObj((new wxFont(static_cast< const wxFont
& >(result
))), SWIGTYPE_p_wxFont
, SWIG_POINTER_OWN
| 0 );
18914 SWIGINTERN PyObject
*_wrap_FontData_GetEnableEffects(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18915 PyObject
*resultobj
= 0;
18916 wxFontData
*arg1
= (wxFontData
*) 0 ;
18920 PyObject
*swig_obj
[1] ;
18922 if (!args
) SWIG_fail
;
18923 swig_obj
[0] = args
;
18924 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFontData
, 0 | 0 );
18925 if (!SWIG_IsOK(res1
)) {
18926 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontData_GetEnableEffects" "', expected argument " "1"" of type '" "wxFontData *""'");
18928 arg1
= reinterpret_cast< wxFontData
* >(argp1
);
18930 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18931 result
= (bool)(arg1
)->GetEnableEffects();
18932 wxPyEndAllowThreads(__tstate
);
18933 if (PyErr_Occurred()) SWIG_fail
;
18936 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18944 SWIGINTERN PyObject
*_wrap_FontData_GetInitialFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18945 PyObject
*resultobj
= 0;
18946 wxFontData
*arg1
= (wxFontData
*) 0 ;
18950 PyObject
*swig_obj
[1] ;
18952 if (!args
) SWIG_fail
;
18953 swig_obj
[0] = args
;
18954 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFontData
, 0 | 0 );
18955 if (!SWIG_IsOK(res1
)) {
18956 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontData_GetInitialFont" "', expected argument " "1"" of type '" "wxFontData *""'");
18958 arg1
= reinterpret_cast< wxFontData
* >(argp1
);
18960 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18961 result
= (arg1
)->GetInitialFont();
18962 wxPyEndAllowThreads(__tstate
);
18963 if (PyErr_Occurred()) SWIG_fail
;
18965 resultobj
= SWIG_NewPointerObj((new wxFont(static_cast< const wxFont
& >(result
))), SWIGTYPE_p_wxFont
, SWIG_POINTER_OWN
| 0 );
18972 SWIGINTERN PyObject
*_wrap_FontData_GetShowHelp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18973 PyObject
*resultobj
= 0;
18974 wxFontData
*arg1
= (wxFontData
*) 0 ;
18978 PyObject
*swig_obj
[1] ;
18980 if (!args
) SWIG_fail
;
18981 swig_obj
[0] = args
;
18982 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFontData
, 0 | 0 );
18983 if (!SWIG_IsOK(res1
)) {
18984 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontData_GetShowHelp" "', expected argument " "1"" of type '" "wxFontData *""'");
18986 arg1
= reinterpret_cast< wxFontData
* >(argp1
);
18988 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18989 result
= (bool)(arg1
)->GetShowHelp();
18990 wxPyEndAllowThreads(__tstate
);
18991 if (PyErr_Occurred()) SWIG_fail
;
18994 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19002 SWIGINTERN PyObject
*_wrap_FontData_SetAllowSymbols(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19003 PyObject
*resultobj
= 0;
19004 wxFontData
*arg1
= (wxFontData
*) 0 ;
19010 PyObject
* obj0
= 0 ;
19011 PyObject
* obj1
= 0 ;
19012 char * kwnames
[] = {
19013 (char *) "self",(char *) "allowSymbols", NULL
19016 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontData_SetAllowSymbols",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19017 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFontData
, 0 | 0 );
19018 if (!SWIG_IsOK(res1
)) {
19019 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontData_SetAllowSymbols" "', expected argument " "1"" of type '" "wxFontData *""'");
19021 arg1
= reinterpret_cast< wxFontData
* >(argp1
);
19022 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
19023 if (!SWIG_IsOK(ecode2
)) {
19024 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "FontData_SetAllowSymbols" "', expected argument " "2"" of type '" "bool""'");
19026 arg2
= static_cast< bool >(val2
);
19028 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19029 (arg1
)->SetAllowSymbols(arg2
);
19030 wxPyEndAllowThreads(__tstate
);
19031 if (PyErr_Occurred()) SWIG_fail
;
19033 resultobj
= SWIG_Py_Void();
19040 SWIGINTERN PyObject
*_wrap_FontData_SetChosenFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19041 PyObject
*resultobj
= 0;
19042 wxFontData
*arg1
= (wxFontData
*) 0 ;
19048 PyObject
* obj0
= 0 ;
19049 PyObject
* obj1
= 0 ;
19050 char * kwnames
[] = {
19051 (char *) "self",(char *) "font", NULL
19054 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontData_SetChosenFont",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19055 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFontData
, 0 | 0 );
19056 if (!SWIG_IsOK(res1
)) {
19057 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontData_SetChosenFont" "', expected argument " "1"" of type '" "wxFontData *""'");
19059 arg1
= reinterpret_cast< wxFontData
* >(argp1
);
19060 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxFont
, 0 | 0);
19061 if (!SWIG_IsOK(res2
)) {
19062 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "FontData_SetChosenFont" "', expected argument " "2"" of type '" "wxFont const &""'");
19065 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "FontData_SetChosenFont" "', expected argument " "2"" of type '" "wxFont const &""'");
19067 arg2
= reinterpret_cast< wxFont
* >(argp2
);
19069 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19070 (arg1
)->SetChosenFont((wxFont
const &)*arg2
);
19071 wxPyEndAllowThreads(__tstate
);
19072 if (PyErr_Occurred()) SWIG_fail
;
19074 resultobj
= SWIG_Py_Void();
19081 SWIGINTERN PyObject
*_wrap_FontData_SetColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19082 PyObject
*resultobj
= 0;
19083 wxFontData
*arg1
= (wxFontData
*) 0 ;
19084 wxColour
*arg2
= 0 ;
19088 PyObject
* obj0
= 0 ;
19089 PyObject
* obj1
= 0 ;
19090 char * kwnames
[] = {
19091 (char *) "self",(char *) "colour", NULL
19094 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontData_SetColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19095 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFontData
, 0 | 0 );
19096 if (!SWIG_IsOK(res1
)) {
19097 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontData_SetColour" "', expected argument " "1"" of type '" "wxFontData *""'");
19099 arg1
= reinterpret_cast< wxFontData
* >(argp1
);
19102 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
19105 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19106 (arg1
)->SetColour((wxColour
const &)*arg2
);
19107 wxPyEndAllowThreads(__tstate
);
19108 if (PyErr_Occurred()) SWIG_fail
;
19110 resultobj
= SWIG_Py_Void();
19117 SWIGINTERN PyObject
*_wrap_FontData_SetInitialFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19118 PyObject
*resultobj
= 0;
19119 wxFontData
*arg1
= (wxFontData
*) 0 ;
19125 PyObject
* obj0
= 0 ;
19126 PyObject
* obj1
= 0 ;
19127 char * kwnames
[] = {
19128 (char *) "self",(char *) "font", NULL
19131 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontData_SetInitialFont",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19132 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFontData
, 0 | 0 );
19133 if (!SWIG_IsOK(res1
)) {
19134 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontData_SetInitialFont" "', expected argument " "1"" of type '" "wxFontData *""'");
19136 arg1
= reinterpret_cast< wxFontData
* >(argp1
);
19137 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxFont
, 0 | 0);
19138 if (!SWIG_IsOK(res2
)) {
19139 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "FontData_SetInitialFont" "', expected argument " "2"" of type '" "wxFont const &""'");
19142 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "FontData_SetInitialFont" "', expected argument " "2"" of type '" "wxFont const &""'");
19144 arg2
= reinterpret_cast< wxFont
* >(argp2
);
19146 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19147 (arg1
)->SetInitialFont((wxFont
const &)*arg2
);
19148 wxPyEndAllowThreads(__tstate
);
19149 if (PyErr_Occurred()) SWIG_fail
;
19151 resultobj
= SWIG_Py_Void();
19158 SWIGINTERN PyObject
*_wrap_FontData_SetRange(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19159 PyObject
*resultobj
= 0;
19160 wxFontData
*arg1
= (wxFontData
*) 0 ;
19169 PyObject
* obj0
= 0 ;
19170 PyObject
* obj1
= 0 ;
19171 PyObject
* obj2
= 0 ;
19172 char * kwnames
[] = {
19173 (char *) "self",(char *) "min",(char *) "max", NULL
19176 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:FontData_SetRange",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
19177 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFontData
, 0 | 0 );
19178 if (!SWIG_IsOK(res1
)) {
19179 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontData_SetRange" "', expected argument " "1"" of type '" "wxFontData *""'");
19181 arg1
= reinterpret_cast< wxFontData
* >(argp1
);
19182 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
19183 if (!SWIG_IsOK(ecode2
)) {
19184 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "FontData_SetRange" "', expected argument " "2"" of type '" "int""'");
19186 arg2
= static_cast< int >(val2
);
19187 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
19188 if (!SWIG_IsOK(ecode3
)) {
19189 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "FontData_SetRange" "', expected argument " "3"" of type '" "int""'");
19191 arg3
= static_cast< int >(val3
);
19193 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19194 (arg1
)->SetRange(arg2
,arg3
);
19195 wxPyEndAllowThreads(__tstate
);
19196 if (PyErr_Occurred()) SWIG_fail
;
19198 resultobj
= SWIG_Py_Void();
19205 SWIGINTERN PyObject
*_wrap_FontData_SetShowHelp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19206 PyObject
*resultobj
= 0;
19207 wxFontData
*arg1
= (wxFontData
*) 0 ;
19213 PyObject
* obj0
= 0 ;
19214 PyObject
* obj1
= 0 ;
19215 char * kwnames
[] = {
19216 (char *) "self",(char *) "showHelp", NULL
19219 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontData_SetShowHelp",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19220 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFontData
, 0 | 0 );
19221 if (!SWIG_IsOK(res1
)) {
19222 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontData_SetShowHelp" "', expected argument " "1"" of type '" "wxFontData *""'");
19224 arg1
= reinterpret_cast< wxFontData
* >(argp1
);
19225 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
19226 if (!SWIG_IsOK(ecode2
)) {
19227 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "FontData_SetShowHelp" "', expected argument " "2"" of type '" "bool""'");
19229 arg2
= static_cast< bool >(val2
);
19231 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19232 (arg1
)->SetShowHelp(arg2
);
19233 wxPyEndAllowThreads(__tstate
);
19234 if (PyErr_Occurred()) SWIG_fail
;
19236 resultobj
= SWIG_Py_Void();
19243 SWIGINTERN PyObject
*FontData_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19245 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
19246 SWIG_TypeNewClientData(SWIGTYPE_p_wxFontData
, SWIG_NewClientData(obj
));
19247 return SWIG_Py_Void();
19250 SWIGINTERN PyObject
*FontData_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19251 return SWIG_Python_InitShadowInstance(args
);
19254 SWIGINTERN PyObject
*_wrap_new_FontDialog(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19255 PyObject
*resultobj
= 0;
19256 wxWindow
*arg1
= (wxWindow
*) 0 ;
19257 wxFontData
*arg2
= 0 ;
19258 wxFontDialog
*result
= 0 ;
19263 PyObject
* obj0
= 0 ;
19264 PyObject
* obj1
= 0 ;
19265 char * kwnames
[] = {
19266 (char *) "parent",(char *) "data", NULL
19269 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_FontDialog",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19270 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
19271 if (!SWIG_IsOK(res1
)) {
19272 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_FontDialog" "', expected argument " "1"" of type '" "wxWindow *""'");
19274 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
19275 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxFontData
, 0 | 0);
19276 if (!SWIG_IsOK(res2
)) {
19277 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_FontDialog" "', expected argument " "2"" of type '" "wxFontData const &""'");
19280 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_FontDialog" "', expected argument " "2"" of type '" "wxFontData const &""'");
19282 arg2
= reinterpret_cast< wxFontData
* >(argp2
);
19284 if (!wxPyCheckForApp()) SWIG_fail
;
19285 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19286 result
= (wxFontDialog
*)new wxFontDialog(arg1
,(wxFontData
const &)*arg2
);
19287 wxPyEndAllowThreads(__tstate
);
19288 if (PyErr_Occurred()) SWIG_fail
;
19290 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFontDialog
, SWIG_POINTER_NEW
| 0 );
19297 SWIGINTERN PyObject
*_wrap_FontDialog_GetFontData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19298 PyObject
*resultobj
= 0;
19299 wxFontDialog
*arg1
= (wxFontDialog
*) 0 ;
19300 wxFontData
*result
= 0 ;
19303 PyObject
*swig_obj
[1] ;
19305 if (!args
) SWIG_fail
;
19306 swig_obj
[0] = args
;
19307 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFontDialog
, 0 | 0 );
19308 if (!SWIG_IsOK(res1
)) {
19309 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontDialog_GetFontData" "', expected argument " "1"" of type '" "wxFontDialog *""'");
19311 arg1
= reinterpret_cast< wxFontDialog
* >(argp1
);
19313 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19315 wxFontData
&_result_ref
= (arg1
)->GetFontData();
19316 result
= (wxFontData
*) &_result_ref
;
19318 wxPyEndAllowThreads(__tstate
);
19319 if (PyErr_Occurred()) SWIG_fail
;
19321 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFontData
, 0 | 0 );
19328 SWIGINTERN PyObject
*FontDialog_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19330 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
19331 SWIG_TypeNewClientData(SWIGTYPE_p_wxFontDialog
, SWIG_NewClientData(obj
));
19332 return SWIG_Py_Void();
19335 SWIGINTERN PyObject
*FontDialog_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19336 return SWIG_Python_InitShadowInstance(args
);
19339 SWIGINTERN PyObject
*_wrap_GetFontFromUser(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19340 PyObject
*resultobj
= 0;
19341 wxWindow
*arg1
= (wxWindow
*) NULL
;
19342 wxFont
const &arg2_defvalue
= wxNullFont
;
19343 wxFont
*arg2
= (wxFont
*) &arg2_defvalue
;
19344 wxString
const &arg3_defvalue
= wxPyEmptyString
;
19345 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
19351 bool temp3
= false ;
19352 PyObject
* obj0
= 0 ;
19353 PyObject
* obj1
= 0 ;
19354 PyObject
* obj2
= 0 ;
19355 char * kwnames
[] = {
19356 (char *) "parent",(char *) "fontInit",(char *) "caption", NULL
19359 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOO:GetFontFromUser",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
19361 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
19362 if (!SWIG_IsOK(res1
)) {
19363 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GetFontFromUser" "', expected argument " "1"" of type '" "wxWindow *""'");
19365 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
19368 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxFont
, 0 | 0);
19369 if (!SWIG_IsOK(res2
)) {
19370 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GetFontFromUser" "', expected argument " "2"" of type '" "wxFont const &""'");
19373 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GetFontFromUser" "', expected argument " "2"" of type '" "wxFont const &""'");
19375 arg2
= reinterpret_cast< wxFont
* >(argp2
);
19379 arg3
= wxString_in_helper(obj2
);
19380 if (arg3
== NULL
) SWIG_fail
;
19385 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19386 result
= wxGetFontFromUser(arg1
,(wxFont
const &)*arg2
,(wxString
const &)*arg3
);
19387 wxPyEndAllowThreads(__tstate
);
19388 if (PyErr_Occurred()) SWIG_fail
;
19390 resultobj
= SWIG_NewPointerObj((new wxFont(static_cast< const wxFont
& >(result
))), SWIGTYPE_p_wxFont
, SWIG_POINTER_OWN
| 0 );
19405 SWIGINTERN PyObject
*_wrap_new_MessageDialog(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19406 PyObject
*resultobj
= 0;
19407 wxWindow
*arg1
= (wxWindow
*) 0 ;
19408 wxString
*arg2
= 0 ;
19409 wxString
const &arg3_defvalue
= wxPyMessageBoxCaptionStr
;
19410 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
19411 long arg4
= (long) wxOK
|wxCANCEL
|wxCENTRE
;
19412 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
19413 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
19414 wxMessageDialog
*result
= 0 ;
19417 bool temp2
= false ;
19418 bool temp3
= false ;
19422 PyObject
* obj0
= 0 ;
19423 PyObject
* obj1
= 0 ;
19424 PyObject
* obj2
= 0 ;
19425 PyObject
* obj3
= 0 ;
19426 PyObject
* obj4
= 0 ;
19427 char * kwnames
[] = {
19428 (char *) "parent",(char *) "message",(char *) "caption",(char *) "style",(char *) "pos", NULL
19431 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOO:new_MessageDialog",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
19432 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
19433 if (!SWIG_IsOK(res1
)) {
19434 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_MessageDialog" "', expected argument " "1"" of type '" "wxWindow *""'");
19436 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
19438 arg2
= wxString_in_helper(obj1
);
19439 if (arg2
== NULL
) SWIG_fail
;
19444 arg3
= wxString_in_helper(obj2
);
19445 if (arg3
== NULL
) SWIG_fail
;
19450 ecode4
= SWIG_AsVal_long(obj3
, &val4
);
19451 if (!SWIG_IsOK(ecode4
)) {
19452 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_MessageDialog" "', expected argument " "4"" of type '" "long""'");
19454 arg4
= static_cast< long >(val4
);
19459 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
19463 if (!wxPyCheckForApp()) SWIG_fail
;
19464 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19465 result
= (wxMessageDialog
*)new wxMessageDialog(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,arg4
,(wxPoint
const &)*arg5
);
19466 wxPyEndAllowThreads(__tstate
);
19467 if (PyErr_Occurred()) SWIG_fail
;
19469 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMessageDialog
, SWIG_POINTER_NEW
| 0 );
19492 SWIGINTERN PyObject
*MessageDialog_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19494 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
19495 SWIG_TypeNewClientData(SWIGTYPE_p_wxMessageDialog
, SWIG_NewClientData(obj
));
19496 return SWIG_Py_Void();
19499 SWIGINTERN PyObject
*MessageDialog_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19500 return SWIG_Python_InitShadowInstance(args
);
19503 SWIGINTERN PyObject
*_wrap_new_ProgressDialog(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19504 PyObject
*resultobj
= 0;
19505 wxString
*arg1
= 0 ;
19506 wxString
*arg2
= 0 ;
19507 int arg3
= (int) 100 ;
19508 wxWindow
*arg4
= (wxWindow
*) NULL
;
19509 int arg5
= (int) wxPD_AUTO_HIDE
|wxPD_APP_MODAL
;
19510 wxProgressDialog
*result
= 0 ;
19511 bool temp1
= false ;
19512 bool temp2
= false ;
19519 PyObject
* obj0
= 0 ;
19520 PyObject
* obj1
= 0 ;
19521 PyObject
* obj2
= 0 ;
19522 PyObject
* obj3
= 0 ;
19523 PyObject
* obj4
= 0 ;
19524 char * kwnames
[] = {
19525 (char *) "title",(char *) "message",(char *) "maximum",(char *) "parent",(char *) "style", NULL
19528 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOO:new_ProgressDialog",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
19530 arg1
= wxString_in_helper(obj0
);
19531 if (arg1
== NULL
) SWIG_fail
;
19535 arg2
= wxString_in_helper(obj1
);
19536 if (arg2
== NULL
) SWIG_fail
;
19540 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
19541 if (!SWIG_IsOK(ecode3
)) {
19542 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_ProgressDialog" "', expected argument " "3"" of type '" "int""'");
19544 arg3
= static_cast< int >(val3
);
19547 res4
= SWIG_ConvertPtr(obj3
, &argp4
,SWIGTYPE_p_wxWindow
, 0 | 0 );
19548 if (!SWIG_IsOK(res4
)) {
19549 SWIG_exception_fail(SWIG_ArgError(res4
), "in method '" "new_ProgressDialog" "', expected argument " "4"" of type '" "wxWindow *""'");
19551 arg4
= reinterpret_cast< wxWindow
* >(argp4
);
19554 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
19555 if (!SWIG_IsOK(ecode5
)) {
19556 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_ProgressDialog" "', expected argument " "5"" of type '" "int""'");
19558 arg5
= static_cast< int >(val5
);
19561 if (!wxPyCheckForApp()) SWIG_fail
;
19562 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19563 result
= (wxProgressDialog
*)new wxProgressDialog((wxString
const &)*arg1
,(wxString
const &)*arg2
,arg3
,arg4
,arg5
);
19564 wxPyEndAllowThreads(__tstate
);
19565 if (PyErr_Occurred()) SWIG_fail
;
19567 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxProgressDialog
, SWIG_POINTER_NEW
| 0 );
19590 SWIGINTERN PyObject
*_wrap_ProgressDialog_Update(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19591 PyObject
*resultobj
= 0;
19592 wxProgressDialog
*arg1
= (wxProgressDialog
*) 0 ;
19594 wxString
const &arg3_defvalue
= wxPyEmptyString
;
19595 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
19596 bool *arg4
= (bool *) 0 ;
19602 bool temp3
= false ;
19604 int res4
= SWIG_TMPOBJ
;
19605 PyObject
* obj0
= 0 ;
19606 PyObject
* obj1
= 0 ;
19607 PyObject
* obj2
= 0 ;
19608 char * kwnames
[] = {
19609 (char *) "self",(char *) "value",(char *) "newmsg", NULL
19613 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ProgressDialog_Update",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
19614 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxProgressDialog
, 0 | 0 );
19615 if (!SWIG_IsOK(res1
)) {
19616 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ProgressDialog_Update" "', expected argument " "1"" of type '" "wxProgressDialog *""'");
19618 arg1
= reinterpret_cast< wxProgressDialog
* >(argp1
);
19619 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
19620 if (!SWIG_IsOK(ecode2
)) {
19621 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ProgressDialog_Update" "', expected argument " "2"" of type '" "int""'");
19623 arg2
= static_cast< int >(val2
);
19626 arg3
= wxString_in_helper(obj2
);
19627 if (arg3
== NULL
) SWIG_fail
;
19632 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19633 result
= (bool)(arg1
)->Update(arg2
,(wxString
const &)*arg3
,arg4
);
19634 wxPyEndAllowThreads(__tstate
);
19635 if (PyErr_Occurred()) SWIG_fail
;
19638 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19640 if (SWIG_IsTmpObj(res4
)) {
19641 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_bool((*arg4
)));
19643 int new_flags
= SWIG_IsNewObj(res4
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
19644 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_bool
, new_flags
));
19660 SWIGINTERN PyObject
*_wrap_ProgressDialog_Resume(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19661 PyObject
*resultobj
= 0;
19662 wxProgressDialog
*arg1
= (wxProgressDialog
*) 0 ;
19665 PyObject
*swig_obj
[1] ;
19667 if (!args
) SWIG_fail
;
19668 swig_obj
[0] = args
;
19669 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxProgressDialog
, 0 | 0 );
19670 if (!SWIG_IsOK(res1
)) {
19671 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ProgressDialog_Resume" "', expected argument " "1"" of type '" "wxProgressDialog *""'");
19673 arg1
= reinterpret_cast< wxProgressDialog
* >(argp1
);
19675 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19677 wxPyEndAllowThreads(__tstate
);
19678 if (PyErr_Occurred()) SWIG_fail
;
19680 resultobj
= SWIG_Py_Void();
19687 SWIGINTERN PyObject
*ProgressDialog_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19689 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
19690 SWIG_TypeNewClientData(SWIGTYPE_p_wxProgressDialog
, SWIG_NewClientData(obj
));
19691 return SWIG_Py_Void();
19694 SWIGINTERN PyObject
*ProgressDialog_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19695 return SWIG_Python_InitShadowInstance(args
);
19698 SWIGINTERN PyObject
*_wrap_new_FindDialogEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19699 PyObject
*resultobj
= 0;
19700 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
19701 int arg2
= (int) 0 ;
19702 wxFindDialogEvent
*result
= 0 ;
19707 PyObject
* obj0
= 0 ;
19708 PyObject
* obj1
= 0 ;
19709 char * kwnames
[] = {
19710 (char *) "commandType",(char *) "id", NULL
19713 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_FindDialogEvent",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19715 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
19716 if (!SWIG_IsOK(ecode1
)) {
19717 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_FindDialogEvent" "', expected argument " "1"" of type '" "wxEventType""'");
19719 arg1
= static_cast< wxEventType
>(val1
);
19722 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
19723 if (!SWIG_IsOK(ecode2
)) {
19724 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_FindDialogEvent" "', expected argument " "2"" of type '" "int""'");
19726 arg2
= static_cast< int >(val2
);
19729 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19730 result
= (wxFindDialogEvent
*)new wxFindDialogEvent(arg1
,arg2
);
19731 wxPyEndAllowThreads(__tstate
);
19732 if (PyErr_Occurred()) SWIG_fail
;
19734 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFindDialogEvent
, SWIG_POINTER_NEW
| 0 );
19741 SWIGINTERN PyObject
*_wrap_FindDialogEvent_GetFlags(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19742 PyObject
*resultobj
= 0;
19743 wxFindDialogEvent
*arg1
= (wxFindDialogEvent
*) 0 ;
19747 PyObject
*swig_obj
[1] ;
19749 if (!args
) SWIG_fail
;
19750 swig_obj
[0] = args
;
19751 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFindDialogEvent
, 0 | 0 );
19752 if (!SWIG_IsOK(res1
)) {
19753 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FindDialogEvent_GetFlags" "', expected argument " "1"" of type '" "wxFindDialogEvent *""'");
19755 arg1
= reinterpret_cast< wxFindDialogEvent
* >(argp1
);
19757 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19758 result
= (int)(arg1
)->GetFlags();
19759 wxPyEndAllowThreads(__tstate
);
19760 if (PyErr_Occurred()) SWIG_fail
;
19762 resultobj
= SWIG_From_int(static_cast< int >(result
));
19769 SWIGINTERN PyObject
*_wrap_FindDialogEvent_GetFindString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19770 PyObject
*resultobj
= 0;
19771 wxFindDialogEvent
*arg1
= (wxFindDialogEvent
*) 0 ;
19772 wxString
*result
= 0 ;
19775 PyObject
*swig_obj
[1] ;
19777 if (!args
) SWIG_fail
;
19778 swig_obj
[0] = args
;
19779 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFindDialogEvent
, 0 | 0 );
19780 if (!SWIG_IsOK(res1
)) {
19781 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FindDialogEvent_GetFindString" "', expected argument " "1"" of type '" "wxFindDialogEvent *""'");
19783 arg1
= reinterpret_cast< wxFindDialogEvent
* >(argp1
);
19785 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19787 wxString
const &_result_ref
= (arg1
)->GetFindString();
19788 result
= (wxString
*) &_result_ref
;
19790 wxPyEndAllowThreads(__tstate
);
19791 if (PyErr_Occurred()) SWIG_fail
;
19795 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
19797 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
19806 SWIGINTERN PyObject
*_wrap_FindDialogEvent_GetReplaceString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19807 PyObject
*resultobj
= 0;
19808 wxFindDialogEvent
*arg1
= (wxFindDialogEvent
*) 0 ;
19809 wxString
*result
= 0 ;
19812 PyObject
*swig_obj
[1] ;
19814 if (!args
) SWIG_fail
;
19815 swig_obj
[0] = args
;
19816 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFindDialogEvent
, 0 | 0 );
19817 if (!SWIG_IsOK(res1
)) {
19818 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FindDialogEvent_GetReplaceString" "', expected argument " "1"" of type '" "wxFindDialogEvent *""'");
19820 arg1
= reinterpret_cast< wxFindDialogEvent
* >(argp1
);
19822 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19824 wxString
const &_result_ref
= (arg1
)->GetReplaceString();
19825 result
= (wxString
*) &_result_ref
;
19827 wxPyEndAllowThreads(__tstate
);
19828 if (PyErr_Occurred()) SWIG_fail
;
19832 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
19834 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
19843 SWIGINTERN PyObject
*_wrap_FindDialogEvent_GetDialog(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19844 PyObject
*resultobj
= 0;
19845 wxFindDialogEvent
*arg1
= (wxFindDialogEvent
*) 0 ;
19846 wxFindReplaceDialog
*result
= 0 ;
19849 PyObject
*swig_obj
[1] ;
19851 if (!args
) SWIG_fail
;
19852 swig_obj
[0] = args
;
19853 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFindDialogEvent
, 0 | 0 );
19854 if (!SWIG_IsOK(res1
)) {
19855 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FindDialogEvent_GetDialog" "', expected argument " "1"" of type '" "wxFindDialogEvent *""'");
19857 arg1
= reinterpret_cast< wxFindDialogEvent
* >(argp1
);
19859 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19860 result
= (wxFindReplaceDialog
*)(arg1
)->GetDialog();
19861 wxPyEndAllowThreads(__tstate
);
19862 if (PyErr_Occurred()) SWIG_fail
;
19864 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFindReplaceDialog
, 0 | 0 );
19871 SWIGINTERN PyObject
*_wrap_FindDialogEvent_SetFlags(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19872 PyObject
*resultobj
= 0;
19873 wxFindDialogEvent
*arg1
= (wxFindDialogEvent
*) 0 ;
19879 PyObject
* obj0
= 0 ;
19880 PyObject
* obj1
= 0 ;
19881 char * kwnames
[] = {
19882 (char *) "self",(char *) "flags", NULL
19885 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FindDialogEvent_SetFlags",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19886 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFindDialogEvent
, 0 | 0 );
19887 if (!SWIG_IsOK(res1
)) {
19888 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FindDialogEvent_SetFlags" "', expected argument " "1"" of type '" "wxFindDialogEvent *""'");
19890 arg1
= reinterpret_cast< wxFindDialogEvent
* >(argp1
);
19891 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
19892 if (!SWIG_IsOK(ecode2
)) {
19893 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "FindDialogEvent_SetFlags" "', expected argument " "2"" of type '" "int""'");
19895 arg2
= static_cast< int >(val2
);
19897 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19898 (arg1
)->SetFlags(arg2
);
19899 wxPyEndAllowThreads(__tstate
);
19900 if (PyErr_Occurred()) SWIG_fail
;
19902 resultobj
= SWIG_Py_Void();
19909 SWIGINTERN PyObject
*_wrap_FindDialogEvent_SetFindString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19910 PyObject
*resultobj
= 0;
19911 wxFindDialogEvent
*arg1
= (wxFindDialogEvent
*) 0 ;
19912 wxString
*arg2
= 0 ;
19915 bool temp2
= false ;
19916 PyObject
* obj0
= 0 ;
19917 PyObject
* obj1
= 0 ;
19918 char * kwnames
[] = {
19919 (char *) "self",(char *) "str", NULL
19922 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FindDialogEvent_SetFindString",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19923 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFindDialogEvent
, 0 | 0 );
19924 if (!SWIG_IsOK(res1
)) {
19925 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FindDialogEvent_SetFindString" "', expected argument " "1"" of type '" "wxFindDialogEvent *""'");
19927 arg1
= reinterpret_cast< wxFindDialogEvent
* >(argp1
);
19929 arg2
= wxString_in_helper(obj1
);
19930 if (arg2
== NULL
) SWIG_fail
;
19934 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19935 (arg1
)->SetFindString((wxString
const &)*arg2
);
19936 wxPyEndAllowThreads(__tstate
);
19937 if (PyErr_Occurred()) SWIG_fail
;
19939 resultobj
= SWIG_Py_Void();
19954 SWIGINTERN PyObject
*_wrap_FindDialogEvent_SetReplaceString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19955 PyObject
*resultobj
= 0;
19956 wxFindDialogEvent
*arg1
= (wxFindDialogEvent
*) 0 ;
19957 wxString
*arg2
= 0 ;
19960 bool temp2
= false ;
19961 PyObject
* obj0
= 0 ;
19962 PyObject
* obj1
= 0 ;
19963 char * kwnames
[] = {
19964 (char *) "self",(char *) "str", NULL
19967 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FindDialogEvent_SetReplaceString",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19968 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFindDialogEvent
, 0 | 0 );
19969 if (!SWIG_IsOK(res1
)) {
19970 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FindDialogEvent_SetReplaceString" "', expected argument " "1"" of type '" "wxFindDialogEvent *""'");
19972 arg1
= reinterpret_cast< wxFindDialogEvent
* >(argp1
);
19974 arg2
= wxString_in_helper(obj1
);
19975 if (arg2
== NULL
) SWIG_fail
;
19979 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19980 (arg1
)->SetReplaceString((wxString
const &)*arg2
);
19981 wxPyEndAllowThreads(__tstate
);
19982 if (PyErr_Occurred()) SWIG_fail
;
19984 resultobj
= SWIG_Py_Void();
19999 SWIGINTERN PyObject
*FindDialogEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20001 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
20002 SWIG_TypeNewClientData(SWIGTYPE_p_wxFindDialogEvent
, SWIG_NewClientData(obj
));
20003 return SWIG_Py_Void();
20006 SWIGINTERN PyObject
*FindDialogEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20007 return SWIG_Python_InitShadowInstance(args
);
20010 SWIGINTERN PyObject
*_wrap_new_FindReplaceData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20011 PyObject
*resultobj
= 0;
20012 int arg1
= (int) 0 ;
20013 wxFindReplaceData
*result
= 0 ;
20016 PyObject
* obj0
= 0 ;
20017 char * kwnames
[] = {
20018 (char *) "flags", NULL
20021 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_FindReplaceData",kwnames
,&obj0
)) SWIG_fail
;
20023 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
20024 if (!SWIG_IsOK(ecode1
)) {
20025 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_FindReplaceData" "', expected argument " "1"" of type '" "int""'");
20027 arg1
= static_cast< int >(val1
);
20030 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20031 result
= (wxFindReplaceData
*)new wxFindReplaceData(arg1
);
20032 wxPyEndAllowThreads(__tstate
);
20033 if (PyErr_Occurred()) SWIG_fail
;
20035 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFindReplaceData
, SWIG_POINTER_NEW
| 0 );
20042 SWIGINTERN PyObject
*_wrap_delete_FindReplaceData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20043 PyObject
*resultobj
= 0;
20044 wxFindReplaceData
*arg1
= (wxFindReplaceData
*) 0 ;
20047 PyObject
*swig_obj
[1] ;
20049 if (!args
) SWIG_fail
;
20050 swig_obj
[0] = args
;
20051 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFindReplaceData
, SWIG_POINTER_DISOWN
| 0 );
20052 if (!SWIG_IsOK(res1
)) {
20053 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_FindReplaceData" "', expected argument " "1"" of type '" "wxFindReplaceData *""'");
20055 arg1
= reinterpret_cast< wxFindReplaceData
* >(argp1
);
20057 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20060 wxPyEndAllowThreads(__tstate
);
20061 if (PyErr_Occurred()) SWIG_fail
;
20063 resultobj
= SWIG_Py_Void();
20070 SWIGINTERN PyObject
*_wrap_FindReplaceData_GetFindString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20071 PyObject
*resultobj
= 0;
20072 wxFindReplaceData
*arg1
= (wxFindReplaceData
*) 0 ;
20073 wxString
*result
= 0 ;
20076 PyObject
*swig_obj
[1] ;
20078 if (!args
) SWIG_fail
;
20079 swig_obj
[0] = args
;
20080 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFindReplaceData
, 0 | 0 );
20081 if (!SWIG_IsOK(res1
)) {
20082 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FindReplaceData_GetFindString" "', expected argument " "1"" of type '" "wxFindReplaceData *""'");
20084 arg1
= reinterpret_cast< wxFindReplaceData
* >(argp1
);
20086 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20088 wxString
const &_result_ref
= (arg1
)->GetFindString();
20089 result
= (wxString
*) &_result_ref
;
20091 wxPyEndAllowThreads(__tstate
);
20092 if (PyErr_Occurred()) SWIG_fail
;
20096 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
20098 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
20107 SWIGINTERN PyObject
*_wrap_FindReplaceData_GetReplaceString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20108 PyObject
*resultobj
= 0;
20109 wxFindReplaceData
*arg1
= (wxFindReplaceData
*) 0 ;
20110 wxString
*result
= 0 ;
20113 PyObject
*swig_obj
[1] ;
20115 if (!args
) SWIG_fail
;
20116 swig_obj
[0] = args
;
20117 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFindReplaceData
, 0 | 0 );
20118 if (!SWIG_IsOK(res1
)) {
20119 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FindReplaceData_GetReplaceString" "', expected argument " "1"" of type '" "wxFindReplaceData *""'");
20121 arg1
= reinterpret_cast< wxFindReplaceData
* >(argp1
);
20123 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20125 wxString
const &_result_ref
= (arg1
)->GetReplaceString();
20126 result
= (wxString
*) &_result_ref
;
20128 wxPyEndAllowThreads(__tstate
);
20129 if (PyErr_Occurred()) SWIG_fail
;
20133 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
20135 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
20144 SWIGINTERN PyObject
*_wrap_FindReplaceData_GetFlags(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20145 PyObject
*resultobj
= 0;
20146 wxFindReplaceData
*arg1
= (wxFindReplaceData
*) 0 ;
20150 PyObject
*swig_obj
[1] ;
20152 if (!args
) SWIG_fail
;
20153 swig_obj
[0] = args
;
20154 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFindReplaceData
, 0 | 0 );
20155 if (!SWIG_IsOK(res1
)) {
20156 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FindReplaceData_GetFlags" "', expected argument " "1"" of type '" "wxFindReplaceData *""'");
20158 arg1
= reinterpret_cast< wxFindReplaceData
* >(argp1
);
20160 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20161 result
= (int)(arg1
)->GetFlags();
20162 wxPyEndAllowThreads(__tstate
);
20163 if (PyErr_Occurred()) SWIG_fail
;
20165 resultobj
= SWIG_From_int(static_cast< int >(result
));
20172 SWIGINTERN PyObject
*_wrap_FindReplaceData_SetFlags(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20173 PyObject
*resultobj
= 0;
20174 wxFindReplaceData
*arg1
= (wxFindReplaceData
*) 0 ;
20180 PyObject
* obj0
= 0 ;
20181 PyObject
* obj1
= 0 ;
20182 char * kwnames
[] = {
20183 (char *) "self",(char *) "flags", NULL
20186 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FindReplaceData_SetFlags",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20187 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFindReplaceData
, 0 | 0 );
20188 if (!SWIG_IsOK(res1
)) {
20189 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FindReplaceData_SetFlags" "', expected argument " "1"" of type '" "wxFindReplaceData *""'");
20191 arg1
= reinterpret_cast< wxFindReplaceData
* >(argp1
);
20192 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
20193 if (!SWIG_IsOK(ecode2
)) {
20194 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "FindReplaceData_SetFlags" "', expected argument " "2"" of type '" "int""'");
20196 arg2
= static_cast< int >(val2
);
20198 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20199 (arg1
)->SetFlags(arg2
);
20200 wxPyEndAllowThreads(__tstate
);
20201 if (PyErr_Occurred()) SWIG_fail
;
20203 resultobj
= SWIG_Py_Void();
20210 SWIGINTERN PyObject
*_wrap_FindReplaceData_SetFindString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20211 PyObject
*resultobj
= 0;
20212 wxFindReplaceData
*arg1
= (wxFindReplaceData
*) 0 ;
20213 wxString
*arg2
= 0 ;
20216 bool temp2
= false ;
20217 PyObject
* obj0
= 0 ;
20218 PyObject
* obj1
= 0 ;
20219 char * kwnames
[] = {
20220 (char *) "self",(char *) "str", NULL
20223 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FindReplaceData_SetFindString",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20224 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFindReplaceData
, 0 | 0 );
20225 if (!SWIG_IsOK(res1
)) {
20226 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FindReplaceData_SetFindString" "', expected argument " "1"" of type '" "wxFindReplaceData *""'");
20228 arg1
= reinterpret_cast< wxFindReplaceData
* >(argp1
);
20230 arg2
= wxString_in_helper(obj1
);
20231 if (arg2
== NULL
) SWIG_fail
;
20235 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20236 (arg1
)->SetFindString((wxString
const &)*arg2
);
20237 wxPyEndAllowThreads(__tstate
);
20238 if (PyErr_Occurred()) SWIG_fail
;
20240 resultobj
= SWIG_Py_Void();
20255 SWIGINTERN PyObject
*_wrap_FindReplaceData_SetReplaceString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20256 PyObject
*resultobj
= 0;
20257 wxFindReplaceData
*arg1
= (wxFindReplaceData
*) 0 ;
20258 wxString
*arg2
= 0 ;
20261 bool temp2
= false ;
20262 PyObject
* obj0
= 0 ;
20263 PyObject
* obj1
= 0 ;
20264 char * kwnames
[] = {
20265 (char *) "self",(char *) "str", NULL
20268 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FindReplaceData_SetReplaceString",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20269 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFindReplaceData
, 0 | 0 );
20270 if (!SWIG_IsOK(res1
)) {
20271 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FindReplaceData_SetReplaceString" "', expected argument " "1"" of type '" "wxFindReplaceData *""'");
20273 arg1
= reinterpret_cast< wxFindReplaceData
* >(argp1
);
20275 arg2
= wxString_in_helper(obj1
);
20276 if (arg2
== NULL
) SWIG_fail
;
20280 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20281 (arg1
)->SetReplaceString((wxString
const &)*arg2
);
20282 wxPyEndAllowThreads(__tstate
);
20283 if (PyErr_Occurred()) SWIG_fail
;
20285 resultobj
= SWIG_Py_Void();
20300 SWIGINTERN PyObject
*FindReplaceData_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20302 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
20303 SWIG_TypeNewClientData(SWIGTYPE_p_wxFindReplaceData
, SWIG_NewClientData(obj
));
20304 return SWIG_Py_Void();
20307 SWIGINTERN PyObject
*FindReplaceData_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20308 return SWIG_Python_InitShadowInstance(args
);
20311 SWIGINTERN PyObject
*_wrap_new_FindReplaceDialog(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20312 PyObject
*resultobj
= 0;
20313 wxWindow
*arg1
= (wxWindow
*) 0 ;
20314 wxFindReplaceData
*arg2
= (wxFindReplaceData
*) 0 ;
20315 wxString
*arg3
= 0 ;
20316 int arg4
= (int) 0 ;
20317 wxFindReplaceDialog
*result
= 0 ;
20322 bool temp3
= false ;
20325 PyObject
* obj0
= 0 ;
20326 PyObject
* obj1
= 0 ;
20327 PyObject
* obj2
= 0 ;
20328 PyObject
* obj3
= 0 ;
20329 char * kwnames
[] = {
20330 (char *) "parent",(char *) "data",(char *) "title",(char *) "style", NULL
20333 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:new_FindReplaceDialog",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
20334 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
20335 if (!SWIG_IsOK(res1
)) {
20336 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_FindReplaceDialog" "', expected argument " "1"" of type '" "wxWindow *""'");
20338 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
20339 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxFindReplaceData
, 0 | 0 );
20340 if (!SWIG_IsOK(res2
)) {
20341 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_FindReplaceDialog" "', expected argument " "2"" of type '" "wxFindReplaceData *""'");
20343 arg2
= reinterpret_cast< wxFindReplaceData
* >(argp2
);
20345 arg3
= wxString_in_helper(obj2
);
20346 if (arg3
== NULL
) SWIG_fail
;
20350 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
20351 if (!SWIG_IsOK(ecode4
)) {
20352 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_FindReplaceDialog" "', expected argument " "4"" of type '" "int""'");
20354 arg4
= static_cast< int >(val4
);
20357 if (!wxPyCheckForApp()) SWIG_fail
;
20358 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20359 result
= (wxFindReplaceDialog
*)new wxFindReplaceDialog(arg1
,arg2
,(wxString
const &)*arg3
,arg4
);
20360 wxPyEndAllowThreads(__tstate
);
20361 if (PyErr_Occurred()) SWIG_fail
;
20363 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFindReplaceDialog
, SWIG_POINTER_NEW
| 0 );
20378 SWIGINTERN PyObject
*_wrap_new_PreFindReplaceDialog(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20379 PyObject
*resultobj
= 0;
20380 wxFindReplaceDialog
*result
= 0 ;
20382 if (!SWIG_Python_UnpackTuple(args
,"new_PreFindReplaceDialog",0,0,0)) SWIG_fail
;
20384 if (!wxPyCheckForApp()) SWIG_fail
;
20385 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20386 result
= (wxFindReplaceDialog
*)new wxFindReplaceDialog();
20387 wxPyEndAllowThreads(__tstate
);
20388 if (PyErr_Occurred()) SWIG_fail
;
20390 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFindReplaceDialog
, SWIG_POINTER_OWN
| 0 );
20397 SWIGINTERN PyObject
*_wrap_FindReplaceDialog_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20398 PyObject
*resultobj
= 0;
20399 wxFindReplaceDialog
*arg1
= (wxFindReplaceDialog
*) 0 ;
20400 wxWindow
*arg2
= (wxWindow
*) 0 ;
20401 wxFindReplaceData
*arg3
= (wxFindReplaceData
*) 0 ;
20402 wxString
*arg4
= 0 ;
20403 int arg5
= (int) 0 ;
20411 bool temp4
= false ;
20414 PyObject
* obj0
= 0 ;
20415 PyObject
* obj1
= 0 ;
20416 PyObject
* obj2
= 0 ;
20417 PyObject
* obj3
= 0 ;
20418 PyObject
* obj4
= 0 ;
20419 char * kwnames
[] = {
20420 (char *) "self",(char *) "parent",(char *) "data",(char *) "title",(char *) "style", NULL
20423 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:FindReplaceDialog_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
20424 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFindReplaceDialog
, 0 | 0 );
20425 if (!SWIG_IsOK(res1
)) {
20426 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FindReplaceDialog_Create" "', expected argument " "1"" of type '" "wxFindReplaceDialog *""'");
20428 arg1
= reinterpret_cast< wxFindReplaceDialog
* >(argp1
);
20429 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
20430 if (!SWIG_IsOK(res2
)) {
20431 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "FindReplaceDialog_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
20433 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
20434 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxFindReplaceData
, 0 | 0 );
20435 if (!SWIG_IsOK(res3
)) {
20436 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "FindReplaceDialog_Create" "', expected argument " "3"" of type '" "wxFindReplaceData *""'");
20438 arg3
= reinterpret_cast< wxFindReplaceData
* >(argp3
);
20440 arg4
= wxString_in_helper(obj3
);
20441 if (arg4
== NULL
) SWIG_fail
;
20445 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
20446 if (!SWIG_IsOK(ecode5
)) {
20447 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "FindReplaceDialog_Create" "', expected argument " "5"" of type '" "int""'");
20449 arg5
= static_cast< int >(val5
);
20452 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20453 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,arg5
);
20454 wxPyEndAllowThreads(__tstate
);
20455 if (PyErr_Occurred()) SWIG_fail
;
20458 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20474 SWIGINTERN PyObject
*_wrap_FindReplaceDialog_GetData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20475 PyObject
*resultobj
= 0;
20476 wxFindReplaceDialog
*arg1
= (wxFindReplaceDialog
*) 0 ;
20477 wxFindReplaceData
*result
= 0 ;
20480 PyObject
*swig_obj
[1] ;
20482 if (!args
) SWIG_fail
;
20483 swig_obj
[0] = args
;
20484 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFindReplaceDialog
, 0 | 0 );
20485 if (!SWIG_IsOK(res1
)) {
20486 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FindReplaceDialog_GetData" "', expected argument " "1"" of type '" "wxFindReplaceDialog *""'");
20488 arg1
= reinterpret_cast< wxFindReplaceDialog
* >(argp1
);
20490 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20491 result
= (wxFindReplaceData
*)(arg1
)->GetData();
20492 wxPyEndAllowThreads(__tstate
);
20493 if (PyErr_Occurred()) SWIG_fail
;
20495 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFindReplaceData
, 0 | 0 );
20502 SWIGINTERN PyObject
*_wrap_FindReplaceDialog_SetData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20503 PyObject
*resultobj
= 0;
20504 wxFindReplaceDialog
*arg1
= (wxFindReplaceDialog
*) 0 ;
20505 wxFindReplaceData
*arg2
= (wxFindReplaceData
*) 0 ;
20510 PyObject
* obj0
= 0 ;
20511 PyObject
* obj1
= 0 ;
20512 char * kwnames
[] = {
20513 (char *) "self",(char *) "data", NULL
20516 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FindReplaceDialog_SetData",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20517 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFindReplaceDialog
, 0 | 0 );
20518 if (!SWIG_IsOK(res1
)) {
20519 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FindReplaceDialog_SetData" "', expected argument " "1"" of type '" "wxFindReplaceDialog *""'");
20521 arg1
= reinterpret_cast< wxFindReplaceDialog
* >(argp1
);
20522 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxFindReplaceData
, 0 | 0 );
20523 if (!SWIG_IsOK(res2
)) {
20524 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "FindReplaceDialog_SetData" "', expected argument " "2"" of type '" "wxFindReplaceData *""'");
20526 arg2
= reinterpret_cast< wxFindReplaceData
* >(argp2
);
20528 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20529 (arg1
)->SetData(arg2
);
20530 wxPyEndAllowThreads(__tstate
);
20531 if (PyErr_Occurred()) SWIG_fail
;
20533 resultobj
= SWIG_Py_Void();
20540 SWIGINTERN PyObject
*FindReplaceDialog_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20542 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
20543 SWIG_TypeNewClientData(SWIGTYPE_p_wxFindReplaceDialog
, SWIG_NewClientData(obj
));
20544 return SWIG_Py_Void();
20547 SWIGINTERN PyObject
*FindReplaceDialog_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20548 return SWIG_Python_InitShadowInstance(args
);
20551 SWIGINTERN PyObject
*_wrap_new_MDIParentFrame(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20552 PyObject
*resultobj
= 0;
20553 wxWindow
*arg1
= (wxWindow
*) 0 ;
20554 int arg2
= (int) (int)-1 ;
20555 wxString
const &arg3_defvalue
= wxPyEmptyString
;
20556 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
20557 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
20558 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
20559 wxSize
const &arg5_defvalue
= wxDefaultSize
;
20560 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
20561 long arg6
= (long) wxDEFAULT_FRAME_STYLE
|wxVSCROLL
|wxHSCROLL
;
20562 wxString
const &arg7_defvalue
= wxPyFrameNameStr
;
20563 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
20564 wxMDIParentFrame
*result
= 0 ;
20569 bool temp3
= false ;
20574 bool temp7
= false ;
20575 PyObject
* obj0
= 0 ;
20576 PyObject
* obj1
= 0 ;
20577 PyObject
* obj2
= 0 ;
20578 PyObject
* obj3
= 0 ;
20579 PyObject
* obj4
= 0 ;
20580 PyObject
* obj5
= 0 ;
20581 PyObject
* obj6
= 0 ;
20582 char * kwnames
[] = {
20583 (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
20586 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_MDIParentFrame",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
20587 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
20588 if (!SWIG_IsOK(res1
)) {
20589 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_MDIParentFrame" "', expected argument " "1"" of type '" "wxWindow *""'");
20591 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
20593 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
20594 if (!SWIG_IsOK(ecode2
)) {
20595 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_MDIParentFrame" "', expected argument " "2"" of type '" "int""'");
20597 arg2
= static_cast< int >(val2
);
20601 arg3
= wxString_in_helper(obj2
);
20602 if (arg3
== NULL
) SWIG_fail
;
20609 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
20615 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
20619 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
20620 if (!SWIG_IsOK(ecode6
)) {
20621 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_MDIParentFrame" "', expected argument " "6"" of type '" "long""'");
20623 arg6
= static_cast< long >(val6
);
20627 arg7
= wxString_in_helper(obj6
);
20628 if (arg7
== NULL
) SWIG_fail
;
20633 if (!wxPyCheckForApp()) SWIG_fail
;
20634 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20635 result
= (wxMDIParentFrame
*)new wxMDIParentFrame(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
20636 wxPyEndAllowThreads(__tstate
);
20637 if (PyErr_Occurred()) SWIG_fail
;
20639 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMDIParentFrame
, SWIG_POINTER_NEW
| 0 );
20662 SWIGINTERN PyObject
*_wrap_new_PreMDIParentFrame(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20663 PyObject
*resultobj
= 0;
20664 wxMDIParentFrame
*result
= 0 ;
20666 if (!SWIG_Python_UnpackTuple(args
,"new_PreMDIParentFrame",0,0,0)) SWIG_fail
;
20668 if (!wxPyCheckForApp()) SWIG_fail
;
20669 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20670 result
= (wxMDIParentFrame
*)new wxMDIParentFrame();
20671 wxPyEndAllowThreads(__tstate
);
20672 if (PyErr_Occurred()) SWIG_fail
;
20674 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMDIParentFrame
, SWIG_POINTER_OWN
| 0 );
20681 SWIGINTERN PyObject
*_wrap_MDIParentFrame_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20682 PyObject
*resultobj
= 0;
20683 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
20684 wxWindow
*arg2
= (wxWindow
*) 0 ;
20685 int arg3
= (int) (int)-1 ;
20686 wxString
const &arg4_defvalue
= wxPyEmptyString
;
20687 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
20688 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
20689 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
20690 wxSize
const &arg6_defvalue
= wxDefaultSize
;
20691 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
20692 long arg7
= (long) wxDEFAULT_FRAME_STYLE
|wxVSCROLL
|wxHSCROLL
;
20693 wxString
const &arg8_defvalue
= wxPyFrameNameStr
;
20694 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
20702 bool temp4
= false ;
20707 bool temp8
= false ;
20708 PyObject
* obj0
= 0 ;
20709 PyObject
* obj1
= 0 ;
20710 PyObject
* obj2
= 0 ;
20711 PyObject
* obj3
= 0 ;
20712 PyObject
* obj4
= 0 ;
20713 PyObject
* obj5
= 0 ;
20714 PyObject
* obj6
= 0 ;
20715 PyObject
* obj7
= 0 ;
20716 char * kwnames
[] = {
20717 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
20720 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:MDIParentFrame_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
20721 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMDIParentFrame
, 0 | 0 );
20722 if (!SWIG_IsOK(res1
)) {
20723 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MDIParentFrame_Create" "', expected argument " "1"" of type '" "wxMDIParentFrame *""'");
20725 arg1
= reinterpret_cast< wxMDIParentFrame
* >(argp1
);
20726 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
20727 if (!SWIG_IsOK(res2
)) {
20728 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "MDIParentFrame_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
20730 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
20732 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
20733 if (!SWIG_IsOK(ecode3
)) {
20734 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "MDIParentFrame_Create" "', expected argument " "3"" of type '" "int""'");
20736 arg3
= static_cast< int >(val3
);
20740 arg4
= wxString_in_helper(obj3
);
20741 if (arg4
== NULL
) SWIG_fail
;
20748 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
20754 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
20758 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
20759 if (!SWIG_IsOK(ecode7
)) {
20760 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "MDIParentFrame_Create" "', expected argument " "7"" of type '" "long""'");
20762 arg7
= static_cast< long >(val7
);
20766 arg8
= wxString_in_helper(obj7
);
20767 if (arg8
== NULL
) SWIG_fail
;
20772 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20773 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxString
const &)*arg8
);
20774 wxPyEndAllowThreads(__tstate
);
20775 if (PyErr_Occurred()) SWIG_fail
;
20778 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20802 SWIGINTERN PyObject
*_wrap_MDIParentFrame_ActivateNext(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20803 PyObject
*resultobj
= 0;
20804 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
20807 PyObject
*swig_obj
[1] ;
20809 if (!args
) SWIG_fail
;
20810 swig_obj
[0] = args
;
20811 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMDIParentFrame
, 0 | 0 );
20812 if (!SWIG_IsOK(res1
)) {
20813 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MDIParentFrame_ActivateNext" "', expected argument " "1"" of type '" "wxMDIParentFrame *""'");
20815 arg1
= reinterpret_cast< wxMDIParentFrame
* >(argp1
);
20817 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20818 (arg1
)->ActivateNext();
20819 wxPyEndAllowThreads(__tstate
);
20820 if (PyErr_Occurred()) SWIG_fail
;
20822 resultobj
= SWIG_Py_Void();
20829 SWIGINTERN PyObject
*_wrap_MDIParentFrame_ActivatePrevious(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20830 PyObject
*resultobj
= 0;
20831 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
20834 PyObject
*swig_obj
[1] ;
20836 if (!args
) SWIG_fail
;
20837 swig_obj
[0] = args
;
20838 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMDIParentFrame
, 0 | 0 );
20839 if (!SWIG_IsOK(res1
)) {
20840 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MDIParentFrame_ActivatePrevious" "', expected argument " "1"" of type '" "wxMDIParentFrame *""'");
20842 arg1
= reinterpret_cast< wxMDIParentFrame
* >(argp1
);
20844 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20845 (arg1
)->ActivatePrevious();
20846 wxPyEndAllowThreads(__tstate
);
20847 if (PyErr_Occurred()) SWIG_fail
;
20849 resultobj
= SWIG_Py_Void();
20856 SWIGINTERN PyObject
*_wrap_MDIParentFrame_ArrangeIcons(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20857 PyObject
*resultobj
= 0;
20858 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
20861 PyObject
*swig_obj
[1] ;
20863 if (!args
) SWIG_fail
;
20864 swig_obj
[0] = args
;
20865 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMDIParentFrame
, 0 | 0 );
20866 if (!SWIG_IsOK(res1
)) {
20867 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MDIParentFrame_ArrangeIcons" "', expected argument " "1"" of type '" "wxMDIParentFrame *""'");
20869 arg1
= reinterpret_cast< wxMDIParentFrame
* >(argp1
);
20871 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20872 (arg1
)->ArrangeIcons();
20873 wxPyEndAllowThreads(__tstate
);
20874 if (PyErr_Occurred()) SWIG_fail
;
20876 resultobj
= SWIG_Py_Void();
20883 SWIGINTERN PyObject
*_wrap_MDIParentFrame_Cascade(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20884 PyObject
*resultobj
= 0;
20885 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
20888 PyObject
*swig_obj
[1] ;
20890 if (!args
) SWIG_fail
;
20891 swig_obj
[0] = args
;
20892 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMDIParentFrame
, 0 | 0 );
20893 if (!SWIG_IsOK(res1
)) {
20894 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MDIParentFrame_Cascade" "', expected argument " "1"" of type '" "wxMDIParentFrame *""'");
20896 arg1
= reinterpret_cast< wxMDIParentFrame
* >(argp1
);
20898 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20900 wxPyEndAllowThreads(__tstate
);
20901 if (PyErr_Occurred()) SWIG_fail
;
20903 resultobj
= SWIG_Py_Void();
20910 SWIGINTERN PyObject
*_wrap_MDIParentFrame_GetActiveChild(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20911 PyObject
*resultobj
= 0;
20912 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
20913 wxMDIChildFrame
*result
= 0 ;
20916 PyObject
*swig_obj
[1] ;
20918 if (!args
) SWIG_fail
;
20919 swig_obj
[0] = args
;
20920 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMDIParentFrame
, 0 | 0 );
20921 if (!SWIG_IsOK(res1
)) {
20922 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MDIParentFrame_GetActiveChild" "', expected argument " "1"" of type '" "wxMDIParentFrame *""'");
20924 arg1
= reinterpret_cast< wxMDIParentFrame
* >(argp1
);
20926 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20927 result
= (wxMDIChildFrame
*)(arg1
)->GetActiveChild();
20928 wxPyEndAllowThreads(__tstate
);
20929 if (PyErr_Occurred()) SWIG_fail
;
20932 resultobj
= wxPyMake_wxObject(result
, (bool)0);
20940 SWIGINTERN PyObject
*_wrap_MDIParentFrame_GetClientWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20941 PyObject
*resultobj
= 0;
20942 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
20943 wxMDIClientWindow
*result
= 0 ;
20946 PyObject
*swig_obj
[1] ;
20948 if (!args
) SWIG_fail
;
20949 swig_obj
[0] = args
;
20950 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMDIParentFrame
, 0 | 0 );
20951 if (!SWIG_IsOK(res1
)) {
20952 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MDIParentFrame_GetClientWindow" "', expected argument " "1"" of type '" "wxMDIParentFrame *""'");
20954 arg1
= reinterpret_cast< wxMDIParentFrame
* >(argp1
);
20956 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20957 result
= (wxMDIClientWindow
*)(arg1
)->GetClientWindow();
20958 wxPyEndAllowThreads(__tstate
);
20959 if (PyErr_Occurred()) SWIG_fail
;
20962 resultobj
= wxPyMake_wxObject(result
, (bool)0);
20970 SWIGINTERN PyObject
*_wrap_MDIParentFrame_GetToolBar(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20971 PyObject
*resultobj
= 0;
20972 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
20973 wxWindow
*result
= 0 ;
20976 PyObject
*swig_obj
[1] ;
20978 if (!args
) SWIG_fail
;
20979 swig_obj
[0] = args
;
20980 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMDIParentFrame
, 0 | 0 );
20981 if (!SWIG_IsOK(res1
)) {
20982 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MDIParentFrame_GetToolBar" "', expected argument " "1"" of type '" "wxMDIParentFrame *""'");
20984 arg1
= reinterpret_cast< wxMDIParentFrame
* >(argp1
);
20986 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20987 result
= (wxWindow
*)(arg1
)->GetToolBar();
20988 wxPyEndAllowThreads(__tstate
);
20989 if (PyErr_Occurred()) SWIG_fail
;
20992 resultobj
= wxPyMake_wxObject(result
, 0);
21000 SWIGINTERN PyObject
*_wrap_MDIParentFrame_Tile(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21001 PyObject
*resultobj
= 0;
21002 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
21003 wxOrientation arg2
= (wxOrientation
) wxHORIZONTAL
;
21008 PyObject
* obj0
= 0 ;
21009 PyObject
* obj1
= 0 ;
21010 char * kwnames
[] = {
21011 (char *) "self",(char *) "orient", NULL
21014 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:MDIParentFrame_Tile",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
21015 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMDIParentFrame
, 0 | 0 );
21016 if (!SWIG_IsOK(res1
)) {
21017 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MDIParentFrame_Tile" "', expected argument " "1"" of type '" "wxMDIParentFrame *""'");
21019 arg1
= reinterpret_cast< wxMDIParentFrame
* >(argp1
);
21021 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
21022 if (!SWIG_IsOK(ecode2
)) {
21023 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "MDIParentFrame_Tile" "', expected argument " "2"" of type '" "wxOrientation""'");
21025 arg2
= static_cast< wxOrientation
>(val2
);
21028 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21029 (arg1
)->Tile(arg2
);
21030 wxPyEndAllowThreads(__tstate
);
21031 if (PyErr_Occurred()) SWIG_fail
;
21033 resultobj
= SWIG_Py_Void();
21040 SWIGINTERN PyObject
*MDIParentFrame_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21042 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
21043 SWIG_TypeNewClientData(SWIGTYPE_p_wxMDIParentFrame
, SWIG_NewClientData(obj
));
21044 return SWIG_Py_Void();
21047 SWIGINTERN PyObject
*MDIParentFrame_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21048 return SWIG_Python_InitShadowInstance(args
);
21051 SWIGINTERN PyObject
*_wrap_new_MDIChildFrame(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21052 PyObject
*resultobj
= 0;
21053 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
21054 int arg2
= (int) (int)-1 ;
21055 wxString
const &arg3_defvalue
= wxPyEmptyString
;
21056 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
21057 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
21058 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
21059 wxSize
const &arg5_defvalue
= wxDefaultSize
;
21060 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
21061 long arg6
= (long) wxDEFAULT_FRAME_STYLE
;
21062 wxString
const &arg7_defvalue
= wxPyFrameNameStr
;
21063 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
21064 wxMDIChildFrame
*result
= 0 ;
21069 bool temp3
= false ;
21074 bool temp7
= false ;
21075 PyObject
* obj0
= 0 ;
21076 PyObject
* obj1
= 0 ;
21077 PyObject
* obj2
= 0 ;
21078 PyObject
* obj3
= 0 ;
21079 PyObject
* obj4
= 0 ;
21080 PyObject
* obj5
= 0 ;
21081 PyObject
* obj6
= 0 ;
21082 char * kwnames
[] = {
21083 (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
21086 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_MDIChildFrame",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
21087 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMDIParentFrame
, 0 | 0 );
21088 if (!SWIG_IsOK(res1
)) {
21089 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_MDIChildFrame" "', expected argument " "1"" of type '" "wxMDIParentFrame *""'");
21091 arg1
= reinterpret_cast< wxMDIParentFrame
* >(argp1
);
21093 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
21094 if (!SWIG_IsOK(ecode2
)) {
21095 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_MDIChildFrame" "', expected argument " "2"" of type '" "int""'");
21097 arg2
= static_cast< int >(val2
);
21101 arg3
= wxString_in_helper(obj2
);
21102 if (arg3
== NULL
) SWIG_fail
;
21109 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
21115 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
21119 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
21120 if (!SWIG_IsOK(ecode6
)) {
21121 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_MDIChildFrame" "', expected argument " "6"" of type '" "long""'");
21123 arg6
= static_cast< long >(val6
);
21127 arg7
= wxString_in_helper(obj6
);
21128 if (arg7
== NULL
) SWIG_fail
;
21133 if (!wxPyCheckForApp()) SWIG_fail
;
21134 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21135 result
= (wxMDIChildFrame
*)new wxMDIChildFrame(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
21136 wxPyEndAllowThreads(__tstate
);
21137 if (PyErr_Occurred()) SWIG_fail
;
21139 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMDIChildFrame
, SWIG_POINTER_NEW
| 0 );
21162 SWIGINTERN PyObject
*_wrap_new_PreMDIChildFrame(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21163 PyObject
*resultobj
= 0;
21164 wxMDIChildFrame
*result
= 0 ;
21166 if (!SWIG_Python_UnpackTuple(args
,"new_PreMDIChildFrame",0,0,0)) SWIG_fail
;
21168 if (!wxPyCheckForApp()) SWIG_fail
;
21169 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21170 result
= (wxMDIChildFrame
*)new wxMDIChildFrame();
21171 wxPyEndAllowThreads(__tstate
);
21172 if (PyErr_Occurred()) SWIG_fail
;
21174 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMDIChildFrame
, SWIG_POINTER_OWN
| 0 );
21181 SWIGINTERN PyObject
*_wrap_MDIChildFrame_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21182 PyObject
*resultobj
= 0;
21183 wxMDIChildFrame
*arg1
= (wxMDIChildFrame
*) 0 ;
21184 wxMDIParentFrame
*arg2
= (wxMDIParentFrame
*) 0 ;
21185 int arg3
= (int) (int)-1 ;
21186 wxString
const &arg4_defvalue
= wxPyEmptyString
;
21187 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
21188 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
21189 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
21190 wxSize
const &arg6_defvalue
= wxDefaultSize
;
21191 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
21192 long arg7
= (long) wxDEFAULT_FRAME_STYLE
;
21193 wxString
const &arg8_defvalue
= wxPyFrameNameStr
;
21194 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
21202 bool temp4
= false ;
21207 bool temp8
= false ;
21208 PyObject
* obj0
= 0 ;
21209 PyObject
* obj1
= 0 ;
21210 PyObject
* obj2
= 0 ;
21211 PyObject
* obj3
= 0 ;
21212 PyObject
* obj4
= 0 ;
21213 PyObject
* obj5
= 0 ;
21214 PyObject
* obj6
= 0 ;
21215 PyObject
* obj7
= 0 ;
21216 char * kwnames
[] = {
21217 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
21220 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:MDIChildFrame_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
21221 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMDIChildFrame
, 0 | 0 );
21222 if (!SWIG_IsOK(res1
)) {
21223 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MDIChildFrame_Create" "', expected argument " "1"" of type '" "wxMDIChildFrame *""'");
21225 arg1
= reinterpret_cast< wxMDIChildFrame
* >(argp1
);
21226 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxMDIParentFrame
, 0 | 0 );
21227 if (!SWIG_IsOK(res2
)) {
21228 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "MDIChildFrame_Create" "', expected argument " "2"" of type '" "wxMDIParentFrame *""'");
21230 arg2
= reinterpret_cast< wxMDIParentFrame
* >(argp2
);
21232 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
21233 if (!SWIG_IsOK(ecode3
)) {
21234 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "MDIChildFrame_Create" "', expected argument " "3"" of type '" "int""'");
21236 arg3
= static_cast< int >(val3
);
21240 arg4
= wxString_in_helper(obj3
);
21241 if (arg4
== NULL
) SWIG_fail
;
21248 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
21254 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
21258 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
21259 if (!SWIG_IsOK(ecode7
)) {
21260 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "MDIChildFrame_Create" "', expected argument " "7"" of type '" "long""'");
21262 arg7
= static_cast< long >(val7
);
21266 arg8
= wxString_in_helper(obj7
);
21267 if (arg8
== NULL
) SWIG_fail
;
21272 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21273 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxString
const &)*arg8
);
21274 wxPyEndAllowThreads(__tstate
);
21275 if (PyErr_Occurred()) SWIG_fail
;
21278 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21302 SWIGINTERN PyObject
*_wrap_MDIChildFrame_Activate(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21303 PyObject
*resultobj
= 0;
21304 wxMDIChildFrame
*arg1
= (wxMDIChildFrame
*) 0 ;
21307 PyObject
*swig_obj
[1] ;
21309 if (!args
) SWIG_fail
;
21310 swig_obj
[0] = args
;
21311 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMDIChildFrame
, 0 | 0 );
21312 if (!SWIG_IsOK(res1
)) {
21313 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MDIChildFrame_Activate" "', expected argument " "1"" of type '" "wxMDIChildFrame *""'");
21315 arg1
= reinterpret_cast< wxMDIChildFrame
* >(argp1
);
21317 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21318 (arg1
)->Activate();
21319 wxPyEndAllowThreads(__tstate
);
21320 if (PyErr_Occurred()) SWIG_fail
;
21322 resultobj
= SWIG_Py_Void();
21329 SWIGINTERN PyObject
*MDIChildFrame_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21331 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
21332 SWIG_TypeNewClientData(SWIGTYPE_p_wxMDIChildFrame
, SWIG_NewClientData(obj
));
21333 return SWIG_Py_Void();
21336 SWIGINTERN PyObject
*MDIChildFrame_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21337 return SWIG_Python_InitShadowInstance(args
);
21340 SWIGINTERN PyObject
*_wrap_new_MDIClientWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21341 PyObject
*resultobj
= 0;
21342 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
21343 long arg2
= (long) 0 ;
21344 wxMDIClientWindow
*result
= 0 ;
21349 PyObject
* obj0
= 0 ;
21350 PyObject
* obj1
= 0 ;
21351 char * kwnames
[] = {
21352 (char *) "parent",(char *) "style", NULL
21355 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_MDIClientWindow",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
21356 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMDIParentFrame
, 0 | 0 );
21357 if (!SWIG_IsOK(res1
)) {
21358 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_MDIClientWindow" "', expected argument " "1"" of type '" "wxMDIParentFrame *""'");
21360 arg1
= reinterpret_cast< wxMDIParentFrame
* >(argp1
);
21362 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
21363 if (!SWIG_IsOK(ecode2
)) {
21364 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_MDIClientWindow" "', expected argument " "2"" of type '" "long""'");
21366 arg2
= static_cast< long >(val2
);
21369 if (!wxPyCheckForApp()) SWIG_fail
;
21370 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21371 result
= (wxMDIClientWindow
*)new wxMDIClientWindow(arg1
,arg2
);
21372 wxPyEndAllowThreads(__tstate
);
21373 if (PyErr_Occurred()) SWIG_fail
;
21375 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMDIClientWindow
, SWIG_POINTER_NEW
| 0 );
21382 SWIGINTERN PyObject
*_wrap_new_PreMDIClientWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21383 PyObject
*resultobj
= 0;
21384 wxMDIClientWindow
*result
= 0 ;
21386 if (!SWIG_Python_UnpackTuple(args
,"new_PreMDIClientWindow",0,0,0)) SWIG_fail
;
21388 if (!wxPyCheckForApp()) SWIG_fail
;
21389 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21390 result
= (wxMDIClientWindow
*)new wxMDIClientWindow();
21391 wxPyEndAllowThreads(__tstate
);
21392 if (PyErr_Occurred()) SWIG_fail
;
21394 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMDIClientWindow
, SWIG_POINTER_OWN
| 0 );
21401 SWIGINTERN PyObject
*_wrap_MDIClientWindow_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21402 PyObject
*resultobj
= 0;
21403 wxMDIClientWindow
*arg1
= (wxMDIClientWindow
*) 0 ;
21404 wxMDIParentFrame
*arg2
= (wxMDIParentFrame
*) 0 ;
21405 long arg3
= (long) 0 ;
21413 PyObject
* obj0
= 0 ;
21414 PyObject
* obj1
= 0 ;
21415 PyObject
* obj2
= 0 ;
21416 char * kwnames
[] = {
21417 (char *) "self",(char *) "parent",(char *) "style", NULL
21420 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:MDIClientWindow_Create",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
21421 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMDIClientWindow
, 0 | 0 );
21422 if (!SWIG_IsOK(res1
)) {
21423 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MDIClientWindow_Create" "', expected argument " "1"" of type '" "wxMDIClientWindow *""'");
21425 arg1
= reinterpret_cast< wxMDIClientWindow
* >(argp1
);
21426 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxMDIParentFrame
, 0 | 0 );
21427 if (!SWIG_IsOK(res2
)) {
21428 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "MDIClientWindow_Create" "', expected argument " "2"" of type '" "wxMDIParentFrame *""'");
21430 arg2
= reinterpret_cast< wxMDIParentFrame
* >(argp2
);
21432 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
21433 if (!SWIG_IsOK(ecode3
)) {
21434 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "MDIClientWindow_Create" "', expected argument " "3"" of type '" "long""'");
21436 arg3
= static_cast< long >(val3
);
21439 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21440 result
= (bool)(arg1
)->Create(arg2
,arg3
);
21441 wxPyEndAllowThreads(__tstate
);
21442 if (PyErr_Occurred()) SWIG_fail
;
21445 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21453 SWIGINTERN PyObject
*MDIClientWindow_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21455 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
21456 SWIG_TypeNewClientData(SWIGTYPE_p_wxMDIClientWindow
, SWIG_NewClientData(obj
));
21457 return SWIG_Py_Void();
21460 SWIGINTERN PyObject
*MDIClientWindow_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21461 return SWIG_Python_InitShadowInstance(args
);
21464 SWIGINTERN PyObject
*_wrap_new_PyWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21465 PyObject
*resultobj
= 0;
21466 wxWindow
*arg1
= (wxWindow
*) 0 ;
21467 int arg2
= (int) (int)-1 ;
21468 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
21469 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
21470 wxSize
const &arg4_defvalue
= wxDefaultSize
;
21471 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
21472 long arg5
= (long) 0 ;
21473 wxString
const &arg6_defvalue
= wxPyPanelNameStr
;
21474 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
21475 wxPyWindow
*result
= 0 ;
21484 bool temp6
= false ;
21485 PyObject
* obj0
= 0 ;
21486 PyObject
* obj1
= 0 ;
21487 PyObject
* obj2
= 0 ;
21488 PyObject
* obj3
= 0 ;
21489 PyObject
* obj4
= 0 ;
21490 PyObject
* obj5
= 0 ;
21491 char * kwnames
[] = {
21492 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
21495 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_PyWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
21496 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
21497 if (!SWIG_IsOK(res1
)) {
21498 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PyWindow" "', expected argument " "1"" of type '" "wxWindow *""'");
21500 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
21502 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
21503 if (!SWIG_IsOK(ecode2
)) {
21504 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_PyWindow" "', expected argument " "2"" of type '" "int""'");
21506 arg2
= static_cast< int >(val2
);
21511 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
21517 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
21521 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
21522 if (!SWIG_IsOK(ecode5
)) {
21523 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_PyWindow" "', expected argument " "5"" of type '" "long""'");
21525 arg5
= static_cast< long >(val5
);
21529 arg6
= wxString_in_helper(obj5
);
21530 if (arg6
== NULL
) SWIG_fail
;
21535 if (!wxPyCheckForApp()) SWIG_fail
;
21536 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21537 result
= (wxPyWindow
*)new wxPyWindow(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
21538 wxPyEndAllowThreads(__tstate
);
21539 if (PyErr_Occurred()) SWIG_fail
;
21541 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyWindow
, SWIG_POINTER_NEW
| 0 );
21556 SWIGINTERN PyObject
*_wrap_new_PrePyWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21557 PyObject
*resultobj
= 0;
21558 wxPyWindow
*result
= 0 ;
21560 if (!SWIG_Python_UnpackTuple(args
,"new_PrePyWindow",0,0,0)) SWIG_fail
;
21562 if (!wxPyCheckForApp()) SWIG_fail
;
21563 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21564 result
= (wxPyWindow
*)new wxPyWindow();
21565 wxPyEndAllowThreads(__tstate
);
21566 if (PyErr_Occurred()) SWIG_fail
;
21568 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyWindow
, SWIG_POINTER_OWN
| 0 );
21575 SWIGINTERN PyObject
*_wrap_PyWindow__setCallbackInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21576 PyObject
*resultobj
= 0;
21577 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
21578 PyObject
*arg2
= (PyObject
*) 0 ;
21579 PyObject
*arg3
= (PyObject
*) 0 ;
21582 PyObject
* obj0
= 0 ;
21583 PyObject
* obj1
= 0 ;
21584 PyObject
* obj2
= 0 ;
21585 char * kwnames
[] = {
21586 (char *) "self",(char *) "self",(char *) "_class", NULL
21589 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyWindow__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
21590 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyWindow
, 0 | 0 );
21591 if (!SWIG_IsOK(res1
)) {
21592 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyWindow__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyWindow *""'");
21594 arg1
= reinterpret_cast< wxPyWindow
* >(argp1
);
21598 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21599 (arg1
)->_setCallbackInfo(arg2
,arg3
);
21600 wxPyEndAllowThreads(__tstate
);
21601 if (PyErr_Occurred()) SWIG_fail
;
21603 resultobj
= SWIG_Py_Void();
21610 SWIGINTERN PyObject
*_wrap_PyWindow_SetBestSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21611 PyObject
*resultobj
= 0;
21612 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
21617 PyObject
* obj0
= 0 ;
21618 PyObject
* obj1
= 0 ;
21619 char * kwnames
[] = {
21620 (char *) "self",(char *) "size", NULL
21623 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyWindow_SetBestSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
21624 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyWindow
, 0 | 0 );
21625 if (!SWIG_IsOK(res1
)) {
21626 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyWindow_SetBestSize" "', expected argument " "1"" of type '" "wxPyWindow *""'");
21628 arg1
= reinterpret_cast< wxPyWindow
* >(argp1
);
21631 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
21634 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21635 (arg1
)->SetBestSize((wxSize
const &)*arg2
);
21636 wxPyEndAllowThreads(__tstate
);
21637 if (PyErr_Occurred()) SWIG_fail
;
21639 resultobj
= SWIG_Py_Void();
21646 SWIGINTERN PyObject
*_wrap_PyWindow_DoEraseBackground(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21647 PyObject
*resultobj
= 0;
21648 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
21649 wxDC
*arg2
= (wxDC
*) 0 ;
21655 PyObject
* obj0
= 0 ;
21656 PyObject
* obj1
= 0 ;
21657 char * kwnames
[] = {
21658 (char *) "self",(char *) "dc", NULL
21661 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyWindow_DoEraseBackground",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
21662 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyWindow
, 0 | 0 );
21663 if (!SWIG_IsOK(res1
)) {
21664 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyWindow_DoEraseBackground" "', expected argument " "1"" of type '" "wxPyWindow *""'");
21666 arg1
= reinterpret_cast< wxPyWindow
* >(argp1
);
21667 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxDC
, 0 | 0 );
21668 if (!SWIG_IsOK(res2
)) {
21669 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PyWindow_DoEraseBackground" "', expected argument " "2"" of type '" "wxDC *""'");
21671 arg2
= reinterpret_cast< wxDC
* >(argp2
);
21673 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21674 result
= (bool)(arg1
)->DoEraseBackground(arg2
);
21675 wxPyEndAllowThreads(__tstate
);
21676 if (PyErr_Occurred()) SWIG_fail
;
21679 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21687 SWIGINTERN PyObject
*_wrap_PyWindow_DoMoveWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21688 PyObject
*resultobj
= 0;
21689 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
21704 PyObject
* obj0
= 0 ;
21705 PyObject
* obj1
= 0 ;
21706 PyObject
* obj2
= 0 ;
21707 PyObject
* obj3
= 0 ;
21708 PyObject
* obj4
= 0 ;
21709 char * kwnames
[] = {
21710 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
21713 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:PyWindow_DoMoveWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
21714 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyWindow
, 0 | 0 );
21715 if (!SWIG_IsOK(res1
)) {
21716 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyWindow_DoMoveWindow" "', expected argument " "1"" of type '" "wxPyWindow *""'");
21718 arg1
= reinterpret_cast< wxPyWindow
* >(argp1
);
21719 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
21720 if (!SWIG_IsOK(ecode2
)) {
21721 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PyWindow_DoMoveWindow" "', expected argument " "2"" of type '" "int""'");
21723 arg2
= static_cast< int >(val2
);
21724 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
21725 if (!SWIG_IsOK(ecode3
)) {
21726 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PyWindow_DoMoveWindow" "', expected argument " "3"" of type '" "int""'");
21728 arg3
= static_cast< int >(val3
);
21729 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
21730 if (!SWIG_IsOK(ecode4
)) {
21731 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PyWindow_DoMoveWindow" "', expected argument " "4"" of type '" "int""'");
21733 arg4
= static_cast< int >(val4
);
21734 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
21735 if (!SWIG_IsOK(ecode5
)) {
21736 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PyWindow_DoMoveWindow" "', expected argument " "5"" of type '" "int""'");
21738 arg5
= static_cast< int >(val5
);
21740 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21741 (arg1
)->DoMoveWindow(arg2
,arg3
,arg4
,arg5
);
21742 wxPyEndAllowThreads(__tstate
);
21743 if (PyErr_Occurred()) SWIG_fail
;
21745 resultobj
= SWIG_Py_Void();
21752 SWIGINTERN PyObject
*_wrap_PyWindow_DoSetSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21753 PyObject
*resultobj
= 0;
21754 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
21759 int arg6
= (int) wxSIZE_AUTO
;
21772 PyObject
* obj0
= 0 ;
21773 PyObject
* obj1
= 0 ;
21774 PyObject
* obj2
= 0 ;
21775 PyObject
* obj3
= 0 ;
21776 PyObject
* obj4
= 0 ;
21777 PyObject
* obj5
= 0 ;
21778 char * kwnames
[] = {
21779 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "sizeFlags", NULL
21782 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|O:PyWindow_DoSetSize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
21783 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyWindow
, 0 | 0 );
21784 if (!SWIG_IsOK(res1
)) {
21785 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyWindow_DoSetSize" "', expected argument " "1"" of type '" "wxPyWindow *""'");
21787 arg1
= reinterpret_cast< wxPyWindow
* >(argp1
);
21788 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
21789 if (!SWIG_IsOK(ecode2
)) {
21790 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PyWindow_DoSetSize" "', expected argument " "2"" of type '" "int""'");
21792 arg2
= static_cast< int >(val2
);
21793 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
21794 if (!SWIG_IsOK(ecode3
)) {
21795 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PyWindow_DoSetSize" "', expected argument " "3"" of type '" "int""'");
21797 arg3
= static_cast< int >(val3
);
21798 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
21799 if (!SWIG_IsOK(ecode4
)) {
21800 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PyWindow_DoSetSize" "', expected argument " "4"" of type '" "int""'");
21802 arg4
= static_cast< int >(val4
);
21803 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
21804 if (!SWIG_IsOK(ecode5
)) {
21805 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PyWindow_DoSetSize" "', expected argument " "5"" of type '" "int""'");
21807 arg5
= static_cast< int >(val5
);
21809 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
21810 if (!SWIG_IsOK(ecode6
)) {
21811 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "PyWindow_DoSetSize" "', expected argument " "6"" of type '" "int""'");
21813 arg6
= static_cast< int >(val6
);
21816 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21817 (arg1
)->DoSetSize(arg2
,arg3
,arg4
,arg5
,arg6
);
21818 wxPyEndAllowThreads(__tstate
);
21819 if (PyErr_Occurred()) SWIG_fail
;
21821 resultobj
= SWIG_Py_Void();
21828 SWIGINTERN PyObject
*_wrap_PyWindow_DoSetClientSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21829 PyObject
*resultobj
= 0;
21830 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
21839 PyObject
* obj0
= 0 ;
21840 PyObject
* obj1
= 0 ;
21841 PyObject
* obj2
= 0 ;
21842 char * kwnames
[] = {
21843 (char *) "self",(char *) "width",(char *) "height", NULL
21846 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyWindow_DoSetClientSize",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
21847 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyWindow
, 0 | 0 );
21848 if (!SWIG_IsOK(res1
)) {
21849 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyWindow_DoSetClientSize" "', expected argument " "1"" of type '" "wxPyWindow *""'");
21851 arg1
= reinterpret_cast< wxPyWindow
* >(argp1
);
21852 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
21853 if (!SWIG_IsOK(ecode2
)) {
21854 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PyWindow_DoSetClientSize" "', expected argument " "2"" of type '" "int""'");
21856 arg2
= static_cast< int >(val2
);
21857 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
21858 if (!SWIG_IsOK(ecode3
)) {
21859 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PyWindow_DoSetClientSize" "', expected argument " "3"" of type '" "int""'");
21861 arg3
= static_cast< int >(val3
);
21863 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21864 (arg1
)->DoSetClientSize(arg2
,arg3
);
21865 wxPyEndAllowThreads(__tstate
);
21866 if (PyErr_Occurred()) SWIG_fail
;
21868 resultobj
= SWIG_Py_Void();
21875 SWIGINTERN PyObject
*_wrap_PyWindow_DoSetVirtualSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21876 PyObject
*resultobj
= 0;
21877 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
21886 PyObject
* obj0
= 0 ;
21887 PyObject
* obj1
= 0 ;
21888 PyObject
* obj2
= 0 ;
21889 char * kwnames
[] = {
21890 (char *) "self",(char *) "x",(char *) "y", NULL
21893 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyWindow_DoSetVirtualSize",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
21894 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyWindow
, 0 | 0 );
21895 if (!SWIG_IsOK(res1
)) {
21896 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyWindow_DoSetVirtualSize" "', expected argument " "1"" of type '" "wxPyWindow *""'");
21898 arg1
= reinterpret_cast< wxPyWindow
* >(argp1
);
21899 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
21900 if (!SWIG_IsOK(ecode2
)) {
21901 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PyWindow_DoSetVirtualSize" "', expected argument " "2"" of type '" "int""'");
21903 arg2
= static_cast< int >(val2
);
21904 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
21905 if (!SWIG_IsOK(ecode3
)) {
21906 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PyWindow_DoSetVirtualSize" "', expected argument " "3"" of type '" "int""'");
21908 arg3
= static_cast< int >(val3
);
21910 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21911 (arg1
)->DoSetVirtualSize(arg2
,arg3
);
21912 wxPyEndAllowThreads(__tstate
);
21913 if (PyErr_Occurred()) SWIG_fail
;
21915 resultobj
= SWIG_Py_Void();
21922 SWIGINTERN PyObject
*_wrap_PyWindow_DoGetSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21923 PyObject
*resultobj
= 0;
21924 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
21925 int *arg2
= (int *) 0 ;
21926 int *arg3
= (int *) 0 ;
21930 int res2
= SWIG_TMPOBJ
;
21932 int res3
= SWIG_TMPOBJ
;
21933 PyObject
*swig_obj
[1] ;
21937 if (!args
) SWIG_fail
;
21938 swig_obj
[0] = args
;
21939 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyWindow
, 0 | 0 );
21940 if (!SWIG_IsOK(res1
)) {
21941 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyWindow_DoGetSize" "', expected argument " "1"" of type '" "wxPyWindow const *""'");
21943 arg1
= reinterpret_cast< wxPyWindow
* >(argp1
);
21945 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21946 ((wxPyWindow
const *)arg1
)->DoGetSize(arg2
,arg3
);
21947 wxPyEndAllowThreads(__tstate
);
21948 if (PyErr_Occurred()) SWIG_fail
;
21950 resultobj
= SWIG_Py_Void();
21951 if (SWIG_IsTmpObj(res2
)) {
21952 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
21954 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
21955 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
21957 if (SWIG_IsTmpObj(res3
)) {
21958 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
21960 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
21961 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
21969 SWIGINTERN PyObject
*_wrap_PyWindow_DoGetClientSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21970 PyObject
*resultobj
= 0;
21971 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
21972 int *arg2
= (int *) 0 ;
21973 int *arg3
= (int *) 0 ;
21977 int res2
= SWIG_TMPOBJ
;
21979 int res3
= SWIG_TMPOBJ
;
21980 PyObject
*swig_obj
[1] ;
21984 if (!args
) SWIG_fail
;
21985 swig_obj
[0] = args
;
21986 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyWindow
, 0 | 0 );
21987 if (!SWIG_IsOK(res1
)) {
21988 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyWindow_DoGetClientSize" "', expected argument " "1"" of type '" "wxPyWindow const *""'");
21990 arg1
= reinterpret_cast< wxPyWindow
* >(argp1
);
21992 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21993 ((wxPyWindow
const *)arg1
)->DoGetClientSize(arg2
,arg3
);
21994 wxPyEndAllowThreads(__tstate
);
21995 if (PyErr_Occurred()) SWIG_fail
;
21997 resultobj
= SWIG_Py_Void();
21998 if (SWIG_IsTmpObj(res2
)) {
21999 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
22001 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
22002 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
22004 if (SWIG_IsTmpObj(res3
)) {
22005 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
22007 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
22008 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
22016 SWIGINTERN PyObject
*_wrap_PyWindow_DoGetPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22017 PyObject
*resultobj
= 0;
22018 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
22019 int *arg2
= (int *) 0 ;
22020 int *arg3
= (int *) 0 ;
22024 int res2
= SWIG_TMPOBJ
;
22026 int res3
= SWIG_TMPOBJ
;
22027 PyObject
*swig_obj
[1] ;
22031 if (!args
) SWIG_fail
;
22032 swig_obj
[0] = args
;
22033 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyWindow
, 0 | 0 );
22034 if (!SWIG_IsOK(res1
)) {
22035 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyWindow_DoGetPosition" "', expected argument " "1"" of type '" "wxPyWindow const *""'");
22037 arg1
= reinterpret_cast< wxPyWindow
* >(argp1
);
22039 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22040 ((wxPyWindow
const *)arg1
)->DoGetPosition(arg2
,arg3
);
22041 wxPyEndAllowThreads(__tstate
);
22042 if (PyErr_Occurred()) SWIG_fail
;
22044 resultobj
= SWIG_Py_Void();
22045 if (SWIG_IsTmpObj(res2
)) {
22046 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
22048 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
22049 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
22051 if (SWIG_IsTmpObj(res3
)) {
22052 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
22054 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
22055 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
22063 SWIGINTERN PyObject
*_wrap_PyWindow_DoGetVirtualSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22064 PyObject
*resultobj
= 0;
22065 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
22069 PyObject
*swig_obj
[1] ;
22071 if (!args
) SWIG_fail
;
22072 swig_obj
[0] = args
;
22073 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyWindow
, 0 | 0 );
22074 if (!SWIG_IsOK(res1
)) {
22075 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyWindow_DoGetVirtualSize" "', expected argument " "1"" of type '" "wxPyWindow const *""'");
22077 arg1
= reinterpret_cast< wxPyWindow
* >(argp1
);
22079 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22080 result
= ((wxPyWindow
const *)arg1
)->DoGetVirtualSize();
22081 wxPyEndAllowThreads(__tstate
);
22082 if (PyErr_Occurred()) SWIG_fail
;
22084 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
22091 SWIGINTERN PyObject
*_wrap_PyWindow_DoGetBestSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22092 PyObject
*resultobj
= 0;
22093 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
22097 PyObject
*swig_obj
[1] ;
22099 if (!args
) SWIG_fail
;
22100 swig_obj
[0] = args
;
22101 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyWindow
, 0 | 0 );
22102 if (!SWIG_IsOK(res1
)) {
22103 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyWindow_DoGetBestSize" "', expected argument " "1"" of type '" "wxPyWindow const *""'");
22105 arg1
= reinterpret_cast< wxPyWindow
* >(argp1
);
22107 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22108 result
= ((wxPyWindow
const *)arg1
)->DoGetBestSize();
22109 wxPyEndAllowThreads(__tstate
);
22110 if (PyErr_Occurred()) SWIG_fail
;
22112 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
22119 SWIGINTERN PyObject
*_wrap_PyWindow_GetDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22120 PyObject
*resultobj
= 0;
22121 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
22122 SwigValueWrapper
<wxVisualAttributes
> result
;
22125 PyObject
*swig_obj
[1] ;
22127 if (!args
) SWIG_fail
;
22128 swig_obj
[0] = args
;
22129 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyWindow
, 0 | 0 );
22130 if (!SWIG_IsOK(res1
)) {
22131 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyWindow_GetDefaultAttributes" "', expected argument " "1"" of type '" "wxPyWindow *""'");
22133 arg1
= reinterpret_cast< wxPyWindow
* >(argp1
);
22135 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22136 result
= (arg1
)->GetDefaultAttributes();
22137 wxPyEndAllowThreads(__tstate
);
22138 if (PyErr_Occurred()) SWIG_fail
;
22140 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
22147 SWIGINTERN PyObject
*_wrap_PyWindow_OnInternalIdle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22148 PyObject
*resultobj
= 0;
22149 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
22152 PyObject
*swig_obj
[1] ;
22154 if (!args
) SWIG_fail
;
22155 swig_obj
[0] = args
;
22156 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyWindow
, 0 | 0 );
22157 if (!SWIG_IsOK(res1
)) {
22158 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyWindow_OnInternalIdle" "', expected argument " "1"" of type '" "wxPyWindow *""'");
22160 arg1
= reinterpret_cast< wxPyWindow
* >(argp1
);
22162 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22163 (arg1
)->OnInternalIdle();
22164 wxPyEndAllowThreads(__tstate
);
22165 if (PyErr_Occurred()) SWIG_fail
;
22167 resultobj
= SWIG_Py_Void();
22174 SWIGINTERN PyObject
*PyWindow_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22176 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
22177 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyWindow
, SWIG_NewClientData(obj
));
22178 return SWIG_Py_Void();
22181 SWIGINTERN PyObject
*PyWindow_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22182 return SWIG_Python_InitShadowInstance(args
);
22185 SWIGINTERN PyObject
*_wrap_new_PyPanel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22186 PyObject
*resultobj
= 0;
22187 wxWindow
*arg1
= (wxWindow
*) 0 ;
22188 int arg2
= (int) (int)-1 ;
22189 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
22190 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
22191 wxSize
const &arg4_defvalue
= wxDefaultSize
;
22192 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
22193 long arg5
= (long) 0 ;
22194 wxString
const &arg6_defvalue
= wxPyPanelNameStr
;
22195 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
22196 wxPyPanel
*result
= 0 ;
22205 bool temp6
= false ;
22206 PyObject
* obj0
= 0 ;
22207 PyObject
* obj1
= 0 ;
22208 PyObject
* obj2
= 0 ;
22209 PyObject
* obj3
= 0 ;
22210 PyObject
* obj4
= 0 ;
22211 PyObject
* obj5
= 0 ;
22212 char * kwnames
[] = {
22213 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
22216 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_PyPanel",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
22217 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
22218 if (!SWIG_IsOK(res1
)) {
22219 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PyPanel" "', expected argument " "1"" of type '" "wxWindow *""'");
22221 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
22223 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
22224 if (!SWIG_IsOK(ecode2
)) {
22225 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_PyPanel" "', expected argument " "2"" of type '" "int""'");
22227 arg2
= static_cast< int >(val2
);
22232 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
22238 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
22242 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
22243 if (!SWIG_IsOK(ecode5
)) {
22244 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_PyPanel" "', expected argument " "5"" of type '" "long""'");
22246 arg5
= static_cast< long >(val5
);
22250 arg6
= wxString_in_helper(obj5
);
22251 if (arg6
== NULL
) SWIG_fail
;
22256 if (!wxPyCheckForApp()) SWIG_fail
;
22257 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22258 result
= (wxPyPanel
*)new wxPyPanel(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
22259 wxPyEndAllowThreads(__tstate
);
22260 if (PyErr_Occurred()) SWIG_fail
;
22262 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyPanel
, SWIG_POINTER_NEW
| 0 );
22277 SWIGINTERN PyObject
*_wrap_new_PrePyPanel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22278 PyObject
*resultobj
= 0;
22279 wxPyPanel
*result
= 0 ;
22281 if (!SWIG_Python_UnpackTuple(args
,"new_PrePyPanel",0,0,0)) SWIG_fail
;
22283 if (!wxPyCheckForApp()) SWIG_fail
;
22284 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22285 result
= (wxPyPanel
*)new wxPyPanel();
22286 wxPyEndAllowThreads(__tstate
);
22287 if (PyErr_Occurred()) SWIG_fail
;
22289 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyPanel
, SWIG_POINTER_OWN
| 0 );
22296 SWIGINTERN PyObject
*_wrap_PyPanel__setCallbackInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22297 PyObject
*resultobj
= 0;
22298 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
22299 PyObject
*arg2
= (PyObject
*) 0 ;
22300 PyObject
*arg3
= (PyObject
*) 0 ;
22303 PyObject
* obj0
= 0 ;
22304 PyObject
* obj1
= 0 ;
22305 PyObject
* obj2
= 0 ;
22306 char * kwnames
[] = {
22307 (char *) "self",(char *) "self",(char *) "_class", NULL
22310 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyPanel__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
22311 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPanel
, 0 | 0 );
22312 if (!SWIG_IsOK(res1
)) {
22313 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyPanel__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyPanel *""'");
22315 arg1
= reinterpret_cast< wxPyPanel
* >(argp1
);
22319 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22320 (arg1
)->_setCallbackInfo(arg2
,arg3
);
22321 wxPyEndAllowThreads(__tstate
);
22322 if (PyErr_Occurred()) SWIG_fail
;
22324 resultobj
= SWIG_Py_Void();
22331 SWIGINTERN PyObject
*_wrap_PyPanel_SetBestSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22332 PyObject
*resultobj
= 0;
22333 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
22338 PyObject
* obj0
= 0 ;
22339 PyObject
* obj1
= 0 ;
22340 char * kwnames
[] = {
22341 (char *) "self",(char *) "size", NULL
22344 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyPanel_SetBestSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
22345 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPanel
, 0 | 0 );
22346 if (!SWIG_IsOK(res1
)) {
22347 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyPanel_SetBestSize" "', expected argument " "1"" of type '" "wxPyPanel *""'");
22349 arg1
= reinterpret_cast< wxPyPanel
* >(argp1
);
22352 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
22355 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22356 (arg1
)->SetBestSize((wxSize
const &)*arg2
);
22357 wxPyEndAllowThreads(__tstate
);
22358 if (PyErr_Occurred()) SWIG_fail
;
22360 resultobj
= SWIG_Py_Void();
22367 SWIGINTERN PyObject
*_wrap_PyPanel_DoEraseBackground(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22368 PyObject
*resultobj
= 0;
22369 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
22370 wxDC
*arg2
= (wxDC
*) 0 ;
22376 PyObject
* obj0
= 0 ;
22377 PyObject
* obj1
= 0 ;
22378 char * kwnames
[] = {
22379 (char *) "self",(char *) "dc", NULL
22382 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyPanel_DoEraseBackground",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
22383 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPanel
, 0 | 0 );
22384 if (!SWIG_IsOK(res1
)) {
22385 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyPanel_DoEraseBackground" "', expected argument " "1"" of type '" "wxPyPanel *""'");
22387 arg1
= reinterpret_cast< wxPyPanel
* >(argp1
);
22388 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxDC
, 0 | 0 );
22389 if (!SWIG_IsOK(res2
)) {
22390 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PyPanel_DoEraseBackground" "', expected argument " "2"" of type '" "wxDC *""'");
22392 arg2
= reinterpret_cast< wxDC
* >(argp2
);
22394 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22395 result
= (bool)(arg1
)->DoEraseBackground(arg2
);
22396 wxPyEndAllowThreads(__tstate
);
22397 if (PyErr_Occurred()) SWIG_fail
;
22400 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22408 SWIGINTERN PyObject
*_wrap_PyPanel_DoMoveWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22409 PyObject
*resultobj
= 0;
22410 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
22425 PyObject
* obj0
= 0 ;
22426 PyObject
* obj1
= 0 ;
22427 PyObject
* obj2
= 0 ;
22428 PyObject
* obj3
= 0 ;
22429 PyObject
* obj4
= 0 ;
22430 char * kwnames
[] = {
22431 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
22434 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:PyPanel_DoMoveWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
22435 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPanel
, 0 | 0 );
22436 if (!SWIG_IsOK(res1
)) {
22437 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyPanel_DoMoveWindow" "', expected argument " "1"" of type '" "wxPyPanel *""'");
22439 arg1
= reinterpret_cast< wxPyPanel
* >(argp1
);
22440 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
22441 if (!SWIG_IsOK(ecode2
)) {
22442 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PyPanel_DoMoveWindow" "', expected argument " "2"" of type '" "int""'");
22444 arg2
= static_cast< int >(val2
);
22445 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
22446 if (!SWIG_IsOK(ecode3
)) {
22447 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PyPanel_DoMoveWindow" "', expected argument " "3"" of type '" "int""'");
22449 arg3
= static_cast< int >(val3
);
22450 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
22451 if (!SWIG_IsOK(ecode4
)) {
22452 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PyPanel_DoMoveWindow" "', expected argument " "4"" of type '" "int""'");
22454 arg4
= static_cast< int >(val4
);
22455 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
22456 if (!SWIG_IsOK(ecode5
)) {
22457 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PyPanel_DoMoveWindow" "', expected argument " "5"" of type '" "int""'");
22459 arg5
= static_cast< int >(val5
);
22461 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22462 (arg1
)->DoMoveWindow(arg2
,arg3
,arg4
,arg5
);
22463 wxPyEndAllowThreads(__tstate
);
22464 if (PyErr_Occurred()) SWIG_fail
;
22466 resultobj
= SWIG_Py_Void();
22473 SWIGINTERN PyObject
*_wrap_PyPanel_DoSetSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22474 PyObject
*resultobj
= 0;
22475 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
22480 int arg6
= (int) wxSIZE_AUTO
;
22493 PyObject
* obj0
= 0 ;
22494 PyObject
* obj1
= 0 ;
22495 PyObject
* obj2
= 0 ;
22496 PyObject
* obj3
= 0 ;
22497 PyObject
* obj4
= 0 ;
22498 PyObject
* obj5
= 0 ;
22499 char * kwnames
[] = {
22500 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "sizeFlags", NULL
22503 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|O:PyPanel_DoSetSize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
22504 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPanel
, 0 | 0 );
22505 if (!SWIG_IsOK(res1
)) {
22506 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyPanel_DoSetSize" "', expected argument " "1"" of type '" "wxPyPanel *""'");
22508 arg1
= reinterpret_cast< wxPyPanel
* >(argp1
);
22509 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
22510 if (!SWIG_IsOK(ecode2
)) {
22511 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PyPanel_DoSetSize" "', expected argument " "2"" of type '" "int""'");
22513 arg2
= static_cast< int >(val2
);
22514 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
22515 if (!SWIG_IsOK(ecode3
)) {
22516 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PyPanel_DoSetSize" "', expected argument " "3"" of type '" "int""'");
22518 arg3
= static_cast< int >(val3
);
22519 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
22520 if (!SWIG_IsOK(ecode4
)) {
22521 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PyPanel_DoSetSize" "', expected argument " "4"" of type '" "int""'");
22523 arg4
= static_cast< int >(val4
);
22524 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
22525 if (!SWIG_IsOK(ecode5
)) {
22526 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PyPanel_DoSetSize" "', expected argument " "5"" of type '" "int""'");
22528 arg5
= static_cast< int >(val5
);
22530 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
22531 if (!SWIG_IsOK(ecode6
)) {
22532 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "PyPanel_DoSetSize" "', expected argument " "6"" of type '" "int""'");
22534 arg6
= static_cast< int >(val6
);
22537 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22538 (arg1
)->DoSetSize(arg2
,arg3
,arg4
,arg5
,arg6
);
22539 wxPyEndAllowThreads(__tstate
);
22540 if (PyErr_Occurred()) SWIG_fail
;
22542 resultobj
= SWIG_Py_Void();
22549 SWIGINTERN PyObject
*_wrap_PyPanel_DoSetClientSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22550 PyObject
*resultobj
= 0;
22551 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
22560 PyObject
* obj0
= 0 ;
22561 PyObject
* obj1
= 0 ;
22562 PyObject
* obj2
= 0 ;
22563 char * kwnames
[] = {
22564 (char *) "self",(char *) "width",(char *) "height", NULL
22567 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyPanel_DoSetClientSize",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
22568 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPanel
, 0 | 0 );
22569 if (!SWIG_IsOK(res1
)) {
22570 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyPanel_DoSetClientSize" "', expected argument " "1"" of type '" "wxPyPanel *""'");
22572 arg1
= reinterpret_cast< wxPyPanel
* >(argp1
);
22573 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
22574 if (!SWIG_IsOK(ecode2
)) {
22575 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PyPanel_DoSetClientSize" "', expected argument " "2"" of type '" "int""'");
22577 arg2
= static_cast< int >(val2
);
22578 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
22579 if (!SWIG_IsOK(ecode3
)) {
22580 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PyPanel_DoSetClientSize" "', expected argument " "3"" of type '" "int""'");
22582 arg3
= static_cast< int >(val3
);
22584 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22585 (arg1
)->DoSetClientSize(arg2
,arg3
);
22586 wxPyEndAllowThreads(__tstate
);
22587 if (PyErr_Occurred()) SWIG_fail
;
22589 resultobj
= SWIG_Py_Void();
22596 SWIGINTERN PyObject
*_wrap_PyPanel_DoSetVirtualSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22597 PyObject
*resultobj
= 0;
22598 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
22607 PyObject
* obj0
= 0 ;
22608 PyObject
* obj1
= 0 ;
22609 PyObject
* obj2
= 0 ;
22610 char * kwnames
[] = {
22611 (char *) "self",(char *) "x",(char *) "y", NULL
22614 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyPanel_DoSetVirtualSize",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
22615 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPanel
, 0 | 0 );
22616 if (!SWIG_IsOK(res1
)) {
22617 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyPanel_DoSetVirtualSize" "', expected argument " "1"" of type '" "wxPyPanel *""'");
22619 arg1
= reinterpret_cast< wxPyPanel
* >(argp1
);
22620 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
22621 if (!SWIG_IsOK(ecode2
)) {
22622 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PyPanel_DoSetVirtualSize" "', expected argument " "2"" of type '" "int""'");
22624 arg2
= static_cast< int >(val2
);
22625 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
22626 if (!SWIG_IsOK(ecode3
)) {
22627 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PyPanel_DoSetVirtualSize" "', expected argument " "3"" of type '" "int""'");
22629 arg3
= static_cast< int >(val3
);
22631 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22632 (arg1
)->DoSetVirtualSize(arg2
,arg3
);
22633 wxPyEndAllowThreads(__tstate
);
22634 if (PyErr_Occurred()) SWIG_fail
;
22636 resultobj
= SWIG_Py_Void();
22643 SWIGINTERN PyObject
*_wrap_PyPanel_DoGetSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22644 PyObject
*resultobj
= 0;
22645 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
22646 int *arg2
= (int *) 0 ;
22647 int *arg3
= (int *) 0 ;
22651 int res2
= SWIG_TMPOBJ
;
22653 int res3
= SWIG_TMPOBJ
;
22654 PyObject
*swig_obj
[1] ;
22658 if (!args
) SWIG_fail
;
22659 swig_obj
[0] = args
;
22660 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPanel
, 0 | 0 );
22661 if (!SWIG_IsOK(res1
)) {
22662 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyPanel_DoGetSize" "', expected argument " "1"" of type '" "wxPyPanel const *""'");
22664 arg1
= reinterpret_cast< wxPyPanel
* >(argp1
);
22666 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22667 ((wxPyPanel
const *)arg1
)->DoGetSize(arg2
,arg3
);
22668 wxPyEndAllowThreads(__tstate
);
22669 if (PyErr_Occurred()) SWIG_fail
;
22671 resultobj
= SWIG_Py_Void();
22672 if (SWIG_IsTmpObj(res2
)) {
22673 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
22675 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
22676 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
22678 if (SWIG_IsTmpObj(res3
)) {
22679 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
22681 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
22682 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
22690 SWIGINTERN PyObject
*_wrap_PyPanel_DoGetClientSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22691 PyObject
*resultobj
= 0;
22692 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
22693 int *arg2
= (int *) 0 ;
22694 int *arg3
= (int *) 0 ;
22698 int res2
= SWIG_TMPOBJ
;
22700 int res3
= SWIG_TMPOBJ
;
22701 PyObject
*swig_obj
[1] ;
22705 if (!args
) SWIG_fail
;
22706 swig_obj
[0] = args
;
22707 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPanel
, 0 | 0 );
22708 if (!SWIG_IsOK(res1
)) {
22709 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyPanel_DoGetClientSize" "', expected argument " "1"" of type '" "wxPyPanel const *""'");
22711 arg1
= reinterpret_cast< wxPyPanel
* >(argp1
);
22713 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22714 ((wxPyPanel
const *)arg1
)->DoGetClientSize(arg2
,arg3
);
22715 wxPyEndAllowThreads(__tstate
);
22716 if (PyErr_Occurred()) SWIG_fail
;
22718 resultobj
= SWIG_Py_Void();
22719 if (SWIG_IsTmpObj(res2
)) {
22720 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
22722 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
22723 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
22725 if (SWIG_IsTmpObj(res3
)) {
22726 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
22728 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
22729 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
22737 SWIGINTERN PyObject
*_wrap_PyPanel_DoGetPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22738 PyObject
*resultobj
= 0;
22739 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
22740 int *arg2
= (int *) 0 ;
22741 int *arg3
= (int *) 0 ;
22745 int res2
= SWIG_TMPOBJ
;
22747 int res3
= SWIG_TMPOBJ
;
22748 PyObject
*swig_obj
[1] ;
22752 if (!args
) SWIG_fail
;
22753 swig_obj
[0] = args
;
22754 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPanel
, 0 | 0 );
22755 if (!SWIG_IsOK(res1
)) {
22756 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyPanel_DoGetPosition" "', expected argument " "1"" of type '" "wxPyPanel const *""'");
22758 arg1
= reinterpret_cast< wxPyPanel
* >(argp1
);
22760 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22761 ((wxPyPanel
const *)arg1
)->DoGetPosition(arg2
,arg3
);
22762 wxPyEndAllowThreads(__tstate
);
22763 if (PyErr_Occurred()) SWIG_fail
;
22765 resultobj
= SWIG_Py_Void();
22766 if (SWIG_IsTmpObj(res2
)) {
22767 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
22769 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
22770 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
22772 if (SWIG_IsTmpObj(res3
)) {
22773 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
22775 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
22776 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
22784 SWIGINTERN PyObject
*_wrap_PyPanel_DoGetVirtualSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22785 PyObject
*resultobj
= 0;
22786 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
22790 PyObject
*swig_obj
[1] ;
22792 if (!args
) SWIG_fail
;
22793 swig_obj
[0] = args
;
22794 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPanel
, 0 | 0 );
22795 if (!SWIG_IsOK(res1
)) {
22796 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyPanel_DoGetVirtualSize" "', expected argument " "1"" of type '" "wxPyPanel const *""'");
22798 arg1
= reinterpret_cast< wxPyPanel
* >(argp1
);
22800 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22801 result
= ((wxPyPanel
const *)arg1
)->DoGetVirtualSize();
22802 wxPyEndAllowThreads(__tstate
);
22803 if (PyErr_Occurred()) SWIG_fail
;
22805 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
22812 SWIGINTERN PyObject
*_wrap_PyPanel_DoGetBestSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22813 PyObject
*resultobj
= 0;
22814 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
22818 PyObject
*swig_obj
[1] ;
22820 if (!args
) SWIG_fail
;
22821 swig_obj
[0] = args
;
22822 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPanel
, 0 | 0 );
22823 if (!SWIG_IsOK(res1
)) {
22824 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyPanel_DoGetBestSize" "', expected argument " "1"" of type '" "wxPyPanel const *""'");
22826 arg1
= reinterpret_cast< wxPyPanel
* >(argp1
);
22828 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22829 result
= ((wxPyPanel
const *)arg1
)->DoGetBestSize();
22830 wxPyEndAllowThreads(__tstate
);
22831 if (PyErr_Occurred()) SWIG_fail
;
22833 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
22840 SWIGINTERN PyObject
*_wrap_PyPanel_GetDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22841 PyObject
*resultobj
= 0;
22842 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
22843 SwigValueWrapper
<wxVisualAttributes
> result
;
22846 PyObject
*swig_obj
[1] ;
22848 if (!args
) SWIG_fail
;
22849 swig_obj
[0] = args
;
22850 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPanel
, 0 | 0 );
22851 if (!SWIG_IsOK(res1
)) {
22852 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyPanel_GetDefaultAttributes" "', expected argument " "1"" of type '" "wxPyPanel *""'");
22854 arg1
= reinterpret_cast< wxPyPanel
* >(argp1
);
22856 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22857 result
= (arg1
)->GetDefaultAttributes();
22858 wxPyEndAllowThreads(__tstate
);
22859 if (PyErr_Occurred()) SWIG_fail
;
22861 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
22868 SWIGINTERN PyObject
*_wrap_PyPanel_OnInternalIdle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22869 PyObject
*resultobj
= 0;
22870 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
22873 PyObject
*swig_obj
[1] ;
22875 if (!args
) SWIG_fail
;
22876 swig_obj
[0] = args
;
22877 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPanel
, 0 | 0 );
22878 if (!SWIG_IsOK(res1
)) {
22879 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyPanel_OnInternalIdle" "', expected argument " "1"" of type '" "wxPyPanel *""'");
22881 arg1
= reinterpret_cast< wxPyPanel
* >(argp1
);
22883 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22884 (arg1
)->OnInternalIdle();
22885 wxPyEndAllowThreads(__tstate
);
22886 if (PyErr_Occurred()) SWIG_fail
;
22888 resultobj
= SWIG_Py_Void();
22895 SWIGINTERN PyObject
*PyPanel_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22897 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
22898 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyPanel
, SWIG_NewClientData(obj
));
22899 return SWIG_Py_Void();
22902 SWIGINTERN PyObject
*PyPanel_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22903 return SWIG_Python_InitShadowInstance(args
);
22906 SWIGINTERN PyObject
*_wrap_new_PyScrolledWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22907 PyObject
*resultobj
= 0;
22908 wxWindow
*arg1
= (wxWindow
*) 0 ;
22909 int arg2
= (int) (int)-1 ;
22910 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
22911 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
22912 wxSize
const &arg4_defvalue
= wxDefaultSize
;
22913 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
22914 long arg5
= (long) 0 ;
22915 wxString
const &arg6_defvalue
= wxPyPanelNameStr
;
22916 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
22917 wxPyScrolledWindow
*result
= 0 ;
22926 bool temp6
= false ;
22927 PyObject
* obj0
= 0 ;
22928 PyObject
* obj1
= 0 ;
22929 PyObject
* obj2
= 0 ;
22930 PyObject
* obj3
= 0 ;
22931 PyObject
* obj4
= 0 ;
22932 PyObject
* obj5
= 0 ;
22933 char * kwnames
[] = {
22934 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
22937 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_PyScrolledWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
22938 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
22939 if (!SWIG_IsOK(res1
)) {
22940 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PyScrolledWindow" "', expected argument " "1"" of type '" "wxWindow *""'");
22942 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
22944 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
22945 if (!SWIG_IsOK(ecode2
)) {
22946 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_PyScrolledWindow" "', expected argument " "2"" of type '" "int""'");
22948 arg2
= static_cast< int >(val2
);
22953 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
22959 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
22963 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
22964 if (!SWIG_IsOK(ecode5
)) {
22965 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_PyScrolledWindow" "', expected argument " "5"" of type '" "long""'");
22967 arg5
= static_cast< long >(val5
);
22971 arg6
= wxString_in_helper(obj5
);
22972 if (arg6
== NULL
) SWIG_fail
;
22977 if (!wxPyCheckForApp()) SWIG_fail
;
22978 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22979 result
= (wxPyScrolledWindow
*)new wxPyScrolledWindow(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
22980 wxPyEndAllowThreads(__tstate
);
22981 if (PyErr_Occurred()) SWIG_fail
;
22983 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyScrolledWindow
, SWIG_POINTER_NEW
| 0 );
22998 SWIGINTERN PyObject
*_wrap_new_PrePyScrolledWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22999 PyObject
*resultobj
= 0;
23000 wxPyScrolledWindow
*result
= 0 ;
23002 if (!SWIG_Python_UnpackTuple(args
,"new_PrePyScrolledWindow",0,0,0)) SWIG_fail
;
23004 if (!wxPyCheckForApp()) SWIG_fail
;
23005 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23006 result
= (wxPyScrolledWindow
*)new wxPyScrolledWindow();
23007 wxPyEndAllowThreads(__tstate
);
23008 if (PyErr_Occurred()) SWIG_fail
;
23010 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyScrolledWindow
, SWIG_POINTER_OWN
| 0 );
23017 SWIGINTERN PyObject
*_wrap_PyScrolledWindow__setCallbackInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23018 PyObject
*resultobj
= 0;
23019 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
23020 PyObject
*arg2
= (PyObject
*) 0 ;
23021 PyObject
*arg3
= (PyObject
*) 0 ;
23024 PyObject
* obj0
= 0 ;
23025 PyObject
* obj1
= 0 ;
23026 PyObject
* obj2
= 0 ;
23027 char * kwnames
[] = {
23028 (char *) "self",(char *) "self",(char *) "_class", NULL
23031 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyScrolledWindow__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
23032 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyScrolledWindow
, 0 | 0 );
23033 if (!SWIG_IsOK(res1
)) {
23034 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyScrolledWindow__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyScrolledWindow *""'");
23036 arg1
= reinterpret_cast< wxPyScrolledWindow
* >(argp1
);
23040 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23041 (arg1
)->_setCallbackInfo(arg2
,arg3
);
23042 wxPyEndAllowThreads(__tstate
);
23043 if (PyErr_Occurred()) SWIG_fail
;
23045 resultobj
= SWIG_Py_Void();
23052 SWIGINTERN PyObject
*_wrap_PyScrolledWindow_SetBestSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23053 PyObject
*resultobj
= 0;
23054 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
23059 PyObject
* obj0
= 0 ;
23060 PyObject
* obj1
= 0 ;
23061 char * kwnames
[] = {
23062 (char *) "self",(char *) "size", NULL
23065 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyScrolledWindow_SetBestSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23066 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyScrolledWindow
, 0 | 0 );
23067 if (!SWIG_IsOK(res1
)) {
23068 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyScrolledWindow_SetBestSize" "', expected argument " "1"" of type '" "wxPyScrolledWindow *""'");
23070 arg1
= reinterpret_cast< wxPyScrolledWindow
* >(argp1
);
23073 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
23076 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23077 (arg1
)->SetBestSize((wxSize
const &)*arg2
);
23078 wxPyEndAllowThreads(__tstate
);
23079 if (PyErr_Occurred()) SWIG_fail
;
23081 resultobj
= SWIG_Py_Void();
23088 SWIGINTERN PyObject
*_wrap_PyScrolledWindow_DoEraseBackground(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23089 PyObject
*resultobj
= 0;
23090 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
23091 wxDC
*arg2
= (wxDC
*) 0 ;
23097 PyObject
* obj0
= 0 ;
23098 PyObject
* obj1
= 0 ;
23099 char * kwnames
[] = {
23100 (char *) "self",(char *) "dc", NULL
23103 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyScrolledWindow_DoEraseBackground",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23104 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyScrolledWindow
, 0 | 0 );
23105 if (!SWIG_IsOK(res1
)) {
23106 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyScrolledWindow_DoEraseBackground" "', expected argument " "1"" of type '" "wxPyScrolledWindow *""'");
23108 arg1
= reinterpret_cast< wxPyScrolledWindow
* >(argp1
);
23109 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxDC
, 0 | 0 );
23110 if (!SWIG_IsOK(res2
)) {
23111 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PyScrolledWindow_DoEraseBackground" "', expected argument " "2"" of type '" "wxDC *""'");
23113 arg2
= reinterpret_cast< wxDC
* >(argp2
);
23115 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23116 result
= (bool)(arg1
)->DoEraseBackground(arg2
);
23117 wxPyEndAllowThreads(__tstate
);
23118 if (PyErr_Occurred()) SWIG_fail
;
23121 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23129 SWIGINTERN PyObject
*_wrap_PyScrolledWindow_DoMoveWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23130 PyObject
*resultobj
= 0;
23131 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
23146 PyObject
* obj0
= 0 ;
23147 PyObject
* obj1
= 0 ;
23148 PyObject
* obj2
= 0 ;
23149 PyObject
* obj3
= 0 ;
23150 PyObject
* obj4
= 0 ;
23151 char * kwnames
[] = {
23152 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
23155 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:PyScrolledWindow_DoMoveWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
23156 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyScrolledWindow
, 0 | 0 );
23157 if (!SWIG_IsOK(res1
)) {
23158 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyScrolledWindow_DoMoveWindow" "', expected argument " "1"" of type '" "wxPyScrolledWindow *""'");
23160 arg1
= reinterpret_cast< wxPyScrolledWindow
* >(argp1
);
23161 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
23162 if (!SWIG_IsOK(ecode2
)) {
23163 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PyScrolledWindow_DoMoveWindow" "', expected argument " "2"" of type '" "int""'");
23165 arg2
= static_cast< int >(val2
);
23166 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
23167 if (!SWIG_IsOK(ecode3
)) {
23168 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PyScrolledWindow_DoMoveWindow" "', expected argument " "3"" of type '" "int""'");
23170 arg3
= static_cast< int >(val3
);
23171 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
23172 if (!SWIG_IsOK(ecode4
)) {
23173 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PyScrolledWindow_DoMoveWindow" "', expected argument " "4"" of type '" "int""'");
23175 arg4
= static_cast< int >(val4
);
23176 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
23177 if (!SWIG_IsOK(ecode5
)) {
23178 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PyScrolledWindow_DoMoveWindow" "', expected argument " "5"" of type '" "int""'");
23180 arg5
= static_cast< int >(val5
);
23182 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23183 (arg1
)->DoMoveWindow(arg2
,arg3
,arg4
,arg5
);
23184 wxPyEndAllowThreads(__tstate
);
23185 if (PyErr_Occurred()) SWIG_fail
;
23187 resultobj
= SWIG_Py_Void();
23194 SWIGINTERN PyObject
*_wrap_PyScrolledWindow_DoSetSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23195 PyObject
*resultobj
= 0;
23196 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
23201 int arg6
= (int) wxSIZE_AUTO
;
23214 PyObject
* obj0
= 0 ;
23215 PyObject
* obj1
= 0 ;
23216 PyObject
* obj2
= 0 ;
23217 PyObject
* obj3
= 0 ;
23218 PyObject
* obj4
= 0 ;
23219 PyObject
* obj5
= 0 ;
23220 char * kwnames
[] = {
23221 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "sizeFlags", NULL
23224 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|O:PyScrolledWindow_DoSetSize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
23225 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyScrolledWindow
, 0 | 0 );
23226 if (!SWIG_IsOK(res1
)) {
23227 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyScrolledWindow_DoSetSize" "', expected argument " "1"" of type '" "wxPyScrolledWindow *""'");
23229 arg1
= reinterpret_cast< wxPyScrolledWindow
* >(argp1
);
23230 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
23231 if (!SWIG_IsOK(ecode2
)) {
23232 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PyScrolledWindow_DoSetSize" "', expected argument " "2"" of type '" "int""'");
23234 arg2
= static_cast< int >(val2
);
23235 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
23236 if (!SWIG_IsOK(ecode3
)) {
23237 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PyScrolledWindow_DoSetSize" "', expected argument " "3"" of type '" "int""'");
23239 arg3
= static_cast< int >(val3
);
23240 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
23241 if (!SWIG_IsOK(ecode4
)) {
23242 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PyScrolledWindow_DoSetSize" "', expected argument " "4"" of type '" "int""'");
23244 arg4
= static_cast< int >(val4
);
23245 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
23246 if (!SWIG_IsOK(ecode5
)) {
23247 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PyScrolledWindow_DoSetSize" "', expected argument " "5"" of type '" "int""'");
23249 arg5
= static_cast< int >(val5
);
23251 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
23252 if (!SWIG_IsOK(ecode6
)) {
23253 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "PyScrolledWindow_DoSetSize" "', expected argument " "6"" of type '" "int""'");
23255 arg6
= static_cast< int >(val6
);
23258 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23259 (arg1
)->DoSetSize(arg2
,arg3
,arg4
,arg5
,arg6
);
23260 wxPyEndAllowThreads(__tstate
);
23261 if (PyErr_Occurred()) SWIG_fail
;
23263 resultobj
= SWIG_Py_Void();
23270 SWIGINTERN PyObject
*_wrap_PyScrolledWindow_DoSetClientSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23271 PyObject
*resultobj
= 0;
23272 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
23281 PyObject
* obj0
= 0 ;
23282 PyObject
* obj1
= 0 ;
23283 PyObject
* obj2
= 0 ;
23284 char * kwnames
[] = {
23285 (char *) "self",(char *) "width",(char *) "height", NULL
23288 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyScrolledWindow_DoSetClientSize",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
23289 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyScrolledWindow
, 0 | 0 );
23290 if (!SWIG_IsOK(res1
)) {
23291 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyScrolledWindow_DoSetClientSize" "', expected argument " "1"" of type '" "wxPyScrolledWindow *""'");
23293 arg1
= reinterpret_cast< wxPyScrolledWindow
* >(argp1
);
23294 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
23295 if (!SWIG_IsOK(ecode2
)) {
23296 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PyScrolledWindow_DoSetClientSize" "', expected argument " "2"" of type '" "int""'");
23298 arg2
= static_cast< int >(val2
);
23299 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
23300 if (!SWIG_IsOK(ecode3
)) {
23301 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PyScrolledWindow_DoSetClientSize" "', expected argument " "3"" of type '" "int""'");
23303 arg3
= static_cast< int >(val3
);
23305 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23306 (arg1
)->DoSetClientSize(arg2
,arg3
);
23307 wxPyEndAllowThreads(__tstate
);
23308 if (PyErr_Occurred()) SWIG_fail
;
23310 resultobj
= SWIG_Py_Void();
23317 SWIGINTERN PyObject
*_wrap_PyScrolledWindow_DoSetVirtualSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23318 PyObject
*resultobj
= 0;
23319 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
23328 PyObject
* obj0
= 0 ;
23329 PyObject
* obj1
= 0 ;
23330 PyObject
* obj2
= 0 ;
23331 char * kwnames
[] = {
23332 (char *) "self",(char *) "x",(char *) "y", NULL
23335 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyScrolledWindow_DoSetVirtualSize",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
23336 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyScrolledWindow
, 0 | 0 );
23337 if (!SWIG_IsOK(res1
)) {
23338 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyScrolledWindow_DoSetVirtualSize" "', expected argument " "1"" of type '" "wxPyScrolledWindow *""'");
23340 arg1
= reinterpret_cast< wxPyScrolledWindow
* >(argp1
);
23341 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
23342 if (!SWIG_IsOK(ecode2
)) {
23343 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PyScrolledWindow_DoSetVirtualSize" "', expected argument " "2"" of type '" "int""'");
23345 arg2
= static_cast< int >(val2
);
23346 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
23347 if (!SWIG_IsOK(ecode3
)) {
23348 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PyScrolledWindow_DoSetVirtualSize" "', expected argument " "3"" of type '" "int""'");
23350 arg3
= static_cast< int >(val3
);
23352 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23353 (arg1
)->DoSetVirtualSize(arg2
,arg3
);
23354 wxPyEndAllowThreads(__tstate
);
23355 if (PyErr_Occurred()) SWIG_fail
;
23357 resultobj
= SWIG_Py_Void();
23364 SWIGINTERN PyObject
*_wrap_PyScrolledWindow_DoGetSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23365 PyObject
*resultobj
= 0;
23366 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
23367 int *arg2
= (int *) 0 ;
23368 int *arg3
= (int *) 0 ;
23372 int res2
= SWIG_TMPOBJ
;
23374 int res3
= SWIG_TMPOBJ
;
23375 PyObject
*swig_obj
[1] ;
23379 if (!args
) SWIG_fail
;
23380 swig_obj
[0] = args
;
23381 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyScrolledWindow
, 0 | 0 );
23382 if (!SWIG_IsOK(res1
)) {
23383 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyScrolledWindow_DoGetSize" "', expected argument " "1"" of type '" "wxPyScrolledWindow const *""'");
23385 arg1
= reinterpret_cast< wxPyScrolledWindow
* >(argp1
);
23387 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23388 ((wxPyScrolledWindow
const *)arg1
)->DoGetSize(arg2
,arg3
);
23389 wxPyEndAllowThreads(__tstate
);
23390 if (PyErr_Occurred()) SWIG_fail
;
23392 resultobj
= SWIG_Py_Void();
23393 if (SWIG_IsTmpObj(res2
)) {
23394 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
23396 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
23397 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
23399 if (SWIG_IsTmpObj(res3
)) {
23400 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
23402 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
23403 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
23411 SWIGINTERN PyObject
*_wrap_PyScrolledWindow_DoGetClientSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23412 PyObject
*resultobj
= 0;
23413 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
23414 int *arg2
= (int *) 0 ;
23415 int *arg3
= (int *) 0 ;
23419 int res2
= SWIG_TMPOBJ
;
23421 int res3
= SWIG_TMPOBJ
;
23422 PyObject
*swig_obj
[1] ;
23426 if (!args
) SWIG_fail
;
23427 swig_obj
[0] = args
;
23428 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyScrolledWindow
, 0 | 0 );
23429 if (!SWIG_IsOK(res1
)) {
23430 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyScrolledWindow_DoGetClientSize" "', expected argument " "1"" of type '" "wxPyScrolledWindow const *""'");
23432 arg1
= reinterpret_cast< wxPyScrolledWindow
* >(argp1
);
23434 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23435 ((wxPyScrolledWindow
const *)arg1
)->DoGetClientSize(arg2
,arg3
);
23436 wxPyEndAllowThreads(__tstate
);
23437 if (PyErr_Occurred()) SWIG_fail
;
23439 resultobj
= SWIG_Py_Void();
23440 if (SWIG_IsTmpObj(res2
)) {
23441 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
23443 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
23444 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
23446 if (SWIG_IsTmpObj(res3
)) {
23447 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
23449 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
23450 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
23458 SWIGINTERN PyObject
*_wrap_PyScrolledWindow_DoGetPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23459 PyObject
*resultobj
= 0;
23460 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
23461 int *arg2
= (int *) 0 ;
23462 int *arg3
= (int *) 0 ;
23466 int res2
= SWIG_TMPOBJ
;
23468 int res3
= SWIG_TMPOBJ
;
23469 PyObject
*swig_obj
[1] ;
23473 if (!args
) SWIG_fail
;
23474 swig_obj
[0] = args
;
23475 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyScrolledWindow
, 0 | 0 );
23476 if (!SWIG_IsOK(res1
)) {
23477 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyScrolledWindow_DoGetPosition" "', expected argument " "1"" of type '" "wxPyScrolledWindow const *""'");
23479 arg1
= reinterpret_cast< wxPyScrolledWindow
* >(argp1
);
23481 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23482 ((wxPyScrolledWindow
const *)arg1
)->DoGetPosition(arg2
,arg3
);
23483 wxPyEndAllowThreads(__tstate
);
23484 if (PyErr_Occurred()) SWIG_fail
;
23486 resultobj
= SWIG_Py_Void();
23487 if (SWIG_IsTmpObj(res2
)) {
23488 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
23490 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
23491 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
23493 if (SWIG_IsTmpObj(res3
)) {
23494 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
23496 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
23497 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
23505 SWIGINTERN PyObject
*_wrap_PyScrolledWindow_DoGetVirtualSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23506 PyObject
*resultobj
= 0;
23507 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
23511 PyObject
*swig_obj
[1] ;
23513 if (!args
) SWIG_fail
;
23514 swig_obj
[0] = args
;
23515 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyScrolledWindow
, 0 | 0 );
23516 if (!SWIG_IsOK(res1
)) {
23517 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyScrolledWindow_DoGetVirtualSize" "', expected argument " "1"" of type '" "wxPyScrolledWindow const *""'");
23519 arg1
= reinterpret_cast< wxPyScrolledWindow
* >(argp1
);
23521 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23522 result
= ((wxPyScrolledWindow
const *)arg1
)->DoGetVirtualSize();
23523 wxPyEndAllowThreads(__tstate
);
23524 if (PyErr_Occurred()) SWIG_fail
;
23526 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
23533 SWIGINTERN PyObject
*_wrap_PyScrolledWindow_DoGetBestSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23534 PyObject
*resultobj
= 0;
23535 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
23539 PyObject
*swig_obj
[1] ;
23541 if (!args
) SWIG_fail
;
23542 swig_obj
[0] = args
;
23543 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyScrolledWindow
, 0 | 0 );
23544 if (!SWIG_IsOK(res1
)) {
23545 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyScrolledWindow_DoGetBestSize" "', expected argument " "1"" of type '" "wxPyScrolledWindow const *""'");
23547 arg1
= reinterpret_cast< wxPyScrolledWindow
* >(argp1
);
23549 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23550 result
= ((wxPyScrolledWindow
const *)arg1
)->DoGetBestSize();
23551 wxPyEndAllowThreads(__tstate
);
23552 if (PyErr_Occurred()) SWIG_fail
;
23554 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
23561 SWIGINTERN PyObject
*_wrap_PyScrolledWindow_GetDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23562 PyObject
*resultobj
= 0;
23563 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
23564 SwigValueWrapper
<wxVisualAttributes
> result
;
23567 PyObject
*swig_obj
[1] ;
23569 if (!args
) SWIG_fail
;
23570 swig_obj
[0] = args
;
23571 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyScrolledWindow
, 0 | 0 );
23572 if (!SWIG_IsOK(res1
)) {
23573 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyScrolledWindow_GetDefaultAttributes" "', expected argument " "1"" of type '" "wxPyScrolledWindow *""'");
23575 arg1
= reinterpret_cast< wxPyScrolledWindow
* >(argp1
);
23577 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23578 result
= (arg1
)->GetDefaultAttributes();
23579 wxPyEndAllowThreads(__tstate
);
23580 if (PyErr_Occurred()) SWIG_fail
;
23582 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
23589 SWIGINTERN PyObject
*_wrap_PyScrolledWindow_OnInternalIdle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23590 PyObject
*resultobj
= 0;
23591 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
23594 PyObject
*swig_obj
[1] ;
23596 if (!args
) SWIG_fail
;
23597 swig_obj
[0] = args
;
23598 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyScrolledWindow
, 0 | 0 );
23599 if (!SWIG_IsOK(res1
)) {
23600 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyScrolledWindow_OnInternalIdle" "', expected argument " "1"" of type '" "wxPyScrolledWindow *""'");
23602 arg1
= reinterpret_cast< wxPyScrolledWindow
* >(argp1
);
23604 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23605 (arg1
)->OnInternalIdle();
23606 wxPyEndAllowThreads(__tstate
);
23607 if (PyErr_Occurred()) SWIG_fail
;
23609 resultobj
= SWIG_Py_Void();
23616 SWIGINTERN PyObject
*PyScrolledWindow_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23618 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
23619 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyScrolledWindow
, SWIG_NewClientData(obj
));
23620 return SWIG_Py_Void();
23623 SWIGINTERN PyObject
*PyScrolledWindow_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23624 return SWIG_Python_InitShadowInstance(args
);
23627 SWIGINTERN
int PrintoutTitleStr_set(PyObject
*) {
23628 SWIG_Error(SWIG_AttributeError
,"Variable PrintoutTitleStr is read-only.");
23633 SWIGINTERN PyObject
*PrintoutTitleStr_get(void) {
23634 PyObject
*pyobj
= 0;
23638 pyobj
= PyUnicode_FromWideChar((&wxPyPrintoutTitleStr
)->c_str(), (&wxPyPrintoutTitleStr
)->Len());
23640 pyobj
= PyString_FromStringAndSize((&wxPyPrintoutTitleStr
)->c_str(), (&wxPyPrintoutTitleStr
)->Len());
23647 SWIGINTERN
int PreviewCanvasNameStr_set(PyObject
*) {
23648 SWIG_Error(SWIG_AttributeError
,"Variable PreviewCanvasNameStr is read-only.");
23653 SWIGINTERN PyObject
*PreviewCanvasNameStr_get(void) {
23654 PyObject
*pyobj
= 0;
23658 pyobj
= PyUnicode_FromWideChar((&wxPyPreviewCanvasNameStr
)->c_str(), (&wxPyPreviewCanvasNameStr
)->Len());
23660 pyobj
= PyString_FromStringAndSize((&wxPyPreviewCanvasNameStr
)->c_str(), (&wxPyPreviewCanvasNameStr
)->Len());
23667 SWIGINTERN PyObject
*_wrap_new_PrintData__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**SWIGUNUSEDPARM(swig_obj
)) {
23668 PyObject
*resultobj
= 0;
23669 wxPrintData
*result
= 0 ;
23671 if ((nobjs
< 0) || (nobjs
> 0)) SWIG_fail
;
23673 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23674 result
= (wxPrintData
*)new wxPrintData();
23675 wxPyEndAllowThreads(__tstate
);
23676 if (PyErr_Occurred()) SWIG_fail
;
23678 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPrintData
, SWIG_POINTER_NEW
| 0 );
23685 SWIGINTERN PyObject
*_wrap_new_PrintData__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
23686 PyObject
*resultobj
= 0;
23687 wxPrintData
*arg1
= 0 ;
23688 wxPrintData
*result
= 0 ;
23692 if ((nobjs
< 1) || (nobjs
> 1)) SWIG_fail
;
23693 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
, SWIGTYPE_p_wxPrintData
, 0 | 0);
23694 if (!SWIG_IsOK(res1
)) {
23695 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PrintData" "', expected argument " "1"" of type '" "wxPrintData const &""'");
23698 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_PrintData" "', expected argument " "1"" of type '" "wxPrintData const &""'");
23700 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
23702 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23703 result
= (wxPrintData
*)new wxPrintData((wxPrintData
const &)*arg1
);
23704 wxPyEndAllowThreads(__tstate
);
23705 if (PyErr_Occurred()) SWIG_fail
;
23707 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPrintData
, SWIG_POINTER_NEW
| 0 );
23714 SWIGINTERN PyObject
*_wrap_new_PrintData(PyObject
*self
, PyObject
*args
) {
23718 if (!(argc
= SWIG_Python_UnpackTuple(args
,"new_PrintData",0,1,argv
))) SWIG_fail
;
23721 return _wrap_new_PrintData__SWIG_0(self
, argc
, argv
);
23724 return _wrap_new_PrintData__SWIG_1(self
, argc
, argv
);
23728 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'new_PrintData'");
23733 SWIGINTERN PyObject
*_wrap_delete_PrintData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23734 PyObject
*resultobj
= 0;
23735 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
23738 PyObject
*swig_obj
[1] ;
23740 if (!args
) SWIG_fail
;
23741 swig_obj
[0] = args
;
23742 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintData
, SWIG_POINTER_DISOWN
| 0 );
23743 if (!SWIG_IsOK(res1
)) {
23744 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_PrintData" "', expected argument " "1"" of type '" "wxPrintData *""'");
23746 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
23748 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23751 wxPyEndAllowThreads(__tstate
);
23752 if (PyErr_Occurred()) SWIG_fail
;
23754 resultobj
= SWIG_Py_Void();
23761 SWIGINTERN PyObject
*_wrap_PrintData_GetNoCopies(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23762 PyObject
*resultobj
= 0;
23763 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
23767 PyObject
*swig_obj
[1] ;
23769 if (!args
) SWIG_fail
;
23770 swig_obj
[0] = args
;
23771 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
23772 if (!SWIG_IsOK(res1
)) {
23773 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_GetNoCopies" "', expected argument " "1"" of type '" "wxPrintData *""'");
23775 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
23777 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23778 result
= (int)(arg1
)->GetNoCopies();
23779 wxPyEndAllowThreads(__tstate
);
23780 if (PyErr_Occurred()) SWIG_fail
;
23782 resultobj
= SWIG_From_int(static_cast< int >(result
));
23789 SWIGINTERN PyObject
*_wrap_PrintData_GetCollate(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23790 PyObject
*resultobj
= 0;
23791 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
23795 PyObject
*swig_obj
[1] ;
23797 if (!args
) SWIG_fail
;
23798 swig_obj
[0] = args
;
23799 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
23800 if (!SWIG_IsOK(res1
)) {
23801 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_GetCollate" "', expected argument " "1"" of type '" "wxPrintData *""'");
23803 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
23805 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23806 result
= (bool)(arg1
)->GetCollate();
23807 wxPyEndAllowThreads(__tstate
);
23808 if (PyErr_Occurred()) SWIG_fail
;
23811 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23819 SWIGINTERN PyObject
*_wrap_PrintData_GetOrientation(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23820 PyObject
*resultobj
= 0;
23821 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
23825 PyObject
*swig_obj
[1] ;
23827 if (!args
) SWIG_fail
;
23828 swig_obj
[0] = args
;
23829 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
23830 if (!SWIG_IsOK(res1
)) {
23831 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_GetOrientation" "', expected argument " "1"" of type '" "wxPrintData *""'");
23833 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
23835 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23836 result
= (int)(arg1
)->GetOrientation();
23837 wxPyEndAllowThreads(__tstate
);
23838 if (PyErr_Occurred()) SWIG_fail
;
23840 resultobj
= SWIG_From_int(static_cast< int >(result
));
23847 SWIGINTERN PyObject
*_wrap_PrintData_Ok(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23848 PyObject
*resultobj
= 0;
23849 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
23853 PyObject
*swig_obj
[1] ;
23855 if (!args
) SWIG_fail
;
23856 swig_obj
[0] = args
;
23857 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
23858 if (!SWIG_IsOK(res1
)) {
23859 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_Ok" "', expected argument " "1"" of type '" "wxPrintData *""'");
23861 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
23863 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23864 result
= (bool)(arg1
)->Ok();
23865 wxPyEndAllowThreads(__tstate
);
23866 if (PyErr_Occurred()) SWIG_fail
;
23869 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23877 SWIGINTERN PyObject
*_wrap_PrintData_GetPrinterName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23878 PyObject
*resultobj
= 0;
23879 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
23880 wxString
*result
= 0 ;
23883 PyObject
*swig_obj
[1] ;
23885 if (!args
) SWIG_fail
;
23886 swig_obj
[0] = args
;
23887 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
23888 if (!SWIG_IsOK(res1
)) {
23889 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_GetPrinterName" "', expected argument " "1"" of type '" "wxPrintData *""'");
23891 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
23893 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23895 wxString
const &_result_ref
= (arg1
)->GetPrinterName();
23896 result
= (wxString
*) &_result_ref
;
23898 wxPyEndAllowThreads(__tstate
);
23899 if (PyErr_Occurred()) SWIG_fail
;
23903 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
23905 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
23914 SWIGINTERN PyObject
*_wrap_PrintData_GetColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23915 PyObject
*resultobj
= 0;
23916 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
23920 PyObject
*swig_obj
[1] ;
23922 if (!args
) SWIG_fail
;
23923 swig_obj
[0] = args
;
23924 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
23925 if (!SWIG_IsOK(res1
)) {
23926 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_GetColour" "', expected argument " "1"" of type '" "wxPrintData *""'");
23928 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
23930 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23931 result
= (bool)(arg1
)->GetColour();
23932 wxPyEndAllowThreads(__tstate
);
23933 if (PyErr_Occurred()) SWIG_fail
;
23936 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23944 SWIGINTERN PyObject
*_wrap_PrintData_GetDuplex(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23945 PyObject
*resultobj
= 0;
23946 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
23947 wxDuplexMode result
;
23950 PyObject
*swig_obj
[1] ;
23952 if (!args
) SWIG_fail
;
23953 swig_obj
[0] = args
;
23954 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
23955 if (!SWIG_IsOK(res1
)) {
23956 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_GetDuplex" "', expected argument " "1"" of type '" "wxPrintData *""'");
23958 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
23960 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23961 result
= (wxDuplexMode
)(arg1
)->GetDuplex();
23962 wxPyEndAllowThreads(__tstate
);
23963 if (PyErr_Occurred()) SWIG_fail
;
23965 resultobj
= SWIG_From_int(static_cast< int >(result
));
23972 SWIGINTERN PyObject
*_wrap_PrintData_GetPaperId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23973 PyObject
*resultobj
= 0;
23974 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
23975 wxPaperSize result
;
23978 PyObject
*swig_obj
[1] ;
23980 if (!args
) SWIG_fail
;
23981 swig_obj
[0] = args
;
23982 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
23983 if (!SWIG_IsOK(res1
)) {
23984 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_GetPaperId" "', expected argument " "1"" of type '" "wxPrintData *""'");
23986 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
23988 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23989 result
= (wxPaperSize
)(arg1
)->GetPaperId();
23990 wxPyEndAllowThreads(__tstate
);
23991 if (PyErr_Occurred()) SWIG_fail
;
23993 resultobj
= SWIG_From_int(static_cast< int >(result
));
24000 SWIGINTERN PyObject
*_wrap_PrintData_GetPaperSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24001 PyObject
*resultobj
= 0;
24002 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
24003 wxSize
*result
= 0 ;
24006 PyObject
*swig_obj
[1] ;
24008 if (!args
) SWIG_fail
;
24009 swig_obj
[0] = args
;
24010 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
24011 if (!SWIG_IsOK(res1
)) {
24012 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_GetPaperSize" "', expected argument " "1"" of type '" "wxPrintData *""'");
24014 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
24016 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24018 wxSize
const &_result_ref
= (arg1
)->GetPaperSize();
24019 result
= (wxSize
*) &_result_ref
;
24021 wxPyEndAllowThreads(__tstate
);
24022 if (PyErr_Occurred()) SWIG_fail
;
24024 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSize
, 0 | 0 );
24031 SWIGINTERN PyObject
*_wrap_PrintData_GetQuality(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24032 PyObject
*resultobj
= 0;
24033 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
24037 PyObject
*swig_obj
[1] ;
24039 if (!args
) SWIG_fail
;
24040 swig_obj
[0] = args
;
24041 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
24042 if (!SWIG_IsOK(res1
)) {
24043 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_GetQuality" "', expected argument " "1"" of type '" "wxPrintData *""'");
24045 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
24047 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24048 result
= (int)(arg1
)->GetQuality();
24049 wxPyEndAllowThreads(__tstate
);
24050 if (PyErr_Occurred()) SWIG_fail
;
24052 resultobj
= SWIG_From_int(static_cast< int >(result
));
24059 SWIGINTERN PyObject
*_wrap_PrintData_GetBin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24060 PyObject
*resultobj
= 0;
24061 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
24065 PyObject
*swig_obj
[1] ;
24067 if (!args
) SWIG_fail
;
24068 swig_obj
[0] = args
;
24069 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
24070 if (!SWIG_IsOK(res1
)) {
24071 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_GetBin" "', expected argument " "1"" of type '" "wxPrintData *""'");
24073 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
24075 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24076 result
= (wxPrintBin
)(arg1
)->GetBin();
24077 wxPyEndAllowThreads(__tstate
);
24078 if (PyErr_Occurred()) SWIG_fail
;
24080 resultobj
= SWIG_From_int(static_cast< int >(result
));
24087 SWIGINTERN PyObject
*_wrap_PrintData_GetPrintMode(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24088 PyObject
*resultobj
= 0;
24089 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
24090 wxPrintMode result
;
24093 PyObject
*swig_obj
[1] ;
24095 if (!args
) SWIG_fail
;
24096 swig_obj
[0] = args
;
24097 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
24098 if (!SWIG_IsOK(res1
)) {
24099 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_GetPrintMode" "', expected argument " "1"" of type '" "wxPrintData const *""'");
24101 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
24103 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24104 result
= (wxPrintMode
)((wxPrintData
const *)arg1
)->GetPrintMode();
24105 wxPyEndAllowThreads(__tstate
);
24106 if (PyErr_Occurred()) SWIG_fail
;
24108 resultobj
= SWIG_From_int(static_cast< int >(result
));
24115 SWIGINTERN PyObject
*_wrap_PrintData_SetNoCopies(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24116 PyObject
*resultobj
= 0;
24117 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
24123 PyObject
* obj0
= 0 ;
24124 PyObject
* obj1
= 0 ;
24125 char * kwnames
[] = {
24126 (char *) "self",(char *) "v", NULL
24129 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetNoCopies",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24130 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
24131 if (!SWIG_IsOK(res1
)) {
24132 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_SetNoCopies" "', expected argument " "1"" of type '" "wxPrintData *""'");
24134 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
24135 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24136 if (!SWIG_IsOK(ecode2
)) {
24137 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintData_SetNoCopies" "', expected argument " "2"" of type '" "int""'");
24139 arg2
= static_cast< int >(val2
);
24141 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24142 (arg1
)->SetNoCopies(arg2
);
24143 wxPyEndAllowThreads(__tstate
);
24144 if (PyErr_Occurred()) SWIG_fail
;
24146 resultobj
= SWIG_Py_Void();
24153 SWIGINTERN PyObject
*_wrap_PrintData_SetCollate(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24154 PyObject
*resultobj
= 0;
24155 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
24161 PyObject
* obj0
= 0 ;
24162 PyObject
* obj1
= 0 ;
24163 char * kwnames
[] = {
24164 (char *) "self",(char *) "flag", NULL
24167 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetCollate",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24168 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
24169 if (!SWIG_IsOK(res1
)) {
24170 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_SetCollate" "', expected argument " "1"" of type '" "wxPrintData *""'");
24172 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
24173 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
24174 if (!SWIG_IsOK(ecode2
)) {
24175 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintData_SetCollate" "', expected argument " "2"" of type '" "bool""'");
24177 arg2
= static_cast< bool >(val2
);
24179 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24180 (arg1
)->SetCollate(arg2
);
24181 wxPyEndAllowThreads(__tstate
);
24182 if (PyErr_Occurred()) SWIG_fail
;
24184 resultobj
= SWIG_Py_Void();
24191 SWIGINTERN PyObject
*_wrap_PrintData_SetOrientation(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24192 PyObject
*resultobj
= 0;
24193 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
24199 PyObject
* obj0
= 0 ;
24200 PyObject
* obj1
= 0 ;
24201 char * kwnames
[] = {
24202 (char *) "self",(char *) "orient", NULL
24205 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetOrientation",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24206 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
24207 if (!SWIG_IsOK(res1
)) {
24208 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_SetOrientation" "', expected argument " "1"" of type '" "wxPrintData *""'");
24210 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
24211 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24212 if (!SWIG_IsOK(ecode2
)) {
24213 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintData_SetOrientation" "', expected argument " "2"" of type '" "int""'");
24215 arg2
= static_cast< int >(val2
);
24217 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24218 (arg1
)->SetOrientation(arg2
);
24219 wxPyEndAllowThreads(__tstate
);
24220 if (PyErr_Occurred()) SWIG_fail
;
24222 resultobj
= SWIG_Py_Void();
24229 SWIGINTERN PyObject
*_wrap_PrintData_SetPrinterName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24230 PyObject
*resultobj
= 0;
24231 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
24232 wxString
*arg2
= 0 ;
24235 bool temp2
= false ;
24236 PyObject
* obj0
= 0 ;
24237 PyObject
* obj1
= 0 ;
24238 char * kwnames
[] = {
24239 (char *) "self",(char *) "name", NULL
24242 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetPrinterName",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24243 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
24244 if (!SWIG_IsOK(res1
)) {
24245 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_SetPrinterName" "', expected argument " "1"" of type '" "wxPrintData *""'");
24247 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
24249 arg2
= wxString_in_helper(obj1
);
24250 if (arg2
== NULL
) SWIG_fail
;
24254 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24255 (arg1
)->SetPrinterName((wxString
const &)*arg2
);
24256 wxPyEndAllowThreads(__tstate
);
24257 if (PyErr_Occurred()) SWIG_fail
;
24259 resultobj
= SWIG_Py_Void();
24274 SWIGINTERN PyObject
*_wrap_PrintData_SetColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24275 PyObject
*resultobj
= 0;
24276 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
24282 PyObject
* obj0
= 0 ;
24283 PyObject
* obj1
= 0 ;
24284 char * kwnames
[] = {
24285 (char *) "self",(char *) "colour", NULL
24288 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24289 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
24290 if (!SWIG_IsOK(res1
)) {
24291 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_SetColour" "', expected argument " "1"" of type '" "wxPrintData *""'");
24293 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
24294 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
24295 if (!SWIG_IsOK(ecode2
)) {
24296 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintData_SetColour" "', expected argument " "2"" of type '" "bool""'");
24298 arg2
= static_cast< bool >(val2
);
24300 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24301 (arg1
)->SetColour(arg2
);
24302 wxPyEndAllowThreads(__tstate
);
24303 if (PyErr_Occurred()) SWIG_fail
;
24305 resultobj
= SWIG_Py_Void();
24312 SWIGINTERN PyObject
*_wrap_PrintData_SetDuplex(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24313 PyObject
*resultobj
= 0;
24314 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
24315 wxDuplexMode arg2
;
24320 PyObject
* obj0
= 0 ;
24321 PyObject
* obj1
= 0 ;
24322 char * kwnames
[] = {
24323 (char *) "self",(char *) "duplex", NULL
24326 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetDuplex",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24327 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
24328 if (!SWIG_IsOK(res1
)) {
24329 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_SetDuplex" "', expected argument " "1"" of type '" "wxPrintData *""'");
24331 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
24332 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24333 if (!SWIG_IsOK(ecode2
)) {
24334 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintData_SetDuplex" "', expected argument " "2"" of type '" "wxDuplexMode""'");
24336 arg2
= static_cast< wxDuplexMode
>(val2
);
24338 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24339 (arg1
)->SetDuplex(arg2
);
24340 wxPyEndAllowThreads(__tstate
);
24341 if (PyErr_Occurred()) SWIG_fail
;
24343 resultobj
= SWIG_Py_Void();
24350 SWIGINTERN PyObject
*_wrap_PrintData_SetPaperId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24351 PyObject
*resultobj
= 0;
24352 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
24358 PyObject
* obj0
= 0 ;
24359 PyObject
* obj1
= 0 ;
24360 char * kwnames
[] = {
24361 (char *) "self",(char *) "sizeId", NULL
24364 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetPaperId",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24365 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
24366 if (!SWIG_IsOK(res1
)) {
24367 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_SetPaperId" "', expected argument " "1"" of type '" "wxPrintData *""'");
24369 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
24370 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24371 if (!SWIG_IsOK(ecode2
)) {
24372 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintData_SetPaperId" "', expected argument " "2"" of type '" "wxPaperSize""'");
24374 arg2
= static_cast< wxPaperSize
>(val2
);
24376 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24377 (arg1
)->SetPaperId(arg2
);
24378 wxPyEndAllowThreads(__tstate
);
24379 if (PyErr_Occurred()) SWIG_fail
;
24381 resultobj
= SWIG_Py_Void();
24388 SWIGINTERN PyObject
*_wrap_PrintData_SetPaperSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24389 PyObject
*resultobj
= 0;
24390 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
24395 PyObject
* obj0
= 0 ;
24396 PyObject
* obj1
= 0 ;
24397 char * kwnames
[] = {
24398 (char *) "self",(char *) "sz", NULL
24401 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetPaperSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24402 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
24403 if (!SWIG_IsOK(res1
)) {
24404 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_SetPaperSize" "', expected argument " "1"" of type '" "wxPrintData *""'");
24406 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
24409 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
24412 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24413 (arg1
)->SetPaperSize((wxSize
const &)*arg2
);
24414 wxPyEndAllowThreads(__tstate
);
24415 if (PyErr_Occurred()) SWIG_fail
;
24417 resultobj
= SWIG_Py_Void();
24424 SWIGINTERN PyObject
*_wrap_PrintData_SetQuality(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24425 PyObject
*resultobj
= 0;
24426 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
24432 PyObject
* obj0
= 0 ;
24433 PyObject
* obj1
= 0 ;
24434 char * kwnames
[] = {
24435 (char *) "self",(char *) "quality", NULL
24438 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetQuality",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24439 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
24440 if (!SWIG_IsOK(res1
)) {
24441 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_SetQuality" "', expected argument " "1"" of type '" "wxPrintData *""'");
24443 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
24444 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24445 if (!SWIG_IsOK(ecode2
)) {
24446 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintData_SetQuality" "', expected argument " "2"" of type '" "int""'");
24448 arg2
= static_cast< int >(val2
);
24450 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24451 (arg1
)->SetQuality(arg2
);
24452 wxPyEndAllowThreads(__tstate
);
24453 if (PyErr_Occurred()) SWIG_fail
;
24455 resultobj
= SWIG_Py_Void();
24462 SWIGINTERN PyObject
*_wrap_PrintData_SetBin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24463 PyObject
*resultobj
= 0;
24464 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
24470 PyObject
* obj0
= 0 ;
24471 PyObject
* obj1
= 0 ;
24472 char * kwnames
[] = {
24473 (char *) "self",(char *) "bin", NULL
24476 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetBin",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24477 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
24478 if (!SWIG_IsOK(res1
)) {
24479 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_SetBin" "', expected argument " "1"" of type '" "wxPrintData *""'");
24481 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
24482 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24483 if (!SWIG_IsOK(ecode2
)) {
24484 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintData_SetBin" "', expected argument " "2"" of type '" "wxPrintBin""'");
24486 arg2
= static_cast< wxPrintBin
>(val2
);
24488 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24489 (arg1
)->SetBin(arg2
);
24490 wxPyEndAllowThreads(__tstate
);
24491 if (PyErr_Occurred()) SWIG_fail
;
24493 resultobj
= SWIG_Py_Void();
24500 SWIGINTERN PyObject
*_wrap_PrintData_SetPrintMode(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24501 PyObject
*resultobj
= 0;
24502 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
24508 PyObject
* obj0
= 0 ;
24509 PyObject
* obj1
= 0 ;
24510 char * kwnames
[] = {
24511 (char *) "self",(char *) "printMode", NULL
24514 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetPrintMode",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24515 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
24516 if (!SWIG_IsOK(res1
)) {
24517 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_SetPrintMode" "', expected argument " "1"" of type '" "wxPrintData *""'");
24519 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
24520 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24521 if (!SWIG_IsOK(ecode2
)) {
24522 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintData_SetPrintMode" "', expected argument " "2"" of type '" "wxPrintMode""'");
24524 arg2
= static_cast< wxPrintMode
>(val2
);
24526 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24527 (arg1
)->SetPrintMode(arg2
);
24528 wxPyEndAllowThreads(__tstate
);
24529 if (PyErr_Occurred()) SWIG_fail
;
24531 resultobj
= SWIG_Py_Void();
24538 SWIGINTERN PyObject
*_wrap_PrintData_GetFilename(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24539 PyObject
*resultobj
= 0;
24540 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
24544 PyObject
*swig_obj
[1] ;
24546 if (!args
) SWIG_fail
;
24547 swig_obj
[0] = args
;
24548 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
24549 if (!SWIG_IsOK(res1
)) {
24550 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_GetFilename" "', expected argument " "1"" of type '" "wxPrintData const *""'");
24552 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
24554 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24555 result
= ((wxPrintData
const *)arg1
)->GetFilename();
24556 wxPyEndAllowThreads(__tstate
);
24557 if (PyErr_Occurred()) SWIG_fail
;
24561 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
24563 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
24572 SWIGINTERN PyObject
*_wrap_PrintData_SetFilename(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24573 PyObject
*resultobj
= 0;
24574 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
24575 wxString
*arg2
= 0 ;
24578 bool temp2
= false ;
24579 PyObject
* obj0
= 0 ;
24580 PyObject
* obj1
= 0 ;
24581 char * kwnames
[] = {
24582 (char *) "self",(char *) "filename", NULL
24585 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetFilename",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24586 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
24587 if (!SWIG_IsOK(res1
)) {
24588 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_SetFilename" "', expected argument " "1"" of type '" "wxPrintData *""'");
24590 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
24592 arg2
= wxString_in_helper(obj1
);
24593 if (arg2
== NULL
) SWIG_fail
;
24597 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24598 (arg1
)->SetFilename((wxString
const &)*arg2
);
24599 wxPyEndAllowThreads(__tstate
);
24600 if (PyErr_Occurred()) SWIG_fail
;
24602 resultobj
= SWIG_Py_Void();
24617 SWIGINTERN PyObject
*_wrap_PrintData_GetPrivData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24618 PyObject
*resultobj
= 0;
24619 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
24620 PyObject
*result
= 0 ;
24623 PyObject
*swig_obj
[1] ;
24625 if (!args
) SWIG_fail
;
24626 swig_obj
[0] = args
;
24627 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
24628 if (!SWIG_IsOK(res1
)) {
24629 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_GetPrivData" "', expected argument " "1"" of type '" "wxPrintData *""'");
24631 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
24633 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24634 result
= (PyObject
*)wxPrintData_GetPrivData(arg1
);
24635 wxPyEndAllowThreads(__tstate
);
24636 if (PyErr_Occurred()) SWIG_fail
;
24638 resultobj
= result
;
24645 SWIGINTERN PyObject
*_wrap_PrintData_SetPrivData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24646 PyObject
*resultobj
= 0;
24647 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
24648 PyObject
*arg2
= (PyObject
*) 0 ;
24651 PyObject
* obj0
= 0 ;
24652 PyObject
* obj1
= 0 ;
24653 char * kwnames
[] = {
24654 (char *) "self",(char *) "data", NULL
24657 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetPrivData",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24658 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
24659 if (!SWIG_IsOK(res1
)) {
24660 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_SetPrivData" "', expected argument " "1"" of type '" "wxPrintData *""'");
24662 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
24665 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24666 wxPrintData_SetPrivData(arg1
,arg2
);
24667 wxPyEndAllowThreads(__tstate
);
24668 if (PyErr_Occurred()) SWIG_fail
;
24670 resultobj
= SWIG_Py_Void();
24677 SWIGINTERN PyObject
*PrintData_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24679 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
24680 SWIG_TypeNewClientData(SWIGTYPE_p_wxPrintData
, SWIG_NewClientData(obj
));
24681 return SWIG_Py_Void();
24684 SWIGINTERN PyObject
*PrintData_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24685 return SWIG_Python_InitShadowInstance(args
);
24688 SWIGINTERN PyObject
*_wrap_new_PageSetupDialogData__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**SWIGUNUSEDPARM(swig_obj
)) {
24689 PyObject
*resultobj
= 0;
24690 wxPageSetupDialogData
*result
= 0 ;
24692 if ((nobjs
< 0) || (nobjs
> 0)) SWIG_fail
;
24694 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24695 result
= (wxPageSetupDialogData
*)new wxPageSetupDialogData();
24696 wxPyEndAllowThreads(__tstate
);
24697 if (PyErr_Occurred()) SWIG_fail
;
24699 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPageSetupDialogData
, SWIG_POINTER_NEW
| 0 );
24706 SWIGINTERN PyObject
*_wrap_new_PageSetupDialogData__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
24707 PyObject
*resultobj
= 0;
24708 wxPageSetupDialogData
*arg1
= 0 ;
24709 wxPageSetupDialogData
*result
= 0 ;
24713 if ((nobjs
< 1) || (nobjs
> 1)) SWIG_fail
;
24714 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
, SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0);
24715 if (!SWIG_IsOK(res1
)) {
24716 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PageSetupDialogData" "', expected argument " "1"" of type '" "wxPageSetupDialogData const &""'");
24719 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_PageSetupDialogData" "', expected argument " "1"" of type '" "wxPageSetupDialogData const &""'");
24721 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
24723 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24724 result
= (wxPageSetupDialogData
*)new wxPageSetupDialogData((wxPageSetupDialogData
const &)*arg1
);
24725 wxPyEndAllowThreads(__tstate
);
24726 if (PyErr_Occurred()) SWIG_fail
;
24728 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPageSetupDialogData
, SWIG_POINTER_NEW
| 0 );
24735 SWIGINTERN PyObject
*_wrap_new_PageSetupDialogData__SWIG_2(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
24736 PyObject
*resultobj
= 0;
24737 wxPrintData
*arg1
= 0 ;
24738 wxPageSetupDialogData
*result
= 0 ;
24742 if ((nobjs
< 1) || (nobjs
> 1)) SWIG_fail
;
24743 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
, SWIGTYPE_p_wxPrintData
, 0 | 0);
24744 if (!SWIG_IsOK(res1
)) {
24745 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PageSetupDialogData" "', expected argument " "1"" of type '" "wxPrintData const &""'");
24748 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_PageSetupDialogData" "', expected argument " "1"" of type '" "wxPrintData const &""'");
24750 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
24752 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24753 result
= (wxPageSetupDialogData
*)new wxPageSetupDialogData((wxPrintData
const &)*arg1
);
24754 wxPyEndAllowThreads(__tstate
);
24755 if (PyErr_Occurred()) SWIG_fail
;
24757 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPageSetupDialogData
, SWIG_POINTER_NEW
| 0 );
24764 SWIGINTERN PyObject
*_wrap_new_PageSetupDialogData(PyObject
*self
, PyObject
*args
) {
24768 if (!(argc
= SWIG_Python_UnpackTuple(args
,"new_PageSetupDialogData",0,1,argv
))) SWIG_fail
;
24771 return _wrap_new_PageSetupDialogData__SWIG_0(self
, argc
, argv
);
24776 int res
= SWIG_ConvertPtr(argv
[0], 0, SWIGTYPE_p_wxPageSetupDialogData
, 0);
24777 _v
= SWIG_CheckState(res
);
24779 if (!_v
) goto check_2
;
24780 return _wrap_new_PageSetupDialogData__SWIG_1(self
, argc
, argv
);
24785 return _wrap_new_PageSetupDialogData__SWIG_2(self
, argc
, argv
);
24789 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'new_PageSetupDialogData'");
24794 SWIGINTERN PyObject
*_wrap_delete_PageSetupDialogData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24795 PyObject
*resultobj
= 0;
24796 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
24799 PyObject
*swig_obj
[1] ;
24801 if (!args
) SWIG_fail
;
24802 swig_obj
[0] = args
;
24803 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, SWIG_POINTER_DISOWN
| 0 );
24804 if (!SWIG_IsOK(res1
)) {
24805 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_PageSetupDialogData" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
24807 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
24809 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24812 wxPyEndAllowThreads(__tstate
);
24813 if (PyErr_Occurred()) SWIG_fail
;
24815 resultobj
= SWIG_Py_Void();
24822 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_EnableHelp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24823 PyObject
*resultobj
= 0;
24824 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
24830 PyObject
* obj0
= 0 ;
24831 PyObject
* obj1
= 0 ;
24832 char * kwnames
[] = {
24833 (char *) "self",(char *) "flag", NULL
24836 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_EnableHelp",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24837 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
24838 if (!SWIG_IsOK(res1
)) {
24839 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_EnableHelp" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
24841 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
24842 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
24843 if (!SWIG_IsOK(ecode2
)) {
24844 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PageSetupDialogData_EnableHelp" "', expected argument " "2"" of type '" "bool""'");
24846 arg2
= static_cast< bool >(val2
);
24848 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24849 (arg1
)->EnableHelp(arg2
);
24850 wxPyEndAllowThreads(__tstate
);
24851 if (PyErr_Occurred()) SWIG_fail
;
24853 resultobj
= SWIG_Py_Void();
24860 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_EnableMargins(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24861 PyObject
*resultobj
= 0;
24862 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
24868 PyObject
* obj0
= 0 ;
24869 PyObject
* obj1
= 0 ;
24870 char * kwnames
[] = {
24871 (char *) "self",(char *) "flag", NULL
24874 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_EnableMargins",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24875 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
24876 if (!SWIG_IsOK(res1
)) {
24877 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_EnableMargins" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
24879 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
24880 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
24881 if (!SWIG_IsOK(ecode2
)) {
24882 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PageSetupDialogData_EnableMargins" "', expected argument " "2"" of type '" "bool""'");
24884 arg2
= static_cast< bool >(val2
);
24886 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24887 (arg1
)->EnableMargins(arg2
);
24888 wxPyEndAllowThreads(__tstate
);
24889 if (PyErr_Occurred()) SWIG_fail
;
24891 resultobj
= SWIG_Py_Void();
24898 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_EnableOrientation(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24899 PyObject
*resultobj
= 0;
24900 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
24906 PyObject
* obj0
= 0 ;
24907 PyObject
* obj1
= 0 ;
24908 char * kwnames
[] = {
24909 (char *) "self",(char *) "flag", NULL
24912 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_EnableOrientation",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24913 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
24914 if (!SWIG_IsOK(res1
)) {
24915 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_EnableOrientation" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
24917 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
24918 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
24919 if (!SWIG_IsOK(ecode2
)) {
24920 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PageSetupDialogData_EnableOrientation" "', expected argument " "2"" of type '" "bool""'");
24922 arg2
= static_cast< bool >(val2
);
24924 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24925 (arg1
)->EnableOrientation(arg2
);
24926 wxPyEndAllowThreads(__tstate
);
24927 if (PyErr_Occurred()) SWIG_fail
;
24929 resultobj
= SWIG_Py_Void();
24936 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_EnablePaper(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24937 PyObject
*resultobj
= 0;
24938 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
24944 PyObject
* obj0
= 0 ;
24945 PyObject
* obj1
= 0 ;
24946 char * kwnames
[] = {
24947 (char *) "self",(char *) "flag", NULL
24950 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_EnablePaper",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24951 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
24952 if (!SWIG_IsOK(res1
)) {
24953 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_EnablePaper" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
24955 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
24956 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
24957 if (!SWIG_IsOK(ecode2
)) {
24958 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PageSetupDialogData_EnablePaper" "', expected argument " "2"" of type '" "bool""'");
24960 arg2
= static_cast< bool >(val2
);
24962 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24963 (arg1
)->EnablePaper(arg2
);
24964 wxPyEndAllowThreads(__tstate
);
24965 if (PyErr_Occurred()) SWIG_fail
;
24967 resultobj
= SWIG_Py_Void();
24974 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_EnablePrinter(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24975 PyObject
*resultobj
= 0;
24976 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
24982 PyObject
* obj0
= 0 ;
24983 PyObject
* obj1
= 0 ;
24984 char * kwnames
[] = {
24985 (char *) "self",(char *) "flag", NULL
24988 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_EnablePrinter",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24989 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
24990 if (!SWIG_IsOK(res1
)) {
24991 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_EnablePrinter" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
24993 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
24994 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
24995 if (!SWIG_IsOK(ecode2
)) {
24996 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PageSetupDialogData_EnablePrinter" "', expected argument " "2"" of type '" "bool""'");
24998 arg2
= static_cast< bool >(val2
);
25000 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25001 (arg1
)->EnablePrinter(arg2
);
25002 wxPyEndAllowThreads(__tstate
);
25003 if (PyErr_Occurred()) SWIG_fail
;
25005 resultobj
= SWIG_Py_Void();
25012 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_GetDefaultMinMargins(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25013 PyObject
*resultobj
= 0;
25014 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
25018 PyObject
*swig_obj
[1] ;
25020 if (!args
) SWIG_fail
;
25021 swig_obj
[0] = args
;
25022 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
25023 if (!SWIG_IsOK(res1
)) {
25024 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_GetDefaultMinMargins" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25026 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
25028 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25029 result
= (bool)(arg1
)->GetDefaultMinMargins();
25030 wxPyEndAllowThreads(__tstate
);
25031 if (PyErr_Occurred()) SWIG_fail
;
25034 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25042 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_GetEnableMargins(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25043 PyObject
*resultobj
= 0;
25044 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
25048 PyObject
*swig_obj
[1] ;
25050 if (!args
) SWIG_fail
;
25051 swig_obj
[0] = args
;
25052 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
25053 if (!SWIG_IsOK(res1
)) {
25054 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_GetEnableMargins" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25056 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
25058 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25059 result
= (bool)(arg1
)->GetEnableMargins();
25060 wxPyEndAllowThreads(__tstate
);
25061 if (PyErr_Occurred()) SWIG_fail
;
25064 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25072 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_GetEnableOrientation(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25073 PyObject
*resultobj
= 0;
25074 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
25078 PyObject
*swig_obj
[1] ;
25080 if (!args
) SWIG_fail
;
25081 swig_obj
[0] = args
;
25082 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
25083 if (!SWIG_IsOK(res1
)) {
25084 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_GetEnableOrientation" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25086 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
25088 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25089 result
= (bool)(arg1
)->GetEnableOrientation();
25090 wxPyEndAllowThreads(__tstate
);
25091 if (PyErr_Occurred()) SWIG_fail
;
25094 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25102 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_GetEnablePaper(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25103 PyObject
*resultobj
= 0;
25104 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
25108 PyObject
*swig_obj
[1] ;
25110 if (!args
) SWIG_fail
;
25111 swig_obj
[0] = args
;
25112 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
25113 if (!SWIG_IsOK(res1
)) {
25114 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_GetEnablePaper" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25116 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
25118 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25119 result
= (bool)(arg1
)->GetEnablePaper();
25120 wxPyEndAllowThreads(__tstate
);
25121 if (PyErr_Occurred()) SWIG_fail
;
25124 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25132 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_GetEnablePrinter(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25133 PyObject
*resultobj
= 0;
25134 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
25138 PyObject
*swig_obj
[1] ;
25140 if (!args
) SWIG_fail
;
25141 swig_obj
[0] = args
;
25142 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
25143 if (!SWIG_IsOK(res1
)) {
25144 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_GetEnablePrinter" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25146 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
25148 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25149 result
= (bool)(arg1
)->GetEnablePrinter();
25150 wxPyEndAllowThreads(__tstate
);
25151 if (PyErr_Occurred()) SWIG_fail
;
25154 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25162 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_GetEnableHelp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25163 PyObject
*resultobj
= 0;
25164 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
25168 PyObject
*swig_obj
[1] ;
25170 if (!args
) SWIG_fail
;
25171 swig_obj
[0] = args
;
25172 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
25173 if (!SWIG_IsOK(res1
)) {
25174 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_GetEnableHelp" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25176 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
25178 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25179 result
= (bool)(arg1
)->GetEnableHelp();
25180 wxPyEndAllowThreads(__tstate
);
25181 if (PyErr_Occurred()) SWIG_fail
;
25184 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25192 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_GetDefaultInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25193 PyObject
*resultobj
= 0;
25194 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
25198 PyObject
*swig_obj
[1] ;
25200 if (!args
) SWIG_fail
;
25201 swig_obj
[0] = args
;
25202 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
25203 if (!SWIG_IsOK(res1
)) {
25204 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_GetDefaultInfo" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25206 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
25208 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25209 result
= (bool)(arg1
)->GetDefaultInfo();
25210 wxPyEndAllowThreads(__tstate
);
25211 if (PyErr_Occurred()) SWIG_fail
;
25214 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25222 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_GetMarginTopLeft(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25223 PyObject
*resultobj
= 0;
25224 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
25228 PyObject
*swig_obj
[1] ;
25230 if (!args
) SWIG_fail
;
25231 swig_obj
[0] = args
;
25232 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
25233 if (!SWIG_IsOK(res1
)) {
25234 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_GetMarginTopLeft" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25236 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
25238 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25239 result
= (arg1
)->GetMarginTopLeft();
25240 wxPyEndAllowThreads(__tstate
);
25241 if (PyErr_Occurred()) SWIG_fail
;
25243 resultobj
= SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint
& >(result
))), SWIGTYPE_p_wxPoint
, SWIG_POINTER_OWN
| 0 );
25250 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_GetMarginBottomRight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25251 PyObject
*resultobj
= 0;
25252 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
25256 PyObject
*swig_obj
[1] ;
25258 if (!args
) SWIG_fail
;
25259 swig_obj
[0] = args
;
25260 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
25261 if (!SWIG_IsOK(res1
)) {
25262 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_GetMarginBottomRight" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25264 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
25266 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25267 result
= (arg1
)->GetMarginBottomRight();
25268 wxPyEndAllowThreads(__tstate
);
25269 if (PyErr_Occurred()) SWIG_fail
;
25271 resultobj
= SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint
& >(result
))), SWIGTYPE_p_wxPoint
, SWIG_POINTER_OWN
| 0 );
25278 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_GetMinMarginTopLeft(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25279 PyObject
*resultobj
= 0;
25280 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
25284 PyObject
*swig_obj
[1] ;
25286 if (!args
) SWIG_fail
;
25287 swig_obj
[0] = args
;
25288 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
25289 if (!SWIG_IsOK(res1
)) {
25290 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_GetMinMarginTopLeft" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25292 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
25294 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25295 result
= (arg1
)->GetMinMarginTopLeft();
25296 wxPyEndAllowThreads(__tstate
);
25297 if (PyErr_Occurred()) SWIG_fail
;
25299 resultobj
= SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint
& >(result
))), SWIGTYPE_p_wxPoint
, SWIG_POINTER_OWN
| 0 );
25306 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_GetMinMarginBottomRight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25307 PyObject
*resultobj
= 0;
25308 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
25312 PyObject
*swig_obj
[1] ;
25314 if (!args
) SWIG_fail
;
25315 swig_obj
[0] = args
;
25316 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
25317 if (!SWIG_IsOK(res1
)) {
25318 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_GetMinMarginBottomRight" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25320 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
25322 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25323 result
= (arg1
)->GetMinMarginBottomRight();
25324 wxPyEndAllowThreads(__tstate
);
25325 if (PyErr_Occurred()) SWIG_fail
;
25327 resultobj
= SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint
& >(result
))), SWIGTYPE_p_wxPoint
, SWIG_POINTER_OWN
| 0 );
25334 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_GetPaperId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25335 PyObject
*resultobj
= 0;
25336 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
25337 wxPaperSize result
;
25340 PyObject
*swig_obj
[1] ;
25342 if (!args
) SWIG_fail
;
25343 swig_obj
[0] = args
;
25344 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
25345 if (!SWIG_IsOK(res1
)) {
25346 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_GetPaperId" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25348 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
25350 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25351 result
= (wxPaperSize
)(arg1
)->GetPaperId();
25352 wxPyEndAllowThreads(__tstate
);
25353 if (PyErr_Occurred()) SWIG_fail
;
25355 resultobj
= SWIG_From_int(static_cast< int >(result
));
25362 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_GetPaperSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25363 PyObject
*resultobj
= 0;
25364 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
25368 PyObject
*swig_obj
[1] ;
25370 if (!args
) SWIG_fail
;
25371 swig_obj
[0] = args
;
25372 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
25373 if (!SWIG_IsOK(res1
)) {
25374 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_GetPaperSize" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25376 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
25378 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25379 result
= (arg1
)->GetPaperSize();
25380 wxPyEndAllowThreads(__tstate
);
25381 if (PyErr_Occurred()) SWIG_fail
;
25383 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
25390 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_GetPrintData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25391 PyObject
*resultobj
= 0;
25392 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
25393 wxPrintData
*result
= 0 ;
25396 PyObject
*swig_obj
[1] ;
25398 if (!args
) SWIG_fail
;
25399 swig_obj
[0] = args
;
25400 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
25401 if (!SWIG_IsOK(res1
)) {
25402 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_GetPrintData" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25404 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
25406 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25408 wxPrintData
&_result_ref
= (arg1
)->GetPrintData();
25409 result
= (wxPrintData
*) &_result_ref
;
25411 wxPyEndAllowThreads(__tstate
);
25412 if (PyErr_Occurred()) SWIG_fail
;
25414 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPrintData
, 0 | 0 );
25421 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_Ok(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25422 PyObject
*resultobj
= 0;
25423 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
25427 PyObject
*swig_obj
[1] ;
25429 if (!args
) SWIG_fail
;
25430 swig_obj
[0] = args
;
25431 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
25432 if (!SWIG_IsOK(res1
)) {
25433 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_Ok" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25435 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
25437 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25438 result
= (bool)(arg1
)->Ok();
25439 wxPyEndAllowThreads(__tstate
);
25440 if (PyErr_Occurred()) SWIG_fail
;
25443 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25451 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_SetDefaultInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25452 PyObject
*resultobj
= 0;
25453 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
25459 PyObject
* obj0
= 0 ;
25460 PyObject
* obj1
= 0 ;
25461 char * kwnames
[] = {
25462 (char *) "self",(char *) "flag", NULL
25465 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_SetDefaultInfo",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25466 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
25467 if (!SWIG_IsOK(res1
)) {
25468 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_SetDefaultInfo" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25470 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
25471 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
25472 if (!SWIG_IsOK(ecode2
)) {
25473 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PageSetupDialogData_SetDefaultInfo" "', expected argument " "2"" of type '" "bool""'");
25475 arg2
= static_cast< bool >(val2
);
25477 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25478 (arg1
)->SetDefaultInfo(arg2
);
25479 wxPyEndAllowThreads(__tstate
);
25480 if (PyErr_Occurred()) SWIG_fail
;
25482 resultobj
= SWIG_Py_Void();
25489 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_SetDefaultMinMargins(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25490 PyObject
*resultobj
= 0;
25491 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
25497 PyObject
* obj0
= 0 ;
25498 PyObject
* obj1
= 0 ;
25499 char * kwnames
[] = {
25500 (char *) "self",(char *) "flag", NULL
25503 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_SetDefaultMinMargins",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25504 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
25505 if (!SWIG_IsOK(res1
)) {
25506 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_SetDefaultMinMargins" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25508 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
25509 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
25510 if (!SWIG_IsOK(ecode2
)) {
25511 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PageSetupDialogData_SetDefaultMinMargins" "', expected argument " "2"" of type '" "bool""'");
25513 arg2
= static_cast< bool >(val2
);
25515 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25516 (arg1
)->SetDefaultMinMargins(arg2
);
25517 wxPyEndAllowThreads(__tstate
);
25518 if (PyErr_Occurred()) SWIG_fail
;
25520 resultobj
= SWIG_Py_Void();
25527 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_SetMarginTopLeft(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25528 PyObject
*resultobj
= 0;
25529 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
25530 wxPoint
*arg2
= 0 ;
25534 PyObject
* obj0
= 0 ;
25535 PyObject
* obj1
= 0 ;
25536 char * kwnames
[] = {
25537 (char *) "self",(char *) "pt", NULL
25540 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_SetMarginTopLeft",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25541 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
25542 if (!SWIG_IsOK(res1
)) {
25543 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_SetMarginTopLeft" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25545 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
25548 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
25551 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25552 (arg1
)->SetMarginTopLeft((wxPoint
const &)*arg2
);
25553 wxPyEndAllowThreads(__tstate
);
25554 if (PyErr_Occurred()) SWIG_fail
;
25556 resultobj
= SWIG_Py_Void();
25563 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_SetMarginBottomRight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25564 PyObject
*resultobj
= 0;
25565 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
25566 wxPoint
*arg2
= 0 ;
25570 PyObject
* obj0
= 0 ;
25571 PyObject
* obj1
= 0 ;
25572 char * kwnames
[] = {
25573 (char *) "self",(char *) "pt", NULL
25576 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_SetMarginBottomRight",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25577 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
25578 if (!SWIG_IsOK(res1
)) {
25579 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_SetMarginBottomRight" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25581 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
25584 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
25587 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25588 (arg1
)->SetMarginBottomRight((wxPoint
const &)*arg2
);
25589 wxPyEndAllowThreads(__tstate
);
25590 if (PyErr_Occurred()) SWIG_fail
;
25592 resultobj
= SWIG_Py_Void();
25599 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_SetMinMarginTopLeft(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25600 PyObject
*resultobj
= 0;
25601 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
25602 wxPoint
*arg2
= 0 ;
25606 PyObject
* obj0
= 0 ;
25607 PyObject
* obj1
= 0 ;
25608 char * kwnames
[] = {
25609 (char *) "self",(char *) "pt", NULL
25612 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_SetMinMarginTopLeft",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25613 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
25614 if (!SWIG_IsOK(res1
)) {
25615 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_SetMinMarginTopLeft" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25617 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
25620 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
25623 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25624 (arg1
)->SetMinMarginTopLeft((wxPoint
const &)*arg2
);
25625 wxPyEndAllowThreads(__tstate
);
25626 if (PyErr_Occurred()) SWIG_fail
;
25628 resultobj
= SWIG_Py_Void();
25635 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_SetMinMarginBottomRight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25636 PyObject
*resultobj
= 0;
25637 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
25638 wxPoint
*arg2
= 0 ;
25642 PyObject
* obj0
= 0 ;
25643 PyObject
* obj1
= 0 ;
25644 char * kwnames
[] = {
25645 (char *) "self",(char *) "pt", NULL
25648 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_SetMinMarginBottomRight",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25649 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
25650 if (!SWIG_IsOK(res1
)) {
25651 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_SetMinMarginBottomRight" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25653 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
25656 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
25659 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25660 (arg1
)->SetMinMarginBottomRight((wxPoint
const &)*arg2
);
25661 wxPyEndAllowThreads(__tstate
);
25662 if (PyErr_Occurred()) SWIG_fail
;
25664 resultobj
= SWIG_Py_Void();
25671 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_SetPaperId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25672 PyObject
*resultobj
= 0;
25673 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
25679 PyObject
* obj0
= 0 ;
25680 PyObject
* obj1
= 0 ;
25681 char * kwnames
[] = {
25682 (char *) "self",(char *) "id", NULL
25685 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_SetPaperId",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25686 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
25687 if (!SWIG_IsOK(res1
)) {
25688 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_SetPaperId" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25690 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
25691 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
25692 if (!SWIG_IsOK(ecode2
)) {
25693 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PageSetupDialogData_SetPaperId" "', expected argument " "2"" of type '" "wxPaperSize""'");
25695 arg2
= static_cast< wxPaperSize
>(val2
);
25697 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25698 (arg1
)->SetPaperId(arg2
);
25699 wxPyEndAllowThreads(__tstate
);
25700 if (PyErr_Occurred()) SWIG_fail
;
25702 resultobj
= SWIG_Py_Void();
25709 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_SetPaperSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25710 PyObject
*resultobj
= 0;
25711 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
25716 PyObject
* obj0
= 0 ;
25717 PyObject
* obj1
= 0 ;
25718 char * kwnames
[] = {
25719 (char *) "self",(char *) "size", NULL
25722 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_SetPaperSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25723 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
25724 if (!SWIG_IsOK(res1
)) {
25725 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_SetPaperSize" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25727 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
25730 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
25733 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25734 (arg1
)->SetPaperSize((wxSize
const &)*arg2
);
25735 wxPyEndAllowThreads(__tstate
);
25736 if (PyErr_Occurred()) SWIG_fail
;
25738 resultobj
= SWIG_Py_Void();
25745 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_SetPrintData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25746 PyObject
*resultobj
= 0;
25747 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
25748 wxPrintData
*arg2
= 0 ;
25753 PyObject
* obj0
= 0 ;
25754 PyObject
* obj1
= 0 ;
25755 char * kwnames
[] = {
25756 (char *) "self",(char *) "printData", NULL
25759 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_SetPrintData",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25760 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
25761 if (!SWIG_IsOK(res1
)) {
25762 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_SetPrintData" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25764 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
25765 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxPrintData
, 0 | 0);
25766 if (!SWIG_IsOK(res2
)) {
25767 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PageSetupDialogData_SetPrintData" "', expected argument " "2"" of type '" "wxPrintData const &""'");
25770 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "PageSetupDialogData_SetPrintData" "', expected argument " "2"" of type '" "wxPrintData const &""'");
25772 arg2
= reinterpret_cast< wxPrintData
* >(argp2
);
25774 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25775 (arg1
)->SetPrintData((wxPrintData
const &)*arg2
);
25776 wxPyEndAllowThreads(__tstate
);
25777 if (PyErr_Occurred()) SWIG_fail
;
25779 resultobj
= SWIG_Py_Void();
25786 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_CalculateIdFromPaperSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25787 PyObject
*resultobj
= 0;
25788 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
25791 PyObject
*swig_obj
[1] ;
25793 if (!args
) SWIG_fail
;
25794 swig_obj
[0] = args
;
25795 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
25796 if (!SWIG_IsOK(res1
)) {
25797 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_CalculateIdFromPaperSize" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25799 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
25801 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25802 (arg1
)->CalculateIdFromPaperSize();
25803 wxPyEndAllowThreads(__tstate
);
25804 if (PyErr_Occurred()) SWIG_fail
;
25806 resultobj
= SWIG_Py_Void();
25813 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_CalculatePaperSizeFromId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25814 PyObject
*resultobj
= 0;
25815 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
25818 PyObject
*swig_obj
[1] ;
25820 if (!args
) SWIG_fail
;
25821 swig_obj
[0] = args
;
25822 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
25823 if (!SWIG_IsOK(res1
)) {
25824 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_CalculatePaperSizeFromId" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25826 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
25828 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25829 (arg1
)->CalculatePaperSizeFromId();
25830 wxPyEndAllowThreads(__tstate
);
25831 if (PyErr_Occurred()) SWIG_fail
;
25833 resultobj
= SWIG_Py_Void();
25840 SWIGINTERN PyObject
*PageSetupDialogData_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25842 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
25843 SWIG_TypeNewClientData(SWIGTYPE_p_wxPageSetupDialogData
, SWIG_NewClientData(obj
));
25844 return SWIG_Py_Void();
25847 SWIGINTERN PyObject
*PageSetupDialogData_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25848 return SWIG_Python_InitShadowInstance(args
);
25851 SWIGINTERN PyObject
*_wrap_new_PageSetupDialog(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25852 PyObject
*resultobj
= 0;
25853 wxWindow
*arg1
= (wxWindow
*) 0 ;
25854 wxPageSetupDialogData
*arg2
= (wxPageSetupDialogData
*) NULL
;
25855 wxPageSetupDialog
*result
= 0 ;
25860 PyObject
* obj0
= 0 ;
25861 PyObject
* obj1
= 0 ;
25862 char * kwnames
[] = {
25863 (char *) "parent",(char *) "data", NULL
25866 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_PageSetupDialog",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25867 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
25868 if (!SWIG_IsOK(res1
)) {
25869 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PageSetupDialog" "', expected argument " "1"" of type '" "wxWindow *""'");
25871 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
25873 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
25874 if (!SWIG_IsOK(res2
)) {
25875 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_PageSetupDialog" "', expected argument " "2"" of type '" "wxPageSetupDialogData *""'");
25877 arg2
= reinterpret_cast< wxPageSetupDialogData
* >(argp2
);
25880 if (!wxPyCheckForApp()) SWIG_fail
;
25881 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25882 result
= (wxPageSetupDialog
*)new wxPageSetupDialog(arg1
,arg2
);
25883 wxPyEndAllowThreads(__tstate
);
25884 if (PyErr_Occurred()) SWIG_fail
;
25886 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPageSetupDialog
, SWIG_POINTER_NEW
| 0 );
25893 SWIGINTERN PyObject
*_wrap_delete_PageSetupDialog(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25894 PyObject
*resultobj
= 0;
25895 wxPageSetupDialog
*arg1
= (wxPageSetupDialog
*) 0 ;
25898 PyObject
*swig_obj
[1] ;
25900 if (!args
) SWIG_fail
;
25901 swig_obj
[0] = args
;
25902 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPageSetupDialog
, SWIG_POINTER_DISOWN
| 0 );
25903 if (!SWIG_IsOK(res1
)) {
25904 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_PageSetupDialog" "', expected argument " "1"" of type '" "wxPageSetupDialog *""'");
25906 arg1
= reinterpret_cast< wxPageSetupDialog
* >(argp1
);
25908 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25911 wxPyEndAllowThreads(__tstate
);
25912 if (PyErr_Occurred()) SWIG_fail
;
25914 resultobj
= SWIG_Py_Void();
25921 SWIGINTERN PyObject
*_wrap_PageSetupDialog_GetPageSetupData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25922 PyObject
*resultobj
= 0;
25923 wxPageSetupDialog
*arg1
= (wxPageSetupDialog
*) 0 ;
25924 wxPageSetupDialogData
*result
= 0 ;
25927 PyObject
*swig_obj
[1] ;
25929 if (!args
) SWIG_fail
;
25930 swig_obj
[0] = args
;
25931 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPageSetupDialog
, 0 | 0 );
25932 if (!SWIG_IsOK(res1
)) {
25933 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialog_GetPageSetupData" "', expected argument " "1"" of type '" "wxPageSetupDialog *""'");
25935 arg1
= reinterpret_cast< wxPageSetupDialog
* >(argp1
);
25937 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25939 wxPageSetupDialogData
&_result_ref
= (arg1
)->GetPageSetupData();
25940 result
= (wxPageSetupDialogData
*) &_result_ref
;
25942 wxPyEndAllowThreads(__tstate
);
25943 if (PyErr_Occurred()) SWIG_fail
;
25945 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
25952 SWIGINTERN PyObject
*_wrap_PageSetupDialog_GetPageSetupDialogData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25953 PyObject
*resultobj
= 0;
25954 wxPageSetupDialog
*arg1
= (wxPageSetupDialog
*) 0 ;
25955 wxPageSetupDialogData
*result
= 0 ;
25958 PyObject
*swig_obj
[1] ;
25960 if (!args
) SWIG_fail
;
25961 swig_obj
[0] = args
;
25962 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPageSetupDialog
, 0 | 0 );
25963 if (!SWIG_IsOK(res1
)) {
25964 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialog_GetPageSetupDialogData" "', expected argument " "1"" of type '" "wxPageSetupDialog *""'");
25966 arg1
= reinterpret_cast< wxPageSetupDialog
* >(argp1
);
25968 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25970 wxPageSetupDialogData
&_result_ref
= (arg1
)->GetPageSetupDialogData();
25971 result
= (wxPageSetupDialogData
*) &_result_ref
;
25973 wxPyEndAllowThreads(__tstate
);
25974 if (PyErr_Occurred()) SWIG_fail
;
25976 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
25983 SWIGINTERN PyObject
*_wrap_PageSetupDialog_ShowModal(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25984 PyObject
*resultobj
= 0;
25985 wxPageSetupDialog
*arg1
= (wxPageSetupDialog
*) 0 ;
25989 PyObject
*swig_obj
[1] ;
25991 if (!args
) SWIG_fail
;
25992 swig_obj
[0] = args
;
25993 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPageSetupDialog
, 0 | 0 );
25994 if (!SWIG_IsOK(res1
)) {
25995 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialog_ShowModal" "', expected argument " "1"" of type '" "wxPageSetupDialog *""'");
25997 arg1
= reinterpret_cast< wxPageSetupDialog
* >(argp1
);
25999 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26000 result
= (int)(arg1
)->ShowModal();
26001 wxPyEndAllowThreads(__tstate
);
26002 if (PyErr_Occurred()) SWIG_fail
;
26004 resultobj
= SWIG_From_int(static_cast< int >(result
));
26011 SWIGINTERN PyObject
*PageSetupDialog_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26013 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
26014 SWIG_TypeNewClientData(SWIGTYPE_p_wxPageSetupDialog
, SWIG_NewClientData(obj
));
26015 return SWIG_Py_Void();
26018 SWIGINTERN PyObject
*PageSetupDialog_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26019 return SWIG_Python_InitShadowInstance(args
);
26022 SWIGINTERN PyObject
*_wrap_new_PrintDialogData__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**SWIGUNUSEDPARM(swig_obj
)) {
26023 PyObject
*resultobj
= 0;
26024 wxPrintDialogData
*result
= 0 ;
26026 if ((nobjs
< 0) || (nobjs
> 0)) SWIG_fail
;
26028 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26029 result
= (wxPrintDialogData
*)new wxPrintDialogData();
26030 wxPyEndAllowThreads(__tstate
);
26031 if (PyErr_Occurred()) SWIG_fail
;
26033 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPrintDialogData
, SWIG_POINTER_NEW
| 0 );
26040 SWIGINTERN PyObject
*_wrap_new_PrintDialogData__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
26041 PyObject
*resultobj
= 0;
26042 wxPrintData
*arg1
= 0 ;
26043 wxPrintDialogData
*result
= 0 ;
26047 if ((nobjs
< 1) || (nobjs
> 1)) SWIG_fail
;
26048 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
, SWIGTYPE_p_wxPrintData
, 0 | 0);
26049 if (!SWIG_IsOK(res1
)) {
26050 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PrintDialogData" "', expected argument " "1"" of type '" "wxPrintData const &""'");
26053 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_PrintDialogData" "', expected argument " "1"" of type '" "wxPrintData const &""'");
26055 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
26057 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26058 result
= (wxPrintDialogData
*)new wxPrintDialogData((wxPrintData
const &)*arg1
);
26059 wxPyEndAllowThreads(__tstate
);
26060 if (PyErr_Occurred()) SWIG_fail
;
26062 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPrintDialogData
, SWIG_POINTER_NEW
| 0 );
26069 SWIGINTERN PyObject
*_wrap_new_PrintDialogData__SWIG_2(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
26070 PyObject
*resultobj
= 0;
26071 wxPrintDialogData
*arg1
= 0 ;
26072 wxPrintDialogData
*result
= 0 ;
26076 if ((nobjs
< 1) || (nobjs
> 1)) SWIG_fail
;
26077 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
, SWIGTYPE_p_wxPrintDialogData
, 0 | 0);
26078 if (!SWIG_IsOK(res1
)) {
26079 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PrintDialogData" "', expected argument " "1"" of type '" "wxPrintDialogData const &""'");
26082 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_PrintDialogData" "', expected argument " "1"" of type '" "wxPrintDialogData const &""'");
26084 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
26086 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26087 result
= (wxPrintDialogData
*)new wxPrintDialogData((wxPrintDialogData
const &)*arg1
);
26088 wxPyEndAllowThreads(__tstate
);
26089 if (PyErr_Occurred()) SWIG_fail
;
26091 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPrintDialogData
, SWIG_POINTER_NEW
| 0 );
26098 SWIGINTERN PyObject
*_wrap_new_PrintDialogData(PyObject
*self
, PyObject
*args
) {
26102 if (!(argc
= SWIG_Python_UnpackTuple(args
,"new_PrintDialogData",0,1,argv
))) SWIG_fail
;
26105 return _wrap_new_PrintDialogData__SWIG_0(self
, argc
, argv
);
26110 int res
= SWIG_ConvertPtr(argv
[0], 0, SWIGTYPE_p_wxPrintData
, 0);
26111 _v
= SWIG_CheckState(res
);
26113 if (!_v
) goto check_2
;
26114 return _wrap_new_PrintDialogData__SWIG_1(self
, argc
, argv
);
26119 return _wrap_new_PrintDialogData__SWIG_2(self
, argc
, argv
);
26123 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'new_PrintDialogData'");
26128 SWIGINTERN PyObject
*_wrap_delete_PrintDialogData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26129 PyObject
*resultobj
= 0;
26130 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
26133 PyObject
*swig_obj
[1] ;
26135 if (!args
) SWIG_fail
;
26136 swig_obj
[0] = args
;
26137 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintDialogData
, SWIG_POINTER_DISOWN
| 0 );
26138 if (!SWIG_IsOK(res1
)) {
26139 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_PrintDialogData" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
26141 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
26143 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26146 wxPyEndAllowThreads(__tstate
);
26147 if (PyErr_Occurred()) SWIG_fail
;
26149 resultobj
= SWIG_Py_Void();
26156 SWIGINTERN PyObject
*_wrap_PrintDialogData_GetFromPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26157 PyObject
*resultobj
= 0;
26158 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
26162 PyObject
*swig_obj
[1] ;
26164 if (!args
) SWIG_fail
;
26165 swig_obj
[0] = args
;
26166 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
26167 if (!SWIG_IsOK(res1
)) {
26168 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_GetFromPage" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
26170 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
26172 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26173 result
= (int)((wxPrintDialogData
const *)arg1
)->GetFromPage();
26174 wxPyEndAllowThreads(__tstate
);
26175 if (PyErr_Occurred()) SWIG_fail
;
26177 resultobj
= SWIG_From_int(static_cast< int >(result
));
26184 SWIGINTERN PyObject
*_wrap_PrintDialogData_GetToPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26185 PyObject
*resultobj
= 0;
26186 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
26190 PyObject
*swig_obj
[1] ;
26192 if (!args
) SWIG_fail
;
26193 swig_obj
[0] = args
;
26194 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
26195 if (!SWIG_IsOK(res1
)) {
26196 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_GetToPage" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
26198 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
26200 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26201 result
= (int)((wxPrintDialogData
const *)arg1
)->GetToPage();
26202 wxPyEndAllowThreads(__tstate
);
26203 if (PyErr_Occurred()) SWIG_fail
;
26205 resultobj
= SWIG_From_int(static_cast< int >(result
));
26212 SWIGINTERN PyObject
*_wrap_PrintDialogData_GetMinPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26213 PyObject
*resultobj
= 0;
26214 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
26218 PyObject
*swig_obj
[1] ;
26220 if (!args
) SWIG_fail
;
26221 swig_obj
[0] = args
;
26222 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
26223 if (!SWIG_IsOK(res1
)) {
26224 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_GetMinPage" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
26226 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
26228 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26229 result
= (int)((wxPrintDialogData
const *)arg1
)->GetMinPage();
26230 wxPyEndAllowThreads(__tstate
);
26231 if (PyErr_Occurred()) SWIG_fail
;
26233 resultobj
= SWIG_From_int(static_cast< int >(result
));
26240 SWIGINTERN PyObject
*_wrap_PrintDialogData_GetMaxPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26241 PyObject
*resultobj
= 0;
26242 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
26246 PyObject
*swig_obj
[1] ;
26248 if (!args
) SWIG_fail
;
26249 swig_obj
[0] = args
;
26250 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
26251 if (!SWIG_IsOK(res1
)) {
26252 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_GetMaxPage" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
26254 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
26256 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26257 result
= (int)((wxPrintDialogData
const *)arg1
)->GetMaxPage();
26258 wxPyEndAllowThreads(__tstate
);
26259 if (PyErr_Occurred()) SWIG_fail
;
26261 resultobj
= SWIG_From_int(static_cast< int >(result
));
26268 SWIGINTERN PyObject
*_wrap_PrintDialogData_GetNoCopies(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26269 PyObject
*resultobj
= 0;
26270 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
26274 PyObject
*swig_obj
[1] ;
26276 if (!args
) SWIG_fail
;
26277 swig_obj
[0] = args
;
26278 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
26279 if (!SWIG_IsOK(res1
)) {
26280 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_GetNoCopies" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
26282 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
26284 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26285 result
= (int)((wxPrintDialogData
const *)arg1
)->GetNoCopies();
26286 wxPyEndAllowThreads(__tstate
);
26287 if (PyErr_Occurred()) SWIG_fail
;
26289 resultobj
= SWIG_From_int(static_cast< int >(result
));
26296 SWIGINTERN PyObject
*_wrap_PrintDialogData_GetAllPages(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26297 PyObject
*resultobj
= 0;
26298 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
26302 PyObject
*swig_obj
[1] ;
26304 if (!args
) SWIG_fail
;
26305 swig_obj
[0] = args
;
26306 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
26307 if (!SWIG_IsOK(res1
)) {
26308 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_GetAllPages" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
26310 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
26312 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26313 result
= (bool)((wxPrintDialogData
const *)arg1
)->GetAllPages();
26314 wxPyEndAllowThreads(__tstate
);
26315 if (PyErr_Occurred()) SWIG_fail
;
26318 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26326 SWIGINTERN PyObject
*_wrap_PrintDialogData_GetSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26327 PyObject
*resultobj
= 0;
26328 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
26332 PyObject
*swig_obj
[1] ;
26334 if (!args
) SWIG_fail
;
26335 swig_obj
[0] = args
;
26336 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
26337 if (!SWIG_IsOK(res1
)) {
26338 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_GetSelection" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
26340 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
26342 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26343 result
= (bool)((wxPrintDialogData
const *)arg1
)->GetSelection();
26344 wxPyEndAllowThreads(__tstate
);
26345 if (PyErr_Occurred()) SWIG_fail
;
26348 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26356 SWIGINTERN PyObject
*_wrap_PrintDialogData_GetCollate(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26357 PyObject
*resultobj
= 0;
26358 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
26362 PyObject
*swig_obj
[1] ;
26364 if (!args
) SWIG_fail
;
26365 swig_obj
[0] = args
;
26366 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
26367 if (!SWIG_IsOK(res1
)) {
26368 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_GetCollate" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
26370 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
26372 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26373 result
= (bool)((wxPrintDialogData
const *)arg1
)->GetCollate();
26374 wxPyEndAllowThreads(__tstate
);
26375 if (PyErr_Occurred()) SWIG_fail
;
26378 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26386 SWIGINTERN PyObject
*_wrap_PrintDialogData_GetPrintToFile(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26387 PyObject
*resultobj
= 0;
26388 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
26392 PyObject
*swig_obj
[1] ;
26394 if (!args
) SWIG_fail
;
26395 swig_obj
[0] = args
;
26396 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
26397 if (!SWIG_IsOK(res1
)) {
26398 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_GetPrintToFile" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
26400 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
26402 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26403 result
= (bool)((wxPrintDialogData
const *)arg1
)->GetPrintToFile();
26404 wxPyEndAllowThreads(__tstate
);
26405 if (PyErr_Occurred()) SWIG_fail
;
26408 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26416 SWIGINTERN PyObject
*_wrap_PrintDialogData_SetFromPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26417 PyObject
*resultobj
= 0;
26418 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
26424 PyObject
* obj0
= 0 ;
26425 PyObject
* obj1
= 0 ;
26426 char * kwnames
[] = {
26427 (char *) "self",(char *) "v", NULL
26430 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetFromPage",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26431 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
26432 if (!SWIG_IsOK(res1
)) {
26433 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_SetFromPage" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
26435 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
26436 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
26437 if (!SWIG_IsOK(ecode2
)) {
26438 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintDialogData_SetFromPage" "', expected argument " "2"" of type '" "int""'");
26440 arg2
= static_cast< int >(val2
);
26442 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26443 (arg1
)->SetFromPage(arg2
);
26444 wxPyEndAllowThreads(__tstate
);
26445 if (PyErr_Occurred()) SWIG_fail
;
26447 resultobj
= SWIG_Py_Void();
26454 SWIGINTERN PyObject
*_wrap_PrintDialogData_SetToPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26455 PyObject
*resultobj
= 0;
26456 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
26462 PyObject
* obj0
= 0 ;
26463 PyObject
* obj1
= 0 ;
26464 char * kwnames
[] = {
26465 (char *) "self",(char *) "v", NULL
26468 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetToPage",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26469 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
26470 if (!SWIG_IsOK(res1
)) {
26471 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_SetToPage" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
26473 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
26474 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
26475 if (!SWIG_IsOK(ecode2
)) {
26476 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintDialogData_SetToPage" "', expected argument " "2"" of type '" "int""'");
26478 arg2
= static_cast< int >(val2
);
26480 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26481 (arg1
)->SetToPage(arg2
);
26482 wxPyEndAllowThreads(__tstate
);
26483 if (PyErr_Occurred()) SWIG_fail
;
26485 resultobj
= SWIG_Py_Void();
26492 SWIGINTERN PyObject
*_wrap_PrintDialogData_SetMinPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26493 PyObject
*resultobj
= 0;
26494 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
26500 PyObject
* obj0
= 0 ;
26501 PyObject
* obj1
= 0 ;
26502 char * kwnames
[] = {
26503 (char *) "self",(char *) "v", NULL
26506 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetMinPage",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26507 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
26508 if (!SWIG_IsOK(res1
)) {
26509 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_SetMinPage" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
26511 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
26512 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
26513 if (!SWIG_IsOK(ecode2
)) {
26514 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintDialogData_SetMinPage" "', expected argument " "2"" of type '" "int""'");
26516 arg2
= static_cast< int >(val2
);
26518 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26519 (arg1
)->SetMinPage(arg2
);
26520 wxPyEndAllowThreads(__tstate
);
26521 if (PyErr_Occurred()) SWIG_fail
;
26523 resultobj
= SWIG_Py_Void();
26530 SWIGINTERN PyObject
*_wrap_PrintDialogData_SetMaxPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26531 PyObject
*resultobj
= 0;
26532 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
26538 PyObject
* obj0
= 0 ;
26539 PyObject
* obj1
= 0 ;
26540 char * kwnames
[] = {
26541 (char *) "self",(char *) "v", NULL
26544 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetMaxPage",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26545 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
26546 if (!SWIG_IsOK(res1
)) {
26547 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_SetMaxPage" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
26549 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
26550 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
26551 if (!SWIG_IsOK(ecode2
)) {
26552 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintDialogData_SetMaxPage" "', expected argument " "2"" of type '" "int""'");
26554 arg2
= static_cast< int >(val2
);
26556 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26557 (arg1
)->SetMaxPage(arg2
);
26558 wxPyEndAllowThreads(__tstate
);
26559 if (PyErr_Occurred()) SWIG_fail
;
26561 resultobj
= SWIG_Py_Void();
26568 SWIGINTERN PyObject
*_wrap_PrintDialogData_SetNoCopies(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26569 PyObject
*resultobj
= 0;
26570 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
26576 PyObject
* obj0
= 0 ;
26577 PyObject
* obj1
= 0 ;
26578 char * kwnames
[] = {
26579 (char *) "self",(char *) "v", NULL
26582 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetNoCopies",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26583 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
26584 if (!SWIG_IsOK(res1
)) {
26585 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_SetNoCopies" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
26587 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
26588 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
26589 if (!SWIG_IsOK(ecode2
)) {
26590 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintDialogData_SetNoCopies" "', expected argument " "2"" of type '" "int""'");
26592 arg2
= static_cast< int >(val2
);
26594 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26595 (arg1
)->SetNoCopies(arg2
);
26596 wxPyEndAllowThreads(__tstate
);
26597 if (PyErr_Occurred()) SWIG_fail
;
26599 resultobj
= SWIG_Py_Void();
26606 SWIGINTERN PyObject
*_wrap_PrintDialogData_SetAllPages(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26607 PyObject
*resultobj
= 0;
26608 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
26614 PyObject
* obj0
= 0 ;
26615 PyObject
* obj1
= 0 ;
26616 char * kwnames
[] = {
26617 (char *) "self",(char *) "flag", NULL
26620 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetAllPages",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26621 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
26622 if (!SWIG_IsOK(res1
)) {
26623 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_SetAllPages" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
26625 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
26626 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
26627 if (!SWIG_IsOK(ecode2
)) {
26628 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintDialogData_SetAllPages" "', expected argument " "2"" of type '" "bool""'");
26630 arg2
= static_cast< bool >(val2
);
26632 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26633 (arg1
)->SetAllPages(arg2
);
26634 wxPyEndAllowThreads(__tstate
);
26635 if (PyErr_Occurred()) SWIG_fail
;
26637 resultobj
= SWIG_Py_Void();
26644 SWIGINTERN PyObject
*_wrap_PrintDialogData_SetSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26645 PyObject
*resultobj
= 0;
26646 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
26652 PyObject
* obj0
= 0 ;
26653 PyObject
* obj1
= 0 ;
26654 char * kwnames
[] = {
26655 (char *) "self",(char *) "flag", NULL
26658 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetSelection",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26659 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
26660 if (!SWIG_IsOK(res1
)) {
26661 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_SetSelection" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
26663 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
26664 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
26665 if (!SWIG_IsOK(ecode2
)) {
26666 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintDialogData_SetSelection" "', expected argument " "2"" of type '" "bool""'");
26668 arg2
= static_cast< bool >(val2
);
26670 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26671 (arg1
)->SetSelection(arg2
);
26672 wxPyEndAllowThreads(__tstate
);
26673 if (PyErr_Occurred()) SWIG_fail
;
26675 resultobj
= SWIG_Py_Void();
26682 SWIGINTERN PyObject
*_wrap_PrintDialogData_SetCollate(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26683 PyObject
*resultobj
= 0;
26684 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
26690 PyObject
* obj0
= 0 ;
26691 PyObject
* obj1
= 0 ;
26692 char * kwnames
[] = {
26693 (char *) "self",(char *) "flag", NULL
26696 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetCollate",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26697 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
26698 if (!SWIG_IsOK(res1
)) {
26699 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_SetCollate" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
26701 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
26702 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
26703 if (!SWIG_IsOK(ecode2
)) {
26704 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintDialogData_SetCollate" "', expected argument " "2"" of type '" "bool""'");
26706 arg2
= static_cast< bool >(val2
);
26708 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26709 (arg1
)->SetCollate(arg2
);
26710 wxPyEndAllowThreads(__tstate
);
26711 if (PyErr_Occurred()) SWIG_fail
;
26713 resultobj
= SWIG_Py_Void();
26720 SWIGINTERN PyObject
*_wrap_PrintDialogData_SetPrintToFile(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26721 PyObject
*resultobj
= 0;
26722 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
26728 PyObject
* obj0
= 0 ;
26729 PyObject
* obj1
= 0 ;
26730 char * kwnames
[] = {
26731 (char *) "self",(char *) "flag", NULL
26734 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetPrintToFile",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26735 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
26736 if (!SWIG_IsOK(res1
)) {
26737 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_SetPrintToFile" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
26739 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
26740 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
26741 if (!SWIG_IsOK(ecode2
)) {
26742 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintDialogData_SetPrintToFile" "', expected argument " "2"" of type '" "bool""'");
26744 arg2
= static_cast< bool >(val2
);
26746 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26747 (arg1
)->SetPrintToFile(arg2
);
26748 wxPyEndAllowThreads(__tstate
);
26749 if (PyErr_Occurred()) SWIG_fail
;
26751 resultobj
= SWIG_Py_Void();
26758 SWIGINTERN PyObject
*_wrap_PrintDialogData_EnablePrintToFile(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26759 PyObject
*resultobj
= 0;
26760 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
26766 PyObject
* obj0
= 0 ;
26767 PyObject
* obj1
= 0 ;
26768 char * kwnames
[] = {
26769 (char *) "self",(char *) "flag", NULL
26772 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_EnablePrintToFile",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26773 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
26774 if (!SWIG_IsOK(res1
)) {
26775 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_EnablePrintToFile" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
26777 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
26778 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
26779 if (!SWIG_IsOK(ecode2
)) {
26780 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintDialogData_EnablePrintToFile" "', expected argument " "2"" of type '" "bool""'");
26782 arg2
= static_cast< bool >(val2
);
26784 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26785 (arg1
)->EnablePrintToFile(arg2
);
26786 wxPyEndAllowThreads(__tstate
);
26787 if (PyErr_Occurred()) SWIG_fail
;
26789 resultobj
= SWIG_Py_Void();
26796 SWIGINTERN PyObject
*_wrap_PrintDialogData_EnableSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26797 PyObject
*resultobj
= 0;
26798 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
26804 PyObject
* obj0
= 0 ;
26805 PyObject
* obj1
= 0 ;
26806 char * kwnames
[] = {
26807 (char *) "self",(char *) "flag", NULL
26810 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_EnableSelection",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26811 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
26812 if (!SWIG_IsOK(res1
)) {
26813 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_EnableSelection" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
26815 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
26816 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
26817 if (!SWIG_IsOK(ecode2
)) {
26818 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintDialogData_EnableSelection" "', expected argument " "2"" of type '" "bool""'");
26820 arg2
= static_cast< bool >(val2
);
26822 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26823 (arg1
)->EnableSelection(arg2
);
26824 wxPyEndAllowThreads(__tstate
);
26825 if (PyErr_Occurred()) SWIG_fail
;
26827 resultobj
= SWIG_Py_Void();
26834 SWIGINTERN PyObject
*_wrap_PrintDialogData_EnablePageNumbers(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26835 PyObject
*resultobj
= 0;
26836 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
26842 PyObject
* obj0
= 0 ;
26843 PyObject
* obj1
= 0 ;
26844 char * kwnames
[] = {
26845 (char *) "self",(char *) "flag", NULL
26848 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_EnablePageNumbers",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26849 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
26850 if (!SWIG_IsOK(res1
)) {
26851 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_EnablePageNumbers" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
26853 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
26854 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
26855 if (!SWIG_IsOK(ecode2
)) {
26856 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintDialogData_EnablePageNumbers" "', expected argument " "2"" of type '" "bool""'");
26858 arg2
= static_cast< bool >(val2
);
26860 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26861 (arg1
)->EnablePageNumbers(arg2
);
26862 wxPyEndAllowThreads(__tstate
);
26863 if (PyErr_Occurred()) SWIG_fail
;
26865 resultobj
= SWIG_Py_Void();
26872 SWIGINTERN PyObject
*_wrap_PrintDialogData_EnableHelp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26873 PyObject
*resultobj
= 0;
26874 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
26880 PyObject
* obj0
= 0 ;
26881 PyObject
* obj1
= 0 ;
26882 char * kwnames
[] = {
26883 (char *) "self",(char *) "flag", NULL
26886 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_EnableHelp",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26887 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
26888 if (!SWIG_IsOK(res1
)) {
26889 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_EnableHelp" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
26891 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
26892 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
26893 if (!SWIG_IsOK(ecode2
)) {
26894 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintDialogData_EnableHelp" "', expected argument " "2"" of type '" "bool""'");
26896 arg2
= static_cast< bool >(val2
);
26898 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26899 (arg1
)->EnableHelp(arg2
);
26900 wxPyEndAllowThreads(__tstate
);
26901 if (PyErr_Occurred()) SWIG_fail
;
26903 resultobj
= SWIG_Py_Void();
26910 SWIGINTERN PyObject
*_wrap_PrintDialogData_GetEnablePrintToFile(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26911 PyObject
*resultobj
= 0;
26912 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
26916 PyObject
*swig_obj
[1] ;
26918 if (!args
) SWIG_fail
;
26919 swig_obj
[0] = args
;
26920 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
26921 if (!SWIG_IsOK(res1
)) {
26922 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_GetEnablePrintToFile" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
26924 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
26926 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26927 result
= (bool)((wxPrintDialogData
const *)arg1
)->GetEnablePrintToFile();
26928 wxPyEndAllowThreads(__tstate
);
26929 if (PyErr_Occurred()) SWIG_fail
;
26932 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26940 SWIGINTERN PyObject
*_wrap_PrintDialogData_GetEnableSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26941 PyObject
*resultobj
= 0;
26942 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
26946 PyObject
*swig_obj
[1] ;
26948 if (!args
) SWIG_fail
;
26949 swig_obj
[0] = args
;
26950 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
26951 if (!SWIG_IsOK(res1
)) {
26952 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_GetEnableSelection" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
26954 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
26956 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26957 result
= (bool)((wxPrintDialogData
const *)arg1
)->GetEnableSelection();
26958 wxPyEndAllowThreads(__tstate
);
26959 if (PyErr_Occurred()) SWIG_fail
;
26962 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26970 SWIGINTERN PyObject
*_wrap_PrintDialogData_GetEnablePageNumbers(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26971 PyObject
*resultobj
= 0;
26972 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
26976 PyObject
*swig_obj
[1] ;
26978 if (!args
) SWIG_fail
;
26979 swig_obj
[0] = args
;
26980 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
26981 if (!SWIG_IsOK(res1
)) {
26982 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_GetEnablePageNumbers" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
26984 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
26986 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26987 result
= (bool)((wxPrintDialogData
const *)arg1
)->GetEnablePageNumbers();
26988 wxPyEndAllowThreads(__tstate
);
26989 if (PyErr_Occurred()) SWIG_fail
;
26992 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27000 SWIGINTERN PyObject
*_wrap_PrintDialogData_GetEnableHelp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27001 PyObject
*resultobj
= 0;
27002 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
27006 PyObject
*swig_obj
[1] ;
27008 if (!args
) SWIG_fail
;
27009 swig_obj
[0] = args
;
27010 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
27011 if (!SWIG_IsOK(res1
)) {
27012 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_GetEnableHelp" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
27014 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
27016 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27017 result
= (bool)((wxPrintDialogData
const *)arg1
)->GetEnableHelp();
27018 wxPyEndAllowThreads(__tstate
);
27019 if (PyErr_Occurred()) SWIG_fail
;
27022 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27030 SWIGINTERN PyObject
*_wrap_PrintDialogData_Ok(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27031 PyObject
*resultobj
= 0;
27032 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
27036 PyObject
*swig_obj
[1] ;
27038 if (!args
) SWIG_fail
;
27039 swig_obj
[0] = args
;
27040 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
27041 if (!SWIG_IsOK(res1
)) {
27042 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_Ok" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
27044 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
27046 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27047 result
= (bool)((wxPrintDialogData
const *)arg1
)->Ok();
27048 wxPyEndAllowThreads(__tstate
);
27049 if (PyErr_Occurred()) SWIG_fail
;
27052 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27060 SWIGINTERN PyObject
*_wrap_PrintDialogData_GetPrintData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27061 PyObject
*resultobj
= 0;
27062 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
27063 wxPrintData
*result
= 0 ;
27066 PyObject
*swig_obj
[1] ;
27068 if (!args
) SWIG_fail
;
27069 swig_obj
[0] = args
;
27070 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
27071 if (!SWIG_IsOK(res1
)) {
27072 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_GetPrintData" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
27074 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
27076 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27078 wxPrintData
&_result_ref
= (arg1
)->GetPrintData();
27079 result
= (wxPrintData
*) &_result_ref
;
27081 wxPyEndAllowThreads(__tstate
);
27082 if (PyErr_Occurred()) SWIG_fail
;
27084 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPrintData
, 0 | 0 );
27091 SWIGINTERN PyObject
*_wrap_PrintDialogData_SetPrintData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27092 PyObject
*resultobj
= 0;
27093 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
27094 wxPrintData
*arg2
= 0 ;
27099 PyObject
* obj0
= 0 ;
27100 PyObject
* obj1
= 0 ;
27101 char * kwnames
[] = {
27102 (char *) "self",(char *) "printData", NULL
27105 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetPrintData",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
27106 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
27107 if (!SWIG_IsOK(res1
)) {
27108 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_SetPrintData" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
27110 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
27111 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxPrintData
, 0 | 0);
27112 if (!SWIG_IsOK(res2
)) {
27113 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PrintDialogData_SetPrintData" "', expected argument " "2"" of type '" "wxPrintData const &""'");
27116 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "PrintDialogData_SetPrintData" "', expected argument " "2"" of type '" "wxPrintData const &""'");
27118 arg2
= reinterpret_cast< wxPrintData
* >(argp2
);
27120 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27121 (arg1
)->SetPrintData((wxPrintData
const &)*arg2
);
27122 wxPyEndAllowThreads(__tstate
);
27123 if (PyErr_Occurred()) SWIG_fail
;
27125 resultobj
= SWIG_Py_Void();
27132 SWIGINTERN PyObject
*PrintDialogData_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27134 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
27135 SWIG_TypeNewClientData(SWIGTYPE_p_wxPrintDialogData
, SWIG_NewClientData(obj
));
27136 return SWIG_Py_Void();
27139 SWIGINTERN PyObject
*PrintDialogData_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27140 return SWIG_Python_InitShadowInstance(args
);
27143 SWIGINTERN PyObject
*_wrap_new_PrintDialog(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27144 PyObject
*resultobj
= 0;
27145 wxWindow
*arg1
= (wxWindow
*) 0 ;
27146 wxPrintDialogData
*arg2
= (wxPrintDialogData
*) NULL
;
27147 wxPrintDialog
*result
= 0 ;
27152 PyObject
* obj0
= 0 ;
27153 PyObject
* obj1
= 0 ;
27154 char * kwnames
[] = {
27155 (char *) "parent",(char *) "data", NULL
27158 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_PrintDialog",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
27159 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
27160 if (!SWIG_IsOK(res1
)) {
27161 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PrintDialog" "', expected argument " "1"" of type '" "wxWindow *""'");
27163 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
27165 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
27166 if (!SWIG_IsOK(res2
)) {
27167 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_PrintDialog" "', expected argument " "2"" of type '" "wxPrintDialogData *""'");
27169 arg2
= reinterpret_cast< wxPrintDialogData
* >(argp2
);
27172 if (!wxPyCheckForApp()) SWIG_fail
;
27173 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27174 result
= (wxPrintDialog
*)new wxPrintDialog(arg1
,arg2
);
27175 wxPyEndAllowThreads(__tstate
);
27176 if (PyErr_Occurred()) SWIG_fail
;
27178 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPrintDialog
, SWIG_POINTER_NEW
| 0 );
27185 SWIGINTERN PyObject
*_wrap_delete_PrintDialog(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27186 PyObject
*resultobj
= 0;
27187 wxPrintDialog
*arg1
= (wxPrintDialog
*) 0 ;
27190 PyObject
*swig_obj
[1] ;
27192 if (!args
) SWIG_fail
;
27193 swig_obj
[0] = args
;
27194 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintDialog
, SWIG_POINTER_DISOWN
| 0 );
27195 if (!SWIG_IsOK(res1
)) {
27196 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_PrintDialog" "', expected argument " "1"" of type '" "wxPrintDialog *""'");
27198 arg1
= reinterpret_cast< wxPrintDialog
* >(argp1
);
27200 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27203 wxPyEndAllowThreads(__tstate
);
27204 if (PyErr_Occurred()) SWIG_fail
;
27206 resultobj
= SWIG_Py_Void();
27213 SWIGINTERN PyObject
*_wrap_PrintDialog_ShowModal(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27214 PyObject
*resultobj
= 0;
27215 wxPrintDialog
*arg1
= (wxPrintDialog
*) 0 ;
27219 PyObject
*swig_obj
[1] ;
27221 if (!args
) SWIG_fail
;
27222 swig_obj
[0] = args
;
27223 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintDialog
, 0 | 0 );
27224 if (!SWIG_IsOK(res1
)) {
27225 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialog_ShowModal" "', expected argument " "1"" of type '" "wxPrintDialog *""'");
27227 arg1
= reinterpret_cast< wxPrintDialog
* >(argp1
);
27229 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27230 result
= (int)(arg1
)->ShowModal();
27231 wxPyEndAllowThreads(__tstate
);
27232 if (PyErr_Occurred()) SWIG_fail
;
27234 resultobj
= SWIG_From_int(static_cast< int >(result
));
27241 SWIGINTERN PyObject
*_wrap_PrintDialog_GetPrintDialogData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27242 PyObject
*resultobj
= 0;
27243 wxPrintDialog
*arg1
= (wxPrintDialog
*) 0 ;
27244 wxPrintDialogData
*result
= 0 ;
27247 PyObject
*swig_obj
[1] ;
27249 if (!args
) SWIG_fail
;
27250 swig_obj
[0] = args
;
27251 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintDialog
, 0 | 0 );
27252 if (!SWIG_IsOK(res1
)) {
27253 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialog_GetPrintDialogData" "', expected argument " "1"" of type '" "wxPrintDialog *""'");
27255 arg1
= reinterpret_cast< wxPrintDialog
* >(argp1
);
27257 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27259 wxPrintDialogData
&_result_ref
= (arg1
)->GetPrintDialogData();
27260 result
= (wxPrintDialogData
*) &_result_ref
;
27262 wxPyEndAllowThreads(__tstate
);
27263 if (PyErr_Occurred()) SWIG_fail
;
27265 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
27272 SWIGINTERN PyObject
*_wrap_PrintDialog_GetPrintData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27273 PyObject
*resultobj
= 0;
27274 wxPrintDialog
*arg1
= (wxPrintDialog
*) 0 ;
27275 wxPrintData
*result
= 0 ;
27278 PyObject
*swig_obj
[1] ;
27280 if (!args
) SWIG_fail
;
27281 swig_obj
[0] = args
;
27282 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintDialog
, 0 | 0 );
27283 if (!SWIG_IsOK(res1
)) {
27284 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialog_GetPrintData" "', expected argument " "1"" of type '" "wxPrintDialog *""'");
27286 arg1
= reinterpret_cast< wxPrintDialog
* >(argp1
);
27288 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27290 wxPrintData
&_result_ref
= (arg1
)->GetPrintData();
27291 result
= (wxPrintData
*) &_result_ref
;
27293 wxPyEndAllowThreads(__tstate
);
27294 if (PyErr_Occurred()) SWIG_fail
;
27296 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPrintData
, 0 | 0 );
27303 SWIGINTERN PyObject
*_wrap_PrintDialog_GetPrintDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27304 PyObject
*resultobj
= 0;
27305 wxPrintDialog
*arg1
= (wxPrintDialog
*) 0 ;
27309 PyObject
*swig_obj
[1] ;
27311 if (!args
) SWIG_fail
;
27312 swig_obj
[0] = args
;
27313 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintDialog
, 0 | 0 );
27314 if (!SWIG_IsOK(res1
)) {
27315 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialog_GetPrintDC" "', expected argument " "1"" of type '" "wxPrintDialog *""'");
27317 arg1
= reinterpret_cast< wxPrintDialog
* >(argp1
);
27319 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27320 result
= (wxDC
*)(arg1
)->GetPrintDC();
27321 wxPyEndAllowThreads(__tstate
);
27322 if (PyErr_Occurred()) SWIG_fail
;
27325 resultobj
= wxPyMake_wxObject(result
, (bool)SWIG_POINTER_OWN
);
27333 SWIGINTERN PyObject
*PrintDialog_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27335 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
27336 SWIG_TypeNewClientData(SWIGTYPE_p_wxPrintDialog
, SWIG_NewClientData(obj
));
27337 return SWIG_Py_Void();
27340 SWIGINTERN PyObject
*PrintDialog_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27341 return SWIG_Python_InitShadowInstance(args
);
27344 SWIGINTERN PyObject
*_wrap_new_Printer(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27345 PyObject
*resultobj
= 0;
27346 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) NULL
;
27347 wxPrinter
*result
= 0 ;
27350 PyObject
* obj0
= 0 ;
27351 char * kwnames
[] = {
27352 (char *) "data", NULL
27355 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_Printer",kwnames
,&obj0
)) SWIG_fail
;
27357 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
27358 if (!SWIG_IsOK(res1
)) {
27359 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_Printer" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
27361 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
27364 if (!wxPyCheckForApp()) SWIG_fail
;
27365 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27366 result
= (wxPrinter
*)new wxPrinter(arg1
);
27367 wxPyEndAllowThreads(__tstate
);
27368 if (PyErr_Occurred()) SWIG_fail
;
27370 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPrinter
, SWIG_POINTER_NEW
| 0 );
27377 SWIGINTERN PyObject
*_wrap_delete_Printer(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27378 PyObject
*resultobj
= 0;
27379 wxPrinter
*arg1
= (wxPrinter
*) 0 ;
27382 PyObject
*swig_obj
[1] ;
27384 if (!args
) SWIG_fail
;
27385 swig_obj
[0] = args
;
27386 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrinter
, SWIG_POINTER_DISOWN
| 0 );
27387 if (!SWIG_IsOK(res1
)) {
27388 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_Printer" "', expected argument " "1"" of type '" "wxPrinter *""'");
27390 arg1
= reinterpret_cast< wxPrinter
* >(argp1
);
27392 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27395 wxPyEndAllowThreads(__tstate
);
27396 if (PyErr_Occurred()) SWIG_fail
;
27398 resultobj
= SWIG_Py_Void();
27405 SWIGINTERN PyObject
*_wrap_Printer_CreateAbortWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27406 PyObject
*resultobj
= 0;
27407 wxPrinter
*arg1
= (wxPrinter
*) 0 ;
27408 wxWindow
*arg2
= (wxWindow
*) 0 ;
27409 wxPyPrintout
*arg3
= (wxPyPrintout
*) 0 ;
27410 wxWindow
*result
= 0 ;
27417 PyObject
* obj0
= 0 ;
27418 PyObject
* obj1
= 0 ;
27419 PyObject
* obj2
= 0 ;
27420 char * kwnames
[] = {
27421 (char *) "self",(char *) "parent",(char *) "printout", NULL
27424 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Printer_CreateAbortWindow",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
27425 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrinter
, 0 | 0 );
27426 if (!SWIG_IsOK(res1
)) {
27427 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printer_CreateAbortWindow" "', expected argument " "1"" of type '" "wxPrinter *""'");
27429 arg1
= reinterpret_cast< wxPrinter
* >(argp1
);
27430 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
27431 if (!SWIG_IsOK(res2
)) {
27432 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Printer_CreateAbortWindow" "', expected argument " "2"" of type '" "wxWindow *""'");
27434 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
27435 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
27436 if (!SWIG_IsOK(res3
)) {
27437 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "Printer_CreateAbortWindow" "', expected argument " "3"" of type '" "wxPyPrintout *""'");
27439 arg3
= reinterpret_cast< wxPyPrintout
* >(argp3
);
27441 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27442 result
= (wxWindow
*)(arg1
)->CreateAbortWindow(arg2
,arg3
);
27443 wxPyEndAllowThreads(__tstate
);
27444 if (PyErr_Occurred()) SWIG_fail
;
27447 resultobj
= wxPyMake_wxObject(result
, 0);
27455 SWIGINTERN PyObject
*_wrap_Printer_ReportError(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27456 PyObject
*resultobj
= 0;
27457 wxPrinter
*arg1
= (wxPrinter
*) 0 ;
27458 wxWindow
*arg2
= (wxWindow
*) 0 ;
27459 wxPyPrintout
*arg3
= (wxPyPrintout
*) 0 ;
27460 wxString
*arg4
= 0 ;
27467 bool temp4
= false ;
27468 PyObject
* obj0
= 0 ;
27469 PyObject
* obj1
= 0 ;
27470 PyObject
* obj2
= 0 ;
27471 PyObject
* obj3
= 0 ;
27472 char * kwnames
[] = {
27473 (char *) "self",(char *) "parent",(char *) "printout",(char *) "message", NULL
27476 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:Printer_ReportError",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
27477 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrinter
, 0 | 0 );
27478 if (!SWIG_IsOK(res1
)) {
27479 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printer_ReportError" "', expected argument " "1"" of type '" "wxPrinter *""'");
27481 arg1
= reinterpret_cast< wxPrinter
* >(argp1
);
27482 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
27483 if (!SWIG_IsOK(res2
)) {
27484 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Printer_ReportError" "', expected argument " "2"" of type '" "wxWindow *""'");
27486 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
27487 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
27488 if (!SWIG_IsOK(res3
)) {
27489 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "Printer_ReportError" "', expected argument " "3"" of type '" "wxPyPrintout *""'");
27491 arg3
= reinterpret_cast< wxPyPrintout
* >(argp3
);
27493 arg4
= wxString_in_helper(obj3
);
27494 if (arg4
== NULL
) SWIG_fail
;
27498 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27499 (arg1
)->ReportError(arg2
,arg3
,(wxString
const &)*arg4
);
27500 wxPyEndAllowThreads(__tstate
);
27501 if (PyErr_Occurred()) SWIG_fail
;
27503 resultobj
= SWIG_Py_Void();
27518 SWIGINTERN PyObject
*_wrap_Printer_Setup(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27519 PyObject
*resultobj
= 0;
27520 wxPrinter
*arg1
= (wxPrinter
*) 0 ;
27521 wxWindow
*arg2
= (wxWindow
*) 0 ;
27527 PyObject
* obj0
= 0 ;
27528 PyObject
* obj1
= 0 ;
27529 char * kwnames
[] = {
27530 (char *) "self",(char *) "parent", NULL
27533 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Printer_Setup",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
27534 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrinter
, 0 | 0 );
27535 if (!SWIG_IsOK(res1
)) {
27536 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printer_Setup" "', expected argument " "1"" of type '" "wxPrinter *""'");
27538 arg1
= reinterpret_cast< wxPrinter
* >(argp1
);
27539 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
27540 if (!SWIG_IsOK(res2
)) {
27541 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Printer_Setup" "', expected argument " "2"" of type '" "wxWindow *""'");
27543 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
27545 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27546 result
= (bool)(arg1
)->Setup(arg2
);
27547 wxPyEndAllowThreads(__tstate
);
27548 if (PyErr_Occurred()) SWIG_fail
;
27551 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27559 SWIGINTERN PyObject
*_wrap_Printer_Print(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27560 PyObject
*resultobj
= 0;
27561 wxPrinter
*arg1
= (wxPrinter
*) 0 ;
27562 wxWindow
*arg2
= (wxWindow
*) 0 ;
27563 wxPyPrintout
*arg3
= (wxPyPrintout
*) 0 ;
27564 bool arg4
= (bool) true ;
27574 PyObject
* obj0
= 0 ;
27575 PyObject
* obj1
= 0 ;
27576 PyObject
* obj2
= 0 ;
27577 PyObject
* obj3
= 0 ;
27578 char * kwnames
[] = {
27579 (char *) "self",(char *) "parent",(char *) "printout",(char *) "prompt", NULL
27582 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Printer_Print",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
27583 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrinter
, 0 | 0 );
27584 if (!SWIG_IsOK(res1
)) {
27585 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printer_Print" "', expected argument " "1"" of type '" "wxPrinter *""'");
27587 arg1
= reinterpret_cast< wxPrinter
* >(argp1
);
27588 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
27589 if (!SWIG_IsOK(res2
)) {
27590 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Printer_Print" "', expected argument " "2"" of type '" "wxWindow *""'");
27592 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
27593 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
27594 if (!SWIG_IsOK(res3
)) {
27595 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "Printer_Print" "', expected argument " "3"" of type '" "wxPyPrintout *""'");
27597 arg3
= reinterpret_cast< wxPyPrintout
* >(argp3
);
27599 ecode4
= SWIG_AsVal_bool(obj3
, &val4
);
27600 if (!SWIG_IsOK(ecode4
)) {
27601 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Printer_Print" "', expected argument " "4"" of type '" "bool""'");
27603 arg4
= static_cast< bool >(val4
);
27606 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27607 result
= (bool)(arg1
)->Print(arg2
,arg3
,arg4
);
27608 wxPyEndAllowThreads(__tstate
);
27609 if (PyErr_Occurred()) SWIG_fail
;
27612 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27620 SWIGINTERN PyObject
*_wrap_Printer_PrintDialog(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27621 PyObject
*resultobj
= 0;
27622 wxPrinter
*arg1
= (wxPrinter
*) 0 ;
27623 wxWindow
*arg2
= (wxWindow
*) 0 ;
27629 PyObject
* obj0
= 0 ;
27630 PyObject
* obj1
= 0 ;
27631 char * kwnames
[] = {
27632 (char *) "self",(char *) "parent", NULL
27635 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Printer_PrintDialog",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
27636 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrinter
, 0 | 0 );
27637 if (!SWIG_IsOK(res1
)) {
27638 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printer_PrintDialog" "', expected argument " "1"" of type '" "wxPrinter *""'");
27640 arg1
= reinterpret_cast< wxPrinter
* >(argp1
);
27641 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
27642 if (!SWIG_IsOK(res2
)) {
27643 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Printer_PrintDialog" "', expected argument " "2"" of type '" "wxWindow *""'");
27645 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
27647 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27648 result
= (wxDC
*)(arg1
)->PrintDialog(arg2
);
27649 wxPyEndAllowThreads(__tstate
);
27650 if (PyErr_Occurred()) SWIG_fail
;
27653 resultobj
= wxPyMake_wxObject(result
, (bool)0);
27661 SWIGINTERN PyObject
*_wrap_Printer_GetPrintDialogData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27662 PyObject
*resultobj
= 0;
27663 wxPrinter
*arg1
= (wxPrinter
*) 0 ;
27664 wxPrintDialogData
*result
= 0 ;
27667 PyObject
*swig_obj
[1] ;
27669 if (!args
) SWIG_fail
;
27670 swig_obj
[0] = args
;
27671 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrinter
, 0 | 0 );
27672 if (!SWIG_IsOK(res1
)) {
27673 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printer_GetPrintDialogData" "', expected argument " "1"" of type '" "wxPrinter const *""'");
27675 arg1
= reinterpret_cast< wxPrinter
* >(argp1
);
27677 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27679 wxPrintDialogData
&_result_ref
= ((wxPrinter
const *)arg1
)->GetPrintDialogData();
27680 result
= (wxPrintDialogData
*) &_result_ref
;
27682 wxPyEndAllowThreads(__tstate
);
27683 if (PyErr_Occurred()) SWIG_fail
;
27685 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
27692 SWIGINTERN PyObject
*_wrap_Printer_GetAbort(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27693 PyObject
*resultobj
= 0;
27694 wxPrinter
*arg1
= (wxPrinter
*) 0 ;
27698 PyObject
*swig_obj
[1] ;
27700 if (!args
) SWIG_fail
;
27701 swig_obj
[0] = args
;
27702 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrinter
, 0 | 0 );
27703 if (!SWIG_IsOK(res1
)) {
27704 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printer_GetAbort" "', expected argument " "1"" of type '" "wxPrinter *""'");
27706 arg1
= reinterpret_cast< wxPrinter
* >(argp1
);
27708 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27709 result
= (bool)(arg1
)->GetAbort();
27710 wxPyEndAllowThreads(__tstate
);
27711 if (PyErr_Occurred()) SWIG_fail
;
27714 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27722 SWIGINTERN PyObject
*_wrap_Printer_GetLastError(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27723 PyObject
*resultobj
= 0;
27724 wxPrinterError result
;
27726 if (!SWIG_Python_UnpackTuple(args
,"Printer_GetLastError",0,0,0)) SWIG_fail
;
27728 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27729 result
= (wxPrinterError
)wxPrinter::GetLastError();
27730 wxPyEndAllowThreads(__tstate
);
27731 if (PyErr_Occurred()) SWIG_fail
;
27733 resultobj
= SWIG_From_int(static_cast< int >(result
));
27740 SWIGINTERN PyObject
*Printer_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27742 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
27743 SWIG_TypeNewClientData(SWIGTYPE_p_wxPrinter
, SWIG_NewClientData(obj
));
27744 return SWIG_Py_Void();
27747 SWIGINTERN PyObject
*Printer_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27748 return SWIG_Python_InitShadowInstance(args
);
27751 SWIGINTERN PyObject
*_wrap_new_Printout(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27752 PyObject
*resultobj
= 0;
27753 wxString
const &arg1_defvalue
= wxPyPrintoutTitleStr
;
27754 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
27755 wxPyPrintout
*result
= 0 ;
27756 bool temp1
= false ;
27757 PyObject
* obj0
= 0 ;
27758 char * kwnames
[] = {
27759 (char *) "title", NULL
27762 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_Printout",kwnames
,&obj0
)) SWIG_fail
;
27765 arg1
= wxString_in_helper(obj0
);
27766 if (arg1
== NULL
) SWIG_fail
;
27771 if (!wxPyCheckForApp()) SWIG_fail
;
27772 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27773 result
= (wxPyPrintout
*)new wxPyPrintout((wxString
const &)*arg1
);
27774 wxPyEndAllowThreads(__tstate
);
27775 if (PyErr_Occurred()) SWIG_fail
;
27777 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyPrintout
, SWIG_POINTER_NEW
| 0 );
27792 SWIGINTERN PyObject
*_wrap_delete_Printout(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27793 PyObject
*resultobj
= 0;
27794 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
27797 PyObject
*swig_obj
[1] ;
27799 if (!args
) SWIG_fail
;
27800 swig_obj
[0] = args
;
27801 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPrintout
, SWIG_POINTER_DISOWN
| 0 );
27802 if (!SWIG_IsOK(res1
)) {
27803 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_Printout" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
27805 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
27807 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27810 wxPyEndAllowThreads(__tstate
);
27811 if (PyErr_Occurred()) SWIG_fail
;
27813 resultobj
= SWIG_Py_Void();
27820 SWIGINTERN PyObject
*_wrap_Printout__setCallbackInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27821 PyObject
*resultobj
= 0;
27822 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
27823 PyObject
*arg2
= (PyObject
*) 0 ;
27824 PyObject
*arg3
= (PyObject
*) 0 ;
27827 PyObject
* obj0
= 0 ;
27828 PyObject
* obj1
= 0 ;
27829 PyObject
* obj2
= 0 ;
27830 char * kwnames
[] = {
27831 (char *) "self",(char *) "self",(char *) "_class", NULL
27834 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Printout__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
27835 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
27836 if (!SWIG_IsOK(res1
)) {
27837 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
27839 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
27843 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27844 (arg1
)->_setCallbackInfo(arg2
,arg3
);
27845 wxPyEndAllowThreads(__tstate
);
27846 if (PyErr_Occurred()) SWIG_fail
;
27848 resultobj
= SWIG_Py_Void();
27855 SWIGINTERN PyObject
*_wrap_Printout_GetTitle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27856 PyObject
*resultobj
= 0;
27857 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
27861 PyObject
*swig_obj
[1] ;
27863 if (!args
) SWIG_fail
;
27864 swig_obj
[0] = args
;
27865 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
27866 if (!SWIG_IsOK(res1
)) {
27867 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout_GetTitle" "', expected argument " "1"" of type '" "wxPyPrintout const *""'");
27869 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
27871 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27872 result
= ((wxPyPrintout
const *)arg1
)->GetTitle();
27873 wxPyEndAllowThreads(__tstate
);
27874 if (PyErr_Occurred()) SWIG_fail
;
27878 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
27880 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
27889 SWIGINTERN PyObject
*_wrap_Printout_GetDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27890 PyObject
*resultobj
= 0;
27891 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
27895 PyObject
*swig_obj
[1] ;
27897 if (!args
) SWIG_fail
;
27898 swig_obj
[0] = args
;
27899 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
27900 if (!SWIG_IsOK(res1
)) {
27901 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout_GetDC" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
27903 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
27905 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27906 result
= (wxDC
*)(arg1
)->GetDC();
27907 wxPyEndAllowThreads(__tstate
);
27908 if (PyErr_Occurred()) SWIG_fail
;
27911 resultobj
= wxPyMake_wxObject(result
, (bool)0);
27919 SWIGINTERN PyObject
*_wrap_Printout_SetDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27920 PyObject
*resultobj
= 0;
27921 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
27922 wxDC
*arg2
= (wxDC
*) 0 ;
27927 PyObject
* obj0
= 0 ;
27928 PyObject
* obj1
= 0 ;
27929 char * kwnames
[] = {
27930 (char *) "self",(char *) "dc", NULL
27933 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Printout_SetDC",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
27934 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
27935 if (!SWIG_IsOK(res1
)) {
27936 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout_SetDC" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
27938 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
27939 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxDC
, 0 | 0 );
27940 if (!SWIG_IsOK(res2
)) {
27941 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Printout_SetDC" "', expected argument " "2"" of type '" "wxDC *""'");
27943 arg2
= reinterpret_cast< wxDC
* >(argp2
);
27945 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27946 (arg1
)->SetDC(arg2
);
27947 wxPyEndAllowThreads(__tstate
);
27948 if (PyErr_Occurred()) SWIG_fail
;
27950 resultobj
= SWIG_Py_Void();
27957 SWIGINTERN PyObject
*_wrap_Printout_SetPageSizePixels(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27958 PyObject
*resultobj
= 0;
27959 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
27968 PyObject
* obj0
= 0 ;
27969 PyObject
* obj1
= 0 ;
27970 PyObject
* obj2
= 0 ;
27971 char * kwnames
[] = {
27972 (char *) "self",(char *) "w",(char *) "h", NULL
27975 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Printout_SetPageSizePixels",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
27976 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
27977 if (!SWIG_IsOK(res1
)) {
27978 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout_SetPageSizePixels" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
27980 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
27981 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
27982 if (!SWIG_IsOK(ecode2
)) {
27983 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Printout_SetPageSizePixels" "', expected argument " "2"" of type '" "int""'");
27985 arg2
= static_cast< int >(val2
);
27986 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
27987 if (!SWIG_IsOK(ecode3
)) {
27988 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Printout_SetPageSizePixels" "', expected argument " "3"" of type '" "int""'");
27990 arg3
= static_cast< int >(val3
);
27992 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27993 (arg1
)->SetPageSizePixels(arg2
,arg3
);
27994 wxPyEndAllowThreads(__tstate
);
27995 if (PyErr_Occurred()) SWIG_fail
;
27997 resultobj
= SWIG_Py_Void();
28004 SWIGINTERN PyObject
*_wrap_Printout_GetPageSizePixels(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28005 PyObject
*resultobj
= 0;
28006 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
28007 int *arg2
= (int *) 0 ;
28008 int *arg3
= (int *) 0 ;
28012 int res2
= SWIG_TMPOBJ
;
28014 int res3
= SWIG_TMPOBJ
;
28015 PyObject
*swig_obj
[1] ;
28019 if (!args
) SWIG_fail
;
28020 swig_obj
[0] = args
;
28021 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
28022 if (!SWIG_IsOK(res1
)) {
28023 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout_GetPageSizePixels" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
28025 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
28027 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28028 (arg1
)->GetPageSizePixels(arg2
,arg3
);
28029 wxPyEndAllowThreads(__tstate
);
28030 if (PyErr_Occurred()) SWIG_fail
;
28032 resultobj
= SWIG_Py_Void();
28033 if (SWIG_IsTmpObj(res2
)) {
28034 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
28036 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
28037 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
28039 if (SWIG_IsTmpObj(res3
)) {
28040 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
28042 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
28043 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
28051 SWIGINTERN PyObject
*_wrap_Printout_SetPageSizeMM(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28052 PyObject
*resultobj
= 0;
28053 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
28062 PyObject
* obj0
= 0 ;
28063 PyObject
* obj1
= 0 ;
28064 PyObject
* obj2
= 0 ;
28065 char * kwnames
[] = {
28066 (char *) "self",(char *) "w",(char *) "h", NULL
28069 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Printout_SetPageSizeMM",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
28070 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
28071 if (!SWIG_IsOK(res1
)) {
28072 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout_SetPageSizeMM" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
28074 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
28075 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
28076 if (!SWIG_IsOK(ecode2
)) {
28077 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Printout_SetPageSizeMM" "', expected argument " "2"" of type '" "int""'");
28079 arg2
= static_cast< int >(val2
);
28080 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
28081 if (!SWIG_IsOK(ecode3
)) {
28082 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Printout_SetPageSizeMM" "', expected argument " "3"" of type '" "int""'");
28084 arg3
= static_cast< int >(val3
);
28086 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28087 (arg1
)->SetPageSizeMM(arg2
,arg3
);
28088 wxPyEndAllowThreads(__tstate
);
28089 if (PyErr_Occurred()) SWIG_fail
;
28091 resultobj
= SWIG_Py_Void();
28098 SWIGINTERN PyObject
*_wrap_Printout_GetPageSizeMM(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28099 PyObject
*resultobj
= 0;
28100 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
28101 int *arg2
= (int *) 0 ;
28102 int *arg3
= (int *) 0 ;
28106 int res2
= SWIG_TMPOBJ
;
28108 int res3
= SWIG_TMPOBJ
;
28109 PyObject
*swig_obj
[1] ;
28113 if (!args
) SWIG_fail
;
28114 swig_obj
[0] = args
;
28115 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
28116 if (!SWIG_IsOK(res1
)) {
28117 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout_GetPageSizeMM" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
28119 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
28121 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28122 (arg1
)->GetPageSizeMM(arg2
,arg3
);
28123 wxPyEndAllowThreads(__tstate
);
28124 if (PyErr_Occurred()) SWIG_fail
;
28126 resultobj
= SWIG_Py_Void();
28127 if (SWIG_IsTmpObj(res2
)) {
28128 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
28130 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
28131 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
28133 if (SWIG_IsTmpObj(res3
)) {
28134 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
28136 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
28137 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
28145 SWIGINTERN PyObject
*_wrap_Printout_SetPPIScreen(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28146 PyObject
*resultobj
= 0;
28147 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
28156 PyObject
* obj0
= 0 ;
28157 PyObject
* obj1
= 0 ;
28158 PyObject
* obj2
= 0 ;
28159 char * kwnames
[] = {
28160 (char *) "self",(char *) "x",(char *) "y", NULL
28163 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Printout_SetPPIScreen",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
28164 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
28165 if (!SWIG_IsOK(res1
)) {
28166 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout_SetPPIScreen" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
28168 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
28169 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
28170 if (!SWIG_IsOK(ecode2
)) {
28171 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Printout_SetPPIScreen" "', expected argument " "2"" of type '" "int""'");
28173 arg2
= static_cast< int >(val2
);
28174 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
28175 if (!SWIG_IsOK(ecode3
)) {
28176 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Printout_SetPPIScreen" "', expected argument " "3"" of type '" "int""'");
28178 arg3
= static_cast< int >(val3
);
28180 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28181 (arg1
)->SetPPIScreen(arg2
,arg3
);
28182 wxPyEndAllowThreads(__tstate
);
28183 if (PyErr_Occurred()) SWIG_fail
;
28185 resultobj
= SWIG_Py_Void();
28192 SWIGINTERN PyObject
*_wrap_Printout_GetPPIScreen(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28193 PyObject
*resultobj
= 0;
28194 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
28195 int *arg2
= (int *) 0 ;
28196 int *arg3
= (int *) 0 ;
28200 int res2
= SWIG_TMPOBJ
;
28202 int res3
= SWIG_TMPOBJ
;
28203 PyObject
*swig_obj
[1] ;
28207 if (!args
) SWIG_fail
;
28208 swig_obj
[0] = args
;
28209 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
28210 if (!SWIG_IsOK(res1
)) {
28211 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout_GetPPIScreen" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
28213 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
28215 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28216 (arg1
)->GetPPIScreen(arg2
,arg3
);
28217 wxPyEndAllowThreads(__tstate
);
28218 if (PyErr_Occurred()) SWIG_fail
;
28220 resultobj
= SWIG_Py_Void();
28221 if (SWIG_IsTmpObj(res2
)) {
28222 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
28224 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
28225 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
28227 if (SWIG_IsTmpObj(res3
)) {
28228 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
28230 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
28231 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
28239 SWIGINTERN PyObject
*_wrap_Printout_SetPPIPrinter(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28240 PyObject
*resultobj
= 0;
28241 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
28250 PyObject
* obj0
= 0 ;
28251 PyObject
* obj1
= 0 ;
28252 PyObject
* obj2
= 0 ;
28253 char * kwnames
[] = {
28254 (char *) "self",(char *) "x",(char *) "y", NULL
28257 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Printout_SetPPIPrinter",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
28258 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
28259 if (!SWIG_IsOK(res1
)) {
28260 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout_SetPPIPrinter" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
28262 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
28263 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
28264 if (!SWIG_IsOK(ecode2
)) {
28265 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Printout_SetPPIPrinter" "', expected argument " "2"" of type '" "int""'");
28267 arg2
= static_cast< int >(val2
);
28268 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
28269 if (!SWIG_IsOK(ecode3
)) {
28270 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Printout_SetPPIPrinter" "', expected argument " "3"" of type '" "int""'");
28272 arg3
= static_cast< int >(val3
);
28274 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28275 (arg1
)->SetPPIPrinter(arg2
,arg3
);
28276 wxPyEndAllowThreads(__tstate
);
28277 if (PyErr_Occurred()) SWIG_fail
;
28279 resultobj
= SWIG_Py_Void();
28286 SWIGINTERN PyObject
*_wrap_Printout_GetPPIPrinter(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28287 PyObject
*resultobj
= 0;
28288 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
28289 int *arg2
= (int *) 0 ;
28290 int *arg3
= (int *) 0 ;
28294 int res2
= SWIG_TMPOBJ
;
28296 int res3
= SWIG_TMPOBJ
;
28297 PyObject
*swig_obj
[1] ;
28301 if (!args
) SWIG_fail
;
28302 swig_obj
[0] = args
;
28303 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
28304 if (!SWIG_IsOK(res1
)) {
28305 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout_GetPPIPrinter" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
28307 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
28309 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28310 (arg1
)->GetPPIPrinter(arg2
,arg3
);
28311 wxPyEndAllowThreads(__tstate
);
28312 if (PyErr_Occurred()) SWIG_fail
;
28314 resultobj
= SWIG_Py_Void();
28315 if (SWIG_IsTmpObj(res2
)) {
28316 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
28318 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
28319 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
28321 if (SWIG_IsTmpObj(res3
)) {
28322 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
28324 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
28325 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
28333 SWIGINTERN PyObject
*_wrap_Printout_IsPreview(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28334 PyObject
*resultobj
= 0;
28335 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
28339 PyObject
*swig_obj
[1] ;
28341 if (!args
) SWIG_fail
;
28342 swig_obj
[0] = args
;
28343 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
28344 if (!SWIG_IsOK(res1
)) {
28345 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout_IsPreview" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
28347 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
28349 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28350 result
= (bool)(arg1
)->IsPreview();
28351 wxPyEndAllowThreads(__tstate
);
28352 if (PyErr_Occurred()) SWIG_fail
;
28355 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28363 SWIGINTERN PyObject
*_wrap_Printout_SetIsPreview(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28364 PyObject
*resultobj
= 0;
28365 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
28371 PyObject
* obj0
= 0 ;
28372 PyObject
* obj1
= 0 ;
28373 char * kwnames
[] = {
28374 (char *) "self",(char *) "p", NULL
28377 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Printout_SetIsPreview",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
28378 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
28379 if (!SWIG_IsOK(res1
)) {
28380 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout_SetIsPreview" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
28382 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
28383 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
28384 if (!SWIG_IsOK(ecode2
)) {
28385 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Printout_SetIsPreview" "', expected argument " "2"" of type '" "bool""'");
28387 arg2
= static_cast< bool >(val2
);
28389 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28390 (arg1
)->SetIsPreview(arg2
);
28391 wxPyEndAllowThreads(__tstate
);
28392 if (PyErr_Occurred()) SWIG_fail
;
28394 resultobj
= SWIG_Py_Void();
28401 SWIGINTERN PyObject
*_wrap_Printout_OnBeginDocument(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28402 PyObject
*resultobj
= 0;
28403 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
28413 PyObject
* obj0
= 0 ;
28414 PyObject
* obj1
= 0 ;
28415 PyObject
* obj2
= 0 ;
28416 char * kwnames
[] = {
28417 (char *) "self",(char *) "startPage",(char *) "endPage", NULL
28420 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Printout_OnBeginDocument",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
28421 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
28422 if (!SWIG_IsOK(res1
)) {
28423 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout_OnBeginDocument" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
28425 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
28426 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
28427 if (!SWIG_IsOK(ecode2
)) {
28428 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Printout_OnBeginDocument" "', expected argument " "2"" of type '" "int""'");
28430 arg2
= static_cast< int >(val2
);
28431 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
28432 if (!SWIG_IsOK(ecode3
)) {
28433 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Printout_OnBeginDocument" "', expected argument " "3"" of type '" "int""'");
28435 arg3
= static_cast< int >(val3
);
28437 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28438 result
= (bool)(arg1
)->OnBeginDocument(arg2
,arg3
);
28439 wxPyEndAllowThreads(__tstate
);
28440 if (PyErr_Occurred()) SWIG_fail
;
28443 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28451 SWIGINTERN PyObject
*_wrap_Printout_OnEndDocument(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28452 PyObject
*resultobj
= 0;
28453 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
28456 PyObject
*swig_obj
[1] ;
28458 if (!args
) SWIG_fail
;
28459 swig_obj
[0] = args
;
28460 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
28461 if (!SWIG_IsOK(res1
)) {
28462 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout_OnEndDocument" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
28464 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
28466 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28467 (arg1
)->OnEndDocument();
28468 wxPyEndAllowThreads(__tstate
);
28469 if (PyErr_Occurred()) SWIG_fail
;
28471 resultobj
= SWIG_Py_Void();
28478 SWIGINTERN PyObject
*_wrap_Printout_OnBeginPrinting(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28479 PyObject
*resultobj
= 0;
28480 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
28483 PyObject
*swig_obj
[1] ;
28485 if (!args
) SWIG_fail
;
28486 swig_obj
[0] = args
;
28487 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
28488 if (!SWIG_IsOK(res1
)) {
28489 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout_OnBeginPrinting" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
28491 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
28493 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28494 (arg1
)->OnBeginPrinting();
28495 wxPyEndAllowThreads(__tstate
);
28496 if (PyErr_Occurred()) SWIG_fail
;
28498 resultobj
= SWIG_Py_Void();
28505 SWIGINTERN PyObject
*_wrap_Printout_OnEndPrinting(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28506 PyObject
*resultobj
= 0;
28507 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
28510 PyObject
*swig_obj
[1] ;
28512 if (!args
) SWIG_fail
;
28513 swig_obj
[0] = args
;
28514 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
28515 if (!SWIG_IsOK(res1
)) {
28516 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout_OnEndPrinting" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
28518 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
28520 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28521 (arg1
)->OnEndPrinting();
28522 wxPyEndAllowThreads(__tstate
);
28523 if (PyErr_Occurred()) SWIG_fail
;
28525 resultobj
= SWIG_Py_Void();
28532 SWIGINTERN PyObject
*_wrap_Printout_OnPreparePrinting(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28533 PyObject
*resultobj
= 0;
28534 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
28537 PyObject
*swig_obj
[1] ;
28539 if (!args
) SWIG_fail
;
28540 swig_obj
[0] = args
;
28541 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
28542 if (!SWIG_IsOK(res1
)) {
28543 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout_OnPreparePrinting" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
28545 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
28547 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28548 (arg1
)->OnPreparePrinting();
28549 wxPyEndAllowThreads(__tstate
);
28550 if (PyErr_Occurred()) SWIG_fail
;
28552 resultobj
= SWIG_Py_Void();
28559 SWIGINTERN PyObject
*_wrap_Printout_HasPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28560 PyObject
*resultobj
= 0;
28561 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
28568 PyObject
* obj0
= 0 ;
28569 PyObject
* obj1
= 0 ;
28570 char * kwnames
[] = {
28571 (char *) "self",(char *) "page", NULL
28574 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Printout_HasPage",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
28575 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
28576 if (!SWIG_IsOK(res1
)) {
28577 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout_HasPage" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
28579 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
28580 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
28581 if (!SWIG_IsOK(ecode2
)) {
28582 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Printout_HasPage" "', expected argument " "2"" of type '" "int""'");
28584 arg2
= static_cast< int >(val2
);
28586 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28587 result
= (bool)(arg1
)->HasPage(arg2
);
28588 wxPyEndAllowThreads(__tstate
);
28589 if (PyErr_Occurred()) SWIG_fail
;
28592 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28600 SWIGINTERN PyObject
*_wrap_Printout_GetPageInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28601 PyObject
*resultobj
= 0;
28602 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
28603 int *arg2
= (int *) 0 ;
28604 int *arg3
= (int *) 0 ;
28605 int *arg4
= (int *) 0 ;
28606 int *arg5
= (int *) 0 ;
28610 int res2
= SWIG_TMPOBJ
;
28612 int res3
= SWIG_TMPOBJ
;
28614 int res4
= SWIG_TMPOBJ
;
28616 int res5
= SWIG_TMPOBJ
;
28617 PyObject
*swig_obj
[1] ;
28623 if (!args
) SWIG_fail
;
28624 swig_obj
[0] = args
;
28625 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
28626 if (!SWIG_IsOK(res1
)) {
28627 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout_GetPageInfo" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
28629 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
28631 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28632 (arg1
)->GetPageInfo(arg2
,arg3
,arg4
,arg5
);
28633 wxPyEndAllowThreads(__tstate
);
28634 if (PyErr_Occurred()) SWIG_fail
;
28636 resultobj
= SWIG_Py_Void();
28637 if (SWIG_IsTmpObj(res2
)) {
28638 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
28640 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
28641 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
28643 if (SWIG_IsTmpObj(res3
)) {
28644 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
28646 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
28647 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
28649 if (SWIG_IsTmpObj(res4
)) {
28650 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg4
)));
28652 int new_flags
= SWIG_IsNewObj(res4
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
28653 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_int
, new_flags
));
28655 if (SWIG_IsTmpObj(res5
)) {
28656 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg5
)));
28658 int new_flags
= SWIG_IsNewObj(res5
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
28659 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg5
), SWIGTYPE_p_int
, new_flags
));
28667 SWIGINTERN PyObject
*Printout_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28669 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
28670 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyPrintout
, SWIG_NewClientData(obj
));
28671 return SWIG_Py_Void();
28674 SWIGINTERN PyObject
*Printout_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28675 return SWIG_Python_InitShadowInstance(args
);
28678 SWIGINTERN PyObject
*_wrap_new_PreviewCanvas(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28679 PyObject
*resultobj
= 0;
28680 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
28681 wxWindow
*arg2
= (wxWindow
*) 0 ;
28682 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
28683 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
28684 wxSize
const &arg4_defvalue
= wxDefaultSize
;
28685 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
28686 long arg5
= (long) 0 ;
28687 wxString
const &arg6_defvalue
= wxPyPreviewCanvasNameStr
;
28688 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
28689 wxPreviewCanvas
*result
= 0 ;
28698 bool temp6
= false ;
28699 PyObject
* obj0
= 0 ;
28700 PyObject
* obj1
= 0 ;
28701 PyObject
* obj2
= 0 ;
28702 PyObject
* obj3
= 0 ;
28703 PyObject
* obj4
= 0 ;
28704 PyObject
* obj5
= 0 ;
28705 char * kwnames
[] = {
28706 (char *) "preview",(char *) "parent",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
28709 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOO:new_PreviewCanvas",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
28710 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintPreview
, 0 | 0 );
28711 if (!SWIG_IsOK(res1
)) {
28712 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PreviewCanvas" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
28714 arg1
= reinterpret_cast< wxPrintPreview
* >(argp1
);
28715 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
28716 if (!SWIG_IsOK(res2
)) {
28717 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_PreviewCanvas" "', expected argument " "2"" of type '" "wxWindow *""'");
28719 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
28723 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
28729 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
28733 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
28734 if (!SWIG_IsOK(ecode5
)) {
28735 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_PreviewCanvas" "', expected argument " "5"" of type '" "long""'");
28737 arg5
= static_cast< long >(val5
);
28741 arg6
= wxString_in_helper(obj5
);
28742 if (arg6
== NULL
) SWIG_fail
;
28747 if (!wxPyCheckForApp()) SWIG_fail
;
28748 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28749 result
= (wxPreviewCanvas
*)new wxPreviewCanvas(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
28750 wxPyEndAllowThreads(__tstate
);
28751 if (PyErr_Occurred()) SWIG_fail
;
28753 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPreviewCanvas
, SWIG_POINTER_NEW
| 0 );
28768 SWIGINTERN PyObject
*PreviewCanvas_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28770 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
28771 SWIG_TypeNewClientData(SWIGTYPE_p_wxPreviewCanvas
, SWIG_NewClientData(obj
));
28772 return SWIG_Py_Void();
28775 SWIGINTERN PyObject
*PreviewCanvas_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28776 return SWIG_Python_InitShadowInstance(args
);
28779 SWIGINTERN PyObject
*_wrap_new_PreviewFrame(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28780 PyObject
*resultobj
= 0;
28781 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
28782 wxFrame
*arg2
= (wxFrame
*) 0 ;
28783 wxString
*arg3
= 0 ;
28784 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
28785 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
28786 wxSize
const &arg5_defvalue
= wxDefaultSize
;
28787 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
28788 long arg6
= (long) wxDEFAULT_FRAME_STYLE
;
28789 wxString
const &arg7_defvalue
= wxPyFrameNameStr
;
28790 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
28791 wxPreviewFrame
*result
= 0 ;
28795 bool temp3
= false ;
28800 bool temp7
= false ;
28801 PyObject
* obj0
= 0 ;
28802 PyObject
* obj1
= 0 ;
28803 PyObject
* obj2
= 0 ;
28804 PyObject
* obj3
= 0 ;
28805 PyObject
* obj4
= 0 ;
28806 PyObject
* obj5
= 0 ;
28807 PyObject
* obj6
= 0 ;
28808 char * kwnames
[] = {
28809 (char *) "preview",(char *) "parent",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
28812 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:new_PreviewFrame",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
28813 res1
= SWIG_ConvertPtr(obj0
, SWIG_as_voidptrptr(&arg1
), SWIGTYPE_p_wxPrintPreview
, SWIG_POINTER_DISOWN
| 0 );
28814 if (!SWIG_IsOK(res1
)) {
28815 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PreviewFrame" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
28817 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxFrame
, 0 | 0 );
28818 if (!SWIG_IsOK(res2
)) {
28819 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_PreviewFrame" "', expected argument " "2"" of type '" "wxFrame *""'");
28821 arg2
= reinterpret_cast< wxFrame
* >(argp2
);
28823 arg3
= wxString_in_helper(obj2
);
28824 if (arg3
== NULL
) SWIG_fail
;
28830 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
28836 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
28840 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
28841 if (!SWIG_IsOK(ecode6
)) {
28842 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_PreviewFrame" "', expected argument " "6"" of type '" "long""'");
28844 arg6
= static_cast< long >(val6
);
28848 arg7
= wxString_in_helper(obj6
);
28849 if (arg7
== NULL
) SWIG_fail
;
28854 if (!wxPyCheckForApp()) SWIG_fail
;
28855 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28856 result
= (wxPreviewFrame
*)new wxPreviewFrame(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
28857 wxPyEndAllowThreads(__tstate
);
28858 if (PyErr_Occurred()) SWIG_fail
;
28860 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPreviewFrame
, SWIG_POINTER_NEW
| 0 );
28883 SWIGINTERN PyObject
*_wrap_PreviewFrame_Initialize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28884 PyObject
*resultobj
= 0;
28885 wxPreviewFrame
*arg1
= (wxPreviewFrame
*) 0 ;
28888 PyObject
*swig_obj
[1] ;
28890 if (!args
) SWIG_fail
;
28891 swig_obj
[0] = args
;
28892 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPreviewFrame
, 0 | 0 );
28893 if (!SWIG_IsOK(res1
)) {
28894 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PreviewFrame_Initialize" "', expected argument " "1"" of type '" "wxPreviewFrame *""'");
28896 arg1
= reinterpret_cast< wxPreviewFrame
* >(argp1
);
28898 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28899 (arg1
)->Initialize();
28900 wxPyEndAllowThreads(__tstate
);
28901 if (PyErr_Occurred()) SWIG_fail
;
28903 resultobj
= SWIG_Py_Void();
28910 SWIGINTERN PyObject
*_wrap_PreviewFrame_CreateControlBar(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28911 PyObject
*resultobj
= 0;
28912 wxPreviewFrame
*arg1
= (wxPreviewFrame
*) 0 ;
28915 PyObject
*swig_obj
[1] ;
28917 if (!args
) SWIG_fail
;
28918 swig_obj
[0] = args
;
28919 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPreviewFrame
, 0 | 0 );
28920 if (!SWIG_IsOK(res1
)) {
28921 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PreviewFrame_CreateControlBar" "', expected argument " "1"" of type '" "wxPreviewFrame *""'");
28923 arg1
= reinterpret_cast< wxPreviewFrame
* >(argp1
);
28925 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28926 (arg1
)->CreateControlBar();
28927 wxPyEndAllowThreads(__tstate
);
28928 if (PyErr_Occurred()) SWIG_fail
;
28930 resultobj
= SWIG_Py_Void();
28937 SWIGINTERN PyObject
*_wrap_PreviewFrame_CreateCanvas(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28938 PyObject
*resultobj
= 0;
28939 wxPreviewFrame
*arg1
= (wxPreviewFrame
*) 0 ;
28942 PyObject
*swig_obj
[1] ;
28944 if (!args
) SWIG_fail
;
28945 swig_obj
[0] = args
;
28946 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPreviewFrame
, 0 | 0 );
28947 if (!SWIG_IsOK(res1
)) {
28948 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PreviewFrame_CreateCanvas" "', expected argument " "1"" of type '" "wxPreviewFrame *""'");
28950 arg1
= reinterpret_cast< wxPreviewFrame
* >(argp1
);
28952 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28953 (arg1
)->CreateCanvas();
28954 wxPyEndAllowThreads(__tstate
);
28955 if (PyErr_Occurred()) SWIG_fail
;
28957 resultobj
= SWIG_Py_Void();
28964 SWIGINTERN PyObject
*_wrap_PreviewFrame_GetControlBar(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28965 PyObject
*resultobj
= 0;
28966 wxPreviewFrame
*arg1
= (wxPreviewFrame
*) 0 ;
28967 wxPreviewControlBar
*result
= 0 ;
28970 PyObject
*swig_obj
[1] ;
28972 if (!args
) SWIG_fail
;
28973 swig_obj
[0] = args
;
28974 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPreviewFrame
, 0 | 0 );
28975 if (!SWIG_IsOK(res1
)) {
28976 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PreviewFrame_GetControlBar" "', expected argument " "1"" of type '" "wxPreviewFrame const *""'");
28978 arg1
= reinterpret_cast< wxPreviewFrame
* >(argp1
);
28980 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28981 result
= (wxPreviewControlBar
*)((wxPreviewFrame
const *)arg1
)->GetControlBar();
28982 wxPyEndAllowThreads(__tstate
);
28983 if (PyErr_Occurred()) SWIG_fail
;
28985 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPreviewControlBar
, 0 | 0 );
28992 SWIGINTERN PyObject
*PreviewFrame_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28994 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
28995 SWIG_TypeNewClientData(SWIGTYPE_p_wxPreviewFrame
, SWIG_NewClientData(obj
));
28996 return SWIG_Py_Void();
28999 SWIGINTERN PyObject
*PreviewFrame_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29000 return SWIG_Python_InitShadowInstance(args
);
29003 SWIGINTERN PyObject
*_wrap_new_PreviewControlBar(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29004 PyObject
*resultobj
= 0;
29005 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
29007 wxWindow
*arg3
= (wxWindow
*) 0 ;
29008 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
29009 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
29010 wxSize
const &arg5_defvalue
= wxDefaultSize
;
29011 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
29012 long arg6
= (long) wxTAB_TRAVERSAL
;
29013 wxString
const &arg7_defvalue
= wxPyPanelNameStr
;
29014 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
29015 wxPreviewControlBar
*result
= 0 ;
29026 bool temp7
= false ;
29027 PyObject
* obj0
= 0 ;
29028 PyObject
* obj1
= 0 ;
29029 PyObject
* obj2
= 0 ;
29030 PyObject
* obj3
= 0 ;
29031 PyObject
* obj4
= 0 ;
29032 PyObject
* obj5
= 0 ;
29033 PyObject
* obj6
= 0 ;
29034 char * kwnames
[] = {
29035 (char *) "preview",(char *) "buttons",(char *) "parent",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
29038 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:new_PreviewControlBar",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
29039 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintPreview
, 0 | 0 );
29040 if (!SWIG_IsOK(res1
)) {
29041 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PreviewControlBar" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
29043 arg1
= reinterpret_cast< wxPrintPreview
* >(argp1
);
29044 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
29045 if (!SWIG_IsOK(ecode2
)) {
29046 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_PreviewControlBar" "', expected argument " "2"" of type '" "long""'");
29048 arg2
= static_cast< long >(val2
);
29049 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxWindow
, 0 | 0 );
29050 if (!SWIG_IsOK(res3
)) {
29051 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "new_PreviewControlBar" "', expected argument " "3"" of type '" "wxWindow *""'");
29053 arg3
= reinterpret_cast< wxWindow
* >(argp3
);
29057 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
29063 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
29067 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
29068 if (!SWIG_IsOK(ecode6
)) {
29069 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_PreviewControlBar" "', expected argument " "6"" of type '" "long""'");
29071 arg6
= static_cast< long >(val6
);
29075 arg7
= wxString_in_helper(obj6
);
29076 if (arg7
== NULL
) SWIG_fail
;
29081 if (!wxPyCheckForApp()) SWIG_fail
;
29082 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29083 result
= (wxPreviewControlBar
*)new wxPreviewControlBar(arg1
,arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
29084 wxPyEndAllowThreads(__tstate
);
29085 if (PyErr_Occurred()) SWIG_fail
;
29087 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPreviewControlBar
, SWIG_POINTER_NEW
| 0 );
29102 SWIGINTERN PyObject
*_wrap_PreviewControlBar_GetZoomControl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29103 PyObject
*resultobj
= 0;
29104 wxPreviewControlBar
*arg1
= (wxPreviewControlBar
*) 0 ;
29108 PyObject
*swig_obj
[1] ;
29110 if (!args
) SWIG_fail
;
29111 swig_obj
[0] = args
;
29112 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPreviewControlBar
, 0 | 0 );
29113 if (!SWIG_IsOK(res1
)) {
29114 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PreviewControlBar_GetZoomControl" "', expected argument " "1"" of type '" "wxPreviewControlBar *""'");
29116 arg1
= reinterpret_cast< wxPreviewControlBar
* >(argp1
);
29118 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29119 result
= (int)(arg1
)->GetZoomControl();
29120 wxPyEndAllowThreads(__tstate
);
29121 if (PyErr_Occurred()) SWIG_fail
;
29123 resultobj
= SWIG_From_int(static_cast< int >(result
));
29130 SWIGINTERN PyObject
*_wrap_PreviewControlBar_SetZoomControl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29131 PyObject
*resultobj
= 0;
29132 wxPreviewControlBar
*arg1
= (wxPreviewControlBar
*) 0 ;
29138 PyObject
* obj0
= 0 ;
29139 PyObject
* obj1
= 0 ;
29140 char * kwnames
[] = {
29141 (char *) "self",(char *) "zoom", NULL
29144 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PreviewControlBar_SetZoomControl",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
29145 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPreviewControlBar
, 0 | 0 );
29146 if (!SWIG_IsOK(res1
)) {
29147 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PreviewControlBar_SetZoomControl" "', expected argument " "1"" of type '" "wxPreviewControlBar *""'");
29149 arg1
= reinterpret_cast< wxPreviewControlBar
* >(argp1
);
29150 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
29151 if (!SWIG_IsOK(ecode2
)) {
29152 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PreviewControlBar_SetZoomControl" "', expected argument " "2"" of type '" "int""'");
29154 arg2
= static_cast< int >(val2
);
29156 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29157 (arg1
)->SetZoomControl(arg2
);
29158 wxPyEndAllowThreads(__tstate
);
29159 if (PyErr_Occurred()) SWIG_fail
;
29161 resultobj
= SWIG_Py_Void();
29168 SWIGINTERN PyObject
*_wrap_PreviewControlBar_GetPrintPreview(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29169 PyObject
*resultobj
= 0;
29170 wxPreviewControlBar
*arg1
= (wxPreviewControlBar
*) 0 ;
29171 wxPrintPreview
*result
= 0 ;
29174 PyObject
*swig_obj
[1] ;
29176 if (!args
) SWIG_fail
;
29177 swig_obj
[0] = args
;
29178 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPreviewControlBar
, 0 | 0 );
29179 if (!SWIG_IsOK(res1
)) {
29180 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PreviewControlBar_GetPrintPreview" "', expected argument " "1"" of type '" "wxPreviewControlBar *""'");
29182 arg1
= reinterpret_cast< wxPreviewControlBar
* >(argp1
);
29184 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29185 result
= (wxPrintPreview
*)(arg1
)->GetPrintPreview();
29186 wxPyEndAllowThreads(__tstate
);
29187 if (PyErr_Occurred()) SWIG_fail
;
29189 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPrintPreview
, 0 | 0 );
29196 SWIGINTERN PyObject
*_wrap_PreviewControlBar_OnNext(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29197 PyObject
*resultobj
= 0;
29198 wxPreviewControlBar
*arg1
= (wxPreviewControlBar
*) 0 ;
29201 PyObject
*swig_obj
[1] ;
29203 if (!args
) SWIG_fail
;
29204 swig_obj
[0] = args
;
29205 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPreviewControlBar
, 0 | 0 );
29206 if (!SWIG_IsOK(res1
)) {
29207 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PreviewControlBar_OnNext" "', expected argument " "1"" of type '" "wxPreviewControlBar *""'");
29209 arg1
= reinterpret_cast< wxPreviewControlBar
* >(argp1
);
29211 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29213 wxPyEndAllowThreads(__tstate
);
29214 if (PyErr_Occurred()) SWIG_fail
;
29216 resultobj
= SWIG_Py_Void();
29223 SWIGINTERN PyObject
*_wrap_PreviewControlBar_OnPrevious(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29224 PyObject
*resultobj
= 0;
29225 wxPreviewControlBar
*arg1
= (wxPreviewControlBar
*) 0 ;
29228 PyObject
*swig_obj
[1] ;
29230 if (!args
) SWIG_fail
;
29231 swig_obj
[0] = args
;
29232 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPreviewControlBar
, 0 | 0 );
29233 if (!SWIG_IsOK(res1
)) {
29234 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PreviewControlBar_OnPrevious" "', expected argument " "1"" of type '" "wxPreviewControlBar *""'");
29236 arg1
= reinterpret_cast< wxPreviewControlBar
* >(argp1
);
29238 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29239 (arg1
)->OnPrevious();
29240 wxPyEndAllowThreads(__tstate
);
29241 if (PyErr_Occurred()) SWIG_fail
;
29243 resultobj
= SWIG_Py_Void();
29250 SWIGINTERN PyObject
*_wrap_PreviewControlBar_OnFirst(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29251 PyObject
*resultobj
= 0;
29252 wxPreviewControlBar
*arg1
= (wxPreviewControlBar
*) 0 ;
29255 PyObject
*swig_obj
[1] ;
29257 if (!args
) SWIG_fail
;
29258 swig_obj
[0] = args
;
29259 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPreviewControlBar
, 0 | 0 );
29260 if (!SWIG_IsOK(res1
)) {
29261 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PreviewControlBar_OnFirst" "', expected argument " "1"" of type '" "wxPreviewControlBar *""'");
29263 arg1
= reinterpret_cast< wxPreviewControlBar
* >(argp1
);
29265 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29267 wxPyEndAllowThreads(__tstate
);
29268 if (PyErr_Occurred()) SWIG_fail
;
29270 resultobj
= SWIG_Py_Void();
29277 SWIGINTERN PyObject
*_wrap_PreviewControlBar_OnLast(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29278 PyObject
*resultobj
= 0;
29279 wxPreviewControlBar
*arg1
= (wxPreviewControlBar
*) 0 ;
29282 PyObject
*swig_obj
[1] ;
29284 if (!args
) SWIG_fail
;
29285 swig_obj
[0] = args
;
29286 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPreviewControlBar
, 0 | 0 );
29287 if (!SWIG_IsOK(res1
)) {
29288 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PreviewControlBar_OnLast" "', expected argument " "1"" of type '" "wxPreviewControlBar *""'");
29290 arg1
= reinterpret_cast< wxPreviewControlBar
* >(argp1
);
29292 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29294 wxPyEndAllowThreads(__tstate
);
29295 if (PyErr_Occurred()) SWIG_fail
;
29297 resultobj
= SWIG_Py_Void();
29304 SWIGINTERN PyObject
*_wrap_PreviewControlBar_OnGoto(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29305 PyObject
*resultobj
= 0;
29306 wxPreviewControlBar
*arg1
= (wxPreviewControlBar
*) 0 ;
29309 PyObject
*swig_obj
[1] ;
29311 if (!args
) SWIG_fail
;
29312 swig_obj
[0] = args
;
29313 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPreviewControlBar
, 0 | 0 );
29314 if (!SWIG_IsOK(res1
)) {
29315 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PreviewControlBar_OnGoto" "', expected argument " "1"" of type '" "wxPreviewControlBar *""'");
29317 arg1
= reinterpret_cast< wxPreviewControlBar
* >(argp1
);
29319 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29321 wxPyEndAllowThreads(__tstate
);
29322 if (PyErr_Occurred()) SWIG_fail
;
29324 resultobj
= SWIG_Py_Void();
29331 SWIGINTERN PyObject
*PreviewControlBar_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29333 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
29334 SWIG_TypeNewClientData(SWIGTYPE_p_wxPreviewControlBar
, SWIG_NewClientData(obj
));
29335 return SWIG_Py_Void();
29338 SWIGINTERN PyObject
*PreviewControlBar_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29339 return SWIG_Python_InitShadowInstance(args
);
29342 SWIGINTERN PyObject
*_wrap_new_PrintPreview__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
29343 PyObject
*resultobj
= 0;
29344 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
29345 wxPyPrintout
*arg2
= (wxPyPrintout
*) 0 ;
29346 wxPrintDialogData
*arg3
= (wxPrintDialogData
*) NULL
;
29347 wxPrintPreview
*result
= 0 ;
29353 if ((nobjs
< 2) || (nobjs
> 3)) SWIG_fail
;
29354 res1
= SWIG_ConvertPtr(swig_obj
[0], SWIG_as_voidptrptr(&arg1
), SWIGTYPE_p_wxPyPrintout
, SWIG_POINTER_DISOWN
| 0 );
29355 if (!SWIG_IsOK(res1
)) {
29356 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PrintPreview" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
29358 res2
= SWIG_ConvertPtr(swig_obj
[1], SWIG_as_voidptrptr(&arg2
), SWIGTYPE_p_wxPyPrintout
, SWIG_POINTER_DISOWN
| 0 );
29359 if (!SWIG_IsOK(res2
)) {
29360 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_PrintPreview" "', expected argument " "2"" of type '" "wxPyPrintout *""'");
29363 res3
= SWIG_ConvertPtr(swig_obj
[2], &argp3
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
29364 if (!SWIG_IsOK(res3
)) {
29365 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "new_PrintPreview" "', expected argument " "3"" of type '" "wxPrintDialogData *""'");
29367 arg3
= reinterpret_cast< wxPrintDialogData
* >(argp3
);
29370 if (!wxPyCheckForApp()) SWIG_fail
;
29371 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29372 result
= (wxPrintPreview
*)new wxPrintPreview(arg1
,arg2
,arg3
);
29373 wxPyEndAllowThreads(__tstate
);
29374 if (PyErr_Occurred()) SWIG_fail
;
29376 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPrintPreview
, SWIG_POINTER_NEW
| 0 );
29383 SWIGINTERN PyObject
*_wrap_new_PrintPreview__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
29384 PyObject
*resultobj
= 0;
29385 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
29386 wxPyPrintout
*arg2
= (wxPyPrintout
*) 0 ;
29387 wxPrintData
*arg3
= (wxPrintData
*) 0 ;
29388 wxPrintPreview
*result
= 0 ;
29394 if ((nobjs
< 3) || (nobjs
> 3)) SWIG_fail
;
29395 res1
= SWIG_ConvertPtr(swig_obj
[0], SWIG_as_voidptrptr(&arg1
), SWIGTYPE_p_wxPyPrintout
, SWIG_POINTER_DISOWN
| 0 );
29396 if (!SWIG_IsOK(res1
)) {
29397 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PrintPreview" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
29399 res2
= SWIG_ConvertPtr(swig_obj
[1], SWIG_as_voidptrptr(&arg2
), SWIGTYPE_p_wxPyPrintout
, SWIG_POINTER_DISOWN
| 0 );
29400 if (!SWIG_IsOK(res2
)) {
29401 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_PrintPreview" "', expected argument " "2"" of type '" "wxPyPrintout *""'");
29403 res3
= SWIG_ConvertPtr(swig_obj
[2], &argp3
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
29404 if (!SWIG_IsOK(res3
)) {
29405 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "new_PrintPreview" "', expected argument " "3"" of type '" "wxPrintData *""'");
29407 arg3
= reinterpret_cast< wxPrintData
* >(argp3
);
29409 if (!wxPyCheckForApp()) SWIG_fail
;
29410 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29411 result
= (wxPrintPreview
*)new wxPrintPreview(arg1
,arg2
,arg3
);
29412 wxPyEndAllowThreads(__tstate
);
29413 if (PyErr_Occurred()) SWIG_fail
;
29415 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPrintPreview
, SWIG_POINTER_NEW
| 0 );
29422 SWIGINTERN PyObject
*_wrap_new_PrintPreview(PyObject
*self
, PyObject
*args
) {
29426 if (!(argc
= SWIG_Python_UnpackTuple(args
,"new_PrintPreview",0,3,argv
))) SWIG_fail
;
29428 if ((argc
>= 2) && (argc
<= 3)) {
29433 int res
= SWIG_ConvertPtr(argv
[2], &vptr
, SWIGTYPE_p_wxPrintDialogData
, 0);
29434 _v
= SWIG_CheckState(res
);
29436 if (!_v
) goto check_1
;
29438 return _wrap_new_PrintPreview__SWIG_0(self
, argc
, argv
);
29443 return _wrap_new_PrintPreview__SWIG_1(self
, argc
, argv
);
29447 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'new_PrintPreview'");
29452 SWIGINTERN PyObject
*_wrap_delete_PrintPreview(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29453 PyObject
*resultobj
= 0;
29454 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
29457 PyObject
*swig_obj
[1] ;
29459 if (!args
) SWIG_fail
;
29460 swig_obj
[0] = args
;
29461 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintPreview
, SWIG_POINTER_DISOWN
| 0 );
29462 if (!SWIG_IsOK(res1
)) {
29463 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_PrintPreview" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
29465 arg1
= reinterpret_cast< wxPrintPreview
* >(argp1
);
29467 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29470 wxPyEndAllowThreads(__tstate
);
29471 if (PyErr_Occurred()) SWIG_fail
;
29473 resultobj
= SWIG_Py_Void();
29480 SWIGINTERN PyObject
*_wrap_PrintPreview_SetCurrentPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29481 PyObject
*resultobj
= 0;
29482 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
29489 PyObject
* obj0
= 0 ;
29490 PyObject
* obj1
= 0 ;
29491 char * kwnames
[] = {
29492 (char *) "self",(char *) "pageNum", NULL
29495 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintPreview_SetCurrentPage",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
29496 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintPreview
, 0 | 0 );
29497 if (!SWIG_IsOK(res1
)) {
29498 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintPreview_SetCurrentPage" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
29500 arg1
= reinterpret_cast< wxPrintPreview
* >(argp1
);
29501 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
29502 if (!SWIG_IsOK(ecode2
)) {
29503 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintPreview_SetCurrentPage" "', expected argument " "2"" of type '" "int""'");
29505 arg2
= static_cast< int >(val2
);
29507 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29508 result
= (bool)(arg1
)->SetCurrentPage(arg2
);
29509 wxPyEndAllowThreads(__tstate
);
29510 if (PyErr_Occurred()) SWIG_fail
;
29513 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29521 SWIGINTERN PyObject
*_wrap_PrintPreview_GetCurrentPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29522 PyObject
*resultobj
= 0;
29523 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
29527 PyObject
*swig_obj
[1] ;
29529 if (!args
) SWIG_fail
;
29530 swig_obj
[0] = args
;
29531 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintPreview
, 0 | 0 );
29532 if (!SWIG_IsOK(res1
)) {
29533 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintPreview_GetCurrentPage" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
29535 arg1
= reinterpret_cast< wxPrintPreview
* >(argp1
);
29537 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29538 result
= (int)(arg1
)->GetCurrentPage();
29539 wxPyEndAllowThreads(__tstate
);
29540 if (PyErr_Occurred()) SWIG_fail
;
29542 resultobj
= SWIG_From_int(static_cast< int >(result
));
29549 SWIGINTERN PyObject
*_wrap_PrintPreview_SetPrintout(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29550 PyObject
*resultobj
= 0;
29551 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
29552 wxPyPrintout
*arg2
= (wxPyPrintout
*) 0 ;
29556 PyObject
* obj0
= 0 ;
29557 PyObject
* obj1
= 0 ;
29558 char * kwnames
[] = {
29559 (char *) "self",(char *) "printout", NULL
29562 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintPreview_SetPrintout",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
29563 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintPreview
, 0 | 0 );
29564 if (!SWIG_IsOK(res1
)) {
29565 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintPreview_SetPrintout" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
29567 arg1
= reinterpret_cast< wxPrintPreview
* >(argp1
);
29568 res2
= SWIG_ConvertPtr(obj1
, SWIG_as_voidptrptr(&arg2
), SWIGTYPE_p_wxPyPrintout
, SWIG_POINTER_DISOWN
| 0 );
29569 if (!SWIG_IsOK(res2
)) {
29570 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PrintPreview_SetPrintout" "', expected argument " "2"" of type '" "wxPyPrintout *""'");
29573 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29574 (arg1
)->SetPrintout(arg2
);
29575 wxPyEndAllowThreads(__tstate
);
29576 if (PyErr_Occurred()) SWIG_fail
;
29578 resultobj
= SWIG_Py_Void();
29585 SWIGINTERN PyObject
*_wrap_PrintPreview_GetPrintout(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29586 PyObject
*resultobj
= 0;
29587 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
29588 wxPyPrintout
*result
= 0 ;
29591 PyObject
*swig_obj
[1] ;
29593 if (!args
) SWIG_fail
;
29594 swig_obj
[0] = args
;
29595 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintPreview
, 0 | 0 );
29596 if (!SWIG_IsOK(res1
)) {
29597 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintPreview_GetPrintout" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
29599 arg1
= reinterpret_cast< wxPrintPreview
* >(argp1
);
29601 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29602 result
= (wxPyPrintout
*)(arg1
)->GetPrintout();
29603 wxPyEndAllowThreads(__tstate
);
29604 if (PyErr_Occurred()) SWIG_fail
;
29607 resultobj
= wxPyMake_wxObject(result
, 0);
29615 SWIGINTERN PyObject
*_wrap_PrintPreview_GetPrintoutForPrinting(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29616 PyObject
*resultobj
= 0;
29617 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
29618 wxPyPrintout
*result
= 0 ;
29621 PyObject
*swig_obj
[1] ;
29623 if (!args
) SWIG_fail
;
29624 swig_obj
[0] = args
;
29625 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintPreview
, 0 | 0 );
29626 if (!SWIG_IsOK(res1
)) {
29627 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintPreview_GetPrintoutForPrinting" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
29629 arg1
= reinterpret_cast< wxPrintPreview
* >(argp1
);
29631 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29632 result
= (wxPyPrintout
*)(arg1
)->GetPrintoutForPrinting();
29633 wxPyEndAllowThreads(__tstate
);
29634 if (PyErr_Occurred()) SWIG_fail
;
29637 resultobj
= wxPyMake_wxObject(result
, 0);
29645 SWIGINTERN PyObject
*_wrap_PrintPreview_SetFrame(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29646 PyObject
*resultobj
= 0;
29647 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
29648 wxFrame
*arg2
= (wxFrame
*) 0 ;
29653 PyObject
* obj0
= 0 ;
29654 PyObject
* obj1
= 0 ;
29655 char * kwnames
[] = {
29656 (char *) "self",(char *) "frame", NULL
29659 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintPreview_SetFrame",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
29660 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintPreview
, 0 | 0 );
29661 if (!SWIG_IsOK(res1
)) {
29662 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintPreview_SetFrame" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
29664 arg1
= reinterpret_cast< wxPrintPreview
* >(argp1
);
29665 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxFrame
, 0 | 0 );
29666 if (!SWIG_IsOK(res2
)) {
29667 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PrintPreview_SetFrame" "', expected argument " "2"" of type '" "wxFrame *""'");
29669 arg2
= reinterpret_cast< wxFrame
* >(argp2
);
29671 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29672 (arg1
)->SetFrame(arg2
);
29673 wxPyEndAllowThreads(__tstate
);
29674 if (PyErr_Occurred()) SWIG_fail
;
29676 resultobj
= SWIG_Py_Void();
29683 SWIGINTERN PyObject
*_wrap_PrintPreview_SetCanvas(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29684 PyObject
*resultobj
= 0;
29685 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
29686 wxPreviewCanvas
*arg2
= (wxPreviewCanvas
*) 0 ;
29691 PyObject
* obj0
= 0 ;
29692 PyObject
* obj1
= 0 ;
29693 char * kwnames
[] = {
29694 (char *) "self",(char *) "canvas", NULL
29697 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintPreview_SetCanvas",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
29698 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintPreview
, 0 | 0 );
29699 if (!SWIG_IsOK(res1
)) {
29700 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintPreview_SetCanvas" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
29702 arg1
= reinterpret_cast< wxPrintPreview
* >(argp1
);
29703 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxPreviewCanvas
, 0 | 0 );
29704 if (!SWIG_IsOK(res2
)) {
29705 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PrintPreview_SetCanvas" "', expected argument " "2"" of type '" "wxPreviewCanvas *""'");
29707 arg2
= reinterpret_cast< wxPreviewCanvas
* >(argp2
);
29709 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29710 (arg1
)->SetCanvas(arg2
);
29711 wxPyEndAllowThreads(__tstate
);
29712 if (PyErr_Occurred()) SWIG_fail
;
29714 resultobj
= SWIG_Py_Void();
29721 SWIGINTERN PyObject
*_wrap_PrintPreview_GetFrame(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29722 PyObject
*resultobj
= 0;
29723 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
29724 wxFrame
*result
= 0 ;
29727 PyObject
*swig_obj
[1] ;
29729 if (!args
) SWIG_fail
;
29730 swig_obj
[0] = args
;
29731 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintPreview
, 0 | 0 );
29732 if (!SWIG_IsOK(res1
)) {
29733 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintPreview_GetFrame" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
29735 arg1
= reinterpret_cast< wxPrintPreview
* >(argp1
);
29737 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29738 result
= (wxFrame
*)(arg1
)->GetFrame();
29739 wxPyEndAllowThreads(__tstate
);
29740 if (PyErr_Occurred()) SWIG_fail
;
29743 resultobj
= wxPyMake_wxObject(result
, 0);
29751 SWIGINTERN PyObject
*_wrap_PrintPreview_GetCanvas(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29752 PyObject
*resultobj
= 0;
29753 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
29754 wxPreviewCanvas
*result
= 0 ;
29757 PyObject
*swig_obj
[1] ;
29759 if (!args
) SWIG_fail
;
29760 swig_obj
[0] = args
;
29761 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintPreview
, 0 | 0 );
29762 if (!SWIG_IsOK(res1
)) {
29763 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintPreview_GetCanvas" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
29765 arg1
= reinterpret_cast< wxPrintPreview
* >(argp1
);
29767 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29768 result
= (wxPreviewCanvas
*)(arg1
)->GetCanvas();
29769 wxPyEndAllowThreads(__tstate
);
29770 if (PyErr_Occurred()) SWIG_fail
;
29772 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPreviewCanvas
, 0 | 0 );
29779 SWIGINTERN PyObject
*_wrap_PrintPreview_PaintPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29780 PyObject
*resultobj
= 0;
29781 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
29782 wxPreviewCanvas
*arg2
= (wxPreviewCanvas
*) 0 ;
29791 PyObject
* obj0
= 0 ;
29792 PyObject
* obj1
= 0 ;
29793 PyObject
* obj2
= 0 ;
29794 char * kwnames
[] = {
29795 (char *) "self",(char *) "canvas",(char *) "dc", NULL
29798 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PrintPreview_PaintPage",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
29799 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintPreview
, 0 | 0 );
29800 if (!SWIG_IsOK(res1
)) {
29801 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintPreview_PaintPage" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
29803 arg1
= reinterpret_cast< wxPrintPreview
* >(argp1
);
29804 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxPreviewCanvas
, 0 | 0 );
29805 if (!SWIG_IsOK(res2
)) {
29806 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PrintPreview_PaintPage" "', expected argument " "2"" of type '" "wxPreviewCanvas *""'");
29808 arg2
= reinterpret_cast< wxPreviewCanvas
* >(argp2
);
29809 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxDC
, 0 );
29810 if (!SWIG_IsOK(res3
)) {
29811 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "PrintPreview_PaintPage" "', expected argument " "3"" of type '" "wxDC &""'");
29814 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "PrintPreview_PaintPage" "', expected argument " "3"" of type '" "wxDC &""'");
29816 arg3
= reinterpret_cast< wxDC
* >(argp3
);
29818 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29819 result
= (bool)(arg1
)->PaintPage(arg2
,*arg3
);
29820 wxPyEndAllowThreads(__tstate
);
29821 if (PyErr_Occurred()) SWIG_fail
;
29824 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29832 SWIGINTERN PyObject
*_wrap_PrintPreview_DrawBlankPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29833 PyObject
*resultobj
= 0;
29834 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
29835 wxPreviewCanvas
*arg2
= (wxPreviewCanvas
*) 0 ;
29844 PyObject
* obj0
= 0 ;
29845 PyObject
* obj1
= 0 ;
29846 PyObject
* obj2
= 0 ;
29847 char * kwnames
[] = {
29848 (char *) "self",(char *) "canvas",(char *) "dc", NULL
29851 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PrintPreview_DrawBlankPage",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
29852 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintPreview
, 0 | 0 );
29853 if (!SWIG_IsOK(res1
)) {
29854 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintPreview_DrawBlankPage" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
29856 arg1
= reinterpret_cast< wxPrintPreview
* >(argp1
);
29857 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxPreviewCanvas
, 0 | 0 );
29858 if (!SWIG_IsOK(res2
)) {
29859 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PrintPreview_DrawBlankPage" "', expected argument " "2"" of type '" "wxPreviewCanvas *""'");
29861 arg2
= reinterpret_cast< wxPreviewCanvas
* >(argp2
);
29862 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxDC
, 0 );
29863 if (!SWIG_IsOK(res3
)) {
29864 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "PrintPreview_DrawBlankPage" "', expected argument " "3"" of type '" "wxDC &""'");
29867 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "PrintPreview_DrawBlankPage" "', expected argument " "3"" of type '" "wxDC &""'");
29869 arg3
= reinterpret_cast< wxDC
* >(argp3
);
29871 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29872 result
= (bool)(arg1
)->DrawBlankPage(arg2
,*arg3
);
29873 wxPyEndAllowThreads(__tstate
);
29874 if (PyErr_Occurred()) SWIG_fail
;
29877 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29885 SWIGINTERN PyObject
*_wrap_PrintPreview_RenderPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29886 PyObject
*resultobj
= 0;
29887 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
29894 PyObject
* obj0
= 0 ;
29895 PyObject
* obj1
= 0 ;
29896 char * kwnames
[] = {
29897 (char *) "self",(char *) "pageNum", NULL
29900 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintPreview_RenderPage",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
29901 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintPreview
, 0 | 0 );
29902 if (!SWIG_IsOK(res1
)) {
29903 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintPreview_RenderPage" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
29905 arg1
= reinterpret_cast< wxPrintPreview
* >(argp1
);
29906 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
29907 if (!SWIG_IsOK(ecode2
)) {
29908 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintPreview_RenderPage" "', expected argument " "2"" of type '" "int""'");
29910 arg2
= static_cast< int >(val2
);
29912 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29913 result
= (bool)(arg1
)->RenderPage(arg2
);
29914 wxPyEndAllowThreads(__tstate
);
29915 if (PyErr_Occurred()) SWIG_fail
;
29918 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29926 SWIGINTERN PyObject
*_wrap_PrintPreview_AdjustScrollbars(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29927 PyObject
*resultobj
= 0;
29928 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
29929 wxPreviewCanvas
*arg2
= (wxPreviewCanvas
*) 0 ;
29934 PyObject
* obj0
= 0 ;
29935 PyObject
* obj1
= 0 ;
29936 char * kwnames
[] = {
29937 (char *) "self",(char *) "canvas", NULL
29940 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintPreview_AdjustScrollbars",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
29941 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintPreview
, 0 | 0 );
29942 if (!SWIG_IsOK(res1
)) {
29943 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintPreview_AdjustScrollbars" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
29945 arg1
= reinterpret_cast< wxPrintPreview
* >(argp1
);
29946 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxPreviewCanvas
, 0 | 0 );
29947 if (!SWIG_IsOK(res2
)) {
29948 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PrintPreview_AdjustScrollbars" "', expected argument " "2"" of type '" "wxPreviewCanvas *""'");
29950 arg2
= reinterpret_cast< wxPreviewCanvas
* >(argp2
);
29952 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29953 (arg1
)->AdjustScrollbars(arg2
);
29954 wxPyEndAllowThreads(__tstate
);
29955 if (PyErr_Occurred()) SWIG_fail
;
29957 resultobj
= SWIG_Py_Void();
29964 SWIGINTERN PyObject
*_wrap_PrintPreview_GetPrintDialogData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29965 PyObject
*resultobj
= 0;
29966 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
29967 wxPrintDialogData
*result
= 0 ;
29970 PyObject
*swig_obj
[1] ;
29972 if (!args
) SWIG_fail
;
29973 swig_obj
[0] = args
;
29974 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintPreview
, 0 | 0 );
29975 if (!SWIG_IsOK(res1
)) {
29976 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintPreview_GetPrintDialogData" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
29978 arg1
= reinterpret_cast< wxPrintPreview
* >(argp1
);
29980 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29982 wxPrintDialogData
&_result_ref
= (arg1
)->GetPrintDialogData();
29983 result
= (wxPrintDialogData
*) &_result_ref
;
29985 wxPyEndAllowThreads(__tstate
);
29986 if (PyErr_Occurred()) SWIG_fail
;
29988 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
29995 SWIGINTERN PyObject
*_wrap_PrintPreview_SetZoom(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29996 PyObject
*resultobj
= 0;
29997 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
30003 PyObject
* obj0
= 0 ;
30004 PyObject
* obj1
= 0 ;
30005 char * kwnames
[] = {
30006 (char *) "self",(char *) "percent", NULL
30009 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintPreview_SetZoom",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
30010 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintPreview
, 0 | 0 );
30011 if (!SWIG_IsOK(res1
)) {
30012 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintPreview_SetZoom" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
30014 arg1
= reinterpret_cast< wxPrintPreview
* >(argp1
);
30015 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
30016 if (!SWIG_IsOK(ecode2
)) {
30017 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintPreview_SetZoom" "', expected argument " "2"" of type '" "int""'");
30019 arg2
= static_cast< int >(val2
);
30021 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30022 (arg1
)->SetZoom(arg2
);
30023 wxPyEndAllowThreads(__tstate
);
30024 if (PyErr_Occurred()) SWIG_fail
;
30026 resultobj
= SWIG_Py_Void();
30033 SWIGINTERN PyObject
*_wrap_PrintPreview_GetZoom(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30034 PyObject
*resultobj
= 0;
30035 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
30039 PyObject
*swig_obj
[1] ;
30041 if (!args
) SWIG_fail
;
30042 swig_obj
[0] = args
;
30043 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintPreview
, 0 | 0 );
30044 if (!SWIG_IsOK(res1
)) {
30045 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintPreview_GetZoom" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
30047 arg1
= reinterpret_cast< wxPrintPreview
* >(argp1
);
30049 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30050 result
= (int)(arg1
)->GetZoom();
30051 wxPyEndAllowThreads(__tstate
);
30052 if (PyErr_Occurred()) SWIG_fail
;
30054 resultobj
= SWIG_From_int(static_cast< int >(result
));
30061 SWIGINTERN PyObject
*_wrap_PrintPreview_GetMaxPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30062 PyObject
*resultobj
= 0;
30063 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
30067 PyObject
*swig_obj
[1] ;
30069 if (!args
) SWIG_fail
;
30070 swig_obj
[0] = args
;
30071 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintPreview
, 0 | 0 );
30072 if (!SWIG_IsOK(res1
)) {
30073 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintPreview_GetMaxPage" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
30075 arg1
= reinterpret_cast< wxPrintPreview
* >(argp1
);
30077 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30078 result
= (int)(arg1
)->GetMaxPage();
30079 wxPyEndAllowThreads(__tstate
);
30080 if (PyErr_Occurred()) SWIG_fail
;
30082 resultobj
= SWIG_From_int(static_cast< int >(result
));
30089 SWIGINTERN PyObject
*_wrap_PrintPreview_GetMinPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30090 PyObject
*resultobj
= 0;
30091 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
30095 PyObject
*swig_obj
[1] ;
30097 if (!args
) SWIG_fail
;
30098 swig_obj
[0] = args
;
30099 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintPreview
, 0 | 0 );
30100 if (!SWIG_IsOK(res1
)) {
30101 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintPreview_GetMinPage" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
30103 arg1
= reinterpret_cast< wxPrintPreview
* >(argp1
);
30105 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30106 result
= (int)(arg1
)->GetMinPage();
30107 wxPyEndAllowThreads(__tstate
);
30108 if (PyErr_Occurred()) SWIG_fail
;
30110 resultobj
= SWIG_From_int(static_cast< int >(result
));
30117 SWIGINTERN PyObject
*_wrap_PrintPreview_Ok(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30118 PyObject
*resultobj
= 0;
30119 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
30123 PyObject
*swig_obj
[1] ;
30125 if (!args
) SWIG_fail
;
30126 swig_obj
[0] = args
;
30127 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintPreview
, 0 | 0 );
30128 if (!SWIG_IsOK(res1
)) {
30129 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintPreview_Ok" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
30131 arg1
= reinterpret_cast< wxPrintPreview
* >(argp1
);
30133 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30134 result
= (bool)(arg1
)->Ok();
30135 wxPyEndAllowThreads(__tstate
);
30136 if (PyErr_Occurred()) SWIG_fail
;
30139 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30147 SWIGINTERN PyObject
*_wrap_PrintPreview_SetOk(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30148 PyObject
*resultobj
= 0;
30149 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
30155 PyObject
* obj0
= 0 ;
30156 PyObject
* obj1
= 0 ;
30157 char * kwnames
[] = {
30158 (char *) "self",(char *) "ok", NULL
30161 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintPreview_SetOk",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
30162 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintPreview
, 0 | 0 );
30163 if (!SWIG_IsOK(res1
)) {
30164 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintPreview_SetOk" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
30166 arg1
= reinterpret_cast< wxPrintPreview
* >(argp1
);
30167 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
30168 if (!SWIG_IsOK(ecode2
)) {
30169 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintPreview_SetOk" "', expected argument " "2"" of type '" "bool""'");
30171 arg2
= static_cast< bool >(val2
);
30173 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30174 (arg1
)->SetOk(arg2
);
30175 wxPyEndAllowThreads(__tstate
);
30176 if (PyErr_Occurred()) SWIG_fail
;
30178 resultobj
= SWIG_Py_Void();
30185 SWIGINTERN PyObject
*_wrap_PrintPreview_Print(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30186 PyObject
*resultobj
= 0;
30187 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
30194 PyObject
* obj0
= 0 ;
30195 PyObject
* obj1
= 0 ;
30196 char * kwnames
[] = {
30197 (char *) "self",(char *) "interactive", NULL
30200 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintPreview_Print",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
30201 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintPreview
, 0 | 0 );
30202 if (!SWIG_IsOK(res1
)) {
30203 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintPreview_Print" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
30205 arg1
= reinterpret_cast< wxPrintPreview
* >(argp1
);
30206 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
30207 if (!SWIG_IsOK(ecode2
)) {
30208 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintPreview_Print" "', expected argument " "2"" of type '" "bool""'");
30210 arg2
= static_cast< bool >(val2
);
30212 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30213 result
= (bool)(arg1
)->Print(arg2
);
30214 wxPyEndAllowThreads(__tstate
);
30215 if (PyErr_Occurred()) SWIG_fail
;
30218 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30226 SWIGINTERN PyObject
*_wrap_PrintPreview_DetermineScaling(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30227 PyObject
*resultobj
= 0;
30228 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
30231 PyObject
*swig_obj
[1] ;
30233 if (!args
) SWIG_fail
;
30234 swig_obj
[0] = args
;
30235 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintPreview
, 0 | 0 );
30236 if (!SWIG_IsOK(res1
)) {
30237 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintPreview_DetermineScaling" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
30239 arg1
= reinterpret_cast< wxPrintPreview
* >(argp1
);
30241 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30242 (arg1
)->DetermineScaling();
30243 wxPyEndAllowThreads(__tstate
);
30244 if (PyErr_Occurred()) SWIG_fail
;
30246 resultobj
= SWIG_Py_Void();
30253 SWIGINTERN PyObject
*PrintPreview_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30255 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
30256 SWIG_TypeNewClientData(SWIGTYPE_p_wxPrintPreview
, SWIG_NewClientData(obj
));
30257 return SWIG_Py_Void();
30260 SWIGINTERN PyObject
*PrintPreview_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30261 return SWIG_Python_InitShadowInstance(args
);
30264 SWIGINTERN PyObject
*_wrap_new_PyPrintPreview__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
30265 PyObject
*resultobj
= 0;
30266 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
30267 wxPyPrintout
*arg2
= (wxPyPrintout
*) 0 ;
30268 wxPrintDialogData
*arg3
= (wxPrintDialogData
*) NULL
;
30269 wxPyPrintPreview
*result
= 0 ;
30275 if ((nobjs
< 2) || (nobjs
> 3)) SWIG_fail
;
30276 res1
= SWIG_ConvertPtr(swig_obj
[0], SWIG_as_voidptrptr(&arg1
), SWIGTYPE_p_wxPyPrintout
, SWIG_POINTER_DISOWN
| 0 );
30277 if (!SWIG_IsOK(res1
)) {
30278 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PyPrintPreview" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
30280 res2
= SWIG_ConvertPtr(swig_obj
[1], SWIG_as_voidptrptr(&arg2
), SWIGTYPE_p_wxPyPrintout
, SWIG_POINTER_DISOWN
| 0 );
30281 if (!SWIG_IsOK(res2
)) {
30282 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_PyPrintPreview" "', expected argument " "2"" of type '" "wxPyPrintout *""'");
30285 res3
= SWIG_ConvertPtr(swig_obj
[2], &argp3
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
30286 if (!SWIG_IsOK(res3
)) {
30287 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "new_PyPrintPreview" "', expected argument " "3"" of type '" "wxPrintDialogData *""'");
30289 arg3
= reinterpret_cast< wxPrintDialogData
* >(argp3
);
30292 if (!wxPyCheckForApp()) SWIG_fail
;
30293 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30294 result
= (wxPyPrintPreview
*)new wxPyPrintPreview(arg1
,arg2
,arg3
);
30295 wxPyEndAllowThreads(__tstate
);
30296 if (PyErr_Occurred()) SWIG_fail
;
30298 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyPrintPreview
, SWIG_POINTER_NEW
| 0 );
30305 SWIGINTERN PyObject
*_wrap_new_PyPrintPreview__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
30306 PyObject
*resultobj
= 0;
30307 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
30308 wxPyPrintout
*arg2
= (wxPyPrintout
*) 0 ;
30309 wxPrintData
*arg3
= (wxPrintData
*) 0 ;
30310 wxPyPrintPreview
*result
= 0 ;
30316 if ((nobjs
< 3) || (nobjs
> 3)) SWIG_fail
;
30317 res1
= SWIG_ConvertPtr(swig_obj
[0], SWIG_as_voidptrptr(&arg1
), SWIGTYPE_p_wxPyPrintout
, SWIG_POINTER_DISOWN
| 0 );
30318 if (!SWIG_IsOK(res1
)) {
30319 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PyPrintPreview" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
30321 res2
= SWIG_ConvertPtr(swig_obj
[1], SWIG_as_voidptrptr(&arg2
), SWIGTYPE_p_wxPyPrintout
, SWIG_POINTER_DISOWN
| 0 );
30322 if (!SWIG_IsOK(res2
)) {
30323 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_PyPrintPreview" "', expected argument " "2"" of type '" "wxPyPrintout *""'");
30325 res3
= SWIG_ConvertPtr(swig_obj
[2], &argp3
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
30326 if (!SWIG_IsOK(res3
)) {
30327 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "new_PyPrintPreview" "', expected argument " "3"" of type '" "wxPrintData *""'");
30329 arg3
= reinterpret_cast< wxPrintData
* >(argp3
);
30331 if (!wxPyCheckForApp()) SWIG_fail
;
30332 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30333 result
= (wxPyPrintPreview
*)new wxPyPrintPreview(arg1
,arg2
,arg3
);
30334 wxPyEndAllowThreads(__tstate
);
30335 if (PyErr_Occurred()) SWIG_fail
;
30337 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyPrintPreview
, SWIG_POINTER_NEW
| 0 );
30344 SWIGINTERN PyObject
*_wrap_new_PyPrintPreview(PyObject
*self
, PyObject
*args
) {
30348 if (!(argc
= SWIG_Python_UnpackTuple(args
,"new_PyPrintPreview",0,3,argv
))) SWIG_fail
;
30350 if ((argc
>= 2) && (argc
<= 3)) {
30355 int res
= SWIG_ConvertPtr(argv
[2], &vptr
, SWIGTYPE_p_wxPrintDialogData
, 0);
30356 _v
= SWIG_CheckState(res
);
30358 if (!_v
) goto check_1
;
30360 return _wrap_new_PyPrintPreview__SWIG_0(self
, argc
, argv
);
30365 return _wrap_new_PyPrintPreview__SWIG_1(self
, argc
, argv
);
30369 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'new_PyPrintPreview'");
30374 SWIGINTERN PyObject
*_wrap_PyPrintPreview__setCallbackInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30375 PyObject
*resultobj
= 0;
30376 wxPyPrintPreview
*arg1
= (wxPyPrintPreview
*) 0 ;
30377 PyObject
*arg2
= (PyObject
*) 0 ;
30378 PyObject
*arg3
= (PyObject
*) 0 ;
30381 PyObject
* obj0
= 0 ;
30382 PyObject
* obj1
= 0 ;
30383 PyObject
* obj2
= 0 ;
30384 char * kwnames
[] = {
30385 (char *) "self",(char *) "self",(char *) "_class", NULL
30388 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyPrintPreview__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
30389 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPrintPreview
, 0 | 0 );
30390 if (!SWIG_IsOK(res1
)) {
30391 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyPrintPreview__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyPrintPreview *""'");
30393 arg1
= reinterpret_cast< wxPyPrintPreview
* >(argp1
);
30397 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30398 (arg1
)->_setCallbackInfo(arg2
,arg3
);
30399 wxPyEndAllowThreads(__tstate
);
30400 if (PyErr_Occurred()) SWIG_fail
;
30402 resultobj
= SWIG_Py_Void();
30409 SWIGINTERN PyObject
*PyPrintPreview_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30411 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
30412 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyPrintPreview
, SWIG_NewClientData(obj
));
30413 return SWIG_Py_Void();
30416 SWIGINTERN PyObject
*PyPrintPreview_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30417 return SWIG_Python_InitShadowInstance(args
);
30420 SWIGINTERN PyObject
*_wrap_new_PyPreviewFrame(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30421 PyObject
*resultobj
= 0;
30422 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
30423 wxFrame
*arg2
= (wxFrame
*) 0 ;
30424 wxString
*arg3
= 0 ;
30425 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
30426 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
30427 wxSize
const &arg5_defvalue
= wxDefaultSize
;
30428 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
30429 long arg6
= (long) wxDEFAULT_FRAME_STYLE
;
30430 wxString
const &arg7_defvalue
= wxPyFrameNameStr
;
30431 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
30432 wxPyPreviewFrame
*result
= 0 ;
30437 bool temp3
= false ;
30442 bool temp7
= false ;
30443 PyObject
* obj0
= 0 ;
30444 PyObject
* obj1
= 0 ;
30445 PyObject
* obj2
= 0 ;
30446 PyObject
* obj3
= 0 ;
30447 PyObject
* obj4
= 0 ;
30448 PyObject
* obj5
= 0 ;
30449 PyObject
* obj6
= 0 ;
30450 char * kwnames
[] = {
30451 (char *) "preview",(char *) "parent",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
30454 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:new_PyPreviewFrame",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
30455 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintPreview
, 0 | 0 );
30456 if (!SWIG_IsOK(res1
)) {
30457 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PyPreviewFrame" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
30459 arg1
= reinterpret_cast< wxPrintPreview
* >(argp1
);
30460 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxFrame
, 0 | 0 );
30461 if (!SWIG_IsOK(res2
)) {
30462 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_PyPreviewFrame" "', expected argument " "2"" of type '" "wxFrame *""'");
30464 arg2
= reinterpret_cast< wxFrame
* >(argp2
);
30466 arg3
= wxString_in_helper(obj2
);
30467 if (arg3
== NULL
) SWIG_fail
;
30473 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
30479 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
30483 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
30484 if (!SWIG_IsOK(ecode6
)) {
30485 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_PyPreviewFrame" "', expected argument " "6"" of type '" "long""'");
30487 arg6
= static_cast< long >(val6
);
30491 arg7
= wxString_in_helper(obj6
);
30492 if (arg7
== NULL
) SWIG_fail
;
30497 if (!wxPyCheckForApp()) SWIG_fail
;
30498 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30499 result
= (wxPyPreviewFrame
*)new wxPyPreviewFrame(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
30500 wxPyEndAllowThreads(__tstate
);
30501 if (PyErr_Occurred()) SWIG_fail
;
30503 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyPreviewFrame
, SWIG_POINTER_NEW
| 0 );
30526 SWIGINTERN PyObject
*_wrap_PyPreviewFrame__setCallbackInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30527 PyObject
*resultobj
= 0;
30528 wxPyPreviewFrame
*arg1
= (wxPyPreviewFrame
*) 0 ;
30529 PyObject
*arg2
= (PyObject
*) 0 ;
30530 PyObject
*arg3
= (PyObject
*) 0 ;
30533 PyObject
* obj0
= 0 ;
30534 PyObject
* obj1
= 0 ;
30535 PyObject
* obj2
= 0 ;
30536 char * kwnames
[] = {
30537 (char *) "self",(char *) "self",(char *) "_class", NULL
30540 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyPreviewFrame__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
30541 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPreviewFrame
, 0 | 0 );
30542 if (!SWIG_IsOK(res1
)) {
30543 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyPreviewFrame__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyPreviewFrame *""'");
30545 arg1
= reinterpret_cast< wxPyPreviewFrame
* >(argp1
);
30549 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30550 (arg1
)->_setCallbackInfo(arg2
,arg3
);
30551 wxPyEndAllowThreads(__tstate
);
30552 if (PyErr_Occurred()) SWIG_fail
;
30554 resultobj
= SWIG_Py_Void();
30561 SWIGINTERN PyObject
*_wrap_PyPreviewFrame_SetPreviewCanvas(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30562 PyObject
*resultobj
= 0;
30563 wxPyPreviewFrame
*arg1
= (wxPyPreviewFrame
*) 0 ;
30564 wxPreviewCanvas
*arg2
= (wxPreviewCanvas
*) 0 ;
30569 PyObject
* obj0
= 0 ;
30570 PyObject
* obj1
= 0 ;
30571 char * kwnames
[] = {
30572 (char *) "self",(char *) "canvas", NULL
30575 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyPreviewFrame_SetPreviewCanvas",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
30576 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPreviewFrame
, 0 | 0 );
30577 if (!SWIG_IsOK(res1
)) {
30578 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyPreviewFrame_SetPreviewCanvas" "', expected argument " "1"" of type '" "wxPyPreviewFrame *""'");
30580 arg1
= reinterpret_cast< wxPyPreviewFrame
* >(argp1
);
30581 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxPreviewCanvas
, 0 | 0 );
30582 if (!SWIG_IsOK(res2
)) {
30583 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PyPreviewFrame_SetPreviewCanvas" "', expected argument " "2"" of type '" "wxPreviewCanvas *""'");
30585 arg2
= reinterpret_cast< wxPreviewCanvas
* >(argp2
);
30587 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30588 (arg1
)->SetPreviewCanvas(arg2
);
30589 wxPyEndAllowThreads(__tstate
);
30590 if (PyErr_Occurred()) SWIG_fail
;
30592 resultobj
= SWIG_Py_Void();
30599 SWIGINTERN PyObject
*_wrap_PyPreviewFrame_SetControlBar(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30600 PyObject
*resultobj
= 0;
30601 wxPyPreviewFrame
*arg1
= (wxPyPreviewFrame
*) 0 ;
30602 wxPreviewControlBar
*arg2
= (wxPreviewControlBar
*) 0 ;
30607 PyObject
* obj0
= 0 ;
30608 PyObject
* obj1
= 0 ;
30609 char * kwnames
[] = {
30610 (char *) "self",(char *) "bar", NULL
30613 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyPreviewFrame_SetControlBar",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
30614 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPreviewFrame
, 0 | 0 );
30615 if (!SWIG_IsOK(res1
)) {
30616 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyPreviewFrame_SetControlBar" "', expected argument " "1"" of type '" "wxPyPreviewFrame *""'");
30618 arg1
= reinterpret_cast< wxPyPreviewFrame
* >(argp1
);
30619 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxPreviewControlBar
, 0 | 0 );
30620 if (!SWIG_IsOK(res2
)) {
30621 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PyPreviewFrame_SetControlBar" "', expected argument " "2"" of type '" "wxPreviewControlBar *""'");
30623 arg2
= reinterpret_cast< wxPreviewControlBar
* >(argp2
);
30625 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30626 (arg1
)->SetControlBar(arg2
);
30627 wxPyEndAllowThreads(__tstate
);
30628 if (PyErr_Occurred()) SWIG_fail
;
30630 resultobj
= SWIG_Py_Void();
30637 SWIGINTERN PyObject
*_wrap_PyPreviewFrame_Initialize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30638 PyObject
*resultobj
= 0;
30639 wxPyPreviewFrame
*arg1
= (wxPyPreviewFrame
*) 0 ;
30642 PyObject
*swig_obj
[1] ;
30644 if (!args
) SWIG_fail
;
30645 swig_obj
[0] = args
;
30646 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPreviewFrame
, 0 | 0 );
30647 if (!SWIG_IsOK(res1
)) {
30648 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyPreviewFrame_Initialize" "', expected argument " "1"" of type '" "wxPyPreviewFrame *""'");
30650 arg1
= reinterpret_cast< wxPyPreviewFrame
* >(argp1
);
30652 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30653 (arg1
)->Initialize();
30654 wxPyEndAllowThreads(__tstate
);
30655 if (PyErr_Occurred()) SWIG_fail
;
30657 resultobj
= SWIG_Py_Void();
30664 SWIGINTERN PyObject
*_wrap_PyPreviewFrame_CreateCanvas(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30665 PyObject
*resultobj
= 0;
30666 wxPyPreviewFrame
*arg1
= (wxPyPreviewFrame
*) 0 ;
30669 PyObject
*swig_obj
[1] ;
30671 if (!args
) SWIG_fail
;
30672 swig_obj
[0] = args
;
30673 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPreviewFrame
, 0 | 0 );
30674 if (!SWIG_IsOK(res1
)) {
30675 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyPreviewFrame_CreateCanvas" "', expected argument " "1"" of type '" "wxPyPreviewFrame *""'");
30677 arg1
= reinterpret_cast< wxPyPreviewFrame
* >(argp1
);
30679 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30680 (arg1
)->CreateCanvas();
30681 wxPyEndAllowThreads(__tstate
);
30682 if (PyErr_Occurred()) SWIG_fail
;
30684 resultobj
= SWIG_Py_Void();
30691 SWIGINTERN PyObject
*_wrap_PyPreviewFrame_CreateControlBar(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30692 PyObject
*resultobj
= 0;
30693 wxPyPreviewFrame
*arg1
= (wxPyPreviewFrame
*) 0 ;
30696 PyObject
*swig_obj
[1] ;
30698 if (!args
) SWIG_fail
;
30699 swig_obj
[0] = args
;
30700 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPreviewFrame
, 0 | 0 );
30701 if (!SWIG_IsOK(res1
)) {
30702 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyPreviewFrame_CreateControlBar" "', expected argument " "1"" of type '" "wxPyPreviewFrame *""'");
30704 arg1
= reinterpret_cast< wxPyPreviewFrame
* >(argp1
);
30706 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30707 (arg1
)->CreateControlBar();
30708 wxPyEndAllowThreads(__tstate
);
30709 if (PyErr_Occurred()) SWIG_fail
;
30711 resultobj
= SWIG_Py_Void();
30718 SWIGINTERN PyObject
*PyPreviewFrame_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30720 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
30721 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyPreviewFrame
, SWIG_NewClientData(obj
));
30722 return SWIG_Py_Void();
30725 SWIGINTERN PyObject
*PyPreviewFrame_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30726 return SWIG_Python_InitShadowInstance(args
);
30729 SWIGINTERN PyObject
*_wrap_new_PyPreviewControlBar(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30730 PyObject
*resultobj
= 0;
30731 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
30733 wxWindow
*arg3
= (wxWindow
*) 0 ;
30734 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
30735 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
30736 wxSize
const &arg5_defvalue
= wxDefaultSize
;
30737 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
30738 long arg6
= (long) 0 ;
30739 wxString
const &arg7_defvalue
= wxPyPanelNameStr
;
30740 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
30741 wxPyPreviewControlBar
*result
= 0 ;
30752 bool temp7
= false ;
30753 PyObject
* obj0
= 0 ;
30754 PyObject
* obj1
= 0 ;
30755 PyObject
* obj2
= 0 ;
30756 PyObject
* obj3
= 0 ;
30757 PyObject
* obj4
= 0 ;
30758 PyObject
* obj5
= 0 ;
30759 PyObject
* obj6
= 0 ;
30760 char * kwnames
[] = {
30761 (char *) "preview",(char *) "buttons",(char *) "parent",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
30764 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:new_PyPreviewControlBar",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
30765 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintPreview
, 0 | 0 );
30766 if (!SWIG_IsOK(res1
)) {
30767 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PyPreviewControlBar" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
30769 arg1
= reinterpret_cast< wxPrintPreview
* >(argp1
);
30770 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
30771 if (!SWIG_IsOK(ecode2
)) {
30772 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_PyPreviewControlBar" "', expected argument " "2"" of type '" "long""'");
30774 arg2
= static_cast< long >(val2
);
30775 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxWindow
, 0 | 0 );
30776 if (!SWIG_IsOK(res3
)) {
30777 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "new_PyPreviewControlBar" "', expected argument " "3"" of type '" "wxWindow *""'");
30779 arg3
= reinterpret_cast< wxWindow
* >(argp3
);
30783 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
30789 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
30793 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
30794 if (!SWIG_IsOK(ecode6
)) {
30795 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_PyPreviewControlBar" "', expected argument " "6"" of type '" "long""'");
30797 arg6
= static_cast< long >(val6
);
30801 arg7
= wxString_in_helper(obj6
);
30802 if (arg7
== NULL
) SWIG_fail
;
30807 if (!wxPyCheckForApp()) SWIG_fail
;
30808 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30809 result
= (wxPyPreviewControlBar
*)new wxPyPreviewControlBar(arg1
,arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
30810 wxPyEndAllowThreads(__tstate
);
30811 if (PyErr_Occurred()) SWIG_fail
;
30813 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyPreviewControlBar
, SWIG_POINTER_NEW
| 0 );
30828 SWIGINTERN PyObject
*_wrap_PyPreviewControlBar__setCallbackInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30829 PyObject
*resultobj
= 0;
30830 wxPyPreviewControlBar
*arg1
= (wxPyPreviewControlBar
*) 0 ;
30831 PyObject
*arg2
= (PyObject
*) 0 ;
30832 PyObject
*arg3
= (PyObject
*) 0 ;
30835 PyObject
* obj0
= 0 ;
30836 PyObject
* obj1
= 0 ;
30837 PyObject
* obj2
= 0 ;
30838 char * kwnames
[] = {
30839 (char *) "self",(char *) "self",(char *) "_class", NULL
30842 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyPreviewControlBar__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
30843 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPreviewControlBar
, 0 | 0 );
30844 if (!SWIG_IsOK(res1
)) {
30845 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyPreviewControlBar__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyPreviewControlBar *""'");
30847 arg1
= reinterpret_cast< wxPyPreviewControlBar
* >(argp1
);
30851 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30852 (arg1
)->_setCallbackInfo(arg2
,arg3
);
30853 wxPyEndAllowThreads(__tstate
);
30854 if (PyErr_Occurred()) SWIG_fail
;
30856 resultobj
= SWIG_Py_Void();
30863 SWIGINTERN PyObject
*_wrap_PyPreviewControlBar_SetPrintPreview(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30864 PyObject
*resultobj
= 0;
30865 wxPyPreviewControlBar
*arg1
= (wxPyPreviewControlBar
*) 0 ;
30866 wxPrintPreview
*arg2
= (wxPrintPreview
*) 0 ;
30871 PyObject
* obj0
= 0 ;
30872 PyObject
* obj1
= 0 ;
30873 char * kwnames
[] = {
30874 (char *) "self",(char *) "preview", NULL
30877 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyPreviewControlBar_SetPrintPreview",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
30878 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPreviewControlBar
, 0 | 0 );
30879 if (!SWIG_IsOK(res1
)) {
30880 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyPreviewControlBar_SetPrintPreview" "', expected argument " "1"" of type '" "wxPyPreviewControlBar *""'");
30882 arg1
= reinterpret_cast< wxPyPreviewControlBar
* >(argp1
);
30883 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxPrintPreview
, 0 | 0 );
30884 if (!SWIG_IsOK(res2
)) {
30885 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PyPreviewControlBar_SetPrintPreview" "', expected argument " "2"" of type '" "wxPrintPreview *""'");
30887 arg2
= reinterpret_cast< wxPrintPreview
* >(argp2
);
30889 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30890 (arg1
)->SetPrintPreview(arg2
);
30891 wxPyEndAllowThreads(__tstate
);
30892 if (PyErr_Occurred()) SWIG_fail
;
30894 resultobj
= SWIG_Py_Void();
30901 SWIGINTERN PyObject
*_wrap_PyPreviewControlBar_CreateButtons(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30902 PyObject
*resultobj
= 0;
30903 wxPyPreviewControlBar
*arg1
= (wxPyPreviewControlBar
*) 0 ;
30906 PyObject
*swig_obj
[1] ;
30908 if (!args
) SWIG_fail
;
30909 swig_obj
[0] = args
;
30910 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPreviewControlBar
, 0 | 0 );
30911 if (!SWIG_IsOK(res1
)) {
30912 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyPreviewControlBar_CreateButtons" "', expected argument " "1"" of type '" "wxPyPreviewControlBar *""'");
30914 arg1
= reinterpret_cast< wxPyPreviewControlBar
* >(argp1
);
30916 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30917 (arg1
)->CreateButtons();
30918 wxPyEndAllowThreads(__tstate
);
30919 if (PyErr_Occurred()) SWIG_fail
;
30921 resultobj
= SWIG_Py_Void();
30928 SWIGINTERN PyObject
*_wrap_PyPreviewControlBar_SetZoomControl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30929 PyObject
*resultobj
= 0;
30930 wxPyPreviewControlBar
*arg1
= (wxPyPreviewControlBar
*) 0 ;
30936 PyObject
* obj0
= 0 ;
30937 PyObject
* obj1
= 0 ;
30938 char * kwnames
[] = {
30939 (char *) "self",(char *) "zoom", NULL
30942 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyPreviewControlBar_SetZoomControl",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
30943 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPreviewControlBar
, 0 | 0 );
30944 if (!SWIG_IsOK(res1
)) {
30945 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyPreviewControlBar_SetZoomControl" "', expected argument " "1"" of type '" "wxPyPreviewControlBar *""'");
30947 arg1
= reinterpret_cast< wxPyPreviewControlBar
* >(argp1
);
30948 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
30949 if (!SWIG_IsOK(ecode2
)) {
30950 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PyPreviewControlBar_SetZoomControl" "', expected argument " "2"" of type '" "int""'");
30952 arg2
= static_cast< int >(val2
);
30954 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30955 (arg1
)->SetZoomControl(arg2
);
30956 wxPyEndAllowThreads(__tstate
);
30957 if (PyErr_Occurred()) SWIG_fail
;
30959 resultobj
= SWIG_Py_Void();
30966 SWIGINTERN PyObject
*PyPreviewControlBar_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30968 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
30969 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyPreviewControlBar
, SWIG_NewClientData(obj
));
30970 return SWIG_Py_Void();
30973 SWIGINTERN PyObject
*PyPreviewControlBar_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30974 return SWIG_Python_InitShadowInstance(args
);
30977 static PyMethodDef SwigMethods
[] = {
30978 { (char *)"new_Panel", (PyCFunction
) _wrap_new_Panel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30979 { (char *)"new_PrePanel", (PyCFunction
)_wrap_new_PrePanel
, METH_NOARGS
, NULL
},
30980 { (char *)"Panel_Create", (PyCFunction
) _wrap_Panel_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30981 { (char *)"Panel_SetFocusIgnoringChildren", (PyCFunction
)_wrap_Panel_SetFocusIgnoringChildren
, METH_O
, NULL
},
30982 { (char *)"Panel_GetClassDefaultAttributes", (PyCFunction
) _wrap_Panel_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30983 { (char *)"Panel_swigregister", Panel_swigregister
, METH_VARARGS
, NULL
},
30984 { (char *)"Panel_swiginit", Panel_swiginit
, METH_VARARGS
, NULL
},
30985 { (char *)"new_ScrolledWindow", (PyCFunction
) _wrap_new_ScrolledWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30986 { (char *)"new_PreScrolledWindow", (PyCFunction
)_wrap_new_PreScrolledWindow
, METH_NOARGS
, NULL
},
30987 { (char *)"ScrolledWindow_Create", (PyCFunction
) _wrap_ScrolledWindow_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30988 { (char *)"ScrolledWindow_SetScrollbars", (PyCFunction
) _wrap_ScrolledWindow_SetScrollbars
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30989 { (char *)"ScrolledWindow_Scroll", (PyCFunction
) _wrap_ScrolledWindow_Scroll
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30990 { (char *)"ScrolledWindow_GetScrollPageSize", (PyCFunction
) _wrap_ScrolledWindow_GetScrollPageSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30991 { (char *)"ScrolledWindow_SetScrollPageSize", (PyCFunction
) _wrap_ScrolledWindow_SetScrollPageSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30992 { (char *)"ScrolledWindow_SetScrollRate", (PyCFunction
) _wrap_ScrolledWindow_SetScrollRate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30993 { (char *)"ScrolledWindow_GetScrollPixelsPerUnit", (PyCFunction
)_wrap_ScrolledWindow_GetScrollPixelsPerUnit
, METH_O
, NULL
},
30994 { (char *)"ScrolledWindow_EnableScrolling", (PyCFunction
) _wrap_ScrolledWindow_EnableScrolling
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30995 { (char *)"ScrolledWindow_GetViewStart", (PyCFunction
)_wrap_ScrolledWindow_GetViewStart
, METH_O
, NULL
},
30996 { (char *)"ScrolledWindow_SetScale", (PyCFunction
) _wrap_ScrolledWindow_SetScale
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30997 { (char *)"ScrolledWindow_GetScaleX", (PyCFunction
)_wrap_ScrolledWindow_GetScaleX
, METH_O
, NULL
},
30998 { (char *)"ScrolledWindow_GetScaleY", (PyCFunction
)_wrap_ScrolledWindow_GetScaleY
, METH_O
, NULL
},
30999 { (char *)"ScrolledWindow_CalcScrolledPosition", _wrap_ScrolledWindow_CalcScrolledPosition
, METH_VARARGS
, NULL
},
31000 { (char *)"ScrolledWindow_CalcUnscrolledPosition", _wrap_ScrolledWindow_CalcUnscrolledPosition
, METH_VARARGS
, NULL
},
31001 { (char *)"ScrolledWindow_AdjustScrollbars", (PyCFunction
)_wrap_ScrolledWindow_AdjustScrollbars
, METH_O
, NULL
},
31002 { (char *)"ScrolledWindow_CalcScrollInc", (PyCFunction
) _wrap_ScrolledWindow_CalcScrollInc
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31003 { (char *)"ScrolledWindow_SetTargetWindow", (PyCFunction
) _wrap_ScrolledWindow_SetTargetWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31004 { (char *)"ScrolledWindow_GetTargetWindow", (PyCFunction
)_wrap_ScrolledWindow_GetTargetWindow
, METH_O
, NULL
},
31005 { (char *)"ScrolledWindow_DoPrepareDC", (PyCFunction
) _wrap_ScrolledWindow_DoPrepareDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31006 { (char *)"ScrolledWindow_GetClassDefaultAttributes", (PyCFunction
) _wrap_ScrolledWindow_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31007 { (char *)"ScrolledWindow_swigregister", ScrolledWindow_swigregister
, METH_VARARGS
, NULL
},
31008 { (char *)"ScrolledWindow_swiginit", ScrolledWindow_swiginit
, METH_VARARGS
, NULL
},
31009 { (char *)"TopLevelWindow_Maximize", (PyCFunction
) _wrap_TopLevelWindow_Maximize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31010 { (char *)"TopLevelWindow_Restore", (PyCFunction
)_wrap_TopLevelWindow_Restore
, METH_O
, NULL
},
31011 { (char *)"TopLevelWindow_Iconize", (PyCFunction
) _wrap_TopLevelWindow_Iconize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31012 { (char *)"TopLevelWindow_IsMaximized", (PyCFunction
)_wrap_TopLevelWindow_IsMaximized
, METH_O
, NULL
},
31013 { (char *)"TopLevelWindow_IsAlwaysMaximized", (PyCFunction
)_wrap_TopLevelWindow_IsAlwaysMaximized
, METH_O
, NULL
},
31014 { (char *)"TopLevelWindow_IsIconized", (PyCFunction
)_wrap_TopLevelWindow_IsIconized
, METH_O
, NULL
},
31015 { (char *)"TopLevelWindow_GetIcon", (PyCFunction
)_wrap_TopLevelWindow_GetIcon
, METH_O
, NULL
},
31016 { (char *)"TopLevelWindow_SetIcon", (PyCFunction
) _wrap_TopLevelWindow_SetIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31017 { (char *)"TopLevelWindow_SetIcons", (PyCFunction
) _wrap_TopLevelWindow_SetIcons
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31018 { (char *)"TopLevelWindow_ShowFullScreen", (PyCFunction
) _wrap_TopLevelWindow_ShowFullScreen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31019 { (char *)"TopLevelWindow_IsFullScreen", (PyCFunction
)_wrap_TopLevelWindow_IsFullScreen
, METH_O
, NULL
},
31020 { (char *)"TopLevelWindow_SetTitle", (PyCFunction
) _wrap_TopLevelWindow_SetTitle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31021 { (char *)"TopLevelWindow_GetTitle", (PyCFunction
)_wrap_TopLevelWindow_GetTitle
, METH_O
, NULL
},
31022 { (char *)"TopLevelWindow_SetShape", (PyCFunction
) _wrap_TopLevelWindow_SetShape
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31023 { (char *)"TopLevelWindow_RequestUserAttention", (PyCFunction
) _wrap_TopLevelWindow_RequestUserAttention
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31024 { (char *)"TopLevelWindow_IsActive", (PyCFunction
)_wrap_TopLevelWindow_IsActive
, METH_O
, NULL
},
31025 { (char *)"TopLevelWindow_MacSetMetalAppearance", (PyCFunction
) _wrap_TopLevelWindow_MacSetMetalAppearance
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31026 { (char *)"TopLevelWindow_MacGetMetalAppearance", (PyCFunction
)_wrap_TopLevelWindow_MacGetMetalAppearance
, METH_O
, NULL
},
31027 { (char *)"TopLevelWindow_CenterOnScreen", (PyCFunction
) _wrap_TopLevelWindow_CenterOnScreen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31028 { (char *)"TopLevelWindow_EnableCloseButton", (PyCFunction
) _wrap_TopLevelWindow_EnableCloseButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31029 { (char *)"TopLevelWindow_SetTransparent", (PyCFunction
) _wrap_TopLevelWindow_SetTransparent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31030 { (char *)"TopLevelWindow_CanSetTransparent", (PyCFunction
)_wrap_TopLevelWindow_CanSetTransparent
, METH_O
, NULL
},
31031 { (char *)"TopLevelWindow_GetDefaultItem", (PyCFunction
)_wrap_TopLevelWindow_GetDefaultItem
, METH_O
, NULL
},
31032 { (char *)"TopLevelWindow_SetDefaultItem", (PyCFunction
) _wrap_TopLevelWindow_SetDefaultItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31033 { (char *)"TopLevelWindow_SetTmpDefaultItem", (PyCFunction
) _wrap_TopLevelWindow_SetTmpDefaultItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31034 { (char *)"TopLevelWindow_GetTmpDefaultItem", (PyCFunction
)_wrap_TopLevelWindow_GetTmpDefaultItem
, METH_O
, NULL
},
31035 { (char *)"TopLevelWindow_swigregister", TopLevelWindow_swigregister
, METH_VARARGS
, NULL
},
31036 { (char *)"new_Frame", (PyCFunction
) _wrap_new_Frame
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31037 { (char *)"new_PreFrame", (PyCFunction
)_wrap_new_PreFrame
, METH_NOARGS
, NULL
},
31038 { (char *)"Frame_Create", (PyCFunction
) _wrap_Frame_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31039 { (char *)"Frame_SendSizeEvent", (PyCFunction
)_wrap_Frame_SendSizeEvent
, METH_O
, NULL
},
31040 { (char *)"Frame_SetMenuBar", (PyCFunction
) _wrap_Frame_SetMenuBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31041 { (char *)"Frame_GetMenuBar", (PyCFunction
)_wrap_Frame_GetMenuBar
, METH_O
, NULL
},
31042 { (char *)"Frame_ProcessCommand", (PyCFunction
) _wrap_Frame_ProcessCommand
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31043 { (char *)"Frame_CreateStatusBar", (PyCFunction
) _wrap_Frame_CreateStatusBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31044 { (char *)"Frame_GetStatusBar", (PyCFunction
)_wrap_Frame_GetStatusBar
, METH_O
, NULL
},
31045 { (char *)"Frame_SetStatusBar", (PyCFunction
) _wrap_Frame_SetStatusBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31046 { (char *)"Frame_SetStatusText", (PyCFunction
) _wrap_Frame_SetStatusText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31047 { (char *)"Frame_SetStatusWidths", (PyCFunction
) _wrap_Frame_SetStatusWidths
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31048 { (char *)"Frame_PushStatusText", (PyCFunction
) _wrap_Frame_PushStatusText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31049 { (char *)"Frame_PopStatusText", (PyCFunction
) _wrap_Frame_PopStatusText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31050 { (char *)"Frame_SetStatusBarPane", (PyCFunction
) _wrap_Frame_SetStatusBarPane
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31051 { (char *)"Frame_GetStatusBarPane", (PyCFunction
)_wrap_Frame_GetStatusBarPane
, METH_O
, NULL
},
31052 { (char *)"Frame_CreateToolBar", (PyCFunction
) _wrap_Frame_CreateToolBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31053 { (char *)"Frame_GetToolBar", (PyCFunction
)_wrap_Frame_GetToolBar
, METH_O
, NULL
},
31054 { (char *)"Frame_SetToolBar", (PyCFunction
) _wrap_Frame_SetToolBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31055 { (char *)"Frame_DoGiveHelp", (PyCFunction
) _wrap_Frame_DoGiveHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31056 { (char *)"Frame_DoMenuUpdates", (PyCFunction
) _wrap_Frame_DoMenuUpdates
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31057 { (char *)"Frame_GetClassDefaultAttributes", (PyCFunction
) _wrap_Frame_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31058 { (char *)"Frame_swigregister", Frame_swigregister
, METH_VARARGS
, NULL
},
31059 { (char *)"Frame_swiginit", Frame_swiginit
, METH_VARARGS
, NULL
},
31060 { (char *)"new_Dialog", (PyCFunction
) _wrap_new_Dialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31061 { (char *)"new_PreDialog", (PyCFunction
)_wrap_new_PreDialog
, METH_NOARGS
, NULL
},
31062 { (char *)"Dialog_Create", (PyCFunction
) _wrap_Dialog_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31063 { (char *)"Dialog_SetReturnCode", (PyCFunction
) _wrap_Dialog_SetReturnCode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31064 { (char *)"Dialog_GetReturnCode", (PyCFunction
)_wrap_Dialog_GetReturnCode
, METH_O
, NULL
},
31065 { (char *)"Dialog_SetAffirmativeId", (PyCFunction
) _wrap_Dialog_SetAffirmativeId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31066 { (char *)"Dialog_GetAffirmativeId", (PyCFunction
)_wrap_Dialog_GetAffirmativeId
, METH_O
, NULL
},
31067 { (char *)"Dialog_SetEscapeId", (PyCFunction
) _wrap_Dialog_SetEscapeId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31068 { (char *)"Dialog_GetEscapeId", (PyCFunction
)_wrap_Dialog_GetEscapeId
, METH_O
, NULL
},
31069 { (char *)"Dialog_CreateTextSizer", (PyCFunction
) _wrap_Dialog_CreateTextSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31070 { (char *)"Dialog_CreateButtonSizer", (PyCFunction
) _wrap_Dialog_CreateButtonSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31071 { (char *)"Dialog_CreateStdDialogButtonSizer", (PyCFunction
) _wrap_Dialog_CreateStdDialogButtonSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31072 { (char *)"Dialog_IsModal", (PyCFunction
)_wrap_Dialog_IsModal
, METH_O
, NULL
},
31073 { (char *)"Dialog_ShowModal", (PyCFunction
)_wrap_Dialog_ShowModal
, METH_O
, NULL
},
31074 { (char *)"Dialog_EndModal", (PyCFunction
) _wrap_Dialog_EndModal
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31075 { (char *)"Dialog_GetClassDefaultAttributes", (PyCFunction
) _wrap_Dialog_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31076 { (char *)"Dialog_swigregister", Dialog_swigregister
, METH_VARARGS
, NULL
},
31077 { (char *)"Dialog_swiginit", Dialog_swiginit
, METH_VARARGS
, NULL
},
31078 { (char *)"new_MiniFrame", (PyCFunction
) _wrap_new_MiniFrame
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31079 { (char *)"new_PreMiniFrame", (PyCFunction
)_wrap_new_PreMiniFrame
, METH_NOARGS
, NULL
},
31080 { (char *)"MiniFrame_Create", (PyCFunction
) _wrap_MiniFrame_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31081 { (char *)"MiniFrame_swigregister", MiniFrame_swigregister
, METH_VARARGS
, NULL
},
31082 { (char *)"MiniFrame_swiginit", MiniFrame_swiginit
, METH_VARARGS
, NULL
},
31083 { (char *)"new_SplashScreenWindow", (PyCFunction
) _wrap_new_SplashScreenWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31084 { (char *)"SplashScreenWindow_SetBitmap", (PyCFunction
) _wrap_SplashScreenWindow_SetBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31085 { (char *)"SplashScreenWindow_GetBitmap", (PyCFunction
)_wrap_SplashScreenWindow_GetBitmap
, METH_O
, NULL
},
31086 { (char *)"SplashScreenWindow_swigregister", SplashScreenWindow_swigregister
, METH_VARARGS
, NULL
},
31087 { (char *)"SplashScreenWindow_swiginit", SplashScreenWindow_swiginit
, METH_VARARGS
, NULL
},
31088 { (char *)"new_SplashScreen", (PyCFunction
) _wrap_new_SplashScreen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31089 { (char *)"SplashScreen_GetSplashStyle", (PyCFunction
)_wrap_SplashScreen_GetSplashStyle
, METH_O
, NULL
},
31090 { (char *)"SplashScreen_GetSplashWindow", (PyCFunction
)_wrap_SplashScreen_GetSplashWindow
, METH_O
, NULL
},
31091 { (char *)"SplashScreen_GetTimeout", (PyCFunction
)_wrap_SplashScreen_GetTimeout
, METH_O
, NULL
},
31092 { (char *)"SplashScreen_swigregister", SplashScreen_swigregister
, METH_VARARGS
, NULL
},
31093 { (char *)"SplashScreen_swiginit", SplashScreen_swiginit
, METH_VARARGS
, NULL
},
31094 { (char *)"new_StatusBar", (PyCFunction
) _wrap_new_StatusBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31095 { (char *)"new_PreStatusBar", (PyCFunction
)_wrap_new_PreStatusBar
, METH_NOARGS
, NULL
},
31096 { (char *)"StatusBar_Create", (PyCFunction
) _wrap_StatusBar_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31097 { (char *)"StatusBar_SetFieldsCount", (PyCFunction
) _wrap_StatusBar_SetFieldsCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31098 { (char *)"StatusBar_GetFieldsCount", (PyCFunction
)_wrap_StatusBar_GetFieldsCount
, METH_O
, NULL
},
31099 { (char *)"StatusBar_SetStatusText", (PyCFunction
) _wrap_StatusBar_SetStatusText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31100 { (char *)"StatusBar_GetStatusText", (PyCFunction
) _wrap_StatusBar_GetStatusText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31101 { (char *)"StatusBar_PushStatusText", (PyCFunction
) _wrap_StatusBar_PushStatusText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31102 { (char *)"StatusBar_PopStatusText", (PyCFunction
) _wrap_StatusBar_PopStatusText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31103 { (char *)"StatusBar_SetStatusWidths", (PyCFunction
) _wrap_StatusBar_SetStatusWidths
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31104 { (char *)"StatusBar_SetStatusStyles", (PyCFunction
) _wrap_StatusBar_SetStatusStyles
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31105 { (char *)"StatusBar_GetFieldRect", (PyCFunction
) _wrap_StatusBar_GetFieldRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31106 { (char *)"StatusBar_SetMinHeight", (PyCFunction
) _wrap_StatusBar_SetMinHeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31107 { (char *)"StatusBar_GetBorderX", (PyCFunction
)_wrap_StatusBar_GetBorderX
, METH_O
, NULL
},
31108 { (char *)"StatusBar_GetBorderY", (PyCFunction
)_wrap_StatusBar_GetBorderY
, METH_O
, NULL
},
31109 { (char *)"StatusBar_GetClassDefaultAttributes", (PyCFunction
) _wrap_StatusBar_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31110 { (char *)"StatusBar_swigregister", StatusBar_swigregister
, METH_VARARGS
, NULL
},
31111 { (char *)"StatusBar_swiginit", StatusBar_swiginit
, METH_VARARGS
, NULL
},
31112 { (char *)"new_SplitterWindow", (PyCFunction
) _wrap_new_SplitterWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31113 { (char *)"new_PreSplitterWindow", (PyCFunction
)_wrap_new_PreSplitterWindow
, METH_NOARGS
, NULL
},
31114 { (char *)"SplitterWindow_Create", (PyCFunction
) _wrap_SplitterWindow_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31115 { (char *)"SplitterWindow_GetWindow1", (PyCFunction
)_wrap_SplitterWindow_GetWindow1
, METH_O
, NULL
},
31116 { (char *)"SplitterWindow_GetWindow2", (PyCFunction
)_wrap_SplitterWindow_GetWindow2
, METH_O
, NULL
},
31117 { (char *)"SplitterWindow_SetSplitMode", (PyCFunction
) _wrap_SplitterWindow_SetSplitMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31118 { (char *)"SplitterWindow_GetSplitMode", (PyCFunction
)_wrap_SplitterWindow_GetSplitMode
, METH_O
, NULL
},
31119 { (char *)"SplitterWindow_Initialize", (PyCFunction
) _wrap_SplitterWindow_Initialize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31120 { (char *)"SplitterWindow_SplitVertically", (PyCFunction
) _wrap_SplitterWindow_SplitVertically
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31121 { (char *)"SplitterWindow_SplitHorizontally", (PyCFunction
) _wrap_SplitterWindow_SplitHorizontally
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31122 { (char *)"SplitterWindow_Unsplit", (PyCFunction
) _wrap_SplitterWindow_Unsplit
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31123 { (char *)"SplitterWindow_ReplaceWindow", (PyCFunction
) _wrap_SplitterWindow_ReplaceWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31124 { (char *)"SplitterWindow_UpdateSize", (PyCFunction
)_wrap_SplitterWindow_UpdateSize
, METH_O
, NULL
},
31125 { (char *)"SplitterWindow_IsSplit", (PyCFunction
)_wrap_SplitterWindow_IsSplit
, METH_O
, NULL
},
31126 { (char *)"SplitterWindow_SetSashSize", (PyCFunction
) _wrap_SplitterWindow_SetSashSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31127 { (char *)"SplitterWindow_SetBorderSize", (PyCFunction
) _wrap_SplitterWindow_SetBorderSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31128 { (char *)"SplitterWindow_GetSashSize", (PyCFunction
)_wrap_SplitterWindow_GetSashSize
, METH_O
, NULL
},
31129 { (char *)"SplitterWindow_GetBorderSize", (PyCFunction
)_wrap_SplitterWindow_GetBorderSize
, METH_O
, NULL
},
31130 { (char *)"SplitterWindow_SetSashPosition", (PyCFunction
) _wrap_SplitterWindow_SetSashPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31131 { (char *)"SplitterWindow_GetSashPosition", (PyCFunction
)_wrap_SplitterWindow_GetSashPosition
, METH_O
, NULL
},
31132 { (char *)"SplitterWindow_SetSashGravity", (PyCFunction
) _wrap_SplitterWindow_SetSashGravity
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31133 { (char *)"SplitterWindow_GetSashGravity", (PyCFunction
)_wrap_SplitterWindow_GetSashGravity
, METH_O
, NULL
},
31134 { (char *)"SplitterWindow_SetMinimumPaneSize", (PyCFunction
) _wrap_SplitterWindow_SetMinimumPaneSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31135 { (char *)"SplitterWindow_GetMinimumPaneSize", (PyCFunction
)_wrap_SplitterWindow_GetMinimumPaneSize
, METH_O
, NULL
},
31136 { (char *)"SplitterWindow_SashHitTest", (PyCFunction
) _wrap_SplitterWindow_SashHitTest
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31137 { (char *)"SplitterWindow_SizeWindows", (PyCFunction
)_wrap_SplitterWindow_SizeWindows
, METH_O
, NULL
},
31138 { (char *)"SplitterWindow_SetNeedUpdating", (PyCFunction
) _wrap_SplitterWindow_SetNeedUpdating
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31139 { (char *)"SplitterWindow_GetNeedUpdating", (PyCFunction
)_wrap_SplitterWindow_GetNeedUpdating
, METH_O
, NULL
},
31140 { (char *)"SplitterWindow_GetClassDefaultAttributes", (PyCFunction
) _wrap_SplitterWindow_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31141 { (char *)"SplitterWindow_swigregister", SplitterWindow_swigregister
, METH_VARARGS
, NULL
},
31142 { (char *)"SplitterWindow_swiginit", SplitterWindow_swiginit
, METH_VARARGS
, NULL
},
31143 { (char *)"new_SplitterEvent", (PyCFunction
) _wrap_new_SplitterEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31144 { (char *)"SplitterEvent_SetSashPosition", (PyCFunction
) _wrap_SplitterEvent_SetSashPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31145 { (char *)"SplitterEvent_GetSashPosition", (PyCFunction
)_wrap_SplitterEvent_GetSashPosition
, METH_O
, NULL
},
31146 { (char *)"SplitterEvent_GetWindowBeingRemoved", (PyCFunction
)_wrap_SplitterEvent_GetWindowBeingRemoved
, METH_O
, NULL
},
31147 { (char *)"SplitterEvent_GetX", (PyCFunction
)_wrap_SplitterEvent_GetX
, METH_O
, NULL
},
31148 { (char *)"SplitterEvent_GetY", (PyCFunction
)_wrap_SplitterEvent_GetY
, METH_O
, NULL
},
31149 { (char *)"SplitterEvent_swigregister", SplitterEvent_swigregister
, METH_VARARGS
, NULL
},
31150 { (char *)"SplitterEvent_swiginit", SplitterEvent_swiginit
, METH_VARARGS
, NULL
},
31151 { (char *)"new_SashWindow", (PyCFunction
) _wrap_new_SashWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31152 { (char *)"new_PreSashWindow", (PyCFunction
)_wrap_new_PreSashWindow
, METH_NOARGS
, NULL
},
31153 { (char *)"SashWindow_Create", (PyCFunction
) _wrap_SashWindow_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31154 { (char *)"SashWindow_SetSashVisible", (PyCFunction
) _wrap_SashWindow_SetSashVisible
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31155 { (char *)"SashWindow_GetSashVisible", (PyCFunction
) _wrap_SashWindow_GetSashVisible
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31156 { (char *)"SashWindow_SetSashBorder", (PyCFunction
) _wrap_SashWindow_SetSashBorder
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31157 { (char *)"SashWindow_HasBorder", (PyCFunction
) _wrap_SashWindow_HasBorder
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31158 { (char *)"SashWindow_GetEdgeMargin", (PyCFunction
) _wrap_SashWindow_GetEdgeMargin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31159 { (char *)"SashWindow_SetDefaultBorderSize", (PyCFunction
) _wrap_SashWindow_SetDefaultBorderSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31160 { (char *)"SashWindow_GetDefaultBorderSize", (PyCFunction
)_wrap_SashWindow_GetDefaultBorderSize
, METH_O
, NULL
},
31161 { (char *)"SashWindow_SetExtraBorderSize", (PyCFunction
) _wrap_SashWindow_SetExtraBorderSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31162 { (char *)"SashWindow_GetExtraBorderSize", (PyCFunction
)_wrap_SashWindow_GetExtraBorderSize
, METH_O
, NULL
},
31163 { (char *)"SashWindow_SetMinimumSizeX", (PyCFunction
) _wrap_SashWindow_SetMinimumSizeX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31164 { (char *)"SashWindow_SetMinimumSizeY", (PyCFunction
) _wrap_SashWindow_SetMinimumSizeY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31165 { (char *)"SashWindow_GetMinimumSizeX", (PyCFunction
)_wrap_SashWindow_GetMinimumSizeX
, METH_O
, NULL
},
31166 { (char *)"SashWindow_GetMinimumSizeY", (PyCFunction
)_wrap_SashWindow_GetMinimumSizeY
, METH_O
, NULL
},
31167 { (char *)"SashWindow_SetMaximumSizeX", (PyCFunction
) _wrap_SashWindow_SetMaximumSizeX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31168 { (char *)"SashWindow_SetMaximumSizeY", (PyCFunction
) _wrap_SashWindow_SetMaximumSizeY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31169 { (char *)"SashWindow_GetMaximumSizeX", (PyCFunction
)_wrap_SashWindow_GetMaximumSizeX
, METH_O
, NULL
},
31170 { (char *)"SashWindow_GetMaximumSizeY", (PyCFunction
)_wrap_SashWindow_GetMaximumSizeY
, METH_O
, NULL
},
31171 { (char *)"SashWindow_SashHitTest", (PyCFunction
) _wrap_SashWindow_SashHitTest
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31172 { (char *)"SashWindow_SizeWindows", (PyCFunction
)_wrap_SashWindow_SizeWindows
, METH_O
, NULL
},
31173 { (char *)"SashWindow_swigregister", SashWindow_swigregister
, METH_VARARGS
, NULL
},
31174 { (char *)"SashWindow_swiginit", SashWindow_swiginit
, METH_VARARGS
, NULL
},
31175 { (char *)"new_SashEvent", (PyCFunction
) _wrap_new_SashEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31176 { (char *)"SashEvent_SetEdge", (PyCFunction
) _wrap_SashEvent_SetEdge
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31177 { (char *)"SashEvent_GetEdge", (PyCFunction
)_wrap_SashEvent_GetEdge
, METH_O
, NULL
},
31178 { (char *)"SashEvent_SetDragRect", (PyCFunction
) _wrap_SashEvent_SetDragRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31179 { (char *)"SashEvent_GetDragRect", (PyCFunction
)_wrap_SashEvent_GetDragRect
, METH_O
, NULL
},
31180 { (char *)"SashEvent_SetDragStatus", (PyCFunction
) _wrap_SashEvent_SetDragStatus
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31181 { (char *)"SashEvent_GetDragStatus", (PyCFunction
)_wrap_SashEvent_GetDragStatus
, METH_O
, NULL
},
31182 { (char *)"SashEvent_swigregister", SashEvent_swigregister
, METH_VARARGS
, NULL
},
31183 { (char *)"SashEvent_swiginit", SashEvent_swiginit
, METH_VARARGS
, NULL
},
31184 { (char *)"new_QueryLayoutInfoEvent", (PyCFunction
) _wrap_new_QueryLayoutInfoEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31185 { (char *)"QueryLayoutInfoEvent_SetRequestedLength", (PyCFunction
) _wrap_QueryLayoutInfoEvent_SetRequestedLength
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31186 { (char *)"QueryLayoutInfoEvent_GetRequestedLength", (PyCFunction
)_wrap_QueryLayoutInfoEvent_GetRequestedLength
, METH_O
, NULL
},
31187 { (char *)"QueryLayoutInfoEvent_SetFlags", (PyCFunction
) _wrap_QueryLayoutInfoEvent_SetFlags
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31188 { (char *)"QueryLayoutInfoEvent_GetFlags", (PyCFunction
)_wrap_QueryLayoutInfoEvent_GetFlags
, METH_O
, NULL
},
31189 { (char *)"QueryLayoutInfoEvent_SetSize", (PyCFunction
) _wrap_QueryLayoutInfoEvent_SetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31190 { (char *)"QueryLayoutInfoEvent_GetSize", (PyCFunction
)_wrap_QueryLayoutInfoEvent_GetSize
, METH_O
, NULL
},
31191 { (char *)"QueryLayoutInfoEvent_SetOrientation", (PyCFunction
) _wrap_QueryLayoutInfoEvent_SetOrientation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31192 { (char *)"QueryLayoutInfoEvent_GetOrientation", (PyCFunction
)_wrap_QueryLayoutInfoEvent_GetOrientation
, METH_O
, NULL
},
31193 { (char *)"QueryLayoutInfoEvent_SetAlignment", (PyCFunction
) _wrap_QueryLayoutInfoEvent_SetAlignment
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31194 { (char *)"QueryLayoutInfoEvent_GetAlignment", (PyCFunction
)_wrap_QueryLayoutInfoEvent_GetAlignment
, METH_O
, NULL
},
31195 { (char *)"QueryLayoutInfoEvent_swigregister", QueryLayoutInfoEvent_swigregister
, METH_VARARGS
, NULL
},
31196 { (char *)"QueryLayoutInfoEvent_swiginit", QueryLayoutInfoEvent_swiginit
, METH_VARARGS
, NULL
},
31197 { (char *)"new_CalculateLayoutEvent", (PyCFunction
) _wrap_new_CalculateLayoutEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31198 { (char *)"CalculateLayoutEvent_SetFlags", (PyCFunction
) _wrap_CalculateLayoutEvent_SetFlags
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31199 { (char *)"CalculateLayoutEvent_GetFlags", (PyCFunction
)_wrap_CalculateLayoutEvent_GetFlags
, METH_O
, NULL
},
31200 { (char *)"CalculateLayoutEvent_SetRect", (PyCFunction
) _wrap_CalculateLayoutEvent_SetRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31201 { (char *)"CalculateLayoutEvent_GetRect", (PyCFunction
)_wrap_CalculateLayoutEvent_GetRect
, METH_O
, NULL
},
31202 { (char *)"CalculateLayoutEvent_swigregister", CalculateLayoutEvent_swigregister
, METH_VARARGS
, NULL
},
31203 { (char *)"CalculateLayoutEvent_swiginit", CalculateLayoutEvent_swiginit
, METH_VARARGS
, NULL
},
31204 { (char *)"new_SashLayoutWindow", (PyCFunction
) _wrap_new_SashLayoutWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31205 { (char *)"new_PreSashLayoutWindow", (PyCFunction
)_wrap_new_PreSashLayoutWindow
, METH_NOARGS
, NULL
},
31206 { (char *)"SashLayoutWindow_Create", (PyCFunction
) _wrap_SashLayoutWindow_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31207 { (char *)"SashLayoutWindow_GetAlignment", (PyCFunction
)_wrap_SashLayoutWindow_GetAlignment
, METH_O
, NULL
},
31208 { (char *)"SashLayoutWindow_GetOrientation", (PyCFunction
)_wrap_SashLayoutWindow_GetOrientation
, METH_O
, NULL
},
31209 { (char *)"SashLayoutWindow_SetAlignment", (PyCFunction
) _wrap_SashLayoutWindow_SetAlignment
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31210 { (char *)"SashLayoutWindow_SetDefaultSize", (PyCFunction
) _wrap_SashLayoutWindow_SetDefaultSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31211 { (char *)"SashLayoutWindow_SetOrientation", (PyCFunction
) _wrap_SashLayoutWindow_SetOrientation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31212 { (char *)"SashLayoutWindow_swigregister", SashLayoutWindow_swigregister
, METH_VARARGS
, NULL
},
31213 { (char *)"SashLayoutWindow_swiginit", SashLayoutWindow_swiginit
, METH_VARARGS
, NULL
},
31214 { (char *)"new_LayoutAlgorithm", (PyCFunction
)_wrap_new_LayoutAlgorithm
, METH_NOARGS
, NULL
},
31215 { (char *)"delete_LayoutAlgorithm", (PyCFunction
)_wrap_delete_LayoutAlgorithm
, METH_O
, NULL
},
31216 { (char *)"LayoutAlgorithm_LayoutMDIFrame", (PyCFunction
) _wrap_LayoutAlgorithm_LayoutMDIFrame
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31217 { (char *)"LayoutAlgorithm_LayoutFrame", (PyCFunction
) _wrap_LayoutAlgorithm_LayoutFrame
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31218 { (char *)"LayoutAlgorithm_LayoutWindow", (PyCFunction
) _wrap_LayoutAlgorithm_LayoutWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31219 { (char *)"LayoutAlgorithm_swigregister", LayoutAlgorithm_swigregister
, METH_VARARGS
, NULL
},
31220 { (char *)"LayoutAlgorithm_swiginit", LayoutAlgorithm_swiginit
, METH_VARARGS
, NULL
},
31221 { (char *)"new_PopupWindow", (PyCFunction
) _wrap_new_PopupWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31222 { (char *)"new_PrePopupWindow", (PyCFunction
)_wrap_new_PrePopupWindow
, METH_NOARGS
, NULL
},
31223 { (char *)"PopupWindow_Create", (PyCFunction
) _wrap_PopupWindow_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31224 { (char *)"PopupWindow_Position", (PyCFunction
) _wrap_PopupWindow_Position
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31225 { (char *)"PopupWindow_swigregister", PopupWindow_swigregister
, METH_VARARGS
, NULL
},
31226 { (char *)"PopupWindow_swiginit", PopupWindow_swiginit
, METH_VARARGS
, NULL
},
31227 { (char *)"new_PopupTransientWindow", (PyCFunction
) _wrap_new_PopupTransientWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31228 { (char *)"new_PrePopupTransientWindow", (PyCFunction
)_wrap_new_PrePopupTransientWindow
, METH_NOARGS
, NULL
},
31229 { (char *)"PopupTransientWindow__setCallbackInfo", (PyCFunction
) _wrap_PopupTransientWindow__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31230 { (char *)"PopupTransientWindow_Popup", (PyCFunction
) _wrap_PopupTransientWindow_Popup
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31231 { (char *)"PopupTransientWindow_Dismiss", (PyCFunction
)_wrap_PopupTransientWindow_Dismiss
, METH_O
, NULL
},
31232 { (char *)"PopupTransientWindow_swigregister", PopupTransientWindow_swigregister
, METH_VARARGS
, NULL
},
31233 { (char *)"PopupTransientWindow_swiginit", PopupTransientWindow_swiginit
, METH_VARARGS
, NULL
},
31234 { (char *)"new_TipWindow", (PyCFunction
) _wrap_new_TipWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31235 { (char *)"TipWindow_SetBoundingRect", (PyCFunction
) _wrap_TipWindow_SetBoundingRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31236 { (char *)"TipWindow_Close", (PyCFunction
)_wrap_TipWindow_Close
, METH_O
, NULL
},
31237 { (char *)"TipWindow_swigregister", TipWindow_swigregister
, METH_VARARGS
, NULL
},
31238 { (char *)"TipWindow_swiginit", TipWindow_swiginit
, METH_VARARGS
, NULL
},
31239 { (char *)"new_VScrolledWindow", (PyCFunction
) _wrap_new_VScrolledWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31240 { (char *)"new_PreVScrolledWindow", (PyCFunction
)_wrap_new_PreVScrolledWindow
, METH_NOARGS
, NULL
},
31241 { (char *)"VScrolledWindow__setCallbackInfo", (PyCFunction
) _wrap_VScrolledWindow__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31242 { (char *)"VScrolledWindow_Create", (PyCFunction
) _wrap_VScrolledWindow_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31243 { (char *)"VScrolledWindow_SetLineCount", (PyCFunction
) _wrap_VScrolledWindow_SetLineCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31244 { (char *)"VScrolledWindow_ScrollToLine", (PyCFunction
) _wrap_VScrolledWindow_ScrollToLine
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31245 { (char *)"VScrolledWindow_RefreshLine", (PyCFunction
) _wrap_VScrolledWindow_RefreshLine
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31246 { (char *)"VScrolledWindow_RefreshLines", (PyCFunction
) _wrap_VScrolledWindow_RefreshLines
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31247 { (char *)"VScrolledWindow_HitTestXY", (PyCFunction
) _wrap_VScrolledWindow_HitTestXY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31248 { (char *)"VScrolledWindow_HitTest", (PyCFunction
) _wrap_VScrolledWindow_HitTest
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31249 { (char *)"VScrolledWindow_RefreshAll", (PyCFunction
)_wrap_VScrolledWindow_RefreshAll
, METH_O
, NULL
},
31250 { (char *)"VScrolledWindow_GetLineCount", (PyCFunction
)_wrap_VScrolledWindow_GetLineCount
, METH_O
, NULL
},
31251 { (char *)"VScrolledWindow_GetVisibleBegin", (PyCFunction
)_wrap_VScrolledWindow_GetVisibleBegin
, METH_O
, NULL
},
31252 { (char *)"VScrolledWindow_GetVisibleEnd", (PyCFunction
)_wrap_VScrolledWindow_GetVisibleEnd
, METH_O
, NULL
},
31253 { (char *)"VScrolledWindow_IsVisible", (PyCFunction
) _wrap_VScrolledWindow_IsVisible
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31254 { (char *)"VScrolledWindow_GetFirstVisibleLine", (PyCFunction
)_wrap_VScrolledWindow_GetFirstVisibleLine
, METH_O
, NULL
},
31255 { (char *)"VScrolledWindow_GetLastVisibleLine", (PyCFunction
)_wrap_VScrolledWindow_GetLastVisibleLine
, METH_O
, NULL
},
31256 { (char *)"VScrolledWindow_FindFirstFromBottom", (PyCFunction
) _wrap_VScrolledWindow_FindFirstFromBottom
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31257 { (char *)"VScrolledWindow_GetLinesHeight", (PyCFunction
) _wrap_VScrolledWindow_GetLinesHeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31258 { (char *)"VScrolledWindow_swigregister", VScrolledWindow_swigregister
, METH_VARARGS
, NULL
},
31259 { (char *)"VScrolledWindow_swiginit", VScrolledWindow_swiginit
, METH_VARARGS
, NULL
},
31260 { (char *)"new_VListBox", (PyCFunction
) _wrap_new_VListBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31261 { (char *)"new_PreVListBox", (PyCFunction
)_wrap_new_PreVListBox
, METH_NOARGS
, NULL
},
31262 { (char *)"VListBox__setCallbackInfo", (PyCFunction
) _wrap_VListBox__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31263 { (char *)"VListBox_Create", (PyCFunction
) _wrap_VListBox_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31264 { (char *)"VListBox_GetItemCount", (PyCFunction
)_wrap_VListBox_GetItemCount
, METH_O
, NULL
},
31265 { (char *)"VListBox_HasMultipleSelection", (PyCFunction
)_wrap_VListBox_HasMultipleSelection
, METH_O
, NULL
},
31266 { (char *)"VListBox_GetSelection", (PyCFunction
)_wrap_VListBox_GetSelection
, METH_O
, NULL
},
31267 { (char *)"VListBox_IsCurrent", (PyCFunction
) _wrap_VListBox_IsCurrent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31268 { (char *)"VListBox_IsSelected", (PyCFunction
) _wrap_VListBox_IsSelected
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31269 { (char *)"VListBox_GetSelectedCount", (PyCFunction
)_wrap_VListBox_GetSelectedCount
, METH_O
, NULL
},
31270 { (char *)"VListBox_GetFirstSelected", (PyCFunction
)_wrap_VListBox_GetFirstSelected
, METH_O
, NULL
},
31271 { (char *)"VListBox_GetNextSelected", (PyCFunction
) _wrap_VListBox_GetNextSelected
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31272 { (char *)"VListBox_GetMargins", (PyCFunction
)_wrap_VListBox_GetMargins
, METH_O
, NULL
},
31273 { (char *)"VListBox_GetSelectionBackground", (PyCFunction
)_wrap_VListBox_GetSelectionBackground
, METH_O
, NULL
},
31274 { (char *)"VListBox_SetItemCount", (PyCFunction
) _wrap_VListBox_SetItemCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31275 { (char *)"VListBox_Clear", (PyCFunction
)_wrap_VListBox_Clear
, METH_O
, NULL
},
31276 { (char *)"VListBox_SetSelection", (PyCFunction
) _wrap_VListBox_SetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31277 { (char *)"VListBox_Select", (PyCFunction
) _wrap_VListBox_Select
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31278 { (char *)"VListBox_SelectRange", (PyCFunction
) _wrap_VListBox_SelectRange
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31279 { (char *)"VListBox_Toggle", (PyCFunction
) _wrap_VListBox_Toggle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31280 { (char *)"VListBox_SelectAll", (PyCFunction
)_wrap_VListBox_SelectAll
, METH_O
, NULL
},
31281 { (char *)"VListBox_DeselectAll", (PyCFunction
)_wrap_VListBox_DeselectAll
, METH_O
, NULL
},
31282 { (char *)"VListBox_SetMargins", (PyCFunction
) _wrap_VListBox_SetMargins
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31283 { (char *)"VListBox_SetMarginsXY", (PyCFunction
) _wrap_VListBox_SetMarginsXY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31284 { (char *)"VListBox_SetSelectionBackground", (PyCFunction
) _wrap_VListBox_SetSelectionBackground
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31285 { (char *)"VListBox_OnDrawSeparator", (PyCFunction
) _wrap_VListBox_OnDrawSeparator
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31286 { (char *)"VListBox_OnDrawBackground", (PyCFunction
) _wrap_VListBox_OnDrawBackground
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31287 { (char *)"VListBox_swigregister", VListBox_swigregister
, METH_VARARGS
, NULL
},
31288 { (char *)"VListBox_swiginit", VListBox_swiginit
, METH_VARARGS
, NULL
},
31289 { (char *)"new_HtmlListBox", (PyCFunction
) _wrap_new_HtmlListBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31290 { (char *)"new_PreHtmlListBox", (PyCFunction
)_wrap_new_PreHtmlListBox
, METH_NOARGS
, NULL
},
31291 { (char *)"HtmlListBox__setCallbackInfo", (PyCFunction
) _wrap_HtmlListBox__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31292 { (char *)"HtmlListBox_Create", (PyCFunction
) _wrap_HtmlListBox_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31293 { (char *)"HtmlListBox_SetItemCount", (PyCFunction
) _wrap_HtmlListBox_SetItemCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31294 { (char *)"HtmlListBox_GetFileSystem", (PyCFunction
)_wrap_HtmlListBox_GetFileSystem
, METH_O
, NULL
},
31295 { (char *)"HtmlListBox_OnLinkClicked", (PyCFunction
) _wrap_HtmlListBox_OnLinkClicked
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31296 { (char *)"HtmlListBox_swigregister", HtmlListBox_swigregister
, METH_VARARGS
, NULL
},
31297 { (char *)"HtmlListBox_swiginit", HtmlListBox_swiginit
, METH_VARARGS
, NULL
},
31298 { (char *)"new_TaskBarIcon", (PyCFunction
)_wrap_new_TaskBarIcon
, METH_NOARGS
, NULL
},
31299 { (char *)"delete_TaskBarIcon", (PyCFunction
)_wrap_delete_TaskBarIcon
, METH_O
, NULL
},
31300 { (char *)"TaskBarIcon__setCallbackInfo", (PyCFunction
) _wrap_TaskBarIcon__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31301 { (char *)"TaskBarIcon_Destroy", (PyCFunction
)_wrap_TaskBarIcon_Destroy
, METH_O
, NULL
},
31302 { (char *)"TaskBarIcon_IsOk", (PyCFunction
)_wrap_TaskBarIcon_IsOk
, METH_O
, NULL
},
31303 { (char *)"TaskBarIcon_IsIconInstalled", (PyCFunction
)_wrap_TaskBarIcon_IsIconInstalled
, METH_O
, NULL
},
31304 { (char *)"TaskBarIcon_SetIcon", (PyCFunction
) _wrap_TaskBarIcon_SetIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31305 { (char *)"TaskBarIcon_RemoveIcon", (PyCFunction
)_wrap_TaskBarIcon_RemoveIcon
, METH_O
, NULL
},
31306 { (char *)"TaskBarIcon_PopupMenu", (PyCFunction
) _wrap_TaskBarIcon_PopupMenu
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31307 { (char *)"TaskBarIcon_swigregister", TaskBarIcon_swigregister
, METH_VARARGS
, NULL
},
31308 { (char *)"TaskBarIcon_swiginit", TaskBarIcon_swiginit
, METH_VARARGS
, NULL
},
31309 { (char *)"new_TaskBarIconEvent", (PyCFunction
) _wrap_new_TaskBarIconEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31310 { (char *)"TaskBarIconEvent_swigregister", TaskBarIconEvent_swigregister
, METH_VARARGS
, NULL
},
31311 { (char *)"TaskBarIconEvent_swiginit", TaskBarIconEvent_swiginit
, METH_VARARGS
, NULL
},
31312 { (char *)"new_ColourData", (PyCFunction
)_wrap_new_ColourData
, METH_NOARGS
, NULL
},
31313 { (char *)"delete_ColourData", (PyCFunction
)_wrap_delete_ColourData
, METH_O
, NULL
},
31314 { (char *)"ColourData_GetChooseFull", (PyCFunction
)_wrap_ColourData_GetChooseFull
, METH_O
, NULL
},
31315 { (char *)"ColourData_GetColour", (PyCFunction
)_wrap_ColourData_GetColour
, METH_O
, NULL
},
31316 { (char *)"ColourData_GetCustomColour", (PyCFunction
) _wrap_ColourData_GetCustomColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31317 { (char *)"ColourData_SetChooseFull", (PyCFunction
) _wrap_ColourData_SetChooseFull
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31318 { (char *)"ColourData_SetColour", (PyCFunction
) _wrap_ColourData_SetColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31319 { (char *)"ColourData_SetCustomColour", (PyCFunction
) _wrap_ColourData_SetCustomColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31320 { (char *)"ColourData_swigregister", ColourData_swigregister
, METH_VARARGS
, NULL
},
31321 { (char *)"ColourData_swiginit", ColourData_swiginit
, METH_VARARGS
, NULL
},
31322 { (char *)"new_ColourDialog", (PyCFunction
) _wrap_new_ColourDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31323 { (char *)"ColourDialog_GetColourData", (PyCFunction
)_wrap_ColourDialog_GetColourData
, METH_O
, NULL
},
31324 { (char *)"ColourDialog_swigregister", ColourDialog_swigregister
, METH_VARARGS
, NULL
},
31325 { (char *)"ColourDialog_swiginit", ColourDialog_swiginit
, METH_VARARGS
, NULL
},
31326 { (char *)"GetColourFromUser", (PyCFunction
) _wrap_GetColourFromUser
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31327 { (char *)"new_DirDialog", (PyCFunction
) _wrap_new_DirDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31328 { (char *)"DirDialog_GetPath", (PyCFunction
)_wrap_DirDialog_GetPath
, METH_O
, NULL
},
31329 { (char *)"DirDialog_GetMessage", (PyCFunction
)_wrap_DirDialog_GetMessage
, METH_O
, NULL
},
31330 { (char *)"DirDialog_SetMessage", (PyCFunction
) _wrap_DirDialog_SetMessage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31331 { (char *)"DirDialog_SetPath", (PyCFunction
) _wrap_DirDialog_SetPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31332 { (char *)"DirDialog_swigregister", DirDialog_swigregister
, METH_VARARGS
, NULL
},
31333 { (char *)"DirDialog_swiginit", DirDialog_swiginit
, METH_VARARGS
, NULL
},
31334 { (char *)"new_FileDialog", (PyCFunction
) _wrap_new_FileDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31335 { (char *)"FileDialog_SetMessage", (PyCFunction
) _wrap_FileDialog_SetMessage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31336 { (char *)"FileDialog_SetPath", (PyCFunction
) _wrap_FileDialog_SetPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31337 { (char *)"FileDialog_SetDirectory", (PyCFunction
) _wrap_FileDialog_SetDirectory
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31338 { (char *)"FileDialog_SetFilename", (PyCFunction
) _wrap_FileDialog_SetFilename
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31339 { (char *)"FileDialog_SetWildcard", (PyCFunction
) _wrap_FileDialog_SetWildcard
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31340 { (char *)"FileDialog_SetFilterIndex", (PyCFunction
) _wrap_FileDialog_SetFilterIndex
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31341 { (char *)"FileDialog_GetMessage", (PyCFunction
)_wrap_FileDialog_GetMessage
, METH_O
, NULL
},
31342 { (char *)"FileDialog_GetPath", (PyCFunction
)_wrap_FileDialog_GetPath
, METH_O
, NULL
},
31343 { (char *)"FileDialog_GetDirectory", (PyCFunction
)_wrap_FileDialog_GetDirectory
, METH_O
, NULL
},
31344 { (char *)"FileDialog_GetFilename", (PyCFunction
)_wrap_FileDialog_GetFilename
, METH_O
, NULL
},
31345 { (char *)"FileDialog_GetWildcard", (PyCFunction
)_wrap_FileDialog_GetWildcard
, METH_O
, NULL
},
31346 { (char *)"FileDialog_GetFilterIndex", (PyCFunction
)_wrap_FileDialog_GetFilterIndex
, METH_O
, NULL
},
31347 { (char *)"FileDialog_GetFilenames", (PyCFunction
)_wrap_FileDialog_GetFilenames
, METH_O
, NULL
},
31348 { (char *)"FileDialog_GetPaths", (PyCFunction
)_wrap_FileDialog_GetPaths
, METH_O
, NULL
},
31349 { (char *)"FileDialog_swigregister", FileDialog_swigregister
, METH_VARARGS
, NULL
},
31350 { (char *)"FileDialog_swiginit", FileDialog_swiginit
, METH_VARARGS
, NULL
},
31351 { (char *)"new_MultiChoiceDialog", (PyCFunction
) _wrap_new_MultiChoiceDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31352 { (char *)"MultiChoiceDialog_SetSelections", (PyCFunction
) _wrap_MultiChoiceDialog_SetSelections
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31353 { (char *)"MultiChoiceDialog_GetSelections", (PyCFunction
)_wrap_MultiChoiceDialog_GetSelections
, METH_O
, NULL
},
31354 { (char *)"MultiChoiceDialog_swigregister", MultiChoiceDialog_swigregister
, METH_VARARGS
, NULL
},
31355 { (char *)"MultiChoiceDialog_swiginit", MultiChoiceDialog_swiginit
, METH_VARARGS
, NULL
},
31356 { (char *)"new_SingleChoiceDialog", (PyCFunction
) _wrap_new_SingleChoiceDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31357 { (char *)"SingleChoiceDialog_GetSelection", (PyCFunction
)_wrap_SingleChoiceDialog_GetSelection
, METH_O
, NULL
},
31358 { (char *)"SingleChoiceDialog_GetStringSelection", (PyCFunction
)_wrap_SingleChoiceDialog_GetStringSelection
, METH_O
, NULL
},
31359 { (char *)"SingleChoiceDialog_SetSelection", (PyCFunction
) _wrap_SingleChoiceDialog_SetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31360 { (char *)"SingleChoiceDialog_swigregister", SingleChoiceDialog_swigregister
, METH_VARARGS
, NULL
},
31361 { (char *)"SingleChoiceDialog_swiginit", SingleChoiceDialog_swiginit
, METH_VARARGS
, NULL
},
31362 { (char *)"new_TextEntryDialog", (PyCFunction
) _wrap_new_TextEntryDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31363 { (char *)"TextEntryDialog_GetValue", (PyCFunction
)_wrap_TextEntryDialog_GetValue
, METH_O
, NULL
},
31364 { (char *)"TextEntryDialog_SetValue", (PyCFunction
) _wrap_TextEntryDialog_SetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31365 { (char *)"TextEntryDialog_swigregister", TextEntryDialog_swigregister
, METH_VARARGS
, NULL
},
31366 { (char *)"TextEntryDialog_swiginit", TextEntryDialog_swiginit
, METH_VARARGS
, NULL
},
31367 { (char *)"new_PasswordEntryDialog", (PyCFunction
) _wrap_new_PasswordEntryDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31368 { (char *)"PasswordEntryDialog_swigregister", PasswordEntryDialog_swigregister
, METH_VARARGS
, NULL
},
31369 { (char *)"PasswordEntryDialog_swiginit", PasswordEntryDialog_swiginit
, METH_VARARGS
, NULL
},
31370 { (char *)"new_NumberEntryDialog", (PyCFunction
) _wrap_new_NumberEntryDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31371 { (char *)"NumberEntryDialog_GetValue", (PyCFunction
)_wrap_NumberEntryDialog_GetValue
, METH_O
, NULL
},
31372 { (char *)"NumberEntryDialog_swigregister", NumberEntryDialog_swigregister
, METH_VARARGS
, NULL
},
31373 { (char *)"NumberEntryDialog_swiginit", NumberEntryDialog_swiginit
, METH_VARARGS
, NULL
},
31374 { (char *)"new_FontData", (PyCFunction
)_wrap_new_FontData
, METH_NOARGS
, NULL
},
31375 { (char *)"delete_FontData", (PyCFunction
)_wrap_delete_FontData
, METH_O
, NULL
},
31376 { (char *)"FontData_EnableEffects", (PyCFunction
) _wrap_FontData_EnableEffects
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31377 { (char *)"FontData_GetAllowSymbols", (PyCFunction
)_wrap_FontData_GetAllowSymbols
, METH_O
, NULL
},
31378 { (char *)"FontData_GetColour", (PyCFunction
)_wrap_FontData_GetColour
, METH_O
, NULL
},
31379 { (char *)"FontData_GetChosenFont", (PyCFunction
)_wrap_FontData_GetChosenFont
, METH_O
, NULL
},
31380 { (char *)"FontData_GetEnableEffects", (PyCFunction
)_wrap_FontData_GetEnableEffects
, METH_O
, NULL
},
31381 { (char *)"FontData_GetInitialFont", (PyCFunction
)_wrap_FontData_GetInitialFont
, METH_O
, NULL
},
31382 { (char *)"FontData_GetShowHelp", (PyCFunction
)_wrap_FontData_GetShowHelp
, METH_O
, NULL
},
31383 { (char *)"FontData_SetAllowSymbols", (PyCFunction
) _wrap_FontData_SetAllowSymbols
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31384 { (char *)"FontData_SetChosenFont", (PyCFunction
) _wrap_FontData_SetChosenFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31385 { (char *)"FontData_SetColour", (PyCFunction
) _wrap_FontData_SetColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31386 { (char *)"FontData_SetInitialFont", (PyCFunction
) _wrap_FontData_SetInitialFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31387 { (char *)"FontData_SetRange", (PyCFunction
) _wrap_FontData_SetRange
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31388 { (char *)"FontData_SetShowHelp", (PyCFunction
) _wrap_FontData_SetShowHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31389 { (char *)"FontData_swigregister", FontData_swigregister
, METH_VARARGS
, NULL
},
31390 { (char *)"FontData_swiginit", FontData_swiginit
, METH_VARARGS
, NULL
},
31391 { (char *)"new_FontDialog", (PyCFunction
) _wrap_new_FontDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31392 { (char *)"FontDialog_GetFontData", (PyCFunction
)_wrap_FontDialog_GetFontData
, METH_O
, NULL
},
31393 { (char *)"FontDialog_swigregister", FontDialog_swigregister
, METH_VARARGS
, NULL
},
31394 { (char *)"FontDialog_swiginit", FontDialog_swiginit
, METH_VARARGS
, NULL
},
31395 { (char *)"GetFontFromUser", (PyCFunction
) _wrap_GetFontFromUser
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31396 { (char *)"new_MessageDialog", (PyCFunction
) _wrap_new_MessageDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31397 { (char *)"MessageDialog_swigregister", MessageDialog_swigregister
, METH_VARARGS
, NULL
},
31398 { (char *)"MessageDialog_swiginit", MessageDialog_swiginit
, METH_VARARGS
, NULL
},
31399 { (char *)"new_ProgressDialog", (PyCFunction
) _wrap_new_ProgressDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31400 { (char *)"ProgressDialog_Update", (PyCFunction
) _wrap_ProgressDialog_Update
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31401 { (char *)"ProgressDialog_Resume", (PyCFunction
)_wrap_ProgressDialog_Resume
, METH_O
, NULL
},
31402 { (char *)"ProgressDialog_swigregister", ProgressDialog_swigregister
, METH_VARARGS
, NULL
},
31403 { (char *)"ProgressDialog_swiginit", ProgressDialog_swiginit
, METH_VARARGS
, NULL
},
31404 { (char *)"new_FindDialogEvent", (PyCFunction
) _wrap_new_FindDialogEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31405 { (char *)"FindDialogEvent_GetFlags", (PyCFunction
)_wrap_FindDialogEvent_GetFlags
, METH_O
, NULL
},
31406 { (char *)"FindDialogEvent_GetFindString", (PyCFunction
)_wrap_FindDialogEvent_GetFindString
, METH_O
, NULL
},
31407 { (char *)"FindDialogEvent_GetReplaceString", (PyCFunction
)_wrap_FindDialogEvent_GetReplaceString
, METH_O
, NULL
},
31408 { (char *)"FindDialogEvent_GetDialog", (PyCFunction
)_wrap_FindDialogEvent_GetDialog
, METH_O
, NULL
},
31409 { (char *)"FindDialogEvent_SetFlags", (PyCFunction
) _wrap_FindDialogEvent_SetFlags
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31410 { (char *)"FindDialogEvent_SetFindString", (PyCFunction
) _wrap_FindDialogEvent_SetFindString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31411 { (char *)"FindDialogEvent_SetReplaceString", (PyCFunction
) _wrap_FindDialogEvent_SetReplaceString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31412 { (char *)"FindDialogEvent_swigregister", FindDialogEvent_swigregister
, METH_VARARGS
, NULL
},
31413 { (char *)"FindDialogEvent_swiginit", FindDialogEvent_swiginit
, METH_VARARGS
, NULL
},
31414 { (char *)"new_FindReplaceData", (PyCFunction
) _wrap_new_FindReplaceData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31415 { (char *)"delete_FindReplaceData", (PyCFunction
)_wrap_delete_FindReplaceData
, METH_O
, NULL
},
31416 { (char *)"FindReplaceData_GetFindString", (PyCFunction
)_wrap_FindReplaceData_GetFindString
, METH_O
, NULL
},
31417 { (char *)"FindReplaceData_GetReplaceString", (PyCFunction
)_wrap_FindReplaceData_GetReplaceString
, METH_O
, NULL
},
31418 { (char *)"FindReplaceData_GetFlags", (PyCFunction
)_wrap_FindReplaceData_GetFlags
, METH_O
, NULL
},
31419 { (char *)"FindReplaceData_SetFlags", (PyCFunction
) _wrap_FindReplaceData_SetFlags
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31420 { (char *)"FindReplaceData_SetFindString", (PyCFunction
) _wrap_FindReplaceData_SetFindString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31421 { (char *)"FindReplaceData_SetReplaceString", (PyCFunction
) _wrap_FindReplaceData_SetReplaceString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31422 { (char *)"FindReplaceData_swigregister", FindReplaceData_swigregister
, METH_VARARGS
, NULL
},
31423 { (char *)"FindReplaceData_swiginit", FindReplaceData_swiginit
, METH_VARARGS
, NULL
},
31424 { (char *)"new_FindReplaceDialog", (PyCFunction
) _wrap_new_FindReplaceDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31425 { (char *)"new_PreFindReplaceDialog", (PyCFunction
)_wrap_new_PreFindReplaceDialog
, METH_NOARGS
, NULL
},
31426 { (char *)"FindReplaceDialog_Create", (PyCFunction
) _wrap_FindReplaceDialog_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31427 { (char *)"FindReplaceDialog_GetData", (PyCFunction
)_wrap_FindReplaceDialog_GetData
, METH_O
, NULL
},
31428 { (char *)"FindReplaceDialog_SetData", (PyCFunction
) _wrap_FindReplaceDialog_SetData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31429 { (char *)"FindReplaceDialog_swigregister", FindReplaceDialog_swigregister
, METH_VARARGS
, NULL
},
31430 { (char *)"FindReplaceDialog_swiginit", FindReplaceDialog_swiginit
, METH_VARARGS
, NULL
},
31431 { (char *)"new_MDIParentFrame", (PyCFunction
) _wrap_new_MDIParentFrame
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31432 { (char *)"new_PreMDIParentFrame", (PyCFunction
)_wrap_new_PreMDIParentFrame
, METH_NOARGS
, NULL
},
31433 { (char *)"MDIParentFrame_Create", (PyCFunction
) _wrap_MDIParentFrame_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31434 { (char *)"MDIParentFrame_ActivateNext", (PyCFunction
)_wrap_MDIParentFrame_ActivateNext
, METH_O
, NULL
},
31435 { (char *)"MDIParentFrame_ActivatePrevious", (PyCFunction
)_wrap_MDIParentFrame_ActivatePrevious
, METH_O
, NULL
},
31436 { (char *)"MDIParentFrame_ArrangeIcons", (PyCFunction
)_wrap_MDIParentFrame_ArrangeIcons
, METH_O
, NULL
},
31437 { (char *)"MDIParentFrame_Cascade", (PyCFunction
)_wrap_MDIParentFrame_Cascade
, METH_O
, NULL
},
31438 { (char *)"MDIParentFrame_GetActiveChild", (PyCFunction
)_wrap_MDIParentFrame_GetActiveChild
, METH_O
, NULL
},
31439 { (char *)"MDIParentFrame_GetClientWindow", (PyCFunction
)_wrap_MDIParentFrame_GetClientWindow
, METH_O
, NULL
},
31440 { (char *)"MDIParentFrame_GetToolBar", (PyCFunction
)_wrap_MDIParentFrame_GetToolBar
, METH_O
, NULL
},
31441 { (char *)"MDIParentFrame_Tile", (PyCFunction
) _wrap_MDIParentFrame_Tile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31442 { (char *)"MDIParentFrame_swigregister", MDIParentFrame_swigregister
, METH_VARARGS
, NULL
},
31443 { (char *)"MDIParentFrame_swiginit", MDIParentFrame_swiginit
, METH_VARARGS
, NULL
},
31444 { (char *)"new_MDIChildFrame", (PyCFunction
) _wrap_new_MDIChildFrame
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31445 { (char *)"new_PreMDIChildFrame", (PyCFunction
)_wrap_new_PreMDIChildFrame
, METH_NOARGS
, NULL
},
31446 { (char *)"MDIChildFrame_Create", (PyCFunction
) _wrap_MDIChildFrame_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31447 { (char *)"MDIChildFrame_Activate", (PyCFunction
)_wrap_MDIChildFrame_Activate
, METH_O
, NULL
},
31448 { (char *)"MDIChildFrame_swigregister", MDIChildFrame_swigregister
, METH_VARARGS
, NULL
},
31449 { (char *)"MDIChildFrame_swiginit", MDIChildFrame_swiginit
, METH_VARARGS
, NULL
},
31450 { (char *)"new_MDIClientWindow", (PyCFunction
) _wrap_new_MDIClientWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31451 { (char *)"new_PreMDIClientWindow", (PyCFunction
)_wrap_new_PreMDIClientWindow
, METH_NOARGS
, NULL
},
31452 { (char *)"MDIClientWindow_Create", (PyCFunction
) _wrap_MDIClientWindow_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31453 { (char *)"MDIClientWindow_swigregister", MDIClientWindow_swigregister
, METH_VARARGS
, NULL
},
31454 { (char *)"MDIClientWindow_swiginit", MDIClientWindow_swiginit
, METH_VARARGS
, NULL
},
31455 { (char *)"new_PyWindow", (PyCFunction
) _wrap_new_PyWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31456 { (char *)"new_PrePyWindow", (PyCFunction
)_wrap_new_PrePyWindow
, METH_NOARGS
, NULL
},
31457 { (char *)"PyWindow__setCallbackInfo", (PyCFunction
) _wrap_PyWindow__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31458 { (char *)"PyWindow_SetBestSize", (PyCFunction
) _wrap_PyWindow_SetBestSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31459 { (char *)"PyWindow_DoEraseBackground", (PyCFunction
) _wrap_PyWindow_DoEraseBackground
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31460 { (char *)"PyWindow_DoMoveWindow", (PyCFunction
) _wrap_PyWindow_DoMoveWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31461 { (char *)"PyWindow_DoSetSize", (PyCFunction
) _wrap_PyWindow_DoSetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31462 { (char *)"PyWindow_DoSetClientSize", (PyCFunction
) _wrap_PyWindow_DoSetClientSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31463 { (char *)"PyWindow_DoSetVirtualSize", (PyCFunction
) _wrap_PyWindow_DoSetVirtualSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31464 { (char *)"PyWindow_DoGetSize", (PyCFunction
)_wrap_PyWindow_DoGetSize
, METH_O
, NULL
},
31465 { (char *)"PyWindow_DoGetClientSize", (PyCFunction
)_wrap_PyWindow_DoGetClientSize
, METH_O
, NULL
},
31466 { (char *)"PyWindow_DoGetPosition", (PyCFunction
)_wrap_PyWindow_DoGetPosition
, METH_O
, NULL
},
31467 { (char *)"PyWindow_DoGetVirtualSize", (PyCFunction
)_wrap_PyWindow_DoGetVirtualSize
, METH_O
, NULL
},
31468 { (char *)"PyWindow_DoGetBestSize", (PyCFunction
)_wrap_PyWindow_DoGetBestSize
, METH_O
, NULL
},
31469 { (char *)"PyWindow_GetDefaultAttributes", (PyCFunction
)_wrap_PyWindow_GetDefaultAttributes
, METH_O
, NULL
},
31470 { (char *)"PyWindow_OnInternalIdle", (PyCFunction
)_wrap_PyWindow_OnInternalIdle
, METH_O
, NULL
},
31471 { (char *)"PyWindow_swigregister", PyWindow_swigregister
, METH_VARARGS
, NULL
},
31472 { (char *)"PyWindow_swiginit", PyWindow_swiginit
, METH_VARARGS
, NULL
},
31473 { (char *)"new_PyPanel", (PyCFunction
) _wrap_new_PyPanel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31474 { (char *)"new_PrePyPanel", (PyCFunction
)_wrap_new_PrePyPanel
, METH_NOARGS
, NULL
},
31475 { (char *)"PyPanel__setCallbackInfo", (PyCFunction
) _wrap_PyPanel__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31476 { (char *)"PyPanel_SetBestSize", (PyCFunction
) _wrap_PyPanel_SetBestSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31477 { (char *)"PyPanel_DoEraseBackground", (PyCFunction
) _wrap_PyPanel_DoEraseBackground
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31478 { (char *)"PyPanel_DoMoveWindow", (PyCFunction
) _wrap_PyPanel_DoMoveWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31479 { (char *)"PyPanel_DoSetSize", (PyCFunction
) _wrap_PyPanel_DoSetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31480 { (char *)"PyPanel_DoSetClientSize", (PyCFunction
) _wrap_PyPanel_DoSetClientSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31481 { (char *)"PyPanel_DoSetVirtualSize", (PyCFunction
) _wrap_PyPanel_DoSetVirtualSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31482 { (char *)"PyPanel_DoGetSize", (PyCFunction
)_wrap_PyPanel_DoGetSize
, METH_O
, NULL
},
31483 { (char *)"PyPanel_DoGetClientSize", (PyCFunction
)_wrap_PyPanel_DoGetClientSize
, METH_O
, NULL
},
31484 { (char *)"PyPanel_DoGetPosition", (PyCFunction
)_wrap_PyPanel_DoGetPosition
, METH_O
, NULL
},
31485 { (char *)"PyPanel_DoGetVirtualSize", (PyCFunction
)_wrap_PyPanel_DoGetVirtualSize
, METH_O
, NULL
},
31486 { (char *)"PyPanel_DoGetBestSize", (PyCFunction
)_wrap_PyPanel_DoGetBestSize
, METH_O
, NULL
},
31487 { (char *)"PyPanel_GetDefaultAttributes", (PyCFunction
)_wrap_PyPanel_GetDefaultAttributes
, METH_O
, NULL
},
31488 { (char *)"PyPanel_OnInternalIdle", (PyCFunction
)_wrap_PyPanel_OnInternalIdle
, METH_O
, NULL
},
31489 { (char *)"PyPanel_swigregister", PyPanel_swigregister
, METH_VARARGS
, NULL
},
31490 { (char *)"PyPanel_swiginit", PyPanel_swiginit
, METH_VARARGS
, NULL
},
31491 { (char *)"new_PyScrolledWindow", (PyCFunction
) _wrap_new_PyScrolledWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31492 { (char *)"new_PrePyScrolledWindow", (PyCFunction
)_wrap_new_PrePyScrolledWindow
, METH_NOARGS
, NULL
},
31493 { (char *)"PyScrolledWindow__setCallbackInfo", (PyCFunction
) _wrap_PyScrolledWindow__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31494 { (char *)"PyScrolledWindow_SetBestSize", (PyCFunction
) _wrap_PyScrolledWindow_SetBestSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31495 { (char *)"PyScrolledWindow_DoEraseBackground", (PyCFunction
) _wrap_PyScrolledWindow_DoEraseBackground
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31496 { (char *)"PyScrolledWindow_DoMoveWindow", (PyCFunction
) _wrap_PyScrolledWindow_DoMoveWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31497 { (char *)"PyScrolledWindow_DoSetSize", (PyCFunction
) _wrap_PyScrolledWindow_DoSetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31498 { (char *)"PyScrolledWindow_DoSetClientSize", (PyCFunction
) _wrap_PyScrolledWindow_DoSetClientSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31499 { (char *)"PyScrolledWindow_DoSetVirtualSize", (PyCFunction
) _wrap_PyScrolledWindow_DoSetVirtualSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31500 { (char *)"PyScrolledWindow_DoGetSize", (PyCFunction
)_wrap_PyScrolledWindow_DoGetSize
, METH_O
, NULL
},
31501 { (char *)"PyScrolledWindow_DoGetClientSize", (PyCFunction
)_wrap_PyScrolledWindow_DoGetClientSize
, METH_O
, NULL
},
31502 { (char *)"PyScrolledWindow_DoGetPosition", (PyCFunction
)_wrap_PyScrolledWindow_DoGetPosition
, METH_O
, NULL
},
31503 { (char *)"PyScrolledWindow_DoGetVirtualSize", (PyCFunction
)_wrap_PyScrolledWindow_DoGetVirtualSize
, METH_O
, NULL
},
31504 { (char *)"PyScrolledWindow_DoGetBestSize", (PyCFunction
)_wrap_PyScrolledWindow_DoGetBestSize
, METH_O
, NULL
},
31505 { (char *)"PyScrolledWindow_GetDefaultAttributes", (PyCFunction
)_wrap_PyScrolledWindow_GetDefaultAttributes
, METH_O
, NULL
},
31506 { (char *)"PyScrolledWindow_OnInternalIdle", (PyCFunction
)_wrap_PyScrolledWindow_OnInternalIdle
, METH_O
, NULL
},
31507 { (char *)"PyScrolledWindow_swigregister", PyScrolledWindow_swigregister
, METH_VARARGS
, NULL
},
31508 { (char *)"PyScrolledWindow_swiginit", PyScrolledWindow_swiginit
, METH_VARARGS
, NULL
},
31509 { (char *)"new_PrintData", _wrap_new_PrintData
, METH_VARARGS
, NULL
},
31510 { (char *)"delete_PrintData", (PyCFunction
)_wrap_delete_PrintData
, METH_O
, NULL
},
31511 { (char *)"PrintData_GetNoCopies", (PyCFunction
)_wrap_PrintData_GetNoCopies
, METH_O
, NULL
},
31512 { (char *)"PrintData_GetCollate", (PyCFunction
)_wrap_PrintData_GetCollate
, METH_O
, NULL
},
31513 { (char *)"PrintData_GetOrientation", (PyCFunction
)_wrap_PrintData_GetOrientation
, METH_O
, NULL
},
31514 { (char *)"PrintData_Ok", (PyCFunction
)_wrap_PrintData_Ok
, METH_O
, NULL
},
31515 { (char *)"PrintData_GetPrinterName", (PyCFunction
)_wrap_PrintData_GetPrinterName
, METH_O
, NULL
},
31516 { (char *)"PrintData_GetColour", (PyCFunction
)_wrap_PrintData_GetColour
, METH_O
, NULL
},
31517 { (char *)"PrintData_GetDuplex", (PyCFunction
)_wrap_PrintData_GetDuplex
, METH_O
, NULL
},
31518 { (char *)"PrintData_GetPaperId", (PyCFunction
)_wrap_PrintData_GetPaperId
, METH_O
, NULL
},
31519 { (char *)"PrintData_GetPaperSize", (PyCFunction
)_wrap_PrintData_GetPaperSize
, METH_O
, NULL
},
31520 { (char *)"PrintData_GetQuality", (PyCFunction
)_wrap_PrintData_GetQuality
, METH_O
, NULL
},
31521 { (char *)"PrintData_GetBin", (PyCFunction
)_wrap_PrintData_GetBin
, METH_O
, NULL
},
31522 { (char *)"PrintData_GetPrintMode", (PyCFunction
)_wrap_PrintData_GetPrintMode
, METH_O
, NULL
},
31523 { (char *)"PrintData_SetNoCopies", (PyCFunction
) _wrap_PrintData_SetNoCopies
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31524 { (char *)"PrintData_SetCollate", (PyCFunction
) _wrap_PrintData_SetCollate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31525 { (char *)"PrintData_SetOrientation", (PyCFunction
) _wrap_PrintData_SetOrientation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31526 { (char *)"PrintData_SetPrinterName", (PyCFunction
) _wrap_PrintData_SetPrinterName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31527 { (char *)"PrintData_SetColour", (PyCFunction
) _wrap_PrintData_SetColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31528 { (char *)"PrintData_SetDuplex", (PyCFunction
) _wrap_PrintData_SetDuplex
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31529 { (char *)"PrintData_SetPaperId", (PyCFunction
) _wrap_PrintData_SetPaperId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31530 { (char *)"PrintData_SetPaperSize", (PyCFunction
) _wrap_PrintData_SetPaperSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31531 { (char *)"PrintData_SetQuality", (PyCFunction
) _wrap_PrintData_SetQuality
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31532 { (char *)"PrintData_SetBin", (PyCFunction
) _wrap_PrintData_SetBin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31533 { (char *)"PrintData_SetPrintMode", (PyCFunction
) _wrap_PrintData_SetPrintMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31534 { (char *)"PrintData_GetFilename", (PyCFunction
)_wrap_PrintData_GetFilename
, METH_O
, NULL
},
31535 { (char *)"PrintData_SetFilename", (PyCFunction
) _wrap_PrintData_SetFilename
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31536 { (char *)"PrintData_GetPrivData", (PyCFunction
)_wrap_PrintData_GetPrivData
, METH_O
, NULL
},
31537 { (char *)"PrintData_SetPrivData", (PyCFunction
) _wrap_PrintData_SetPrivData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31538 { (char *)"PrintData_swigregister", PrintData_swigregister
, METH_VARARGS
, NULL
},
31539 { (char *)"PrintData_swiginit", PrintData_swiginit
, METH_VARARGS
, NULL
},
31540 { (char *)"new_PageSetupDialogData", _wrap_new_PageSetupDialogData
, METH_VARARGS
, NULL
},
31541 { (char *)"delete_PageSetupDialogData", (PyCFunction
)_wrap_delete_PageSetupDialogData
, METH_O
, NULL
},
31542 { (char *)"PageSetupDialogData_EnableHelp", (PyCFunction
) _wrap_PageSetupDialogData_EnableHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31543 { (char *)"PageSetupDialogData_EnableMargins", (PyCFunction
) _wrap_PageSetupDialogData_EnableMargins
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31544 { (char *)"PageSetupDialogData_EnableOrientation", (PyCFunction
) _wrap_PageSetupDialogData_EnableOrientation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31545 { (char *)"PageSetupDialogData_EnablePaper", (PyCFunction
) _wrap_PageSetupDialogData_EnablePaper
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31546 { (char *)"PageSetupDialogData_EnablePrinter", (PyCFunction
) _wrap_PageSetupDialogData_EnablePrinter
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31547 { (char *)"PageSetupDialogData_GetDefaultMinMargins", (PyCFunction
)_wrap_PageSetupDialogData_GetDefaultMinMargins
, METH_O
, NULL
},
31548 { (char *)"PageSetupDialogData_GetEnableMargins", (PyCFunction
)_wrap_PageSetupDialogData_GetEnableMargins
, METH_O
, NULL
},
31549 { (char *)"PageSetupDialogData_GetEnableOrientation", (PyCFunction
)_wrap_PageSetupDialogData_GetEnableOrientation
, METH_O
, NULL
},
31550 { (char *)"PageSetupDialogData_GetEnablePaper", (PyCFunction
)_wrap_PageSetupDialogData_GetEnablePaper
, METH_O
, NULL
},
31551 { (char *)"PageSetupDialogData_GetEnablePrinter", (PyCFunction
)_wrap_PageSetupDialogData_GetEnablePrinter
, METH_O
, NULL
},
31552 { (char *)"PageSetupDialogData_GetEnableHelp", (PyCFunction
)_wrap_PageSetupDialogData_GetEnableHelp
, METH_O
, NULL
},
31553 { (char *)"PageSetupDialogData_GetDefaultInfo", (PyCFunction
)_wrap_PageSetupDialogData_GetDefaultInfo
, METH_O
, NULL
},
31554 { (char *)"PageSetupDialogData_GetMarginTopLeft", (PyCFunction
)_wrap_PageSetupDialogData_GetMarginTopLeft
, METH_O
, NULL
},
31555 { (char *)"PageSetupDialogData_GetMarginBottomRight", (PyCFunction
)_wrap_PageSetupDialogData_GetMarginBottomRight
, METH_O
, NULL
},
31556 { (char *)"PageSetupDialogData_GetMinMarginTopLeft", (PyCFunction
)_wrap_PageSetupDialogData_GetMinMarginTopLeft
, METH_O
, NULL
},
31557 { (char *)"PageSetupDialogData_GetMinMarginBottomRight", (PyCFunction
)_wrap_PageSetupDialogData_GetMinMarginBottomRight
, METH_O
, NULL
},
31558 { (char *)"PageSetupDialogData_GetPaperId", (PyCFunction
)_wrap_PageSetupDialogData_GetPaperId
, METH_O
, NULL
},
31559 { (char *)"PageSetupDialogData_GetPaperSize", (PyCFunction
)_wrap_PageSetupDialogData_GetPaperSize
, METH_O
, NULL
},
31560 { (char *)"PageSetupDialogData_GetPrintData", (PyCFunction
)_wrap_PageSetupDialogData_GetPrintData
, METH_O
, NULL
},
31561 { (char *)"PageSetupDialogData_Ok", (PyCFunction
)_wrap_PageSetupDialogData_Ok
, METH_O
, NULL
},
31562 { (char *)"PageSetupDialogData_SetDefaultInfo", (PyCFunction
) _wrap_PageSetupDialogData_SetDefaultInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31563 { (char *)"PageSetupDialogData_SetDefaultMinMargins", (PyCFunction
) _wrap_PageSetupDialogData_SetDefaultMinMargins
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31564 { (char *)"PageSetupDialogData_SetMarginTopLeft", (PyCFunction
) _wrap_PageSetupDialogData_SetMarginTopLeft
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31565 { (char *)"PageSetupDialogData_SetMarginBottomRight", (PyCFunction
) _wrap_PageSetupDialogData_SetMarginBottomRight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31566 { (char *)"PageSetupDialogData_SetMinMarginTopLeft", (PyCFunction
) _wrap_PageSetupDialogData_SetMinMarginTopLeft
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31567 { (char *)"PageSetupDialogData_SetMinMarginBottomRight", (PyCFunction
) _wrap_PageSetupDialogData_SetMinMarginBottomRight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31568 { (char *)"PageSetupDialogData_SetPaperId", (PyCFunction
) _wrap_PageSetupDialogData_SetPaperId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31569 { (char *)"PageSetupDialogData_SetPaperSize", (PyCFunction
) _wrap_PageSetupDialogData_SetPaperSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31570 { (char *)"PageSetupDialogData_SetPrintData", (PyCFunction
) _wrap_PageSetupDialogData_SetPrintData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31571 { (char *)"PageSetupDialogData_CalculateIdFromPaperSize", (PyCFunction
)_wrap_PageSetupDialogData_CalculateIdFromPaperSize
, METH_O
, NULL
},
31572 { (char *)"PageSetupDialogData_CalculatePaperSizeFromId", (PyCFunction
)_wrap_PageSetupDialogData_CalculatePaperSizeFromId
, METH_O
, NULL
},
31573 { (char *)"PageSetupDialogData_swigregister", PageSetupDialogData_swigregister
, METH_VARARGS
, NULL
},
31574 { (char *)"PageSetupDialogData_swiginit", PageSetupDialogData_swiginit
, METH_VARARGS
, NULL
},
31575 { (char *)"new_PageSetupDialog", (PyCFunction
) _wrap_new_PageSetupDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31576 { (char *)"delete_PageSetupDialog", (PyCFunction
)_wrap_delete_PageSetupDialog
, METH_O
, NULL
},
31577 { (char *)"PageSetupDialog_GetPageSetupData", (PyCFunction
)_wrap_PageSetupDialog_GetPageSetupData
, METH_O
, NULL
},
31578 { (char *)"PageSetupDialog_GetPageSetupDialogData", (PyCFunction
)_wrap_PageSetupDialog_GetPageSetupDialogData
, METH_O
, NULL
},
31579 { (char *)"PageSetupDialog_ShowModal", (PyCFunction
)_wrap_PageSetupDialog_ShowModal
, METH_O
, NULL
},
31580 { (char *)"PageSetupDialog_swigregister", PageSetupDialog_swigregister
, METH_VARARGS
, NULL
},
31581 { (char *)"PageSetupDialog_swiginit", PageSetupDialog_swiginit
, METH_VARARGS
, NULL
},
31582 { (char *)"new_PrintDialogData", _wrap_new_PrintDialogData
, METH_VARARGS
, NULL
},
31583 { (char *)"delete_PrintDialogData", (PyCFunction
)_wrap_delete_PrintDialogData
, METH_O
, NULL
},
31584 { (char *)"PrintDialogData_GetFromPage", (PyCFunction
)_wrap_PrintDialogData_GetFromPage
, METH_O
, NULL
},
31585 { (char *)"PrintDialogData_GetToPage", (PyCFunction
)_wrap_PrintDialogData_GetToPage
, METH_O
, NULL
},
31586 { (char *)"PrintDialogData_GetMinPage", (PyCFunction
)_wrap_PrintDialogData_GetMinPage
, METH_O
, NULL
},
31587 { (char *)"PrintDialogData_GetMaxPage", (PyCFunction
)_wrap_PrintDialogData_GetMaxPage
, METH_O
, NULL
},
31588 { (char *)"PrintDialogData_GetNoCopies", (PyCFunction
)_wrap_PrintDialogData_GetNoCopies
, METH_O
, NULL
},
31589 { (char *)"PrintDialogData_GetAllPages", (PyCFunction
)_wrap_PrintDialogData_GetAllPages
, METH_O
, NULL
},
31590 { (char *)"PrintDialogData_GetSelection", (PyCFunction
)_wrap_PrintDialogData_GetSelection
, METH_O
, NULL
},
31591 { (char *)"PrintDialogData_GetCollate", (PyCFunction
)_wrap_PrintDialogData_GetCollate
, METH_O
, NULL
},
31592 { (char *)"PrintDialogData_GetPrintToFile", (PyCFunction
)_wrap_PrintDialogData_GetPrintToFile
, METH_O
, NULL
},
31593 { (char *)"PrintDialogData_SetFromPage", (PyCFunction
) _wrap_PrintDialogData_SetFromPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31594 { (char *)"PrintDialogData_SetToPage", (PyCFunction
) _wrap_PrintDialogData_SetToPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31595 { (char *)"PrintDialogData_SetMinPage", (PyCFunction
) _wrap_PrintDialogData_SetMinPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31596 { (char *)"PrintDialogData_SetMaxPage", (PyCFunction
) _wrap_PrintDialogData_SetMaxPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31597 { (char *)"PrintDialogData_SetNoCopies", (PyCFunction
) _wrap_PrintDialogData_SetNoCopies
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31598 { (char *)"PrintDialogData_SetAllPages", (PyCFunction
) _wrap_PrintDialogData_SetAllPages
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31599 { (char *)"PrintDialogData_SetSelection", (PyCFunction
) _wrap_PrintDialogData_SetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31600 { (char *)"PrintDialogData_SetCollate", (PyCFunction
) _wrap_PrintDialogData_SetCollate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31601 { (char *)"PrintDialogData_SetPrintToFile", (PyCFunction
) _wrap_PrintDialogData_SetPrintToFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31602 { (char *)"PrintDialogData_EnablePrintToFile", (PyCFunction
) _wrap_PrintDialogData_EnablePrintToFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31603 { (char *)"PrintDialogData_EnableSelection", (PyCFunction
) _wrap_PrintDialogData_EnableSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31604 { (char *)"PrintDialogData_EnablePageNumbers", (PyCFunction
) _wrap_PrintDialogData_EnablePageNumbers
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31605 { (char *)"PrintDialogData_EnableHelp", (PyCFunction
) _wrap_PrintDialogData_EnableHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31606 { (char *)"PrintDialogData_GetEnablePrintToFile", (PyCFunction
)_wrap_PrintDialogData_GetEnablePrintToFile
, METH_O
, NULL
},
31607 { (char *)"PrintDialogData_GetEnableSelection", (PyCFunction
)_wrap_PrintDialogData_GetEnableSelection
, METH_O
, NULL
},
31608 { (char *)"PrintDialogData_GetEnablePageNumbers", (PyCFunction
)_wrap_PrintDialogData_GetEnablePageNumbers
, METH_O
, NULL
},
31609 { (char *)"PrintDialogData_GetEnableHelp", (PyCFunction
)_wrap_PrintDialogData_GetEnableHelp
, METH_O
, NULL
},
31610 { (char *)"PrintDialogData_Ok", (PyCFunction
)_wrap_PrintDialogData_Ok
, METH_O
, NULL
},
31611 { (char *)"PrintDialogData_GetPrintData", (PyCFunction
)_wrap_PrintDialogData_GetPrintData
, METH_O
, NULL
},
31612 { (char *)"PrintDialogData_SetPrintData", (PyCFunction
) _wrap_PrintDialogData_SetPrintData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31613 { (char *)"PrintDialogData_swigregister", PrintDialogData_swigregister
, METH_VARARGS
, NULL
},
31614 { (char *)"PrintDialogData_swiginit", PrintDialogData_swiginit
, METH_VARARGS
, NULL
},
31615 { (char *)"new_PrintDialog", (PyCFunction
) _wrap_new_PrintDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31616 { (char *)"delete_PrintDialog", (PyCFunction
)_wrap_delete_PrintDialog
, METH_O
, NULL
},
31617 { (char *)"PrintDialog_ShowModal", (PyCFunction
)_wrap_PrintDialog_ShowModal
, METH_O
, NULL
},
31618 { (char *)"PrintDialog_GetPrintDialogData", (PyCFunction
)_wrap_PrintDialog_GetPrintDialogData
, METH_O
, NULL
},
31619 { (char *)"PrintDialog_GetPrintData", (PyCFunction
)_wrap_PrintDialog_GetPrintData
, METH_O
, NULL
},
31620 { (char *)"PrintDialog_GetPrintDC", (PyCFunction
)_wrap_PrintDialog_GetPrintDC
, METH_O
, NULL
},
31621 { (char *)"PrintDialog_swigregister", PrintDialog_swigregister
, METH_VARARGS
, NULL
},
31622 { (char *)"PrintDialog_swiginit", PrintDialog_swiginit
, METH_VARARGS
, NULL
},
31623 { (char *)"new_Printer", (PyCFunction
) _wrap_new_Printer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31624 { (char *)"delete_Printer", (PyCFunction
)_wrap_delete_Printer
, METH_O
, NULL
},
31625 { (char *)"Printer_CreateAbortWindow", (PyCFunction
) _wrap_Printer_CreateAbortWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31626 { (char *)"Printer_ReportError", (PyCFunction
) _wrap_Printer_ReportError
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31627 { (char *)"Printer_Setup", (PyCFunction
) _wrap_Printer_Setup
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31628 { (char *)"Printer_Print", (PyCFunction
) _wrap_Printer_Print
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31629 { (char *)"Printer_PrintDialog", (PyCFunction
) _wrap_Printer_PrintDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31630 { (char *)"Printer_GetPrintDialogData", (PyCFunction
)_wrap_Printer_GetPrintDialogData
, METH_O
, NULL
},
31631 { (char *)"Printer_GetAbort", (PyCFunction
)_wrap_Printer_GetAbort
, METH_O
, NULL
},
31632 { (char *)"Printer_GetLastError", (PyCFunction
)_wrap_Printer_GetLastError
, METH_NOARGS
, NULL
},
31633 { (char *)"Printer_swigregister", Printer_swigregister
, METH_VARARGS
, NULL
},
31634 { (char *)"Printer_swiginit", Printer_swiginit
, METH_VARARGS
, NULL
},
31635 { (char *)"new_Printout", (PyCFunction
) _wrap_new_Printout
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31636 { (char *)"delete_Printout", (PyCFunction
)_wrap_delete_Printout
, METH_O
, NULL
},
31637 { (char *)"Printout__setCallbackInfo", (PyCFunction
) _wrap_Printout__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31638 { (char *)"Printout_GetTitle", (PyCFunction
)_wrap_Printout_GetTitle
, METH_O
, NULL
},
31639 { (char *)"Printout_GetDC", (PyCFunction
)_wrap_Printout_GetDC
, METH_O
, NULL
},
31640 { (char *)"Printout_SetDC", (PyCFunction
) _wrap_Printout_SetDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31641 { (char *)"Printout_SetPageSizePixels", (PyCFunction
) _wrap_Printout_SetPageSizePixels
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31642 { (char *)"Printout_GetPageSizePixels", (PyCFunction
)_wrap_Printout_GetPageSizePixels
, METH_O
, NULL
},
31643 { (char *)"Printout_SetPageSizeMM", (PyCFunction
) _wrap_Printout_SetPageSizeMM
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31644 { (char *)"Printout_GetPageSizeMM", (PyCFunction
)_wrap_Printout_GetPageSizeMM
, METH_O
, NULL
},
31645 { (char *)"Printout_SetPPIScreen", (PyCFunction
) _wrap_Printout_SetPPIScreen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31646 { (char *)"Printout_GetPPIScreen", (PyCFunction
)_wrap_Printout_GetPPIScreen
, METH_O
, NULL
},
31647 { (char *)"Printout_SetPPIPrinter", (PyCFunction
) _wrap_Printout_SetPPIPrinter
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31648 { (char *)"Printout_GetPPIPrinter", (PyCFunction
)_wrap_Printout_GetPPIPrinter
, METH_O
, NULL
},
31649 { (char *)"Printout_IsPreview", (PyCFunction
)_wrap_Printout_IsPreview
, METH_O
, NULL
},
31650 { (char *)"Printout_SetIsPreview", (PyCFunction
) _wrap_Printout_SetIsPreview
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31651 { (char *)"Printout_OnBeginDocument", (PyCFunction
) _wrap_Printout_OnBeginDocument
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31652 { (char *)"Printout_OnEndDocument", (PyCFunction
)_wrap_Printout_OnEndDocument
, METH_O
, NULL
},
31653 { (char *)"Printout_OnBeginPrinting", (PyCFunction
)_wrap_Printout_OnBeginPrinting
, METH_O
, NULL
},
31654 { (char *)"Printout_OnEndPrinting", (PyCFunction
)_wrap_Printout_OnEndPrinting
, METH_O
, NULL
},
31655 { (char *)"Printout_OnPreparePrinting", (PyCFunction
)_wrap_Printout_OnPreparePrinting
, METH_O
, NULL
},
31656 { (char *)"Printout_HasPage", (PyCFunction
) _wrap_Printout_HasPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31657 { (char *)"Printout_GetPageInfo", (PyCFunction
)_wrap_Printout_GetPageInfo
, METH_O
, NULL
},
31658 { (char *)"Printout_swigregister", Printout_swigregister
, METH_VARARGS
, NULL
},
31659 { (char *)"Printout_swiginit", Printout_swiginit
, METH_VARARGS
, NULL
},
31660 { (char *)"new_PreviewCanvas", (PyCFunction
) _wrap_new_PreviewCanvas
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31661 { (char *)"PreviewCanvas_swigregister", PreviewCanvas_swigregister
, METH_VARARGS
, NULL
},
31662 { (char *)"PreviewCanvas_swiginit", PreviewCanvas_swiginit
, METH_VARARGS
, NULL
},
31663 { (char *)"new_PreviewFrame", (PyCFunction
) _wrap_new_PreviewFrame
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31664 { (char *)"PreviewFrame_Initialize", (PyCFunction
)_wrap_PreviewFrame_Initialize
, METH_O
, NULL
},
31665 { (char *)"PreviewFrame_CreateControlBar", (PyCFunction
)_wrap_PreviewFrame_CreateControlBar
, METH_O
, NULL
},
31666 { (char *)"PreviewFrame_CreateCanvas", (PyCFunction
)_wrap_PreviewFrame_CreateCanvas
, METH_O
, NULL
},
31667 { (char *)"PreviewFrame_GetControlBar", (PyCFunction
)_wrap_PreviewFrame_GetControlBar
, METH_O
, NULL
},
31668 { (char *)"PreviewFrame_swigregister", PreviewFrame_swigregister
, METH_VARARGS
, NULL
},
31669 { (char *)"PreviewFrame_swiginit", PreviewFrame_swiginit
, METH_VARARGS
, NULL
},
31670 { (char *)"new_PreviewControlBar", (PyCFunction
) _wrap_new_PreviewControlBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31671 { (char *)"PreviewControlBar_GetZoomControl", (PyCFunction
)_wrap_PreviewControlBar_GetZoomControl
, METH_O
, NULL
},
31672 { (char *)"PreviewControlBar_SetZoomControl", (PyCFunction
) _wrap_PreviewControlBar_SetZoomControl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31673 { (char *)"PreviewControlBar_GetPrintPreview", (PyCFunction
)_wrap_PreviewControlBar_GetPrintPreview
, METH_O
, NULL
},
31674 { (char *)"PreviewControlBar_OnNext", (PyCFunction
)_wrap_PreviewControlBar_OnNext
, METH_O
, NULL
},
31675 { (char *)"PreviewControlBar_OnPrevious", (PyCFunction
)_wrap_PreviewControlBar_OnPrevious
, METH_O
, NULL
},
31676 { (char *)"PreviewControlBar_OnFirst", (PyCFunction
)_wrap_PreviewControlBar_OnFirst
, METH_O
, NULL
},
31677 { (char *)"PreviewControlBar_OnLast", (PyCFunction
)_wrap_PreviewControlBar_OnLast
, METH_O
, NULL
},
31678 { (char *)"PreviewControlBar_OnGoto", (PyCFunction
)_wrap_PreviewControlBar_OnGoto
, METH_O
, NULL
},
31679 { (char *)"PreviewControlBar_swigregister", PreviewControlBar_swigregister
, METH_VARARGS
, NULL
},
31680 { (char *)"PreviewControlBar_swiginit", PreviewControlBar_swiginit
, METH_VARARGS
, NULL
},
31681 { (char *)"new_PrintPreview", _wrap_new_PrintPreview
, METH_VARARGS
, NULL
},
31682 { (char *)"delete_PrintPreview", (PyCFunction
)_wrap_delete_PrintPreview
, METH_O
, NULL
},
31683 { (char *)"PrintPreview_SetCurrentPage", (PyCFunction
) _wrap_PrintPreview_SetCurrentPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31684 { (char *)"PrintPreview_GetCurrentPage", (PyCFunction
)_wrap_PrintPreview_GetCurrentPage
, METH_O
, NULL
},
31685 { (char *)"PrintPreview_SetPrintout", (PyCFunction
) _wrap_PrintPreview_SetPrintout
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31686 { (char *)"PrintPreview_GetPrintout", (PyCFunction
)_wrap_PrintPreview_GetPrintout
, METH_O
, NULL
},
31687 { (char *)"PrintPreview_GetPrintoutForPrinting", (PyCFunction
)_wrap_PrintPreview_GetPrintoutForPrinting
, METH_O
, NULL
},
31688 { (char *)"PrintPreview_SetFrame", (PyCFunction
) _wrap_PrintPreview_SetFrame
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31689 { (char *)"PrintPreview_SetCanvas", (PyCFunction
) _wrap_PrintPreview_SetCanvas
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31690 { (char *)"PrintPreview_GetFrame", (PyCFunction
)_wrap_PrintPreview_GetFrame
, METH_O
, NULL
},
31691 { (char *)"PrintPreview_GetCanvas", (PyCFunction
)_wrap_PrintPreview_GetCanvas
, METH_O
, NULL
},
31692 { (char *)"PrintPreview_PaintPage", (PyCFunction
) _wrap_PrintPreview_PaintPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31693 { (char *)"PrintPreview_DrawBlankPage", (PyCFunction
) _wrap_PrintPreview_DrawBlankPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31694 { (char *)"PrintPreview_RenderPage", (PyCFunction
) _wrap_PrintPreview_RenderPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31695 { (char *)"PrintPreview_AdjustScrollbars", (PyCFunction
) _wrap_PrintPreview_AdjustScrollbars
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31696 { (char *)"PrintPreview_GetPrintDialogData", (PyCFunction
)_wrap_PrintPreview_GetPrintDialogData
, METH_O
, NULL
},
31697 { (char *)"PrintPreview_SetZoom", (PyCFunction
) _wrap_PrintPreview_SetZoom
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31698 { (char *)"PrintPreview_GetZoom", (PyCFunction
)_wrap_PrintPreview_GetZoom
, METH_O
, NULL
},
31699 { (char *)"PrintPreview_GetMaxPage", (PyCFunction
)_wrap_PrintPreview_GetMaxPage
, METH_O
, NULL
},
31700 { (char *)"PrintPreview_GetMinPage", (PyCFunction
)_wrap_PrintPreview_GetMinPage
, METH_O
, NULL
},
31701 { (char *)"PrintPreview_Ok", (PyCFunction
)_wrap_PrintPreview_Ok
, METH_O
, NULL
},
31702 { (char *)"PrintPreview_SetOk", (PyCFunction
) _wrap_PrintPreview_SetOk
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31703 { (char *)"PrintPreview_Print", (PyCFunction
) _wrap_PrintPreview_Print
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31704 { (char *)"PrintPreview_DetermineScaling", (PyCFunction
)_wrap_PrintPreview_DetermineScaling
, METH_O
, NULL
},
31705 { (char *)"PrintPreview_swigregister", PrintPreview_swigregister
, METH_VARARGS
, NULL
},
31706 { (char *)"PrintPreview_swiginit", PrintPreview_swiginit
, METH_VARARGS
, NULL
},
31707 { (char *)"new_PyPrintPreview", _wrap_new_PyPrintPreview
, METH_VARARGS
, NULL
},
31708 { (char *)"PyPrintPreview__setCallbackInfo", (PyCFunction
) _wrap_PyPrintPreview__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31709 { (char *)"PyPrintPreview_swigregister", PyPrintPreview_swigregister
, METH_VARARGS
, NULL
},
31710 { (char *)"PyPrintPreview_swiginit", PyPrintPreview_swiginit
, METH_VARARGS
, NULL
},
31711 { (char *)"new_PyPreviewFrame", (PyCFunction
) _wrap_new_PyPreviewFrame
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31712 { (char *)"PyPreviewFrame__setCallbackInfo", (PyCFunction
) _wrap_PyPreviewFrame__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31713 { (char *)"PyPreviewFrame_SetPreviewCanvas", (PyCFunction
) _wrap_PyPreviewFrame_SetPreviewCanvas
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31714 { (char *)"PyPreviewFrame_SetControlBar", (PyCFunction
) _wrap_PyPreviewFrame_SetControlBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31715 { (char *)"PyPreviewFrame_Initialize", (PyCFunction
)_wrap_PyPreviewFrame_Initialize
, METH_O
, NULL
},
31716 { (char *)"PyPreviewFrame_CreateCanvas", (PyCFunction
)_wrap_PyPreviewFrame_CreateCanvas
, METH_O
, NULL
},
31717 { (char *)"PyPreviewFrame_CreateControlBar", (PyCFunction
)_wrap_PyPreviewFrame_CreateControlBar
, METH_O
, NULL
},
31718 { (char *)"PyPreviewFrame_swigregister", PyPreviewFrame_swigregister
, METH_VARARGS
, NULL
},
31719 { (char *)"PyPreviewFrame_swiginit", PyPreviewFrame_swiginit
, METH_VARARGS
, NULL
},
31720 { (char *)"new_PyPreviewControlBar", (PyCFunction
) _wrap_new_PyPreviewControlBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31721 { (char *)"PyPreviewControlBar__setCallbackInfo", (PyCFunction
) _wrap_PyPreviewControlBar__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31722 { (char *)"PyPreviewControlBar_SetPrintPreview", (PyCFunction
) _wrap_PyPreviewControlBar_SetPrintPreview
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31723 { (char *)"PyPreviewControlBar_CreateButtons", (PyCFunction
)_wrap_PyPreviewControlBar_CreateButtons
, METH_O
, NULL
},
31724 { (char *)"PyPreviewControlBar_SetZoomControl", (PyCFunction
) _wrap_PyPreviewControlBar_SetZoomControl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31725 { (char *)"PyPreviewControlBar_swigregister", PyPreviewControlBar_swigregister
, METH_VARARGS
, NULL
},
31726 { (char *)"PyPreviewControlBar_swiginit", PyPreviewControlBar_swiginit
, METH_VARARGS
, NULL
},
31727 { NULL
, NULL
, 0, NULL
}
31731 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (BEGIN) -------- */
31733 static void *_p_wxPyPreviewFrameTo_p_wxPreviewFrame(void *x
) {
31734 return (void *)((wxPreviewFrame
*) ((wxPyPreviewFrame
*) x
));
31736 static void *_p_wxContextMenuEventTo_p_wxEvent(void *x
) {
31737 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
31739 static void *_p_wxMenuEventTo_p_wxEvent(void *x
) {
31740 return (void *)((wxEvent
*) ((wxMenuEvent
*) x
));
31742 static void *_p_wxCloseEventTo_p_wxEvent(void *x
) {
31743 return (void *)((wxEvent
*) ((wxCloseEvent
*) x
));
31745 static void *_p_wxMouseEventTo_p_wxEvent(void *x
) {
31746 return (void *)((wxEvent
*) ((wxMouseEvent
*) x
));
31748 static void *_p_wxEraseEventTo_p_wxEvent(void *x
) {
31749 return (void *)((wxEvent
*) ((wxEraseEvent
*) x
));
31751 static void *_p_wxSetCursorEventTo_p_wxEvent(void *x
) {
31752 return (void *)((wxEvent
*) ((wxSetCursorEvent
*) x
));
31754 static void *_p_wxSplitterEventTo_p_wxEvent(void *x
) {
31755 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*) ((wxSplitterEvent
*) x
));
31757 static void *_p_wxInitDialogEventTo_p_wxEvent(void *x
) {
31758 return (void *)((wxEvent
*) ((wxInitDialogEvent
*) x
));
31760 static void *_p_wxScrollEventTo_p_wxEvent(void *x
) {
31761 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxScrollEvent
*) x
));
31763 static void *_p_wxFindDialogEventTo_p_wxEvent(void *x
) {
31764 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxFindDialogEvent
*) x
));
31766 static void *_p_wxNotifyEventTo_p_wxEvent(void *x
) {
31767 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxNotifyEvent
*) x
));
31769 static void *_p_wxPyEventTo_p_wxEvent(void *x
) {
31770 return (void *)((wxEvent
*) ((wxPyEvent
*) x
));
31772 static void *_p_wxCalculateLayoutEventTo_p_wxEvent(void *x
) {
31773 return (void *)((wxEvent
*) ((wxCalculateLayoutEvent
*) x
));
31775 static void *_p_wxIdleEventTo_p_wxEvent(void *x
) {
31776 return (void *)((wxEvent
*) ((wxIdleEvent
*) x
));
31778 static void *_p_wxWindowCreateEventTo_p_wxEvent(void *x
) {
31779 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
31781 static void *_p_wxQueryNewPaletteEventTo_p_wxEvent(void *x
) {
31782 return (void *)((wxEvent
*) ((wxQueryNewPaletteEvent
*) x
));
31784 static void *_p_wxMaximizeEventTo_p_wxEvent(void *x
) {
31785 return (void *)((wxEvent
*) ((wxMaximizeEvent
*) x
));
31787 static void *_p_wxIconizeEventTo_p_wxEvent(void *x
) {
31788 return (void *)((wxEvent
*) ((wxIconizeEvent
*) x
));
31790 static void *_p_wxActivateEventTo_p_wxEvent(void *x
) {
31791 return (void *)((wxEvent
*) ((wxActivateEvent
*) x
));
31793 static void *_p_wxSizeEventTo_p_wxEvent(void *x
) {
31794 return (void *)((wxEvent
*) ((wxSizeEvent
*) x
));
31796 static void *_p_wxMoveEventTo_p_wxEvent(void *x
) {
31797 return (void *)((wxEvent
*) ((wxMoveEvent
*) x
));
31799 static void *_p_wxDateEventTo_p_wxEvent(void *x
) {
31800 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxDateEvent
*) x
));
31802 static void *_p_wxClipboardTextEventTo_p_wxEvent(void *x
) {
31803 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxClipboardTextEvent
*) x
));
31805 static void *_p_wxPaintEventTo_p_wxEvent(void *x
) {
31806 return (void *)((wxEvent
*) ((wxPaintEvent
*) x
));
31808 static void *_p_wxNcPaintEventTo_p_wxEvent(void *x
) {
31809 return (void *)((wxEvent
*) ((wxNcPaintEvent
*) x
));
31811 static void *_p_wxUpdateUIEventTo_p_wxEvent(void *x
) {
31812 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
31814 static void *_p_wxPaletteChangedEventTo_p_wxEvent(void *x
) {
31815 return (void *)((wxEvent
*) ((wxPaletteChangedEvent
*) x
));
31817 static void *_p_wxDisplayChangedEventTo_p_wxEvent(void *x
) {
31818 return (void *)((wxEvent
*) ((wxDisplayChangedEvent
*) x
));
31820 static void *_p_wxMouseCaptureChangedEventTo_p_wxEvent(void *x
) {
31821 return (void *)((wxEvent
*) ((wxMouseCaptureChangedEvent
*) x
));
31823 static void *_p_wxSysColourChangedEventTo_p_wxEvent(void *x
) {
31824 return (void *)((wxEvent
*) ((wxSysColourChangedEvent
*) x
));
31826 static void *_p_wxDropFilesEventTo_p_wxEvent(void *x
) {
31827 return (void *)((wxEvent
*) ((wxDropFilesEvent
*) x
));
31829 static void *_p_wxFocusEventTo_p_wxEvent(void *x
) {
31830 return (void *)((wxEvent
*) ((wxFocusEvent
*) x
));
31832 static void *_p_wxChildFocusEventTo_p_wxEvent(void *x
) {
31833 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
31835 static void *_p_wxSashEventTo_p_wxEvent(void *x
) {
31836 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxSashEvent
*) x
));
31838 static void *_p_wxQueryLayoutInfoEventTo_p_wxEvent(void *x
) {
31839 return (void *)((wxEvent
*) ((wxQueryLayoutInfoEvent
*) x
));
31841 static void *_p_wxShowEventTo_p_wxEvent(void *x
) {
31842 return (void *)((wxEvent
*) ((wxShowEvent
*) x
));
31844 static void *_p_wxCommandEventTo_p_wxEvent(void *x
) {
31845 return (void *)((wxEvent
*) ((wxCommandEvent
*) x
));
31847 static void *_p_wxPyCommandEventTo_p_wxEvent(void *x
) {
31848 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
31850 static void *_p_wxWindowDestroyEventTo_p_wxEvent(void *x
) {
31851 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
31853 static void *_p_wxNavigationKeyEventTo_p_wxEvent(void *x
) {
31854 return (void *)((wxEvent
*) ((wxNavigationKeyEvent
*) x
));
31856 static void *_p_wxKeyEventTo_p_wxEvent(void *x
) {
31857 return (void *)((wxEvent
*) ((wxKeyEvent
*) x
));
31859 static void *_p_wxScrollWinEventTo_p_wxEvent(void *x
) {
31860 return (void *)((wxEvent
*) ((wxScrollWinEvent
*) x
));
31862 static void *_p_wxTaskBarIconEventTo_p_wxEvent(void *x
) {
31863 return (void *)((wxEvent
*) ((wxTaskBarIconEvent
*) x
));
31865 static void *_p_wxSplitterEventTo_p_wxNotifyEvent(void *x
) {
31866 return (void *)((wxNotifyEvent
*) ((wxSplitterEvent
*) x
));
31868 static void *_p_wxPasswordEntryDialogTo_p_wxTextEntryDialog(void *x
) {
31869 return (void *)((wxTextEntryDialog
*) ((wxPasswordEntryDialog
*) x
));
31871 static void *_p_wxSplashScreenTo_p_wxEvtHandler(void *x
) {
31872 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxSplashScreen
*) x
));
31874 static void *_p_wxMiniFrameTo_p_wxEvtHandler(void *x
) {
31875 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxMiniFrame
*) x
));
31877 static void *_p_wxPyPanelTo_p_wxEvtHandler(void *x
) {
31878 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*) ((wxPyPanel
*) x
));
31880 static void *_p_wxMenuBarTo_p_wxEvtHandler(void *x
) {
31881 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxMenuBar
*) x
));
31883 static void *_p_wxValidatorTo_p_wxEvtHandler(void *x
) {
31884 return (void *)((wxEvtHandler
*) ((wxValidator
*) x
));
31886 static void *_p_wxPyValidatorTo_p_wxEvtHandler(void *x
) {
31887 return (void *)((wxEvtHandler
*) (wxValidator
*) ((wxPyValidator
*) x
));
31889 static void *_p_wxMenuTo_p_wxEvtHandler(void *x
) {
31890 return (void *)((wxEvtHandler
*) ((wxMenu
*) x
));
31892 static void *_p_wxPasswordEntryDialogTo_p_wxEvtHandler(void *x
) {
31893 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*)(wxTextEntryDialog
*) ((wxPasswordEntryDialog
*) x
));
31895 static void *_p_wxTextEntryDialogTo_p_wxEvtHandler(void *x
) {
31896 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxTextEntryDialog
*) x
));
31898 static void *_p_wxSingleChoiceDialogTo_p_wxEvtHandler(void *x
) {
31899 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxSingleChoiceDialog
*) x
));
31901 static void *_p_wxMultiChoiceDialogTo_p_wxEvtHandler(void *x
) {
31902 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxMultiChoiceDialog
*) x
));
31904 static void *_p_wxFileDialogTo_p_wxEvtHandler(void *x
) {
31905 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxFileDialog
*) x
));
31907 static void *_p_wxNumberEntryDialogTo_p_wxEvtHandler(void *x
) {
31908 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxNumberEntryDialog
*) x
));
31910 static void *_p_wxMessageDialogTo_p_wxEvtHandler(void *x
) {
31911 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxMessageDialog
*) x
));
31913 static void *_p_wxProgressDialogTo_p_wxEvtHandler(void *x
) {
31914 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxProgressDialog
*) x
));
31916 static void *_p_wxFindReplaceDialogTo_p_wxEvtHandler(void *x
) {
31917 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxFindReplaceDialog
*) x
));
31919 static void *_p_wxPanelTo_p_wxEvtHandler(void *x
) {
31920 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxPanel
*) x
));
31922 static void *_p_wxStatusBarTo_p_wxEvtHandler(void *x
) {
31923 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxStatusBar
*) x
));
31925 static void *_p_wxPyVScrolledWindowTo_p_wxEvtHandler(void *x
) {
31926 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*) ((wxPyVScrolledWindow
*) x
));
31928 static void *_p_wxTipWindowTo_p_wxEvtHandler(void *x
) {
31929 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPopupWindow
*)(wxPyPopupTransientWindow
*) ((wxTipWindow
*) x
));
31931 static void *_p_wxPyPopupTransientWindowTo_p_wxEvtHandler(void *x
) {
31932 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPopupWindow
*) ((wxPyPopupTransientWindow
*) x
));
31934 static void *_p_wxPopupWindowTo_p_wxEvtHandler(void *x
) {
31935 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxPopupWindow
*) x
));
31937 static void *_p_wxSashLayoutWindowTo_p_wxEvtHandler(void *x
) {
31938 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxSashWindow
*) ((wxSashLayoutWindow
*) x
));
31940 static void *_p_wxSashWindowTo_p_wxEvtHandler(void *x
) {
31941 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxSashWindow
*) x
));
31943 static void *_p_wxSplitterWindowTo_p_wxEvtHandler(void *x
) {
31944 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxSplitterWindow
*) x
));
31946 static void *_p_wxSplashScreenWindowTo_p_wxEvtHandler(void *x
) {
31947 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxSplashScreenWindow
*) x
));
31949 static void *_p_wxWindowTo_p_wxEvtHandler(void *x
) {
31950 return (void *)((wxEvtHandler
*) ((wxWindow
*) x
));
31952 static void *_p_wxScrolledWindowTo_p_wxEvtHandler(void *x
) {
31953 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*) ((wxScrolledWindow
*) x
));
31955 static void *_p_wxTopLevelWindowTo_p_wxEvtHandler(void *x
) {
31956 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxTopLevelWindow
*) x
));
31958 static void *_p_wxMDIClientWindowTo_p_wxEvtHandler(void *x
) {
31959 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxMDIClientWindow
*) x
));
31961 static void *_p_wxPyScrolledWindowTo_p_wxEvtHandler(void *x
) {
31962 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*)(wxScrolledWindow
*) ((wxPyScrolledWindow
*) x
));
31964 static void *_p_wxControlTo_p_wxEvtHandler(void *x
) {
31965 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxControl
*) x
));
31967 static void *_p_wxPreviewFrameTo_p_wxEvtHandler(void *x
) {
31968 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxPreviewFrame
*) x
));
31970 static void *_p_wxPyPreviewFrameTo_p_wxEvtHandler(void *x
) {
31971 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*)(wxPreviewFrame
*) ((wxPyPreviewFrame
*) x
));
31973 static void *_p_wxMDIChildFrameTo_p_wxEvtHandler(void *x
) {
31974 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxMDIChildFrame
*) x
));
31976 static void *_p_wxPyAppTo_p_wxEvtHandler(void *x
) {
31977 return (void *)((wxEvtHandler
*) ((wxPyApp
*) x
));
31979 static void *_p_wxControlWithItemsTo_p_wxEvtHandler(void *x
) {
31980 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxControlWithItems
*) x
));
31982 static void *_p_wxPyWindowTo_p_wxEvtHandler(void *x
) {
31983 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxPyWindow
*) x
));
31985 static void *_p_wxPreviewCanvasTo_p_wxEvtHandler(void *x
) {
31986 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*)(wxScrolledWindow
*) ((wxPreviewCanvas
*) x
));
31988 static void *_p_wxPyHtmlListBoxTo_p_wxEvtHandler(void *x
) {
31989 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*)(wxPyVScrolledWindow
*)(wxPyVListBox
*) ((wxPyHtmlListBox
*) x
));
31991 static void *_p_wxPyVListBoxTo_p_wxEvtHandler(void *x
) {
31992 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*)(wxPyVScrolledWindow
*) ((wxPyVListBox
*) x
));
31994 static void *_p_wxPreviewControlBarTo_p_wxEvtHandler(void *x
) {
31995 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*) ((wxPreviewControlBar
*) x
));
31997 static void *_p_wxPyPreviewControlBarTo_p_wxEvtHandler(void *x
) {
31998 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*)(wxPreviewControlBar
*) ((wxPyPreviewControlBar
*) x
));
32000 static void *_p_wxPyTaskBarIconTo_p_wxEvtHandler(void *x
) {
32001 return (void *)((wxEvtHandler
*) ((wxPyTaskBarIcon
*) x
));
32003 static void *_p_wxFrameTo_p_wxEvtHandler(void *x
) {
32004 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*) ((wxFrame
*) x
));
32006 static void *_p_wxDirDialogTo_p_wxEvtHandler(void *x
) {
32007 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxDirDialog
*) x
));
32009 static void *_p_wxColourDialogTo_p_wxEvtHandler(void *x
) {
32010 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxColourDialog
*) x
));
32012 static void *_p_wxDialogTo_p_wxEvtHandler(void *x
) {
32013 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*) ((wxDialog
*) x
));
32015 static void *_p_wxFontDialogTo_p_wxEvtHandler(void *x
) {
32016 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxFontDialog
*) x
));
32018 static void *_p_wxMDIParentFrameTo_p_wxEvtHandler(void *x
) {
32019 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxMDIParentFrame
*) x
));
32021 static void *_p_wxPyHtmlListBoxTo_p_wxPyVListBox(void *x
) {
32022 return (void *)((wxPyVListBox
*) ((wxPyHtmlListBox
*) x
));
32024 static void *_p_wxMDIChildFrameTo_p_wxFrame(void *x
) {
32025 return (void *)((wxFrame
*) ((wxMDIChildFrame
*) x
));
32027 static void *_p_wxProgressDialogTo_p_wxFrame(void *x
) {
32028 return (void *)((wxFrame
*) ((wxProgressDialog
*) x
));
32030 static void *_p_wxPreviewFrameTo_p_wxFrame(void *x
) {
32031 return (void *)((wxFrame
*) ((wxPreviewFrame
*) x
));
32033 static void *_p_wxPyPreviewFrameTo_p_wxFrame(void *x
) {
32034 return (void *)((wxFrame
*) (wxPreviewFrame
*) ((wxPyPreviewFrame
*) x
));
32036 static void *_p_wxMiniFrameTo_p_wxFrame(void *x
) {
32037 return (void *)((wxFrame
*) ((wxMiniFrame
*) x
));
32039 static void *_p_wxSplashScreenTo_p_wxFrame(void *x
) {
32040 return (void *)((wxFrame
*) ((wxSplashScreen
*) x
));
32042 static void *_p_wxMDIParentFrameTo_p_wxFrame(void *x
) {
32043 return (void *)((wxFrame
*) ((wxMDIParentFrame
*) x
));
32045 static void *_p_wxLayoutConstraintsTo_p_wxObject(void *x
) {
32046 return (void *)((wxObject
*) ((wxLayoutConstraints
*) x
));
32048 static void *_p_wxQueryLayoutInfoEventTo_p_wxObject(void *x
) {
32049 return (void *)((wxObject
*) (wxEvent
*) ((wxQueryLayoutInfoEvent
*) x
));
32051 static void *_p_wxPreviewFrameTo_p_wxObject(void *x
) {
32052 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxPreviewFrame
*) x
));
32054 static void *_p_wxPyPreviewFrameTo_p_wxObject(void *x
) {
32055 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*)(wxPreviewFrame
*) ((wxPyPreviewFrame
*) x
));
32057 static void *_p_wxGBSizerItemTo_p_wxObject(void *x
) {
32058 return (void *)((wxObject
*) (wxSizerItem
*) ((wxGBSizerItem
*) x
));
32060 static void *_p_wxSizerItemTo_p_wxObject(void *x
) {
32061 return (void *)((wxObject
*) ((wxSizerItem
*) x
));
32063 static void *_p_wxScrollEventTo_p_wxObject(void *x
) {
32064 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxScrollEvent
*) x
));
32066 static void *_p_wxIndividualLayoutConstraintTo_p_wxObject(void *x
) {
32067 return (void *)((wxObject
*) ((wxIndividualLayoutConstraint
*) x
));
32069 static void *_p_wxStaticBoxSizerTo_p_wxObject(void *x
) {
32070 return (void *)((wxObject
*) (wxSizer
*)(wxBoxSizer
*) ((wxStaticBoxSizer
*) x
));
32072 static void *_p_wxBoxSizerTo_p_wxObject(void *x
) {
32073 return (void *)((wxObject
*) (wxSizer
*) ((wxBoxSizer
*) x
));
32075 static void *_p_wxSizerTo_p_wxObject(void *x
) {
32076 return (void *)((wxObject
*) ((wxSizer
*) x
));
32078 static void *_p_wxGridBagSizerTo_p_wxObject(void *x
) {
32079 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*)(wxFlexGridSizer
*) ((wxGridBagSizer
*) x
));
32081 static void *_p_wxUpdateUIEventTo_p_wxObject(void *x
) {
32082 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
32084 static void *_p_wxPyPanelTo_p_wxObject(void *x
) {
32085 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*) ((wxPyPanel
*) x
));
32087 static void *_p_wxEventTo_p_wxObject(void *x
) {
32088 return (void *)((wxObject
*) ((wxEvent
*) x
));
32090 static void *_p_wxFontDataTo_p_wxObject(void *x
) {
32091 return (void *)((wxObject
*) ((wxFontData
*) x
));
32093 static void *_p_wxPrintDataTo_p_wxObject(void *x
) {
32094 return (void *)((wxObject
*) ((wxPrintData
*) x
));
32096 static void *_p_wxFlexGridSizerTo_p_wxObject(void *x
) {
32097 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*) ((wxFlexGridSizer
*) x
));
32099 static void *_p_wxGridSizerTo_p_wxObject(void *x
) {
32100 return (void *)((wxObject
*) (wxSizer
*) ((wxGridSizer
*) x
));
32102 static void *_p_wxInitDialogEventTo_p_wxObject(void *x
) {
32103 return (void *)((wxObject
*) (wxEvent
*) ((wxInitDialogEvent
*) x
));
32105 static void *_p_wxLayoutAlgorithmTo_p_wxObject(void *x
) {
32106 return (void *)((wxObject
*) ((wxLayoutAlgorithm
*) x
));
32108 static void *_p_wxPyTaskBarIconTo_p_wxObject(void *x
) {
32109 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxPyTaskBarIcon
*) x
));
32111 static void *_p_wxFindDialogEventTo_p_wxObject(void *x
) {
32112 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxFindDialogEvent
*) x
));
32114 static void *_p_wxClipboardTextEventTo_p_wxObject(void *x
) {
32115 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxClipboardTextEvent
*) x
));
32117 static void *_p_wxPaintEventTo_p_wxObject(void *x
) {
32118 return (void *)((wxObject
*) (wxEvent
*) ((wxPaintEvent
*) x
));
32120 static void *_p_wxNcPaintEventTo_p_wxObject(void *x
) {
32121 return (void *)((wxObject
*) (wxEvent
*) ((wxNcPaintEvent
*) x
));
32123 static void *_p_wxPaletteChangedEventTo_p_wxObject(void *x
) {
32124 return (void *)((wxObject
*) (wxEvent
*) ((wxPaletteChangedEvent
*) x
));
32126 static void *_p_wxDisplayChangedEventTo_p_wxObject(void *x
) {
32127 return (void *)((wxObject
*) (wxEvent
*) ((wxDisplayChangedEvent
*) x
));
32129 static void *_p_wxMouseCaptureChangedEventTo_p_wxObject(void *x
) {
32130 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseCaptureChangedEvent
*) x
));
32132 static void *_p_wxSysColourChangedEventTo_p_wxObject(void *x
) {
32133 return (void *)((wxObject
*) (wxEvent
*) ((wxSysColourChangedEvent
*) x
));
32135 static void *_p_wxPreviewCanvasTo_p_wxObject(void *x
) {
32136 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*)(wxScrolledWindow
*) ((wxPreviewCanvas
*) x
));
32138 static void *_p_wxControlTo_p_wxObject(void *x
) {
32139 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxControl
*) x
));
32141 static void *_p_wxSetCursorEventTo_p_wxObject(void *x
) {
32142 return (void *)((wxObject
*) (wxEvent
*) ((wxSetCursorEvent
*) x
));
32144 static void *_p_wxSplitterEventTo_p_wxObject(void *x
) {
32145 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*) ((wxSplitterEvent
*) x
));
32147 static void *_p_wxFSFileTo_p_wxObject(void *x
) {
32148 return (void *)((wxObject
*) ((wxFSFile
*) x
));
32150 static void *_p_wxFindReplaceDataTo_p_wxObject(void *x
) {
32151 return (void *)((wxObject
*) ((wxFindReplaceData
*) x
));
32153 static void *_p_wxPySizerTo_p_wxObject(void *x
) {
32154 return (void *)((wxObject
*) (wxSizer
*) ((wxPySizer
*) x
));
32156 static void *_p_wxMDIChildFrameTo_p_wxObject(void *x
) {
32157 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxMDIChildFrame
*) x
));
32159 static void *_p_wxColourDataTo_p_wxObject(void *x
) {
32160 return (void *)((wxObject
*) ((wxColourData
*) x
));
32162 static void *_p_wxPyEventTo_p_wxObject(void *x
) {
32163 return (void *)((wxObject
*) (wxEvent
*) ((wxPyEvent
*) x
));
32165 static void *_p_wxNotifyEventTo_p_wxObject(void *x
) {
32166 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxNotifyEvent
*) x
));
32168 static void *_p_wxPyWindowTo_p_wxObject(void *x
) {
32169 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxPyWindow
*) x
));
32171 static void *_p_wxSplashScreenTo_p_wxObject(void *x
) {
32172 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxSplashScreen
*) x
));
32174 static void *_p_wxFileDialogTo_p_wxObject(void *x
) {
32175 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxFileDialog
*) x
));
32177 static void *_p_wxMultiChoiceDialogTo_p_wxObject(void *x
) {
32178 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxMultiChoiceDialog
*) x
));
32180 static void *_p_wxSingleChoiceDialogTo_p_wxObject(void *x
) {
32181 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxSingleChoiceDialog
*) x
));
32183 static void *_p_wxTextEntryDialogTo_p_wxObject(void *x
) {
32184 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxTextEntryDialog
*) x
));
32186 static void *_p_wxPasswordEntryDialogTo_p_wxObject(void *x
) {
32187 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*)(wxTextEntryDialog
*) ((wxPasswordEntryDialog
*) x
));
32189 static void *_p_wxNumberEntryDialogTo_p_wxObject(void *x
) {
32190 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxNumberEntryDialog
*) x
));
32192 static void *_p_wxMessageDialogTo_p_wxObject(void *x
) {
32193 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxMessageDialog
*) x
));
32195 static void *_p_wxProgressDialogTo_p_wxObject(void *x
) {
32196 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxProgressDialog
*) x
));
32198 static void *_p_wxFindReplaceDialogTo_p_wxObject(void *x
) {
32199 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxFindReplaceDialog
*) x
));
32201 static void *_p_wxShowEventTo_p_wxObject(void *x
) {
32202 return (void *)((wxObject
*) (wxEvent
*) ((wxShowEvent
*) x
));
32204 static void *_p_wxPrinterTo_p_wxObject(void *x
) {
32205 return (void *)((wxObject
*) ((wxPrinter
*) x
));
32207 static void *_p_wxMenuItemTo_p_wxObject(void *x
) {
32208 return (void *)((wxObject
*) ((wxMenuItem
*) x
));
32210 static void *_p_wxDateEventTo_p_wxObject(void *x
) {
32211 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxDateEvent
*) x
));
32213 static void *_p_wxIdleEventTo_p_wxObject(void *x
) {
32214 return (void *)((wxObject
*) (wxEvent
*) ((wxIdleEvent
*) x
));
32216 static void *_p_wxWindowCreateEventTo_p_wxObject(void *x
) {
32217 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
32219 static void *_p_wxQueryNewPaletteEventTo_p_wxObject(void *x
) {
32220 return (void *)((wxObject
*) (wxEvent
*) ((wxQueryNewPaletteEvent
*) x
));
32222 static void *_p_wxMaximizeEventTo_p_wxObject(void *x
) {
32223 return (void *)((wxObject
*) (wxEvent
*) ((wxMaximizeEvent
*) x
));
32225 static void *_p_wxIconizeEventTo_p_wxObject(void *x
) {
32226 return (void *)((wxObject
*) (wxEvent
*) ((wxIconizeEvent
*) x
));
32228 static void *_p_wxSizeEventTo_p_wxObject(void *x
) {
32229 return (void *)((wxObject
*) (wxEvent
*) ((wxSizeEvent
*) x
));
32231 static void *_p_wxMoveEventTo_p_wxObject(void *x
) {
32232 return (void *)((wxObject
*) (wxEvent
*) ((wxMoveEvent
*) x
));
32234 static void *_p_wxActivateEventTo_p_wxObject(void *x
) {
32235 return (void *)((wxObject
*) (wxEvent
*) ((wxActivateEvent
*) x
));
32237 static void *_p_wxPNMHandlerTo_p_wxObject(void *x
) {
32238 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNMHandler
*) x
));
32240 static void *_p_wxJPEGHandlerTo_p_wxObject(void *x
) {
32241 return (void *)((wxObject
*) (wxImageHandler
*) ((wxJPEGHandler
*) x
));
32243 static void *_p_wxPCXHandlerTo_p_wxObject(void *x
) {
32244 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPCXHandler
*) x
));
32246 static void *_p_wxGIFHandlerTo_p_wxObject(void *x
) {
32247 return (void *)((wxObject
*) (wxImageHandler
*) ((wxGIFHandler
*) x
));
32249 static void *_p_wxPNGHandlerTo_p_wxObject(void *x
) {
32250 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNGHandler
*) x
));
32252 static void *_p_wxANIHandlerTo_p_wxObject(void *x
) {
32253 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*)(wxCURHandler
*) ((wxANIHandler
*) x
));
32255 static void *_p_wxCURHandlerTo_p_wxObject(void *x
) {
32256 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*) ((wxCURHandler
*) x
));
32258 static void *_p_wxICOHandlerTo_p_wxObject(void *x
) {
32259 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*) ((wxICOHandler
*) x
));
32261 static void *_p_wxBMPHandlerTo_p_wxObject(void *x
) {
32262 return (void *)((wxObject
*) (wxImageHandler
*) ((wxBMPHandler
*) x
));
32264 static void *_p_wxPyImageHandlerTo_p_wxObject(void *x
) {
32265 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPyImageHandler
*) x
));
32267 static void *_p_wxImageHandlerTo_p_wxObject(void *x
) {
32268 return (void *)((wxObject
*) ((wxImageHandler
*) x
));
32270 static void *_p_wxXPMHandlerTo_p_wxObject(void *x
) {
32271 return (void *)((wxObject
*) (wxImageHandler
*) ((wxXPMHandler
*) x
));
32273 static void *_p_wxTIFFHandlerTo_p_wxObject(void *x
) {
32274 return (void *)((wxObject
*) (wxImageHandler
*) ((wxTIFFHandler
*) x
));
32276 static void *_p_wxEvtHandlerTo_p_wxObject(void *x
) {
32277 return (void *)((wxObject
*) ((wxEvtHandler
*) x
));
32279 static void *_p_wxCalculateLayoutEventTo_p_wxObject(void *x
) {
32280 return (void *)((wxObject
*) (wxEvent
*) ((wxCalculateLayoutEvent
*) x
));
32282 static void *_p_wxPyVListBoxTo_p_wxObject(void *x
) {
32283 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*)(wxPyVScrolledWindow
*) ((wxPyVListBox
*) x
));
32285 static void *_p_wxPyHtmlListBoxTo_p_wxObject(void *x
) {
32286 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*)(wxPyVScrolledWindow
*)(wxPyVListBox
*) ((wxPyHtmlListBox
*) x
));
32288 static void *_p_wxStdDialogButtonSizerTo_p_wxObject(void *x
) {
32289 return (void *)((wxObject
*) (wxSizer
*)(wxBoxSizer
*) ((wxStdDialogButtonSizer
*) x
));
32291 static void *_p_wxAcceleratorTableTo_p_wxObject(void *x
) {
32292 return (void *)((wxObject
*) ((wxAcceleratorTable
*) x
));
32294 static void *_p_wxMiniFrameTo_p_wxObject(void *x
) {
32295 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxMiniFrame
*) x
));
32297 static void *_p_wxImageTo_p_wxObject(void *x
) {
32298 return (void *)((wxObject
*) ((wxImage
*) x
));
32300 static void *_p_wxFrameTo_p_wxObject(void *x
) {
32301 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*) ((wxFrame
*) x
));
32303 static void *_p_wxPyPrintoutTo_p_wxObject(void *x
) {
32304 return (void *)((wxObject
*) ((wxPyPrintout
*) x
));
32306 static void *_p_wxScrollWinEventTo_p_wxObject(void *x
) {
32307 return (void *)((wxObject
*) (wxEvent
*) ((wxScrollWinEvent
*) x
));
32309 static void *_p_wxTaskBarIconEventTo_p_wxObject(void *x
) {
32310 return (void *)((wxObject
*) (wxEvent
*) ((wxTaskBarIconEvent
*) x
));
32312 static void *_p_wxStatusBarTo_p_wxObject(void *x
) {
32313 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxStatusBar
*) x
));
32315 static void *_p_wxMDIParentFrameTo_p_wxObject(void *x
) {
32316 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxMDIParentFrame
*) x
));
32318 static void *_p_wxWindowDestroyEventTo_p_wxObject(void *x
) {
32319 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
32321 static void *_p_wxNavigationKeyEventTo_p_wxObject(void *x
) {
32322 return (void *)((wxObject
*) (wxEvent
*) ((wxNavigationKeyEvent
*) x
));
32324 static void *_p_wxKeyEventTo_p_wxObject(void *x
) {
32325 return (void *)((wxObject
*) (wxEvent
*) ((wxKeyEvent
*) x
));
32327 static void *_p_wxWindowTo_p_wxObject(void *x
) {
32328 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxWindow
*) x
));
32330 static void *_p_wxMenuTo_p_wxObject(void *x
) {
32331 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxMenu
*) x
));
32333 static void *_p_wxMenuBarTo_p_wxObject(void *x
) {
32334 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxMenuBar
*) x
));
32336 static void *_p_wxScrolledWindowTo_p_wxObject(void *x
) {
32337 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*) ((wxScrolledWindow
*) x
));
32339 static void *_p_wxTopLevelWindowTo_p_wxObject(void *x
) {
32340 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxTopLevelWindow
*) x
));
32342 static void *_p_wxSplashScreenWindowTo_p_wxObject(void *x
) {
32343 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxSplashScreenWindow
*) x
));
32345 static void *_p_wxSplitterWindowTo_p_wxObject(void *x
) {
32346 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxSplitterWindow
*) x
));
32348 static void *_p_wxSashWindowTo_p_wxObject(void *x
) {
32349 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxSashWindow
*) x
));
32351 static void *_p_wxSashLayoutWindowTo_p_wxObject(void *x
) {
32352 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxSashWindow
*) ((wxSashLayoutWindow
*) x
));
32354 static void *_p_wxPopupWindowTo_p_wxObject(void *x
) {
32355 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxPopupWindow
*) x
));
32357 static void *_p_wxPyPopupTransientWindowTo_p_wxObject(void *x
) {
32358 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPopupWindow
*) ((wxPyPopupTransientWindow
*) x
));
32360 static void *_p_wxTipWindowTo_p_wxObject(void *x
) {
32361 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPopupWindow
*)(wxPyPopupTransientWindow
*) ((wxTipWindow
*) x
));
32363 static void *_p_wxPyVScrolledWindowTo_p_wxObject(void *x
) {
32364 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*) ((wxPyVScrolledWindow
*) x
));
32366 static void *_p_wxMDIClientWindowTo_p_wxObject(void *x
) {
32367 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxMDIClientWindow
*) x
));
32369 static void *_p_wxPyScrolledWindowTo_p_wxObject(void *x
) {
32370 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*)(wxScrolledWindow
*) ((wxPyScrolledWindow
*) x
));
32372 static void *_p_wxSashEventTo_p_wxObject(void *x
) {
32373 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxSashEvent
*) x
));
32375 static void *_p_wxPrintPreviewTo_p_wxObject(void *x
) {
32376 return (void *)((wxObject
*) ((wxPrintPreview
*) x
));
32378 static void *_p_wxPyPrintPreviewTo_p_wxObject(void *x
) {
32379 return (void *)((wxObject
*) (wxPrintPreview
*) ((wxPyPrintPreview
*) x
));
32381 static void *_p_wxPanelTo_p_wxObject(void *x
) {
32382 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxPanel
*) x
));
32384 static void *_p_wxDialogTo_p_wxObject(void *x
) {
32385 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*) ((wxDialog
*) x
));
32387 static void *_p_wxColourDialogTo_p_wxObject(void *x
) {
32388 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxColourDialog
*) x
));
32390 static void *_p_wxDirDialogTo_p_wxObject(void *x
) {
32391 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxDirDialog
*) x
));
32393 static void *_p_wxFontDialogTo_p_wxObject(void *x
) {
32394 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxFontDialog
*) x
));
32396 static void *_p_wxPageSetupDialogTo_p_wxObject(void *x
) {
32397 return (void *)((wxObject
*) ((wxPageSetupDialog
*) x
));
32399 static void *_p_wxPrintDialogTo_p_wxObject(void *x
) {
32400 return (void *)((wxObject
*) ((wxPrintDialog
*) x
));
32402 static void *_p_wxFileSystemTo_p_wxObject(void *x
) {
32403 return (void *)((wxObject
*) ((wxFileSystem
*) x
));
32405 static void *_p_wxContextMenuEventTo_p_wxObject(void *x
) {
32406 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
32408 static void *_p_wxMenuEventTo_p_wxObject(void *x
) {
32409 return (void *)((wxObject
*) (wxEvent
*) ((wxMenuEvent
*) x
));
32411 static void *_p_wxPyAppTo_p_wxObject(void *x
) {
32412 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxPyApp
*) x
));
32414 static void *_p_wxCloseEventTo_p_wxObject(void *x
) {
32415 return (void *)((wxObject
*) (wxEvent
*) ((wxCloseEvent
*) x
));
32417 static void *_p_wxMouseEventTo_p_wxObject(void *x
) {
32418 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseEvent
*) x
));
32420 static void *_p_wxEraseEventTo_p_wxObject(void *x
) {
32421 return (void *)((wxObject
*) (wxEvent
*) ((wxEraseEvent
*) x
));
32423 static void *_p_wxPyCommandEventTo_p_wxObject(void *x
) {
32424 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
32426 static void *_p_wxCommandEventTo_p_wxObject(void *x
) {
32427 return (void *)((wxObject
*) (wxEvent
*) ((wxCommandEvent
*) x
));
32429 static void *_p_wxPreviewControlBarTo_p_wxObject(void *x
) {
32430 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*) ((wxPreviewControlBar
*) x
));
32432 static void *_p_wxPyPreviewControlBarTo_p_wxObject(void *x
) {
32433 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*)(wxPreviewControlBar
*) ((wxPyPreviewControlBar
*) x
));
32435 static void *_p_wxDropFilesEventTo_p_wxObject(void *x
) {
32436 return (void *)((wxObject
*) (wxEvent
*) ((wxDropFilesEvent
*) x
));
32438 static void *_p_wxFocusEventTo_p_wxObject(void *x
) {
32439 return (void *)((wxObject
*) (wxEvent
*) ((wxFocusEvent
*) x
));
32441 static void *_p_wxChildFocusEventTo_p_wxObject(void *x
) {
32442 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
32444 static void *_p_wxControlWithItemsTo_p_wxObject(void *x
) {
32445 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxControlWithItems
*) x
));
32447 static void *_p_wxPageSetupDialogDataTo_p_wxObject(void *x
) {
32448 return (void *)((wxObject
*) ((wxPageSetupDialogData
*) x
));
32450 static void *_p_wxPrintDialogDataTo_p_wxObject(void *x
) {
32451 return (void *)((wxObject
*) ((wxPrintDialogData
*) x
));
32453 static void *_p_wxPyValidatorTo_p_wxObject(void *x
) {
32454 return (void *)((wxObject
*) (wxEvtHandler
*)(wxValidator
*) ((wxPyValidator
*) x
));
32456 static void *_p_wxValidatorTo_p_wxObject(void *x
) {
32457 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxValidator
*) x
));
32459 static void *_p_wxPyVListBoxTo_p_wxPyVScrolledWindow(void *x
) {
32460 return (void *)((wxPyVScrolledWindow
*) ((wxPyVListBox
*) x
));
32462 static void *_p_wxPyHtmlListBoxTo_p_wxPyVScrolledWindow(void *x
) {
32463 return (void *)((wxPyVScrolledWindow
*) (wxPyVListBox
*) ((wxPyHtmlListBox
*) x
));
32465 static void *_p_wxTipWindowTo_p_wxPyPopupTransientWindow(void *x
) {
32466 return (void *)((wxPyPopupTransientWindow
*) ((wxTipWindow
*) x
));
32468 static void *_p_wxPyPopupTransientWindowTo_p_wxPopupWindow(void *x
) {
32469 return (void *)((wxPopupWindow
*) ((wxPyPopupTransientWindow
*) x
));
32471 static void *_p_wxTipWindowTo_p_wxPopupWindow(void *x
) {
32472 return (void *)((wxPopupWindow
*) (wxPyPopupTransientWindow
*) ((wxTipWindow
*) x
));
32474 static void *_p_wxSashLayoutWindowTo_p_wxSashWindow(void *x
) {
32475 return (void *)((wxSashWindow
*) ((wxSashLayoutWindow
*) x
));
32477 static void *_p_wxFrameTo_p_wxTopLevelWindow(void *x
) {
32478 return (void *)((wxTopLevelWindow
*) ((wxFrame
*) x
));
32480 static void *_p_wxMiniFrameTo_p_wxTopLevelWindow(void *x
) {
32481 return (void *)((wxTopLevelWindow
*) (wxFrame
*) ((wxMiniFrame
*) x
));
32483 static void *_p_wxFontDialogTo_p_wxTopLevelWindow(void *x
) {
32484 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxFontDialog
*) x
));
32486 static void *_p_wxDirDialogTo_p_wxTopLevelWindow(void *x
) {
32487 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxDirDialog
*) x
));
32489 static void *_p_wxColourDialogTo_p_wxTopLevelWindow(void *x
) {
32490 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxColourDialog
*) x
));
32492 static void *_p_wxDialogTo_p_wxTopLevelWindow(void *x
) {
32493 return (void *)((wxTopLevelWindow
*) ((wxDialog
*) x
));
32495 static void *_p_wxSplashScreenTo_p_wxTopLevelWindow(void *x
) {
32496 return (void *)((wxTopLevelWindow
*) (wxFrame
*) ((wxSplashScreen
*) x
));
32498 static void *_p_wxMDIParentFrameTo_p_wxTopLevelWindow(void *x
) {
32499 return (void *)((wxTopLevelWindow
*) (wxFrame
*) ((wxMDIParentFrame
*) x
));
32501 static void *_p_wxMDIChildFrameTo_p_wxTopLevelWindow(void *x
) {
32502 return (void *)((wxTopLevelWindow
*) (wxFrame
*) ((wxMDIChildFrame
*) x
));
32504 static void *_p_wxMessageDialogTo_p_wxTopLevelWindow(void *x
) {
32505 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxMessageDialog
*) x
));
32507 static void *_p_wxNumberEntryDialogTo_p_wxTopLevelWindow(void *x
) {
32508 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxNumberEntryDialog
*) x
));
32510 static void *_p_wxPasswordEntryDialogTo_p_wxTopLevelWindow(void *x
) {
32511 return (void *)((wxTopLevelWindow
*) (wxDialog
*)(wxTextEntryDialog
*) ((wxPasswordEntryDialog
*) x
));
32513 static void *_p_wxTextEntryDialogTo_p_wxTopLevelWindow(void *x
) {
32514 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxTextEntryDialog
*) x
));
32516 static void *_p_wxSingleChoiceDialogTo_p_wxTopLevelWindow(void *x
) {
32517 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxSingleChoiceDialog
*) x
));
32519 static void *_p_wxMultiChoiceDialogTo_p_wxTopLevelWindow(void *x
) {
32520 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxMultiChoiceDialog
*) x
));
32522 static void *_p_wxFileDialogTo_p_wxTopLevelWindow(void *x
) {
32523 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxFileDialog
*) x
));
32525 static void *_p_wxProgressDialogTo_p_wxTopLevelWindow(void *x
) {
32526 return (void *)((wxTopLevelWindow
*) (wxFrame
*) ((wxProgressDialog
*) x
));
32528 static void *_p_wxFindReplaceDialogTo_p_wxTopLevelWindow(void *x
) {
32529 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxFindReplaceDialog
*) x
));
32531 static void *_p_wxPreviewFrameTo_p_wxTopLevelWindow(void *x
) {
32532 return (void *)((wxTopLevelWindow
*) (wxFrame
*) ((wxPreviewFrame
*) x
));
32534 static void *_p_wxPyPreviewFrameTo_p_wxTopLevelWindow(void *x
) {
32535 return (void *)((wxTopLevelWindow
*) (wxFrame
*)(wxPreviewFrame
*) ((wxPyPreviewFrame
*) x
));
32537 static void *_p_wxSplashScreenTo_p_wxWindow(void *x
) {
32538 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*) ((wxSplashScreen
*) x
));
32540 static void *_p_wxMiniFrameTo_p_wxWindow(void *x
) {
32541 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*) ((wxMiniFrame
*) x
));
32543 static void *_p_wxPyPanelTo_p_wxWindow(void *x
) {
32544 return (void *)((wxWindow
*) (wxPanel
*) ((wxPyPanel
*) x
));
32546 static void *_p_wxMenuBarTo_p_wxWindow(void *x
) {
32547 return (void *)((wxWindow
*) ((wxMenuBar
*) x
));
32549 static void *_p_wxFindReplaceDialogTo_p_wxWindow(void *x
) {
32550 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxFindReplaceDialog
*) x
));
32552 static void *_p_wxProgressDialogTo_p_wxWindow(void *x
) {
32553 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*) ((wxProgressDialog
*) x
));
32555 static void *_p_wxMessageDialogTo_p_wxWindow(void *x
) {
32556 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxMessageDialog
*) x
));
32558 static void *_p_wxNumberEntryDialogTo_p_wxWindow(void *x
) {
32559 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxNumberEntryDialog
*) x
));
32561 static void *_p_wxPasswordEntryDialogTo_p_wxWindow(void *x
) {
32562 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*)(wxTextEntryDialog
*) ((wxPasswordEntryDialog
*) x
));
32564 static void *_p_wxTextEntryDialogTo_p_wxWindow(void *x
) {
32565 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxTextEntryDialog
*) x
));
32567 static void *_p_wxSingleChoiceDialogTo_p_wxWindow(void *x
) {
32568 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxSingleChoiceDialog
*) x
));
32570 static void *_p_wxMultiChoiceDialogTo_p_wxWindow(void *x
) {
32571 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxMultiChoiceDialog
*) x
));
32573 static void *_p_wxFileDialogTo_p_wxWindow(void *x
) {
32574 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxFileDialog
*) x
));
32576 static void *_p_wxPanelTo_p_wxWindow(void *x
) {
32577 return (void *)((wxWindow
*) ((wxPanel
*) x
));
32579 static void *_p_wxStatusBarTo_p_wxWindow(void *x
) {
32580 return (void *)((wxWindow
*) ((wxStatusBar
*) x
));
32582 static void *_p_wxPyVScrolledWindowTo_p_wxWindow(void *x
) {
32583 return (void *)((wxWindow
*) (wxPanel
*) ((wxPyVScrolledWindow
*) x
));
32585 static void *_p_wxTipWindowTo_p_wxWindow(void *x
) {
32586 return (void *)((wxWindow
*) (wxPopupWindow
*)(wxPyPopupTransientWindow
*) ((wxTipWindow
*) x
));
32588 static void *_p_wxPyPopupTransientWindowTo_p_wxWindow(void *x
) {
32589 return (void *)((wxWindow
*) (wxPopupWindow
*) ((wxPyPopupTransientWindow
*) x
));
32591 static void *_p_wxPopupWindowTo_p_wxWindow(void *x
) {
32592 return (void *)((wxWindow
*) ((wxPopupWindow
*) x
));
32594 static void *_p_wxSashLayoutWindowTo_p_wxWindow(void *x
) {
32595 return (void *)((wxWindow
*) (wxSashWindow
*) ((wxSashLayoutWindow
*) x
));
32597 static void *_p_wxScrolledWindowTo_p_wxWindow(void *x
) {
32598 return (void *)((wxWindow
*) (wxPanel
*) ((wxScrolledWindow
*) x
));
32600 static void *_p_wxTopLevelWindowTo_p_wxWindow(void *x
) {
32601 return (void *)((wxWindow
*) ((wxTopLevelWindow
*) x
));
32603 static void *_p_wxSplashScreenWindowTo_p_wxWindow(void *x
) {
32604 return (void *)((wxWindow
*) ((wxSplashScreenWindow
*) x
));
32606 static void *_p_wxSplitterWindowTo_p_wxWindow(void *x
) {
32607 return (void *)((wxWindow
*) ((wxSplitterWindow
*) x
));
32609 static void *_p_wxSashWindowTo_p_wxWindow(void *x
) {
32610 return (void *)((wxWindow
*) ((wxSashWindow
*) x
));
32612 static void *_p_wxMDIClientWindowTo_p_wxWindow(void *x
) {
32613 return (void *)((wxWindow
*) ((wxMDIClientWindow
*) x
));
32615 static void *_p_wxPyScrolledWindowTo_p_wxWindow(void *x
) {
32616 return (void *)((wxWindow
*) (wxPanel
*)(wxScrolledWindow
*) ((wxPyScrolledWindow
*) x
));
32618 static void *_p_wxControlTo_p_wxWindow(void *x
) {
32619 return (void *)((wxWindow
*) ((wxControl
*) x
));
32621 static void *_p_wxPreviewFrameTo_p_wxWindow(void *x
) {
32622 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*) ((wxPreviewFrame
*) x
));
32624 static void *_p_wxPyPreviewFrameTo_p_wxWindow(void *x
) {
32625 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*)(wxPreviewFrame
*) ((wxPyPreviewFrame
*) x
));
32627 static void *_p_wxMDIChildFrameTo_p_wxWindow(void *x
) {
32628 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*) ((wxMDIChildFrame
*) x
));
32630 static void *_p_wxControlWithItemsTo_p_wxWindow(void *x
) {
32631 return (void *)((wxWindow
*) (wxControl
*) ((wxControlWithItems
*) x
));
32633 static void *_p_wxPyWindowTo_p_wxWindow(void *x
) {
32634 return (void *)((wxWindow
*) ((wxPyWindow
*) x
));
32636 static void *_p_wxPreviewCanvasTo_p_wxWindow(void *x
) {
32637 return (void *)((wxWindow
*) (wxPanel
*)(wxScrolledWindow
*) ((wxPreviewCanvas
*) x
));
32639 static void *_p_wxPyHtmlListBoxTo_p_wxWindow(void *x
) {
32640 return (void *)((wxWindow
*) (wxPanel
*)(wxPyVScrolledWindow
*)(wxPyVListBox
*) ((wxPyHtmlListBox
*) x
));
32642 static void *_p_wxPyVListBoxTo_p_wxWindow(void *x
) {
32643 return (void *)((wxWindow
*) (wxPanel
*)(wxPyVScrolledWindow
*) ((wxPyVListBox
*) x
));
32645 static void *_p_wxPreviewControlBarTo_p_wxWindow(void *x
) {
32646 return (void *)((wxWindow
*) (wxPanel
*) ((wxPreviewControlBar
*) x
));
32648 static void *_p_wxPyPreviewControlBarTo_p_wxWindow(void *x
) {
32649 return (void *)((wxWindow
*) (wxPanel
*)(wxPreviewControlBar
*) ((wxPyPreviewControlBar
*) x
));
32651 static void *_p_wxFrameTo_p_wxWindow(void *x
) {
32652 return (void *)((wxWindow
*) (wxTopLevelWindow
*) ((wxFrame
*) x
));
32654 static void *_p_wxFontDialogTo_p_wxWindow(void *x
) {
32655 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxFontDialog
*) x
));
32657 static void *_p_wxDirDialogTo_p_wxWindow(void *x
) {
32658 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxDirDialog
*) x
));
32660 static void *_p_wxColourDialogTo_p_wxWindow(void *x
) {
32661 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxColourDialog
*) x
));
32663 static void *_p_wxDialogTo_p_wxWindow(void *x
) {
32664 return (void *)((wxWindow
*) (wxTopLevelWindow
*) ((wxDialog
*) x
));
32666 static void *_p_wxMDIParentFrameTo_p_wxWindow(void *x
) {
32667 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*) ((wxMDIParentFrame
*) x
));
32669 static void *_p_wxPyScrolledWindowTo_p_wxScrolledWindow(void *x
) {
32670 return (void *)((wxScrolledWindow
*) ((wxPyScrolledWindow
*) x
));
32672 static void *_p_wxPreviewCanvasTo_p_wxScrolledWindow(void *x
) {
32673 return (void *)((wxScrolledWindow
*) ((wxPreviewCanvas
*) x
));
32675 static void *_p_wxPyPrintPreviewTo_p_wxPrintPreview(void *x
) {
32676 return (void *)((wxPrintPreview
*) ((wxPyPrintPreview
*) x
));
32678 static void *_p_wxColourDialogTo_p_wxDialog(void *x
) {
32679 return (void *)((wxDialog
*) ((wxColourDialog
*) x
));
32681 static void *_p_wxDirDialogTo_p_wxDialog(void *x
) {
32682 return (void *)((wxDialog
*) ((wxDirDialog
*) x
));
32684 static void *_p_wxFontDialogTo_p_wxDialog(void *x
) {
32685 return (void *)((wxDialog
*) ((wxFontDialog
*) x
));
32687 static void *_p_wxFileDialogTo_p_wxDialog(void *x
) {
32688 return (void *)((wxDialog
*) ((wxFileDialog
*) x
));
32690 static void *_p_wxMultiChoiceDialogTo_p_wxDialog(void *x
) {
32691 return (void *)((wxDialog
*) ((wxMultiChoiceDialog
*) x
));
32693 static void *_p_wxSingleChoiceDialogTo_p_wxDialog(void *x
) {
32694 return (void *)((wxDialog
*) ((wxSingleChoiceDialog
*) x
));
32696 static void *_p_wxTextEntryDialogTo_p_wxDialog(void *x
) {
32697 return (void *)((wxDialog
*) ((wxTextEntryDialog
*) x
));
32699 static void *_p_wxPasswordEntryDialogTo_p_wxDialog(void *x
) {
32700 return (void *)((wxDialog
*) (wxTextEntryDialog
*) ((wxPasswordEntryDialog
*) x
));
32702 static void *_p_wxNumberEntryDialogTo_p_wxDialog(void *x
) {
32703 return (void *)((wxDialog
*) ((wxNumberEntryDialog
*) x
));
32705 static void *_p_wxMessageDialogTo_p_wxDialog(void *x
) {
32706 return (void *)((wxDialog
*) ((wxMessageDialog
*) x
));
32708 static void *_p_wxFindReplaceDialogTo_p_wxDialog(void *x
) {
32709 return (void *)((wxDialog
*) ((wxFindReplaceDialog
*) x
));
32711 static void *_p_wxScrolledWindowTo_p_wxPanel(void *x
) {
32712 return (void *)((wxPanel
*) ((wxScrolledWindow
*) x
));
32714 static void *_p_wxPyVScrolledWindowTo_p_wxPanel(void *x
) {
32715 return (void *)((wxPanel
*) ((wxPyVScrolledWindow
*) x
));
32717 static void *_p_wxPyScrolledWindowTo_p_wxPanel(void *x
) {
32718 return (void *)((wxPanel
*) (wxScrolledWindow
*) ((wxPyScrolledWindow
*) x
));
32720 static void *_p_wxPyVListBoxTo_p_wxPanel(void *x
) {
32721 return (void *)((wxPanel
*) (wxPyVScrolledWindow
*) ((wxPyVListBox
*) x
));
32723 static void *_p_wxPyHtmlListBoxTo_p_wxPanel(void *x
) {
32724 return (void *)((wxPanel
*) (wxPyVScrolledWindow
*)(wxPyVListBox
*) ((wxPyHtmlListBox
*) x
));
32726 static void *_p_wxPyPanelTo_p_wxPanel(void *x
) {
32727 return (void *)((wxPanel
*) ((wxPyPanel
*) x
));
32729 static void *_p_wxPreviewCanvasTo_p_wxPanel(void *x
) {
32730 return (void *)((wxPanel
*) (wxScrolledWindow
*) ((wxPreviewCanvas
*) x
));
32732 static void *_p_wxPreviewControlBarTo_p_wxPanel(void *x
) {
32733 return (void *)((wxPanel
*) ((wxPreviewControlBar
*) x
));
32735 static void *_p_wxPyPreviewControlBarTo_p_wxPanel(void *x
) {
32736 return (void *)((wxPanel
*) (wxPreviewControlBar
*) ((wxPyPreviewControlBar
*) x
));
32738 static void *_p_wxChildFocusEventTo_p_wxCommandEvent(void *x
) {
32739 return (void *)((wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
32741 static void *_p_wxScrollEventTo_p_wxCommandEvent(void *x
) {
32742 return (void *)((wxCommandEvent
*) ((wxScrollEvent
*) x
));
32744 static void *_p_wxWindowCreateEventTo_p_wxCommandEvent(void *x
) {
32745 return (void *)((wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
32747 static void *_p_wxDateEventTo_p_wxCommandEvent(void *x
) {
32748 return (void *)((wxCommandEvent
*) ((wxDateEvent
*) x
));
32750 static void *_p_wxUpdateUIEventTo_p_wxCommandEvent(void *x
) {
32751 return (void *)((wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
32753 static void *_p_wxClipboardTextEventTo_p_wxCommandEvent(void *x
) {
32754 return (void *)((wxCommandEvent
*) ((wxClipboardTextEvent
*) x
));
32756 static void *_p_wxFindDialogEventTo_p_wxCommandEvent(void *x
) {
32757 return (void *)((wxCommandEvent
*) ((wxFindDialogEvent
*) x
));
32759 static void *_p_wxWindowDestroyEventTo_p_wxCommandEvent(void *x
) {
32760 return (void *)((wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
32762 static void *_p_wxContextMenuEventTo_p_wxCommandEvent(void *x
) {
32763 return (void *)((wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
32765 static void *_p_wxSplitterEventTo_p_wxCommandEvent(void *x
) {
32766 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*) ((wxSplitterEvent
*) x
));
32768 static void *_p_wxNotifyEventTo_p_wxCommandEvent(void *x
) {
32769 return (void *)((wxCommandEvent
*) ((wxNotifyEvent
*) x
));
32771 static void *_p_wxPyCommandEventTo_p_wxCommandEvent(void *x
) {
32772 return (void *)((wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
32774 static void *_p_wxSashEventTo_p_wxCommandEvent(void *x
) {
32775 return (void *)((wxCommandEvent
*) ((wxSashEvent
*) x
));
32777 static void *_p_wxPyPreviewControlBarTo_p_wxPreviewControlBar(void *x
) {
32778 return (void *)((wxPreviewControlBar
*) ((wxPyPreviewControlBar
*) x
));
32780 static swig_type_info _swigt__p_bool
= {"_p_bool", "bool *", 0, 0, (void*)0, 0};
32781 static swig_type_info _swigt__p_char
= {"_p_char", "char *", 0, 0, (void*)0, 0};
32782 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};
32783 static swig_type_info _swigt__p_int
= {"_p_int", "int *", 0, 0, (void*)0, 0};
32784 static swig_type_info _swigt__p_unsigned_char
= {"_p_unsigned_char", "unsigned char *|byte *", 0, 0, (void*)0, 0};
32785 static swig_type_info _swigt__p_unsigned_int
= {"_p_unsigned_int", "unsigned int *|time_t *", 0, 0, (void*)0, 0};
32786 static swig_type_info _swigt__p_unsigned_long
= {"_p_unsigned_long", "unsigned long *|wxUIntPtr *", 0, 0, (void*)0, 0};
32787 static swig_type_info _swigt__p_wxArrayInt
= {"_p_wxArrayInt", "wxArrayInt *", 0, 0, (void*)0, 0};
32788 static swig_type_info _swigt__p_wxBitmap
= {"_p_wxBitmap", "wxBitmap *", 0, 0, (void*)0, 0};
32789 static swig_type_info _swigt__p_wxCalculateLayoutEvent
= {"_p_wxCalculateLayoutEvent", "wxCalculateLayoutEvent *", 0, 0, (void*)0, 0};
32790 static swig_type_info _swigt__p_wxColour
= {"_p_wxColour", "wxColour *", 0, 0, (void*)0, 0};
32791 static swig_type_info _swigt__p_wxColourData
= {"_p_wxColourData", "wxColourData *", 0, 0, (void*)0, 0};
32792 static swig_type_info _swigt__p_wxColourDialog
= {"_p_wxColourDialog", "wxColourDialog *", 0, 0, (void*)0, 0};
32793 static swig_type_info _swigt__p_wxCommandEvent
= {"_p_wxCommandEvent", "wxCommandEvent *", 0, 0, (void*)0, 0};
32794 static swig_type_info _swigt__p_wxWindowDestroyEvent
= {"_p_wxWindowDestroyEvent", 0, 0, 0, 0, 0};
32795 static swig_type_info _swigt__p_wxClipboardTextEvent
= {"_p_wxClipboardTextEvent", 0, 0, 0, 0, 0};
32796 static swig_type_info _swigt__p_wxScrollEvent
= {"_p_wxScrollEvent", 0, 0, 0, 0, 0};
32797 static swig_type_info _swigt__p_wxPyCommandEvent
= {"_p_wxPyCommandEvent", 0, 0, 0, 0, 0};
32798 static swig_type_info _swigt__p_wxContextMenuEvent
= {"_p_wxContextMenuEvent", 0, 0, 0, 0, 0};
32799 static swig_type_info _swigt__p_wxChildFocusEvent
= {"_p_wxChildFocusEvent", 0, 0, 0, 0, 0};
32800 static swig_type_info _swigt__p_wxWindowCreateEvent
= {"_p_wxWindowCreateEvent", 0, 0, 0, 0, 0};
32801 static swig_type_info _swigt__p_wxDateEvent
= {"_p_wxDateEvent", 0, 0, 0, 0, 0};
32802 static swig_type_info _swigt__p_wxUpdateUIEvent
= {"_p_wxUpdateUIEvent", 0, 0, 0, 0, 0};
32803 static swig_type_info _swigt__p_wxDC
= {"_p_wxDC", "wxDC *", 0, 0, (void*)0, 0};
32804 static swig_type_info _swigt__p_wxDialog
= {"_p_wxDialog", "wxDialog *", 0, 0, (void*)0, 0};
32805 static swig_type_info _swigt__p_wxDirDialog
= {"_p_wxDirDialog", "wxDirDialog *", 0, 0, (void*)0, 0};
32806 static swig_type_info _swigt__p_wxDuplexMode
= {"_p_wxDuplexMode", "enum wxDuplexMode *|wxDuplexMode *", 0, 0, (void*)0, 0};
32807 static swig_type_info _swigt__p_wxEvent
= {"_p_wxEvent", "wxEvent *", 0, 0, (void*)0, 0};
32808 static swig_type_info _swigt__p_wxMenuEvent
= {"_p_wxMenuEvent", 0, 0, 0, 0, 0};
32809 static swig_type_info _swigt__p_wxCloseEvent
= {"_p_wxCloseEvent", 0, 0, 0, 0, 0};
32810 static swig_type_info _swigt__p_wxMouseEvent
= {"_p_wxMouseEvent", 0, 0, 0, 0, 0};
32811 static swig_type_info _swigt__p_wxEraseEvent
= {"_p_wxEraseEvent", 0, 0, 0, 0, 0};
32812 static swig_type_info _swigt__p_wxSetCursorEvent
= {"_p_wxSetCursorEvent", 0, 0, 0, 0, 0};
32813 static swig_type_info _swigt__p_wxInitDialogEvent
= {"_p_wxInitDialogEvent", 0, 0, 0, 0, 0};
32814 static swig_type_info _swigt__p_wxPyEvent
= {"_p_wxPyEvent", 0, 0, 0, 0, 0};
32815 static swig_type_info _swigt__p_wxIdleEvent
= {"_p_wxIdleEvent", 0, 0, 0, 0, 0};
32816 static swig_type_info _swigt__p_wxQueryNewPaletteEvent
= {"_p_wxQueryNewPaletteEvent", 0, 0, 0, 0, 0};
32817 static swig_type_info _swigt__p_wxMaximizeEvent
= {"_p_wxMaximizeEvent", 0, 0, 0, 0, 0};
32818 static swig_type_info _swigt__p_wxIconizeEvent
= {"_p_wxIconizeEvent", 0, 0, 0, 0, 0};
32819 static swig_type_info _swigt__p_wxActivateEvent
= {"_p_wxActivateEvent", 0, 0, 0, 0, 0};
32820 static swig_type_info _swigt__p_wxSizeEvent
= {"_p_wxSizeEvent", 0, 0, 0, 0, 0};
32821 static swig_type_info _swigt__p_wxMoveEvent
= {"_p_wxMoveEvent", 0, 0, 0, 0, 0};
32822 static swig_type_info _swigt__p_wxPaintEvent
= {"_p_wxPaintEvent", 0, 0, 0, 0, 0};
32823 static swig_type_info _swigt__p_wxNcPaintEvent
= {"_p_wxNcPaintEvent", 0, 0, 0, 0, 0};
32824 static swig_type_info _swigt__p_wxPaletteChangedEvent
= {"_p_wxPaletteChangedEvent", 0, 0, 0, 0, 0};
32825 static swig_type_info _swigt__p_wxDisplayChangedEvent
= {"_p_wxDisplayChangedEvent", 0, 0, 0, 0, 0};
32826 static swig_type_info _swigt__p_wxMouseCaptureChangedEvent
= {"_p_wxMouseCaptureChangedEvent", 0, 0, 0, 0, 0};
32827 static swig_type_info _swigt__p_wxSysColourChangedEvent
= {"_p_wxSysColourChangedEvent", 0, 0, 0, 0, 0};
32828 static swig_type_info _swigt__p_wxDropFilesEvent
= {"_p_wxDropFilesEvent", 0, 0, 0, 0, 0};
32829 static swig_type_info _swigt__p_wxFocusEvent
= {"_p_wxFocusEvent", 0, 0, 0, 0, 0};
32830 static swig_type_info _swigt__p_wxShowEvent
= {"_p_wxShowEvent", 0, 0, 0, 0, 0};
32831 static swig_type_info _swigt__p_wxNavigationKeyEvent
= {"_p_wxNavigationKeyEvent", 0, 0, 0, 0, 0};
32832 static swig_type_info _swigt__p_wxKeyEvent
= {"_p_wxKeyEvent", 0, 0, 0, 0, 0};
32833 static swig_type_info _swigt__p_wxEvtHandler
= {"_p_wxEvtHandler", "wxEvtHandler *", 0, 0, (void*)0, 0};
32834 static swig_type_info _swigt__p_wxValidator
= {"_p_wxValidator", 0, 0, 0, 0, 0};
32835 static swig_type_info _swigt__p_wxPyValidator
= {"_p_wxPyValidator", 0, 0, 0, 0, 0};
32836 static swig_type_info _swigt__p_wxControl
= {"_p_wxControl", 0, 0, 0, 0, 0};
32837 static swig_type_info _swigt__p_wxPyApp
= {"_p_wxPyApp", 0, 0, 0, 0, 0};
32838 static swig_type_info _swigt__p_wxControlWithItems
= {"_p_wxControlWithItems", 0, 0, 0, 0, 0};
32839 static swig_type_info _swigt__p_wxFileDialog
= {"_p_wxFileDialog", "wxFileDialog *", 0, 0, (void*)0, 0};
32840 static swig_type_info _swigt__p_wxFileSystem
= {"_p_wxFileSystem", "wxFileSystem *", 0, 0, (void*)0, 0};
32841 static swig_type_info _swigt__p_wxFindDialogEvent
= {"_p_wxFindDialogEvent", "wxFindDialogEvent *", 0, 0, (void*)0, 0};
32842 static swig_type_info _swigt__p_wxFindReplaceData
= {"_p_wxFindReplaceData", "wxFindReplaceData *", 0, 0, (void*)0, 0};
32843 static swig_type_info _swigt__p_wxFindReplaceDialog
= {"_p_wxFindReplaceDialog", "wxFindReplaceDialog *", 0, 0, (void*)0, 0};
32844 static swig_type_info _swigt__p_wxFont
= {"_p_wxFont", "wxFont *", 0, 0, (void*)0, 0};
32845 static swig_type_info _swigt__p_wxFontData
= {"_p_wxFontData", "wxFontData *", 0, 0, (void*)0, 0};
32846 static swig_type_info _swigt__p_wxFontDialog
= {"_p_wxFontDialog", "wxFontDialog *", 0, 0, (void*)0, 0};
32847 static swig_type_info _swigt__p_wxFrame
= {"_p_wxFrame", "wxFrame *", 0, 0, (void*)0, 0};
32848 static swig_type_info _swigt__p_wxHtmlLinkInfo
= {"_p_wxHtmlLinkInfo", "wxHtmlLinkInfo *", 0, 0, (void*)0, 0};
32849 static swig_type_info _swigt__p_wxIcon
= {"_p_wxIcon", "wxIcon *", 0, 0, (void*)0, 0};
32850 static swig_type_info _swigt__p_wxIconBundle
= {"_p_wxIconBundle", "wxIconBundle *", 0, 0, (void*)0, 0};
32851 static swig_type_info _swigt__p_wxLayoutAlgorithm
= {"_p_wxLayoutAlgorithm", "wxLayoutAlgorithm *", 0, 0, (void*)0, 0};
32852 static swig_type_info _swigt__p_wxMDIChildFrame
= {"_p_wxMDIChildFrame", "wxMDIChildFrame *", 0, 0, (void*)0, 0};
32853 static swig_type_info _swigt__p_wxMDIClientWindow
= {"_p_wxMDIClientWindow", "wxMDIClientWindow *", 0, 0, (void*)0, 0};
32854 static swig_type_info _swigt__p_wxMDIParentFrame
= {"_p_wxMDIParentFrame", "wxMDIParentFrame *", 0, 0, (void*)0, 0};
32855 static swig_type_info _swigt__p_wxMenu
= {"_p_wxMenu", "wxMenu *", 0, 0, (void*)0, 0};
32856 static swig_type_info _swigt__p_wxMenuBar
= {"_p_wxMenuBar", "wxMenuBar *", 0, 0, (void*)0, 0};
32857 static swig_type_info _swigt__p_wxMessageDialog
= {"_p_wxMessageDialog", "wxMessageDialog *", 0, 0, (void*)0, 0};
32858 static swig_type_info _swigt__p_wxMiniFrame
= {"_p_wxMiniFrame", "wxMiniFrame *", 0, 0, (void*)0, 0};
32859 static swig_type_info _swigt__p_wxMultiChoiceDialog
= {"_p_wxMultiChoiceDialog", "wxMultiChoiceDialog *", 0, 0, (void*)0, 0};
32860 static swig_type_info _swigt__p_wxNotifyEvent
= {"_p_wxNotifyEvent", "wxNotifyEvent *", 0, 0, (void*)0, 0};
32861 static swig_type_info _swigt__p_wxNumberEntryDialog
= {"_p_wxNumberEntryDialog", "wxNumberEntryDialog *", 0, 0, (void*)0, 0};
32862 static swig_type_info _swigt__p_wxObject
= {"_p_wxObject", "wxObject *", 0, 0, (void*)0, 0};
32863 static swig_type_info _swigt__p_wxLayoutConstraints
= {"_p_wxLayoutConstraints", 0, 0, 0, 0, 0};
32864 static swig_type_info _swigt__p_wxGBSizerItem
= {"_p_wxGBSizerItem", 0, 0, 0, 0, 0};
32865 static swig_type_info _swigt__p_wxSizerItem
= {"_p_wxSizerItem", 0, 0, 0, 0, 0};
32866 static swig_type_info _swigt__p_wxIndividualLayoutConstraint
= {"_p_wxIndividualLayoutConstraint", 0, 0, 0, 0, 0};
32867 static swig_type_info _swigt__p_wxStaticBoxSizer
= {"_p_wxStaticBoxSizer", 0, 0, 0, 0, 0};
32868 static swig_type_info _swigt__p_wxBoxSizer
= {"_p_wxBoxSizer", 0, 0, 0, 0, 0};
32869 static swig_type_info _swigt__p_wxSizer
= {"_p_wxSizer", 0, 0, 0, 0, 0};
32870 static swig_type_info _swigt__p_wxGridBagSizer
= {"_p_wxGridBagSizer", 0, 0, 0, 0, 0};
32871 static swig_type_info _swigt__p_wxGridSizer
= {"_p_wxGridSizer", 0, 0, 0, 0, 0};
32872 static swig_type_info _swigt__p_wxFlexGridSizer
= {"_p_wxFlexGridSizer", 0, 0, 0, 0, 0};
32873 static swig_type_info _swigt__p_wxFSFile
= {"_p_wxFSFile", 0, 0, 0, 0, 0};
32874 static swig_type_info _swigt__p_wxPySizer
= {"_p_wxPySizer", 0, 0, 0, 0, 0};
32875 static swig_type_info _swigt__p_wxMenuItem
= {"_p_wxMenuItem", 0, 0, 0, 0, 0};
32876 static swig_type_info _swigt__p_wxBMPHandler
= {"_p_wxBMPHandler", 0, 0, 0, 0, 0};
32877 static swig_type_info _swigt__p_wxICOHandler
= {"_p_wxICOHandler", 0, 0, 0, 0, 0};
32878 static swig_type_info _swigt__p_wxCURHandler
= {"_p_wxCURHandler", 0, 0, 0, 0, 0};
32879 static swig_type_info _swigt__p_wxANIHandler
= {"_p_wxANIHandler", 0, 0, 0, 0, 0};
32880 static swig_type_info _swigt__p_wxPNGHandler
= {"_p_wxPNGHandler", 0, 0, 0, 0, 0};
32881 static swig_type_info _swigt__p_wxGIFHandler
= {"_p_wxGIFHandler", 0, 0, 0, 0, 0};
32882 static swig_type_info _swigt__p_wxPCXHandler
= {"_p_wxPCXHandler", 0, 0, 0, 0, 0};
32883 static swig_type_info _swigt__p_wxJPEGHandler
= {"_p_wxJPEGHandler", 0, 0, 0, 0, 0};
32884 static swig_type_info _swigt__p_wxPNMHandler
= {"_p_wxPNMHandler", 0, 0, 0, 0, 0};
32885 static swig_type_info _swigt__p_wxPyImageHandler
= {"_p_wxPyImageHandler", 0, 0, 0, 0, 0};
32886 static swig_type_info _swigt__p_wxImageHandler
= {"_p_wxImageHandler", 0, 0, 0, 0, 0};
32887 static swig_type_info _swigt__p_wxXPMHandler
= {"_p_wxXPMHandler", 0, 0, 0, 0, 0};
32888 static swig_type_info _swigt__p_wxTIFFHandler
= {"_p_wxTIFFHandler", 0, 0, 0, 0, 0};
32889 static swig_type_info _swigt__p_wxAcceleratorTable
= {"_p_wxAcceleratorTable", 0, 0, 0, 0, 0};
32890 static swig_type_info _swigt__p_wxImage
= {"_p_wxImage", 0, 0, 0, 0, 0};
32891 static swig_type_info _swigt__p_wxPageSetupDialog
= {"_p_wxPageSetupDialog", "wxPageSetupDialog *", 0, 0, (void*)0, 0};
32892 static swig_type_info _swigt__p_wxPageSetupDialogData
= {"_p_wxPageSetupDialogData", "wxPageSetupDialogData *", 0, 0, (void*)0, 0};
32893 static swig_type_info _swigt__p_wxPanel
= {"_p_wxPanel", "wxPanel *", 0, 0, (void*)0, 0};
32894 static swig_type_info _swigt__p_wxPaperSize
= {"_p_wxPaperSize", "enum wxPaperSize *|wxPaperSize *", 0, 0, (void*)0, 0};
32895 static swig_type_info _swigt__p_wxPasswordEntryDialog
= {"_p_wxPasswordEntryDialog", "wxPasswordEntryDialog *", 0, 0, (void*)0, 0};
32896 static swig_type_info _swigt__p_wxPoint
= {"_p_wxPoint", "wxPoint *", 0, 0, (void*)0, 0};
32897 static swig_type_info _swigt__p_wxPopupWindow
= {"_p_wxPopupWindow", "wxPopupWindow *", 0, 0, (void*)0, 0};
32898 static swig_type_info _swigt__p_wxPreviewCanvas
= {"_p_wxPreviewCanvas", "wxPreviewCanvas *", 0, 0, (void*)0, 0};
32899 static swig_type_info _swigt__p_wxPreviewControlBar
= {"_p_wxPreviewControlBar", "wxPreviewControlBar *", 0, 0, (void*)0, 0};
32900 static swig_type_info _swigt__p_wxPreviewFrame
= {"_p_wxPreviewFrame", "wxPreviewFrame *", 0, 0, (void*)0, 0};
32901 static swig_type_info _swigt__p_wxPrintData
= {"_p_wxPrintData", "wxPrintData *", 0, 0, (void*)0, 0};
32902 static swig_type_info _swigt__p_wxPrintDialog
= {"_p_wxPrintDialog", "wxPrintDialog *", 0, 0, (void*)0, 0};
32903 static swig_type_info _swigt__p_wxPrintDialogData
= {"_p_wxPrintDialogData", "wxPrintDialogData *", 0, 0, (void*)0, 0};
32904 static swig_type_info _swigt__p_wxPrintPreview
= {"_p_wxPrintPreview", "wxPrintPreview *", 0, 0, (void*)0, 0};
32905 static swig_type_info _swigt__p_wxPrinter
= {"_p_wxPrinter", "wxPrinter *", 0, 0, (void*)0, 0};
32906 static swig_type_info _swigt__p_wxProgressDialog
= {"_p_wxProgressDialog", "wxProgressDialog *", 0, 0, (void*)0, 0};
32907 static swig_type_info _swigt__p_wxPyHtmlListBox
= {"_p_wxPyHtmlListBox", "wxPyHtmlListBox *", 0, 0, (void*)0, 0};
32908 static swig_type_info _swigt__p_wxPyPanel
= {"_p_wxPyPanel", "wxPyPanel *", 0, 0, (void*)0, 0};
32909 static swig_type_info _swigt__p_wxPyPopupTransientWindow
= {"_p_wxPyPopupTransientWindow", "wxPyPopupTransientWindow *", 0, 0, (void*)0, 0};
32910 static swig_type_info _swigt__p_wxPyPreviewControlBar
= {"_p_wxPyPreviewControlBar", "wxPyPreviewControlBar *", 0, 0, (void*)0, 0};
32911 static swig_type_info _swigt__p_wxPyPreviewFrame
= {"_p_wxPyPreviewFrame", "wxPyPreviewFrame *", 0, 0, (void*)0, 0};
32912 static swig_type_info _swigt__p_wxPyPrintPreview
= {"_p_wxPyPrintPreview", "wxPyPrintPreview *", 0, 0, (void*)0, 0};
32913 static swig_type_info _swigt__p_wxPyPrintout
= {"_p_wxPyPrintout", "wxPyPrintout *", 0, 0, (void*)0, 0};
32914 static swig_type_info _swigt__p_wxPyScrolledWindow
= {"_p_wxPyScrolledWindow", "wxPyScrolledWindow *", 0, 0, (void*)0, 0};
32915 static swig_type_info _swigt__p_wxPyTaskBarIcon
= {"_p_wxPyTaskBarIcon", "wxPyTaskBarIcon *", 0, 0, (void*)0, 0};
32916 static swig_type_info _swigt__p_wxPyVListBox
= {"_p_wxPyVListBox", "wxPyVListBox *", 0, 0, (void*)0, 0};
32917 static swig_type_info _swigt__p_wxPyVScrolledWindow
= {"_p_wxPyVScrolledWindow", "wxPyVScrolledWindow *", 0, 0, (void*)0, 0};
32918 static swig_type_info _swigt__p_wxPyWindow
= {"_p_wxPyWindow", "wxPyWindow *", 0, 0, (void*)0, 0};
32919 static swig_type_info _swigt__p_wxQueryLayoutInfoEvent
= {"_p_wxQueryLayoutInfoEvent", "wxQueryLayoutInfoEvent *", 0, 0, (void*)0, 0};
32920 static swig_type_info _swigt__p_wxRect
= {"_p_wxRect", "wxRect *", 0, 0, (void*)0, 0};
32921 static swig_type_info _swigt__p_wxRegion
= {"_p_wxRegion", "wxRegion *", 0, 0, (void*)0, 0};
32922 static swig_type_info _swigt__p_wxSashEvent
= {"_p_wxSashEvent", "wxSashEvent *", 0, 0, (void*)0, 0};
32923 static swig_type_info _swigt__p_wxSashLayoutWindow
= {"_p_wxSashLayoutWindow", "wxSashLayoutWindow *", 0, 0, (void*)0, 0};
32924 static swig_type_info _swigt__p_wxSashWindow
= {"_p_wxSashWindow", "wxSashWindow *", 0, 0, (void*)0, 0};
32925 static swig_type_info _swigt__p_wxScrollWinEvent
= {"_p_wxScrollWinEvent", "wxScrollWinEvent *", 0, 0, (void*)0, 0};
32926 static swig_type_info _swigt__p_wxScrolledWindow
= {"_p_wxScrolledWindow", "wxScrolledWindow *", 0, 0, (void*)0, 0};
32927 static swig_type_info _swigt__p_wxSingleChoiceDialog
= {"_p_wxSingleChoiceDialog", "wxSingleChoiceDialog *", 0, 0, (void*)0, 0};
32928 static swig_type_info _swigt__p_wxSize
= {"_p_wxSize", "wxSize *", 0, 0, (void*)0, 0};
32929 static swig_type_info _swigt__p_wxSplashScreen
= {"_p_wxSplashScreen", "wxSplashScreen *", 0, 0, (void*)0, 0};
32930 static swig_type_info _swigt__p_wxSplashScreenWindow
= {"_p_wxSplashScreenWindow", "wxSplashScreenWindow *", 0, 0, (void*)0, 0};
32931 static swig_type_info _swigt__p_wxSplitterEvent
= {"_p_wxSplitterEvent", "wxSplitterEvent *", 0, 0, (void*)0, 0};
32932 static swig_type_info _swigt__p_wxSplitterWindow
= {"_p_wxSplitterWindow", "wxSplitterWindow *", 0, 0, (void*)0, 0};
32933 static swig_type_info _swigt__p_wxStatusBar
= {"_p_wxStatusBar", "wxStatusBar *", 0, 0, (void*)0, 0};
32934 static swig_type_info _swigt__p_wxStdDialogButtonSizer
= {"_p_wxStdDialogButtonSizer", "wxStdDialogButtonSizer *", 0, 0, (void*)0, 0};
32935 static swig_type_info _swigt__p_wxString
= {"_p_wxString", "wxString *", 0, 0, (void*)0, 0};
32936 static swig_type_info _swigt__p_wxTaskBarIcon
= {"_p_wxTaskBarIcon", "wxTaskBarIcon *", 0, 0, (void*)0, 0};
32937 static swig_type_info _swigt__p_wxTaskBarIconEvent
= {"_p_wxTaskBarIconEvent", "wxTaskBarIconEvent *", 0, 0, (void*)0, 0};
32938 static swig_type_info _swigt__p_wxTextEntryDialog
= {"_p_wxTextEntryDialog", "wxTextEntryDialog *", 0, 0, (void*)0, 0};
32939 static swig_type_info _swigt__p_wxTipWindow
= {"_p_wxTipWindow", "wxTipWindow *", 0, 0, (void*)0, 0};
32940 static swig_type_info _swigt__p_wxToolBar
= {"_p_wxToolBar", "wxToolBar *", 0, 0, (void*)0, 0};
32941 static swig_type_info _swigt__p_wxTopLevelWindow
= {"_p_wxTopLevelWindow", "wxTopLevelWindow *", 0, 0, (void*)0, 0};
32942 static swig_type_info _swigt__p_wxVisualAttributes
= {"_p_wxVisualAttributes", "wxVisualAttributes *", 0, 0, (void*)0, 0};
32943 static swig_type_info _swigt__p_wxWindow
= {"_p_wxWindow", "wxWindow *", 0, 0, (void*)0, 0};
32945 static swig_type_info
*swig_type_initial
[] = {
32948 &_swigt__p_form_ops_t
,
32950 &_swigt__p_unsigned_char
,
32951 &_swigt__p_unsigned_int
,
32952 &_swigt__p_unsigned_long
,
32953 &_swigt__p_wxANIHandler
,
32954 &_swigt__p_wxAcceleratorTable
,
32955 &_swigt__p_wxActivateEvent
,
32956 &_swigt__p_wxArrayInt
,
32957 &_swigt__p_wxBMPHandler
,
32958 &_swigt__p_wxBitmap
,
32959 &_swigt__p_wxBoxSizer
,
32960 &_swigt__p_wxCURHandler
,
32961 &_swigt__p_wxCalculateLayoutEvent
,
32962 &_swigt__p_wxChildFocusEvent
,
32963 &_swigt__p_wxClipboardTextEvent
,
32964 &_swigt__p_wxCloseEvent
,
32965 &_swigt__p_wxColour
,
32966 &_swigt__p_wxColourData
,
32967 &_swigt__p_wxColourDialog
,
32968 &_swigt__p_wxCommandEvent
,
32969 &_swigt__p_wxContextMenuEvent
,
32970 &_swigt__p_wxControl
,
32971 &_swigt__p_wxControlWithItems
,
32973 &_swigt__p_wxDateEvent
,
32974 &_swigt__p_wxDialog
,
32975 &_swigt__p_wxDirDialog
,
32976 &_swigt__p_wxDisplayChangedEvent
,
32977 &_swigt__p_wxDropFilesEvent
,
32978 &_swigt__p_wxDuplexMode
,
32979 &_swigt__p_wxEraseEvent
,
32980 &_swigt__p_wxEvent
,
32981 &_swigt__p_wxEvtHandler
,
32982 &_swigt__p_wxFSFile
,
32983 &_swigt__p_wxFileDialog
,
32984 &_swigt__p_wxFileSystem
,
32985 &_swigt__p_wxFindDialogEvent
,
32986 &_swigt__p_wxFindReplaceData
,
32987 &_swigt__p_wxFindReplaceDialog
,
32988 &_swigt__p_wxFlexGridSizer
,
32989 &_swigt__p_wxFocusEvent
,
32991 &_swigt__p_wxFontData
,
32992 &_swigt__p_wxFontDialog
,
32993 &_swigt__p_wxFrame
,
32994 &_swigt__p_wxGBSizerItem
,
32995 &_swigt__p_wxGIFHandler
,
32996 &_swigt__p_wxGridBagSizer
,
32997 &_swigt__p_wxGridSizer
,
32998 &_swigt__p_wxHtmlLinkInfo
,
32999 &_swigt__p_wxICOHandler
,
33001 &_swigt__p_wxIconBundle
,
33002 &_swigt__p_wxIconizeEvent
,
33003 &_swigt__p_wxIdleEvent
,
33004 &_swigt__p_wxImage
,
33005 &_swigt__p_wxImageHandler
,
33006 &_swigt__p_wxIndividualLayoutConstraint
,
33007 &_swigt__p_wxInitDialogEvent
,
33008 &_swigt__p_wxJPEGHandler
,
33009 &_swigt__p_wxKeyEvent
,
33010 &_swigt__p_wxLayoutAlgorithm
,
33011 &_swigt__p_wxLayoutConstraints
,
33012 &_swigt__p_wxMDIChildFrame
,
33013 &_swigt__p_wxMDIClientWindow
,
33014 &_swigt__p_wxMDIParentFrame
,
33015 &_swigt__p_wxMaximizeEvent
,
33017 &_swigt__p_wxMenuBar
,
33018 &_swigt__p_wxMenuEvent
,
33019 &_swigt__p_wxMenuItem
,
33020 &_swigt__p_wxMessageDialog
,
33021 &_swigt__p_wxMiniFrame
,
33022 &_swigt__p_wxMouseCaptureChangedEvent
,
33023 &_swigt__p_wxMouseEvent
,
33024 &_swigt__p_wxMoveEvent
,
33025 &_swigt__p_wxMultiChoiceDialog
,
33026 &_swigt__p_wxNavigationKeyEvent
,
33027 &_swigt__p_wxNcPaintEvent
,
33028 &_swigt__p_wxNotifyEvent
,
33029 &_swigt__p_wxNumberEntryDialog
,
33030 &_swigt__p_wxObject
,
33031 &_swigt__p_wxPCXHandler
,
33032 &_swigt__p_wxPNGHandler
,
33033 &_swigt__p_wxPNMHandler
,
33034 &_swigt__p_wxPageSetupDialog
,
33035 &_swigt__p_wxPageSetupDialogData
,
33036 &_swigt__p_wxPaintEvent
,
33037 &_swigt__p_wxPaletteChangedEvent
,
33038 &_swigt__p_wxPanel
,
33039 &_swigt__p_wxPaperSize
,
33040 &_swigt__p_wxPasswordEntryDialog
,
33041 &_swigt__p_wxPoint
,
33042 &_swigt__p_wxPopupWindow
,
33043 &_swigt__p_wxPreviewCanvas
,
33044 &_swigt__p_wxPreviewControlBar
,
33045 &_swigt__p_wxPreviewFrame
,
33046 &_swigt__p_wxPrintData
,
33047 &_swigt__p_wxPrintDialog
,
33048 &_swigt__p_wxPrintDialogData
,
33049 &_swigt__p_wxPrintPreview
,
33050 &_swigt__p_wxPrinter
,
33051 &_swigt__p_wxProgressDialog
,
33052 &_swigt__p_wxPyApp
,
33053 &_swigt__p_wxPyCommandEvent
,
33054 &_swigt__p_wxPyEvent
,
33055 &_swigt__p_wxPyHtmlListBox
,
33056 &_swigt__p_wxPyImageHandler
,
33057 &_swigt__p_wxPyPanel
,
33058 &_swigt__p_wxPyPopupTransientWindow
,
33059 &_swigt__p_wxPyPreviewControlBar
,
33060 &_swigt__p_wxPyPreviewFrame
,
33061 &_swigt__p_wxPyPrintPreview
,
33062 &_swigt__p_wxPyPrintout
,
33063 &_swigt__p_wxPyScrolledWindow
,
33064 &_swigt__p_wxPySizer
,
33065 &_swigt__p_wxPyTaskBarIcon
,
33066 &_swigt__p_wxPyVListBox
,
33067 &_swigt__p_wxPyVScrolledWindow
,
33068 &_swigt__p_wxPyValidator
,
33069 &_swigt__p_wxPyWindow
,
33070 &_swigt__p_wxQueryLayoutInfoEvent
,
33071 &_swigt__p_wxQueryNewPaletteEvent
,
33073 &_swigt__p_wxRegion
,
33074 &_swigt__p_wxSashEvent
,
33075 &_swigt__p_wxSashLayoutWindow
,
33076 &_swigt__p_wxSashWindow
,
33077 &_swigt__p_wxScrollEvent
,
33078 &_swigt__p_wxScrollWinEvent
,
33079 &_swigt__p_wxScrolledWindow
,
33080 &_swigt__p_wxSetCursorEvent
,
33081 &_swigt__p_wxShowEvent
,
33082 &_swigt__p_wxSingleChoiceDialog
,
33084 &_swigt__p_wxSizeEvent
,
33085 &_swigt__p_wxSizer
,
33086 &_swigt__p_wxSizerItem
,
33087 &_swigt__p_wxSplashScreen
,
33088 &_swigt__p_wxSplashScreenWindow
,
33089 &_swigt__p_wxSplitterEvent
,
33090 &_swigt__p_wxSplitterWindow
,
33091 &_swigt__p_wxStaticBoxSizer
,
33092 &_swigt__p_wxStatusBar
,
33093 &_swigt__p_wxStdDialogButtonSizer
,
33094 &_swigt__p_wxString
,
33095 &_swigt__p_wxSysColourChangedEvent
,
33096 &_swigt__p_wxTIFFHandler
,
33097 &_swigt__p_wxTaskBarIcon
,
33098 &_swigt__p_wxTaskBarIconEvent
,
33099 &_swigt__p_wxTextEntryDialog
,
33100 &_swigt__p_wxTipWindow
,
33101 &_swigt__p_wxToolBar
,
33102 &_swigt__p_wxTopLevelWindow
,
33103 &_swigt__p_wxUpdateUIEvent
,
33104 &_swigt__p_wxValidator
,
33105 &_swigt__p_wxVisualAttributes
,
33106 &_swigt__p_wxWindow
,
33107 &_swigt__p_wxWindowCreateEvent
,
33108 &_swigt__p_wxWindowDestroyEvent
,
33109 &_swigt__p_wxXPMHandler
,
33112 static swig_cast_info _swigc__p_bool
[] = { {&_swigt__p_bool
, 0, 0, 0},{0, 0, 0, 0}};
33113 static swig_cast_info _swigc__p_char
[] = { {&_swigt__p_char
, 0, 0, 0},{0, 0, 0, 0}};
33114 static swig_cast_info _swigc__p_form_ops_t
[] = { {&_swigt__p_form_ops_t
, 0, 0, 0},{0, 0, 0, 0}};
33115 static swig_cast_info _swigc__p_int
[] = { {&_swigt__p_int
, 0, 0, 0},{0, 0, 0, 0}};
33116 static swig_cast_info _swigc__p_unsigned_char
[] = { {&_swigt__p_unsigned_char
, 0, 0, 0},{0, 0, 0, 0}};
33117 static swig_cast_info _swigc__p_unsigned_int
[] = { {&_swigt__p_unsigned_int
, 0, 0, 0},{0, 0, 0, 0}};
33118 static swig_cast_info _swigc__p_unsigned_long
[] = { {&_swigt__p_unsigned_long
, 0, 0, 0},{0, 0, 0, 0}};
33119 static swig_cast_info _swigc__p_wxArrayInt
[] = { {&_swigt__p_wxArrayInt
, 0, 0, 0},{0, 0, 0, 0}};
33120 static swig_cast_info _swigc__p_wxBitmap
[] = { {&_swigt__p_wxBitmap
, 0, 0, 0},{0, 0, 0, 0}};
33121 static swig_cast_info _swigc__p_wxCalculateLayoutEvent
[] = { {&_swigt__p_wxCalculateLayoutEvent
, 0, 0, 0},{0, 0, 0, 0}};
33122 static swig_cast_info _swigc__p_wxColour
[] = { {&_swigt__p_wxColour
, 0, 0, 0},{0, 0, 0, 0}};
33123 static swig_cast_info _swigc__p_wxColourData
[] = { {&_swigt__p_wxColourData
, 0, 0, 0},{0, 0, 0, 0}};
33124 static swig_cast_info _swigc__p_wxColourDialog
[] = { {&_swigt__p_wxColourDialog
, 0, 0, 0},{0, 0, 0, 0}};
33125 static swig_cast_info _swigc__p_wxWindowDestroyEvent
[] = {{&_swigt__p_wxWindowDestroyEvent
, 0, 0, 0},{0, 0, 0, 0}};
33126 static swig_cast_info _swigc__p_wxClipboardTextEvent
[] = {{&_swigt__p_wxClipboardTextEvent
, 0, 0, 0},{0, 0, 0, 0}};
33127 static swig_cast_info _swigc__p_wxScrollEvent
[] = {{&_swigt__p_wxScrollEvent
, 0, 0, 0},{0, 0, 0, 0}};
33128 static swig_cast_info _swigc__p_wxPyCommandEvent
[] = {{&_swigt__p_wxPyCommandEvent
, 0, 0, 0},{0, 0, 0, 0}};
33129 static swig_cast_info _swigc__p_wxContextMenuEvent
[] = {{&_swigt__p_wxContextMenuEvent
, 0, 0, 0},{0, 0, 0, 0}};
33130 static swig_cast_info _swigc__p_wxChildFocusEvent
[] = {{&_swigt__p_wxChildFocusEvent
, 0, 0, 0},{0, 0, 0, 0}};
33131 static swig_cast_info _swigc__p_wxWindowCreateEvent
[] = {{&_swigt__p_wxWindowCreateEvent
, 0, 0, 0},{0, 0, 0, 0}};
33132 static swig_cast_info _swigc__p_wxDateEvent
[] = {{&_swigt__p_wxDateEvent
, 0, 0, 0},{0, 0, 0, 0}};
33133 static swig_cast_info _swigc__p_wxUpdateUIEvent
[] = {{&_swigt__p_wxUpdateUIEvent
, 0, 0, 0},{0, 0, 0, 0}};
33134 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}};
33135 static swig_cast_info _swigc__p_wxDC
[] = { {&_swigt__p_wxDC
, 0, 0, 0},{0, 0, 0, 0}};
33136 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}};
33137 static swig_cast_info _swigc__p_wxDirDialog
[] = { {&_swigt__p_wxDirDialog
, 0, 0, 0},{0, 0, 0, 0}};
33138 static swig_cast_info _swigc__p_wxDuplexMode
[] = { {&_swigt__p_wxDuplexMode
, 0, 0, 0},{0, 0, 0, 0}};
33139 static swig_cast_info _swigc__p_wxMenuEvent
[] = {{&_swigt__p_wxMenuEvent
, 0, 0, 0},{0, 0, 0, 0}};
33140 static swig_cast_info _swigc__p_wxCloseEvent
[] = {{&_swigt__p_wxCloseEvent
, 0, 0, 0},{0, 0, 0, 0}};
33141 static swig_cast_info _swigc__p_wxMouseEvent
[] = {{&_swigt__p_wxMouseEvent
, 0, 0, 0},{0, 0, 0, 0}};
33142 static swig_cast_info _swigc__p_wxEraseEvent
[] = {{&_swigt__p_wxEraseEvent
, 0, 0, 0},{0, 0, 0, 0}};
33143 static swig_cast_info _swigc__p_wxSetCursorEvent
[] = {{&_swigt__p_wxSetCursorEvent
, 0, 0, 0},{0, 0, 0, 0}};
33144 static swig_cast_info _swigc__p_wxInitDialogEvent
[] = {{&_swigt__p_wxInitDialogEvent
, 0, 0, 0},{0, 0, 0, 0}};
33145 static swig_cast_info _swigc__p_wxPyEvent
[] = {{&_swigt__p_wxPyEvent
, 0, 0, 0},{0, 0, 0, 0}};
33146 static swig_cast_info _swigc__p_wxIdleEvent
[] = {{&_swigt__p_wxIdleEvent
, 0, 0, 0},{0, 0, 0, 0}};
33147 static swig_cast_info _swigc__p_wxQueryNewPaletteEvent
[] = {{&_swigt__p_wxQueryNewPaletteEvent
, 0, 0, 0},{0, 0, 0, 0}};
33148 static swig_cast_info _swigc__p_wxMaximizeEvent
[] = {{&_swigt__p_wxMaximizeEvent
, 0, 0, 0},{0, 0, 0, 0}};
33149 static swig_cast_info _swigc__p_wxIconizeEvent
[] = {{&_swigt__p_wxIconizeEvent
, 0, 0, 0},{0, 0, 0, 0}};
33150 static swig_cast_info _swigc__p_wxActivateEvent
[] = {{&_swigt__p_wxActivateEvent
, 0, 0, 0},{0, 0, 0, 0}};
33151 static swig_cast_info _swigc__p_wxSizeEvent
[] = {{&_swigt__p_wxSizeEvent
, 0, 0, 0},{0, 0, 0, 0}};
33152 static swig_cast_info _swigc__p_wxMoveEvent
[] = {{&_swigt__p_wxMoveEvent
, 0, 0, 0},{0, 0, 0, 0}};
33153 static swig_cast_info _swigc__p_wxPaintEvent
[] = {{&_swigt__p_wxPaintEvent
, 0, 0, 0},{0, 0, 0, 0}};
33154 static swig_cast_info _swigc__p_wxNcPaintEvent
[] = {{&_swigt__p_wxNcPaintEvent
, 0, 0, 0},{0, 0, 0, 0}};
33155 static swig_cast_info _swigc__p_wxPaletteChangedEvent
[] = {{&_swigt__p_wxPaletteChangedEvent
, 0, 0, 0},{0, 0, 0, 0}};
33156 static swig_cast_info _swigc__p_wxDisplayChangedEvent
[] = {{&_swigt__p_wxDisplayChangedEvent
, 0, 0, 0},{0, 0, 0, 0}};
33157 static swig_cast_info _swigc__p_wxMouseCaptureChangedEvent
[] = {{&_swigt__p_wxMouseCaptureChangedEvent
, 0, 0, 0},{0, 0, 0, 0}};
33158 static swig_cast_info _swigc__p_wxSysColourChangedEvent
[] = {{&_swigt__p_wxSysColourChangedEvent
, 0, 0, 0},{0, 0, 0, 0}};
33159 static swig_cast_info _swigc__p_wxDropFilesEvent
[] = {{&_swigt__p_wxDropFilesEvent
, 0, 0, 0},{0, 0, 0, 0}};
33160 static swig_cast_info _swigc__p_wxFocusEvent
[] = {{&_swigt__p_wxFocusEvent
, 0, 0, 0},{0, 0, 0, 0}};
33161 static swig_cast_info _swigc__p_wxShowEvent
[] = {{&_swigt__p_wxShowEvent
, 0, 0, 0},{0, 0, 0, 0}};
33162 static swig_cast_info _swigc__p_wxNavigationKeyEvent
[] = {{&_swigt__p_wxNavigationKeyEvent
, 0, 0, 0},{0, 0, 0, 0}};
33163 static swig_cast_info _swigc__p_wxKeyEvent
[] = {{&_swigt__p_wxKeyEvent
, 0, 0, 0},{0, 0, 0, 0}};
33164 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}};
33165 static swig_cast_info _swigc__p_wxValidator
[] = {{&_swigt__p_wxValidator
, 0, 0, 0},{0, 0, 0, 0}};
33166 static swig_cast_info _swigc__p_wxPyValidator
[] = {{&_swigt__p_wxPyValidator
, 0, 0, 0},{0, 0, 0, 0}};
33167 static swig_cast_info _swigc__p_wxControl
[] = {{&_swigt__p_wxControl
, 0, 0, 0},{0, 0, 0, 0}};
33168 static swig_cast_info _swigc__p_wxPyApp
[] = {{&_swigt__p_wxPyApp
, 0, 0, 0},{0, 0, 0, 0}};
33169 static swig_cast_info _swigc__p_wxControlWithItems
[] = {{&_swigt__p_wxControlWithItems
, 0, 0, 0},{0, 0, 0, 0}};
33170 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}};
33171 static swig_cast_info _swigc__p_wxFileDialog
[] = { {&_swigt__p_wxFileDialog
, 0, 0, 0},{0, 0, 0, 0}};
33172 static swig_cast_info _swigc__p_wxFileSystem
[] = { {&_swigt__p_wxFileSystem
, 0, 0, 0},{0, 0, 0, 0}};
33173 static swig_cast_info _swigc__p_wxFindDialogEvent
[] = { {&_swigt__p_wxFindDialogEvent
, 0, 0, 0},{0, 0, 0, 0}};
33174 static swig_cast_info _swigc__p_wxFindReplaceData
[] = { {&_swigt__p_wxFindReplaceData
, 0, 0, 0},{0, 0, 0, 0}};
33175 static swig_cast_info _swigc__p_wxFindReplaceDialog
[] = { {&_swigt__p_wxFindReplaceDialog
, 0, 0, 0},{0, 0, 0, 0}};
33176 static swig_cast_info _swigc__p_wxFont
[] = { {&_swigt__p_wxFont
, 0, 0, 0},{0, 0, 0, 0}};
33177 static swig_cast_info _swigc__p_wxFontData
[] = { {&_swigt__p_wxFontData
, 0, 0, 0},{0, 0, 0, 0}};
33178 static swig_cast_info _swigc__p_wxFontDialog
[] = { {&_swigt__p_wxFontDialog
, 0, 0, 0},{0, 0, 0, 0}};
33179 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}};
33180 static swig_cast_info _swigc__p_wxHtmlLinkInfo
[] = { {&_swigt__p_wxHtmlLinkInfo
, 0, 0, 0},{0, 0, 0, 0}};
33181 static swig_cast_info _swigc__p_wxIcon
[] = { {&_swigt__p_wxIcon
, 0, 0, 0},{0, 0, 0, 0}};
33182 static swig_cast_info _swigc__p_wxIconBundle
[] = { {&_swigt__p_wxIconBundle
, 0, 0, 0},{0, 0, 0, 0}};
33183 static swig_cast_info _swigc__p_wxLayoutAlgorithm
[] = { {&_swigt__p_wxLayoutAlgorithm
, 0, 0, 0},{0, 0, 0, 0}};
33184 static swig_cast_info _swigc__p_wxMDIChildFrame
[] = { {&_swigt__p_wxMDIChildFrame
, 0, 0, 0},{0, 0, 0, 0}};
33185 static swig_cast_info _swigc__p_wxMDIClientWindow
[] = { {&_swigt__p_wxMDIClientWindow
, 0, 0, 0},{0, 0, 0, 0}};
33186 static swig_cast_info _swigc__p_wxMDIParentFrame
[] = { {&_swigt__p_wxMDIParentFrame
, 0, 0, 0},{0, 0, 0, 0}};
33187 static swig_cast_info _swigc__p_wxMenu
[] = { {&_swigt__p_wxMenu
, 0, 0, 0},{0, 0, 0, 0}};
33188 static swig_cast_info _swigc__p_wxMenuBar
[] = { {&_swigt__p_wxMenuBar
, 0, 0, 0},{0, 0, 0, 0}};
33189 static swig_cast_info _swigc__p_wxMessageDialog
[] = { {&_swigt__p_wxMessageDialog
, 0, 0, 0},{0, 0, 0, 0}};
33190 static swig_cast_info _swigc__p_wxMiniFrame
[] = { {&_swigt__p_wxMiniFrame
, 0, 0, 0},{0, 0, 0, 0}};
33191 static swig_cast_info _swigc__p_wxMultiChoiceDialog
[] = { {&_swigt__p_wxMultiChoiceDialog
, 0, 0, 0},{0, 0, 0, 0}};
33192 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}};
33193 static swig_cast_info _swigc__p_wxNumberEntryDialog
[] = { {&_swigt__p_wxNumberEntryDialog
, 0, 0, 0},{0, 0, 0, 0}};
33194 static swig_cast_info _swigc__p_wxLayoutConstraints
[] = {{&_swigt__p_wxLayoutConstraints
, 0, 0, 0},{0, 0, 0, 0}};
33195 static swig_cast_info _swigc__p_wxGBSizerItem
[] = {{&_swigt__p_wxGBSizerItem
, 0, 0, 0},{0, 0, 0, 0}};
33196 static swig_cast_info _swigc__p_wxSizerItem
[] = {{&_swigt__p_wxSizerItem
, 0, 0, 0},{0, 0, 0, 0}};
33197 static swig_cast_info _swigc__p_wxIndividualLayoutConstraint
[] = {{&_swigt__p_wxIndividualLayoutConstraint
, 0, 0, 0},{0, 0, 0, 0}};
33198 static swig_cast_info _swigc__p_wxStaticBoxSizer
[] = {{&_swigt__p_wxStaticBoxSizer
, 0, 0, 0},{0, 0, 0, 0}};
33199 static swig_cast_info _swigc__p_wxBoxSizer
[] = {{&_swigt__p_wxBoxSizer
, 0, 0, 0},{0, 0, 0, 0}};
33200 static swig_cast_info _swigc__p_wxSizer
[] = {{&_swigt__p_wxSizer
, 0, 0, 0},{0, 0, 0, 0}};
33201 static swig_cast_info _swigc__p_wxGridBagSizer
[] = {{&_swigt__p_wxGridBagSizer
, 0, 0, 0},{0, 0, 0, 0}};
33202 static swig_cast_info _swigc__p_wxGridSizer
[] = {{&_swigt__p_wxGridSizer
, 0, 0, 0},{0, 0, 0, 0}};
33203 static swig_cast_info _swigc__p_wxFlexGridSizer
[] = {{&_swigt__p_wxFlexGridSizer
, 0, 0, 0},{0, 0, 0, 0}};
33204 static swig_cast_info _swigc__p_wxFSFile
[] = {{&_swigt__p_wxFSFile
, 0, 0, 0},{0, 0, 0, 0}};
33205 static swig_cast_info _swigc__p_wxPySizer
[] = {{&_swigt__p_wxPySizer
, 0, 0, 0},{0, 0, 0, 0}};
33206 static swig_cast_info _swigc__p_wxMenuItem
[] = {{&_swigt__p_wxMenuItem
, 0, 0, 0},{0, 0, 0, 0}};
33207 static swig_cast_info _swigc__p_wxBMPHandler
[] = {{&_swigt__p_wxBMPHandler
, 0, 0, 0},{0, 0, 0, 0}};
33208 static swig_cast_info _swigc__p_wxICOHandler
[] = {{&_swigt__p_wxICOHandler
, 0, 0, 0},{0, 0, 0, 0}};
33209 static swig_cast_info _swigc__p_wxCURHandler
[] = {{&_swigt__p_wxCURHandler
, 0, 0, 0},{0, 0, 0, 0}};
33210 static swig_cast_info _swigc__p_wxANIHandler
[] = {{&_swigt__p_wxANIHandler
, 0, 0, 0},{0, 0, 0, 0}};
33211 static swig_cast_info _swigc__p_wxPNGHandler
[] = {{&_swigt__p_wxPNGHandler
, 0, 0, 0},{0, 0, 0, 0}};
33212 static swig_cast_info _swigc__p_wxGIFHandler
[] = {{&_swigt__p_wxGIFHandler
, 0, 0, 0},{0, 0, 0, 0}};
33213 static swig_cast_info _swigc__p_wxPCXHandler
[] = {{&_swigt__p_wxPCXHandler
, 0, 0, 0},{0, 0, 0, 0}};
33214 static swig_cast_info _swigc__p_wxJPEGHandler
[] = {{&_swigt__p_wxJPEGHandler
, 0, 0, 0},{0, 0, 0, 0}};
33215 static swig_cast_info _swigc__p_wxPNMHandler
[] = {{&_swigt__p_wxPNMHandler
, 0, 0, 0},{0, 0, 0, 0}};
33216 static swig_cast_info _swigc__p_wxPyImageHandler
[] = {{&_swigt__p_wxPyImageHandler
, 0, 0, 0},{0, 0, 0, 0}};
33217 static swig_cast_info _swigc__p_wxImageHandler
[] = {{&_swigt__p_wxImageHandler
, 0, 0, 0},{0, 0, 0, 0}};
33218 static swig_cast_info _swigc__p_wxXPMHandler
[] = {{&_swigt__p_wxXPMHandler
, 0, 0, 0},{0, 0, 0, 0}};
33219 static swig_cast_info _swigc__p_wxTIFFHandler
[] = {{&_swigt__p_wxTIFFHandler
, 0, 0, 0},{0, 0, 0, 0}};
33220 static swig_cast_info _swigc__p_wxAcceleratorTable
[] = {{&_swigt__p_wxAcceleratorTable
, 0, 0, 0},{0, 0, 0, 0}};
33221 static swig_cast_info _swigc__p_wxImage
[] = {{&_swigt__p_wxImage
, 0, 0, 0},{0, 0, 0, 0}};
33222 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}};
33223 static swig_cast_info _swigc__p_wxPageSetupDialog
[] = { {&_swigt__p_wxPageSetupDialog
, 0, 0, 0},{0, 0, 0, 0}};
33224 static swig_cast_info _swigc__p_wxPageSetupDialogData
[] = { {&_swigt__p_wxPageSetupDialogData
, 0, 0, 0},{0, 0, 0, 0}};
33225 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}};
33226 static swig_cast_info _swigc__p_wxPaperSize
[] = { {&_swigt__p_wxPaperSize
, 0, 0, 0},{0, 0, 0, 0}};
33227 static swig_cast_info _swigc__p_wxPasswordEntryDialog
[] = { {&_swigt__p_wxPasswordEntryDialog
, 0, 0, 0},{0, 0, 0, 0}};
33228 static swig_cast_info _swigc__p_wxPoint
[] = { {&_swigt__p_wxPoint
, 0, 0, 0},{0, 0, 0, 0}};
33229 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}};
33230 static swig_cast_info _swigc__p_wxPreviewCanvas
[] = { {&_swigt__p_wxPreviewCanvas
, 0, 0, 0},{0, 0, 0, 0}};
33231 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}};
33232 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}};
33233 static swig_cast_info _swigc__p_wxPrintData
[] = { {&_swigt__p_wxPrintData
, 0, 0, 0},{0, 0, 0, 0}};
33234 static swig_cast_info _swigc__p_wxPrintDialog
[] = { {&_swigt__p_wxPrintDialog
, 0, 0, 0},{0, 0, 0, 0}};
33235 static swig_cast_info _swigc__p_wxPrintDialogData
[] = { {&_swigt__p_wxPrintDialogData
, 0, 0, 0},{0, 0, 0, 0}};
33236 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}};
33237 static swig_cast_info _swigc__p_wxPrinter
[] = { {&_swigt__p_wxPrinter
, 0, 0, 0},{0, 0, 0, 0}};
33238 static swig_cast_info _swigc__p_wxProgressDialog
[] = { {&_swigt__p_wxProgressDialog
, 0, 0, 0},{0, 0, 0, 0}};
33239 static swig_cast_info _swigc__p_wxPyHtmlListBox
[] = { {&_swigt__p_wxPyHtmlListBox
, 0, 0, 0},{0, 0, 0, 0}};
33240 static swig_cast_info _swigc__p_wxPyPanel
[] = { {&_swigt__p_wxPyPanel
, 0, 0, 0},{0, 0, 0, 0}};
33241 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}};
33242 static swig_cast_info _swigc__p_wxPyPreviewControlBar
[] = { {&_swigt__p_wxPyPreviewControlBar
, 0, 0, 0},{0, 0, 0, 0}};
33243 static swig_cast_info _swigc__p_wxPyPreviewFrame
[] = { {&_swigt__p_wxPyPreviewFrame
, 0, 0, 0},{0, 0, 0, 0}};
33244 static swig_cast_info _swigc__p_wxPyPrintPreview
[] = { {&_swigt__p_wxPyPrintPreview
, 0, 0, 0},{0, 0, 0, 0}};
33245 static swig_cast_info _swigc__p_wxPyPrintout
[] = { {&_swigt__p_wxPyPrintout
, 0, 0, 0},{0, 0, 0, 0}};
33246 static swig_cast_info _swigc__p_wxPyScrolledWindow
[] = { {&_swigt__p_wxPyScrolledWindow
, 0, 0, 0},{0, 0, 0, 0}};
33247 static swig_cast_info _swigc__p_wxPyTaskBarIcon
[] = { {&_swigt__p_wxPyTaskBarIcon
, 0, 0, 0},{0, 0, 0, 0}};
33248 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}};
33249 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}};
33250 static swig_cast_info _swigc__p_wxPyWindow
[] = { {&_swigt__p_wxPyWindow
, 0, 0, 0},{0, 0, 0, 0}};
33251 static swig_cast_info _swigc__p_wxQueryLayoutInfoEvent
[] = { {&_swigt__p_wxQueryLayoutInfoEvent
, 0, 0, 0},{0, 0, 0, 0}};
33252 static swig_cast_info _swigc__p_wxRect
[] = { {&_swigt__p_wxRect
, 0, 0, 0},{0, 0, 0, 0}};
33253 static swig_cast_info _swigc__p_wxRegion
[] = { {&_swigt__p_wxRegion
, 0, 0, 0},{0, 0, 0, 0}};
33254 static swig_cast_info _swigc__p_wxSashEvent
[] = { {&_swigt__p_wxSashEvent
, 0, 0, 0},{0, 0, 0, 0}};
33255 static swig_cast_info _swigc__p_wxSashLayoutWindow
[] = { {&_swigt__p_wxSashLayoutWindow
, 0, 0, 0},{0, 0, 0, 0}};
33256 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}};
33257 static swig_cast_info _swigc__p_wxScrollWinEvent
[] = { {&_swigt__p_wxScrollWinEvent
, 0, 0, 0},{0, 0, 0, 0}};
33258 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}};
33259 static swig_cast_info _swigc__p_wxSingleChoiceDialog
[] = { {&_swigt__p_wxSingleChoiceDialog
, 0, 0, 0},{0, 0, 0, 0}};
33260 static swig_cast_info _swigc__p_wxSize
[] = { {&_swigt__p_wxSize
, 0, 0, 0},{0, 0, 0, 0}};
33261 static swig_cast_info _swigc__p_wxSplashScreen
[] = { {&_swigt__p_wxSplashScreen
, 0, 0, 0},{0, 0, 0, 0}};
33262 static swig_cast_info _swigc__p_wxSplashScreenWindow
[] = { {&_swigt__p_wxSplashScreenWindow
, 0, 0, 0},{0, 0, 0, 0}};
33263 static swig_cast_info _swigc__p_wxSplitterEvent
[] = { {&_swigt__p_wxSplitterEvent
, 0, 0, 0},{0, 0, 0, 0}};
33264 static swig_cast_info _swigc__p_wxSplitterWindow
[] = { {&_swigt__p_wxSplitterWindow
, 0, 0, 0},{0, 0, 0, 0}};
33265 static swig_cast_info _swigc__p_wxStatusBar
[] = { {&_swigt__p_wxStatusBar
, 0, 0, 0},{0, 0, 0, 0}};
33266 static swig_cast_info _swigc__p_wxStdDialogButtonSizer
[] = { {&_swigt__p_wxStdDialogButtonSizer
, 0, 0, 0},{0, 0, 0, 0}};
33267 static swig_cast_info _swigc__p_wxString
[] = { {&_swigt__p_wxString
, 0, 0, 0},{0, 0, 0, 0}};
33268 static swig_cast_info _swigc__p_wxTaskBarIcon
[] = { {&_swigt__p_wxTaskBarIcon
, 0, 0, 0},{0, 0, 0, 0}};
33269 static swig_cast_info _swigc__p_wxTaskBarIconEvent
[] = { {&_swigt__p_wxTaskBarIconEvent
, 0, 0, 0},{0, 0, 0, 0}};
33270 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}};
33271 static swig_cast_info _swigc__p_wxTipWindow
[] = { {&_swigt__p_wxTipWindow
, 0, 0, 0},{0, 0, 0, 0}};
33272 static swig_cast_info _swigc__p_wxToolBar
[] = { {&_swigt__p_wxToolBar
, 0, 0, 0},{0, 0, 0, 0}};
33273 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}};
33274 static swig_cast_info _swigc__p_wxVisualAttributes
[] = { {&_swigt__p_wxVisualAttributes
, 0, 0, 0},{0, 0, 0, 0}};
33275 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}};
33277 static swig_cast_info
*swig_cast_initial
[] = {
33280 _swigc__p_form_ops_t
,
33282 _swigc__p_unsigned_char
,
33283 _swigc__p_unsigned_int
,
33284 _swigc__p_unsigned_long
,
33285 _swigc__p_wxANIHandler
,
33286 _swigc__p_wxAcceleratorTable
,
33287 _swigc__p_wxActivateEvent
,
33288 _swigc__p_wxArrayInt
,
33289 _swigc__p_wxBMPHandler
,
33290 _swigc__p_wxBitmap
,
33291 _swigc__p_wxBoxSizer
,
33292 _swigc__p_wxCURHandler
,
33293 _swigc__p_wxCalculateLayoutEvent
,
33294 _swigc__p_wxChildFocusEvent
,
33295 _swigc__p_wxClipboardTextEvent
,
33296 _swigc__p_wxCloseEvent
,
33297 _swigc__p_wxColour
,
33298 _swigc__p_wxColourData
,
33299 _swigc__p_wxColourDialog
,
33300 _swigc__p_wxCommandEvent
,
33301 _swigc__p_wxContextMenuEvent
,
33302 _swigc__p_wxControl
,
33303 _swigc__p_wxControlWithItems
,
33305 _swigc__p_wxDateEvent
,
33306 _swigc__p_wxDialog
,
33307 _swigc__p_wxDirDialog
,
33308 _swigc__p_wxDisplayChangedEvent
,
33309 _swigc__p_wxDropFilesEvent
,
33310 _swigc__p_wxDuplexMode
,
33311 _swigc__p_wxEraseEvent
,
33313 _swigc__p_wxEvtHandler
,
33314 _swigc__p_wxFSFile
,
33315 _swigc__p_wxFileDialog
,
33316 _swigc__p_wxFileSystem
,
33317 _swigc__p_wxFindDialogEvent
,
33318 _swigc__p_wxFindReplaceData
,
33319 _swigc__p_wxFindReplaceDialog
,
33320 _swigc__p_wxFlexGridSizer
,
33321 _swigc__p_wxFocusEvent
,
33323 _swigc__p_wxFontData
,
33324 _swigc__p_wxFontDialog
,
33326 _swigc__p_wxGBSizerItem
,
33327 _swigc__p_wxGIFHandler
,
33328 _swigc__p_wxGridBagSizer
,
33329 _swigc__p_wxGridSizer
,
33330 _swigc__p_wxHtmlLinkInfo
,
33331 _swigc__p_wxICOHandler
,
33333 _swigc__p_wxIconBundle
,
33334 _swigc__p_wxIconizeEvent
,
33335 _swigc__p_wxIdleEvent
,
33337 _swigc__p_wxImageHandler
,
33338 _swigc__p_wxIndividualLayoutConstraint
,
33339 _swigc__p_wxInitDialogEvent
,
33340 _swigc__p_wxJPEGHandler
,
33341 _swigc__p_wxKeyEvent
,
33342 _swigc__p_wxLayoutAlgorithm
,
33343 _swigc__p_wxLayoutConstraints
,
33344 _swigc__p_wxMDIChildFrame
,
33345 _swigc__p_wxMDIClientWindow
,
33346 _swigc__p_wxMDIParentFrame
,
33347 _swigc__p_wxMaximizeEvent
,
33349 _swigc__p_wxMenuBar
,
33350 _swigc__p_wxMenuEvent
,
33351 _swigc__p_wxMenuItem
,
33352 _swigc__p_wxMessageDialog
,
33353 _swigc__p_wxMiniFrame
,
33354 _swigc__p_wxMouseCaptureChangedEvent
,
33355 _swigc__p_wxMouseEvent
,
33356 _swigc__p_wxMoveEvent
,
33357 _swigc__p_wxMultiChoiceDialog
,
33358 _swigc__p_wxNavigationKeyEvent
,
33359 _swigc__p_wxNcPaintEvent
,
33360 _swigc__p_wxNotifyEvent
,
33361 _swigc__p_wxNumberEntryDialog
,
33362 _swigc__p_wxObject
,
33363 _swigc__p_wxPCXHandler
,
33364 _swigc__p_wxPNGHandler
,
33365 _swigc__p_wxPNMHandler
,
33366 _swigc__p_wxPageSetupDialog
,
33367 _swigc__p_wxPageSetupDialogData
,
33368 _swigc__p_wxPaintEvent
,
33369 _swigc__p_wxPaletteChangedEvent
,
33371 _swigc__p_wxPaperSize
,
33372 _swigc__p_wxPasswordEntryDialog
,
33374 _swigc__p_wxPopupWindow
,
33375 _swigc__p_wxPreviewCanvas
,
33376 _swigc__p_wxPreviewControlBar
,
33377 _swigc__p_wxPreviewFrame
,
33378 _swigc__p_wxPrintData
,
33379 _swigc__p_wxPrintDialog
,
33380 _swigc__p_wxPrintDialogData
,
33381 _swigc__p_wxPrintPreview
,
33382 _swigc__p_wxPrinter
,
33383 _swigc__p_wxProgressDialog
,
33385 _swigc__p_wxPyCommandEvent
,
33386 _swigc__p_wxPyEvent
,
33387 _swigc__p_wxPyHtmlListBox
,
33388 _swigc__p_wxPyImageHandler
,
33389 _swigc__p_wxPyPanel
,
33390 _swigc__p_wxPyPopupTransientWindow
,
33391 _swigc__p_wxPyPreviewControlBar
,
33392 _swigc__p_wxPyPreviewFrame
,
33393 _swigc__p_wxPyPrintPreview
,
33394 _swigc__p_wxPyPrintout
,
33395 _swigc__p_wxPyScrolledWindow
,
33396 _swigc__p_wxPySizer
,
33397 _swigc__p_wxPyTaskBarIcon
,
33398 _swigc__p_wxPyVListBox
,
33399 _swigc__p_wxPyVScrolledWindow
,
33400 _swigc__p_wxPyValidator
,
33401 _swigc__p_wxPyWindow
,
33402 _swigc__p_wxQueryLayoutInfoEvent
,
33403 _swigc__p_wxQueryNewPaletteEvent
,
33405 _swigc__p_wxRegion
,
33406 _swigc__p_wxSashEvent
,
33407 _swigc__p_wxSashLayoutWindow
,
33408 _swigc__p_wxSashWindow
,
33409 _swigc__p_wxScrollEvent
,
33410 _swigc__p_wxScrollWinEvent
,
33411 _swigc__p_wxScrolledWindow
,
33412 _swigc__p_wxSetCursorEvent
,
33413 _swigc__p_wxShowEvent
,
33414 _swigc__p_wxSingleChoiceDialog
,
33416 _swigc__p_wxSizeEvent
,
33418 _swigc__p_wxSizerItem
,
33419 _swigc__p_wxSplashScreen
,
33420 _swigc__p_wxSplashScreenWindow
,
33421 _swigc__p_wxSplitterEvent
,
33422 _swigc__p_wxSplitterWindow
,
33423 _swigc__p_wxStaticBoxSizer
,
33424 _swigc__p_wxStatusBar
,
33425 _swigc__p_wxStdDialogButtonSizer
,
33426 _swigc__p_wxString
,
33427 _swigc__p_wxSysColourChangedEvent
,
33428 _swigc__p_wxTIFFHandler
,
33429 _swigc__p_wxTaskBarIcon
,
33430 _swigc__p_wxTaskBarIconEvent
,
33431 _swigc__p_wxTextEntryDialog
,
33432 _swigc__p_wxTipWindow
,
33433 _swigc__p_wxToolBar
,
33434 _swigc__p_wxTopLevelWindow
,
33435 _swigc__p_wxUpdateUIEvent
,
33436 _swigc__p_wxValidator
,
33437 _swigc__p_wxVisualAttributes
,
33438 _swigc__p_wxWindow
,
33439 _swigc__p_wxWindowCreateEvent
,
33440 _swigc__p_wxWindowDestroyEvent
,
33441 _swigc__p_wxXPMHandler
,
33445 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (END) -------- */
33447 static swig_const_info swig_const_table
[] = {
33448 {0, 0, 0, 0.0, 0, 0}};
33453 /* -----------------------------------------------------------------------------
33454 * Type initialization:
33455 * This problem is tough by the requirement that no dynamic
33456 * memory is used. Also, since swig_type_info structures store pointers to
33457 * swig_cast_info structures and swig_cast_info structures store pointers back
33458 * to swig_type_info structures, we need some lookup code at initialization.
33459 * The idea is that swig generates all the structures that are needed.
33460 * The runtime then collects these partially filled structures.
33461 * The SWIG_InitializeModule function takes these initial arrays out of
33462 * swig_module, and does all the lookup, filling in the swig_module.types
33463 * array with the correct data and linking the correct swig_cast_info
33464 * structures together.
33466 * The generated swig_type_info structures are assigned staticly to an initial
33467 * array. We just loop though that array, and handle each type individually.
33468 * First we lookup if this type has been already loaded, and if so, use the
33469 * loaded structure instead of the generated one. Then we have to fill in the
33470 * cast linked list. The cast data is initially stored in something like a
33471 * two-dimensional array. Each row corresponds to a type (there are the same
33472 * number of rows as there are in the swig_type_initial array). Each entry in
33473 * a column is one of the swig_cast_info structures for that type.
33474 * The cast_initial array is actually an array of arrays, because each row has
33475 * a variable number of columns. So to actually build the cast linked list,
33476 * we find the array of casts associated with the type, and loop through it
33477 * adding the casts to the list. The one last trick we need to do is making
33478 * sure the type pointer in the swig_cast_info struct is correct.
33480 * First off, we lookup the cast->type name to see if it is already loaded.
33481 * There are three cases to handle:
33482 * 1) If the cast->type has already been loaded AND the type we are adding
33483 * casting info to has not been loaded (it is in this module), THEN we
33484 * replace the cast->type pointer with the type pointer that has already
33486 * 2) If BOTH types (the one we are adding casting info to, and the
33487 * cast->type) are loaded, THEN the cast info has already been loaded by
33488 * the previous module so we just ignore it.
33489 * 3) Finally, if cast->type has not already been loaded, then we add that
33490 * swig_cast_info to the linked list (because the cast->type) pointer will
33492 * ----------------------------------------------------------------------------- */
33502 #define SWIGRUNTIME_DEBUG
33506 SWIG_InitializeModule(void *clientdata
) {
33508 swig_module_info
*module_head
;
33509 static int init_run
= 0;
33511 clientdata
= clientdata
;
33513 if (init_run
) return;
33516 /* Initialize the swig_module */
33517 swig_module
.type_initial
= swig_type_initial
;
33518 swig_module
.cast_initial
= swig_cast_initial
;
33520 /* Try and load any already created modules */
33521 module_head
= SWIG_GetModule(clientdata
);
33523 swig_module
.next
= module_head
->next
;
33524 module_head
->next
= &swig_module
;
33526 /* This is the first module loaded */
33527 swig_module
.next
= &swig_module
;
33528 SWIG_SetModule(clientdata
, &swig_module
);
33531 /* Now work on filling in swig_module.types */
33532 #ifdef SWIGRUNTIME_DEBUG
33533 printf("SWIG_InitializeModule: size %d\n", swig_module
.size
);
33535 for (i
= 0; i
< swig_module
.size
; ++i
) {
33536 swig_type_info
*type
= 0;
33537 swig_type_info
*ret
;
33538 swig_cast_info
*cast
;
33540 #ifdef SWIGRUNTIME_DEBUG
33541 printf("SWIG_InitializeModule: type %d %s\n", i
, swig_module
.type_initial
[i
]->name
);
33544 /* if there is another module already loaded */
33545 if (swig_module
.next
!= &swig_module
) {
33546 type
= SWIG_MangledTypeQueryModule(swig_module
.next
, &swig_module
, swig_module
.type_initial
[i
]->name
);
33549 /* Overwrite clientdata field */
33550 #ifdef SWIGRUNTIME_DEBUG
33551 printf("SWIG_InitializeModule: found type %s\n", type
->name
);
33553 if (swig_module
.type_initial
[i
]->clientdata
) {
33554 type
->clientdata
= swig_module
.type_initial
[i
]->clientdata
;
33555 #ifdef SWIGRUNTIME_DEBUG
33556 printf("SWIG_InitializeModule: found and overwrite type %s \n", type
->name
);
33560 type
= swig_module
.type_initial
[i
];
33563 /* Insert casting types */
33564 cast
= swig_module
.cast_initial
[i
];
33565 while (cast
->type
) {
33566 /* Don't need to add information already in the list */
33568 #ifdef SWIGRUNTIME_DEBUG
33569 printf("SWIG_InitializeModule: look cast %s\n", cast
->type
->name
);
33571 if (swig_module
.next
!= &swig_module
) {
33572 ret
= SWIG_MangledTypeQueryModule(swig_module
.next
, &swig_module
, cast
->type
->name
);
33573 #ifdef SWIGRUNTIME_DEBUG
33574 if (ret
) printf("SWIG_InitializeModule: found cast %s\n", ret
->name
);
33578 if (type
== swig_module
.type_initial
[i
]) {
33579 #ifdef SWIGRUNTIME_DEBUG
33580 printf("SWIG_InitializeModule: skip old type %s\n", ret
->name
);
33585 /* Check for casting already in the list */
33586 swig_cast_info
*ocast
= SWIG_TypeCheck(ret
->name
, type
);
33587 #ifdef SWIGRUNTIME_DEBUG
33588 if (ocast
) printf("SWIG_InitializeModule: skip old cast %s\n", ret
->name
);
33590 if (!ocast
) ret
= 0;
33595 #ifdef SWIGRUNTIME_DEBUG
33596 printf("SWIG_InitializeModule: adding cast %s\n", cast
->type
->name
);
33599 type
->cast
->prev
= cast
;
33600 cast
->next
= type
->cast
;
33606 /* Set entry in modules->types array equal to the type */
33607 swig_module
.types
[i
] = type
;
33609 swig_module
.types
[i
] = 0;
33611 #ifdef SWIGRUNTIME_DEBUG
33612 printf("**** SWIG_InitializeModule: Cast List ******\n");
33613 for (i
= 0; i
< swig_module
.size
; ++i
) {
33615 swig_cast_info
*cast
= swig_module
.cast_initial
[i
];
33616 printf("SWIG_InitializeModule: type %d %s\n", i
, swig_module
.type_initial
[i
]->name
);
33617 while (cast
->type
) {
33618 printf("SWIG_InitializeModule: cast type %s\n", cast
->type
->name
);
33622 printf("---- Total casts: %d\n",j
);
33624 printf("**** SWIG_InitializeModule: Cast List ******\n");
33628 /* This function will propagate the clientdata field of type to
33629 * any new swig_type_info structures that have been added into the list
33630 * of equivalent types. It is like calling
33631 * SWIG_TypeClientData(type, clientdata) a second time.
33634 SWIG_PropagateClientData(void) {
33636 swig_cast_info
*equiv
;
33637 static int init_run
= 0;
33639 if (init_run
) return;
33642 for (i
= 0; i
< swig_module
.size
; i
++) {
33643 if (swig_module
.types
[i
]->clientdata
) {
33644 equiv
= swig_module
.types
[i
]->cast
;
33646 if (!equiv
->converter
) {
33647 if (equiv
->type
&& !equiv
->type
->clientdata
)
33648 SWIG_TypeClientData(equiv
->type
, swig_module
.types
[i
]->clientdata
);
33650 equiv
= equiv
->next
;
33670 /* Python-specific SWIG API */
33671 #define SWIG_newvarlink() SWIG_Python_newvarlink()
33672 #define SWIG_addvarlink(p, name, get_attr, set_attr) SWIG_Python_addvarlink(p, name, get_attr, set_attr)
33673 #define SWIG_InstallConstants(d, constants) SWIG_Python_InstallConstants(d, constants)
33675 /* -----------------------------------------------------------------------------
33676 * global variable support code.
33677 * ----------------------------------------------------------------------------- */
33679 typedef struct swig_globalvar
{
33680 char *name
; /* Name of global variable */
33681 PyObject
*(*get_attr
)(void); /* Return the current value */
33682 int (*set_attr
)(PyObject
*); /* Set the value */
33683 struct swig_globalvar
*next
;
33686 typedef struct swig_varlinkobject
{
33688 swig_globalvar
*vars
;
33689 } swig_varlinkobject
;
33691 SWIGINTERN PyObject
*
33692 swig_varlink_repr(swig_varlinkobject
*SWIGUNUSEDPARM(v
)) {
33693 return PyString_FromString("<Swig global variables>");
33696 SWIGINTERN PyObject
*
33697 swig_varlink_str(swig_varlinkobject
*v
) {
33698 PyObject
*str
= PyString_FromString("(");
33699 swig_globalvar
*var
;
33700 for (var
= v
->vars
; var
; var
=var
->next
) {
33701 PyString_ConcatAndDel(&str
,PyString_FromString(var
->name
));
33702 if (var
->next
) PyString_ConcatAndDel(&str
,PyString_FromString(", "));
33704 PyString_ConcatAndDel(&str
,PyString_FromString(")"));
33709 swig_varlink_print(swig_varlinkobject
*v
, FILE *fp
, int SWIGUNUSEDPARM(flags
)) {
33710 PyObject
*str
= swig_varlink_str(v
);
33711 fprintf(fp
,"Swig global variables ");
33712 fprintf(fp
,"%s\n", PyString_AsString(str
));
33718 swig_varlink_dealloc(swig_varlinkobject
*v
) {
33719 swig_globalvar
*var
= v
->vars
;
33721 swig_globalvar
*n
= var
->next
;
33728 SWIGINTERN PyObject
*
33729 swig_varlink_getattr(swig_varlinkobject
*v
, char *n
) {
33730 PyObject
*res
= NULL
;
33731 swig_globalvar
*var
= v
->vars
;
33733 if (strcmp(var
->name
,n
) == 0) {
33734 res
= (*var
->get_attr
)();
33739 if (res
== NULL
&& !PyErr_Occurred()) {
33740 PyErr_SetString(PyExc_NameError
,"Unknown C global variable");
33746 swig_varlink_setattr(swig_varlinkobject
*v
, char *n
, PyObject
*p
) {
33748 swig_globalvar
*var
= v
->vars
;
33750 if (strcmp(var
->name
,n
) == 0) {
33751 res
= (*var
->set_attr
)(p
);
33756 if (res
== 1 && !PyErr_Occurred()) {
33757 PyErr_SetString(PyExc_NameError
,"Unknown C global variable");
33762 SWIGINTERN PyTypeObject
*
33763 swig_varlink_type(void) {
33764 static char varlink__doc__
[] = "Swig var link object";
33765 static PyTypeObject varlink_type
;
33766 static int type_init
= 0;
33768 const PyTypeObject tmp
33770 PyObject_HEAD_INIT(NULL
)
33771 0, /* Number of items in variable part (ob_size) */
33772 (char *)"swigvarlink", /* Type name (tp_name) */
33773 sizeof(swig_varlinkobject
), /* Basic size (tp_basicsize) */
33774 0, /* Itemsize (tp_itemsize) */
33775 (destructor
) swig_varlink_dealloc
, /* Deallocator (tp_dealloc) */
33776 (printfunc
) swig_varlink_print
, /* Print (tp_print) */
33777 (getattrfunc
) swig_varlink_getattr
, /* get attr (tp_getattr) */
33778 (setattrfunc
) swig_varlink_setattr
, /* Set attr (tp_setattr) */
33779 0, /* tp_compare */
33780 (reprfunc
) swig_varlink_repr
, /* tp_repr */
33781 0, /* tp_as_number */
33782 0, /* tp_as_sequence */
33783 0, /* tp_as_mapping */
33786 (reprfunc
)swig_varlink_str
, /* tp_str */
33787 0, /* tp_getattro */
33788 0, /* tp_setattro */
33789 0, /* tp_as_buffer */
33791 varlink__doc__
, /* tp_doc */
33792 0, /* tp_traverse */
33794 0, /* tp_richcompare */
33795 0, /* tp_weaklistoffset */
33796 #if PY_VERSION_HEX >= 0x02020000
33797 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, /* tp_iter -> tp_weaklist */
33799 #if PY_VERSION_HEX >= 0x02030000
33802 #ifdef COUNT_ALLOCS
33803 0,0,0,0 /* tp_alloc -> tp_next */
33806 varlink_type
= tmp
;
33807 varlink_type
.ob_type
= &PyType_Type
;
33810 return &varlink_type
;
33813 /* Create a variable linking object for use later */
33814 SWIGINTERN PyObject
*
33815 SWIG_Python_newvarlink(void) {
33816 swig_varlinkobject
*result
= PyObject_NEW(swig_varlinkobject
, swig_varlink_type());
33820 return ((PyObject
*) result
);
33824 SWIG_Python_addvarlink(PyObject
*p
, char *name
, PyObject
*(*get_attr
)(void), int (*set_attr
)(PyObject
*p
)) {
33825 swig_varlinkobject
*v
= (swig_varlinkobject
*) p
;
33826 swig_globalvar
*gv
= (swig_globalvar
*) malloc(sizeof(swig_globalvar
));
33828 size_t size
= strlen(name
)+1;
33829 gv
->name
= (char *)malloc(size
);
33831 strncpy(gv
->name
,name
,size
);
33832 gv
->get_attr
= get_attr
;
33833 gv
->set_attr
= set_attr
;
33834 gv
->next
= v
->vars
;
33840 SWIGINTERN PyObject
*
33842 static PyObject
*_SWIG_globals
= 0;
33843 if (!_SWIG_globals
) _SWIG_globals
= SWIG_newvarlink();
33844 return _SWIG_globals
;
33847 /* -----------------------------------------------------------------------------
33848 * constants/methods manipulation
33849 * ----------------------------------------------------------------------------- */
33851 /* Install Constants */
33853 SWIG_Python_InstallConstants(PyObject
*d
, swig_const_info constants
[]) {
33856 for (i
= 0; constants
[i
].type
; ++i
) {
33857 switch(constants
[i
].type
) {
33858 case SWIG_PY_POINTER
:
33859 obj
= SWIG_NewPointerObj(constants
[i
].pvalue
, *(constants
[i
]).ptype
,0);
33861 case SWIG_PY_BINARY
:
33862 obj
= SWIG_NewPackedObj(constants
[i
].pvalue
, constants
[i
].lvalue
, *(constants
[i
].ptype
));
33869 PyDict_SetItemString(d
, constants
[i
].name
, obj
);
33875 /* -----------------------------------------------------------------------------*/
33876 /* Fix SwigMethods to carry the callback ptrs when needed */
33877 /* -----------------------------------------------------------------------------*/
33880 SWIG_Python_FixMethods(PyMethodDef
*methods
,
33881 swig_const_info
*const_table
,
33882 swig_type_info
**types
,
33883 swig_type_info
**types_initial
) {
33885 for (i
= 0; methods
[i
].ml_name
; ++i
) {
33886 const char *c
= methods
[i
].ml_doc
;
33887 if (c
&& (c
= strstr(c
, "swig_ptr: "))) {
33889 swig_const_info
*ci
= 0;
33890 const char *name
= c
+ 10;
33891 for (j
= 0; const_table
[j
].type
; ++j
) {
33892 if (strncmp(const_table
[j
].name
, name
,
33893 strlen(const_table
[j
].name
)) == 0) {
33894 ci
= &(const_table
[j
]);
33899 size_t shift
= (ci
->ptype
) - types
;
33900 swig_type_info
*ty
= types_initial
[shift
];
33901 size_t ldoc
= (c
- methods
[i
].ml_doc
);
33902 size_t lptr
= strlen(ty
->name
)+2*sizeof(void*)+2;
33903 char *ndoc
= (char*)malloc(ldoc
+ lptr
+ 10);
33906 void *ptr
= (ci
->type
== SWIG_PY_POINTER
) ? ci
->pvalue
: 0;
33908 strncpy(buff
, methods
[i
].ml_doc
, ldoc
);
33910 strncpy(buff
, "swig_ptr: ", 10);
33912 SWIG_PackVoidPtr(buff
, ptr
, ty
->name
, lptr
);
33913 methods
[i
].ml_doc
= ndoc
;
33925 /* -----------------------------------------------------------------------------*
33926 * Partial Init method
33927 * -----------------------------------------------------------------------------*/
33932 SWIGEXPORT
void SWIG_init(void) {
33935 /* Fix SwigMethods to carry the callback ptrs when needed */
33936 SWIG_Python_FixMethods(SwigMethods
, swig_const_table
, swig_types
, swig_type_initial
);
33938 m
= Py_InitModule((char *) SWIG_name
, SwigMethods
);
33939 d
= PyModule_GetDict(m
);
33941 SWIG_InitializeModule(0);
33942 SWIG_InstallConstants(d
,swig_const_table
);
33945 PyDict_SetItemString(d
,(char*)"cvar", SWIG_globals());
33946 SWIG_addvarlink(SWIG_globals(),(char*)"FrameNameStr",FrameNameStr_get
, FrameNameStr_set
);
33947 SWIG_addvarlink(SWIG_globals(),(char*)"DialogNameStr",DialogNameStr_get
, DialogNameStr_set
);
33948 SWIG_addvarlink(SWIG_globals(),(char*)"StatusLineNameStr",StatusLineNameStr_get
, StatusLineNameStr_set
);
33949 SWIG_addvarlink(SWIG_globals(),(char*)"ToolBarNameStr",ToolBarNameStr_get
, ToolBarNameStr_set
);
33950 SWIG_Python_SetConstant(d
, "STAY_ON_TOP",SWIG_From_int(static_cast< int >(wxSTAY_ON_TOP
)));
33951 SWIG_Python_SetConstant(d
, "ICONIZE",SWIG_From_int(static_cast< int >(wxICONIZE
)));
33952 SWIG_Python_SetConstant(d
, "MINIMIZE",SWIG_From_int(static_cast< int >(wxMINIMIZE
)));
33953 SWIG_Python_SetConstant(d
, "MAXIMIZE",SWIG_From_int(static_cast< int >(wxMAXIMIZE
)));
33954 SWIG_Python_SetConstant(d
, "CLOSE_BOX",SWIG_From_int(static_cast< int >(wxCLOSE_BOX
)));
33955 SWIG_Python_SetConstant(d
, "THICK_FRAME",SWIG_From_int(static_cast< int >(wxTHICK_FRAME
)));
33956 SWIG_Python_SetConstant(d
, "SYSTEM_MENU",SWIG_From_int(static_cast< int >(wxSYSTEM_MENU
)));
33957 SWIG_Python_SetConstant(d
, "MINIMIZE_BOX",SWIG_From_int(static_cast< int >(wxMINIMIZE_BOX
)));
33958 SWIG_Python_SetConstant(d
, "MAXIMIZE_BOX",SWIG_From_int(static_cast< int >(wxMAXIMIZE_BOX
)));
33959 SWIG_Python_SetConstant(d
, "TINY_CAPTION_HORIZ",SWIG_From_int(static_cast< int >(wxTINY_CAPTION_HORIZ
)));
33960 SWIG_Python_SetConstant(d
, "TINY_CAPTION_VERT",SWIG_From_int(static_cast< int >(wxTINY_CAPTION_VERT
)));
33961 SWIG_Python_SetConstant(d
, "RESIZE_BOX",SWIG_From_int(static_cast< int >(wxRESIZE_BOX
)));
33962 SWIG_Python_SetConstant(d
, "RESIZE_BORDER",SWIG_From_int(static_cast< int >(wxRESIZE_BORDER
)));
33963 SWIG_Python_SetConstant(d
, "DIALOG_NO_PARENT",SWIG_From_int(static_cast< int >(wxDIALOG_NO_PARENT
)));
33964 SWIG_Python_SetConstant(d
, "DEFAULT_FRAME_STYLE",SWIG_From_int(static_cast< int >(wxDEFAULT_FRAME_STYLE
)));
33965 SWIG_Python_SetConstant(d
, "DEFAULT_DIALOG_STYLE",SWIG_From_int(static_cast< int >(wxDEFAULT_DIALOG_STYLE
)));
33966 SWIG_Python_SetConstant(d
, "FRAME_TOOL_WINDOW",SWIG_From_int(static_cast< int >(wxFRAME_TOOL_WINDOW
)));
33967 SWIG_Python_SetConstant(d
, "FRAME_FLOAT_ON_PARENT",SWIG_From_int(static_cast< int >(wxFRAME_FLOAT_ON_PARENT
)));
33968 SWIG_Python_SetConstant(d
, "FRAME_NO_WINDOW_MENU",SWIG_From_int(static_cast< int >(wxFRAME_NO_WINDOW_MENU
)));
33969 SWIG_Python_SetConstant(d
, "FRAME_NO_TASKBAR",SWIG_From_int(static_cast< int >(wxFRAME_NO_TASKBAR
)));
33970 SWIG_Python_SetConstant(d
, "FRAME_SHAPED",SWIG_From_int(static_cast< int >(wxFRAME_SHAPED
)));
33971 SWIG_Python_SetConstant(d
, "FRAME_DRAWER",SWIG_From_int(static_cast< int >(wxFRAME_DRAWER
)));
33972 SWIG_Python_SetConstant(d
, "FRAME_EX_METAL",SWIG_From_int(static_cast< int >(wxFRAME_EX_METAL
)));
33973 SWIG_Python_SetConstant(d
, "DIALOG_EX_METAL",SWIG_From_int(static_cast< int >(wxDIALOG_EX_METAL
)));
33974 SWIG_Python_SetConstant(d
, "DIALOG_MODAL",SWIG_From_int(static_cast< int >(wxDIALOG_MODAL
)));
33975 SWIG_Python_SetConstant(d
, "DIALOG_MODELESS",SWIG_From_int(static_cast< int >(wxDIALOG_MODELESS
)));
33976 SWIG_Python_SetConstant(d
, "USER_COLOURS",SWIG_From_int(static_cast< int >(wxUSER_COLOURS
)));
33977 SWIG_Python_SetConstant(d
, "NO_3D",SWIG_From_int(static_cast< int >(wxNO_3D
)));
33978 SWIG_Python_SetConstant(d
, "FULLSCREEN_NOMENUBAR",SWIG_From_int(static_cast< int >(wxFULLSCREEN_NOMENUBAR
)));
33979 SWIG_Python_SetConstant(d
, "FULLSCREEN_NOTOOLBAR",SWIG_From_int(static_cast< int >(wxFULLSCREEN_NOTOOLBAR
)));
33980 SWIG_Python_SetConstant(d
, "FULLSCREEN_NOSTATUSBAR",SWIG_From_int(static_cast< int >(wxFULLSCREEN_NOSTATUSBAR
)));
33981 SWIG_Python_SetConstant(d
, "FULLSCREEN_NOBORDER",SWIG_From_int(static_cast< int >(wxFULLSCREEN_NOBORDER
)));
33982 SWIG_Python_SetConstant(d
, "FULLSCREEN_NOCAPTION",SWIG_From_int(static_cast< int >(wxFULLSCREEN_NOCAPTION
)));
33983 SWIG_Python_SetConstant(d
, "FULLSCREEN_ALL",SWIG_From_int(static_cast< int >(wxFULLSCREEN_ALL
)));
33984 SWIG_Python_SetConstant(d
, "TOPLEVEL_EX_DIALOG",SWIG_From_int(static_cast< int >(wxTOPLEVEL_EX_DIALOG
)));
33985 SWIG_Python_SetConstant(d
, "USER_ATTENTION_INFO",SWIG_From_int(static_cast< int >(wxUSER_ATTENTION_INFO
)));
33986 SWIG_Python_SetConstant(d
, "USER_ATTENTION_ERROR",SWIG_From_int(static_cast< int >(wxUSER_ATTENTION_ERROR
)));
33987 SWIG_Python_SetConstant(d
, "Dialog_ButtonSizerFlags",SWIG_From_int(static_cast< int >(wxDialog::ButtonSizerFlags
)));
33988 SWIG_Python_SetConstant(d
, "SPLASH_CENTRE_ON_PARENT",SWIG_From_int(static_cast< int >(wxSPLASH_CENTRE_ON_PARENT
)));
33989 SWIG_Python_SetConstant(d
, "SPLASH_CENTRE_ON_SCREEN",SWIG_From_int(static_cast< int >(wxSPLASH_CENTRE_ON_SCREEN
)));
33990 SWIG_Python_SetConstant(d
, "SPLASH_NO_CENTRE",SWIG_From_int(static_cast< int >(wxSPLASH_NO_CENTRE
)));
33991 SWIG_Python_SetConstant(d
, "SPLASH_TIMEOUT",SWIG_From_int(static_cast< int >(wxSPLASH_TIMEOUT
)));
33992 SWIG_Python_SetConstant(d
, "SPLASH_NO_TIMEOUT",SWIG_From_int(static_cast< int >(wxSPLASH_NO_TIMEOUT
)));
33993 SWIG_Python_SetConstant(d
, "SB_NORMAL",SWIG_From_int(static_cast< int >(wxSB_NORMAL
)));
33994 SWIG_Python_SetConstant(d
, "SB_FLAT",SWIG_From_int(static_cast< int >(wxSB_FLAT
)));
33995 SWIG_Python_SetConstant(d
, "SB_RAISED",SWIG_From_int(static_cast< int >(wxSB_RAISED
)));
33996 SWIG_addvarlink(SWIG_globals(),(char*)"SplitterNameStr",SplitterNameStr_get
, SplitterNameStr_set
);
33997 SWIG_Python_SetConstant(d
, "SP_NOBORDER",SWIG_From_int(static_cast< int >(wxSP_NOBORDER
)));
33998 SWIG_Python_SetConstant(d
, "SP_NOSASH",SWIG_From_int(static_cast< int >(wxSP_NOSASH
)));
33999 SWIG_Python_SetConstant(d
, "SP_PERMIT_UNSPLIT",SWIG_From_int(static_cast< int >(wxSP_PERMIT_UNSPLIT
)));
34000 SWIG_Python_SetConstant(d
, "SP_LIVE_UPDATE",SWIG_From_int(static_cast< int >(wxSP_LIVE_UPDATE
)));
34001 SWIG_Python_SetConstant(d
, "SP_3DSASH",SWIG_From_int(static_cast< int >(wxSP_3DSASH
)));
34002 SWIG_Python_SetConstant(d
, "SP_3DBORDER",SWIG_From_int(static_cast< int >(wxSP_3DBORDER
)));
34003 SWIG_Python_SetConstant(d
, "SP_NO_XP_THEME",SWIG_From_int(static_cast< int >(wxSP_NO_XP_THEME
)));
34004 SWIG_Python_SetConstant(d
, "SP_BORDER",SWIG_From_int(static_cast< int >(wxSP_BORDER
)));
34005 SWIG_Python_SetConstant(d
, "SP_3D",SWIG_From_int(static_cast< int >(wxSP_3D
)));
34006 SWIG_Python_SetConstant(d
, "SPLIT_HORIZONTAL",SWIG_From_int(static_cast< int >(wxSPLIT_HORIZONTAL
)));
34007 SWIG_Python_SetConstant(d
, "SPLIT_VERTICAL",SWIG_From_int(static_cast< int >(wxSPLIT_VERTICAL
)));
34008 SWIG_Python_SetConstant(d
, "SPLIT_DRAG_NONE",SWIG_From_int(static_cast< int >(wxSPLIT_DRAG_NONE
)));
34009 SWIG_Python_SetConstant(d
, "SPLIT_DRAG_DRAGGING",SWIG_From_int(static_cast< int >(wxSPLIT_DRAG_DRAGGING
)));
34010 SWIG_Python_SetConstant(d
, "SPLIT_DRAG_LEFT_DOWN",SWIG_From_int(static_cast< int >(wxSPLIT_DRAG_LEFT_DOWN
)));
34011 PyDict_SetItemString(d
, "wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGED", PyInt_FromLong(wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGED
));
34012 PyDict_SetItemString(d
, "wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGING", PyInt_FromLong(wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGING
));
34013 PyDict_SetItemString(d
, "wxEVT_COMMAND_SPLITTER_DOUBLECLICKED", PyInt_FromLong(wxEVT_COMMAND_SPLITTER_DOUBLECLICKED
));
34014 PyDict_SetItemString(d
, "wxEVT_COMMAND_SPLITTER_UNSPLIT", PyInt_FromLong(wxEVT_COMMAND_SPLITTER_UNSPLIT
));
34015 SWIG_addvarlink(SWIG_globals(),(char*)"SashNameStr",SashNameStr_get
, SashNameStr_set
);
34016 SWIG_addvarlink(SWIG_globals(),(char*)"SashLayoutNameStr",SashLayoutNameStr_get
, SashLayoutNameStr_set
);
34017 SWIG_Python_SetConstant(d
, "SASH_DRAG_NONE",SWIG_From_int(static_cast< int >(wxSASH_DRAG_NONE
)));
34018 SWIG_Python_SetConstant(d
, "SASH_DRAG_DRAGGING",SWIG_From_int(static_cast< int >(wxSASH_DRAG_DRAGGING
)));
34019 SWIG_Python_SetConstant(d
, "SASH_DRAG_LEFT_DOWN",SWIG_From_int(static_cast< int >(wxSASH_DRAG_LEFT_DOWN
)));
34020 SWIG_Python_SetConstant(d
, "SW_NOBORDER",SWIG_From_int(static_cast< int >(wxSW_NOBORDER
)));
34021 SWIG_Python_SetConstant(d
, "SW_BORDER",SWIG_From_int(static_cast< int >(wxSW_BORDER
)));
34022 SWIG_Python_SetConstant(d
, "SW_3DSASH",SWIG_From_int(static_cast< int >(wxSW_3DSASH
)));
34023 SWIG_Python_SetConstant(d
, "SW_3DBORDER",SWIG_From_int(static_cast< int >(wxSW_3DBORDER
)));
34024 SWIG_Python_SetConstant(d
, "SW_3D",SWIG_From_int(static_cast< int >(wxSW_3D
)));
34025 SWIG_Python_SetConstant(d
, "SASH_TOP",SWIG_From_int(static_cast< int >(wxSASH_TOP
)));
34026 SWIG_Python_SetConstant(d
, "SASH_RIGHT",SWIG_From_int(static_cast< int >(wxSASH_RIGHT
)));
34027 SWIG_Python_SetConstant(d
, "SASH_BOTTOM",SWIG_From_int(static_cast< int >(wxSASH_BOTTOM
)));
34028 SWIG_Python_SetConstant(d
, "SASH_LEFT",SWIG_From_int(static_cast< int >(wxSASH_LEFT
)));
34029 SWIG_Python_SetConstant(d
, "SASH_NONE",SWIG_From_int(static_cast< int >(wxSASH_NONE
)));
34030 SWIG_Python_SetConstant(d
, "SASH_STATUS_OK",SWIG_From_int(static_cast< int >(wxSASH_STATUS_OK
)));
34031 SWIG_Python_SetConstant(d
, "SASH_STATUS_OUT_OF_RANGE",SWIG_From_int(static_cast< int >(wxSASH_STATUS_OUT_OF_RANGE
)));
34032 PyDict_SetItemString(d
, "wxEVT_SASH_DRAGGED", PyInt_FromLong(wxEVT_SASH_DRAGGED
));
34033 SWIG_Python_SetConstant(d
, "LAYOUT_HORIZONTAL",SWIG_From_int(static_cast< int >(wxLAYOUT_HORIZONTAL
)));
34034 SWIG_Python_SetConstant(d
, "LAYOUT_VERTICAL",SWIG_From_int(static_cast< int >(wxLAYOUT_VERTICAL
)));
34035 SWIG_Python_SetConstant(d
, "LAYOUT_NONE",SWIG_From_int(static_cast< int >(wxLAYOUT_NONE
)));
34036 SWIG_Python_SetConstant(d
, "LAYOUT_TOP",SWIG_From_int(static_cast< int >(wxLAYOUT_TOP
)));
34037 SWIG_Python_SetConstant(d
, "LAYOUT_LEFT",SWIG_From_int(static_cast< int >(wxLAYOUT_LEFT
)));
34038 SWIG_Python_SetConstant(d
, "LAYOUT_RIGHT",SWIG_From_int(static_cast< int >(wxLAYOUT_RIGHT
)));
34039 SWIG_Python_SetConstant(d
, "LAYOUT_BOTTOM",SWIG_From_int(static_cast< int >(wxLAYOUT_BOTTOM
)));
34040 SWIG_Python_SetConstant(d
, "LAYOUT_LENGTH_Y",SWIG_From_int(static_cast< int >(wxLAYOUT_LENGTH_Y
)));
34041 SWIG_Python_SetConstant(d
, "LAYOUT_LENGTH_X",SWIG_From_int(static_cast< int >(wxLAYOUT_LENGTH_X
)));
34042 SWIG_Python_SetConstant(d
, "LAYOUT_MRU_LENGTH",SWIG_From_int(static_cast< int >(wxLAYOUT_MRU_LENGTH
)));
34043 SWIG_Python_SetConstant(d
, "LAYOUT_QUERY",SWIG_From_int(static_cast< int >(wxLAYOUT_QUERY
)));
34044 PyDict_SetItemString(d
, "wxEVT_QUERY_LAYOUT_INFO", PyInt_FromLong(wxEVT_QUERY_LAYOUT_INFO
));
34045 PyDict_SetItemString(d
, "wxEVT_CALCULATE_LAYOUT", PyInt_FromLong(wxEVT_CALCULATE_LAYOUT
));
34046 SWIG_addvarlink(SWIG_globals(),(char*)"VListBoxNameStr",VListBoxNameStr_get
, VListBoxNameStr_set
);
34048 // Map renamed classes back to their common name for OOR
34049 wxPyPtrTypeMap_Add("wxHtmlListBox", "wxPyHtmlListBox");
34050 wxPyPtrTypeMap_Add("wxVListBox", "wxPyVListBox");
34051 wxPyPtrTypeMap_Add("wxVScrolledWindow", "wxPyVScrolledWindow");
34053 PyDict_SetItemString(d
, "wxEVT_TASKBAR_MOVE", PyInt_FromLong(wxEVT_TASKBAR_MOVE
));
34054 PyDict_SetItemString(d
, "wxEVT_TASKBAR_LEFT_DOWN", PyInt_FromLong(wxEVT_TASKBAR_LEFT_DOWN
));
34055 PyDict_SetItemString(d
, "wxEVT_TASKBAR_LEFT_UP", PyInt_FromLong(wxEVT_TASKBAR_LEFT_UP
));
34056 PyDict_SetItemString(d
, "wxEVT_TASKBAR_RIGHT_DOWN", PyInt_FromLong(wxEVT_TASKBAR_RIGHT_DOWN
));
34057 PyDict_SetItemString(d
, "wxEVT_TASKBAR_RIGHT_UP", PyInt_FromLong(wxEVT_TASKBAR_RIGHT_UP
));
34058 PyDict_SetItemString(d
, "wxEVT_TASKBAR_LEFT_DCLICK", PyInt_FromLong(wxEVT_TASKBAR_LEFT_DCLICK
));
34059 PyDict_SetItemString(d
, "wxEVT_TASKBAR_RIGHT_DCLICK", PyInt_FromLong(wxEVT_TASKBAR_RIGHT_DCLICK
));
34060 SWIG_addvarlink(SWIG_globals(),(char*)"FileSelectorPromptStr",FileSelectorPromptStr_get
, FileSelectorPromptStr_set
);
34061 SWIG_addvarlink(SWIG_globals(),(char*)"DirSelectorPromptStr",DirSelectorPromptStr_get
, DirSelectorPromptStr_set
);
34062 SWIG_addvarlink(SWIG_globals(),(char*)"DirDialogNameStr",DirDialogNameStr_get
, DirDialogNameStr_set
);
34063 SWIG_addvarlink(SWIG_globals(),(char*)"FileSelectorDefaultWildcardStr",FileSelectorDefaultWildcardStr_get
, FileSelectorDefaultWildcardStr_set
);
34064 SWIG_addvarlink(SWIG_globals(),(char*)"GetTextFromUserPromptStr",GetTextFromUserPromptStr_get
, GetTextFromUserPromptStr_set
);
34065 SWIG_addvarlink(SWIG_globals(),(char*)"MessageBoxCaptionStr",MessageBoxCaptionStr_get
, MessageBoxCaptionStr_set
);
34066 SWIG_Python_SetConstant(d
, "DD_NEW_DIR_BUTTON",SWIG_From_int(static_cast< int >(wxDD_NEW_DIR_BUTTON
)));
34067 SWIG_Python_SetConstant(d
, "DD_DEFAULT_STYLE",SWIG_From_int(static_cast< int >(wxDD_DEFAULT_STYLE
)));
34068 SWIG_Python_SetConstant(d
, "DD_CHANGE_DIR",SWIG_From_int(static_cast< int >(wxDD_CHANGE_DIR
)));
34069 SWIG_Python_SetConstant(d
, "OPEN",SWIG_From_int(static_cast< int >(wxOPEN
)));
34070 SWIG_Python_SetConstant(d
, "SAVE",SWIG_From_int(static_cast< int >(wxSAVE
)));
34071 SWIG_Python_SetConstant(d
, "OVERWRITE_PROMPT",SWIG_From_int(static_cast< int >(wxOVERWRITE_PROMPT
)));
34072 SWIG_Python_SetConstant(d
, "FILE_MUST_EXIST",SWIG_From_int(static_cast< int >(wxFILE_MUST_EXIST
)));
34073 SWIG_Python_SetConstant(d
, "MULTIPLE",SWIG_From_int(static_cast< int >(wxMULTIPLE
)));
34074 SWIG_Python_SetConstant(d
, "CHANGE_DIR",SWIG_From_int(static_cast< int >(wxCHANGE_DIR
)));
34075 SWIG_Python_SetConstant(d
, "HIDE_READONLY",SWIG_From_int(static_cast< int >(wxHIDE_READONLY
)));
34076 SWIG_Python_SetConstant(d
, "FD_OPEN",SWIG_From_int(static_cast< int >(wxFD_OPEN
)));
34077 SWIG_Python_SetConstant(d
, "FD_SAVE",SWIG_From_int(static_cast< int >(wxFD_SAVE
)));
34078 SWIG_Python_SetConstant(d
, "FD_OVERWRITE_PROMPT",SWIG_From_int(static_cast< int >(wxFD_OVERWRITE_PROMPT
)));
34079 SWIG_Python_SetConstant(d
, "FD_FILE_MUST_EXIST",SWIG_From_int(static_cast< int >(wxFD_FILE_MUST_EXIST
)));
34080 SWIG_Python_SetConstant(d
, "FD_MULTIPLE",SWIG_From_int(static_cast< int >(wxFD_MULTIPLE
)));
34081 SWIG_Python_SetConstant(d
, "FD_CHANGE_DIR",SWIG_From_int(static_cast< int >(wxFD_CHANGE_DIR
)));
34082 SWIG_Python_SetConstant(d
, "FD_PREVIEW",SWIG_From_int(static_cast< int >(wxFD_PREVIEW
)));
34083 SWIG_Python_SetConstant(d
, "FD_DEFAULT_STYLE",SWIG_From_int(static_cast< int >(wxFD_DEFAULT_STYLE
)));
34084 SWIG_Python_SetConstant(d
, "CHOICEDLG_STYLE",SWIG_From_int(static_cast< int >(wxCHOICEDLG_STYLE
)));
34085 SWIG_Python_SetConstant(d
, "TextEntryDialogStyle",SWIG_From_int(static_cast< int >(wxTextEntryDialogStyle
)));
34086 SWIG_addvarlink(SWIG_globals(),(char*)"GetPasswordFromUserPromptStr",GetPasswordFromUserPromptStr_get
, GetPasswordFromUserPromptStr_set
);
34087 SWIG_Python_SetConstant(d
, "FR_DOWN",SWIG_From_int(static_cast< int >(wxFR_DOWN
)));
34088 SWIG_Python_SetConstant(d
, "FR_WHOLEWORD",SWIG_From_int(static_cast< int >(wxFR_WHOLEWORD
)));
34089 SWIG_Python_SetConstant(d
, "FR_MATCHCASE",SWIG_From_int(static_cast< int >(wxFR_MATCHCASE
)));
34090 SWIG_Python_SetConstant(d
, "FR_REPLACEDIALOG",SWIG_From_int(static_cast< int >(wxFR_REPLACEDIALOG
)));
34091 SWIG_Python_SetConstant(d
, "FR_NOUPDOWN",SWIG_From_int(static_cast< int >(wxFR_NOUPDOWN
)));
34092 SWIG_Python_SetConstant(d
, "FR_NOMATCHCASE",SWIG_From_int(static_cast< int >(wxFR_NOMATCHCASE
)));
34093 SWIG_Python_SetConstant(d
, "FR_NOWHOLEWORD",SWIG_From_int(static_cast< int >(wxFR_NOWHOLEWORD
)));
34094 PyDict_SetItemString(d
, "wxEVT_COMMAND_FIND", PyInt_FromLong(wxEVT_COMMAND_FIND
));
34095 PyDict_SetItemString(d
, "wxEVT_COMMAND_FIND_NEXT", PyInt_FromLong(wxEVT_COMMAND_FIND_NEXT
));
34096 PyDict_SetItemString(d
, "wxEVT_COMMAND_FIND_REPLACE", PyInt_FromLong(wxEVT_COMMAND_FIND_REPLACE
));
34097 PyDict_SetItemString(d
, "wxEVT_COMMAND_FIND_REPLACE_ALL", PyInt_FromLong(wxEVT_COMMAND_FIND_REPLACE_ALL
));
34098 PyDict_SetItemString(d
, "wxEVT_COMMAND_FIND_CLOSE", PyInt_FromLong(wxEVT_COMMAND_FIND_CLOSE
));
34099 SWIG_Python_SetConstant(d
, "IDM_WINDOWTILE",SWIG_From_int(static_cast< int >(4001)));
34100 SWIG_Python_SetConstant(d
, "IDM_WINDOWTILEHOR",SWIG_From_int(static_cast< int >(4001)));
34101 SWIG_Python_SetConstant(d
, "IDM_WINDOWCASCADE",SWIG_From_int(static_cast< int >(4002)));
34102 SWIG_Python_SetConstant(d
, "IDM_WINDOWICONS",SWIG_From_int(static_cast< int >(4003)));
34103 SWIG_Python_SetConstant(d
, "IDM_WINDOWNEXT",SWIG_From_int(static_cast< int >(4004)));
34104 SWIG_Python_SetConstant(d
, "IDM_WINDOWTILEVERT",SWIG_From_int(static_cast< int >(4005)));
34105 SWIG_Python_SetConstant(d
, "IDM_WINDOWPREV",SWIG_From_int(static_cast< int >(4006)));
34106 SWIG_Python_SetConstant(d
, "FIRST_MDI_CHILD",SWIG_From_int(static_cast< int >(4100)));
34107 SWIG_Python_SetConstant(d
, "LAST_MDI_CHILD",SWIG_From_int(static_cast< int >(4600)));
34108 SWIG_addvarlink(SWIG_globals(),(char*)"PrintoutTitleStr",PrintoutTitleStr_get
, PrintoutTitleStr_set
);
34109 SWIG_addvarlink(SWIG_globals(),(char*)"PreviewCanvasNameStr",PreviewCanvasNameStr_get
, PreviewCanvasNameStr_set
);
34110 SWIG_Python_SetConstant(d
, "PRINT_MODE_NONE",SWIG_From_int(static_cast< int >(wxPRINT_MODE_NONE
)));
34111 SWIG_Python_SetConstant(d
, "PRINT_MODE_PREVIEW",SWIG_From_int(static_cast< int >(wxPRINT_MODE_PREVIEW
)));
34112 SWIG_Python_SetConstant(d
, "PRINT_MODE_FILE",SWIG_From_int(static_cast< int >(wxPRINT_MODE_FILE
)));
34113 SWIG_Python_SetConstant(d
, "PRINT_MODE_PRINTER",SWIG_From_int(static_cast< int >(wxPRINT_MODE_PRINTER
)));
34114 SWIG_Python_SetConstant(d
, "PRINT_MODE_STREAM",SWIG_From_int(static_cast< int >(wxPRINT_MODE_STREAM
)));
34115 SWIG_Python_SetConstant(d
, "PRINTBIN_DEFAULT",SWIG_From_int(static_cast< int >(wxPRINTBIN_DEFAULT
)));
34116 SWIG_Python_SetConstant(d
, "PRINTBIN_ONLYONE",SWIG_From_int(static_cast< int >(wxPRINTBIN_ONLYONE
)));
34117 SWIG_Python_SetConstant(d
, "PRINTBIN_LOWER",SWIG_From_int(static_cast< int >(wxPRINTBIN_LOWER
)));
34118 SWIG_Python_SetConstant(d
, "PRINTBIN_MIDDLE",SWIG_From_int(static_cast< int >(wxPRINTBIN_MIDDLE
)));
34119 SWIG_Python_SetConstant(d
, "PRINTBIN_MANUAL",SWIG_From_int(static_cast< int >(wxPRINTBIN_MANUAL
)));
34120 SWIG_Python_SetConstant(d
, "PRINTBIN_ENVELOPE",SWIG_From_int(static_cast< int >(wxPRINTBIN_ENVELOPE
)));
34121 SWIG_Python_SetConstant(d
, "PRINTBIN_ENVMANUAL",SWIG_From_int(static_cast< int >(wxPRINTBIN_ENVMANUAL
)));
34122 SWIG_Python_SetConstant(d
, "PRINTBIN_AUTO",SWIG_From_int(static_cast< int >(wxPRINTBIN_AUTO
)));
34123 SWIG_Python_SetConstant(d
, "PRINTBIN_TRACTOR",SWIG_From_int(static_cast< int >(wxPRINTBIN_TRACTOR
)));
34124 SWIG_Python_SetConstant(d
, "PRINTBIN_SMALLFMT",SWIG_From_int(static_cast< int >(wxPRINTBIN_SMALLFMT
)));
34125 SWIG_Python_SetConstant(d
, "PRINTBIN_LARGEFMT",SWIG_From_int(static_cast< int >(wxPRINTBIN_LARGEFMT
)));
34126 SWIG_Python_SetConstant(d
, "PRINTBIN_LARGECAPACITY",SWIG_From_int(static_cast< int >(wxPRINTBIN_LARGECAPACITY
)));
34127 SWIG_Python_SetConstant(d
, "PRINTBIN_CASSETTE",SWIG_From_int(static_cast< int >(wxPRINTBIN_CASSETTE
)));
34128 SWIG_Python_SetConstant(d
, "PRINTBIN_FORMSOURCE",SWIG_From_int(static_cast< int >(wxPRINTBIN_FORMSOURCE
)));
34129 SWIG_Python_SetConstant(d
, "PRINTBIN_USER",SWIG_From_int(static_cast< int >(wxPRINTBIN_USER
)));
34130 SWIG_Python_SetConstant(d
, "PRINTER_NO_ERROR",SWIG_From_int(static_cast< int >(wxPRINTER_NO_ERROR
)));
34131 SWIG_Python_SetConstant(d
, "PRINTER_CANCELLED",SWIG_From_int(static_cast< int >(wxPRINTER_CANCELLED
)));
34132 SWIG_Python_SetConstant(d
, "PRINTER_ERROR",SWIG_From_int(static_cast< int >(wxPRINTER_ERROR
)));
34133 SWIG_Python_SetConstant(d
, "PREVIEW_PRINT",SWIG_From_int(static_cast< int >(wxPREVIEW_PRINT
)));
34134 SWIG_Python_SetConstant(d
, "PREVIEW_PREVIOUS",SWIG_From_int(static_cast< int >(wxPREVIEW_PREVIOUS
)));
34135 SWIG_Python_SetConstant(d
, "PREVIEW_NEXT",SWIG_From_int(static_cast< int >(wxPREVIEW_NEXT
)));
34136 SWIG_Python_SetConstant(d
, "PREVIEW_ZOOM",SWIG_From_int(static_cast< int >(wxPREVIEW_ZOOM
)));
34137 SWIG_Python_SetConstant(d
, "PREVIEW_FIRST",SWIG_From_int(static_cast< int >(wxPREVIEW_FIRST
)));
34138 SWIG_Python_SetConstant(d
, "PREVIEW_LAST",SWIG_From_int(static_cast< int >(wxPREVIEW_LAST
)));
34139 SWIG_Python_SetConstant(d
, "PREVIEW_GOTO",SWIG_From_int(static_cast< int >(wxPREVIEW_GOTO
)));
34140 SWIG_Python_SetConstant(d
, "PREVIEW_DEFAULT",SWIG_From_int(static_cast< int >(wxPREVIEW_DEFAULT
)));
34141 SWIG_Python_SetConstant(d
, "ID_PREVIEW_CLOSE",SWIG_From_int(static_cast< int >(wxID_PREVIEW_CLOSE
)));
34142 SWIG_Python_SetConstant(d
, "ID_PREVIEW_NEXT",SWIG_From_int(static_cast< int >(wxID_PREVIEW_NEXT
)));
34143 SWIG_Python_SetConstant(d
, "ID_PREVIEW_PREVIOUS",SWIG_From_int(static_cast< int >(wxID_PREVIEW_PREVIOUS
)));
34144 SWIG_Python_SetConstant(d
, "ID_PREVIEW_PRINT",SWIG_From_int(static_cast< int >(wxID_PREVIEW_PRINT
)));
34145 SWIG_Python_SetConstant(d
, "ID_PREVIEW_ZOOM",SWIG_From_int(static_cast< int >(wxID_PREVIEW_ZOOM
)));
34146 SWIG_Python_SetConstant(d
, "ID_PREVIEW_FIRST",SWIG_From_int(static_cast< int >(wxID_PREVIEW_FIRST
)));
34147 SWIG_Python_SetConstant(d
, "ID_PREVIEW_LAST",SWIG_From_int(static_cast< int >(wxID_PREVIEW_LAST
)));
34148 SWIG_Python_SetConstant(d
, "ID_PREVIEW_GOTO",SWIG_From_int(static_cast< int >(wxID_PREVIEW_GOTO
)));
34150 wxPyPtrTypeMap_Add("wxPrintout", "wxPyPrintout");