1 /* ----------------------------------------------------------------------------
2 * This file was automatically generated by SWIG (http://www.swig.org).
5 * This file is not intended to be easily readable and contains a number of
6 * coding conventions designed to improve portability and efficiency. Do not make
7 * changes to this file unless you know what you are doing--modify the SWIG
8 * interface file instead.
9 * ----------------------------------------------------------------------------- */
12 #define SWIG_PYTHON_DIRECTOR_NO_VTABLE
15 template<class T
> class SwigValueWrapper
{
18 SwigValueWrapper() : tt(0) { }
19 SwigValueWrapper(const SwigValueWrapper
<T
>& rhs
) : tt(new T(*rhs
.tt
)) { }
20 SwigValueWrapper(const T
& t
) : tt(new T(t
)) { }
21 ~SwigValueWrapper() { delete tt
; }
22 SwigValueWrapper
& operator=(const T
& t
) { delete tt
; tt
= new T(t
); return *this; }
23 operator T
&() const { return *tt
; }
24 T
*operator&() { return tt
; }
26 SwigValueWrapper
& operator=(const SwigValueWrapper
<T
>& rhs
);
30 /* -----------------------------------------------------------------------------
31 * This section contains generic SWIG labels for method/variable
32 * declarations/attributes, and other compiler dependent labels.
33 * ----------------------------------------------------------------------------- */
35 /* template workaround for compilers that cannot correctly implement the C++ standard */
36 #ifndef SWIGTEMPLATEDISAMBIGUATOR
37 # if defined(__SUNPRO_CC)
38 # if (__SUNPRO_CC <= 0x560)
39 # define SWIGTEMPLATEDISAMBIGUATOR template
41 # define SWIGTEMPLATEDISAMBIGUATOR
44 # define SWIGTEMPLATEDISAMBIGUATOR
48 /* inline attribute */
50 # if defined(__cplusplus) || (defined(__GNUC__) && !defined(__STRICT_ANSI__))
51 # define SWIGINLINE inline
57 /* attribute recognised by some compilers to avoid 'unused' warnings */
59 # if defined(__GNUC__)
60 # if !(defined(__cplusplus)) || (__GNUC__ > 3 || (__GNUC__ == 3 && __GNUC_MINOR__ >= 4))
61 # define SWIGUNUSED __attribute__ ((__unused__))
66 # define SWIGUNUSED __attribute__ ((__unused__))
72 #ifndef SWIGUNUSEDPARM
74 # define SWIGUNUSEDPARM(p)
76 # define SWIGUNUSEDPARM(p) p SWIGUNUSED
80 /* internal SWIG method */
82 # define SWIGINTERN static SWIGUNUSED
85 /* internal inline SWIG method */
86 #ifndef SWIGINTERNINLINE
87 # define SWIGINTERNINLINE SWIGINTERN SWIGINLINE
90 /* exporting methods */
91 #if (__GNUC__ >= 4) || (__GNUC__ == 3 && __GNUC_MINOR__ >= 4)
92 # ifndef GCC_HASCLASSVISIBILITY
93 # define GCC_HASCLASSVISIBILITY
98 # if defined(_WIN32) || defined(__WIN32__) || defined(__CYGWIN__)
99 # if defined(STATIC_LINKED)
102 # define SWIGEXPORT __declspec(dllexport)
105 # if defined(__GNUC__) && defined(GCC_HASCLASSVISIBILITY)
106 # define SWIGEXPORT __attribute__ ((visibility("default")))
113 /* calling conventions for Windows */
115 # if defined(_WIN32) || defined(__WIN32__) || defined(__CYGWIN__)
116 # define SWIGSTDCALL __stdcall
122 /* Deal with Microsoft's attempt at deprecating C standard runtime functions */
123 #if !defined(SWIG_NO_CRT_SECURE_NO_DEPRECATE) && defined(_MSC_VER)
124 # define _CRT_SECURE_NO_DEPRECATE
128 /* Python.h has to appear first */
131 /* -----------------------------------------------------------------------------
134 * This file contains generic CAPI SWIG runtime support for pointer
136 * ----------------------------------------------------------------------------- */
138 /* This should only be incremented when either the layout of swig_type_info changes,
139 or for whatever reason, the runtime changes incompatibly */
140 #define SWIG_RUNTIME_VERSION "2"
142 /* define SWIG_TYPE_TABLE_NAME as "SWIG_TYPE_TABLE" */
143 #ifdef SWIG_TYPE_TABLE
144 # define SWIG_QUOTE_STRING(x) #x
145 # define SWIG_EXPAND_AND_QUOTE_STRING(x) SWIG_QUOTE_STRING(x)
146 # define SWIG_TYPE_TABLE_NAME SWIG_EXPAND_AND_QUOTE_STRING(SWIG_TYPE_TABLE)
148 # define SWIG_TYPE_TABLE_NAME
152 You can use the SWIGRUNTIME and SWIGRUNTIMEINLINE macros for
153 creating a static or dynamic library from the swig runtime code.
154 In 99.9% of the cases, swig just needs to declare them as 'static'.
156 But only do this if is strictly necessary, ie, if you have problems
157 with your compiler or so.
161 # define SWIGRUNTIME SWIGINTERN
164 #ifndef SWIGRUNTIMEINLINE
165 # define SWIGRUNTIMEINLINE SWIGRUNTIME SWIGINLINE
168 /* Generic buffer size */
169 #ifndef SWIG_BUFFER_SIZE
170 # define SWIG_BUFFER_SIZE 1024
173 /* Flags for pointer conversions */
174 #define SWIG_POINTER_DISOWN 0x1
176 /* Flags for new pointer objects */
177 #define SWIG_POINTER_OWN 0x1
181 Flags/methods for returning states.
183 The swig conversion methods, as ConvertPtr, return and integer
184 that tells if the conversion was successful or not. And if not,
185 an error code can be returned (see swigerrors.swg for the codes).
187 Use the following macros/flags to set or process the returning
190 In old swig versions, you usually write code as:
192 if (SWIG_ConvertPtr(obj,vptr,ty.flags) != -1) {
198 Now you can be more explicit as:
200 int res = SWIG_ConvertPtr(obj,vptr,ty.flags);
201 if (SWIG_IsOK(res)) {
207 that seems to be the same, but now you can also do
210 int res = SWIG_ConvertPtr(obj,(void **)(&ptr),ty.flags);
211 if (SWIG_IsOK(res)) {
213 if (SWIG_IsNewObj(res) {
223 I.e., now SWIG_ConvertPtr can return new objects and you can
224 identify the case and take care of the deallocation. Of course that
225 requires also to SWIG_ConvertPtr to return new result values, as
227 int SWIG_ConvertPtr(obj, ptr,...) {
229 if (<need new object>) {
230 *ptr = <ptr to new allocated object>;
233 *ptr = <ptr to old object>;
241 Of course, returning the plain '0(success)/-1(fail)' still works, but you can be
242 more explicit by returning SWIG_BADOBJ, SWIG_ERROR or any of the
245 Finally, if the SWIG_CASTRANK_MODE is enabled, the result code
246 allows to return the 'cast rank', for example, if you have this
253 food(1) // cast rank '1' (1 -> 1.0)
254 fooi(1) // cast rank '0'
256 just use the SWIG_AddCast()/SWIG_CheckState()
261 #define SWIG_ERROR (-1)
262 #define SWIG_IsOK(r) (r >= 0)
263 #define SWIG_ArgError(r) ((r != SWIG_ERROR) ? r : SWIG_TypeError)
265 /* The CastRankLimit says how many bits are used for the cast rank */
266 #define SWIG_CASTRANKLIMIT (1 << 8)
267 /* The NewMask denotes the object was created (using new/malloc) */
268 #define SWIG_NEWOBJMASK (SWIG_CASTRANKLIMIT << 1)
269 /* The TmpMask is for in/out typemaps that use temporal objects */
270 #define SWIG_TMPOBJMASK (SWIG_NEWOBJMASK << 1)
271 /* Simple returning values */
272 #define SWIG_BADOBJ (SWIG_ERROR)
273 #define SWIG_OLDOBJ (SWIG_OK)
274 #define SWIG_NEWOBJ (SWIG_OK | SWIG_NEWOBJMASK)
275 #define SWIG_TMPOBJ (SWIG_OK | SWIG_TMPOBJMASK)
276 /* Check, add and del mask methods */
277 #define SWIG_AddNewMask(r) (SWIG_IsOK(r) ? (r | SWIG_NEWOBJMASK) : r)
278 #define SWIG_DelNewMask(r) (SWIG_IsOK(r) ? (r & ~SWIG_NEWOBJMASK) : r)
279 #define SWIG_IsNewObj(r) (SWIG_IsOK(r) && (r & SWIG_NEWOBJMASK))
280 #define SWIG_AddTmpMask(r) (SWIG_IsOK(r) ? (r | SWIG_TMPOBJMASK) : r)
281 #define SWIG_DelTmpMask(r) (SWIG_IsOK(r) ? (r & ~SWIG_TMPOBJMASK) : r)
282 #define SWIG_IsTmpObj(r) (SWIG_IsOK(r) && (r & SWIG_TMPOBJMASK))
286 #if defined(SWIG_CASTRANK_MODE)
287 # ifndef SWIG_TypeRank
288 # define SWIG_TypeRank unsigned long
290 # ifndef SWIG_MAXCASTRANK /* Default cast allowed */
291 # define SWIG_MAXCASTRANK (2)
293 # define SWIG_CASTRANKMASK ((SWIG_CASTRANKLIMIT) -1)
294 # define SWIG_CastRank(r) (r & SWIG_CASTRANKMASK)
295 SWIGINTERNINLINE
int SWIG_AddCast(int r
) {
296 return SWIG_IsOK(r
) ? ((SWIG_CastRank(r
) < SWIG_MAXCASTRANK
) ? (r
+ 1) : SWIG_ERROR
) : r
;
298 SWIGINTERNINLINE
int SWIG_CheckState(int r
) {
299 return SWIG_IsOK(r
) ? SWIG_CastRank(r
) + 1 : 0;
301 #else /* no cast-rank mode */
302 # define SWIG_AddCast
303 # define SWIG_CheckState(r) (SWIG_IsOK(r) ? 1 : 0)
315 typedef void *(*swig_converter_func
)(void *);
316 typedef struct swig_type_info
*(*swig_dycast_func
)(void **);
318 /* Structure to store inforomation on one type */
319 typedef struct swig_type_info
{
320 const char *name
; /* mangled name of this type */
321 const char *str
; /* human readable name of this type */
322 swig_dycast_func dcast
; /* dynamic cast function down a hierarchy */
323 struct swig_cast_info
*cast
; /* linked list of types that can cast into this type */
324 void *clientdata
; /* language specific type data */
325 int owndata
; /* flag if the structure owns the clientdata */
328 /* Structure to store a type and conversion function used for casting */
329 typedef struct swig_cast_info
{
330 swig_type_info
*type
; /* pointer to type that is equivalent to this type */
331 swig_converter_func converter
; /* function to cast the void pointers */
332 struct swig_cast_info
*next
; /* pointer to next cast in linked list */
333 struct swig_cast_info
*prev
; /* pointer to the previous cast */
336 /* Structure used to store module information
337 * Each module generates one structure like this, and the runtime collects
338 * all of these structures and stores them in a circularly linked list.*/
339 typedef struct swig_module_info
{
340 swig_type_info
**types
; /* Array of pointers to swig_type_info structures that are in this module */
341 size_t size
; /* Number of types in this module */
342 struct swig_module_info
*next
; /* Pointer to next element in circularly linked list */
343 swig_type_info
**type_initial
; /* Array of initially generated type structures */
344 swig_cast_info
**cast_initial
; /* Array of initially generated casting structures */
345 void *clientdata
; /* Language specific module data */
349 Compare two type names skipping the space characters, therefore
350 "char*" == "char *" and "Class<int>" == "Class<int >", etc.
352 Return 0 when the two name types are equivalent, as in
353 strncmp, but skipping ' '.
356 SWIG_TypeNameComp(const char *f1
, const char *l1
,
357 const char *f2
, const char *l2
) {
358 for (;(f1
!= l1
) && (f2
!= l2
); ++f1
, ++f2
) {
359 while ((*f1
== ' ') && (f1
!= l1
)) ++f1
;
360 while ((*f2
== ' ') && (f2
!= l2
)) ++f2
;
361 if (*f1
!= *f2
) return (*f1
> *f2
) ? 1 : -1;
363 return (l1
- f1
) - (l2
- f2
);
367 Check type equivalence in a name list like <name1>|<name2>|...
368 Return 0 if not equal, 1 if equal
371 SWIG_TypeEquiv(const char *nb
, const char *tb
) {
373 const char* te
= tb
+ strlen(tb
);
375 while (!equiv
&& *ne
) {
376 for (nb
= ne
; *ne
; ++ne
) {
377 if (*ne
== '|') break;
379 equiv
= (SWIG_TypeNameComp(nb
, ne
, tb
, te
) == 0) ? 1 : 0;
386 Check type equivalence in a name list like <name1>|<name2>|...
387 Return 0 if equal, -1 if nb < tb, 1 if nb > tb
390 SWIG_TypeCompare(const char *nb
, const char *tb
) {
392 const char* te
= tb
+ strlen(tb
);
394 while (!equiv
&& *ne
) {
395 for (nb
= ne
; *ne
; ++ne
) {
396 if (*ne
== '|') break;
398 equiv
= (SWIG_TypeNameComp(nb
, ne
, tb
, te
) == 0) ? 1 : 0;
405 /* think of this as a c++ template<> or a scheme macro */
406 #define SWIG_TypeCheck_Template(comparison, ty) \
408 swig_cast_info *iter = ty->cast; \
411 if (iter == ty->cast) return iter; \
412 /* Move iter to the top of the linked list */ \
413 iter->prev->next = iter->next; \
415 iter->next->prev = iter->prev; \
416 iter->next = ty->cast; \
418 if (ty->cast) ty->cast->prev = iter; \
430 SWIGRUNTIME swig_cast_info
*
431 SWIG_TypeCheck(const char *c
, swig_type_info
*ty
) {
432 SWIG_TypeCheck_Template(strcmp(iter
->type
->name
, c
) == 0, ty
);
435 /* Same as previous function, except strcmp is replaced with a pointer comparison */
436 SWIGRUNTIME swig_cast_info
*
437 SWIG_TypeCheckStruct(swig_type_info
*from
, swig_type_info
*into
) {
438 SWIG_TypeCheck_Template(iter
->type
== from
, into
);
442 Cast a pointer up an inheritance hierarchy
444 SWIGRUNTIMEINLINE
void *
445 SWIG_TypeCast(swig_cast_info
*ty
, void *ptr
) {
446 return ((!ty
) || (!ty
->converter
)) ? ptr
: (*ty
->converter
)(ptr
);
450 Dynamic pointer casting. Down an inheritance hierarchy
452 SWIGRUNTIME swig_type_info
*
453 SWIG_TypeDynamicCast(swig_type_info
*ty
, void **ptr
) {
454 swig_type_info
*lastty
= ty
;
455 if (!ty
|| !ty
->dcast
) return ty
;
456 while (ty
&& (ty
->dcast
)) {
457 ty
= (*ty
->dcast
)(ptr
);
464 Return the name associated with this type
466 SWIGRUNTIMEINLINE
const char *
467 SWIG_TypeName(const swig_type_info
*ty
) {
472 Return the pretty name associated with this type,
473 that is an unmangled type name in a form presentable to the user.
475 SWIGRUNTIME
const char *
476 SWIG_TypePrettyName(const swig_type_info
*type
) {
477 /* The "str" field contains the equivalent pretty names of the
478 type, separated by vertical-bar characters. We choose
479 to print the last name, as it is often (?) the most
481 if (!type
) return NULL
;
482 if (type
->str
!= NULL
) {
483 const char *last_name
= type
->str
;
485 for (s
= type
->str
; *s
; s
++)
486 if (*s
== '|') last_name
= s
+1;
494 Set the clientdata field for a type
497 SWIG_TypeClientData(swig_type_info
*ti
, void *clientdata
) {
498 swig_cast_info
*cast
= ti
->cast
;
499 /* if (ti->clientdata == clientdata) return; */
500 ti
->clientdata
= clientdata
;
503 if (!cast
->converter
) {
504 swig_type_info
*tc
= cast
->type
;
505 if (!tc
->clientdata
) {
506 SWIG_TypeClientData(tc
, clientdata
);
513 SWIG_TypeNewClientData(swig_type_info
*ti
, void *clientdata
) {
514 SWIG_TypeClientData(ti
, clientdata
);
519 Search for a swig_type_info structure only by mangled name
520 Search is a O(log #types)
522 We start searching at module start, and finish searching when start == end.
523 Note: if start == end at the beginning of the function, we go all the way around
526 SWIGRUNTIME swig_type_info
*
527 SWIG_MangledTypeQueryModule(swig_module_info
*start
,
528 swig_module_info
*end
,
530 swig_module_info
*iter
= start
;
533 register size_t l
= 0;
534 register size_t r
= iter
->size
- 1;
536 /* since l+r >= 0, we can (>> 1) instead (/ 2) */
537 register size_t i
= (l
+ r
) >> 1;
538 const char *iname
= iter
->types
[i
]->name
;
540 register int compare
= strcmp(name
, iname
);
542 return iter
->types
[i
];
543 } else if (compare
< 0) {
549 } else if (compare
> 0) {
553 break; /* should never happen */
558 } while (iter
!= end
);
563 Search for a swig_type_info structure for either a mangled name or a human readable name.
564 It first searches the mangled names of the types, which is a O(log #types)
565 If a type is not found it then searches the human readable names, which is O(#types).
567 We start searching at module start, and finish searching when start == end.
568 Note: if start == end at the beginning of the function, we go all the way around
571 SWIGRUNTIME swig_type_info
*
572 SWIG_TypeQueryModule(swig_module_info
*start
,
573 swig_module_info
*end
,
575 /* STEP 1: Search the name field using binary search */
576 swig_type_info
*ret
= SWIG_MangledTypeQueryModule(start
, end
, name
);
580 /* STEP 2: If the type hasn't been found, do a complete search
581 of the str field (the human readable name) */
582 swig_module_info
*iter
= start
;
584 register size_t i
= 0;
585 for (; i
< iter
->size
; ++i
) {
586 if (iter
->types
[i
]->str
&& (SWIG_TypeEquiv(iter
->types
[i
]->str
, name
)))
587 return iter
->types
[i
];
590 } while (iter
!= end
);
593 /* neither found a match */
598 Pack binary data into a string
601 SWIG_PackData(char *c
, void *ptr
, size_t sz
) {
602 static const char hex
[17] = "0123456789abcdef";
603 register const unsigned char *u
= (unsigned char *) ptr
;
604 register const unsigned char *eu
= u
+ sz
;
605 for (; u
!= eu
; ++u
) {
606 register unsigned char uu
= *u
;
607 *(c
++) = hex
[(uu
& 0xf0) >> 4];
608 *(c
++) = hex
[uu
& 0xf];
614 Unpack binary data from a string
616 SWIGRUNTIME
const char *
617 SWIG_UnpackData(const char *c
, void *ptr
, size_t sz
) {
618 register unsigned char *u
= (unsigned char *) ptr
;
619 register const unsigned char *eu
= u
+ sz
;
620 for (; u
!= eu
; ++u
) {
621 register char d
= *(c
++);
622 register unsigned char uu
;
623 if ((d
>= '0') && (d
<= '9'))
624 uu
= ((d
- '0') << 4);
625 else if ((d
>= 'a') && (d
<= 'f'))
626 uu
= ((d
- ('a'-10)) << 4);
630 if ((d
>= '0') && (d
<= '9'))
632 else if ((d
>= 'a') && (d
<= 'f'))
633 uu
|= (d
- ('a'-10));
642 Pack 'void *' into a string buffer.
645 SWIG_PackVoidPtr(char *buff
, void *ptr
, const char *name
, size_t bsz
) {
647 if ((2*sizeof(void *) + 2) > bsz
) return 0;
649 r
= SWIG_PackData(r
,&ptr
,sizeof(void *));
650 if (strlen(name
) + 1 > (bsz
- (r
- buff
))) return 0;
655 SWIGRUNTIME
const char *
656 SWIG_UnpackVoidPtr(const char *c
, void **ptr
, const char *name
) {
658 if (strcmp(c
,"NULL") == 0) {
665 return SWIG_UnpackData(++c
,ptr
,sizeof(void *));
669 SWIG_PackDataName(char *buff
, void *ptr
, size_t sz
, const char *name
, size_t bsz
) {
671 size_t lname
= (name
? strlen(name
) : 0);
672 if ((2*sz
+ 2 + lname
) > bsz
) return 0;
674 r
= SWIG_PackData(r
,ptr
,sz
);
676 strncpy(r
,name
,lname
+1);
683 SWIGRUNTIME
const char *
684 SWIG_UnpackDataName(const char *c
, void *ptr
, size_t sz
, const char *name
) {
686 if (strcmp(c
,"NULL") == 0) {
693 return SWIG_UnpackData(++c
,ptr
,sz
);
701 #define SWIG_UnknownError -1
702 #define SWIG_IOError -2
703 #define SWIG_RuntimeError -3
704 #define SWIG_IndexError -4
705 #define SWIG_TypeError -5
706 #define SWIG_DivisionByZero -6
707 #define SWIG_OverflowError -7
708 #define SWIG_SyntaxError -8
709 #define SWIG_ValueError -9
710 #define SWIG_SystemError -10
711 #define SWIG_AttributeError -11
712 #define SWIG_MemoryError -12
713 #define SWIG_NullReferenceError -13
717 /* Python.h has to appear first */
720 /* Add PyOS_snprintf for old Pythons */
721 #if PY_VERSION_HEX < 0x02020000
722 # if defined(_MSC_VER) || defined(__BORLANDC__) || defined(_WATCOM)
723 # define PyOS_snprintf _snprintf
725 # define PyOS_snprintf snprintf
729 /* A crude PyString_FromFormat implementation for old Pythons */
730 #if PY_VERSION_HEX < 0x02020000
732 #ifndef SWIG_PYBUFFER_SIZE
733 # define SWIG_PYBUFFER_SIZE 1024
737 PyString_FromFormat(const char *fmt
, ...) {
739 char buf
[SWIG_PYBUFFER_SIZE
* 2];
742 res
= vsnprintf(buf
, sizeof(buf
), fmt
, ap
);
744 return (res
< 0 || res
>= (int)sizeof(buf
)) ? 0 : PyString_FromString(buf
);
748 /* Add PyObject_Del for old Pythons */
749 #if PY_VERSION_HEX < 0x01060000
750 # define PyObject_Del(op) PyMem_DEL((op))
753 # define PyObject_DEL PyObject_Del
756 /* A crude PyExc_StopIteration exception for old Pythons */
757 #if PY_VERSION_HEX < 0x02020000
758 # ifndef PyExc_StopIteration
759 # define PyExc_StopIteration PyExc_RuntimeError
761 # ifndef PyObject_GenericGetAttr
762 # define PyObject_GenericGetAttr 0
765 /* Py_NotImplemented is defined in 2.1 and up. */
766 #if PY_VERSION_HEX < 0x02010000
767 # ifndef Py_NotImplemented
768 # define Py_NotImplemented PyExc_RuntimeError
773 /* A crude PyString_AsStringAndSize implementation for old Pythons */
774 #if PY_VERSION_HEX < 0x02010000
775 # ifndef PyString_AsStringAndSize
776 # define PyString_AsStringAndSize(obj, s, len) {*s = PyString_AsString(obj); *len = *s ? strlen(*s) : 0;}
780 /* PySequence_Size for old Pythons */
781 #if PY_VERSION_HEX < 0x02000000
782 # ifndef PySequence_Size
783 # define PySequence_Size PySequence_Length
788 /* PyBool_FromLong for old Pythons */
789 #if PY_VERSION_HEX < 0x02030000
791 PyObject
*PyBool_FromLong(long ok
)
793 PyObject
*result
= ok
? Py_True
: Py_False
;
800 /* -----------------------------------------------------------------------------
802 * ----------------------------------------------------------------------------- */
804 SWIGRUNTIME PyObject
*
805 SWIG_Python_ErrorType(int code
) {
808 case SWIG_MemoryError
:
809 type
= PyExc_MemoryError
;
812 type
= PyExc_IOError
;
814 case SWIG_RuntimeError
:
815 type
= PyExc_RuntimeError
;
817 case SWIG_IndexError
:
818 type
= PyExc_IndexError
;
821 type
= PyExc_TypeError
;
823 case SWIG_DivisionByZero
:
824 type
= PyExc_ZeroDivisionError
;
826 case SWIG_OverflowError
:
827 type
= PyExc_OverflowError
;
829 case SWIG_SyntaxError
:
830 type
= PyExc_SyntaxError
;
832 case SWIG_ValueError
:
833 type
= PyExc_ValueError
;
835 case SWIG_SystemError
:
836 type
= PyExc_SystemError
;
838 case SWIG_AttributeError
:
839 type
= PyExc_AttributeError
;
842 type
= PyExc_RuntimeError
;
849 SWIG_Python_AddErrorMsg(const char* mesg
)
853 PyObject
*traceback
= 0;
855 if (PyErr_Occurred()) PyErr_Fetch(&type
, &value
, &traceback
);
857 PyObject
*old_str
= PyObject_Str(value
);
860 PyErr_Format(type
, "%s %s", PyString_AsString(old_str
), mesg
);
864 PyErr_Format(PyExc_RuntimeError
, mesg
);
870 #if defined(SWIG_PYTHON_NO_THREADS)
871 # if defined(SWIG_PYTHON_THREADS)
872 # undef SWIG_PYTHON_THREADS
875 #if defined(SWIG_PYTHON_THREADS) /* Threading support is enabled */
876 # if !defined(SWIG_PYTHON_USE_GIL) && !defined(SWIG_PYTHON_NO_USE_GIL)
877 # if (PY_VERSION_HEX >= 0x02030000) /* For 2.3 or later, use the PyGILState calls */
878 # define SWIG_PYTHON_USE_GIL
881 # if defined(SWIG_PYTHON_USE_GIL) /* Use PyGILState threads calls */
882 # ifndef SWIG_PYTHON_INITIALIZE_THREADS
883 # define SWIG_PYTHON_INITIALIZE_THREADS PyEval_InitThreads()
885 # ifdef __cplusplus /* C++ code */
886 class SWIG_Python_Thread_Block
{
888 PyGILState_STATE state
;
890 void end() { if (status
) { PyGILState_Release(state
); status
= false;} }
891 SWIG_Python_Thread_Block() : status(true), state(PyGILState_Ensure()) {}
892 ~SWIG_Python_Thread_Block() { end(); }
894 class SWIG_Python_Thread_Allow
{
898 void end() { if (status
) { PyEval_RestoreThread(save
); status
= false; }}
899 SWIG_Python_Thread_Allow() : status(true), save(PyEval_SaveThread()) {}
900 ~SWIG_Python_Thread_Allow() { end(); }
902 # define SWIG_PYTHON_THREAD_BEGIN_BLOCK SWIG_Python_Thread_Block _swig_thread_block
903 # define SWIG_PYTHON_THREAD_END_BLOCK _swig_thread_block.end()
904 # define SWIG_PYTHON_THREAD_BEGIN_ALLOW SWIG_Python_Thread_Allow _swig_thread_allow
905 # define SWIG_PYTHON_THREAD_END_ALLOW _swig_thread_allow.end()
907 # define SWIG_PYTHON_THREAD_BEGIN_BLOCK PyGILState_STATE _swig_thread_block = PyGILState_Ensure()
908 # define SWIG_PYTHON_THREAD_END_BLOCK PyGILState_Release(_swig_thread_block)
909 # define SWIG_PYTHON_THREAD_BEGIN_ALLOW PyThreadState *_swig_thread_allow = PyEval_SaveThread()
910 # define SWIG_PYTHON_THREAD_END_ALLOW PyEval_RestoreThread(_swig_thread_allow)
912 # else /* Old thread way, not implemented, user must provide it */
913 # if !defined(SWIG_PYTHON_INITIALIZE_THREADS)
914 # define SWIG_PYTHON_INITIALIZE_THREADS
916 # if !defined(SWIG_PYTHON_THREAD_BEGIN_BLOCK)
917 # define SWIG_PYTHON_THREAD_BEGIN_BLOCK
919 # if !defined(SWIG_PYTHON_THREAD_END_BLOCK)
920 # define SWIG_PYTHON_THREAD_END_BLOCK
922 # if !defined(SWIG_PYTHON_THREAD_BEGIN_ALLOW)
923 # define SWIG_PYTHON_THREAD_BEGIN_ALLOW
925 # if !defined(SWIG_PYTHON_THREAD_END_ALLOW)
926 # define SWIG_PYTHON_THREAD_END_ALLOW
929 #else /* No thread support */
930 # define SWIG_PYTHON_INITIALIZE_THREADS
931 # define SWIG_PYTHON_THREAD_BEGIN_BLOCK
932 # define SWIG_PYTHON_THREAD_END_BLOCK
933 # define SWIG_PYTHON_THREAD_BEGIN_ALLOW
934 # define SWIG_PYTHON_THREAD_END_ALLOW
937 /* -----------------------------------------------------------------------------
938 * Python API portion that goes into the runtime
939 * ----------------------------------------------------------------------------- */
948 /* -----------------------------------------------------------------------------
949 * Constant declarations
950 * ----------------------------------------------------------------------------- */
953 #define SWIG_PY_POINTER 4
954 #define SWIG_PY_BINARY 5
956 /* Constant information structure */
957 typedef struct swig_const_info
{
963 swig_type_info
**ptype
;
974 /* -----------------------------------------------------------------------------
975 * See the LICENSE file for information on copyright, usage and redistribution
976 * of SWIG, and the README file for authors - http://www.swig.org/release.html.
980 * This file contains the runtime support for Python modules
981 * and includes code for managing global variables and pointer
984 * ----------------------------------------------------------------------------- */
986 /* Common SWIG API */
988 #if PY_VERSION_HEX < 0x02050000
989 typedef int Py_ssize_t
;
992 /* for raw pointers */
993 #define SWIG_Python_ConvertPtr(obj, pptr, type, flags) SWIG_Python_ConvertPtrAndOwn(obj, pptr, type, flags, 0)
994 #define SWIG_ConvertPtr(obj, pptr, type, flags) SWIG_Python_ConvertPtr(obj, pptr, type, flags)
995 #define SWIG_ConvertPtrAndOwn(obj,pptr,type,flags,own) SWIG_Python_ConvertPtrAndOwn(obj, pptr, type, flags, own)
996 #define SWIG_NewPointerObj(ptr, type, flags) SWIG_Python_NewPointerObj(ptr, type, flags)
997 #define SWIG_CheckImplicit(ty) SWIG_Python_CheckImplicit(ty)
998 #define SWIG_AcquirePtr(ptr, src) SWIG_Python_AcquirePtr(ptr, src)
999 #define swig_owntype int
1001 /* for raw packed data */
1002 #define SWIG_ConvertPacked(obj, ptr, sz, ty) SWIG_Python_ConvertPacked(obj, ptr, sz, ty)
1003 #define SWIG_NewPackedObj(ptr, sz, type) SWIG_Python_NewPackedObj(ptr, sz, type)
1005 /* for class or struct pointers */
1006 #define SWIG_ConvertInstance(obj, pptr, type, flags) SWIG_ConvertPtr(obj, pptr, type, flags)
1007 #define SWIG_NewInstanceObj(ptr, type, flags) SWIG_NewPointerObj(ptr, type, flags)
1009 /* for C or C++ function pointers */
1010 #define SWIG_ConvertFunctionPtr(obj, pptr, type) SWIG_Python_ConvertFunctionPtr(obj, pptr, type)
1011 #define SWIG_NewFunctionPtrObj(ptr, type) SWIG_Python_NewPointerObj(ptr, type, 0)
1013 /* for C++ member pointers, ie, member methods */
1014 #define SWIG_ConvertMember(obj, ptr, sz, ty) SWIG_Python_ConvertPacked(obj, ptr, sz, ty)
1015 #define SWIG_NewMemberObj(ptr, sz, type) SWIG_Python_NewPackedObj(ptr, sz, type)
1020 #define SWIG_GetModule(clientdata) SWIG_Python_GetModule()
1021 #define SWIG_SetModule(clientdata, pointer) SWIG_Python_SetModule(pointer)
1022 #define SWIG_NewClientData(obj) PySwigClientData_New(obj)
1024 #define SWIG_SetErrorObj SWIG_Python_SetErrorObj
1025 #define SWIG_SetErrorMsg SWIG_Python_SetErrorMsg
1026 #define SWIG_ErrorType(code) SWIG_Python_ErrorType(code)
1027 #define SWIG_Error(code, msg) SWIG_Python_SetErrorMsg(SWIG_ErrorType(code), msg)
1028 #define SWIG_fail goto fail
1031 /* Runtime API implementation */
1033 /* Error manipulation */
1036 SWIG_Python_SetErrorObj(PyObject
*errtype
, PyObject
*obj
) {
1037 SWIG_PYTHON_THREAD_BEGIN_BLOCK
;
1038 PyErr_SetObject(errtype
, obj
);
1040 SWIG_PYTHON_THREAD_END_BLOCK
;
1044 SWIG_Python_SetErrorMsg(PyObject
*errtype
, const char *msg
) {
1045 SWIG_PYTHON_THREAD_BEGIN_BLOCK
;
1046 PyErr_SetString(errtype
, (char *) msg
);
1047 SWIG_PYTHON_THREAD_END_BLOCK
;
1050 #define SWIG_Python_Raise(obj, type, desc) SWIG_Python_SetErrorObj(SWIG_Python_ExceptionType(desc), obj)
1052 /* Set a constant value */
1055 SWIG_Python_SetConstant(PyObject
*d
, const char *name
, PyObject
*obj
) {
1056 PyDict_SetItemString(d
, (char*) name
, obj
);
1060 /* Append a value to the result obj */
1062 SWIGINTERN PyObject
*
1063 SWIG_Python_AppendOutput(PyObject
* result
, PyObject
* obj
) {
1064 #if !defined(SWIG_PYTHON_OUTPUT_TUPLE)
1067 } else if (result
== Py_None
) {
1071 if (!PyList_Check(result
)) {
1072 PyObject
*o2
= result
;
1073 result
= PyList_New(1);
1074 PyList_SetItem(result
, 0, o2
);
1076 PyList_Append(result
,obj
);
1085 } else if (result
== Py_None
) {
1089 if (!PyTuple_Check(result
)) {
1091 result
= PyTuple_New(1);
1092 PyTuple_SET_ITEM(result
, 0, o2
);
1094 o3
= PyTuple_New(1);
1095 PyTuple_SET_ITEM(o3
, 0, obj
);
1097 result
= PySequence_Concat(o2
, o3
);
1105 /* Unpack the argument tuple */
1108 SWIG_Python_UnpackTuple(PyObject
*args
, const char *name
, int min
, int max
, PyObject
**objs
)
1114 PyErr_Format(PyExc_TypeError
, "%s expected %s%d arguments, got none",
1115 name
, (min
== max
? "" : "at least "), min
);
1119 if (!PyTuple_Check(args
)) {
1120 PyErr_SetString(PyExc_SystemError
, "UnpackTuple() argument list is not a tuple");
1123 register int l
= PyTuple_GET_SIZE(args
);
1125 PyErr_Format(PyExc_TypeError
, "%s expected %s%d arguments, got %d",
1126 name
, (min
== max
? "" : "at least "), min
, l
);
1128 } else if (l
> max
) {
1129 PyErr_Format(PyExc_TypeError
, "%s expected %s%d arguments, got %d",
1130 name
, (min
== max
? "" : "at most "), max
, l
);
1134 for (i
= 0; i
< l
; ++i
) {
1135 objs
[i
] = PyTuple_GET_ITEM(args
, i
);
1137 for (; l
< max
; ++l
) {
1145 /* A functor is a function object with one single object argument */
1146 #if PY_VERSION_HEX >= 0x02020000
1147 #define SWIG_Python_CallFunctor(functor, obj) PyObject_CallFunctionObjArgs(functor, obj, NULL);
1149 #define SWIG_Python_CallFunctor(functor, obj) PyObject_CallFunction(functor, "O", obj);
1153 Helper for static pointer initialization for both C and C++ code, for example
1154 static PyObject *SWIG_STATIC_POINTER(MyVar) = NewSomething(...);
1157 #define SWIG_STATIC_POINTER(var) var
1159 #define SWIG_STATIC_POINTER(var) var = 0; if (!var) var
1162 /* -----------------------------------------------------------------------------
1163 * Pointer declarations
1164 * ----------------------------------------------------------------------------- */
1166 /* Flags for new pointer objects */
1167 #define SWIG_POINTER_NOSHADOW (SWIG_POINTER_OWN << 1)
1168 #define SWIG_POINTER_NEW (SWIG_POINTER_NOSHADOW | SWIG_POINTER_OWN)
1170 #define SWIG_POINTER_IMPLICIT_CONV (SWIG_POINTER_DISOWN << 1)
1179 /* How to access Py_None */
1180 #if defined(_WIN32) || defined(__WIN32__) || defined(__CYGWIN__)
1181 # ifndef SWIG_PYTHON_NO_BUILD_NONE
1182 # ifndef SWIG_PYTHON_BUILD_NONE
1183 # define SWIG_PYTHON_BUILD_NONE
1188 #ifdef SWIG_PYTHON_BUILD_NONE
1191 # define Py_None SWIG_Py_None()
1193 SWIGRUNTIMEINLINE PyObject
*
1196 PyObject
*none
= Py_BuildValue("");
1200 SWIGRUNTIME PyObject
*
1203 static PyObject
*SWIG_STATIC_POINTER(none
) = _SWIG_Py_None();
1208 /* The python void return value */
1210 SWIGRUNTIMEINLINE PyObject
*
1213 PyObject
*none
= Py_None
;
1218 /* PySwigClientData */
1229 SWIGRUNTIMEINLINE
int
1230 SWIG_Python_CheckImplicit(swig_type_info
*ty
)
1232 PySwigClientData
*data
= (PySwigClientData
*)ty
->clientdata
;
1233 return data
? data
->implicitconv
: 0;
1236 SWIGRUNTIMEINLINE PyObject
*
1237 SWIG_Python_ExceptionType(swig_type_info
*desc
) {
1238 PySwigClientData
*data
= desc
? (PySwigClientData
*) desc
->clientdata
: 0;
1239 PyObject
*klass
= data
? data
->klass
: 0;
1240 return (klass
? klass
: PyExc_RuntimeError
);
1244 SWIGRUNTIME PySwigClientData
*
1245 PySwigClientData_New(PyObject
* obj
)
1250 PySwigClientData
*data
= (PySwigClientData
*)malloc(sizeof(PySwigClientData
));
1251 /* the klass element */
1253 Py_INCREF(data
->klass
);
1254 /* the newraw method and newargs arguments used to create a new raw instance */
1255 if (PyClass_Check(obj
)) {
1257 data
->newargs
= obj
;
1260 #if (PY_VERSION_HEX < 0x02020000)
1263 data
->newraw
= PyObject_GetAttrString(data
->klass
, (char *)"__new__");
1266 Py_INCREF(data
->newraw
);
1267 data
->newargs
= PyTuple_New(1);
1268 PyTuple_SetItem(data
->newargs
, 0, obj
);
1270 data
->newargs
= obj
;
1272 Py_INCREF(data
->newargs
);
1274 /* the destroy method, aka as the C++ delete method */
1275 data
->destroy
= PyObject_GetAttrString(data
->klass
, (char *)"__swig_destroy__");
1276 if (PyErr_Occurred()) {
1280 if (data
->destroy
) {
1282 Py_INCREF(data
->destroy
);
1283 flags
= PyCFunction_GET_FLAGS(data
->destroy
);
1285 data
->delargs
= !(flags
& (METH_O
));
1292 data
->implicitconv
= 0;
1298 PySwigClientData_Del(PySwigClientData
* data
)
1300 Py_XDECREF(data
->newraw
);
1301 Py_XDECREF(data
->newargs
);
1302 Py_XDECREF(data
->destroy
);
1305 /* =============== PySwigObject =====================*/
1315 SWIGRUNTIME PyObject
*
1316 PySwigObject_long(PySwigObject
*v
)
1318 return PyLong_FromVoidPtr(v
->ptr
);
1321 SWIGRUNTIME PyObject
*
1322 PySwigObject_format(const char* fmt
, PySwigObject
*v
)
1324 PyObject
*res
= NULL
;
1325 PyObject
*args
= PyTuple_New(1);
1327 if (PyTuple_SetItem(args
, 0, PySwigObject_long(v
)) == 0) {
1328 PyObject
*ofmt
= PyString_FromString(fmt
);
1330 res
= PyString_Format(ofmt
,args
);
1339 SWIGRUNTIME PyObject
*
1340 PySwigObject_oct(PySwigObject
*v
)
1342 return PySwigObject_format("%o",v
);
1345 SWIGRUNTIME PyObject
*
1346 PySwigObject_hex(PySwigObject
*v
)
1348 return PySwigObject_format("%x",v
);
1351 SWIGRUNTIME PyObject
*
1353 PySwigObject_repr(PySwigObject
*v
)
1355 PySwigObject_repr(PySwigObject
*v
, PyObject
*args
)
1358 const char *name
= SWIG_TypePrettyName(v
->ty
);
1359 PyObject
*hex
= PySwigObject_hex(v
);
1360 PyObject
*repr
= PyString_FromFormat("<Swig Object of type '%s' at 0x%s>", name
, PyString_AsString(hex
));
1364 PyObject
*nrep
= PySwigObject_repr((PySwigObject
*)v
->next
);
1366 PyObject
*nrep
= PySwigObject_repr((PySwigObject
*)v
->next
, args
);
1368 PyString_ConcatAndDel(&repr
,nrep
);
1374 PySwigObject_print(PySwigObject
*v
, FILE *fp
, int SWIGUNUSEDPARM(flags
))
1377 PyObject
*repr
= PySwigObject_repr(v
);
1379 PyObject
*repr
= PySwigObject_repr(v
, NULL
);
1382 fputs(PyString_AsString(repr
), fp
);
1390 SWIGRUNTIME PyObject
*
1391 PySwigObject_str(PySwigObject
*v
)
1393 char result
[SWIG_BUFFER_SIZE
];
1394 return SWIG_PackVoidPtr(result
, v
->ptr
, v
->ty
->name
, sizeof(result
)) ?
1395 PyString_FromString(result
) : 0;
1399 PySwigObject_compare(PySwigObject
*v
, PySwigObject
*w
)
1403 return (i
< j
) ? -1 : ((i
> j
) ? 1 : 0);
1406 SWIGRUNTIME PyTypeObject
* _PySwigObject_type(void);
1408 SWIGRUNTIME PyTypeObject
*
1409 PySwigObject_type(void) {
1410 static PyTypeObject
*SWIG_STATIC_POINTER(type
) = _PySwigObject_type();
1414 SWIGRUNTIMEINLINE
int
1415 PySwigObject_Check(PyObject
*op
) {
1416 return ((op
)->ob_type
== PySwigObject_type())
1417 || (strcmp((op
)->ob_type
->tp_name
,"PySwigObject") == 0);
1420 SWIGRUNTIME PyObject
*
1421 PySwigObject_New(void *ptr
, swig_type_info
*ty
, int own
);
1424 PySwigObject_dealloc(PyObject
*v
)
1426 PySwigObject
*sobj
= (PySwigObject
*) v
;
1427 PyObject
*next
= sobj
->next
;
1429 swig_type_info
*ty
= sobj
->ty
;
1430 PySwigClientData
*data
= ty
? (PySwigClientData
*) ty
->clientdata
: 0;
1431 PyObject
*destroy
= data
? data
->destroy
: 0;
1433 /* destroy is always a VARARGS method */
1435 if (data
->delargs
) {
1436 /* we need to create a temporal object to carry the destroy operation */
1437 PyObject
*tmp
= PySwigObject_New(sobj
->ptr
, ty
, 0);
1438 res
= SWIG_Python_CallFunctor(destroy
, tmp
);
1441 PyCFunction meth
= PyCFunction_GET_FUNCTION(destroy
);
1442 PyObject
*mself
= PyCFunction_GET_SELF(destroy
);
1443 res
= ((*meth
)(mself
, v
));
1447 const char *name
= SWIG_TypePrettyName(ty
);
1448 #if !defined(SWIG_PYTHON_SILENT_MEMLEAK)
1449 printf("swig/python detected a memory leak of type '%s', no destructor found.\n", name
);
1457 SWIGRUNTIME PyObject
*
1458 PySwigObject_append(PyObject
* v
, PyObject
* next
)
1460 PySwigObject
*sobj
= (PySwigObject
*) v
;
1463 if (!PyArg_ParseTuple(next
,(char *)"O:append", &tmp
)) return NULL
;
1466 if (!PySwigObject_Check(next
)) {
1471 return SWIG_Py_Void();
1474 SWIGRUNTIME PyObject
*
1476 PySwigObject_next(PyObject
* v
)
1478 PySwigObject_next(PyObject
* v
, PyObject
*SWIGUNUSEDPARM(args
))
1481 PySwigObject
*sobj
= (PySwigObject
*) v
;
1483 Py_INCREF(sobj
->next
);
1486 return SWIG_Py_Void();
1490 SWIGINTERN PyObject
*
1492 PySwigObject_disown(PyObject
*v
)
1494 PySwigObject_disown(PyObject
* v
, PyObject
*SWIGUNUSEDPARM(args
))
1497 PySwigObject
*sobj
= (PySwigObject
*)v
;
1499 return SWIG_Py_Void();
1502 SWIGINTERN PyObject
*
1504 PySwigObject_acquire(PyObject
*v
)
1506 PySwigObject_acquire(PyObject
* v
, PyObject
*SWIGUNUSEDPARM(args
))
1509 PySwigObject
*sobj
= (PySwigObject
*)v
;
1510 sobj
->own
= SWIG_POINTER_OWN
;
1511 return SWIG_Py_Void();
1514 SWIGINTERN PyObject
*
1515 PySwigObject_own(PyObject
*v
, PyObject
*args
)
1518 #if (PY_VERSION_HEX < 0x02020000)
1519 if (!PyArg_ParseTuple(args
,(char *)"|O:own",&val
))
1521 if (!PyArg_UnpackTuple(args
, (char *)"own", 0, 1, &val
))
1528 PySwigObject
*sobj
= (PySwigObject
*)v
;
1529 PyObject
*obj
= PyBool_FromLong(sobj
->own
);
1532 if (PyObject_IsTrue(val
)) {
1533 PySwigObject_acquire(v
);
1535 PySwigObject_disown(v
);
1538 if (PyObject_IsTrue(val
)) {
1539 PySwigObject_acquire(v
,args
);
1541 PySwigObject_disown(v
,args
);
1551 swigobject_methods
[] = {
1552 {(char *)"disown", (PyCFunction
)PySwigObject_disown
, METH_NOARGS
, (char *)"releases ownership of the pointer"},
1553 {(char *)"acquire", (PyCFunction
)PySwigObject_acquire
, METH_NOARGS
, (char *)"aquires ownership of the pointer"},
1554 {(char *)"own", (PyCFunction
)PySwigObject_own
, METH_VARARGS
, (char *)"returns/sets ownership of the pointer"},
1555 {(char *)"append", (PyCFunction
)PySwigObject_append
, METH_O
, (char *)"appends another 'this' object"},
1556 {(char *)"next", (PyCFunction
)PySwigObject_next
, METH_NOARGS
, (char *)"returns the next 'this' object"},
1557 {(char *)"__repr__",(PyCFunction
)PySwigObject_repr
, METH_NOARGS
, (char *)"returns object representation"},
1562 swigobject_methods
[] = {
1563 {(char *)"disown", (PyCFunction
)PySwigObject_disown
, METH_VARARGS
, (char *)"releases ownership of the pointer"},
1564 {(char *)"acquire", (PyCFunction
)PySwigObject_acquire
, METH_VARARGS
, (char *)"aquires ownership of the pointer"},
1565 {(char *)"own", (PyCFunction
)PySwigObject_own
, METH_VARARGS
, (char *)"returns/sets ownership of the pointer"},
1566 {(char *)"append", (PyCFunction
)PySwigObject_append
, METH_VARARGS
, (char *)"appends another 'this' object"},
1567 {(char *)"next", (PyCFunction
)PySwigObject_next
, METH_VARARGS
, (char *)"returns the next 'this' object"},
1568 {(char *)"__repr__",(PyCFunction
)PySwigObject_repr
, METH_VARARGS
, (char *)"returns object representation"},
1573 #if PY_VERSION_HEX < 0x02020000
1574 SWIGINTERN PyObject
*
1575 PySwigObject_getattr(PySwigObject
*sobj
,char *name
)
1577 return Py_FindMethod(swigobject_methods
, (PyObject
*)sobj
, name
);
1581 SWIGRUNTIME PyTypeObject
*
1582 _PySwigObject_type(void) {
1583 static char swigobject_doc
[] = "Swig object carries a C/C++ instance pointer";
1585 static PyNumberMethods PySwigObject_as_number
= {
1586 (binaryfunc
)0, /*nb_add*/
1587 (binaryfunc
)0, /*nb_subtract*/
1588 (binaryfunc
)0, /*nb_multiply*/
1589 (binaryfunc
)0, /*nb_divide*/
1590 (binaryfunc
)0, /*nb_remainder*/
1591 (binaryfunc
)0, /*nb_divmod*/
1592 (ternaryfunc
)0,/*nb_power*/
1593 (unaryfunc
)0, /*nb_negative*/
1594 (unaryfunc
)0, /*nb_positive*/
1595 (unaryfunc
)0, /*nb_absolute*/
1596 (inquiry
)0, /*nb_nonzero*/
1603 (coercion
)0, /*nb_coerce*/
1604 (unaryfunc
)PySwigObject_long
, /*nb_int*/
1605 (unaryfunc
)PySwigObject_long
, /*nb_long*/
1606 (unaryfunc
)0, /*nb_float*/
1607 (unaryfunc
)PySwigObject_oct
, /*nb_oct*/
1608 (unaryfunc
)PySwigObject_hex
, /*nb_hex*/
1609 #if PY_VERSION_HEX >= 0x02020000
1610 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0 /* nb_inplace_add -> nb_inplace_true_divide */
1611 #elif PY_VERSION_HEX >= 0x02000000
1612 0,0,0,0,0,0,0,0,0,0,0 /* nb_inplace_add -> nb_inplace_or */
1616 static PyTypeObject pyswigobject_type
;
1617 static int type_init
= 0;
1619 const PyTypeObject tmp
1621 PyObject_HEAD_INIT(NULL
)
1623 (char *)"PySwigObject", /* tp_name */
1624 sizeof(PySwigObject
), /* tp_basicsize */
1625 0, /* tp_itemsize */
1626 (destructor
)PySwigObject_dealloc
, /* tp_dealloc */
1627 (printfunc
)PySwigObject_print
, /* tp_print */
1628 #if PY_VERSION_HEX < 0x02020000
1629 (getattrfunc
)PySwigObject_getattr
, /* tp_getattr */
1631 (getattrfunc
)0, /* tp_getattr */
1633 (setattrfunc
)0, /* tp_setattr */
1634 (cmpfunc
)PySwigObject_compare
, /* tp_compare */
1635 (reprfunc
)PySwigObject_repr
, /* tp_repr */
1636 &PySwigObject_as_number
, /* tp_as_number */
1637 0, /* tp_as_sequence */
1638 0, /* tp_as_mapping */
1639 (hashfunc
)0, /* tp_hash */
1640 (ternaryfunc
)0, /* tp_call */
1641 (reprfunc
)PySwigObject_str
, /* tp_str */
1642 PyObject_GenericGetAttr
, /* tp_getattro */
1643 0, /* tp_setattro */
1644 0, /* tp_as_buffer */
1645 Py_TPFLAGS_DEFAULT
, /* tp_flags */
1646 swigobject_doc
, /* tp_doc */
1647 0, /* tp_traverse */
1649 0, /* tp_richcompare */
1650 0, /* tp_weaklistoffset */
1651 #if PY_VERSION_HEX >= 0x02020000
1653 0, /* tp_iternext */
1654 swigobject_methods
, /* tp_methods */
1659 0, /* tp_descr_get */
1660 0, /* tp_descr_set */
1661 0, /* tp_dictoffset */
1670 0, /* tp_subclasses */
1671 0, /* tp_weaklist */
1673 #if PY_VERSION_HEX >= 0x02030000
1677 0,0,0,0 /* tp_alloc -> tp_next */
1680 pyswigobject_type
= tmp
;
1681 pyswigobject_type
.ob_type
= &PyType_Type
;
1684 return &pyswigobject_type
;
1687 SWIGRUNTIME PyObject
*
1688 PySwigObject_New(void *ptr
, swig_type_info
*ty
, int own
)
1690 PySwigObject
*sobj
= PyObject_NEW(PySwigObject
, PySwigObject_type());
1697 return (PyObject
*)sobj
;
1700 /* -----------------------------------------------------------------------------
1701 * Implements a simple Swig Packed type, and use it instead of string
1702 * ----------------------------------------------------------------------------- */
1712 PySwigPacked_print(PySwigPacked
*v
, FILE *fp
, int SWIGUNUSEDPARM(flags
))
1714 char result
[SWIG_BUFFER_SIZE
];
1715 fputs("<Swig Packed ", fp
);
1716 if (SWIG_PackDataName(result
, v
->pack
, v
->size
, 0, sizeof(result
))) {
1720 fputs(v
->ty
->name
,fp
);
1725 SWIGRUNTIME PyObject
*
1726 PySwigPacked_repr(PySwigPacked
*v
)
1728 char result
[SWIG_BUFFER_SIZE
];
1729 if (SWIG_PackDataName(result
, v
->pack
, v
->size
, 0, sizeof(result
))) {
1730 return PyString_FromFormat("<Swig Packed at %s%s>", result
, v
->ty
->name
);
1732 return PyString_FromFormat("<Swig Packed %s>", v
->ty
->name
);
1736 SWIGRUNTIME PyObject
*
1737 PySwigPacked_str(PySwigPacked
*v
)
1739 char result
[SWIG_BUFFER_SIZE
];
1740 if (SWIG_PackDataName(result
, v
->pack
, v
->size
, 0, sizeof(result
))){
1741 return PyString_FromFormat("%s%s", result
, v
->ty
->name
);
1743 return PyString_FromString(v
->ty
->name
);
1748 PySwigPacked_compare(PySwigPacked
*v
, PySwigPacked
*w
)
1752 int s
= (i
< j
) ? -1 : ((i
> j
) ? 1 : 0);
1753 return s
? s
: strncmp((char *)v
->pack
, (char *)w
->pack
, 2*v
->size
);
1756 SWIGRUNTIME PyTypeObject
* _PySwigPacked_type(void);
1758 SWIGRUNTIME PyTypeObject
*
1759 PySwigPacked_type(void) {
1760 static PyTypeObject
*SWIG_STATIC_POINTER(type
) = _PySwigPacked_type();
1764 SWIGRUNTIMEINLINE
int
1765 PySwigPacked_Check(PyObject
*op
) {
1766 return ((op
)->ob_type
== _PySwigPacked_type())
1767 || (strcmp((op
)->ob_type
->tp_name
,"PySwigPacked") == 0);
1771 PySwigPacked_dealloc(PyObject
*v
)
1773 if (PySwigPacked_Check(v
)) {
1774 PySwigPacked
*sobj
= (PySwigPacked
*) v
;
1780 SWIGRUNTIME PyTypeObject
*
1781 _PySwigPacked_type(void) {
1782 static char swigpacked_doc
[] = "Swig object carries a C/C++ instance pointer";
1783 static PyTypeObject pyswigpacked_type
;
1784 static int type_init
= 0;
1786 const PyTypeObject tmp
1788 PyObject_HEAD_INIT(NULL
)
1790 (char *)"PySwigPacked", /* tp_name */
1791 sizeof(PySwigPacked
), /* tp_basicsize */
1792 0, /* tp_itemsize */
1793 (destructor
)PySwigPacked_dealloc
, /* tp_dealloc */
1794 (printfunc
)PySwigPacked_print
, /* tp_print */
1795 (getattrfunc
)0, /* tp_getattr */
1796 (setattrfunc
)0, /* tp_setattr */
1797 (cmpfunc
)PySwigPacked_compare
, /* tp_compare */
1798 (reprfunc
)PySwigPacked_repr
, /* tp_repr */
1799 0, /* tp_as_number */
1800 0, /* tp_as_sequence */
1801 0, /* tp_as_mapping */
1802 (hashfunc
)0, /* tp_hash */
1803 (ternaryfunc
)0, /* tp_call */
1804 (reprfunc
)PySwigPacked_str
, /* tp_str */
1805 PyObject_GenericGetAttr
, /* tp_getattro */
1806 0, /* tp_setattro */
1807 0, /* tp_as_buffer */
1808 Py_TPFLAGS_DEFAULT
, /* tp_flags */
1809 swigpacked_doc
, /* tp_doc */
1810 0, /* tp_traverse */
1812 0, /* tp_richcompare */
1813 0, /* tp_weaklistoffset */
1814 #if PY_VERSION_HEX >= 0x02020000
1816 0, /* tp_iternext */
1822 0, /* tp_descr_get */
1823 0, /* tp_descr_set */
1824 0, /* tp_dictoffset */
1833 0, /* tp_subclasses */
1834 0, /* tp_weaklist */
1836 #if PY_VERSION_HEX >= 0x02030000
1840 0,0,0,0 /* tp_alloc -> tp_next */
1843 pyswigpacked_type
= tmp
;
1844 pyswigpacked_type
.ob_type
= &PyType_Type
;
1847 return &pyswigpacked_type
;
1850 SWIGRUNTIME PyObject
*
1851 PySwigPacked_New(void *ptr
, size_t size
, swig_type_info
*ty
)
1853 PySwigPacked
*sobj
= PyObject_NEW(PySwigPacked
, PySwigPacked_type());
1855 void *pack
= malloc(size
);
1857 memcpy(pack
, ptr
, size
);
1862 PyObject_DEL((PyObject
*) sobj
);
1866 return (PyObject
*) sobj
;
1869 SWIGRUNTIME swig_type_info
*
1870 PySwigPacked_UnpackData(PyObject
*obj
, void *ptr
, size_t size
)
1872 if (PySwigPacked_Check(obj
)) {
1873 PySwigPacked
*sobj
= (PySwigPacked
*)obj
;
1874 if (sobj
->size
!= size
) return 0;
1875 memcpy(ptr
, sobj
->pack
, size
);
1882 /* -----------------------------------------------------------------------------
1883 * pointers/data manipulation
1884 * ----------------------------------------------------------------------------- */
1886 SWIGRUNTIMEINLINE PyObject
*
1889 return PyString_FromString("this");
1892 SWIGRUNTIME PyObject
*
1895 static PyObject
*SWIG_STATIC_POINTER(swig_this
) = _SWIG_This();
1899 /* #define SWIG_PYTHON_SLOW_GETSET_THIS */
1901 SWIGRUNTIME PySwigObject
*
1902 SWIG_Python_GetSwigThis(PyObject
*pyobj
)
1904 if (PySwigObject_Check(pyobj
)) {
1905 return (PySwigObject
*) pyobj
;
1908 #if (!defined(SWIG_PYTHON_SLOW_GETSET_THIS) && (PY_VERSION_HEX >= 0x02030000))
1909 if (PyInstance_Check(pyobj
)) {
1910 obj
= _PyInstance_Lookup(pyobj
, SWIG_This());
1912 PyObject
**dictptr
= _PyObject_GetDictPtr(pyobj
);
1913 if (dictptr
!= NULL
) {
1914 PyObject
*dict
= *dictptr
;
1915 obj
= dict
? PyDict_GetItem(dict
, SWIG_This()) : 0;
1917 #ifdef PyWeakref_CheckProxy
1918 if (PyWeakref_CheckProxy(pyobj
)) {
1919 PyObject
*wobj
= PyWeakref_GET_OBJECT(pyobj
);
1920 return wobj
? SWIG_Python_GetSwigThis(wobj
) : 0;
1923 obj
= PyObject_GetAttr(pyobj
,SWIG_This());
1927 if (PyErr_Occurred()) PyErr_Clear();
1933 obj
= PyObject_GetAttr(pyobj
,SWIG_This());
1937 if (PyErr_Occurred()) PyErr_Clear();
1941 if (obj
&& !PySwigObject_Check(obj
)) {
1942 /* a PyObject is called 'this', try to get the 'real this'
1943 PySwigObject from it */
1944 return SWIG_Python_GetSwigThis(obj
);
1946 return (PySwigObject
*)obj
;
1950 /* Acquire a pointer value */
1953 SWIG_Python_AcquirePtr(PyObject
*obj
, int own
) {
1955 PySwigObject
*sobj
= SWIG_Python_GetSwigThis(obj
);
1957 int oldown
= sobj
->own
;
1965 /* Convert a pointer value */
1968 SWIG_Python_ConvertPtrAndOwn(PyObject
*obj
, void **ptr
, swig_type_info
*ty
, int flags
, int *own
) {
1969 if (!obj
) return SWIG_ERROR
;
1970 if (obj
== Py_None
) {
1974 PySwigObject
*sobj
= SWIG_Python_GetSwigThis(obj
);
1976 void *vptr
= sobj
->ptr
;
1978 swig_type_info
*to
= sobj
->ty
;
1980 /* no type cast needed */
1981 if (ptr
) *ptr
= vptr
;
1984 swig_cast_info
*tc
= SWIG_TypeCheck(to
->name
,ty
);
1986 sobj
= (PySwigObject
*)sobj
->next
;
1988 if (ptr
) *ptr
= SWIG_TypeCast(tc
,vptr
);
1993 if (ptr
) *ptr
= vptr
;
1998 if (own
) *own
= sobj
->own
;
1999 if (flags
& SWIG_POINTER_DISOWN
) {
2004 int res
= SWIG_ERROR
;
2005 if (flags
& SWIG_POINTER_IMPLICIT_CONV
) {
2006 PySwigClientData
*data
= ty
? (PySwigClientData
*) ty
->clientdata
: 0;
2007 if (data
&& !data
->implicitconv
) {
2008 PyObject
*klass
= data
->klass
;
2011 data
->implicitconv
= 1; /* avoid recursion and call 'explicit' constructors*/
2012 impconv
= SWIG_Python_CallFunctor(klass
, obj
);
2013 data
->implicitconv
= 0;
2014 if (PyErr_Occurred()) {
2019 PySwigObject
*iobj
= SWIG_Python_GetSwigThis(impconv
);
2022 res
= SWIG_Python_ConvertPtrAndOwn((PyObject
*)iobj
, &vptr
, ty
, 0, 0);
2023 if (SWIG_IsOK(res
)) {
2026 /* transfer the ownership to 'ptr' */
2028 res
= SWIG_AddCast(res
);
2029 res
= SWIG_AddNewMask(res
);
2031 res
= SWIG_AddCast(res
);
2045 /* Convert a function ptr value */
2048 SWIG_Python_ConvertFunctionPtr(PyObject
*obj
, void **ptr
, swig_type_info
*ty
) {
2049 if (!PyCFunction_Check(obj
)) {
2050 return SWIG_ConvertPtr(obj
, ptr
, ty
, 0);
2054 /* here we get the method pointer for callbacks */
2055 const char *doc
= (((PyCFunctionObject
*)obj
) -> m_ml
-> ml_doc
);
2056 const char *desc
= doc
? strstr(doc
, "swig_ptr: ") : 0;
2058 desc
= ty
? SWIG_UnpackVoidPtr(desc
+ 10, &vptr
, ty
->name
) : 0;
2059 if (!desc
) return SWIG_ERROR
;
2062 swig_cast_info
*tc
= SWIG_TypeCheck(desc
,ty
);
2063 if (!tc
) return SWIG_ERROR
;
2064 *ptr
= SWIG_TypeCast(tc
,vptr
);
2072 /* Convert a packed value value */
2075 SWIG_Python_ConvertPacked(PyObject
*obj
, void *ptr
, size_t sz
, swig_type_info
*ty
) {
2076 swig_type_info
*to
= PySwigPacked_UnpackData(obj
, ptr
, sz
);
2077 if (!to
) return SWIG_ERROR
;
2080 /* check type cast? */
2081 swig_cast_info
*tc
= SWIG_TypeCheck(to
->name
,ty
);
2082 if (!tc
) return SWIG_ERROR
;
2088 /* -----------------------------------------------------------------------------
2089 * Create a new pointer object
2090 * ----------------------------------------------------------------------------- */
2093 Create a new instance object, whitout calling __init__, and set the
2097 SWIGRUNTIME PyObject
*
2098 SWIG_Python_NewShadowInstance(PySwigClientData
*data
, PyObject
*swig_this
)
2100 #if (PY_VERSION_HEX >= 0x02020000)
2102 PyObject
*newraw
= data
->newraw
;
2104 inst
= PyObject_Call(newraw
, data
->newargs
, NULL
);
2106 #if !defined(SWIG_PYTHON_SLOW_GETSET_THIS)
2107 PyObject
**dictptr
= _PyObject_GetDictPtr(inst
);
2108 if (dictptr
!= NULL
) {
2109 PyObject
*dict
= *dictptr
;
2111 dict
= PyDict_New();
2113 PyDict_SetItem(dict
, SWIG_This(), swig_this
);
2117 PyObject
*key
= SWIG_This();
2118 PyObject_SetAttr(inst
, key
, swig_this
);
2122 PyObject
*dict
= PyDict_New();
2123 PyDict_SetItem(dict
, SWIG_This(), swig_this
);
2124 inst
= PyInstance_NewRaw(data
->newargs
, dict
);
2129 #if (PY_VERSION_HEX >= 0x02010000)
2131 PyObject
*dict
= PyDict_New();
2132 PyDict_SetItem(dict
, SWIG_This(), swig_this
);
2133 inst
= PyInstance_NewRaw(data
->newargs
, dict
);
2135 return (PyObject
*) inst
;
2137 PyInstanceObject
*inst
= PyObject_NEW(PyInstanceObject
, &PyInstance_Type
);
2141 inst
->in_class
= (PyClassObject
*)data
->newargs
;
2142 Py_INCREF(inst
->in_class
);
2143 inst
->in_dict
= PyDict_New();
2144 if (inst
->in_dict
== NULL
) {
2148 #ifdef Py_TPFLAGS_HAVE_WEAKREFS
2149 inst
->in_weakreflist
= NULL
;
2151 #ifdef Py_TPFLAGS_GC
2152 PyObject_GC_Init(inst
);
2154 PyDict_SetItem(inst
->in_dict
, SWIG_This(), swig_this
);
2155 return (PyObject
*) inst
;
2161 SWIG_Python_SetSwigThis(PyObject
*inst
, PyObject
*swig_this
)
2164 #if (PY_VERSION_HEX >= 0x02020000) && !defined(SWIG_PYTHON_SLOW_GETSET_THIS)
2165 PyObject
**dictptr
= _PyObject_GetDictPtr(inst
);
2166 if (dictptr
!= NULL
) {
2169 dict
= PyDict_New();
2172 PyDict_SetItem(dict
, SWIG_This(), swig_this
);
2176 dict
= PyObject_GetAttrString(inst
, "__dict__");
2177 PyDict_SetItem(dict
, SWIG_This(), swig_this
);
2182 SWIGINTERN PyObject
*
2183 SWIG_Python_InitShadowInstance(PyObject
*args
) {
2185 if (!SWIG_Python_UnpackTuple(args
,(char*)"swiginit", 2, 2, obj
)) {
2188 PySwigObject
*sthis
= SWIG_Python_GetSwigThis(obj
[0]);
2190 PySwigObject_append((PyObject
*) sthis
, obj
[1]);
2192 SWIG_Python_SetSwigThis(obj
[0], obj
[1]);
2194 return SWIG_Py_Void();
2198 /* Create a new pointer object */
2200 SWIGRUNTIME PyObject
*
2201 SWIG_Python_NewPointerObj(void *ptr
, swig_type_info
*type
, int flags
) {
2203 return SWIG_Py_Void();
2205 int own
= (flags
& SWIG_POINTER_OWN
) ? SWIG_POINTER_OWN
: 0;
2206 PyObject
*robj
= PySwigObject_New(ptr
, type
, own
);
2207 PySwigClientData
*clientdata
= type
? (PySwigClientData
*)(type
->clientdata
) : 0;
2208 if (clientdata
&& !(flags
& SWIG_POINTER_NOSHADOW
)) {
2209 PyObject
*inst
= SWIG_Python_NewShadowInstance(clientdata
, robj
);
2219 /* Create a new packed object */
2221 SWIGRUNTIMEINLINE PyObject
*
2222 SWIG_Python_NewPackedObj(void *ptr
, size_t sz
, swig_type_info
*type
) {
2223 return ptr
? PySwigPacked_New((void *) ptr
, sz
, type
) : SWIG_Py_Void();
2226 /* -----------------------------------------------------------------------------*
2228 * -----------------------------------------------------------------------------*/
2230 #ifdef SWIG_LINK_RUNTIME
2231 void *SWIG_ReturnGlobalTypeList(void *);
2234 SWIGRUNTIME swig_module_info
*
2235 SWIG_Python_GetModule(void) {
2236 static void *type_pointer
= (void *)0;
2237 /* first check if module already created */
2238 if (!type_pointer
) {
2239 #ifdef SWIG_LINK_RUNTIME
2240 type_pointer
= SWIG_ReturnGlobalTypeList((void *)0);
2242 type_pointer
= PyCObject_Import((char*)"swig_runtime_data" SWIG_RUNTIME_VERSION
,
2243 (char*)"type_pointer" SWIG_TYPE_TABLE_NAME
);
2244 if (PyErr_Occurred()) {
2246 type_pointer
= (void *)0;
2250 return (swig_module_info
*) type_pointer
;
2253 #if PY_MAJOR_VERSION < 2
2254 /* PyModule_AddObject function was introduced in Python 2.0. The following function
2255 is copied out of Python/modsupport.c in python version 2.3.4 */
2257 PyModule_AddObject(PyObject
*m
, char *name
, PyObject
*o
)
2260 if (!PyModule_Check(m
)) {
2261 PyErr_SetString(PyExc_TypeError
,
2262 "PyModule_AddObject() needs module as first arg");
2266 PyErr_SetString(PyExc_TypeError
,
2267 "PyModule_AddObject() needs non-NULL value");
2271 dict
= PyModule_GetDict(m
);
2273 /* Internal error -- modules must have a dict! */
2274 PyErr_Format(PyExc_SystemError
, "module '%s' has no __dict__",
2275 PyModule_GetName(m
));
2278 if (PyDict_SetItemString(dict
, name
, o
))
2286 SWIG_Python_DestroyModule(void *vptr
)
2288 swig_module_info
*swig_module
= (swig_module_info
*) vptr
;
2289 swig_type_info
**types
= swig_module
->types
;
2291 for (i
=0; i
< swig_module
->size
; ++i
) {
2292 swig_type_info
*ty
= types
[i
];
2294 PySwigClientData
*data
= (PySwigClientData
*) ty
->clientdata
;
2295 if (data
) PySwigClientData_Del(data
);
2298 Py_DECREF(SWIG_This());
2302 SWIG_Python_SetModule(swig_module_info
*swig_module
) {
2303 static PyMethodDef swig_empty_runtime_method_table
[] = { {NULL
, NULL
, 0, NULL
} };/* Sentinel */
2305 PyObject
*module = Py_InitModule((char*)"swig_runtime_data" SWIG_RUNTIME_VERSION
,
2306 swig_empty_runtime_method_table
);
2307 PyObject
*pointer
= PyCObject_FromVoidPtr((void *) swig_module
, SWIG_Python_DestroyModule
);
2308 if (pointer
&& module) {
2309 PyModule_AddObject(module, (char*)"type_pointer" SWIG_TYPE_TABLE_NAME
, pointer
);
2311 Py_XDECREF(pointer
);
2315 /* The python cached type query */
2316 SWIGRUNTIME PyObject
*
2317 SWIG_Python_TypeCache() {
2318 static PyObject
*SWIG_STATIC_POINTER(cache
) = PyDict_New();
2322 SWIGRUNTIME swig_type_info
*
2323 SWIG_Python_TypeQuery(const char *type
)
2325 PyObject
*cache
= SWIG_Python_TypeCache();
2326 PyObject
*key
= PyString_FromString(type
);
2327 PyObject
*obj
= PyDict_GetItem(cache
, key
);
2328 swig_type_info
*descriptor
;
2330 descriptor
= (swig_type_info
*) PyCObject_AsVoidPtr(obj
);
2332 swig_module_info
*swig_module
= SWIG_Python_GetModule();
2333 descriptor
= SWIG_TypeQueryModule(swig_module
, swig_module
, type
);
2335 obj
= PyCObject_FromVoidPtr(descriptor
, NULL
);
2336 PyDict_SetItem(cache
, key
, obj
);
2345 For backward compatibility only
2347 #define SWIG_POINTER_EXCEPTION 0
2348 #define SWIG_arg_fail(arg) SWIG_Python_ArgFail(arg)
2349 #define SWIG_MustGetPtr(p, type, argnum, flags) SWIG_Python_MustGetPtr(p, type, argnum, flags)
2352 SWIG_Python_AddErrMesg(const char* mesg
, int infront
)
2354 if (PyErr_Occurred()) {
2356 PyObject
*value
= 0;
2357 PyObject
*traceback
= 0;
2358 PyErr_Fetch(&type
, &value
, &traceback
);
2360 PyObject
*old_str
= PyObject_Str(value
);
2364 PyErr_Format(type
, "%s %s", mesg
, PyString_AsString(old_str
));
2366 PyErr_Format(type
, "%s %s", PyString_AsString(old_str
), mesg
);
2377 SWIG_Python_ArgFail(int argnum
)
2379 if (PyErr_Occurred()) {
2380 /* add information about failing argument */
2382 PyOS_snprintf(mesg
, sizeof(mesg
), "argument number %d:", argnum
);
2383 return SWIG_Python_AddErrMesg(mesg
, 1);
2389 SWIGRUNTIMEINLINE
const char *
2390 PySwigObject_GetDesc(PyObject
*self
)
2392 PySwigObject
*v
= (PySwigObject
*)self
;
2393 swig_type_info
*ty
= v
? v
->ty
: 0;
2394 return ty
? ty
->str
: (char*)"";
2398 SWIG_Python_TypeError(const char *type
, PyObject
*obj
)
2401 #if defined(SWIG_COBJECT_TYPES)
2402 if (obj
&& PySwigObject_Check(obj
)) {
2403 const char *otype
= (const char *) PySwigObject_GetDesc(obj
);
2405 PyErr_Format(PyExc_TypeError
, "a '%s' is expected, 'PySwigObject(%s)' is received",
2412 const char *otype
= (obj
? obj
->ob_type
->tp_name
: 0);
2414 PyObject
*str
= PyObject_Str(obj
);
2415 const char *cstr
= str
? PyString_AsString(str
) : 0;
2417 PyErr_Format(PyExc_TypeError
, "a '%s' is expected, '%s(%s)' is received",
2420 PyErr_Format(PyExc_TypeError
, "a '%s' is expected, '%s' is received",
2427 PyErr_Format(PyExc_TypeError
, "a '%s' is expected", type
);
2429 PyErr_Format(PyExc_TypeError
, "unexpected type is received");
2434 /* Convert a pointer value, signal an exception on a type mismatch */
2436 SWIG_Python_MustGetPtr(PyObject
*obj
, swig_type_info
*ty
, int argnum
, int flags
) {
2438 if (SWIG_Python_ConvertPtr(obj
, &result
, ty
, flags
) == -1) {
2440 if (flags
& SWIG_POINTER_EXCEPTION
) {
2441 SWIG_Python_TypeError(SWIG_TypePrettyName(ty
), obj
);
2442 SWIG_Python_ArgFail(argnum
);
2458 #define SWIG_exception_fail(code, msg) do { SWIG_Error(code, msg); SWIG_fail; } while(0)
2460 #define SWIG_contract_assert(expr, msg) if (!(expr)) { SWIG_Error(SWIG_RuntimeError, msg); SWIG_fail; } else
2464 /* -------- TYPES TABLE (BEGIN) -------- */
2466 #define SWIGTYPE_p_bool swig_types[0]
2467 #define SWIGTYPE_p_char swig_types[1]
2468 #define SWIGTYPE_p_form_ops_t swig_types[2]
2469 #define SWIGTYPE_p_int swig_types[3]
2470 #define SWIGTYPE_p_unsigned_char swig_types[4]
2471 #define SWIGTYPE_p_unsigned_int swig_types[5]
2472 #define SWIGTYPE_p_unsigned_long swig_types[6]
2473 #define SWIGTYPE_p_wxANIHandler swig_types[7]
2474 #define SWIGTYPE_p_wxAcceleratorTable swig_types[8]
2475 #define SWIGTYPE_p_wxActivateEvent swig_types[9]
2476 #define SWIGTYPE_p_wxArrayInt swig_types[10]
2477 #define SWIGTYPE_p_wxBMPHandler swig_types[11]
2478 #define SWIGTYPE_p_wxBitmap swig_types[12]
2479 #define SWIGTYPE_p_wxBoxSizer swig_types[13]
2480 #define SWIGTYPE_p_wxCURHandler swig_types[14]
2481 #define SWIGTYPE_p_wxCalculateLayoutEvent swig_types[15]
2482 #define SWIGTYPE_p_wxChildFocusEvent swig_types[16]
2483 #define SWIGTYPE_p_wxClipboardTextEvent swig_types[17]
2484 #define SWIGTYPE_p_wxCloseEvent swig_types[18]
2485 #define SWIGTYPE_p_wxColour swig_types[19]
2486 #define SWIGTYPE_p_wxColourData swig_types[20]
2487 #define SWIGTYPE_p_wxColourDialog swig_types[21]
2488 #define SWIGTYPE_p_wxCommandEvent swig_types[22]
2489 #define SWIGTYPE_p_wxContextMenuEvent swig_types[23]
2490 #define SWIGTYPE_p_wxControl swig_types[24]
2491 #define SWIGTYPE_p_wxControlWithItems swig_types[25]
2492 #define SWIGTYPE_p_wxDC swig_types[26]
2493 #define SWIGTYPE_p_wxDateEvent swig_types[27]
2494 #define SWIGTYPE_p_wxDialog swig_types[28]
2495 #define SWIGTYPE_p_wxDirDialog swig_types[29]
2496 #define SWIGTYPE_p_wxDisplayChangedEvent swig_types[30]
2497 #define SWIGTYPE_p_wxDropFilesEvent swig_types[31]
2498 #define SWIGTYPE_p_wxDuplexMode swig_types[32]
2499 #define SWIGTYPE_p_wxEraseEvent swig_types[33]
2500 #define SWIGTYPE_p_wxEvent swig_types[34]
2501 #define SWIGTYPE_p_wxEvtHandler swig_types[35]
2502 #define SWIGTYPE_p_wxFSFile swig_types[36]
2503 #define SWIGTYPE_p_wxFileDialog swig_types[37]
2504 #define SWIGTYPE_p_wxFileSystem swig_types[38]
2505 #define SWIGTYPE_p_wxFindDialogEvent swig_types[39]
2506 #define SWIGTYPE_p_wxFindReplaceData swig_types[40]
2507 #define SWIGTYPE_p_wxFindReplaceDialog swig_types[41]
2508 #define SWIGTYPE_p_wxFlexGridSizer swig_types[42]
2509 #define SWIGTYPE_p_wxFocusEvent swig_types[43]
2510 #define SWIGTYPE_p_wxFont swig_types[44]
2511 #define SWIGTYPE_p_wxFontData swig_types[45]
2512 #define SWIGTYPE_p_wxFontDialog swig_types[46]
2513 #define SWIGTYPE_p_wxFrame swig_types[47]
2514 #define SWIGTYPE_p_wxGBSizerItem swig_types[48]
2515 #define SWIGTYPE_p_wxGIFHandler swig_types[49]
2516 #define SWIGTYPE_p_wxGridBagSizer swig_types[50]
2517 #define SWIGTYPE_p_wxGridSizer swig_types[51]
2518 #define SWIGTYPE_p_wxHtmlLinkInfo swig_types[52]
2519 #define SWIGTYPE_p_wxICOHandler swig_types[53]
2520 #define SWIGTYPE_p_wxIcon swig_types[54]
2521 #define SWIGTYPE_p_wxIconBundle swig_types[55]
2522 #define SWIGTYPE_p_wxIconizeEvent swig_types[56]
2523 #define SWIGTYPE_p_wxIdleEvent swig_types[57]
2524 #define SWIGTYPE_p_wxImage swig_types[58]
2525 #define SWIGTYPE_p_wxImageHandler swig_types[59]
2526 #define SWIGTYPE_p_wxIndividualLayoutConstraint swig_types[60]
2527 #define SWIGTYPE_p_wxInitDialogEvent swig_types[61]
2528 #define SWIGTYPE_p_wxJPEGHandler swig_types[62]
2529 #define SWIGTYPE_p_wxKeyEvent swig_types[63]
2530 #define SWIGTYPE_p_wxLayoutAlgorithm swig_types[64]
2531 #define SWIGTYPE_p_wxLayoutConstraints swig_types[65]
2532 #define SWIGTYPE_p_wxMDIChildFrame swig_types[66]
2533 #define SWIGTYPE_p_wxMDIClientWindow swig_types[67]
2534 #define SWIGTYPE_p_wxMDIParentFrame swig_types[68]
2535 #define SWIGTYPE_p_wxMaximizeEvent swig_types[69]
2536 #define SWIGTYPE_p_wxMenu swig_types[70]
2537 #define SWIGTYPE_p_wxMenuBar swig_types[71]
2538 #define SWIGTYPE_p_wxMenuEvent swig_types[72]
2539 #define SWIGTYPE_p_wxMenuItem swig_types[73]
2540 #define SWIGTYPE_p_wxMessageDialog swig_types[74]
2541 #define SWIGTYPE_p_wxMiniFrame swig_types[75]
2542 #define SWIGTYPE_p_wxMouseCaptureChangedEvent swig_types[76]
2543 #define SWIGTYPE_p_wxMouseCaptureLostEvent swig_types[77]
2544 #define SWIGTYPE_p_wxMouseEvent swig_types[78]
2545 #define SWIGTYPE_p_wxMoveEvent swig_types[79]
2546 #define SWIGTYPE_p_wxMultiChoiceDialog swig_types[80]
2547 #define SWIGTYPE_p_wxNavigationKeyEvent swig_types[81]
2548 #define SWIGTYPE_p_wxNcPaintEvent swig_types[82]
2549 #define SWIGTYPE_p_wxNotifyEvent swig_types[83]
2550 #define SWIGTYPE_p_wxNumberEntryDialog swig_types[84]
2551 #define SWIGTYPE_p_wxObject swig_types[85]
2552 #define SWIGTYPE_p_wxPCXHandler swig_types[86]
2553 #define SWIGTYPE_p_wxPNGHandler swig_types[87]
2554 #define SWIGTYPE_p_wxPNMHandler swig_types[88]
2555 #define SWIGTYPE_p_wxPageSetupDialog swig_types[89]
2556 #define SWIGTYPE_p_wxPageSetupDialogData swig_types[90]
2557 #define SWIGTYPE_p_wxPaintEvent swig_types[91]
2558 #define SWIGTYPE_p_wxPaletteChangedEvent swig_types[92]
2559 #define SWIGTYPE_p_wxPanel swig_types[93]
2560 #define SWIGTYPE_p_wxPaperSize swig_types[94]
2561 #define SWIGTYPE_p_wxPasswordEntryDialog swig_types[95]
2562 #define SWIGTYPE_p_wxPoint swig_types[96]
2563 #define SWIGTYPE_p_wxPopupWindow swig_types[97]
2564 #define SWIGTYPE_p_wxPreviewCanvas swig_types[98]
2565 #define SWIGTYPE_p_wxPreviewControlBar swig_types[99]
2566 #define SWIGTYPE_p_wxPreviewFrame swig_types[100]
2567 #define SWIGTYPE_p_wxPrintData swig_types[101]
2568 #define SWIGTYPE_p_wxPrintDialog swig_types[102]
2569 #define SWIGTYPE_p_wxPrintDialogData swig_types[103]
2570 #define SWIGTYPE_p_wxPrintPreview swig_types[104]
2571 #define SWIGTYPE_p_wxPrinter swig_types[105]
2572 #define SWIGTYPE_p_wxProgressDialog swig_types[106]
2573 #define SWIGTYPE_p_wxPyApp swig_types[107]
2574 #define SWIGTYPE_p_wxPyCommandEvent swig_types[108]
2575 #define SWIGTYPE_p_wxPyEvent swig_types[109]
2576 #define SWIGTYPE_p_wxPyHtmlListBox swig_types[110]
2577 #define SWIGTYPE_p_wxPyImageHandler swig_types[111]
2578 #define SWIGTYPE_p_wxPyPanel swig_types[112]
2579 #define SWIGTYPE_p_wxPyPopupTransientWindow swig_types[113]
2580 #define SWIGTYPE_p_wxPyPreviewControlBar swig_types[114]
2581 #define SWIGTYPE_p_wxPyPreviewFrame swig_types[115]
2582 #define SWIGTYPE_p_wxPyPrintPreview swig_types[116]
2583 #define SWIGTYPE_p_wxPyPrintout swig_types[117]
2584 #define SWIGTYPE_p_wxPyScrolledWindow swig_types[118]
2585 #define SWIGTYPE_p_wxPySizer swig_types[119]
2586 #define SWIGTYPE_p_wxPyTaskBarIcon swig_types[120]
2587 #define SWIGTYPE_p_wxPyVListBox swig_types[121]
2588 #define SWIGTYPE_p_wxPyVScrolledWindow swig_types[122]
2589 #define SWIGTYPE_p_wxPyValidator swig_types[123]
2590 #define SWIGTYPE_p_wxPyWindow swig_types[124]
2591 #define SWIGTYPE_p_wxQueryLayoutInfoEvent swig_types[125]
2592 #define SWIGTYPE_p_wxQueryNewPaletteEvent swig_types[126]
2593 #define SWIGTYPE_p_wxRect swig_types[127]
2594 #define SWIGTYPE_p_wxRegion swig_types[128]
2595 #define SWIGTYPE_p_wxSashEvent swig_types[129]
2596 #define SWIGTYPE_p_wxSashLayoutWindow swig_types[130]
2597 #define SWIGTYPE_p_wxSashWindow swig_types[131]
2598 #define SWIGTYPE_p_wxScrollEvent swig_types[132]
2599 #define SWIGTYPE_p_wxScrollWinEvent swig_types[133]
2600 #define SWIGTYPE_p_wxScrolledWindow swig_types[134]
2601 #define SWIGTYPE_p_wxSetCursorEvent swig_types[135]
2602 #define SWIGTYPE_p_wxShowEvent swig_types[136]
2603 #define SWIGTYPE_p_wxSingleChoiceDialog swig_types[137]
2604 #define SWIGTYPE_p_wxSize swig_types[138]
2605 #define SWIGTYPE_p_wxSizeEvent swig_types[139]
2606 #define SWIGTYPE_p_wxSizer swig_types[140]
2607 #define SWIGTYPE_p_wxSizerItem swig_types[141]
2608 #define SWIGTYPE_p_wxSplashScreen swig_types[142]
2609 #define SWIGTYPE_p_wxSplashScreenWindow swig_types[143]
2610 #define SWIGTYPE_p_wxSplitterEvent swig_types[144]
2611 #define SWIGTYPE_p_wxSplitterWindow swig_types[145]
2612 #define SWIGTYPE_p_wxStaticBoxSizer swig_types[146]
2613 #define SWIGTYPE_p_wxStatusBar swig_types[147]
2614 #define SWIGTYPE_p_wxStdDialogButtonSizer swig_types[148]
2615 #define SWIGTYPE_p_wxString swig_types[149]
2616 #define SWIGTYPE_p_wxSysColourChangedEvent swig_types[150]
2617 #define SWIGTYPE_p_wxTGAHandler swig_types[151]
2618 #define SWIGTYPE_p_wxTIFFHandler swig_types[152]
2619 #define SWIGTYPE_p_wxTaskBarIcon swig_types[153]
2620 #define SWIGTYPE_p_wxTaskBarIconEvent swig_types[154]
2621 #define SWIGTYPE_p_wxTextEntryDialog swig_types[155]
2622 #define SWIGTYPE_p_wxTipWindow swig_types[156]
2623 #define SWIGTYPE_p_wxToolBar swig_types[157]
2624 #define SWIGTYPE_p_wxTopLevelWindow swig_types[158]
2625 #define SWIGTYPE_p_wxUpdateUIEvent swig_types[159]
2626 #define SWIGTYPE_p_wxValidator swig_types[160]
2627 #define SWIGTYPE_p_wxVisualAttributes swig_types[161]
2628 #define SWIGTYPE_p_wxWindow swig_types[162]
2629 #define SWIGTYPE_p_wxWindowCreateEvent swig_types[163]
2630 #define SWIGTYPE_p_wxWindowDestroyEvent swig_types[164]
2631 #define SWIGTYPE_p_wxXPMHandler swig_types[165]
2632 static swig_type_info
*swig_types
[167];
2633 static swig_module_info swig_module
= {swig_types
, 166, 0, 0, 0, 0};
2634 #define SWIG_TypeQuery(name) SWIG_TypeQueryModule(&swig_module, &swig_module, name)
2635 #define SWIG_MangledTypeQuery(name) SWIG_MangledTypeQueryModule(&swig_module, &swig_module, name)
2637 /* -------- TYPES TABLE (END) -------- */
2639 #if (PY_VERSION_HEX <= 0x02000000)
2640 # if !defined(SWIG_PYTHON_CLASSIC)
2641 # error "This python version requires to use swig with the '-classic' option"
2644 #if (PY_VERSION_HEX <= 0x02020000)
2645 # error "This python version requires to use swig with the '-nomodern' option"
2647 #if (PY_VERSION_HEX <= 0x02020000)
2648 # error "This python version requires to use swig with the '-nomodernargs' option"
2651 # error "This python version requires to use swig with the '-nofastunpack' option"
2654 /*-----------------------------------------------
2655 @(target):= _windows_.so
2656 ------------------------------------------------*/
2657 #define SWIG_init init_windows_
2659 #define SWIG_name "_windows_"
2661 #define SWIGVERSION 0x010329
2664 #define SWIG_as_voidptr(a) const_cast< void * >(static_cast< const void * >(a))
2665 #define SWIG_as_voidptrptr(a) ((void)SWIG_as_voidptr(*a),reinterpret_cast< void** >(a))
2668 #include <stdexcept>
2672 class PyObject_ptr
{
2677 PyObject_ptr() :_obj(0)
2681 PyObject_ptr(const PyObject_ptr
& item
) : _obj(item
._obj
)
2686 PyObject_ptr(PyObject
*obj
, bool initial_ref
= true) :_obj(obj
)
2688 if (initial_ref
) Py_XINCREF(_obj
);
2691 PyObject_ptr
& operator=(const PyObject_ptr
& item
)
2693 Py_XINCREF(item
._obj
);
2704 operator PyObject
*() const
2709 PyObject
*operator->() const
2718 struct PyObject_var
: PyObject_ptr
{
2719 PyObject_var(PyObject
* obj
= 0) : PyObject_ptr(obj
, false) { }
2721 PyObject_var
& operator = (PyObject
* obj
)
2731 #include "wx/wxPython/wxPython.h"
2732 #include "wx/wxPython/pyclasses.h"
2735 static const wxString
wxPyEmptyString(wxEmptyString
);
2736 static const wxString
wxPyPanelNameStr(wxPanelNameStr
);
2742 # define LLONG_MIN LONG_LONG_MIN
2745 # define LLONG_MAX LONG_LONG_MAX
2748 # define ULLONG_MAX ULONG_LONG_MAX
2753 SWIG_AsVal_long (PyObject
* obj
, long* val
)
2755 if (PyNumber_Check(obj
)) {
2756 if (val
) *val
= PyInt_AsLong(obj
);
2759 return SWIG_TypeError
;
2764 SWIG_AsVal_int (PyObject
* obj
, int *val
)
2767 int res
= SWIG_AsVal_long (obj
, &v
);
2768 if (SWIG_IsOK(res
)) {
2769 if ((v
< INT_MIN
|| v
> INT_MAX
)) {
2770 return SWIG_OverflowError
;
2772 if (val
) *val
= static_cast< int >(v
);
2780 SWIG_AsVal_bool (PyObject
*obj
, bool *val
)
2782 if (obj
== Py_True
) {
2783 if (val
) *val
= true;
2785 } else if (obj
== Py_False
) {
2786 if (val
) *val
= false;
2790 int res
= SWIG_AddCast(SWIG_AsVal_long (obj
, val
? &v
: 0));
2791 if (SWIG_IsOK(res
) && val
) *val
= v
? true : false;
2797 #define SWIG_From_long PyInt_FromLong
2800 SWIGINTERNINLINE PyObject
*
2801 SWIG_From_int (int value
)
2803 return SWIG_From_long (value
);
2808 SWIG_AsVal_double (PyObject
*obj
, double* val
)
2810 if (PyNumber_Check(obj
)) {
2811 if (val
) *val
= PyFloat_AsDouble(obj
);
2814 return SWIG_TypeError
;
2818 #define SWIG_From_double PyFloat_FromDouble
2820 static const wxString
wxPyFrameNameStr(wxFrameNameStr
);
2821 static const wxString
wxPyDialogNameStr(wxDialogNameStr
);
2822 static const wxString
wxPyStatusLineNameStr(wxStatusLineNameStr
);
2823 static const wxString
wxPyToolBarNameStr(wxToolBarNameStr
);
2824 SWIGINTERN
void wxTopLevelWindow_MacSetMetalAppearance(wxTopLevelWindow
*self
,bool on
){ /*wxPyRaiseNotImplemented();*/ }
2825 SWIGINTERN
bool wxTopLevelWindow_MacGetMetalAppearance(wxTopLevelWindow
const *self
){ /*wxPyRaiseNotImplemented();*/ return false; }
2828 SWIGINTERN wxRect
wxStatusBar_GetFieldRect(wxStatusBar
*self
,int i
){
2830 self
->GetFieldRect(i
, r
);
2833 static const wxString
wxPySplitterNameStr(wxT("splitter"));
2834 static const wxString
wxPySashNameStr(wxT("sashWindow"));
2835 static const wxString
wxPySashLayoutNameStr(wxT("layoutWindow"));
2837 #include <wx/popupwin.h>
2840 class wxPyPopupTransientWindow
: public wxPopupTransientWindow
2843 wxPyPopupTransientWindow() : wxPopupTransientWindow() {}
2844 wxPyPopupTransientWindow(wxWindow
* parent
, int style
= wxBORDER_NONE
)
2845 : wxPopupTransientWindow(parent
, style
) {}
2847 DEC_PYCALLBACK_BOOL_ME(ProcessLeftDown
);
2848 DEC_PYCALLBACK__(OnDismiss
);
2849 DEC_PYCALLBACK_BOOL_(CanDismiss
);
2854 IMP_PYCALLBACK_BOOL_ME(wxPyPopupTransientWindow
, wxPopupTransientWindow
, ProcessLeftDown
);
2855 IMP_PYCALLBACK__(wxPyPopupTransientWindow
, wxPopupTransientWindow
, OnDismiss
);
2856 IMP_PYCALLBACK_BOOL_(wxPyPopupTransientWindow
, wxPopupTransientWindow
, CanDismiss
);
2859 #include <wx/tipwin.h>
2861 SWIGINTERN wxTipWindow
*new_wxTipWindow(wxWindow
*parent
,wxString
const &text
,int maxLength
=100,wxRect
*rectBound
=NULL
){
2862 return new wxTipWindow(parent
, text
, maxLength
, NULL
, rectBound
);
2865 #include <wx/tipwin.h>
2868 #include <wx/vscroll.h>
2871 class wxPyVScrolledWindow
: public wxVScrolledWindow
2873 DECLARE_ABSTRACT_CLASS(wxPyVScrolledWindow
)
2875 wxPyVScrolledWindow() : wxVScrolledWindow() {}
2877 wxPyVScrolledWindow(wxWindow
*parent
,
2878 wxWindowID id
= wxID_ANY
,
2879 const wxPoint
& pos
= wxDefaultPosition
,
2880 const wxSize
& size
= wxDefaultSize
,
2882 const wxString
& name
= wxPyPanelNameStr
)
2883 : wxVScrolledWindow(parent
, id
, pos
, size
, style
, name
)
2886 // Overridable virtuals
2888 // this function must be overridden in the derived class and it should
2889 // return the height of the given line in pixels
2890 DEC_PYCALLBACK_COORD_SIZET_constpure(OnGetLineHeight
);
2893 // this function doesn't have to be overridden but it may be useful to do
2894 // it if calculating the lines heights is a relatively expensive operation
2895 // as it gives the user code a possibility to calculate several of them at
2898 // OnGetLinesHint() is normally called just before OnGetLineHeight() but you
2899 // shouldn't rely on the latter being called for all lines in the interval
2900 // specified here. It is also possible that OnGetLineHeight() will be
2901 // called for the lines outside of this interval, so this is really just a
2902 // hint, not a promise.
2904 // finally note that lineMin is inclusive, while lineMax is exclusive, as
2906 DEC_PYCALLBACK_VOID_SIZETSIZET_const(OnGetLinesHint
);
2909 // when the number of lines changes, we try to estimate the total height
2910 // of all lines which is a rather expensive operation in terms of lines
2911 // access, so if the user code may estimate the average height
2912 // better/faster than we do, it should override this function to implement
2915 // this function should return the best guess for the total height it may
2917 DEC_PYCALLBACK_COORD_const(EstimateTotalHeight
);
2920 // Also expose some other interesting protected methods
2923 // find the index of the line we need to show at the top of the window such
2924 // that the last (fully or partially) visible line is the given one
2925 size_t FindFirstFromBottom(size_t lineLast
, bool fullyVisible
= false)
2926 { return wxVScrolledWindow::FindFirstFromBottom(lineLast
, fullyVisible
); }
2928 // get the total height of the lines between lineMin (inclusive) and
2929 // lineMax (exclusive)
2930 wxCoord
GetLinesHeight(size_t lineMin
, size_t lineMax
) const
2931 { return wxVScrolledWindow::GetLinesHeight(lineMin
, lineMax
); }
2933 // update the thumb size shown by the scrollbar
2934 void UpdateScrollbar() { wxVScrolledWindow::UpdateScrollbar(); }
2936 // remove the scrollbar completely because we don't need it
2937 void RemoveScrollbar() { wxVScrolledWindow::RemoveScrollbar(); }
2942 IMPLEMENT_ABSTRACT_CLASS(wxPyVScrolledWindow
, wxVScrolledWindow
);
2944 IMP_PYCALLBACK_COORD_SIZET_constpure(wxPyVScrolledWindow
, wxVScrolledWindow
, OnGetLineHeight
);
2945 IMP_PYCALLBACK_VOID_SIZETSIZET_const(wxPyVScrolledWindow
, wxVScrolledWindow
, OnGetLinesHint
);
2946 IMP_PYCALLBACK_COORD_const (wxPyVScrolledWindow
, wxVScrolledWindow
, EstimateTotalHeight
);
2950 SWIG_AsVal_unsigned_SS_long (PyObject
* obj
, unsigned long* val
)
2953 if (SWIG_AsVal_long(obj
, &v
) && v
< 0) {
2954 return SWIG_TypeError
;
2957 *val
= (unsigned long)v
;
2962 SWIGINTERNINLINE
int
2963 SWIG_AsVal_size_t (PyObject
* obj
, size_t *val
)
2966 int res
= SWIG_AsVal_unsigned_SS_long (obj
, val
? &v
: 0);
2967 if (SWIG_IsOK(res
) && val
) *val
= static_cast< size_t >(v
);
2972 SWIGINTERNINLINE PyObject
*
2973 SWIG_From_unsigned_SS_long (unsigned long value
)
2975 return (value
> LONG_MAX
) ?
2976 PyLong_FromUnsignedLong(value
) : PyInt_FromLong(static_cast< long >(value
));
2980 SWIGINTERNINLINE PyObject
*
2981 SWIG_From_size_t (size_t value
)
2983 return SWIG_From_unsigned_SS_long (static_cast< unsigned long >(value
));
2987 #include <wx/vlbox.h>
2989 static const wxString
wxPyVListBoxNameStr(wxVListBoxNameStr
);
2991 class wxPyVListBox
: public wxVListBox
2993 DECLARE_ABSTRACT_CLASS(wxPyVListBox
)
2995 wxPyVListBox() : wxVListBox() {}
2997 wxPyVListBox(wxWindow
*parent
,
2998 wxWindowID id
= wxID_ANY
,
2999 const wxPoint
& pos
= wxDefaultPosition
,
3000 const wxSize
& size
= wxDefaultSize
,
3002 const wxString
& name
= wxPyVListBoxNameStr
)
3003 : wxVListBox(parent
, id
, pos
, size
, style
, name
)
3006 // Overridable virtuals
3008 // the derived class must implement this function to actually draw the item
3009 // with the given index on the provided DC
3010 // virtual void OnDrawItem(wxDC& dc, const wxRect& rect, size_t n) const = 0;
3011 DEC_PYCALLBACK__DCRECTSIZET_constpure(OnDrawItem
);
3014 // the derived class must implement this method to return the height of the
3016 // virtual wxCoord OnMeasureItem(size_t n) const = 0;
3017 DEC_PYCALLBACK_COORD_SIZET_constpure(OnMeasureItem
);
3020 // this method may be used to draw separators between the lines; note that
3021 // the rectangle may be modified, typically to deflate it a bit before
3022 // passing to OnDrawItem()
3024 // the base class version doesn't do anything
3025 // virtual void OnDrawSeparator(wxDC& dc, wxRect& rect, size_t n) const;
3026 DEC_PYCALLBACK__DCRECTSIZET2_const(OnDrawSeparator
);
3029 // this method is used to draw the items background and, maybe, a border
3032 // the base class version implements a reasonable default behaviour which
3033 // consists in drawing the selected item with the standard background
3034 // colour and drawing a border around the item if it is either selected or
3036 // virtual void OnDrawBackground(wxDC& dc, const wxRect& rect, size_t n) const;
3037 DEC_PYCALLBACK__DCRECTSIZET_const(OnDrawBackground
);
3043 IMPLEMENT_ABSTRACT_CLASS(wxPyVListBox
, wxVListBox
);
3045 IMP_PYCALLBACK__DCRECTSIZET_constpure(wxPyVListBox
, wxVListBox
, OnDrawItem
);
3046 IMP_PYCALLBACK_COORD_SIZET_constpure (wxPyVListBox
, wxVListBox
, OnMeasureItem
);
3047 IMP_PYCALLBACK__DCRECTSIZET2_const (wxPyVListBox
, wxVListBox
, OnDrawSeparator
);
3048 IMP_PYCALLBACK__DCRECTSIZET_const (wxPyVListBox
, wxVListBox
, OnDrawBackground
);
3051 SWIGINTERN PyObject
*wxPyVListBox_GetFirstSelected(wxPyVListBox
*self
){
3052 unsigned long cookie
= 0;
3053 int selected
= self
->GetFirstSelected(cookie
);
3054 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3055 PyObject
* tup
= PyTuple_New(2);
3056 PyTuple_SET_ITEM(tup
, 0, PyInt_FromLong(selected
));
3057 PyTuple_SET_ITEM(tup
, 1, PyInt_FromLong(cookie
));
3058 wxPyEndBlockThreads(blocked
);
3061 SWIGINTERN PyObject
*wxPyVListBox_GetNextSelected(wxPyVListBox
*self
,unsigned long cookie
){
3062 int selected
= self
->GetNextSelected(cookie
);
3063 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3064 PyObject
* tup
= PyTuple_New(2);
3065 PyTuple_SET_ITEM(tup
, 0, PyInt_FromLong(selected
));
3066 PyTuple_SET_ITEM(tup
, 1, PyInt_FromLong(cookie
));
3067 wxPyEndBlockThreads(blocked
);
3071 #include <wx/htmllbox.h>
3074 class wxPyHtmlListBox
: public wxHtmlListBox
3076 DECLARE_ABSTRACT_CLASS(wxPyHtmlListBox
)
3078 wxPyHtmlListBox() : wxHtmlListBox() {}
3080 wxPyHtmlListBox(wxWindow
*parent
,
3081 wxWindowID id
= wxID_ANY
,
3082 const wxPoint
& pos
= wxDefaultPosition
,
3083 const wxSize
& size
= wxDefaultSize
,
3085 const wxString
& name
= wxPyVListBoxNameStr
)
3086 : wxHtmlListBox(parent
, id
, pos
, size
, style
, name
)
3089 // Overridable virtuals
3091 // this method must be implemented in the derived class and should return
3092 // the body (i.e. without <html>) of the HTML for the given item
3093 DEC_PYCALLBACK_STRING_SIZET_pure(OnGetItem
);
3095 // this function may be overridden to decorate HTML returned by OnGetItem()
3096 DEC_PYCALLBACK_STRING_SIZET(OnGetItemMarkup
);
3098 // These are from wxVListBox
3099 DEC_PYCALLBACK__DCRECTSIZET2_const(OnDrawSeparator
);
3100 DEC_PYCALLBACK__DCRECTSIZET_const(OnDrawBackground
);
3103 // // this method allows to customize the selection appearance: it may be used
3104 // // to specify the colour of the text which normally has the given colour
3105 // // colFg when it is inside the selection
3107 // // by default, the original colour is not used at all and all text has the
3108 // // same (default for this system) colour inside selection
3109 // virtual wxColour GetSelectedTextColour(const wxColour& colFg) const;
3111 // // this is the same as GetSelectedTextColour() but allows to customize the
3112 // // background colour -- this is even more rarely used as you can change it
3113 // // globally using SetSelectionBackground()
3114 // virtual wxColour GetSelectedTextBgColour(const wxColour& colBg) const;
3117 // This method may be overriden to handle clicking on a link in
3118 // the listbox. By default, clicking links is ignored.
3119 virtual void OnLinkClicked(size_t n
,
3120 const wxHtmlLinkInfo
& link
);
3126 IMPLEMENT_ABSTRACT_CLASS(wxPyHtmlListBox
, wxHtmlListBox
)
3128 IMP_PYCALLBACK_STRING_SIZET_pure(wxPyHtmlListBox
, wxHtmlListBox
, OnGetItem
);
3129 IMP_PYCALLBACK_STRING_SIZET (wxPyHtmlListBox
, wxHtmlListBox
, OnGetItemMarkup
);
3130 IMP_PYCALLBACK__DCRECTSIZET2_const (wxPyHtmlListBox
, wxHtmlListBox
, OnDrawSeparator
);
3131 IMP_PYCALLBACK__DCRECTSIZET_const (wxPyHtmlListBox
, wxHtmlListBox
, OnDrawBackground
);
3134 void wxPyHtmlListBox::OnLinkClicked(size_t n
,
3135 const wxHtmlLinkInfo
& link
) {
3137 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3138 if ((found
= wxPyCBH_findCallback(m_myInst
, "OnLinkClicked"))) {
3139 PyObject
* obj
= wxPyConstructObject((void*)&link
, wxT("wxHtmlLinkInfo"), 0);
3140 wxPyCBH_callCallback(m_myInst
, Py_BuildValue("(iO)", n
, obj
));
3143 wxPyEndBlockThreads(blocked
);
3145 wxPyHtmlListBox::OnLinkClicked(n
, link
);
3152 #ifndef wxHAS_TASK_BAR_ICON
3153 // implement dummy classes for platforms that don't have it
3155 class wxTaskBarIcon
: public wxEvtHandler
3158 wxTaskBarIcon() { wxPyRaiseNotImplemented(); }
3162 class wxTaskBarIconEvent
: public wxEvent
3165 wxTaskBarIconEvent(wxEventType
, wxTaskBarIcon
*)
3166 { wxPyRaiseNotImplemented(); }
3167 virtual wxEvent
* Clone() const { return NULL
; }
3168 bool IsOk() const { return false; }
3169 bool IsIconInstalled() const { return false; }
3170 bool SetIcon(const wxIcon
& icon
, const wxString
& tooltip
= wxPyEmptyString
) { return false; }
3171 bool RemoveIcon() { return false; }
3172 bool PopupMenu(wxMenu
*menu
) { return false; }
3176 wxEVT_TASKBAR_MOVE
= 0,
3177 wxEVT_TASKBAR_LEFT_DOWN
= 0,
3178 wxEVT_TASKBAR_LEFT_UP
= 0,
3179 wxEVT_TASKBAR_RIGHT_DOWN
= 0,
3180 wxEVT_TASKBAR_RIGHT_UP
= 0,
3181 wxEVT_TASKBAR_LEFT_DCLICK
= 0,
3182 wxEVT_TASKBAR_RIGHT_DCLICK
= 0,
3187 // Otherwise make a class that can virtualize CreatePopupMenu
3188 class wxPyTaskBarIcon
: public wxTaskBarIcon
3190 DECLARE_ABSTRACT_CLASS(wxPyTaskBarIcon
)
3192 wxPyTaskBarIcon() : wxTaskBarIcon()
3195 wxMenu
* CreatePopupMenu() {
3196 wxMenu
*rval
= NULL
;
3198 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3199 if ((found
= wxPyCBH_findCallback(m_myInst
, "CreatePopupMenu"))) {
3202 ro
= wxPyCBH_callCallbackObj(m_myInst
, Py_BuildValue("()"));
3204 if (wxPyConvertSwigPtr(ro
, (void **)&ptr
, wxT("wxMenu")))
3209 wxPyEndBlockThreads(blocked
);
3211 rval
= wxTaskBarIcon::CreatePopupMenu();
3218 IMPLEMENT_ABSTRACT_CLASS(wxPyTaskBarIcon
, wxTaskBarIcon
);
3222 SWIGINTERN
void wxPyTaskBarIcon_Destroy(wxPyTaskBarIcon
*self
){
3226 static const wxString
wxPyFileSelectorPromptStr(wxFileSelectorPromptStr
);
3227 static const wxString
wxPyDirSelectorPromptStr(wxDirSelectorPromptStr
);
3228 static const wxString
wxPyDirDialogNameStr(wxDirDialogNameStr
);
3229 static const wxString
wxPyFileSelectorDefaultWildcardStr(wxFileSelectorDefaultWildcardStr
);
3230 static const wxString
wxPyGetTextFromUserPromptStr(wxGetTextFromUserPromptStr
);
3231 static const wxString
wxPyMessageBoxCaptionStr(wxMessageBoxCaptionStr
);
3233 // for compatibility only
3234 #define wxHIDE_READONLY 0
3236 SWIGINTERN PyObject
*wxFileDialog_GetFilenames(wxFileDialog
*self
){
3238 self
->GetFilenames(arr
);
3239 return wxArrayString2PyList_helper(arr
);
3241 SWIGINTERN PyObject
*wxFileDialog_GetPaths(wxFileDialog
*self
){
3243 self
->GetPaths(arr
);
3244 return wxArrayString2PyList_helper(arr
);
3246 SWIGINTERN PyObject
*wxMultiChoiceDialog_GetSelections(wxMultiChoiceDialog
*self
){
3247 return wxArrayInt2PyList_helper(self
->GetSelections());
3249 SWIGINTERN wxSingleChoiceDialog
*new_wxSingleChoiceDialog(wxWindow
*parent
,wxString
const &message
,wxString
const &caption
,int choices
,wxString
*choices_array
,long style
=wxCHOICEDLG_STYLE
,wxPoint
const &pos
=wxDefaultPosition
){
3250 return new wxSingleChoiceDialog(parent
, message
, caption
,
3251 choices
, choices_array
, NULL
, style
, pos
);
3253 static const wxString
wxPyGetPasswordFromUserPromptStr(wxGetPasswordFromUserPromptStr
);
3255 SWIGINTERNINLINE PyObject
*
3256 SWIG_From_bool (bool value
)
3258 return PyBool_FromLong(value
? 1 : 0);
3264 // C++ version of Python aware wxWindow
3265 class wxPyWindow
: public wxWindow
3267 DECLARE_DYNAMIC_CLASS(wxPyWindow
)
3269 wxPyWindow() : wxWindow() {}
3270 wxPyWindow(wxWindow
* parent
, const wxWindowID id
,
3271 const wxPoint
& pos
= wxDefaultPosition
,
3272 const wxSize
& size
= wxDefaultSize
,
3274 const wxString
& name
= wxPyPanelNameStr
)
3275 : wxWindow(parent
, id
, pos
, size
, style
, name
) {}
3278 bool DoEraseBackground(wxDC
* dc
) {
3280 return wxWindow::DoEraseBackground(dc
->GetHDC());
3282 dc
->SetBackground(wxBrush(GetBackgroundColour()));
3288 DEC_PYCALLBACK_VOID_INT4(DoMoveWindow
);
3289 DEC_PYCALLBACK_VOID_INT5(DoSetSize
);
3290 DEC_PYCALLBACK_VOID_INTINT(DoSetClientSize
);
3291 DEC_PYCALLBACK_VOID_INTINT(DoSetVirtualSize
);
3293 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetSize
);
3294 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetClientSize
);
3295 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetPosition
);
3297 DEC_PYCALLBACK_SIZE_const(DoGetVirtualSize
);
3298 DEC_PYCALLBACK_SIZE_const(DoGetBestSize
);
3300 DEC_PYCALLBACK__(InitDialog
);
3301 DEC_PYCALLBACK_BOOL_(TransferDataFromWindow
);
3302 DEC_PYCALLBACK_BOOL_(TransferDataToWindow
);
3303 DEC_PYCALLBACK_BOOL_(Validate
);
3305 DEC_PYCALLBACK_BOOL_const(AcceptsFocus
);
3306 DEC_PYCALLBACK_BOOL_const(AcceptsFocusFromKeyboard
);
3307 DEC_PYCALLBACK_SIZE_const(GetMaxSize
);
3309 DEC_PYCALLBACK_VOID_WXWINBASE(AddChild
);
3310 DEC_PYCALLBACK_VOID_WXWINBASE(RemoveChild
);
3312 DEC_PYCALLBACK_BOOL_const(ShouldInheritColours
);
3313 DEC_PYCALLBACK_VIZATTR_(GetDefaultAttributes
);
3315 DEC_PYCALLBACK_BOOL_(HasTransparentBackground
);
3317 DEC_PYCALLBACK_VOID_(OnInternalIdle
);
3322 IMPLEMENT_DYNAMIC_CLASS(wxPyWindow
, wxWindow
);
3324 IMP_PYCALLBACK_VOID_INT4(wxPyWindow
, wxWindow
, DoMoveWindow
);
3325 IMP_PYCALLBACK_VOID_INT5(wxPyWindow
, wxWindow
, DoSetSize
);
3326 IMP_PYCALLBACK_VOID_INTINT(wxPyWindow
, wxWindow
, DoSetClientSize
);
3327 IMP_PYCALLBACK_VOID_INTINT(wxPyWindow
, wxWindow
, DoSetVirtualSize
);
3329 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyWindow
, wxWindow
, DoGetSize
);
3330 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyWindow
, wxWindow
, DoGetClientSize
);
3331 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyWindow
, wxWindow
, DoGetPosition
);
3333 IMP_PYCALLBACK_SIZE_const(wxPyWindow
, wxWindow
, DoGetVirtualSize
);
3334 IMP_PYCALLBACK_SIZE_const(wxPyWindow
, wxWindow
, DoGetBestSize
);
3336 IMP_PYCALLBACK__(wxPyWindow
, wxWindow
, InitDialog
);
3337 IMP_PYCALLBACK_BOOL_(wxPyWindow
, wxWindow
, TransferDataFromWindow
);
3338 IMP_PYCALLBACK_BOOL_(wxPyWindow
, wxWindow
, TransferDataToWindow
);
3339 IMP_PYCALLBACK_BOOL_(wxPyWindow
, wxWindow
, Validate
);
3341 IMP_PYCALLBACK_BOOL_const(wxPyWindow
, wxWindow
, AcceptsFocus
);
3342 IMP_PYCALLBACK_BOOL_const(wxPyWindow
, wxWindow
, AcceptsFocusFromKeyboard
);
3343 IMP_PYCALLBACK_SIZE_const(wxPyWindow
, wxWindow
, GetMaxSize
);
3345 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyWindow
, wxWindow
, AddChild
);
3346 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyWindow
, wxWindow
, RemoveChild
);
3348 IMP_PYCALLBACK_BOOL_const(wxPyWindow
, wxWindow
, ShouldInheritColours
);
3349 IMP_PYCALLBACK_VIZATTR_(wxPyWindow
, wxWindow
, GetDefaultAttributes
);
3351 IMP_PYCALLBACK_BOOL_(wxPyWindow
, wxWindow
, HasTransparentBackground
);
3353 IMP_PYCALLBACK_VOID_(wxPyWindow
, wxWindow
, OnInternalIdle
);
3355 // C++ version of Python aware wxPanel
3356 class wxPyPanel
: public wxPanel
3358 DECLARE_DYNAMIC_CLASS(wxPyPanel
)
3360 wxPyPanel() : wxPanel() {}
3361 wxPyPanel(wxWindow
* parent
, const wxWindowID id
,
3362 const wxPoint
& pos
= wxDefaultPosition
,
3363 const wxSize
& size
= wxDefaultSize
,
3365 const wxString
& name
= wxPyPanelNameStr
)
3366 : wxPanel(parent
, id
, pos
, size
, style
, name
) {}
3368 bool DoEraseBackground(wxDC
* dc
) {
3370 return wxWindow::DoEraseBackground(dc
->GetHDC());
3372 dc
->SetBackground(wxBrush(GetBackgroundColour()));
3379 DEC_PYCALLBACK_VOID_INT4(DoMoveWindow
);
3380 DEC_PYCALLBACK_VOID_INT5(DoSetSize
);
3381 DEC_PYCALLBACK_VOID_INTINT(DoSetClientSize
);
3382 DEC_PYCALLBACK_VOID_INTINT(DoSetVirtualSize
);
3384 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetSize
);
3385 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetClientSize
);
3386 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetPosition
);
3388 DEC_PYCALLBACK_SIZE_const(DoGetVirtualSize
);
3389 DEC_PYCALLBACK_SIZE_const(DoGetBestSize
);
3391 DEC_PYCALLBACK__(InitDialog
);
3392 DEC_PYCALLBACK_BOOL_(TransferDataFromWindow
);
3393 DEC_PYCALLBACK_BOOL_(TransferDataToWindow
);
3394 DEC_PYCALLBACK_BOOL_(Validate
);
3396 DEC_PYCALLBACK_BOOL_const(AcceptsFocus
);
3397 DEC_PYCALLBACK_BOOL_const(AcceptsFocusFromKeyboard
);
3398 DEC_PYCALLBACK_SIZE_const(GetMaxSize
);
3400 DEC_PYCALLBACK_VOID_WXWINBASE(AddChild
);
3401 DEC_PYCALLBACK_VOID_WXWINBASE(RemoveChild
);
3403 DEC_PYCALLBACK_BOOL_const(ShouldInheritColours
);
3404 DEC_PYCALLBACK_VIZATTR_(GetDefaultAttributes
);
3406 DEC_PYCALLBACK_BOOL_(HasTransparentBackground
);
3408 DEC_PYCALLBACK_VOID_(OnInternalIdle
);
3413 IMPLEMENT_DYNAMIC_CLASS(wxPyPanel
, wxPanel
);
3415 IMP_PYCALLBACK_VOID_INT4(wxPyPanel
, wxPanel
, DoMoveWindow
);
3416 IMP_PYCALLBACK_VOID_INT5(wxPyPanel
, wxPanel
, DoSetSize
);
3417 IMP_PYCALLBACK_VOID_INTINT(wxPyPanel
, wxPanel
, DoSetClientSize
);
3418 IMP_PYCALLBACK_VOID_INTINT(wxPyPanel
, wxPanel
, DoSetVirtualSize
);
3420 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyPanel
, wxPanel
, DoGetSize
);
3421 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyPanel
, wxPanel
, DoGetClientSize
);
3422 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyPanel
, wxPanel
, DoGetPosition
);
3424 IMP_PYCALLBACK_SIZE_const(wxPyPanel
, wxPanel
, DoGetVirtualSize
);
3425 IMP_PYCALLBACK_SIZE_const(wxPyPanel
, wxPanel
, DoGetBestSize
);
3427 IMP_PYCALLBACK__(wxPyPanel
, wxPanel
, InitDialog
);
3428 IMP_PYCALLBACK_BOOL_(wxPyPanel
, wxPanel
, TransferDataFromWindow
);
3429 IMP_PYCALLBACK_BOOL_(wxPyPanel
, wxPanel
, TransferDataToWindow
);
3430 IMP_PYCALLBACK_BOOL_(wxPyPanel
, wxPanel
, Validate
);
3432 IMP_PYCALLBACK_BOOL_const(wxPyPanel
, wxPanel
, AcceptsFocus
);
3433 IMP_PYCALLBACK_BOOL_const(wxPyPanel
, wxPanel
, AcceptsFocusFromKeyboard
);
3434 IMP_PYCALLBACK_SIZE_const(wxPyPanel
, wxPanel
, GetMaxSize
);
3436 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyPanel
, wxPanel
, AddChild
);
3437 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyPanel
, wxPanel
, RemoveChild
);
3439 IMP_PYCALLBACK_BOOL_const(wxPyPanel
, wxPanel
, ShouldInheritColours
);
3440 IMP_PYCALLBACK_VIZATTR_(wxPyPanel
, wxPanel
, GetDefaultAttributes
);
3442 IMP_PYCALLBACK_BOOL_(wxPyPanel
, wxPanel
, HasTransparentBackground
);
3444 IMP_PYCALLBACK_VOID_(wxPyPanel
, wxPanel
, OnInternalIdle
);
3446 // C++ version of Python aware wxScrolledWindow
3447 class wxPyScrolledWindow
: public wxScrolledWindow
3449 DECLARE_DYNAMIC_CLASS(wxPyScrolledWindow
)
3451 wxPyScrolledWindow() : wxScrolledWindow() {}
3452 wxPyScrolledWindow(wxWindow
* parent
, const wxWindowID id
,
3453 const wxPoint
& pos
= wxDefaultPosition
,
3454 const wxSize
& size
= wxDefaultSize
,
3456 const wxString
& name
= wxPyPanelNameStr
)
3457 : wxScrolledWindow(parent
, id
, pos
, size
, style
, name
) {}
3459 bool DoEraseBackground(wxDC
* dc
) {
3461 return wxWindow::DoEraseBackground(dc
->GetHDC());
3463 dc
->SetBackground(wxBrush(GetBackgroundColour()));
3469 DEC_PYCALLBACK_VOID_INT4(DoMoveWindow
);
3470 DEC_PYCALLBACK_VOID_INT5(DoSetSize
);
3471 DEC_PYCALLBACK_VOID_INTINT(DoSetClientSize
);
3472 DEC_PYCALLBACK_VOID_INTINT(DoSetVirtualSize
);
3474 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetSize
);
3475 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetClientSize
);
3476 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetPosition
);
3478 DEC_PYCALLBACK_SIZE_const(DoGetVirtualSize
);
3479 DEC_PYCALLBACK_SIZE_const(DoGetBestSize
);
3481 DEC_PYCALLBACK__(InitDialog
);
3482 DEC_PYCALLBACK_BOOL_(TransferDataFromWindow
);
3483 DEC_PYCALLBACK_BOOL_(TransferDataToWindow
);
3484 DEC_PYCALLBACK_BOOL_(Validate
);
3486 DEC_PYCALLBACK_BOOL_const(AcceptsFocus
);
3487 DEC_PYCALLBACK_BOOL_const(AcceptsFocusFromKeyboard
);
3488 DEC_PYCALLBACK_SIZE_const(GetMaxSize
);
3490 DEC_PYCALLBACK_VOID_WXWINBASE(AddChild
);
3491 DEC_PYCALLBACK_VOID_WXWINBASE(RemoveChild
);
3493 DEC_PYCALLBACK_BOOL_const(ShouldInheritColours
);
3494 DEC_PYCALLBACK_VIZATTR_(GetDefaultAttributes
);
3496 DEC_PYCALLBACK_BOOL_(HasTransparentBackground
);
3498 DEC_PYCALLBACK_VOID_(OnInternalIdle
);
3503 IMPLEMENT_DYNAMIC_CLASS(wxPyScrolledWindow
, wxScrolledWindow
);
3505 IMP_PYCALLBACK_VOID_INT4(wxPyScrolledWindow
, wxScrolledWindow
, DoMoveWindow
);
3506 IMP_PYCALLBACK_VOID_INT5(wxPyScrolledWindow
, wxScrolledWindow
, DoSetSize
);
3507 IMP_PYCALLBACK_VOID_INTINT(wxPyScrolledWindow
, wxScrolledWindow
, DoSetClientSize
);
3508 IMP_PYCALLBACK_VOID_INTINT(wxPyScrolledWindow
, wxScrolledWindow
, DoSetVirtualSize
);
3510 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyScrolledWindow
, wxScrolledWindow
, DoGetSize
);
3511 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyScrolledWindow
, wxScrolledWindow
, DoGetClientSize
);
3512 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyScrolledWindow
, wxScrolledWindow
, DoGetPosition
);
3514 IMP_PYCALLBACK_SIZE_const(wxPyScrolledWindow
, wxScrolledWindow
, DoGetVirtualSize
);
3515 IMP_PYCALLBACK_SIZE_const(wxPyScrolledWindow
, wxScrolledWindow
, DoGetBestSize
);
3517 IMP_PYCALLBACK__(wxPyScrolledWindow
, wxScrolledWindow
, InitDialog
);
3518 IMP_PYCALLBACK_BOOL_(wxPyScrolledWindow
, wxScrolledWindow
, TransferDataFromWindow
);
3519 IMP_PYCALLBACK_BOOL_(wxPyScrolledWindow
, wxScrolledWindow
, TransferDataToWindow
);
3520 IMP_PYCALLBACK_BOOL_(wxPyScrolledWindow
, wxScrolledWindow
, Validate
);
3522 IMP_PYCALLBACK_BOOL_const(wxPyScrolledWindow
, wxScrolledWindow
, AcceptsFocus
);
3523 IMP_PYCALLBACK_BOOL_const(wxPyScrolledWindow
, wxScrolledWindow
, AcceptsFocusFromKeyboard
);
3524 IMP_PYCALLBACK_SIZE_const(wxPyScrolledWindow
, wxScrolledWindow
, GetMaxSize
);
3526 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyScrolledWindow
, wxScrolledWindow
, AddChild
);
3527 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyScrolledWindow
, wxScrolledWindow
, RemoveChild
);
3529 IMP_PYCALLBACK_BOOL_const(wxPyScrolledWindow
, wxScrolledWindow
, ShouldInheritColours
);
3530 IMP_PYCALLBACK_VIZATTR_(wxPyScrolledWindow
, wxScrolledWindow
, GetDefaultAttributes
);
3532 IMP_PYCALLBACK_BOOL_(wxPyScrolledWindow
, wxScrolledWindow
, HasTransparentBackground
);
3534 IMP_PYCALLBACK_VOID_(wxPyScrolledWindow
, wxScrolledWindow
, OnInternalIdle
);
3537 #include "wx/wxPython/printfw.h"
3540 static const wxString
wxPyPrintoutTitleStr(wxT("Printout"));
3541 static const wxString
wxPyPreviewCanvasNameStr(wxT("previewcanvas"));
3542 SWIGINTERN PyObject
*wxPrintData_GetPrivData(wxPrintData
*self
){
3544 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3545 data
= PyString_FromStringAndSize(self
->GetPrivData(),
3546 self
->GetPrivDataLen());
3547 wxPyEndBlockThreads(blocked
);
3550 SWIGINTERN
void wxPrintData_SetPrivData(wxPrintData
*self
,PyObject
*data
){
3551 if (! PyString_Check(data
)) {
3552 wxPyBLOCK_THREADS(PyErr_SetString(PyExc_TypeError
,
3553 "Expected string object"));
3557 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3558 self
->SetPrivData(PyString_AS_STRING(data
), PyString_GET_SIZE(data
));
3559 wxPyEndBlockThreads(blocked
);
3563 IMPLEMENT_ABSTRACT_CLASS(wxPyPrintout
, wxPrintout
);
3565 // Since this one would be tough and ugly to do with the Macros...
3566 void wxPyPrintout::GetPageInfo(int *minPage
, int *maxPage
, int *pageFrom
, int *pageTo
) {
3567 bool hadErr
= false;
3570 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3571 if ((found
= wxPyCBH_findCallback(m_myInst
, "GetPageInfo"))) {
3572 PyObject
* result
= wxPyCBH_callCallbackObj(m_myInst
, Py_BuildValue("()"));
3573 if (result
&& PyTuple_Check(result
) && PyTuple_Size(result
) == 4) {
3576 val
= PyTuple_GetItem(result
, 0);
3577 if (PyInt_Check(val
)) *minPage
= PyInt_AsLong(val
);
3580 val
= PyTuple_GetItem(result
, 1);
3581 if (PyInt_Check(val
)) *maxPage
= PyInt_AsLong(val
);
3584 val
= PyTuple_GetItem(result
, 2);
3585 if (PyInt_Check(val
)) *pageFrom
= PyInt_AsLong(val
);
3588 val
= PyTuple_GetItem(result
, 3);
3589 if (PyInt_Check(val
)) *pageTo
= PyInt_AsLong(val
);
3596 PyErr_SetString(PyExc_TypeError
, "GetPageInfo should return a tuple of 4 integers.");
3601 wxPyEndBlockThreads(blocked
);
3603 wxPrintout::GetPageInfo(minPage
, maxPage
, pageFrom
, pageTo
);
3608 IMP_PYCALLBACK_BOOL_INTINT(wxPyPrintout
, wxPrintout
, OnBeginDocument
);
3609 IMP_PYCALLBACK__(wxPyPrintout
, wxPrintout
, OnEndDocument
);
3610 IMP_PYCALLBACK__(wxPyPrintout
, wxPrintout
, OnBeginPrinting
);
3611 IMP_PYCALLBACK__(wxPyPrintout
, wxPrintout
, OnEndPrinting
);
3612 IMP_PYCALLBACK__(wxPyPrintout
, wxPrintout
, OnPreparePrinting
);
3613 IMP_PYCALLBACK_BOOL_INT_pure(wxPyPrintout
, wxPrintout
, OnPrintPage
);
3614 IMP_PYCALLBACK_BOOL_INT(wxPyPrintout
, wxPrintout
, HasPage
);
3620 #define DEC_PYCALLBACK_BOOL_PREWINDC(CBNAME) \
3621 bool CBNAME(wxPreviewCanvas* a, wxDC& b)
3624 #define IMP_PYCALLBACK_BOOL_PREWINDC(CLASS, PCLASS, CBNAME) \
3625 bool CLASS::CBNAME(wxPreviewCanvas* a, wxDC& b) { \
3628 wxPyBlock_t blocked = wxPyBeginBlockThreads(); \
3629 if ((found = wxPyCBH_findCallback(m_myInst, #CBNAME))) { \
3630 PyObject* win = wxPyMake_wxObject(a,false); \
3631 PyObject* dc = wxPyMake_wxObject(&b,false); \
3632 rval = wxPyCBH_callCallback(m_myInst, Py_BuildValue("(OO)", win, dc)); \
3636 wxPyEndBlockThreads(blocked); \
3638 rval = PCLASS::CBNAME(a, b); \
3645 class wxPyPrintPreview
: public wxPrintPreview
3647 DECLARE_CLASS(wxPyPrintPreview
)
3649 wxPyPrintPreview(wxPyPrintout
* printout
,
3650 wxPyPrintout
* printoutForPrinting
,
3651 wxPrintDialogData
* data
=NULL
)
3652 : wxPrintPreview(printout
, printoutForPrinting
, data
)
3654 wxPyPrintPreview(wxPyPrintout
* printout
,
3655 wxPyPrintout
* printoutForPrinting
,
3657 : wxPrintPreview(printout
, printoutForPrinting
, data
)
3660 DEC_PYCALLBACK_BOOL_INT(SetCurrentPage
);
3661 DEC_PYCALLBACK_BOOL_PREWINDC(PaintPage
);
3662 DEC_PYCALLBACK_BOOL_PREWINDC(DrawBlankPage
);
3663 DEC_PYCALLBACK_BOOL_INT(RenderPage
);
3664 DEC_PYCALLBACK_VOID_INT(SetZoom
);
3665 DEC_PYCALLBACK_BOOL_BOOL(Print
);
3666 DEC_PYCALLBACK_VOID_(DetermineScaling
);
3671 // Stupid renamed classes... Fix this in 2.5...
3672 #if defined(__WXMSW__)
3673 IMPLEMENT_CLASS( wxPyPrintPreview
, wxWindowsPrintPreview
);
3674 #elif defined(__WXMAC__)
3675 IMPLEMENT_CLASS( wxPyPrintPreview
, wxMacPrintPreview
);
3677 IMPLEMENT_CLASS( wxPyPrintPreview
, wxPostScriptPrintPreview
);
3680 IMP_PYCALLBACK_BOOL_INT (wxPyPrintPreview
, wxPrintPreview
, SetCurrentPage
);
3681 IMP_PYCALLBACK_BOOL_PREWINDC(wxPyPrintPreview
, wxPrintPreview
, PaintPage
);
3682 IMP_PYCALLBACK_BOOL_PREWINDC(wxPyPrintPreview
, wxPrintPreview
, DrawBlankPage
);
3683 IMP_PYCALLBACK_BOOL_INT (wxPyPrintPreview
, wxPrintPreview
, RenderPage
);
3684 IMP_PYCALLBACK_VOID_INT (wxPyPrintPreview
, wxPrintPreview
, SetZoom
);
3685 IMP_PYCALLBACK_BOOL_BOOL (wxPyPrintPreview
, wxPrintPreview
, Print
);
3686 IMP_PYCALLBACK_VOID_ (wxPyPrintPreview
, wxPrintPreview
, DetermineScaling
);
3689 class wxPyPreviewFrame
: public wxPreviewFrame
3691 DECLARE_CLASS(wxPyPreviewFrame
)
3693 wxPyPreviewFrame(wxPrintPreview
* preview
, wxFrame
* parent
,
3694 const wxString
& title
,
3695 const wxPoint
& pos
= wxDefaultPosition
,
3696 const wxSize
& size
= wxDefaultSize
,
3697 long style
= wxDEFAULT_FRAME_STYLE
,
3698 const wxString
& name
= wxPyFrameNameStr
)
3699 : wxPreviewFrame(preview
, parent
, title
, pos
, size
, style
, name
)
3702 void SetPreviewCanvas(wxPreviewCanvas
* canvas
) { m_previewCanvas
= canvas
; }
3703 void SetControlBar(wxPreviewControlBar
* bar
) { m_controlBar
= bar
; }
3705 DEC_PYCALLBACK_VOID_(Initialize
);
3706 DEC_PYCALLBACK_VOID_(CreateCanvas
);
3707 DEC_PYCALLBACK_VOID_(CreateControlBar
);
3712 IMPLEMENT_CLASS(wxPyPreviewFrame
, wxPreviewFrame
);
3714 IMP_PYCALLBACK_VOID_(wxPyPreviewFrame
, wxPreviewFrame
, Initialize
);
3715 IMP_PYCALLBACK_VOID_(wxPyPreviewFrame
, wxPreviewFrame
, CreateCanvas
);
3716 IMP_PYCALLBACK_VOID_(wxPyPreviewFrame
, wxPreviewFrame
, CreateControlBar
);
3719 class wxPyPreviewControlBar
: public wxPreviewControlBar
3721 DECLARE_CLASS(wxPyPreviewControlBar
)
3723 wxPyPreviewControlBar(wxPrintPreview
*preview
,
3726 const wxPoint
& pos
= wxDefaultPosition
,
3727 const wxSize
& size
= wxDefaultSize
,
3729 const wxString
& name
= wxPyPanelNameStr
)
3730 : wxPreviewControlBar(preview
, buttons
, parent
, pos
, size
, style
, name
)
3733 void SetPrintPreview(wxPrintPreview
* preview
) { m_printPreview
= preview
; }
3735 DEC_PYCALLBACK_VOID_(CreateButtons
);
3736 DEC_PYCALLBACK_VOID_INT(SetZoomControl
);
3741 IMPLEMENT_CLASS(wxPyPreviewControlBar
, wxPreviewControlBar
);
3742 IMP_PYCALLBACK_VOID_(wxPyPreviewControlBar
, wxPreviewControlBar
, CreateButtons
);
3743 IMP_PYCALLBACK_VOID_INT(wxPyPreviewControlBar
, wxPreviewControlBar
, SetZoomControl
);
3748 SWIGINTERN PyObject
*_wrap_new_Panel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
3749 PyObject
*resultobj
= 0;
3750 wxWindow
*arg1
= (wxWindow
*) 0 ;
3751 int arg2
= (int) (int)-1 ;
3752 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
3753 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
3754 wxSize
const &arg4_defvalue
= wxDefaultSize
;
3755 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
3756 long arg5
= (long) wxTAB_TRAVERSAL
|wxNO_BORDER
;
3757 wxString
const &arg6_defvalue
= wxPyPanelNameStr
;
3758 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
3759 wxPanel
*result
= 0 ;
3768 bool temp6
= false ;
3769 PyObject
* obj0
= 0 ;
3770 PyObject
* obj1
= 0 ;
3771 PyObject
* obj2
= 0 ;
3772 PyObject
* obj3
= 0 ;
3773 PyObject
* obj4
= 0 ;
3774 PyObject
* obj5
= 0 ;
3775 char * kwnames
[] = {
3776 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
3779 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_Panel",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
3780 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
3781 if (!SWIG_IsOK(res1
)) {
3782 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_Panel" "', expected argument " "1"" of type '" "wxWindow *""'");
3784 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
3786 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
3787 if (!SWIG_IsOK(ecode2
)) {
3788 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Panel" "', expected argument " "2"" of type '" "int""'");
3790 arg2
= static_cast< int >(val2
);
3795 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
3801 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
3805 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
3806 if (!SWIG_IsOK(ecode5
)) {
3807 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_Panel" "', expected argument " "5"" of type '" "long""'");
3809 arg5
= static_cast< long >(val5
);
3813 arg6
= wxString_in_helper(obj5
);
3814 if (arg6
== NULL
) SWIG_fail
;
3819 if (!wxPyCheckForApp()) SWIG_fail
;
3820 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3821 result
= (wxPanel
*)new wxPanel(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
3822 wxPyEndAllowThreads(__tstate
);
3823 if (PyErr_Occurred()) SWIG_fail
;
3825 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPanel
, SWIG_POINTER_NEW
| 0 );
3840 SWIGINTERN PyObject
*_wrap_new_PrePanel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
3841 PyObject
*resultobj
= 0;
3842 wxPanel
*result
= 0 ;
3844 if (!SWIG_Python_UnpackTuple(args
,"new_PrePanel",0,0,0)) SWIG_fail
;
3846 if (!wxPyCheckForApp()) SWIG_fail
;
3847 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3848 result
= (wxPanel
*)new wxPanel();
3849 wxPyEndAllowThreads(__tstate
);
3850 if (PyErr_Occurred()) SWIG_fail
;
3852 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPanel
, SWIG_POINTER_OWN
| 0 );
3859 SWIGINTERN PyObject
*_wrap_Panel_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
3860 PyObject
*resultobj
= 0;
3861 wxPanel
*arg1
= (wxPanel
*) 0 ;
3862 wxWindow
*arg2
= (wxWindow
*) 0 ;
3863 int arg3
= (int) (int)-1 ;
3864 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
3865 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
3866 wxSize
const &arg5_defvalue
= wxDefaultSize
;
3867 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
3868 long arg6
= (long) wxTAB_TRAVERSAL
|wxNO_BORDER
;
3869 wxString
const &arg7_defvalue
= wxPyPanelNameStr
;
3870 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
3882 bool temp7
= false ;
3883 PyObject
* obj0
= 0 ;
3884 PyObject
* obj1
= 0 ;
3885 PyObject
* obj2
= 0 ;
3886 PyObject
* obj3
= 0 ;
3887 PyObject
* obj4
= 0 ;
3888 PyObject
* obj5
= 0 ;
3889 PyObject
* obj6
= 0 ;
3890 char * kwnames
[] = {
3891 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
3894 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:Panel_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
3895 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPanel
, 0 | 0 );
3896 if (!SWIG_IsOK(res1
)) {
3897 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Panel_Create" "', expected argument " "1"" of type '" "wxPanel *""'");
3899 arg1
= reinterpret_cast< wxPanel
* >(argp1
);
3900 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
3901 if (!SWIG_IsOK(res2
)) {
3902 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Panel_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
3904 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
3906 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
3907 if (!SWIG_IsOK(ecode3
)) {
3908 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Panel_Create" "', expected argument " "3"" of type '" "int""'");
3910 arg3
= static_cast< int >(val3
);
3915 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
3921 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
3925 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
3926 if (!SWIG_IsOK(ecode6
)) {
3927 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "Panel_Create" "', expected argument " "6"" of type '" "long""'");
3929 arg6
= static_cast< long >(val6
);
3933 arg7
= wxString_in_helper(obj6
);
3934 if (arg7
== NULL
) SWIG_fail
;
3939 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3940 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
3941 wxPyEndAllowThreads(__tstate
);
3942 if (PyErr_Occurred()) SWIG_fail
;
3945 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3961 SWIGINTERN PyObject
*_wrap_Panel_SetFocusIgnoringChildren(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
3962 PyObject
*resultobj
= 0;
3963 wxPanel
*arg1
= (wxPanel
*) 0 ;
3966 PyObject
*swig_obj
[1] ;
3968 if (!args
) SWIG_fail
;
3970 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPanel
, 0 | 0 );
3971 if (!SWIG_IsOK(res1
)) {
3972 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Panel_SetFocusIgnoringChildren" "', expected argument " "1"" of type '" "wxPanel *""'");
3974 arg1
= reinterpret_cast< wxPanel
* >(argp1
);
3976 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3977 (arg1
)->SetFocusIgnoringChildren();
3978 wxPyEndAllowThreads(__tstate
);
3979 if (PyErr_Occurred()) SWIG_fail
;
3981 resultobj
= SWIG_Py_Void();
3988 SWIGINTERN PyObject
*_wrap_Panel_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
3989 PyObject
*resultobj
= 0;
3990 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
3991 SwigValueWrapper
<wxVisualAttributes
> result
;
3994 PyObject
* obj0
= 0 ;
3995 char * kwnames
[] = {
3996 (char *) "variant", NULL
3999 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Panel_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
4001 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
4002 if (!SWIG_IsOK(ecode1
)) {
4003 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "Panel_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
4005 arg1
= static_cast< wxWindowVariant
>(val1
);
4008 if (!wxPyCheckForApp()) SWIG_fail
;
4009 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4010 result
= wxPanel::GetClassDefaultAttributes(arg1
);
4011 wxPyEndAllowThreads(__tstate
);
4012 if (PyErr_Occurred()) SWIG_fail
;
4014 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
4021 SWIGINTERN PyObject
*Panel_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4023 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
4024 SWIG_TypeNewClientData(SWIGTYPE_p_wxPanel
, SWIG_NewClientData(obj
));
4025 return SWIG_Py_Void();
4028 SWIGINTERN PyObject
*Panel_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4029 return SWIG_Python_InitShadowInstance(args
);
4032 SWIGINTERN PyObject
*_wrap_new_ScrolledWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4033 PyObject
*resultobj
= 0;
4034 wxWindow
*arg1
= (wxWindow
*) 0 ;
4035 int arg2
= (int) (int)-1 ;
4036 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
4037 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
4038 wxSize
const &arg4_defvalue
= wxDefaultSize
;
4039 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
4040 long arg5
= (long) wxHSCROLL
|wxVSCROLL
;
4041 wxString
const &arg6_defvalue
= wxPyPanelNameStr
;
4042 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
4043 wxScrolledWindow
*result
= 0 ;
4052 bool temp6
= false ;
4053 PyObject
* obj0
= 0 ;
4054 PyObject
* obj1
= 0 ;
4055 PyObject
* obj2
= 0 ;
4056 PyObject
* obj3
= 0 ;
4057 PyObject
* obj4
= 0 ;
4058 PyObject
* obj5
= 0 ;
4059 char * kwnames
[] = {
4060 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
4063 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_ScrolledWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
4064 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
4065 if (!SWIG_IsOK(res1
)) {
4066 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_ScrolledWindow" "', expected argument " "1"" of type '" "wxWindow *""'");
4068 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
4070 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
4071 if (!SWIG_IsOK(ecode2
)) {
4072 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_ScrolledWindow" "', expected argument " "2"" of type '" "int""'");
4074 arg2
= static_cast< int >(val2
);
4079 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
4085 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
4089 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
4090 if (!SWIG_IsOK(ecode5
)) {
4091 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_ScrolledWindow" "', expected argument " "5"" of type '" "long""'");
4093 arg5
= static_cast< long >(val5
);
4097 arg6
= wxString_in_helper(obj5
);
4098 if (arg6
== NULL
) SWIG_fail
;
4103 if (!wxPyCheckForApp()) SWIG_fail
;
4104 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4105 result
= (wxScrolledWindow
*)new wxScrolledWindow(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
4106 wxPyEndAllowThreads(__tstate
);
4107 if (PyErr_Occurred()) SWIG_fail
;
4109 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxScrolledWindow
, SWIG_POINTER_NEW
| 0 );
4124 SWIGINTERN PyObject
*_wrap_new_PreScrolledWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4125 PyObject
*resultobj
= 0;
4126 wxScrolledWindow
*result
= 0 ;
4128 if (!SWIG_Python_UnpackTuple(args
,"new_PreScrolledWindow",0,0,0)) SWIG_fail
;
4130 if (!wxPyCheckForApp()) SWIG_fail
;
4131 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4132 result
= (wxScrolledWindow
*)new wxScrolledWindow();
4133 wxPyEndAllowThreads(__tstate
);
4134 if (PyErr_Occurred()) SWIG_fail
;
4136 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxScrolledWindow
, SWIG_POINTER_OWN
| 0 );
4143 SWIGINTERN PyObject
*_wrap_ScrolledWindow_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4144 PyObject
*resultobj
= 0;
4145 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
4146 wxWindow
*arg2
= (wxWindow
*) 0 ;
4147 int arg3
= (int) (int)-1 ;
4148 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
4149 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
4150 wxSize
const &arg5_defvalue
= wxDefaultSize
;
4151 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
4152 long arg6
= (long) wxHSCROLL
|wxVSCROLL
;
4153 wxString
const &arg7_defvalue
= wxPyPanelNameStr
;
4154 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
4166 bool temp7
= false ;
4167 PyObject
* obj0
= 0 ;
4168 PyObject
* obj1
= 0 ;
4169 PyObject
* obj2
= 0 ;
4170 PyObject
* obj3
= 0 ;
4171 PyObject
* obj4
= 0 ;
4172 PyObject
* obj5
= 0 ;
4173 PyObject
* obj6
= 0 ;
4174 char * kwnames
[] = {
4175 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
4178 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:ScrolledWindow_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
4179 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxScrolledWindow
, 0 | 0 );
4180 if (!SWIG_IsOK(res1
)) {
4181 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrolledWindow_Create" "', expected argument " "1"" of type '" "wxScrolledWindow *""'");
4183 arg1
= reinterpret_cast< wxScrolledWindow
* >(argp1
);
4184 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
4185 if (!SWIG_IsOK(res2
)) {
4186 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ScrolledWindow_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
4188 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
4190 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
4191 if (!SWIG_IsOK(ecode3
)) {
4192 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ScrolledWindow_Create" "', expected argument " "3"" of type '" "int""'");
4194 arg3
= static_cast< int >(val3
);
4199 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
4205 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
4209 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
4210 if (!SWIG_IsOK(ecode6
)) {
4211 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "ScrolledWindow_Create" "', expected argument " "6"" of type '" "long""'");
4213 arg6
= static_cast< long >(val6
);
4217 arg7
= wxString_in_helper(obj6
);
4218 if (arg7
== NULL
) SWIG_fail
;
4223 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4224 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
4225 wxPyEndAllowThreads(__tstate
);
4226 if (PyErr_Occurred()) SWIG_fail
;
4229 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4245 SWIGINTERN PyObject
*_wrap_ScrolledWindow_SetScrollbars(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4246 PyObject
*resultobj
= 0;
4247 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
4252 int arg6
= (int) 0 ;
4253 int arg7
= (int) 0 ;
4254 bool arg8
= (bool) false ;
4271 PyObject
* obj0
= 0 ;
4272 PyObject
* obj1
= 0 ;
4273 PyObject
* obj2
= 0 ;
4274 PyObject
* obj3
= 0 ;
4275 PyObject
* obj4
= 0 ;
4276 PyObject
* obj5
= 0 ;
4277 PyObject
* obj6
= 0 ;
4278 PyObject
* obj7
= 0 ;
4279 char * kwnames
[] = {
4280 (char *) "self",(char *) "pixelsPerUnitX",(char *) "pixelsPerUnitY",(char *) "noUnitsX",(char *) "noUnitsY",(char *) "xPos",(char *) "yPos",(char *) "noRefresh", NULL
4283 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|OOO:ScrolledWindow_SetScrollbars",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
4284 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxScrolledWindow
, 0 | 0 );
4285 if (!SWIG_IsOK(res1
)) {
4286 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrolledWindow_SetScrollbars" "', expected argument " "1"" of type '" "wxScrolledWindow *""'");
4288 arg1
= reinterpret_cast< wxScrolledWindow
* >(argp1
);
4289 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
4290 if (!SWIG_IsOK(ecode2
)) {
4291 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ScrolledWindow_SetScrollbars" "', expected argument " "2"" of type '" "int""'");
4293 arg2
= static_cast< int >(val2
);
4294 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
4295 if (!SWIG_IsOK(ecode3
)) {
4296 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ScrolledWindow_SetScrollbars" "', expected argument " "3"" of type '" "int""'");
4298 arg3
= static_cast< int >(val3
);
4299 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
4300 if (!SWIG_IsOK(ecode4
)) {
4301 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "ScrolledWindow_SetScrollbars" "', expected argument " "4"" of type '" "int""'");
4303 arg4
= static_cast< int >(val4
);
4304 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
4305 if (!SWIG_IsOK(ecode5
)) {
4306 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "ScrolledWindow_SetScrollbars" "', expected argument " "5"" of type '" "int""'");
4308 arg5
= static_cast< int >(val5
);
4310 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
4311 if (!SWIG_IsOK(ecode6
)) {
4312 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "ScrolledWindow_SetScrollbars" "', expected argument " "6"" of type '" "int""'");
4314 arg6
= static_cast< int >(val6
);
4317 ecode7
= SWIG_AsVal_int(obj6
, &val7
);
4318 if (!SWIG_IsOK(ecode7
)) {
4319 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "ScrolledWindow_SetScrollbars" "', expected argument " "7"" of type '" "int""'");
4321 arg7
= static_cast< int >(val7
);
4324 ecode8
= SWIG_AsVal_bool(obj7
, &val8
);
4325 if (!SWIG_IsOK(ecode8
)) {
4326 SWIG_exception_fail(SWIG_ArgError(ecode8
), "in method '" "ScrolledWindow_SetScrollbars" "', expected argument " "8"" of type '" "bool""'");
4328 arg8
= static_cast< bool >(val8
);
4331 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4332 (arg1
)->SetScrollbars(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
,arg8
);
4333 wxPyEndAllowThreads(__tstate
);
4334 if (PyErr_Occurred()) SWIG_fail
;
4336 resultobj
= SWIG_Py_Void();
4343 SWIGINTERN PyObject
*_wrap_ScrolledWindow_Scroll(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4344 PyObject
*resultobj
= 0;
4345 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
4354 PyObject
* obj0
= 0 ;
4355 PyObject
* obj1
= 0 ;
4356 PyObject
* obj2
= 0 ;
4357 char * kwnames
[] = {
4358 (char *) "self",(char *) "x",(char *) "y", NULL
4361 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ScrolledWindow_Scroll",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
4362 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxScrolledWindow
, 0 | 0 );
4363 if (!SWIG_IsOK(res1
)) {
4364 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrolledWindow_Scroll" "', expected argument " "1"" of type '" "wxScrolledWindow *""'");
4366 arg1
= reinterpret_cast< wxScrolledWindow
* >(argp1
);
4367 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
4368 if (!SWIG_IsOK(ecode2
)) {
4369 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ScrolledWindow_Scroll" "', expected argument " "2"" of type '" "int""'");
4371 arg2
= static_cast< int >(val2
);
4372 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
4373 if (!SWIG_IsOK(ecode3
)) {
4374 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ScrolledWindow_Scroll" "', expected argument " "3"" of type '" "int""'");
4376 arg3
= static_cast< int >(val3
);
4378 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4379 (arg1
)->Scroll(arg2
,arg3
);
4380 wxPyEndAllowThreads(__tstate
);
4381 if (PyErr_Occurred()) SWIG_fail
;
4383 resultobj
= SWIG_Py_Void();
4390 SWIGINTERN PyObject
*_wrap_ScrolledWindow_GetScrollPageSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4391 PyObject
*resultobj
= 0;
4392 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
4399 PyObject
* obj0
= 0 ;
4400 PyObject
* obj1
= 0 ;
4401 char * kwnames
[] = {
4402 (char *) "self",(char *) "orient", NULL
4405 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ScrolledWindow_GetScrollPageSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4406 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxScrolledWindow
, 0 | 0 );
4407 if (!SWIG_IsOK(res1
)) {
4408 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrolledWindow_GetScrollPageSize" "', expected argument " "1"" of type '" "wxScrolledWindow const *""'");
4410 arg1
= reinterpret_cast< wxScrolledWindow
* >(argp1
);
4411 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
4412 if (!SWIG_IsOK(ecode2
)) {
4413 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ScrolledWindow_GetScrollPageSize" "', expected argument " "2"" of type '" "int""'");
4415 arg2
= static_cast< int >(val2
);
4417 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4418 result
= (int)((wxScrolledWindow
const *)arg1
)->GetScrollPageSize(arg2
);
4419 wxPyEndAllowThreads(__tstate
);
4420 if (PyErr_Occurred()) SWIG_fail
;
4422 resultobj
= SWIG_From_int(static_cast< int >(result
));
4429 SWIGINTERN PyObject
*_wrap_ScrolledWindow_SetScrollPageSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4430 PyObject
*resultobj
= 0;
4431 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
4440 PyObject
* obj0
= 0 ;
4441 PyObject
* obj1
= 0 ;
4442 PyObject
* obj2
= 0 ;
4443 char * kwnames
[] = {
4444 (char *) "self",(char *) "orient",(char *) "pageSize", NULL
4447 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ScrolledWindow_SetScrollPageSize",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
4448 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxScrolledWindow
, 0 | 0 );
4449 if (!SWIG_IsOK(res1
)) {
4450 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrolledWindow_SetScrollPageSize" "', expected argument " "1"" of type '" "wxScrolledWindow *""'");
4452 arg1
= reinterpret_cast< wxScrolledWindow
* >(argp1
);
4453 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
4454 if (!SWIG_IsOK(ecode2
)) {
4455 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ScrolledWindow_SetScrollPageSize" "', expected argument " "2"" of type '" "int""'");
4457 arg2
= static_cast< int >(val2
);
4458 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
4459 if (!SWIG_IsOK(ecode3
)) {
4460 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ScrolledWindow_SetScrollPageSize" "', expected argument " "3"" of type '" "int""'");
4462 arg3
= static_cast< int >(val3
);
4464 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4465 (arg1
)->SetScrollPageSize(arg2
,arg3
);
4466 wxPyEndAllowThreads(__tstate
);
4467 if (PyErr_Occurred()) SWIG_fail
;
4469 resultobj
= SWIG_Py_Void();
4476 SWIGINTERN PyObject
*_wrap_ScrolledWindow_SetScrollRate(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4477 PyObject
*resultobj
= 0;
4478 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
4487 PyObject
* obj0
= 0 ;
4488 PyObject
* obj1
= 0 ;
4489 PyObject
* obj2
= 0 ;
4490 char * kwnames
[] = {
4491 (char *) "self",(char *) "xstep",(char *) "ystep", NULL
4494 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ScrolledWindow_SetScrollRate",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
4495 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxScrolledWindow
, 0 | 0 );
4496 if (!SWIG_IsOK(res1
)) {
4497 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrolledWindow_SetScrollRate" "', expected argument " "1"" of type '" "wxScrolledWindow *""'");
4499 arg1
= reinterpret_cast< wxScrolledWindow
* >(argp1
);
4500 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
4501 if (!SWIG_IsOK(ecode2
)) {
4502 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ScrolledWindow_SetScrollRate" "', expected argument " "2"" of type '" "int""'");
4504 arg2
= static_cast< int >(val2
);
4505 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
4506 if (!SWIG_IsOK(ecode3
)) {
4507 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ScrolledWindow_SetScrollRate" "', expected argument " "3"" of type '" "int""'");
4509 arg3
= static_cast< int >(val3
);
4511 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4512 (arg1
)->SetScrollRate(arg2
,arg3
);
4513 wxPyEndAllowThreads(__tstate
);
4514 if (PyErr_Occurred()) SWIG_fail
;
4516 resultobj
= SWIG_Py_Void();
4523 SWIGINTERN PyObject
*_wrap_ScrolledWindow_GetScrollPixelsPerUnit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4524 PyObject
*resultobj
= 0;
4525 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
4526 int *arg2
= (int *) 0 ;
4527 int *arg3
= (int *) 0 ;
4531 int res2
= SWIG_TMPOBJ
;
4533 int res3
= SWIG_TMPOBJ
;
4534 PyObject
*swig_obj
[1] ;
4538 if (!args
) SWIG_fail
;
4540 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxScrolledWindow
, 0 | 0 );
4541 if (!SWIG_IsOK(res1
)) {
4542 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrolledWindow_GetScrollPixelsPerUnit" "', expected argument " "1"" of type '" "wxScrolledWindow const *""'");
4544 arg1
= reinterpret_cast< wxScrolledWindow
* >(argp1
);
4546 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4547 ((wxScrolledWindow
const *)arg1
)->GetScrollPixelsPerUnit(arg2
,arg3
);
4548 wxPyEndAllowThreads(__tstate
);
4549 if (PyErr_Occurred()) SWIG_fail
;
4551 resultobj
= SWIG_Py_Void();
4552 if (SWIG_IsTmpObj(res2
)) {
4553 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
4555 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
4556 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
4558 if (SWIG_IsTmpObj(res3
)) {
4559 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
4561 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
4562 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
4570 SWIGINTERN PyObject
*_wrap_ScrolledWindow_EnableScrolling(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4571 PyObject
*resultobj
= 0;
4572 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
4581 PyObject
* obj0
= 0 ;
4582 PyObject
* obj1
= 0 ;
4583 PyObject
* obj2
= 0 ;
4584 char * kwnames
[] = {
4585 (char *) "self",(char *) "x_scrolling",(char *) "y_scrolling", NULL
4588 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ScrolledWindow_EnableScrolling",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
4589 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxScrolledWindow
, 0 | 0 );
4590 if (!SWIG_IsOK(res1
)) {
4591 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrolledWindow_EnableScrolling" "', expected argument " "1"" of type '" "wxScrolledWindow *""'");
4593 arg1
= reinterpret_cast< wxScrolledWindow
* >(argp1
);
4594 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
4595 if (!SWIG_IsOK(ecode2
)) {
4596 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ScrolledWindow_EnableScrolling" "', expected argument " "2"" of type '" "bool""'");
4598 arg2
= static_cast< bool >(val2
);
4599 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
4600 if (!SWIG_IsOK(ecode3
)) {
4601 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ScrolledWindow_EnableScrolling" "', expected argument " "3"" of type '" "bool""'");
4603 arg3
= static_cast< bool >(val3
);
4605 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4606 (arg1
)->EnableScrolling(arg2
,arg3
);
4607 wxPyEndAllowThreads(__tstate
);
4608 if (PyErr_Occurred()) SWIG_fail
;
4610 resultobj
= SWIG_Py_Void();
4617 SWIGINTERN PyObject
*_wrap_ScrolledWindow_GetViewStart(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4618 PyObject
*resultobj
= 0;
4619 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
4620 int *arg2
= (int *) 0 ;
4621 int *arg3
= (int *) 0 ;
4625 int res2
= SWIG_TMPOBJ
;
4627 int res3
= SWIG_TMPOBJ
;
4628 PyObject
*swig_obj
[1] ;
4632 if (!args
) SWIG_fail
;
4634 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxScrolledWindow
, 0 | 0 );
4635 if (!SWIG_IsOK(res1
)) {
4636 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrolledWindow_GetViewStart" "', expected argument " "1"" of type '" "wxScrolledWindow const *""'");
4638 arg1
= reinterpret_cast< wxScrolledWindow
* >(argp1
);
4640 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4641 ((wxScrolledWindow
const *)arg1
)->GetViewStart(arg2
,arg3
);
4642 wxPyEndAllowThreads(__tstate
);
4643 if (PyErr_Occurred()) SWIG_fail
;
4645 resultobj
= SWIG_Py_Void();
4646 if (SWIG_IsTmpObj(res2
)) {
4647 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
4649 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
4650 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
4652 if (SWIG_IsTmpObj(res3
)) {
4653 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
4655 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
4656 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
4664 SWIGINTERN PyObject
*_wrap_ScrolledWindow_SetScale(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4665 PyObject
*resultobj
= 0;
4666 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
4675 PyObject
* obj0
= 0 ;
4676 PyObject
* obj1
= 0 ;
4677 PyObject
* obj2
= 0 ;
4678 char * kwnames
[] = {
4679 (char *) "self",(char *) "xs",(char *) "ys", NULL
4682 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ScrolledWindow_SetScale",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
4683 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxScrolledWindow
, 0 | 0 );
4684 if (!SWIG_IsOK(res1
)) {
4685 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrolledWindow_SetScale" "', expected argument " "1"" of type '" "wxScrolledWindow *""'");
4687 arg1
= reinterpret_cast< wxScrolledWindow
* >(argp1
);
4688 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
4689 if (!SWIG_IsOK(ecode2
)) {
4690 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ScrolledWindow_SetScale" "', expected argument " "2"" of type '" "double""'");
4692 arg2
= static_cast< double >(val2
);
4693 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
4694 if (!SWIG_IsOK(ecode3
)) {
4695 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ScrolledWindow_SetScale" "', expected argument " "3"" of type '" "double""'");
4697 arg3
= static_cast< double >(val3
);
4699 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4700 (arg1
)->SetScale(arg2
,arg3
);
4701 wxPyEndAllowThreads(__tstate
);
4702 if (PyErr_Occurred()) SWIG_fail
;
4704 resultobj
= SWIG_Py_Void();
4711 SWIGINTERN PyObject
*_wrap_ScrolledWindow_GetScaleX(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4712 PyObject
*resultobj
= 0;
4713 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
4717 PyObject
*swig_obj
[1] ;
4719 if (!args
) SWIG_fail
;
4721 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxScrolledWindow
, 0 | 0 );
4722 if (!SWIG_IsOK(res1
)) {
4723 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrolledWindow_GetScaleX" "', expected argument " "1"" of type '" "wxScrolledWindow const *""'");
4725 arg1
= reinterpret_cast< wxScrolledWindow
* >(argp1
);
4727 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4728 result
= (double)((wxScrolledWindow
const *)arg1
)->GetScaleX();
4729 wxPyEndAllowThreads(__tstate
);
4730 if (PyErr_Occurred()) SWIG_fail
;
4732 resultobj
= SWIG_From_double(static_cast< double >(result
));
4739 SWIGINTERN PyObject
*_wrap_ScrolledWindow_GetScaleY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4740 PyObject
*resultobj
= 0;
4741 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
4745 PyObject
*swig_obj
[1] ;
4747 if (!args
) SWIG_fail
;
4749 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxScrolledWindow
, 0 | 0 );
4750 if (!SWIG_IsOK(res1
)) {
4751 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrolledWindow_GetScaleY" "', expected argument " "1"" of type '" "wxScrolledWindow const *""'");
4753 arg1
= reinterpret_cast< wxScrolledWindow
* >(argp1
);
4755 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4756 result
= (double)((wxScrolledWindow
const *)arg1
)->GetScaleY();
4757 wxPyEndAllowThreads(__tstate
);
4758 if (PyErr_Occurred()) SWIG_fail
;
4760 resultobj
= SWIG_From_double(static_cast< double >(result
));
4767 SWIGINTERN PyObject
*_wrap_ScrolledWindow_CalcScrolledPosition__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
4768 PyObject
*resultobj
= 0;
4769 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
4776 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
4777 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxScrolledWindow
, 0 | 0 );
4778 if (!SWIG_IsOK(res1
)) {
4779 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrolledWindow_CalcScrolledPosition" "', expected argument " "1"" of type '" "wxScrolledWindow const *""'");
4781 arg1
= reinterpret_cast< wxScrolledWindow
* >(argp1
);
4784 if ( ! wxPoint_helper(swig_obj
[1], &arg2
)) SWIG_fail
;
4787 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4788 result
= ((wxScrolledWindow
const *)arg1
)->CalcScrolledPosition((wxPoint
const &)*arg2
);
4789 wxPyEndAllowThreads(__tstate
);
4790 if (PyErr_Occurred()) SWIG_fail
;
4792 resultobj
= SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint
& >(result
))), SWIGTYPE_p_wxPoint
, SWIG_POINTER_OWN
| 0 );
4799 SWIGINTERN PyObject
*_wrap_ScrolledWindow_CalcScrolledPosition__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
4800 PyObject
*resultobj
= 0;
4801 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
4804 int *arg4
= (int *) 0 ;
4805 int *arg5
= (int *) 0 ;
4813 int res4
= SWIG_TMPOBJ
;
4815 int res5
= SWIG_TMPOBJ
;
4819 if ((nobjs
< 3) || (nobjs
> 3)) SWIG_fail
;
4820 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxScrolledWindow
, 0 | 0 );
4821 if (!SWIG_IsOK(res1
)) {
4822 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrolledWindow_CalcScrolledPosition" "', expected argument " "1"" of type '" "wxScrolledWindow const *""'");
4824 arg1
= reinterpret_cast< wxScrolledWindow
* >(argp1
);
4825 ecode2
= SWIG_AsVal_int(swig_obj
[1], &val2
);
4826 if (!SWIG_IsOK(ecode2
)) {
4827 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ScrolledWindow_CalcScrolledPosition" "', expected argument " "2"" of type '" "int""'");
4829 arg2
= static_cast< int >(val2
);
4830 ecode3
= SWIG_AsVal_int(swig_obj
[2], &val3
);
4831 if (!SWIG_IsOK(ecode3
)) {
4832 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ScrolledWindow_CalcScrolledPosition" "', expected argument " "3"" of type '" "int""'");
4834 arg3
= static_cast< int >(val3
);
4836 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4837 ((wxScrolledWindow
const *)arg1
)->CalcScrolledPosition(arg2
,arg3
,arg4
,arg5
);
4838 wxPyEndAllowThreads(__tstate
);
4839 if (PyErr_Occurred()) SWIG_fail
;
4841 resultobj
= SWIG_Py_Void();
4842 if (SWIG_IsTmpObj(res4
)) {
4843 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg4
)));
4845 int new_flags
= SWIG_IsNewObj(res4
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
4846 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_int
, new_flags
));
4848 if (SWIG_IsTmpObj(res5
)) {
4849 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg5
)));
4851 int new_flags
= SWIG_IsNewObj(res5
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
4852 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg5
), SWIGTYPE_p_int
, new_flags
));
4860 SWIGINTERN PyObject
*_wrap_ScrolledWindow_CalcScrolledPosition(PyObject
*self
, PyObject
*args
) {
4864 if (!(argc
= SWIG_Python_UnpackTuple(args
,"ScrolledWindow_CalcScrolledPosition",0,3,argv
))) SWIG_fail
;
4867 return _wrap_ScrolledWindow_CalcScrolledPosition__SWIG_0(self
, argc
, argv
);
4870 return _wrap_ScrolledWindow_CalcScrolledPosition__SWIG_1(self
, argc
, argv
);
4874 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'ScrolledWindow_CalcScrolledPosition'");
4879 SWIGINTERN PyObject
*_wrap_ScrolledWindow_CalcUnscrolledPosition__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
4880 PyObject
*resultobj
= 0;
4881 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
4888 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
4889 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxScrolledWindow
, 0 | 0 );
4890 if (!SWIG_IsOK(res1
)) {
4891 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrolledWindow_CalcUnscrolledPosition" "', expected argument " "1"" of type '" "wxScrolledWindow const *""'");
4893 arg1
= reinterpret_cast< wxScrolledWindow
* >(argp1
);
4896 if ( ! wxPoint_helper(swig_obj
[1], &arg2
)) SWIG_fail
;
4899 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4900 result
= ((wxScrolledWindow
const *)arg1
)->CalcUnscrolledPosition((wxPoint
const &)*arg2
);
4901 wxPyEndAllowThreads(__tstate
);
4902 if (PyErr_Occurred()) SWIG_fail
;
4904 resultobj
= SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint
& >(result
))), SWIGTYPE_p_wxPoint
, SWIG_POINTER_OWN
| 0 );
4911 SWIGINTERN PyObject
*_wrap_ScrolledWindow_CalcUnscrolledPosition__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
4912 PyObject
*resultobj
= 0;
4913 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
4916 int *arg4
= (int *) 0 ;
4917 int *arg5
= (int *) 0 ;
4925 int res4
= SWIG_TMPOBJ
;
4927 int res5
= SWIG_TMPOBJ
;
4931 if ((nobjs
< 3) || (nobjs
> 3)) SWIG_fail
;
4932 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxScrolledWindow
, 0 | 0 );
4933 if (!SWIG_IsOK(res1
)) {
4934 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrolledWindow_CalcUnscrolledPosition" "', expected argument " "1"" of type '" "wxScrolledWindow const *""'");
4936 arg1
= reinterpret_cast< wxScrolledWindow
* >(argp1
);
4937 ecode2
= SWIG_AsVal_int(swig_obj
[1], &val2
);
4938 if (!SWIG_IsOK(ecode2
)) {
4939 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ScrolledWindow_CalcUnscrolledPosition" "', expected argument " "2"" of type '" "int""'");
4941 arg2
= static_cast< int >(val2
);
4942 ecode3
= SWIG_AsVal_int(swig_obj
[2], &val3
);
4943 if (!SWIG_IsOK(ecode3
)) {
4944 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ScrolledWindow_CalcUnscrolledPosition" "', expected argument " "3"" of type '" "int""'");
4946 arg3
= static_cast< int >(val3
);
4948 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4949 ((wxScrolledWindow
const *)arg1
)->CalcUnscrolledPosition(arg2
,arg3
,arg4
,arg5
);
4950 wxPyEndAllowThreads(__tstate
);
4951 if (PyErr_Occurred()) SWIG_fail
;
4953 resultobj
= SWIG_Py_Void();
4954 if (SWIG_IsTmpObj(res4
)) {
4955 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg4
)));
4957 int new_flags
= SWIG_IsNewObj(res4
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
4958 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_int
, new_flags
));
4960 if (SWIG_IsTmpObj(res5
)) {
4961 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg5
)));
4963 int new_flags
= SWIG_IsNewObj(res5
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
4964 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg5
), SWIGTYPE_p_int
, new_flags
));
4972 SWIGINTERN PyObject
*_wrap_ScrolledWindow_CalcUnscrolledPosition(PyObject
*self
, PyObject
*args
) {
4976 if (!(argc
= SWIG_Python_UnpackTuple(args
,"ScrolledWindow_CalcUnscrolledPosition",0,3,argv
))) SWIG_fail
;
4979 return _wrap_ScrolledWindow_CalcUnscrolledPosition__SWIG_0(self
, argc
, argv
);
4982 return _wrap_ScrolledWindow_CalcUnscrolledPosition__SWIG_1(self
, argc
, argv
);
4986 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'ScrolledWindow_CalcUnscrolledPosition'");
4991 SWIGINTERN PyObject
*_wrap_ScrolledWindow_AdjustScrollbars(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4992 PyObject
*resultobj
= 0;
4993 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
4996 PyObject
*swig_obj
[1] ;
4998 if (!args
) SWIG_fail
;
5000 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxScrolledWindow
, 0 | 0 );
5001 if (!SWIG_IsOK(res1
)) {
5002 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrolledWindow_AdjustScrollbars" "', expected argument " "1"" of type '" "wxScrolledWindow *""'");
5004 arg1
= reinterpret_cast< wxScrolledWindow
* >(argp1
);
5006 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5007 (arg1
)->AdjustScrollbars();
5008 wxPyEndAllowThreads(__tstate
);
5009 if (PyErr_Occurred()) SWIG_fail
;
5011 resultobj
= SWIG_Py_Void();
5018 SWIGINTERN PyObject
*_wrap_ScrolledWindow_CalcScrollInc(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5019 PyObject
*resultobj
= 0;
5020 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
5021 wxScrollWinEvent
*arg2
= 0 ;
5027 PyObject
* obj0
= 0 ;
5028 PyObject
* obj1
= 0 ;
5029 char * kwnames
[] = {
5030 (char *) "self",(char *) "event", NULL
5033 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ScrolledWindow_CalcScrollInc",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5034 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxScrolledWindow
, 0 | 0 );
5035 if (!SWIG_IsOK(res1
)) {
5036 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrolledWindow_CalcScrollInc" "', expected argument " "1"" of type '" "wxScrolledWindow *""'");
5038 arg1
= reinterpret_cast< wxScrolledWindow
* >(argp1
);
5039 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxScrollWinEvent
, 0 );
5040 if (!SWIG_IsOK(res2
)) {
5041 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ScrolledWindow_CalcScrollInc" "', expected argument " "2"" of type '" "wxScrollWinEvent &""'");
5044 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ScrolledWindow_CalcScrollInc" "', expected argument " "2"" of type '" "wxScrollWinEvent &""'");
5046 arg2
= reinterpret_cast< wxScrollWinEvent
* >(argp2
);
5048 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5049 result
= (int)(arg1
)->CalcScrollInc(*arg2
);
5050 wxPyEndAllowThreads(__tstate
);
5051 if (PyErr_Occurred()) SWIG_fail
;
5053 resultobj
= SWIG_From_int(static_cast< int >(result
));
5060 SWIGINTERN PyObject
*_wrap_ScrolledWindow_SetTargetWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5061 PyObject
*resultobj
= 0;
5062 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
5063 wxWindow
*arg2
= (wxWindow
*) 0 ;
5068 PyObject
* obj0
= 0 ;
5069 PyObject
* obj1
= 0 ;
5070 char * kwnames
[] = {
5071 (char *) "self",(char *) "target", NULL
5074 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ScrolledWindow_SetTargetWindow",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5075 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxScrolledWindow
, 0 | 0 );
5076 if (!SWIG_IsOK(res1
)) {
5077 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrolledWindow_SetTargetWindow" "', expected argument " "1"" of type '" "wxScrolledWindow *""'");
5079 arg1
= reinterpret_cast< wxScrolledWindow
* >(argp1
);
5080 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
5081 if (!SWIG_IsOK(res2
)) {
5082 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ScrolledWindow_SetTargetWindow" "', expected argument " "2"" of type '" "wxWindow *""'");
5084 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
5086 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5087 (arg1
)->SetTargetWindow(arg2
);
5088 wxPyEndAllowThreads(__tstate
);
5089 if (PyErr_Occurred()) SWIG_fail
;
5091 resultobj
= SWIG_Py_Void();
5098 SWIGINTERN PyObject
*_wrap_ScrolledWindow_GetTargetWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5099 PyObject
*resultobj
= 0;
5100 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
5101 wxWindow
*result
= 0 ;
5104 PyObject
*swig_obj
[1] ;
5106 if (!args
) SWIG_fail
;
5108 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxScrolledWindow
, 0 | 0 );
5109 if (!SWIG_IsOK(res1
)) {
5110 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrolledWindow_GetTargetWindow" "', expected argument " "1"" of type '" "wxScrolledWindow const *""'");
5112 arg1
= reinterpret_cast< wxScrolledWindow
* >(argp1
);
5114 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5115 result
= (wxWindow
*)((wxScrolledWindow
const *)arg1
)->GetTargetWindow();
5116 wxPyEndAllowThreads(__tstate
);
5117 if (PyErr_Occurred()) SWIG_fail
;
5120 resultobj
= wxPyMake_wxObject(result
, 0);
5128 SWIGINTERN PyObject
*_wrap_ScrolledWindow_SetTargetRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5129 PyObject
*resultobj
= 0;
5130 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
5135 PyObject
* obj0
= 0 ;
5136 PyObject
* obj1
= 0 ;
5137 char * kwnames
[] = {
5138 (char *) "self",(char *) "rect", NULL
5141 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ScrolledWindow_SetTargetRect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5142 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxScrolledWindow
, 0 | 0 );
5143 if (!SWIG_IsOK(res1
)) {
5144 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrolledWindow_SetTargetRect" "', expected argument " "1"" of type '" "wxScrolledWindow *""'");
5146 arg1
= reinterpret_cast< wxScrolledWindow
* >(argp1
);
5149 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
5152 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5153 (arg1
)->SetTargetRect((wxRect
const &)*arg2
);
5154 wxPyEndAllowThreads(__tstate
);
5155 if (PyErr_Occurred()) SWIG_fail
;
5157 resultobj
= SWIG_Py_Void();
5164 SWIGINTERN PyObject
*_wrap_ScrolledWindow_GetTargetRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5165 PyObject
*resultobj
= 0;
5166 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
5170 PyObject
*swig_obj
[1] ;
5172 if (!args
) SWIG_fail
;
5174 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxScrolledWindow
, 0 | 0 );
5175 if (!SWIG_IsOK(res1
)) {
5176 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrolledWindow_GetTargetRect" "', expected argument " "1"" of type '" "wxScrolledWindow const *""'");
5178 arg1
= reinterpret_cast< wxScrolledWindow
* >(argp1
);
5180 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5181 result
= ((wxScrolledWindow
const *)arg1
)->GetTargetRect();
5182 wxPyEndAllowThreads(__tstate
);
5183 if (PyErr_Occurred()) SWIG_fail
;
5185 resultobj
= SWIG_NewPointerObj((new wxRect(static_cast< const wxRect
& >(result
))), SWIGTYPE_p_wxRect
, SWIG_POINTER_OWN
| 0 );
5192 SWIGINTERN PyObject
*_wrap_ScrolledWindow_DoPrepareDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5193 PyObject
*resultobj
= 0;
5194 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
5200 PyObject
* obj0
= 0 ;
5201 PyObject
* obj1
= 0 ;
5202 char * kwnames
[] = {
5203 (char *) "self",(char *) "dc", NULL
5206 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ScrolledWindow_DoPrepareDC",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5207 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxScrolledWindow
, 0 | 0 );
5208 if (!SWIG_IsOK(res1
)) {
5209 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrolledWindow_DoPrepareDC" "', expected argument " "1"" of type '" "wxScrolledWindow *""'");
5211 arg1
= reinterpret_cast< wxScrolledWindow
* >(argp1
);
5212 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxDC
, 0 );
5213 if (!SWIG_IsOK(res2
)) {
5214 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ScrolledWindow_DoPrepareDC" "', expected argument " "2"" of type '" "wxDC &""'");
5217 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ScrolledWindow_DoPrepareDC" "', expected argument " "2"" of type '" "wxDC &""'");
5219 arg2
= reinterpret_cast< wxDC
* >(argp2
);
5221 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5222 (arg1
)->DoPrepareDC(*arg2
);
5223 wxPyEndAllowThreads(__tstate
);
5224 if (PyErr_Occurred()) SWIG_fail
;
5226 resultobj
= SWIG_Py_Void();
5233 SWIGINTERN PyObject
*_wrap_ScrolledWindow_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5234 PyObject
*resultobj
= 0;
5235 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
5236 SwigValueWrapper
<wxVisualAttributes
> result
;
5239 PyObject
* obj0
= 0 ;
5240 char * kwnames
[] = {
5241 (char *) "variant", NULL
5244 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:ScrolledWindow_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
5246 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
5247 if (!SWIG_IsOK(ecode1
)) {
5248 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "ScrolledWindow_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
5250 arg1
= static_cast< wxWindowVariant
>(val1
);
5253 if (!wxPyCheckForApp()) SWIG_fail
;
5254 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5255 result
= wxScrolledWindow::GetClassDefaultAttributes(arg1
);
5256 wxPyEndAllowThreads(__tstate
);
5257 if (PyErr_Occurred()) SWIG_fail
;
5259 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
5266 SWIGINTERN PyObject
*ScrolledWindow_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5268 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
5269 SWIG_TypeNewClientData(SWIGTYPE_p_wxScrolledWindow
, SWIG_NewClientData(obj
));
5270 return SWIG_Py_Void();
5273 SWIGINTERN PyObject
*ScrolledWindow_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5274 return SWIG_Python_InitShadowInstance(args
);
5277 SWIGINTERN
int FrameNameStr_set(PyObject
*) {
5278 SWIG_Error(SWIG_AttributeError
,"Variable FrameNameStr is read-only.");
5283 SWIGINTERN PyObject
*FrameNameStr_get(void) {
5284 PyObject
*pyobj
= 0;
5288 pyobj
= PyUnicode_FromWideChar((&wxPyFrameNameStr
)->c_str(), (&wxPyFrameNameStr
)->Len());
5290 pyobj
= PyString_FromStringAndSize((&wxPyFrameNameStr
)->c_str(), (&wxPyFrameNameStr
)->Len());
5297 SWIGINTERN
int DialogNameStr_set(PyObject
*) {
5298 SWIG_Error(SWIG_AttributeError
,"Variable DialogNameStr is read-only.");
5303 SWIGINTERN PyObject
*DialogNameStr_get(void) {
5304 PyObject
*pyobj
= 0;
5308 pyobj
= PyUnicode_FromWideChar((&wxPyDialogNameStr
)->c_str(), (&wxPyDialogNameStr
)->Len());
5310 pyobj
= PyString_FromStringAndSize((&wxPyDialogNameStr
)->c_str(), (&wxPyDialogNameStr
)->Len());
5317 SWIGINTERN
int StatusLineNameStr_set(PyObject
*) {
5318 SWIG_Error(SWIG_AttributeError
,"Variable StatusLineNameStr is read-only.");
5323 SWIGINTERN PyObject
*StatusLineNameStr_get(void) {
5324 PyObject
*pyobj
= 0;
5328 pyobj
= PyUnicode_FromWideChar((&wxPyStatusLineNameStr
)->c_str(), (&wxPyStatusLineNameStr
)->Len());
5330 pyobj
= PyString_FromStringAndSize((&wxPyStatusLineNameStr
)->c_str(), (&wxPyStatusLineNameStr
)->Len());
5337 SWIGINTERN
int ToolBarNameStr_set(PyObject
*) {
5338 SWIG_Error(SWIG_AttributeError
,"Variable ToolBarNameStr is read-only.");
5343 SWIGINTERN PyObject
*ToolBarNameStr_get(void) {
5344 PyObject
*pyobj
= 0;
5348 pyobj
= PyUnicode_FromWideChar((&wxPyToolBarNameStr
)->c_str(), (&wxPyToolBarNameStr
)->Len());
5350 pyobj
= PyString_FromStringAndSize((&wxPyToolBarNameStr
)->c_str(), (&wxPyToolBarNameStr
)->Len());
5357 SWIGINTERN PyObject
*_wrap_TopLevelWindow_Maximize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5358 PyObject
*resultobj
= 0;
5359 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
5360 bool arg2
= (bool) true ;
5365 PyObject
* obj0
= 0 ;
5366 PyObject
* obj1
= 0 ;
5367 char * kwnames
[] = {
5368 (char *) "self",(char *) "maximize", NULL
5371 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:TopLevelWindow_Maximize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5372 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTopLevelWindow
, 0 | 0 );
5373 if (!SWIG_IsOK(res1
)) {
5374 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TopLevelWindow_Maximize" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
5376 arg1
= reinterpret_cast< wxTopLevelWindow
* >(argp1
);
5378 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
5379 if (!SWIG_IsOK(ecode2
)) {
5380 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TopLevelWindow_Maximize" "', expected argument " "2"" of type '" "bool""'");
5382 arg2
= static_cast< bool >(val2
);
5385 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5386 (arg1
)->Maximize(arg2
);
5387 wxPyEndAllowThreads(__tstate
);
5388 if (PyErr_Occurred()) SWIG_fail
;
5390 resultobj
= SWIG_Py_Void();
5397 SWIGINTERN PyObject
*_wrap_TopLevelWindow_Restore(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5398 PyObject
*resultobj
= 0;
5399 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
5402 PyObject
*swig_obj
[1] ;
5404 if (!args
) SWIG_fail
;
5406 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTopLevelWindow
, 0 | 0 );
5407 if (!SWIG_IsOK(res1
)) {
5408 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TopLevelWindow_Restore" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
5410 arg1
= reinterpret_cast< wxTopLevelWindow
* >(argp1
);
5412 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5414 wxPyEndAllowThreads(__tstate
);
5415 if (PyErr_Occurred()) SWIG_fail
;
5417 resultobj
= SWIG_Py_Void();
5424 SWIGINTERN PyObject
*_wrap_TopLevelWindow_Iconize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5425 PyObject
*resultobj
= 0;
5426 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
5427 bool arg2
= (bool) true ;
5432 PyObject
* obj0
= 0 ;
5433 PyObject
* obj1
= 0 ;
5434 char * kwnames
[] = {
5435 (char *) "self",(char *) "iconize", NULL
5438 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:TopLevelWindow_Iconize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5439 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTopLevelWindow
, 0 | 0 );
5440 if (!SWIG_IsOK(res1
)) {
5441 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TopLevelWindow_Iconize" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
5443 arg1
= reinterpret_cast< wxTopLevelWindow
* >(argp1
);
5445 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
5446 if (!SWIG_IsOK(ecode2
)) {
5447 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TopLevelWindow_Iconize" "', expected argument " "2"" of type '" "bool""'");
5449 arg2
= static_cast< bool >(val2
);
5452 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5453 (arg1
)->Iconize(arg2
);
5454 wxPyEndAllowThreads(__tstate
);
5455 if (PyErr_Occurred()) SWIG_fail
;
5457 resultobj
= SWIG_Py_Void();
5464 SWIGINTERN PyObject
*_wrap_TopLevelWindow_IsMaximized(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5465 PyObject
*resultobj
= 0;
5466 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
5470 PyObject
*swig_obj
[1] ;
5472 if (!args
) SWIG_fail
;
5474 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTopLevelWindow
, 0 | 0 );
5475 if (!SWIG_IsOK(res1
)) {
5476 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TopLevelWindow_IsMaximized" "', expected argument " "1"" of type '" "wxTopLevelWindow const *""'");
5478 arg1
= reinterpret_cast< wxTopLevelWindow
* >(argp1
);
5480 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5481 result
= (bool)((wxTopLevelWindow
const *)arg1
)->IsMaximized();
5482 wxPyEndAllowThreads(__tstate
);
5483 if (PyErr_Occurred()) SWIG_fail
;
5486 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5494 SWIGINTERN PyObject
*_wrap_TopLevelWindow_IsAlwaysMaximized(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5495 PyObject
*resultobj
= 0;
5496 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
5500 PyObject
*swig_obj
[1] ;
5502 if (!args
) SWIG_fail
;
5504 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTopLevelWindow
, 0 | 0 );
5505 if (!SWIG_IsOK(res1
)) {
5506 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TopLevelWindow_IsAlwaysMaximized" "', expected argument " "1"" of type '" "wxTopLevelWindow const *""'");
5508 arg1
= reinterpret_cast< wxTopLevelWindow
* >(argp1
);
5510 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5511 result
= (bool)((wxTopLevelWindow
const *)arg1
)->IsAlwaysMaximized();
5512 wxPyEndAllowThreads(__tstate
);
5513 if (PyErr_Occurred()) SWIG_fail
;
5516 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5524 SWIGINTERN PyObject
*_wrap_TopLevelWindow_IsIconized(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5525 PyObject
*resultobj
= 0;
5526 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
5530 PyObject
*swig_obj
[1] ;
5532 if (!args
) SWIG_fail
;
5534 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTopLevelWindow
, 0 | 0 );
5535 if (!SWIG_IsOK(res1
)) {
5536 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TopLevelWindow_IsIconized" "', expected argument " "1"" of type '" "wxTopLevelWindow const *""'");
5538 arg1
= reinterpret_cast< wxTopLevelWindow
* >(argp1
);
5540 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5541 result
= (bool)((wxTopLevelWindow
const *)arg1
)->IsIconized();
5542 wxPyEndAllowThreads(__tstate
);
5543 if (PyErr_Occurred()) SWIG_fail
;
5546 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5554 SWIGINTERN PyObject
*_wrap_TopLevelWindow_GetIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5555 PyObject
*resultobj
= 0;
5556 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
5560 PyObject
*swig_obj
[1] ;
5562 if (!args
) SWIG_fail
;
5564 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTopLevelWindow
, 0 | 0 );
5565 if (!SWIG_IsOK(res1
)) {
5566 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TopLevelWindow_GetIcon" "', expected argument " "1"" of type '" "wxTopLevelWindow const *""'");
5568 arg1
= reinterpret_cast< wxTopLevelWindow
* >(argp1
);
5570 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5571 result
= ((wxTopLevelWindow
const *)arg1
)->GetIcon();
5572 wxPyEndAllowThreads(__tstate
);
5573 if (PyErr_Occurred()) SWIG_fail
;
5575 resultobj
= SWIG_NewPointerObj((new wxIcon(static_cast< const wxIcon
& >(result
))), SWIGTYPE_p_wxIcon
, SWIG_POINTER_OWN
| 0 );
5582 SWIGINTERN PyObject
*_wrap_TopLevelWindow_SetIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5583 PyObject
*resultobj
= 0;
5584 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
5590 PyObject
* obj0
= 0 ;
5591 PyObject
* obj1
= 0 ;
5592 char * kwnames
[] = {
5593 (char *) "self",(char *) "icon", NULL
5596 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TopLevelWindow_SetIcon",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5597 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTopLevelWindow
, 0 | 0 );
5598 if (!SWIG_IsOK(res1
)) {
5599 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TopLevelWindow_SetIcon" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
5601 arg1
= reinterpret_cast< wxTopLevelWindow
* >(argp1
);
5602 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxIcon
, 0 | 0);
5603 if (!SWIG_IsOK(res2
)) {
5604 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TopLevelWindow_SetIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
5607 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TopLevelWindow_SetIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
5609 arg2
= reinterpret_cast< wxIcon
* >(argp2
);
5611 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5612 (arg1
)->SetIcon((wxIcon
const &)*arg2
);
5613 wxPyEndAllowThreads(__tstate
);
5614 if (PyErr_Occurred()) SWIG_fail
;
5616 resultobj
= SWIG_Py_Void();
5623 SWIGINTERN PyObject
*_wrap_TopLevelWindow_SetIcons(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5624 PyObject
*resultobj
= 0;
5625 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
5626 wxIconBundle
*arg2
= 0 ;
5631 PyObject
* obj0
= 0 ;
5632 PyObject
* obj1
= 0 ;
5633 char * kwnames
[] = {
5634 (char *) "self",(char *) "icons", NULL
5637 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TopLevelWindow_SetIcons",kwnames
,&obj0
,&obj1
)) 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_SetIcons" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
5642 arg1
= reinterpret_cast< wxTopLevelWindow
* >(argp1
);
5643 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxIconBundle
, 0 | 0);
5644 if (!SWIG_IsOK(res2
)) {
5645 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TopLevelWindow_SetIcons" "', expected argument " "2"" of type '" "wxIconBundle const &""'");
5648 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TopLevelWindow_SetIcons" "', expected argument " "2"" of type '" "wxIconBundle const &""'");
5650 arg2
= reinterpret_cast< wxIconBundle
* >(argp2
);
5652 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5653 (arg1
)->SetIcons((wxIconBundle
const &)*arg2
);
5654 wxPyEndAllowThreads(__tstate
);
5655 if (PyErr_Occurred()) SWIG_fail
;
5657 resultobj
= SWIG_Py_Void();
5664 SWIGINTERN PyObject
*_wrap_TopLevelWindow_ShowFullScreen(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5665 PyObject
*resultobj
= 0;
5666 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
5668 long arg3
= (long) wxFULLSCREEN_ALL
;
5676 PyObject
* obj0
= 0 ;
5677 PyObject
* obj1
= 0 ;
5678 PyObject
* obj2
= 0 ;
5679 char * kwnames
[] = {
5680 (char *) "self",(char *) "show",(char *) "style", NULL
5683 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TopLevelWindow_ShowFullScreen",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
5684 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTopLevelWindow
, 0 | 0 );
5685 if (!SWIG_IsOK(res1
)) {
5686 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TopLevelWindow_ShowFullScreen" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
5688 arg1
= reinterpret_cast< wxTopLevelWindow
* >(argp1
);
5689 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
5690 if (!SWIG_IsOK(ecode2
)) {
5691 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TopLevelWindow_ShowFullScreen" "', expected argument " "2"" of type '" "bool""'");
5693 arg2
= static_cast< bool >(val2
);
5695 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
5696 if (!SWIG_IsOK(ecode3
)) {
5697 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TopLevelWindow_ShowFullScreen" "', expected argument " "3"" of type '" "long""'");
5699 arg3
= static_cast< long >(val3
);
5702 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5703 result
= (bool)(arg1
)->ShowFullScreen(arg2
,arg3
);
5704 wxPyEndAllowThreads(__tstate
);
5705 if (PyErr_Occurred()) SWIG_fail
;
5708 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5716 SWIGINTERN PyObject
*_wrap_TopLevelWindow_IsFullScreen(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5717 PyObject
*resultobj
= 0;
5718 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
5722 PyObject
*swig_obj
[1] ;
5724 if (!args
) SWIG_fail
;
5726 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTopLevelWindow
, 0 | 0 );
5727 if (!SWIG_IsOK(res1
)) {
5728 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TopLevelWindow_IsFullScreen" "', expected argument " "1"" of type '" "wxTopLevelWindow const *""'");
5730 arg1
= reinterpret_cast< wxTopLevelWindow
* >(argp1
);
5732 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5733 result
= (bool)((wxTopLevelWindow
const *)arg1
)->IsFullScreen();
5734 wxPyEndAllowThreads(__tstate
);
5735 if (PyErr_Occurred()) SWIG_fail
;
5738 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5746 SWIGINTERN PyObject
*_wrap_TopLevelWindow_SetTitle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5747 PyObject
*resultobj
= 0;
5748 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
5749 wxString
*arg2
= 0 ;
5752 bool temp2
= false ;
5753 PyObject
* obj0
= 0 ;
5754 PyObject
* obj1
= 0 ;
5755 char * kwnames
[] = {
5756 (char *) "self",(char *) "title", NULL
5759 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TopLevelWindow_SetTitle",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5760 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTopLevelWindow
, 0 | 0 );
5761 if (!SWIG_IsOK(res1
)) {
5762 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TopLevelWindow_SetTitle" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
5764 arg1
= reinterpret_cast< wxTopLevelWindow
* >(argp1
);
5766 arg2
= wxString_in_helper(obj1
);
5767 if (arg2
== NULL
) SWIG_fail
;
5771 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5772 (arg1
)->SetTitle((wxString
const &)*arg2
);
5773 wxPyEndAllowThreads(__tstate
);
5774 if (PyErr_Occurred()) SWIG_fail
;
5776 resultobj
= SWIG_Py_Void();
5791 SWIGINTERN PyObject
*_wrap_TopLevelWindow_GetTitle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5792 PyObject
*resultobj
= 0;
5793 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
5797 PyObject
*swig_obj
[1] ;
5799 if (!args
) SWIG_fail
;
5801 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTopLevelWindow
, 0 | 0 );
5802 if (!SWIG_IsOK(res1
)) {
5803 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TopLevelWindow_GetTitle" "', expected argument " "1"" of type '" "wxTopLevelWindow const *""'");
5805 arg1
= reinterpret_cast< wxTopLevelWindow
* >(argp1
);
5807 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5808 result
= ((wxTopLevelWindow
const *)arg1
)->GetTitle();
5809 wxPyEndAllowThreads(__tstate
);
5810 if (PyErr_Occurred()) SWIG_fail
;
5814 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
5816 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
5825 SWIGINTERN PyObject
*_wrap_TopLevelWindow_EnableCloseButton(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5826 PyObject
*resultobj
= 0;
5827 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
5834 PyObject
* obj0
= 0 ;
5835 PyObject
* obj1
= 0 ;
5836 char * kwnames
[] = {
5837 (char *) "self",(char *) "enable", NULL
5840 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TopLevelWindow_EnableCloseButton",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5841 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTopLevelWindow
, 0 | 0 );
5842 if (!SWIG_IsOK(res1
)) {
5843 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TopLevelWindow_EnableCloseButton" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
5845 arg1
= reinterpret_cast< wxTopLevelWindow
* >(argp1
);
5846 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
5847 if (!SWIG_IsOK(ecode2
)) {
5848 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TopLevelWindow_EnableCloseButton" "', expected argument " "2"" of type '" "bool""'");
5850 arg2
= static_cast< bool >(val2
);
5852 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5853 result
= (bool)(arg1
)->EnableCloseButton(arg2
);
5854 wxPyEndAllowThreads(__tstate
);
5855 if (PyErr_Occurred()) SWIG_fail
;
5858 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5866 SWIGINTERN PyObject
*_wrap_TopLevelWindow_SetShape(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5867 PyObject
*resultobj
= 0;
5868 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
5869 wxRegion
*arg2
= 0 ;
5875 PyObject
* obj0
= 0 ;
5876 PyObject
* obj1
= 0 ;
5877 char * kwnames
[] = {
5878 (char *) "self",(char *) "region", NULL
5881 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TopLevelWindow_SetShape",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5882 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTopLevelWindow
, 0 | 0 );
5883 if (!SWIG_IsOK(res1
)) {
5884 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TopLevelWindow_SetShape" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
5886 arg1
= reinterpret_cast< wxTopLevelWindow
* >(argp1
);
5887 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxRegion
, 0 | 0);
5888 if (!SWIG_IsOK(res2
)) {
5889 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TopLevelWindow_SetShape" "', expected argument " "2"" of type '" "wxRegion const &""'");
5892 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TopLevelWindow_SetShape" "', expected argument " "2"" of type '" "wxRegion const &""'");
5894 arg2
= reinterpret_cast< wxRegion
* >(argp2
);
5896 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5897 result
= (bool)(arg1
)->SetShape((wxRegion
const &)*arg2
);
5898 wxPyEndAllowThreads(__tstate
);
5899 if (PyErr_Occurred()) SWIG_fail
;
5902 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5910 SWIGINTERN PyObject
*_wrap_TopLevelWindow_RequestUserAttention(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5911 PyObject
*resultobj
= 0;
5912 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
5913 int arg2
= (int) wxUSER_ATTENTION_INFO
;
5918 PyObject
* obj0
= 0 ;
5919 PyObject
* obj1
= 0 ;
5920 char * kwnames
[] = {
5921 (char *) "self",(char *) "flags", NULL
5924 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:TopLevelWindow_RequestUserAttention",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5925 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTopLevelWindow
, 0 | 0 );
5926 if (!SWIG_IsOK(res1
)) {
5927 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TopLevelWindow_RequestUserAttention" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
5929 arg1
= reinterpret_cast< wxTopLevelWindow
* >(argp1
);
5931 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
5932 if (!SWIG_IsOK(ecode2
)) {
5933 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TopLevelWindow_RequestUserAttention" "', expected argument " "2"" of type '" "int""'");
5935 arg2
= static_cast< int >(val2
);
5938 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5939 (arg1
)->RequestUserAttention(arg2
);
5940 wxPyEndAllowThreads(__tstate
);
5941 if (PyErr_Occurred()) SWIG_fail
;
5943 resultobj
= SWIG_Py_Void();
5950 SWIGINTERN PyObject
*_wrap_TopLevelWindow_IsActive(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5951 PyObject
*resultobj
= 0;
5952 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
5956 PyObject
*swig_obj
[1] ;
5958 if (!args
) SWIG_fail
;
5960 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTopLevelWindow
, 0 | 0 );
5961 if (!SWIG_IsOK(res1
)) {
5962 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TopLevelWindow_IsActive" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
5964 arg1
= reinterpret_cast< wxTopLevelWindow
* >(argp1
);
5966 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5967 result
= (bool)(arg1
)->IsActive();
5968 wxPyEndAllowThreads(__tstate
);
5969 if (PyErr_Occurred()) SWIG_fail
;
5972 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5980 SWIGINTERN PyObject
*_wrap_TopLevelWindow_MacSetMetalAppearance(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5981 PyObject
*resultobj
= 0;
5982 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
5988 PyObject
* obj0
= 0 ;
5989 PyObject
* obj1
= 0 ;
5990 char * kwnames
[] = {
5991 (char *) "self",(char *) "on", NULL
5994 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TopLevelWindow_MacSetMetalAppearance",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5995 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTopLevelWindow
, 0 | 0 );
5996 if (!SWIG_IsOK(res1
)) {
5997 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TopLevelWindow_MacSetMetalAppearance" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
5999 arg1
= reinterpret_cast< wxTopLevelWindow
* >(argp1
);
6000 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
6001 if (!SWIG_IsOK(ecode2
)) {
6002 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TopLevelWindow_MacSetMetalAppearance" "', expected argument " "2"" of type '" "bool""'");
6004 arg2
= static_cast< bool >(val2
);
6006 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6007 wxTopLevelWindow_MacSetMetalAppearance(arg1
,arg2
);
6008 wxPyEndAllowThreads(__tstate
);
6009 if (PyErr_Occurred()) SWIG_fail
;
6011 resultobj
= SWIG_Py_Void();
6018 SWIGINTERN PyObject
*_wrap_TopLevelWindow_MacGetMetalAppearance(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6019 PyObject
*resultobj
= 0;
6020 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
6024 PyObject
*swig_obj
[1] ;
6026 if (!args
) SWIG_fail
;
6028 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTopLevelWindow
, 0 | 0 );
6029 if (!SWIG_IsOK(res1
)) {
6030 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TopLevelWindow_MacGetMetalAppearance" "', expected argument " "1"" of type '" "wxTopLevelWindow const *""'");
6032 arg1
= reinterpret_cast< wxTopLevelWindow
* >(argp1
);
6034 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6035 result
= (bool)wxTopLevelWindow_MacGetMetalAppearance((wxTopLevelWindow
const *)arg1
);
6036 wxPyEndAllowThreads(__tstate
);
6037 if (PyErr_Occurred()) SWIG_fail
;
6040 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6048 SWIGINTERN PyObject
*_wrap_TopLevelWindow_CenterOnScreen(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6049 PyObject
*resultobj
= 0;
6050 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
6051 int arg2
= (int) wxBOTH
;
6056 PyObject
* obj0
= 0 ;
6057 PyObject
* obj1
= 0 ;
6058 char * kwnames
[] = {
6059 (char *) "self",(char *) "dir", NULL
6062 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:TopLevelWindow_CenterOnScreen",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6063 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTopLevelWindow
, 0 | 0 );
6064 if (!SWIG_IsOK(res1
)) {
6065 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TopLevelWindow_CenterOnScreen" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
6067 arg1
= reinterpret_cast< wxTopLevelWindow
* >(argp1
);
6069 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
6070 if (!SWIG_IsOK(ecode2
)) {
6071 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TopLevelWindow_CenterOnScreen" "', expected argument " "2"" of type '" "int""'");
6073 arg2
= static_cast< int >(val2
);
6076 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6077 (arg1
)->CenterOnScreen(arg2
);
6078 wxPyEndAllowThreads(__tstate
);
6079 if (PyErr_Occurred()) SWIG_fail
;
6081 resultobj
= SWIG_Py_Void();
6088 SWIGINTERN PyObject
*_wrap_TopLevelWindow_GetDefaultItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6089 PyObject
*resultobj
= 0;
6090 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
6091 wxWindow
*result
= 0 ;
6094 PyObject
*swig_obj
[1] ;
6096 if (!args
) SWIG_fail
;
6098 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTopLevelWindow
, 0 | 0 );
6099 if (!SWIG_IsOK(res1
)) {
6100 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TopLevelWindow_GetDefaultItem" "', expected argument " "1"" of type '" "wxTopLevelWindow const *""'");
6102 arg1
= reinterpret_cast< wxTopLevelWindow
* >(argp1
);
6104 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6105 result
= (wxWindow
*)((wxTopLevelWindow
const *)arg1
)->GetDefaultItem();
6106 wxPyEndAllowThreads(__tstate
);
6107 if (PyErr_Occurred()) SWIG_fail
;
6110 resultobj
= wxPyMake_wxObject(result
, 0);
6118 SWIGINTERN PyObject
*_wrap_TopLevelWindow_SetDefaultItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6119 PyObject
*resultobj
= 0;
6120 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
6121 wxWindow
*arg2
= (wxWindow
*) 0 ;
6122 wxWindow
*result
= 0 ;
6127 PyObject
* obj0
= 0 ;
6128 PyObject
* obj1
= 0 ;
6129 char * kwnames
[] = {
6130 (char *) "self",(char *) "child", NULL
6133 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TopLevelWindow_SetDefaultItem",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6134 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTopLevelWindow
, 0 | 0 );
6135 if (!SWIG_IsOK(res1
)) {
6136 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TopLevelWindow_SetDefaultItem" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
6138 arg1
= reinterpret_cast< wxTopLevelWindow
* >(argp1
);
6139 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
6140 if (!SWIG_IsOK(res2
)) {
6141 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TopLevelWindow_SetDefaultItem" "', expected argument " "2"" of type '" "wxWindow *""'");
6143 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
6145 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6146 result
= (wxWindow
*)(arg1
)->SetDefaultItem(arg2
);
6147 wxPyEndAllowThreads(__tstate
);
6148 if (PyErr_Occurred()) SWIG_fail
;
6151 resultobj
= wxPyMake_wxObject(result
, 0);
6159 SWIGINTERN PyObject
*_wrap_TopLevelWindow_SetTmpDefaultItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6160 PyObject
*resultobj
= 0;
6161 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
6162 wxWindow
*arg2
= (wxWindow
*) 0 ;
6167 PyObject
* obj0
= 0 ;
6168 PyObject
* obj1
= 0 ;
6169 char * kwnames
[] = {
6170 (char *) "self",(char *) "win", NULL
6173 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TopLevelWindow_SetTmpDefaultItem",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6174 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTopLevelWindow
, 0 | 0 );
6175 if (!SWIG_IsOK(res1
)) {
6176 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TopLevelWindow_SetTmpDefaultItem" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
6178 arg1
= reinterpret_cast< wxTopLevelWindow
* >(argp1
);
6179 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
6180 if (!SWIG_IsOK(res2
)) {
6181 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TopLevelWindow_SetTmpDefaultItem" "', expected argument " "2"" of type '" "wxWindow *""'");
6183 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
6185 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6186 (arg1
)->SetTmpDefaultItem(arg2
);
6187 wxPyEndAllowThreads(__tstate
);
6188 if (PyErr_Occurred()) SWIG_fail
;
6190 resultobj
= SWIG_Py_Void();
6197 SWIGINTERN PyObject
*_wrap_TopLevelWindow_GetTmpDefaultItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6198 PyObject
*resultobj
= 0;
6199 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
6200 wxWindow
*result
= 0 ;
6203 PyObject
*swig_obj
[1] ;
6205 if (!args
) SWIG_fail
;
6207 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTopLevelWindow
, 0 | 0 );
6208 if (!SWIG_IsOK(res1
)) {
6209 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TopLevelWindow_GetTmpDefaultItem" "', expected argument " "1"" of type '" "wxTopLevelWindow const *""'");
6211 arg1
= reinterpret_cast< wxTopLevelWindow
* >(argp1
);
6213 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6214 result
= (wxWindow
*)((wxTopLevelWindow
const *)arg1
)->GetTmpDefaultItem();
6215 wxPyEndAllowThreads(__tstate
);
6216 if (PyErr_Occurred()) SWIG_fail
;
6219 resultobj
= wxPyMake_wxObject(result
, 0);
6227 SWIGINTERN PyObject
*TopLevelWindow_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6229 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
6230 SWIG_TypeNewClientData(SWIGTYPE_p_wxTopLevelWindow
, SWIG_NewClientData(obj
));
6231 return SWIG_Py_Void();
6234 SWIGINTERN PyObject
*_wrap_new_Frame(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6235 PyObject
*resultobj
= 0;
6236 wxWindow
*arg1
= (wxWindow
*) 0 ;
6237 int arg2
= (int) (int)-1 ;
6238 wxString
const &arg3_defvalue
= wxPyEmptyString
;
6239 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
6240 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
6241 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
6242 wxSize
const &arg5_defvalue
= wxDefaultSize
;
6243 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
6244 long arg6
= (long) wxDEFAULT_FRAME_STYLE
;
6245 wxString
const &arg7_defvalue
= wxPyFrameNameStr
;
6246 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
6247 wxFrame
*result
= 0 ;
6252 bool temp3
= false ;
6257 bool temp7
= false ;
6258 PyObject
* obj0
= 0 ;
6259 PyObject
* obj1
= 0 ;
6260 PyObject
* obj2
= 0 ;
6261 PyObject
* obj3
= 0 ;
6262 PyObject
* obj4
= 0 ;
6263 PyObject
* obj5
= 0 ;
6264 PyObject
* obj6
= 0 ;
6265 char * kwnames
[] = {
6266 (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
6269 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_Frame",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
6270 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
6271 if (!SWIG_IsOK(res1
)) {
6272 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_Frame" "', expected argument " "1"" of type '" "wxWindow *""'");
6274 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
6276 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
6277 if (!SWIG_IsOK(ecode2
)) {
6278 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Frame" "', expected argument " "2"" of type '" "int""'");
6280 arg2
= static_cast< int >(val2
);
6284 arg3
= wxString_in_helper(obj2
);
6285 if (arg3
== NULL
) SWIG_fail
;
6292 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
6298 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
6302 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
6303 if (!SWIG_IsOK(ecode6
)) {
6304 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_Frame" "', expected argument " "6"" of type '" "long""'");
6306 arg6
= static_cast< long >(val6
);
6310 arg7
= wxString_in_helper(obj6
);
6311 if (arg7
== NULL
) SWIG_fail
;
6316 if (!wxPyCheckForApp()) SWIG_fail
;
6317 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6318 result
= (wxFrame
*)new wxFrame(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
6319 wxPyEndAllowThreads(__tstate
);
6320 if (PyErr_Occurred()) SWIG_fail
;
6322 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFrame
, SWIG_POINTER_NEW
| 0 );
6345 SWIGINTERN PyObject
*_wrap_new_PreFrame(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6346 PyObject
*resultobj
= 0;
6347 wxFrame
*result
= 0 ;
6349 if (!SWIG_Python_UnpackTuple(args
,"new_PreFrame",0,0,0)) SWIG_fail
;
6351 if (!wxPyCheckForApp()) SWIG_fail
;
6352 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6353 result
= (wxFrame
*)new wxFrame();
6354 wxPyEndAllowThreads(__tstate
);
6355 if (PyErr_Occurred()) SWIG_fail
;
6357 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFrame
, SWIG_POINTER_OWN
| 0 );
6364 SWIGINTERN PyObject
*_wrap_Frame_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6365 PyObject
*resultobj
= 0;
6366 wxFrame
*arg1
= (wxFrame
*) 0 ;
6367 wxWindow
*arg2
= (wxWindow
*) 0 ;
6368 int arg3
= (int) (int)-1 ;
6369 wxString
const &arg4_defvalue
= wxPyEmptyString
;
6370 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
6371 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
6372 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
6373 wxSize
const &arg6_defvalue
= wxDefaultSize
;
6374 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
6375 long arg7
= (long) wxDEFAULT_FRAME_STYLE
;
6376 wxString
const &arg8_defvalue
= wxPyFrameNameStr
;
6377 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
6385 bool temp4
= false ;
6390 bool temp8
= false ;
6391 PyObject
* obj0
= 0 ;
6392 PyObject
* obj1
= 0 ;
6393 PyObject
* obj2
= 0 ;
6394 PyObject
* obj3
= 0 ;
6395 PyObject
* obj4
= 0 ;
6396 PyObject
* obj5
= 0 ;
6397 PyObject
* obj6
= 0 ;
6398 PyObject
* obj7
= 0 ;
6399 char * kwnames
[] = {
6400 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
6403 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:Frame_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
6404 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFrame
, 0 | 0 );
6405 if (!SWIG_IsOK(res1
)) {
6406 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Frame_Create" "', expected argument " "1"" of type '" "wxFrame *""'");
6408 arg1
= reinterpret_cast< wxFrame
* >(argp1
);
6409 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
6410 if (!SWIG_IsOK(res2
)) {
6411 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Frame_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
6413 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
6415 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
6416 if (!SWIG_IsOK(ecode3
)) {
6417 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Frame_Create" "', expected argument " "3"" of type '" "int""'");
6419 arg3
= static_cast< int >(val3
);
6423 arg4
= wxString_in_helper(obj3
);
6424 if (arg4
== NULL
) SWIG_fail
;
6431 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
6437 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
6441 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
6442 if (!SWIG_IsOK(ecode7
)) {
6443 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "Frame_Create" "', expected argument " "7"" of type '" "long""'");
6445 arg7
= static_cast< long >(val7
);
6449 arg8
= wxString_in_helper(obj7
);
6450 if (arg8
== NULL
) SWIG_fail
;
6455 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6456 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxString
const &)*arg8
);
6457 wxPyEndAllowThreads(__tstate
);
6458 if (PyErr_Occurred()) SWIG_fail
;
6461 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6485 SWIGINTERN PyObject
*_wrap_Frame_SendSizeEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6486 PyObject
*resultobj
= 0;
6487 wxFrame
*arg1
= (wxFrame
*) 0 ;
6490 PyObject
*swig_obj
[1] ;
6492 if (!args
) SWIG_fail
;
6494 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFrame
, 0 | 0 );
6495 if (!SWIG_IsOK(res1
)) {
6496 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Frame_SendSizeEvent" "', expected argument " "1"" of type '" "wxFrame *""'");
6498 arg1
= reinterpret_cast< wxFrame
* >(argp1
);
6500 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6501 (arg1
)->SendSizeEvent();
6502 wxPyEndAllowThreads(__tstate
);
6503 if (PyErr_Occurred()) SWIG_fail
;
6505 resultobj
= SWIG_Py_Void();
6512 SWIGINTERN PyObject
*_wrap_Frame_SetMenuBar(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6513 PyObject
*resultobj
= 0;
6514 wxFrame
*arg1
= (wxFrame
*) 0 ;
6515 wxMenuBar
*arg2
= (wxMenuBar
*) 0 ;
6520 PyObject
* obj0
= 0 ;
6521 PyObject
* obj1
= 0 ;
6522 char * kwnames
[] = {
6523 (char *) "self",(char *) "menubar", NULL
6526 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Frame_SetMenuBar",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6527 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFrame
, 0 | 0 );
6528 if (!SWIG_IsOK(res1
)) {
6529 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Frame_SetMenuBar" "', expected argument " "1"" of type '" "wxFrame *""'");
6531 arg1
= reinterpret_cast< wxFrame
* >(argp1
);
6532 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxMenuBar
, 0 | 0 );
6533 if (!SWIG_IsOK(res2
)) {
6534 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Frame_SetMenuBar" "', expected argument " "2"" of type '" "wxMenuBar *""'");
6536 arg2
= reinterpret_cast< wxMenuBar
* >(argp2
);
6538 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6539 (arg1
)->SetMenuBar(arg2
);
6540 wxPyEndAllowThreads(__tstate
);
6541 if (PyErr_Occurred()) SWIG_fail
;
6543 resultobj
= SWIG_Py_Void();
6550 SWIGINTERN PyObject
*_wrap_Frame_GetMenuBar(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6551 PyObject
*resultobj
= 0;
6552 wxFrame
*arg1
= (wxFrame
*) 0 ;
6553 wxMenuBar
*result
= 0 ;
6556 PyObject
*swig_obj
[1] ;
6558 if (!args
) SWIG_fail
;
6560 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFrame
, 0 | 0 );
6561 if (!SWIG_IsOK(res1
)) {
6562 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Frame_GetMenuBar" "', expected argument " "1"" of type '" "wxFrame const *""'");
6564 arg1
= reinterpret_cast< wxFrame
* >(argp1
);
6566 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6567 result
= (wxMenuBar
*)((wxFrame
const *)arg1
)->GetMenuBar();
6568 wxPyEndAllowThreads(__tstate
);
6569 if (PyErr_Occurred()) SWIG_fail
;
6572 resultobj
= wxPyMake_wxObject(result
, 0);
6580 SWIGINTERN PyObject
*_wrap_Frame_ProcessCommand(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6581 PyObject
*resultobj
= 0;
6582 wxFrame
*arg1
= (wxFrame
*) 0 ;
6589 PyObject
* obj0
= 0 ;
6590 PyObject
* obj1
= 0 ;
6591 char * kwnames
[] = {
6592 (char *) "self",(char *) "winid", NULL
6595 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Frame_ProcessCommand",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6596 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFrame
, 0 | 0 );
6597 if (!SWIG_IsOK(res1
)) {
6598 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Frame_ProcessCommand" "', expected argument " "1"" of type '" "wxFrame *""'");
6600 arg1
= reinterpret_cast< wxFrame
* >(argp1
);
6601 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
6602 if (!SWIG_IsOK(ecode2
)) {
6603 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Frame_ProcessCommand" "', expected argument " "2"" of type '" "int""'");
6605 arg2
= static_cast< int >(val2
);
6607 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6608 result
= (bool)(arg1
)->ProcessCommand(arg2
);
6609 wxPyEndAllowThreads(__tstate
);
6610 if (PyErr_Occurred()) SWIG_fail
;
6613 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6621 SWIGINTERN PyObject
*_wrap_Frame_CreateStatusBar(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6622 PyObject
*resultobj
= 0;
6623 wxFrame
*arg1
= (wxFrame
*) 0 ;
6624 int arg2
= (int) 1 ;
6625 long arg3
= (long) wxDEFAULT_STATUSBAR_STYLE
;
6626 int arg4
= (int) 0 ;
6627 wxString
const &arg5_defvalue
= wxPyStatusLineNameStr
;
6628 wxString
*arg5
= (wxString
*) &arg5_defvalue
;
6629 wxStatusBar
*result
= 0 ;
6638 bool temp5
= false ;
6639 PyObject
* obj0
= 0 ;
6640 PyObject
* obj1
= 0 ;
6641 PyObject
* obj2
= 0 ;
6642 PyObject
* obj3
= 0 ;
6643 PyObject
* obj4
= 0 ;
6644 char * kwnames
[] = {
6645 (char *) "self",(char *) "number",(char *) "style",(char *) "winid",(char *) "name", NULL
6648 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOO:Frame_CreateStatusBar",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
6649 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFrame
, 0 | 0 );
6650 if (!SWIG_IsOK(res1
)) {
6651 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Frame_CreateStatusBar" "', expected argument " "1"" of type '" "wxFrame *""'");
6653 arg1
= reinterpret_cast< wxFrame
* >(argp1
);
6655 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
6656 if (!SWIG_IsOK(ecode2
)) {
6657 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Frame_CreateStatusBar" "', expected argument " "2"" of type '" "int""'");
6659 arg2
= static_cast< int >(val2
);
6662 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
6663 if (!SWIG_IsOK(ecode3
)) {
6664 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Frame_CreateStatusBar" "', expected argument " "3"" of type '" "long""'");
6666 arg3
= static_cast< long >(val3
);
6669 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
6670 if (!SWIG_IsOK(ecode4
)) {
6671 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Frame_CreateStatusBar" "', expected argument " "4"" of type '" "int""'");
6673 arg4
= static_cast< int >(val4
);
6677 arg5
= wxString_in_helper(obj4
);
6678 if (arg5
== NULL
) SWIG_fail
;
6683 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6684 result
= (wxStatusBar
*)(arg1
)->CreateStatusBar(arg2
,arg3
,arg4
,(wxString
const &)*arg5
);
6685 wxPyEndAllowThreads(__tstate
);
6686 if (PyErr_Occurred()) SWIG_fail
;
6689 resultobj
= wxPyMake_wxObject(result
, (bool)0);
6705 SWIGINTERN PyObject
*_wrap_Frame_GetStatusBar(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6706 PyObject
*resultobj
= 0;
6707 wxFrame
*arg1
= (wxFrame
*) 0 ;
6708 wxStatusBar
*result
= 0 ;
6711 PyObject
*swig_obj
[1] ;
6713 if (!args
) SWIG_fail
;
6715 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFrame
, 0 | 0 );
6716 if (!SWIG_IsOK(res1
)) {
6717 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Frame_GetStatusBar" "', expected argument " "1"" of type '" "wxFrame const *""'");
6719 arg1
= reinterpret_cast< wxFrame
* >(argp1
);
6721 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6722 result
= (wxStatusBar
*)((wxFrame
const *)arg1
)->GetStatusBar();
6723 wxPyEndAllowThreads(__tstate
);
6724 if (PyErr_Occurred()) SWIG_fail
;
6727 resultobj
= wxPyMake_wxObject(result
, (bool)0);
6735 SWIGINTERN PyObject
*_wrap_Frame_SetStatusBar(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6736 PyObject
*resultobj
= 0;
6737 wxFrame
*arg1
= (wxFrame
*) 0 ;
6738 wxStatusBar
*arg2
= (wxStatusBar
*) 0 ;
6743 PyObject
* obj0
= 0 ;
6744 PyObject
* obj1
= 0 ;
6745 char * kwnames
[] = {
6746 (char *) "self",(char *) "statBar", NULL
6749 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Frame_SetStatusBar",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6750 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFrame
, 0 | 0 );
6751 if (!SWIG_IsOK(res1
)) {
6752 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Frame_SetStatusBar" "', expected argument " "1"" of type '" "wxFrame *""'");
6754 arg1
= reinterpret_cast< wxFrame
* >(argp1
);
6755 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxStatusBar
, 0 | 0 );
6756 if (!SWIG_IsOK(res2
)) {
6757 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Frame_SetStatusBar" "', expected argument " "2"" of type '" "wxStatusBar *""'");
6759 arg2
= reinterpret_cast< wxStatusBar
* >(argp2
);
6761 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6762 (arg1
)->SetStatusBar(arg2
);
6763 wxPyEndAllowThreads(__tstate
);
6764 if (PyErr_Occurred()) SWIG_fail
;
6766 resultobj
= SWIG_Py_Void();
6773 SWIGINTERN PyObject
*_wrap_Frame_SetStatusText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6774 PyObject
*resultobj
= 0;
6775 wxFrame
*arg1
= (wxFrame
*) 0 ;
6776 wxString
*arg2
= 0 ;
6777 int arg3
= (int) 0 ;
6780 bool temp2
= false ;
6783 PyObject
* obj0
= 0 ;
6784 PyObject
* obj1
= 0 ;
6785 PyObject
* obj2
= 0 ;
6786 char * kwnames
[] = {
6787 (char *) "self",(char *) "text",(char *) "number", NULL
6790 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Frame_SetStatusText",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
6791 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFrame
, 0 | 0 );
6792 if (!SWIG_IsOK(res1
)) {
6793 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Frame_SetStatusText" "', expected argument " "1"" of type '" "wxFrame *""'");
6795 arg1
= reinterpret_cast< wxFrame
* >(argp1
);
6797 arg2
= wxString_in_helper(obj1
);
6798 if (arg2
== NULL
) SWIG_fail
;
6802 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
6803 if (!SWIG_IsOK(ecode3
)) {
6804 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Frame_SetStatusText" "', expected argument " "3"" of type '" "int""'");
6806 arg3
= static_cast< int >(val3
);
6809 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6810 (arg1
)->SetStatusText((wxString
const &)*arg2
,arg3
);
6811 wxPyEndAllowThreads(__tstate
);
6812 if (PyErr_Occurred()) SWIG_fail
;
6814 resultobj
= SWIG_Py_Void();
6829 SWIGINTERN PyObject
*_wrap_Frame_SetStatusWidths(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6830 PyObject
*resultobj
= 0;
6831 wxFrame
*arg1
= (wxFrame
*) 0 ;
6833 int *arg3
= (int *) 0 ;
6836 PyObject
* obj0
= 0 ;
6837 PyObject
* obj1
= 0 ;
6838 char * kwnames
[] = {
6839 (char *) "self",(char *) "widths", NULL
6842 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Frame_SetStatusWidths",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6843 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFrame
, 0 | 0 );
6844 if (!SWIG_IsOK(res1
)) {
6845 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Frame_SetStatusWidths" "', expected argument " "1"" of type '" "wxFrame *""'");
6847 arg1
= reinterpret_cast< wxFrame
* >(argp1
);
6849 arg2
= PyList_Size(obj1
);
6850 arg3
= int_LIST_helper(obj1
);
6851 if (arg3
== NULL
) SWIG_fail
;
6854 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6855 (arg1
)->SetStatusWidths(arg2
,(int const *)arg3
);
6856 wxPyEndAllowThreads(__tstate
);
6857 if (PyErr_Occurred()) SWIG_fail
;
6859 resultobj
= SWIG_Py_Void();
6861 if (arg3
) delete [] arg3
;
6866 if (arg3
) delete [] arg3
;
6872 SWIGINTERN PyObject
*_wrap_Frame_PushStatusText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6873 PyObject
*resultobj
= 0;
6874 wxFrame
*arg1
= (wxFrame
*) 0 ;
6875 wxString
*arg2
= 0 ;
6876 int arg3
= (int) 0 ;
6879 bool temp2
= false ;
6882 PyObject
* obj0
= 0 ;
6883 PyObject
* obj1
= 0 ;
6884 PyObject
* obj2
= 0 ;
6885 char * kwnames
[] = {
6886 (char *) "self",(char *) "text",(char *) "number", NULL
6889 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Frame_PushStatusText",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
6890 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFrame
, 0 | 0 );
6891 if (!SWIG_IsOK(res1
)) {
6892 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Frame_PushStatusText" "', expected argument " "1"" of type '" "wxFrame *""'");
6894 arg1
= reinterpret_cast< wxFrame
* >(argp1
);
6896 arg2
= wxString_in_helper(obj1
);
6897 if (arg2
== NULL
) SWIG_fail
;
6901 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
6902 if (!SWIG_IsOK(ecode3
)) {
6903 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Frame_PushStatusText" "', expected argument " "3"" of type '" "int""'");
6905 arg3
= static_cast< int >(val3
);
6908 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6909 (arg1
)->PushStatusText((wxString
const &)*arg2
,arg3
);
6910 wxPyEndAllowThreads(__tstate
);
6911 if (PyErr_Occurred()) SWIG_fail
;
6913 resultobj
= SWIG_Py_Void();
6928 SWIGINTERN PyObject
*_wrap_Frame_PopStatusText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6929 PyObject
*resultobj
= 0;
6930 wxFrame
*arg1
= (wxFrame
*) 0 ;
6931 int arg2
= (int) 0 ;
6936 PyObject
* obj0
= 0 ;
6937 PyObject
* obj1
= 0 ;
6938 char * kwnames
[] = {
6939 (char *) "self",(char *) "number", NULL
6942 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Frame_PopStatusText",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6943 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFrame
, 0 | 0 );
6944 if (!SWIG_IsOK(res1
)) {
6945 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Frame_PopStatusText" "', expected argument " "1"" of type '" "wxFrame *""'");
6947 arg1
= reinterpret_cast< wxFrame
* >(argp1
);
6949 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
6950 if (!SWIG_IsOK(ecode2
)) {
6951 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Frame_PopStatusText" "', expected argument " "2"" of type '" "int""'");
6953 arg2
= static_cast< int >(val2
);
6956 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6957 (arg1
)->PopStatusText(arg2
);
6958 wxPyEndAllowThreads(__tstate
);
6959 if (PyErr_Occurred()) SWIG_fail
;
6961 resultobj
= SWIG_Py_Void();
6968 SWIGINTERN PyObject
*_wrap_Frame_SetStatusBarPane(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6969 PyObject
*resultobj
= 0;
6970 wxFrame
*arg1
= (wxFrame
*) 0 ;
6976 PyObject
* obj0
= 0 ;
6977 PyObject
* obj1
= 0 ;
6978 char * kwnames
[] = {
6979 (char *) "self",(char *) "n", NULL
6982 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Frame_SetStatusBarPane",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6983 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFrame
, 0 | 0 );
6984 if (!SWIG_IsOK(res1
)) {
6985 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Frame_SetStatusBarPane" "', expected argument " "1"" of type '" "wxFrame *""'");
6987 arg1
= reinterpret_cast< wxFrame
* >(argp1
);
6988 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
6989 if (!SWIG_IsOK(ecode2
)) {
6990 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Frame_SetStatusBarPane" "', expected argument " "2"" of type '" "int""'");
6992 arg2
= static_cast< int >(val2
);
6994 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6995 (arg1
)->SetStatusBarPane(arg2
);
6996 wxPyEndAllowThreads(__tstate
);
6997 if (PyErr_Occurred()) SWIG_fail
;
6999 resultobj
= SWIG_Py_Void();
7006 SWIGINTERN PyObject
*_wrap_Frame_GetStatusBarPane(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7007 PyObject
*resultobj
= 0;
7008 wxFrame
*arg1
= (wxFrame
*) 0 ;
7012 PyObject
*swig_obj
[1] ;
7014 if (!args
) SWIG_fail
;
7016 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFrame
, 0 | 0 );
7017 if (!SWIG_IsOK(res1
)) {
7018 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Frame_GetStatusBarPane" "', expected argument " "1"" of type '" "wxFrame const *""'");
7020 arg1
= reinterpret_cast< wxFrame
* >(argp1
);
7022 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7023 result
= (int)((wxFrame
const *)arg1
)->GetStatusBarPane();
7024 wxPyEndAllowThreads(__tstate
);
7025 if (PyErr_Occurred()) SWIG_fail
;
7027 resultobj
= SWIG_From_int(static_cast< int >(result
));
7034 SWIGINTERN PyObject
*_wrap_Frame_CreateToolBar(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7035 PyObject
*resultobj
= 0;
7036 wxFrame
*arg1
= (wxFrame
*) 0 ;
7037 long arg2
= (long) -1 ;
7038 int arg3
= (int) -1 ;
7039 wxString
const &arg4_defvalue
= wxPyToolBarNameStr
;
7040 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
7041 wxToolBar
*result
= 0 ;
7048 bool temp4
= false ;
7049 PyObject
* obj0
= 0 ;
7050 PyObject
* obj1
= 0 ;
7051 PyObject
* obj2
= 0 ;
7052 PyObject
* obj3
= 0 ;
7053 char * kwnames
[] = {
7054 (char *) "self",(char *) "style",(char *) "winid",(char *) "name", NULL
7057 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOO:Frame_CreateToolBar",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
7058 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFrame
, 0 | 0 );
7059 if (!SWIG_IsOK(res1
)) {
7060 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Frame_CreateToolBar" "', expected argument " "1"" of type '" "wxFrame *""'");
7062 arg1
= reinterpret_cast< wxFrame
* >(argp1
);
7064 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
7065 if (!SWIG_IsOK(ecode2
)) {
7066 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Frame_CreateToolBar" "', expected argument " "2"" of type '" "long""'");
7068 arg2
= static_cast< long >(val2
);
7071 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
7072 if (!SWIG_IsOK(ecode3
)) {
7073 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Frame_CreateToolBar" "', expected argument " "3"" of type '" "int""'");
7075 arg3
= static_cast< int >(val3
);
7079 arg4
= wxString_in_helper(obj3
);
7080 if (arg4
== NULL
) SWIG_fail
;
7085 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7086 result
= (wxToolBar
*)(arg1
)->CreateToolBar(arg2
,arg3
,(wxString
const &)*arg4
);
7087 wxPyEndAllowThreads(__tstate
);
7088 if (PyErr_Occurred()) SWIG_fail
;
7091 resultobj
= wxPyMake_wxObject(result
, (bool)0);
7107 SWIGINTERN PyObject
*_wrap_Frame_GetToolBar(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7108 PyObject
*resultobj
= 0;
7109 wxFrame
*arg1
= (wxFrame
*) 0 ;
7110 wxToolBar
*result
= 0 ;
7113 PyObject
*swig_obj
[1] ;
7115 if (!args
) SWIG_fail
;
7117 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFrame
, 0 | 0 );
7118 if (!SWIG_IsOK(res1
)) {
7119 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Frame_GetToolBar" "', expected argument " "1"" of type '" "wxFrame const *""'");
7121 arg1
= reinterpret_cast< wxFrame
* >(argp1
);
7123 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7124 result
= (wxToolBar
*)((wxFrame
const *)arg1
)->GetToolBar();
7125 wxPyEndAllowThreads(__tstate
);
7126 if (PyErr_Occurred()) SWIG_fail
;
7129 resultobj
= wxPyMake_wxObject(result
, (bool)0);
7137 SWIGINTERN PyObject
*_wrap_Frame_SetToolBar(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7138 PyObject
*resultobj
= 0;
7139 wxFrame
*arg1
= (wxFrame
*) 0 ;
7140 wxToolBar
*arg2
= (wxToolBar
*) 0 ;
7145 PyObject
* obj0
= 0 ;
7146 PyObject
* obj1
= 0 ;
7147 char * kwnames
[] = {
7148 (char *) "self",(char *) "toolbar", NULL
7151 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Frame_SetToolBar",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7152 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFrame
, 0 | 0 );
7153 if (!SWIG_IsOK(res1
)) {
7154 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Frame_SetToolBar" "', expected argument " "1"" of type '" "wxFrame *""'");
7156 arg1
= reinterpret_cast< wxFrame
* >(argp1
);
7157 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxToolBar
, 0 | 0 );
7158 if (!SWIG_IsOK(res2
)) {
7159 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Frame_SetToolBar" "', expected argument " "2"" of type '" "wxToolBar *""'");
7161 arg2
= reinterpret_cast< wxToolBar
* >(argp2
);
7163 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7164 (arg1
)->SetToolBar(arg2
);
7165 wxPyEndAllowThreads(__tstate
);
7166 if (PyErr_Occurred()) SWIG_fail
;
7168 resultobj
= SWIG_Py_Void();
7175 SWIGINTERN PyObject
*_wrap_Frame_DoGiveHelp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7176 PyObject
*resultobj
= 0;
7177 wxFrame
*arg1
= (wxFrame
*) 0 ;
7178 wxString
*arg2
= 0 ;
7182 bool temp2
= false ;
7185 PyObject
* obj0
= 0 ;
7186 PyObject
* obj1
= 0 ;
7187 PyObject
* obj2
= 0 ;
7188 char * kwnames
[] = {
7189 (char *) "self",(char *) "text",(char *) "show", NULL
7192 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Frame_DoGiveHelp",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
7193 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFrame
, 0 | 0 );
7194 if (!SWIG_IsOK(res1
)) {
7195 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Frame_DoGiveHelp" "', expected argument " "1"" of type '" "wxFrame *""'");
7197 arg1
= reinterpret_cast< wxFrame
* >(argp1
);
7199 arg2
= wxString_in_helper(obj1
);
7200 if (arg2
== NULL
) SWIG_fail
;
7203 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
7204 if (!SWIG_IsOK(ecode3
)) {
7205 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Frame_DoGiveHelp" "', expected argument " "3"" of type '" "bool""'");
7207 arg3
= static_cast< bool >(val3
);
7209 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7210 (arg1
)->DoGiveHelp((wxString
const &)*arg2
,arg3
);
7211 wxPyEndAllowThreads(__tstate
);
7212 if (PyErr_Occurred()) SWIG_fail
;
7214 resultobj
= SWIG_Py_Void();
7229 SWIGINTERN PyObject
*_wrap_Frame_DoMenuUpdates(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7230 PyObject
*resultobj
= 0;
7231 wxFrame
*arg1
= (wxFrame
*) 0 ;
7232 wxMenu
*arg2
= (wxMenu
*) NULL
;
7237 PyObject
* obj0
= 0 ;
7238 PyObject
* obj1
= 0 ;
7239 char * kwnames
[] = {
7240 (char *) "self",(char *) "menu", NULL
7243 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Frame_DoMenuUpdates",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7244 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFrame
, 0 | 0 );
7245 if (!SWIG_IsOK(res1
)) {
7246 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Frame_DoMenuUpdates" "', expected argument " "1"" of type '" "wxFrame *""'");
7248 arg1
= reinterpret_cast< wxFrame
* >(argp1
);
7250 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxMenu
, 0 | 0 );
7251 if (!SWIG_IsOK(res2
)) {
7252 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Frame_DoMenuUpdates" "', expected argument " "2"" of type '" "wxMenu *""'");
7254 arg2
= reinterpret_cast< wxMenu
* >(argp2
);
7257 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7258 (arg1
)->DoMenuUpdates(arg2
);
7259 wxPyEndAllowThreads(__tstate
);
7260 if (PyErr_Occurred()) SWIG_fail
;
7262 resultobj
= SWIG_Py_Void();
7269 SWIGINTERN PyObject
*_wrap_Frame_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7270 PyObject
*resultobj
= 0;
7271 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
7272 SwigValueWrapper
<wxVisualAttributes
> result
;
7275 PyObject
* obj0
= 0 ;
7276 char * kwnames
[] = {
7277 (char *) "variant", NULL
7280 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Frame_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
7282 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
7283 if (!SWIG_IsOK(ecode1
)) {
7284 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "Frame_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
7286 arg1
= static_cast< wxWindowVariant
>(val1
);
7289 if (!wxPyCheckForApp()) SWIG_fail
;
7290 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7291 result
= wxFrame::GetClassDefaultAttributes(arg1
);
7292 wxPyEndAllowThreads(__tstate
);
7293 if (PyErr_Occurred()) SWIG_fail
;
7295 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
7302 SWIGINTERN PyObject
*Frame_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7304 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
7305 SWIG_TypeNewClientData(SWIGTYPE_p_wxFrame
, SWIG_NewClientData(obj
));
7306 return SWIG_Py_Void();
7309 SWIGINTERN PyObject
*Frame_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7310 return SWIG_Python_InitShadowInstance(args
);
7313 SWIGINTERN PyObject
*_wrap_new_Dialog(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7314 PyObject
*resultobj
= 0;
7315 wxWindow
*arg1
= (wxWindow
*) 0 ;
7316 int arg2
= (int) (int)-1 ;
7317 wxString
const &arg3_defvalue
= wxPyEmptyString
;
7318 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
7319 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
7320 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
7321 wxSize
const &arg5_defvalue
= wxDefaultSize
;
7322 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
7323 long arg6
= (long) wxDEFAULT_DIALOG_STYLE
;
7324 wxString
const &arg7_defvalue
= wxPyDialogNameStr
;
7325 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
7326 wxDialog
*result
= 0 ;
7331 bool temp3
= false ;
7336 bool temp7
= false ;
7337 PyObject
* obj0
= 0 ;
7338 PyObject
* obj1
= 0 ;
7339 PyObject
* obj2
= 0 ;
7340 PyObject
* obj3
= 0 ;
7341 PyObject
* obj4
= 0 ;
7342 PyObject
* obj5
= 0 ;
7343 PyObject
* obj6
= 0 ;
7344 char * kwnames
[] = {
7345 (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
7348 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_Dialog",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
7349 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
7350 if (!SWIG_IsOK(res1
)) {
7351 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_Dialog" "', expected argument " "1"" of type '" "wxWindow *""'");
7353 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
7355 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
7356 if (!SWIG_IsOK(ecode2
)) {
7357 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Dialog" "', expected argument " "2"" of type '" "int""'");
7359 arg2
= static_cast< int >(val2
);
7363 arg3
= wxString_in_helper(obj2
);
7364 if (arg3
== NULL
) SWIG_fail
;
7371 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
7377 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
7381 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
7382 if (!SWIG_IsOK(ecode6
)) {
7383 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_Dialog" "', expected argument " "6"" of type '" "long""'");
7385 arg6
= static_cast< long >(val6
);
7389 arg7
= wxString_in_helper(obj6
);
7390 if (arg7
== NULL
) SWIG_fail
;
7395 if (!wxPyCheckForApp()) SWIG_fail
;
7396 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7397 result
= (wxDialog
*)new wxDialog(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
7398 wxPyEndAllowThreads(__tstate
);
7399 if (PyErr_Occurred()) SWIG_fail
;
7401 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDialog
, SWIG_POINTER_NEW
| 0 );
7424 SWIGINTERN PyObject
*_wrap_new_PreDialog(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7425 PyObject
*resultobj
= 0;
7426 wxDialog
*result
= 0 ;
7428 if (!SWIG_Python_UnpackTuple(args
,"new_PreDialog",0,0,0)) SWIG_fail
;
7430 if (!wxPyCheckForApp()) SWIG_fail
;
7431 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7432 result
= (wxDialog
*)new wxDialog();
7433 wxPyEndAllowThreads(__tstate
);
7434 if (PyErr_Occurred()) SWIG_fail
;
7436 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDialog
, SWIG_POINTER_OWN
| 0 );
7443 SWIGINTERN PyObject
*_wrap_Dialog_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7444 PyObject
*resultobj
= 0;
7445 wxDialog
*arg1
= (wxDialog
*) 0 ;
7446 wxWindow
*arg2
= (wxWindow
*) 0 ;
7447 int arg3
= (int) (int)-1 ;
7448 wxString
const &arg4_defvalue
= wxPyEmptyString
;
7449 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
7450 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
7451 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
7452 wxSize
const &arg6_defvalue
= wxDefaultSize
;
7453 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
7454 long arg7
= (long) wxDEFAULT_DIALOG_STYLE
;
7455 wxString
const &arg8_defvalue
= wxPyDialogNameStr
;
7456 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
7464 bool temp4
= false ;
7469 bool temp8
= false ;
7470 PyObject
* obj0
= 0 ;
7471 PyObject
* obj1
= 0 ;
7472 PyObject
* obj2
= 0 ;
7473 PyObject
* obj3
= 0 ;
7474 PyObject
* obj4
= 0 ;
7475 PyObject
* obj5
= 0 ;
7476 PyObject
* obj6
= 0 ;
7477 PyObject
* obj7
= 0 ;
7478 char * kwnames
[] = {
7479 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
7482 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:Dialog_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
7483 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDialog
, 0 | 0 );
7484 if (!SWIG_IsOK(res1
)) {
7485 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Dialog_Create" "', expected argument " "1"" of type '" "wxDialog *""'");
7487 arg1
= reinterpret_cast< wxDialog
* >(argp1
);
7488 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
7489 if (!SWIG_IsOK(res2
)) {
7490 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Dialog_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
7492 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
7494 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
7495 if (!SWIG_IsOK(ecode3
)) {
7496 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Dialog_Create" "', expected argument " "3"" of type '" "int""'");
7498 arg3
= static_cast< int >(val3
);
7502 arg4
= wxString_in_helper(obj3
);
7503 if (arg4
== NULL
) SWIG_fail
;
7510 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
7516 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
7520 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
7521 if (!SWIG_IsOK(ecode7
)) {
7522 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "Dialog_Create" "', expected argument " "7"" of type '" "long""'");
7524 arg7
= static_cast< long >(val7
);
7528 arg8
= wxString_in_helper(obj7
);
7529 if (arg8
== NULL
) SWIG_fail
;
7534 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7535 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxString
const &)*arg8
);
7536 wxPyEndAllowThreads(__tstate
);
7537 if (PyErr_Occurred()) SWIG_fail
;
7540 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7564 SWIGINTERN PyObject
*_wrap_Dialog_SetReturnCode(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7565 PyObject
*resultobj
= 0;
7566 wxDialog
*arg1
= (wxDialog
*) 0 ;
7572 PyObject
* obj0
= 0 ;
7573 PyObject
* obj1
= 0 ;
7574 char * kwnames
[] = {
7575 (char *) "self",(char *) "returnCode", NULL
7578 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Dialog_SetReturnCode",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7579 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDialog
, 0 | 0 );
7580 if (!SWIG_IsOK(res1
)) {
7581 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Dialog_SetReturnCode" "', expected argument " "1"" of type '" "wxDialog *""'");
7583 arg1
= reinterpret_cast< wxDialog
* >(argp1
);
7584 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
7585 if (!SWIG_IsOK(ecode2
)) {
7586 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Dialog_SetReturnCode" "', expected argument " "2"" of type '" "int""'");
7588 arg2
= static_cast< int >(val2
);
7590 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7591 (arg1
)->SetReturnCode(arg2
);
7592 wxPyEndAllowThreads(__tstate
);
7593 if (PyErr_Occurred()) SWIG_fail
;
7595 resultobj
= SWIG_Py_Void();
7602 SWIGINTERN PyObject
*_wrap_Dialog_GetReturnCode(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7603 PyObject
*resultobj
= 0;
7604 wxDialog
*arg1
= (wxDialog
*) 0 ;
7608 PyObject
*swig_obj
[1] ;
7610 if (!args
) SWIG_fail
;
7612 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDialog
, 0 | 0 );
7613 if (!SWIG_IsOK(res1
)) {
7614 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Dialog_GetReturnCode" "', expected argument " "1"" of type '" "wxDialog const *""'");
7616 arg1
= reinterpret_cast< wxDialog
* >(argp1
);
7618 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7619 result
= (int)((wxDialog
const *)arg1
)->GetReturnCode();
7620 wxPyEndAllowThreads(__tstate
);
7621 if (PyErr_Occurred()) SWIG_fail
;
7623 resultobj
= SWIG_From_int(static_cast< int >(result
));
7630 SWIGINTERN PyObject
*_wrap_Dialog_SetAffirmativeId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7631 PyObject
*resultobj
= 0;
7632 wxDialog
*arg1
= (wxDialog
*) 0 ;
7638 PyObject
* obj0
= 0 ;
7639 PyObject
* obj1
= 0 ;
7640 char * kwnames
[] = {
7641 (char *) "self",(char *) "affirmativeId", NULL
7644 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Dialog_SetAffirmativeId",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7645 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDialog
, 0 | 0 );
7646 if (!SWIG_IsOK(res1
)) {
7647 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Dialog_SetAffirmativeId" "', expected argument " "1"" of type '" "wxDialog *""'");
7649 arg1
= reinterpret_cast< wxDialog
* >(argp1
);
7650 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
7651 if (!SWIG_IsOK(ecode2
)) {
7652 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Dialog_SetAffirmativeId" "', expected argument " "2"" of type '" "int""'");
7654 arg2
= static_cast< int >(val2
);
7656 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7657 (arg1
)->SetAffirmativeId(arg2
);
7658 wxPyEndAllowThreads(__tstate
);
7659 if (PyErr_Occurred()) SWIG_fail
;
7661 resultobj
= SWIG_Py_Void();
7668 SWIGINTERN PyObject
*_wrap_Dialog_GetAffirmativeId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7669 PyObject
*resultobj
= 0;
7670 wxDialog
*arg1
= (wxDialog
*) 0 ;
7674 PyObject
*swig_obj
[1] ;
7676 if (!args
) SWIG_fail
;
7678 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDialog
, 0 | 0 );
7679 if (!SWIG_IsOK(res1
)) {
7680 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Dialog_GetAffirmativeId" "', expected argument " "1"" of type '" "wxDialog const *""'");
7682 arg1
= reinterpret_cast< wxDialog
* >(argp1
);
7684 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7685 result
= (int)((wxDialog
const *)arg1
)->GetAffirmativeId();
7686 wxPyEndAllowThreads(__tstate
);
7687 if (PyErr_Occurred()) SWIG_fail
;
7689 resultobj
= SWIG_From_int(static_cast< int >(result
));
7696 SWIGINTERN PyObject
*_wrap_Dialog_SetEscapeId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7697 PyObject
*resultobj
= 0;
7698 wxDialog
*arg1
= (wxDialog
*) 0 ;
7704 PyObject
* obj0
= 0 ;
7705 PyObject
* obj1
= 0 ;
7706 char * kwnames
[] = {
7707 (char *) "self",(char *) "escapeId", NULL
7710 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Dialog_SetEscapeId",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7711 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDialog
, 0 | 0 );
7712 if (!SWIG_IsOK(res1
)) {
7713 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Dialog_SetEscapeId" "', expected argument " "1"" of type '" "wxDialog *""'");
7715 arg1
= reinterpret_cast< wxDialog
* >(argp1
);
7716 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
7717 if (!SWIG_IsOK(ecode2
)) {
7718 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Dialog_SetEscapeId" "', expected argument " "2"" of type '" "int""'");
7720 arg2
= static_cast< int >(val2
);
7722 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7723 (arg1
)->SetEscapeId(arg2
);
7724 wxPyEndAllowThreads(__tstate
);
7725 if (PyErr_Occurred()) SWIG_fail
;
7727 resultobj
= SWIG_Py_Void();
7734 SWIGINTERN PyObject
*_wrap_Dialog_GetEscapeId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7735 PyObject
*resultobj
= 0;
7736 wxDialog
*arg1
= (wxDialog
*) 0 ;
7740 PyObject
*swig_obj
[1] ;
7742 if (!args
) SWIG_fail
;
7744 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDialog
, 0 | 0 );
7745 if (!SWIG_IsOK(res1
)) {
7746 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Dialog_GetEscapeId" "', expected argument " "1"" of type '" "wxDialog const *""'");
7748 arg1
= reinterpret_cast< wxDialog
* >(argp1
);
7750 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7751 result
= (int)((wxDialog
const *)arg1
)->GetEscapeId();
7752 wxPyEndAllowThreads(__tstate
);
7753 if (PyErr_Occurred()) SWIG_fail
;
7755 resultobj
= SWIG_From_int(static_cast< int >(result
));
7762 SWIGINTERN PyObject
*_wrap_Dialog_CreateTextSizer(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7763 PyObject
*resultobj
= 0;
7764 wxDialog
*arg1
= (wxDialog
*) 0 ;
7765 wxString
*arg2
= 0 ;
7766 wxSizer
*result
= 0 ;
7769 bool temp2
= false ;
7770 PyObject
* obj0
= 0 ;
7771 PyObject
* obj1
= 0 ;
7772 char * kwnames
[] = {
7773 (char *) "self",(char *) "message", NULL
7776 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Dialog_CreateTextSizer",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7777 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDialog
, 0 | 0 );
7778 if (!SWIG_IsOK(res1
)) {
7779 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Dialog_CreateTextSizer" "', expected argument " "1"" of type '" "wxDialog *""'");
7781 arg1
= reinterpret_cast< wxDialog
* >(argp1
);
7783 arg2
= wxString_in_helper(obj1
);
7784 if (arg2
== NULL
) SWIG_fail
;
7788 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7789 result
= (wxSizer
*)(arg1
)->CreateTextSizer((wxString
const &)*arg2
);
7790 wxPyEndAllowThreads(__tstate
);
7791 if (PyErr_Occurred()) SWIG_fail
;
7794 resultobj
= wxPyMake_wxObject(result
, (bool)0);
7810 SWIGINTERN PyObject
*_wrap_Dialog__CreateButtonSizer(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7811 PyObject
*resultobj
= 0;
7812 wxDialog
*arg1
= (wxDialog
*) 0 ;
7814 wxSizer
*result
= 0 ;
7819 PyObject
* obj0
= 0 ;
7820 PyObject
* obj1
= 0 ;
7821 char * kwnames
[] = {
7822 (char *) "self",(char *) "flags", NULL
7825 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Dialog__CreateButtonSizer",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7826 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDialog
, 0 | 0 );
7827 if (!SWIG_IsOK(res1
)) {
7828 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Dialog__CreateButtonSizer" "', expected argument " "1"" of type '" "wxDialog *""'");
7830 arg1
= reinterpret_cast< wxDialog
* >(argp1
);
7831 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
7832 if (!SWIG_IsOK(ecode2
)) {
7833 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Dialog__CreateButtonSizer" "', expected argument " "2"" of type '" "long""'");
7835 arg2
= static_cast< long >(val2
);
7837 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7838 result
= (wxSizer
*)(arg1
)->CreateButtonSizer(arg2
);
7839 wxPyEndAllowThreads(__tstate
);
7840 if (PyErr_Occurred()) SWIG_fail
;
7843 resultobj
= wxPyMake_wxObject(result
, (bool)0);
7851 SWIGINTERN PyObject
*_wrap_Dialog_CreateSeparatedButtonSizer(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7852 PyObject
*resultobj
= 0;
7853 wxDialog
*arg1
= (wxDialog
*) 0 ;
7855 wxSizer
*result
= 0 ;
7860 PyObject
* obj0
= 0 ;
7861 PyObject
* obj1
= 0 ;
7862 char * kwnames
[] = {
7863 (char *) "self",(char *) "flags", NULL
7866 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Dialog_CreateSeparatedButtonSizer",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7867 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDialog
, 0 | 0 );
7868 if (!SWIG_IsOK(res1
)) {
7869 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Dialog_CreateSeparatedButtonSizer" "', expected argument " "1"" of type '" "wxDialog *""'");
7871 arg1
= reinterpret_cast< wxDialog
* >(argp1
);
7872 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
7873 if (!SWIG_IsOK(ecode2
)) {
7874 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Dialog_CreateSeparatedButtonSizer" "', expected argument " "2"" of type '" "long""'");
7876 arg2
= static_cast< long >(val2
);
7878 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7879 result
= (wxSizer
*)(arg1
)->CreateSeparatedButtonSizer(arg2
);
7880 wxPyEndAllowThreads(__tstate
);
7881 if (PyErr_Occurred()) SWIG_fail
;
7884 resultobj
= wxPyMake_wxObject(result
, (bool)0);
7892 SWIGINTERN PyObject
*_wrap_Dialog_CreateStdDialogButtonSizer(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7893 PyObject
*resultobj
= 0;
7894 wxDialog
*arg1
= (wxDialog
*) 0 ;
7896 wxStdDialogButtonSizer
*result
= 0 ;
7901 PyObject
* obj0
= 0 ;
7902 PyObject
* obj1
= 0 ;
7903 char * kwnames
[] = {
7904 (char *) "self",(char *) "flags", NULL
7907 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Dialog_CreateStdDialogButtonSizer",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7908 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDialog
, 0 | 0 );
7909 if (!SWIG_IsOK(res1
)) {
7910 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Dialog_CreateStdDialogButtonSizer" "', expected argument " "1"" of type '" "wxDialog *""'");
7912 arg1
= reinterpret_cast< wxDialog
* >(argp1
);
7913 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
7914 if (!SWIG_IsOK(ecode2
)) {
7915 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Dialog_CreateStdDialogButtonSizer" "', expected argument " "2"" of type '" "long""'");
7917 arg2
= static_cast< long >(val2
);
7919 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7920 result
= (wxStdDialogButtonSizer
*)(arg1
)->CreateStdDialogButtonSizer(arg2
);
7921 wxPyEndAllowThreads(__tstate
);
7922 if (PyErr_Occurred()) SWIG_fail
;
7924 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxStdDialogButtonSizer
, 0 | 0 );
7931 SWIGINTERN PyObject
*_wrap_Dialog_IsModal(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7932 PyObject
*resultobj
= 0;
7933 wxDialog
*arg1
= (wxDialog
*) 0 ;
7937 PyObject
*swig_obj
[1] ;
7939 if (!args
) SWIG_fail
;
7941 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDialog
, 0 | 0 );
7942 if (!SWIG_IsOK(res1
)) {
7943 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Dialog_IsModal" "', expected argument " "1"" of type '" "wxDialog const *""'");
7945 arg1
= reinterpret_cast< wxDialog
* >(argp1
);
7947 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7948 result
= (bool)((wxDialog
const *)arg1
)->IsModal();
7949 wxPyEndAllowThreads(__tstate
);
7950 if (PyErr_Occurred()) SWIG_fail
;
7953 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7961 SWIGINTERN PyObject
*_wrap_Dialog_ShowModal(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7962 PyObject
*resultobj
= 0;
7963 wxDialog
*arg1
= (wxDialog
*) 0 ;
7967 PyObject
*swig_obj
[1] ;
7969 if (!args
) SWIG_fail
;
7971 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDialog
, 0 | 0 );
7972 if (!SWIG_IsOK(res1
)) {
7973 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Dialog_ShowModal" "', expected argument " "1"" of type '" "wxDialog *""'");
7975 arg1
= reinterpret_cast< wxDialog
* >(argp1
);
7977 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7978 result
= (int)(arg1
)->ShowModal();
7979 wxPyEndAllowThreads(__tstate
);
7980 if (PyErr_Occurred()) SWIG_fail
;
7982 resultobj
= SWIG_From_int(static_cast< int >(result
));
7989 SWIGINTERN PyObject
*_wrap_Dialog_EndModal(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7990 PyObject
*resultobj
= 0;
7991 wxDialog
*arg1
= (wxDialog
*) 0 ;
7997 PyObject
* obj0
= 0 ;
7998 PyObject
* obj1
= 0 ;
7999 char * kwnames
[] = {
8000 (char *) "self",(char *) "retCode", NULL
8003 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Dialog_EndModal",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
8004 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDialog
, 0 | 0 );
8005 if (!SWIG_IsOK(res1
)) {
8006 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Dialog_EndModal" "', expected argument " "1"" of type '" "wxDialog *""'");
8008 arg1
= reinterpret_cast< wxDialog
* >(argp1
);
8009 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
8010 if (!SWIG_IsOK(ecode2
)) {
8011 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Dialog_EndModal" "', expected argument " "2"" of type '" "int""'");
8013 arg2
= static_cast< int >(val2
);
8015 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8016 (arg1
)->EndModal(arg2
);
8017 wxPyEndAllowThreads(__tstate
);
8018 if (PyErr_Occurred()) SWIG_fail
;
8020 resultobj
= SWIG_Py_Void();
8027 SWIGINTERN PyObject
*_wrap_Dialog_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8028 PyObject
*resultobj
= 0;
8029 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
8030 SwigValueWrapper
<wxVisualAttributes
> result
;
8033 PyObject
* obj0
= 0 ;
8034 char * kwnames
[] = {
8035 (char *) "variant", NULL
8038 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Dialog_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
8040 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
8041 if (!SWIG_IsOK(ecode1
)) {
8042 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "Dialog_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
8044 arg1
= static_cast< wxWindowVariant
>(val1
);
8047 if (!wxPyCheckForApp()) SWIG_fail
;
8048 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8049 result
= wxDialog::GetClassDefaultAttributes(arg1
);
8050 wxPyEndAllowThreads(__tstate
);
8051 if (PyErr_Occurred()) SWIG_fail
;
8053 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
8060 SWIGINTERN PyObject
*Dialog_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8062 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
8063 SWIG_TypeNewClientData(SWIGTYPE_p_wxDialog
, SWIG_NewClientData(obj
));
8064 return SWIG_Py_Void();
8067 SWIGINTERN PyObject
*Dialog_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8068 return SWIG_Python_InitShadowInstance(args
);
8071 SWIGINTERN PyObject
*_wrap_new_MiniFrame(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8072 PyObject
*resultobj
= 0;
8073 wxWindow
*arg1
= (wxWindow
*) 0 ;
8074 int arg2
= (int) (int)-1 ;
8075 wxString
const &arg3_defvalue
= wxPyEmptyString
;
8076 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
8077 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
8078 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
8079 wxSize
const &arg5_defvalue
= wxDefaultSize
;
8080 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
8081 long arg6
= (long) wxDEFAULT_FRAME_STYLE
;
8082 wxString
const &arg7_defvalue
= wxPyFrameNameStr
;
8083 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
8084 wxMiniFrame
*result
= 0 ;
8089 bool temp3
= false ;
8094 bool temp7
= false ;
8095 PyObject
* obj0
= 0 ;
8096 PyObject
* obj1
= 0 ;
8097 PyObject
* obj2
= 0 ;
8098 PyObject
* obj3
= 0 ;
8099 PyObject
* obj4
= 0 ;
8100 PyObject
* obj5
= 0 ;
8101 PyObject
* obj6
= 0 ;
8102 char * kwnames
[] = {
8103 (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
8106 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_MiniFrame",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
8107 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
8108 if (!SWIG_IsOK(res1
)) {
8109 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_MiniFrame" "', expected argument " "1"" of type '" "wxWindow *""'");
8111 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
8113 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
8114 if (!SWIG_IsOK(ecode2
)) {
8115 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_MiniFrame" "', expected argument " "2"" of type '" "int""'");
8117 arg2
= static_cast< int >(val2
);
8121 arg3
= wxString_in_helper(obj2
);
8122 if (arg3
== NULL
) SWIG_fail
;
8129 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
8135 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
8139 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
8140 if (!SWIG_IsOK(ecode6
)) {
8141 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_MiniFrame" "', expected argument " "6"" of type '" "long""'");
8143 arg6
= static_cast< long >(val6
);
8147 arg7
= wxString_in_helper(obj6
);
8148 if (arg7
== NULL
) SWIG_fail
;
8153 if (!wxPyCheckForApp()) SWIG_fail
;
8154 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8155 result
= (wxMiniFrame
*)new wxMiniFrame(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
8156 wxPyEndAllowThreads(__tstate
);
8157 if (PyErr_Occurred()) SWIG_fail
;
8159 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMiniFrame
, SWIG_POINTER_NEW
| 0 );
8182 SWIGINTERN PyObject
*_wrap_new_PreMiniFrame(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8183 PyObject
*resultobj
= 0;
8184 wxMiniFrame
*result
= 0 ;
8186 if (!SWIG_Python_UnpackTuple(args
,"new_PreMiniFrame",0,0,0)) SWIG_fail
;
8188 if (!wxPyCheckForApp()) SWIG_fail
;
8189 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8190 result
= (wxMiniFrame
*)new wxMiniFrame();
8191 wxPyEndAllowThreads(__tstate
);
8192 if (PyErr_Occurred()) SWIG_fail
;
8194 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMiniFrame
, SWIG_POINTER_OWN
| 0 );
8201 SWIGINTERN PyObject
*_wrap_MiniFrame_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8202 PyObject
*resultobj
= 0;
8203 wxMiniFrame
*arg1
= (wxMiniFrame
*) 0 ;
8204 wxWindow
*arg2
= (wxWindow
*) 0 ;
8205 int arg3
= (int) (int)-1 ;
8206 wxString
const &arg4_defvalue
= wxPyEmptyString
;
8207 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
8208 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
8209 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
8210 wxSize
const &arg6_defvalue
= wxDefaultSize
;
8211 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
8212 long arg7
= (long) wxDEFAULT_FRAME_STYLE
;
8213 wxString
const &arg8_defvalue
= wxPyFrameNameStr
;
8214 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
8222 bool temp4
= false ;
8227 bool temp8
= false ;
8228 PyObject
* obj0
= 0 ;
8229 PyObject
* obj1
= 0 ;
8230 PyObject
* obj2
= 0 ;
8231 PyObject
* obj3
= 0 ;
8232 PyObject
* obj4
= 0 ;
8233 PyObject
* obj5
= 0 ;
8234 PyObject
* obj6
= 0 ;
8235 PyObject
* obj7
= 0 ;
8236 char * kwnames
[] = {
8237 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
8240 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:MiniFrame_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
8241 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMiniFrame
, 0 | 0 );
8242 if (!SWIG_IsOK(res1
)) {
8243 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MiniFrame_Create" "', expected argument " "1"" of type '" "wxMiniFrame *""'");
8245 arg1
= reinterpret_cast< wxMiniFrame
* >(argp1
);
8246 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
8247 if (!SWIG_IsOK(res2
)) {
8248 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "MiniFrame_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
8250 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
8252 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
8253 if (!SWIG_IsOK(ecode3
)) {
8254 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "MiniFrame_Create" "', expected argument " "3"" of type '" "int""'");
8256 arg3
= static_cast< int >(val3
);
8260 arg4
= wxString_in_helper(obj3
);
8261 if (arg4
== NULL
) SWIG_fail
;
8268 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
8274 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
8278 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
8279 if (!SWIG_IsOK(ecode7
)) {
8280 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "MiniFrame_Create" "', expected argument " "7"" of type '" "long""'");
8282 arg7
= static_cast< long >(val7
);
8286 arg8
= wxString_in_helper(obj7
);
8287 if (arg8
== NULL
) SWIG_fail
;
8292 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8293 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxString
const &)*arg8
);
8294 wxPyEndAllowThreads(__tstate
);
8295 if (PyErr_Occurred()) SWIG_fail
;
8298 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8322 SWIGINTERN PyObject
*MiniFrame_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8324 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
8325 SWIG_TypeNewClientData(SWIGTYPE_p_wxMiniFrame
, SWIG_NewClientData(obj
));
8326 return SWIG_Py_Void();
8329 SWIGINTERN PyObject
*MiniFrame_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8330 return SWIG_Python_InitShadowInstance(args
);
8333 SWIGINTERN PyObject
*_wrap_new_SplashScreenWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8334 PyObject
*resultobj
= 0;
8335 wxBitmap
*arg1
= 0 ;
8336 wxWindow
*arg2
= (wxWindow
*) 0 ;
8338 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
8339 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
8340 wxSize
const &arg5_defvalue
= wxDefaultSize
;
8341 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
8342 long arg6
= (long) wxNO_BORDER
;
8343 wxSplashScreenWindow
*result
= 0 ;
8354 PyObject
* obj0
= 0 ;
8355 PyObject
* obj1
= 0 ;
8356 PyObject
* obj2
= 0 ;
8357 PyObject
* obj3
= 0 ;
8358 PyObject
* obj4
= 0 ;
8359 PyObject
* obj5
= 0 ;
8360 char * kwnames
[] = {
8361 (char *) "bitmap",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
8364 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOO:new_SplashScreenWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
8365 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxBitmap
, 0 | 0);
8366 if (!SWIG_IsOK(res1
)) {
8367 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_SplashScreenWindow" "', expected argument " "1"" of type '" "wxBitmap const &""'");
8370 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_SplashScreenWindow" "', expected argument " "1"" of type '" "wxBitmap const &""'");
8372 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
8373 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
8374 if (!SWIG_IsOK(res2
)) {
8375 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_SplashScreenWindow" "', expected argument " "2"" of type '" "wxWindow *""'");
8377 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
8378 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
8379 if (!SWIG_IsOK(ecode3
)) {
8380 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_SplashScreenWindow" "', expected argument " "3"" of type '" "int""'");
8382 arg3
= static_cast< int >(val3
);
8386 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
8392 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
8396 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
8397 if (!SWIG_IsOK(ecode6
)) {
8398 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_SplashScreenWindow" "', expected argument " "6"" of type '" "long""'");
8400 arg6
= static_cast< long >(val6
);
8403 if (!wxPyCheckForApp()) SWIG_fail
;
8404 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8405 result
= (wxSplashScreenWindow
*)new wxSplashScreenWindow((wxBitmap
const &)*arg1
,arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
);
8406 wxPyEndAllowThreads(__tstate
);
8407 if (PyErr_Occurred()) SWIG_fail
;
8409 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSplashScreenWindow
, SWIG_POINTER_NEW
| 0 );
8416 SWIGINTERN PyObject
*_wrap_SplashScreenWindow_SetBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8417 PyObject
*resultobj
= 0;
8418 wxSplashScreenWindow
*arg1
= (wxSplashScreenWindow
*) 0 ;
8419 wxBitmap
*arg2
= 0 ;
8424 PyObject
* obj0
= 0 ;
8425 PyObject
* obj1
= 0 ;
8426 char * kwnames
[] = {
8427 (char *) "self",(char *) "bitmap", NULL
8430 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SplashScreenWindow_SetBitmap",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
8431 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSplashScreenWindow
, 0 | 0 );
8432 if (!SWIG_IsOK(res1
)) {
8433 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplashScreenWindow_SetBitmap" "', expected argument " "1"" of type '" "wxSplashScreenWindow *""'");
8435 arg1
= reinterpret_cast< wxSplashScreenWindow
* >(argp1
);
8436 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
8437 if (!SWIG_IsOK(res2
)) {
8438 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "SplashScreenWindow_SetBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
8441 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "SplashScreenWindow_SetBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
8443 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
8445 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8446 (arg1
)->SetBitmap((wxBitmap
const &)*arg2
);
8447 wxPyEndAllowThreads(__tstate
);
8448 if (PyErr_Occurred()) SWIG_fail
;
8450 resultobj
= SWIG_Py_Void();
8457 SWIGINTERN PyObject
*_wrap_SplashScreenWindow_GetBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8458 PyObject
*resultobj
= 0;
8459 wxSplashScreenWindow
*arg1
= (wxSplashScreenWindow
*) 0 ;
8460 wxBitmap
*result
= 0 ;
8463 PyObject
*swig_obj
[1] ;
8465 if (!args
) SWIG_fail
;
8467 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSplashScreenWindow
, 0 | 0 );
8468 if (!SWIG_IsOK(res1
)) {
8469 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplashScreenWindow_GetBitmap" "', expected argument " "1"" of type '" "wxSplashScreenWindow *""'");
8471 arg1
= reinterpret_cast< wxSplashScreenWindow
* >(argp1
);
8473 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8475 wxBitmap
&_result_ref
= (arg1
)->GetBitmap();
8476 result
= (wxBitmap
*) &_result_ref
;
8478 wxPyEndAllowThreads(__tstate
);
8479 if (PyErr_Occurred()) SWIG_fail
;
8482 wxBitmap
* resultptr
= new wxBitmap(*result
);
8483 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxBitmap
, 1);
8491 SWIGINTERN PyObject
*SplashScreenWindow_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8493 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
8494 SWIG_TypeNewClientData(SWIGTYPE_p_wxSplashScreenWindow
, SWIG_NewClientData(obj
));
8495 return SWIG_Py_Void();
8498 SWIGINTERN PyObject
*SplashScreenWindow_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8499 return SWIG_Python_InitShadowInstance(args
);
8502 SWIGINTERN PyObject
*_wrap_new_SplashScreen(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8503 PyObject
*resultobj
= 0;
8504 wxBitmap
*arg1
= 0 ;
8507 wxWindow
*arg4
= (wxWindow
*) 0 ;
8508 int arg5
= (int) -1 ;
8509 wxPoint
const &arg6_defvalue
= wxDefaultPosition
;
8510 wxPoint
*arg6
= (wxPoint
*) &arg6_defvalue
;
8511 wxSize
const &arg7_defvalue
= wxDefaultSize
;
8512 wxSize
*arg7
= (wxSize
*) &arg7_defvalue
;
8513 long arg8
= (long) wxSIMPLE_BORDER
|wxFRAME_NO_TASKBAR
|wxSTAY_ON_TOP
;
8514 wxSplashScreen
*result
= 0 ;
8529 PyObject
* obj0
= 0 ;
8530 PyObject
* obj1
= 0 ;
8531 PyObject
* obj2
= 0 ;
8532 PyObject
* obj3
= 0 ;
8533 PyObject
* obj4
= 0 ;
8534 PyObject
* obj5
= 0 ;
8535 PyObject
* obj6
= 0 ;
8536 PyObject
* obj7
= 0 ;
8537 char * kwnames
[] = {
8538 (char *) "bitmap",(char *) "splashStyle",(char *) "milliseconds",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
8541 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOOO:new_SplashScreen",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
8542 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxBitmap
, 0 | 0);
8543 if (!SWIG_IsOK(res1
)) {
8544 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_SplashScreen" "', expected argument " "1"" of type '" "wxBitmap const &""'");
8547 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_SplashScreen" "', expected argument " "1"" of type '" "wxBitmap const &""'");
8549 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
8550 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
8551 if (!SWIG_IsOK(ecode2
)) {
8552 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_SplashScreen" "', expected argument " "2"" of type '" "long""'");
8554 arg2
= static_cast< long >(val2
);
8555 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
8556 if (!SWIG_IsOK(ecode3
)) {
8557 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_SplashScreen" "', expected argument " "3"" of type '" "int""'");
8559 arg3
= static_cast< int >(val3
);
8560 res4
= SWIG_ConvertPtr(obj3
, &argp4
,SWIGTYPE_p_wxWindow
, 0 | 0 );
8561 if (!SWIG_IsOK(res4
)) {
8562 SWIG_exception_fail(SWIG_ArgError(res4
), "in method '" "new_SplashScreen" "', expected argument " "4"" of type '" "wxWindow *""'");
8564 arg4
= reinterpret_cast< wxWindow
* >(argp4
);
8566 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
8567 if (!SWIG_IsOK(ecode5
)) {
8568 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_SplashScreen" "', expected argument " "5"" of type '" "int""'");
8570 arg5
= static_cast< int >(val5
);
8575 if ( ! wxPoint_helper(obj5
, &arg6
)) SWIG_fail
;
8581 if ( ! wxSize_helper(obj6
, &arg7
)) SWIG_fail
;
8585 ecode8
= SWIG_AsVal_long(obj7
, &val8
);
8586 if (!SWIG_IsOK(ecode8
)) {
8587 SWIG_exception_fail(SWIG_ArgError(ecode8
), "in method '" "new_SplashScreen" "', expected argument " "8"" of type '" "long""'");
8589 arg8
= static_cast< long >(val8
);
8592 if (!wxPyCheckForApp()) SWIG_fail
;
8593 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8594 result
= (wxSplashScreen
*)new wxSplashScreen((wxBitmap
const &)*arg1
,arg2
,arg3
,arg4
,arg5
,(wxPoint
const &)*arg6
,(wxSize
const &)*arg7
,arg8
);
8595 wxPyEndAllowThreads(__tstate
);
8596 if (PyErr_Occurred()) SWIG_fail
;
8598 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSplashScreen
, SWIG_POINTER_NEW
| 0 );
8605 SWIGINTERN PyObject
*_wrap_SplashScreen_GetSplashStyle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8606 PyObject
*resultobj
= 0;
8607 wxSplashScreen
*arg1
= (wxSplashScreen
*) 0 ;
8611 PyObject
*swig_obj
[1] ;
8613 if (!args
) SWIG_fail
;
8615 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSplashScreen
, 0 | 0 );
8616 if (!SWIG_IsOK(res1
)) {
8617 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplashScreen_GetSplashStyle" "', expected argument " "1"" of type '" "wxSplashScreen const *""'");
8619 arg1
= reinterpret_cast< wxSplashScreen
* >(argp1
);
8621 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8622 result
= (long)((wxSplashScreen
const *)arg1
)->GetSplashStyle();
8623 wxPyEndAllowThreads(__tstate
);
8624 if (PyErr_Occurred()) SWIG_fail
;
8626 resultobj
= SWIG_From_long(static_cast< long >(result
));
8633 SWIGINTERN PyObject
*_wrap_SplashScreen_GetSplashWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8634 PyObject
*resultobj
= 0;
8635 wxSplashScreen
*arg1
= (wxSplashScreen
*) 0 ;
8636 wxSplashScreenWindow
*result
= 0 ;
8639 PyObject
*swig_obj
[1] ;
8641 if (!args
) SWIG_fail
;
8643 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSplashScreen
, 0 | 0 );
8644 if (!SWIG_IsOK(res1
)) {
8645 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplashScreen_GetSplashWindow" "', expected argument " "1"" of type '" "wxSplashScreen const *""'");
8647 arg1
= reinterpret_cast< wxSplashScreen
* >(argp1
);
8649 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8650 result
= (wxSplashScreenWindow
*)((wxSplashScreen
const *)arg1
)->GetSplashWindow();
8651 wxPyEndAllowThreads(__tstate
);
8652 if (PyErr_Occurred()) SWIG_fail
;
8654 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSplashScreenWindow
, 0 | 0 );
8661 SWIGINTERN PyObject
*_wrap_SplashScreen_GetTimeout(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8662 PyObject
*resultobj
= 0;
8663 wxSplashScreen
*arg1
= (wxSplashScreen
*) 0 ;
8667 PyObject
*swig_obj
[1] ;
8669 if (!args
) SWIG_fail
;
8671 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSplashScreen
, 0 | 0 );
8672 if (!SWIG_IsOK(res1
)) {
8673 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplashScreen_GetTimeout" "', expected argument " "1"" of type '" "wxSplashScreen const *""'");
8675 arg1
= reinterpret_cast< wxSplashScreen
* >(argp1
);
8677 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8678 result
= (int)((wxSplashScreen
const *)arg1
)->GetTimeout();
8679 wxPyEndAllowThreads(__tstate
);
8680 if (PyErr_Occurred()) SWIG_fail
;
8682 resultobj
= SWIG_From_int(static_cast< int >(result
));
8689 SWIGINTERN PyObject
*SplashScreen_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8691 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
8692 SWIG_TypeNewClientData(SWIGTYPE_p_wxSplashScreen
, SWIG_NewClientData(obj
));
8693 return SWIG_Py_Void();
8696 SWIGINTERN PyObject
*SplashScreen_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8697 return SWIG_Python_InitShadowInstance(args
);
8700 SWIGINTERN PyObject
*_wrap_new_StatusBar(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8701 PyObject
*resultobj
= 0;
8702 wxWindow
*arg1
= (wxWindow
*) 0 ;
8703 int arg2
= (int) -1 ;
8704 long arg3
= (long) wxDEFAULT_STATUSBAR_STYLE
;
8705 wxString
const &arg4_defvalue
= wxPyStatusLineNameStr
;
8706 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
8707 wxStatusBar
*result
= 0 ;
8714 bool temp4
= false ;
8715 PyObject
* obj0
= 0 ;
8716 PyObject
* obj1
= 0 ;
8717 PyObject
* obj2
= 0 ;
8718 PyObject
* obj3
= 0 ;
8719 char * kwnames
[] = {
8720 (char *) "parent",(char *) "id",(char *) "style",(char *) "name", NULL
8723 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOO:new_StatusBar",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
8724 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
8725 if (!SWIG_IsOK(res1
)) {
8726 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_StatusBar" "', expected argument " "1"" of type '" "wxWindow *""'");
8728 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
8730 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
8731 if (!SWIG_IsOK(ecode2
)) {
8732 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_StatusBar" "', expected argument " "2"" of type '" "int""'");
8734 arg2
= static_cast< int >(val2
);
8737 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
8738 if (!SWIG_IsOK(ecode3
)) {
8739 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_StatusBar" "', expected argument " "3"" of type '" "long""'");
8741 arg3
= static_cast< long >(val3
);
8745 arg4
= wxString_in_helper(obj3
);
8746 if (arg4
== NULL
) SWIG_fail
;
8751 if (!wxPyCheckForApp()) SWIG_fail
;
8752 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8753 result
= (wxStatusBar
*)new wxStatusBar(arg1
,arg2
,arg3
,(wxString
const &)*arg4
);
8754 wxPyEndAllowThreads(__tstate
);
8755 if (PyErr_Occurred()) SWIG_fail
;
8757 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxStatusBar
, SWIG_POINTER_NEW
| 0 );
8772 SWIGINTERN PyObject
*_wrap_new_PreStatusBar(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8773 PyObject
*resultobj
= 0;
8774 wxStatusBar
*result
= 0 ;
8776 if (!SWIG_Python_UnpackTuple(args
,"new_PreStatusBar",0,0,0)) SWIG_fail
;
8778 if (!wxPyCheckForApp()) SWIG_fail
;
8779 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8780 result
= (wxStatusBar
*)new wxStatusBar();
8781 wxPyEndAllowThreads(__tstate
);
8782 if (PyErr_Occurred()) SWIG_fail
;
8784 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxStatusBar
, SWIG_POINTER_OWN
| 0 );
8791 SWIGINTERN PyObject
*_wrap_StatusBar_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8792 PyObject
*resultobj
= 0;
8793 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
8794 wxWindow
*arg2
= (wxWindow
*) 0 ;
8795 int arg3
= (int) -1 ;
8796 long arg4
= (long) wxST_SIZEGRIP
;
8797 wxString
const &arg5_defvalue
= wxPyStatusLineNameStr
;
8798 wxString
*arg5
= (wxString
*) &arg5_defvalue
;
8808 bool temp5
= false ;
8809 PyObject
* obj0
= 0 ;
8810 PyObject
* obj1
= 0 ;
8811 PyObject
* obj2
= 0 ;
8812 PyObject
* obj3
= 0 ;
8813 PyObject
* obj4
= 0 ;
8814 char * kwnames
[] = {
8815 (char *) "self",(char *) "parent",(char *) "id",(char *) "style",(char *) "name", NULL
8818 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOO:StatusBar_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
8819 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxStatusBar
, 0 | 0 );
8820 if (!SWIG_IsOK(res1
)) {
8821 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StatusBar_Create" "', expected argument " "1"" of type '" "wxStatusBar *""'");
8823 arg1
= reinterpret_cast< wxStatusBar
* >(argp1
);
8824 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
8825 if (!SWIG_IsOK(res2
)) {
8826 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "StatusBar_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
8828 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
8830 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
8831 if (!SWIG_IsOK(ecode3
)) {
8832 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "StatusBar_Create" "', expected argument " "3"" of type '" "int""'");
8834 arg3
= static_cast< int >(val3
);
8837 ecode4
= SWIG_AsVal_long(obj3
, &val4
);
8838 if (!SWIG_IsOK(ecode4
)) {
8839 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "StatusBar_Create" "', expected argument " "4"" of type '" "long""'");
8841 arg4
= static_cast< long >(val4
);
8845 arg5
= wxString_in_helper(obj4
);
8846 if (arg5
== NULL
) SWIG_fail
;
8851 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8852 result
= (bool)(arg1
)->Create(arg2
,arg3
,arg4
,(wxString
const &)*arg5
);
8853 wxPyEndAllowThreads(__tstate
);
8854 if (PyErr_Occurred()) SWIG_fail
;
8857 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8873 SWIGINTERN PyObject
*_wrap_StatusBar_SetFieldsCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8874 PyObject
*resultobj
= 0;
8875 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
8876 int arg2
= (int) 1 ;
8881 PyObject
* obj0
= 0 ;
8882 PyObject
* obj1
= 0 ;
8883 char * kwnames
[] = {
8884 (char *) "self",(char *) "number", NULL
8887 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:StatusBar_SetFieldsCount",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
8888 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxStatusBar
, 0 | 0 );
8889 if (!SWIG_IsOK(res1
)) {
8890 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StatusBar_SetFieldsCount" "', expected argument " "1"" of type '" "wxStatusBar *""'");
8892 arg1
= reinterpret_cast< wxStatusBar
* >(argp1
);
8894 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
8895 if (!SWIG_IsOK(ecode2
)) {
8896 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "StatusBar_SetFieldsCount" "', expected argument " "2"" of type '" "int""'");
8898 arg2
= static_cast< int >(val2
);
8901 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8902 (arg1
)->SetFieldsCount(arg2
);
8903 wxPyEndAllowThreads(__tstate
);
8904 if (PyErr_Occurred()) SWIG_fail
;
8906 resultobj
= SWIG_Py_Void();
8913 SWIGINTERN PyObject
*_wrap_StatusBar_GetFieldsCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8914 PyObject
*resultobj
= 0;
8915 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
8919 PyObject
*swig_obj
[1] ;
8921 if (!args
) SWIG_fail
;
8923 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxStatusBar
, 0 | 0 );
8924 if (!SWIG_IsOK(res1
)) {
8925 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StatusBar_GetFieldsCount" "', expected argument " "1"" of type '" "wxStatusBar const *""'");
8927 arg1
= reinterpret_cast< wxStatusBar
* >(argp1
);
8929 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8930 result
= (int)((wxStatusBar
const *)arg1
)->GetFieldsCount();
8931 wxPyEndAllowThreads(__tstate
);
8932 if (PyErr_Occurred()) SWIG_fail
;
8934 resultobj
= SWIG_From_int(static_cast< int >(result
));
8941 SWIGINTERN PyObject
*_wrap_StatusBar_SetStatusText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8942 PyObject
*resultobj
= 0;
8943 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
8944 wxString
*arg2
= 0 ;
8945 int arg3
= (int) 0 ;
8948 bool temp2
= false ;
8951 PyObject
* obj0
= 0 ;
8952 PyObject
* obj1
= 0 ;
8953 PyObject
* obj2
= 0 ;
8954 char * kwnames
[] = {
8955 (char *) "self",(char *) "text",(char *) "number", NULL
8958 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:StatusBar_SetStatusText",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
8959 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxStatusBar
, 0 | 0 );
8960 if (!SWIG_IsOK(res1
)) {
8961 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StatusBar_SetStatusText" "', expected argument " "1"" of type '" "wxStatusBar *""'");
8963 arg1
= reinterpret_cast< wxStatusBar
* >(argp1
);
8965 arg2
= wxString_in_helper(obj1
);
8966 if (arg2
== NULL
) SWIG_fail
;
8970 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
8971 if (!SWIG_IsOK(ecode3
)) {
8972 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "StatusBar_SetStatusText" "', expected argument " "3"" of type '" "int""'");
8974 arg3
= static_cast< int >(val3
);
8977 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8978 (arg1
)->SetStatusText((wxString
const &)*arg2
,arg3
);
8979 wxPyEndAllowThreads(__tstate
);
8980 if (PyErr_Occurred()) SWIG_fail
;
8982 resultobj
= SWIG_Py_Void();
8997 SWIGINTERN PyObject
*_wrap_StatusBar_GetStatusText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8998 PyObject
*resultobj
= 0;
8999 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
9000 int arg2
= (int) 0 ;
9006 PyObject
* obj0
= 0 ;
9007 PyObject
* obj1
= 0 ;
9008 char * kwnames
[] = {
9009 (char *) "self",(char *) "number", NULL
9012 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:StatusBar_GetStatusText",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9013 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxStatusBar
, 0 | 0 );
9014 if (!SWIG_IsOK(res1
)) {
9015 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StatusBar_GetStatusText" "', expected argument " "1"" of type '" "wxStatusBar const *""'");
9017 arg1
= reinterpret_cast< wxStatusBar
* >(argp1
);
9019 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9020 if (!SWIG_IsOK(ecode2
)) {
9021 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "StatusBar_GetStatusText" "', expected argument " "2"" of type '" "int""'");
9023 arg2
= static_cast< int >(val2
);
9026 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9027 result
= ((wxStatusBar
const *)arg1
)->GetStatusText(arg2
);
9028 wxPyEndAllowThreads(__tstate
);
9029 if (PyErr_Occurred()) SWIG_fail
;
9033 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
9035 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
9044 SWIGINTERN PyObject
*_wrap_StatusBar_PushStatusText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9045 PyObject
*resultobj
= 0;
9046 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
9047 wxString
*arg2
= 0 ;
9048 int arg3
= (int) 0 ;
9051 bool temp2
= false ;
9054 PyObject
* obj0
= 0 ;
9055 PyObject
* obj1
= 0 ;
9056 PyObject
* obj2
= 0 ;
9057 char * kwnames
[] = {
9058 (char *) "self",(char *) "text",(char *) "number", NULL
9061 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:StatusBar_PushStatusText",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
9062 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxStatusBar
, 0 | 0 );
9063 if (!SWIG_IsOK(res1
)) {
9064 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StatusBar_PushStatusText" "', expected argument " "1"" of type '" "wxStatusBar *""'");
9066 arg1
= reinterpret_cast< wxStatusBar
* >(argp1
);
9068 arg2
= wxString_in_helper(obj1
);
9069 if (arg2
== NULL
) SWIG_fail
;
9073 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
9074 if (!SWIG_IsOK(ecode3
)) {
9075 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "StatusBar_PushStatusText" "', expected argument " "3"" of type '" "int""'");
9077 arg3
= static_cast< int >(val3
);
9080 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9081 (arg1
)->PushStatusText((wxString
const &)*arg2
,arg3
);
9082 wxPyEndAllowThreads(__tstate
);
9083 if (PyErr_Occurred()) SWIG_fail
;
9085 resultobj
= SWIG_Py_Void();
9100 SWIGINTERN PyObject
*_wrap_StatusBar_PopStatusText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9101 PyObject
*resultobj
= 0;
9102 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
9103 int arg2
= (int) 0 ;
9108 PyObject
* obj0
= 0 ;
9109 PyObject
* obj1
= 0 ;
9110 char * kwnames
[] = {
9111 (char *) "self",(char *) "number", NULL
9114 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:StatusBar_PopStatusText",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9115 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxStatusBar
, 0 | 0 );
9116 if (!SWIG_IsOK(res1
)) {
9117 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StatusBar_PopStatusText" "', expected argument " "1"" of type '" "wxStatusBar *""'");
9119 arg1
= reinterpret_cast< wxStatusBar
* >(argp1
);
9121 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9122 if (!SWIG_IsOK(ecode2
)) {
9123 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "StatusBar_PopStatusText" "', expected argument " "2"" of type '" "int""'");
9125 arg2
= static_cast< int >(val2
);
9128 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9129 (arg1
)->PopStatusText(arg2
);
9130 wxPyEndAllowThreads(__tstate
);
9131 if (PyErr_Occurred()) SWIG_fail
;
9133 resultobj
= SWIG_Py_Void();
9140 SWIGINTERN PyObject
*_wrap_StatusBar_SetStatusWidths(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9141 PyObject
*resultobj
= 0;
9142 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
9144 int *arg3
= (int *) 0 ;
9147 PyObject
* obj0
= 0 ;
9148 PyObject
* obj1
= 0 ;
9149 char * kwnames
[] = {
9150 (char *) "self",(char *) "widths", NULL
9153 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StatusBar_SetStatusWidths",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9154 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxStatusBar
, 0 | 0 );
9155 if (!SWIG_IsOK(res1
)) {
9156 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StatusBar_SetStatusWidths" "', expected argument " "1"" of type '" "wxStatusBar *""'");
9158 arg1
= reinterpret_cast< wxStatusBar
* >(argp1
);
9160 arg2
= PyList_Size(obj1
);
9161 arg3
= int_LIST_helper(obj1
);
9162 if (arg3
== NULL
) SWIG_fail
;
9165 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9166 (arg1
)->SetStatusWidths(arg2
,(int const *)arg3
);
9167 wxPyEndAllowThreads(__tstate
);
9168 if (PyErr_Occurred()) SWIG_fail
;
9170 resultobj
= SWIG_Py_Void();
9172 if (arg3
) delete [] arg3
;
9177 if (arg3
) delete [] arg3
;
9183 SWIGINTERN PyObject
*_wrap_StatusBar_SetStatusStyles(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9184 PyObject
*resultobj
= 0;
9185 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
9187 int *arg3
= (int *) 0 ;
9190 PyObject
* obj0
= 0 ;
9191 PyObject
* obj1
= 0 ;
9192 char * kwnames
[] = {
9193 (char *) "self",(char *) "styles", NULL
9196 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StatusBar_SetStatusStyles",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9197 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxStatusBar
, 0 | 0 );
9198 if (!SWIG_IsOK(res1
)) {
9199 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StatusBar_SetStatusStyles" "', expected argument " "1"" of type '" "wxStatusBar *""'");
9201 arg1
= reinterpret_cast< wxStatusBar
* >(argp1
);
9203 arg2
= PyList_Size(obj1
);
9204 arg3
= int_LIST_helper(obj1
);
9205 if (arg3
== NULL
) SWIG_fail
;
9208 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9209 (arg1
)->SetStatusStyles(arg2
,(int const *)arg3
);
9210 wxPyEndAllowThreads(__tstate
);
9211 if (PyErr_Occurred()) SWIG_fail
;
9213 resultobj
= SWIG_Py_Void();
9215 if (arg3
) delete [] arg3
;
9220 if (arg3
) delete [] arg3
;
9226 SWIGINTERN PyObject
*_wrap_StatusBar_GetFieldRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9227 PyObject
*resultobj
= 0;
9228 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
9235 PyObject
* obj0
= 0 ;
9236 PyObject
* obj1
= 0 ;
9237 char * kwnames
[] = {
9238 (char *) "self",(char *) "i", NULL
9241 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StatusBar_GetFieldRect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9242 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxStatusBar
, 0 | 0 );
9243 if (!SWIG_IsOK(res1
)) {
9244 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StatusBar_GetFieldRect" "', expected argument " "1"" of type '" "wxStatusBar *""'");
9246 arg1
= reinterpret_cast< wxStatusBar
* >(argp1
);
9247 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9248 if (!SWIG_IsOK(ecode2
)) {
9249 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "StatusBar_GetFieldRect" "', expected argument " "2"" of type '" "int""'");
9251 arg2
= static_cast< int >(val2
);
9253 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9254 result
= wxStatusBar_GetFieldRect(arg1
,arg2
);
9255 wxPyEndAllowThreads(__tstate
);
9256 if (PyErr_Occurred()) SWIG_fail
;
9258 resultobj
= SWIG_NewPointerObj((new wxRect(static_cast< const wxRect
& >(result
))), SWIGTYPE_p_wxRect
, SWIG_POINTER_OWN
| 0 );
9265 SWIGINTERN PyObject
*_wrap_StatusBar_SetMinHeight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9266 PyObject
*resultobj
= 0;
9267 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
9273 PyObject
* obj0
= 0 ;
9274 PyObject
* obj1
= 0 ;
9275 char * kwnames
[] = {
9276 (char *) "self",(char *) "height", NULL
9279 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StatusBar_SetMinHeight",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9280 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxStatusBar
, 0 | 0 );
9281 if (!SWIG_IsOK(res1
)) {
9282 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StatusBar_SetMinHeight" "', expected argument " "1"" of type '" "wxStatusBar *""'");
9284 arg1
= reinterpret_cast< wxStatusBar
* >(argp1
);
9285 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9286 if (!SWIG_IsOK(ecode2
)) {
9287 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "StatusBar_SetMinHeight" "', expected argument " "2"" of type '" "int""'");
9289 arg2
= static_cast< int >(val2
);
9291 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9292 (arg1
)->SetMinHeight(arg2
);
9293 wxPyEndAllowThreads(__tstate
);
9294 if (PyErr_Occurred()) SWIG_fail
;
9296 resultobj
= SWIG_Py_Void();
9303 SWIGINTERN PyObject
*_wrap_StatusBar_GetBorderX(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9304 PyObject
*resultobj
= 0;
9305 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
9309 PyObject
*swig_obj
[1] ;
9311 if (!args
) SWIG_fail
;
9313 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxStatusBar
, 0 | 0 );
9314 if (!SWIG_IsOK(res1
)) {
9315 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StatusBar_GetBorderX" "', expected argument " "1"" of type '" "wxStatusBar const *""'");
9317 arg1
= reinterpret_cast< wxStatusBar
* >(argp1
);
9319 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9320 result
= (int)((wxStatusBar
const *)arg1
)->GetBorderX();
9321 wxPyEndAllowThreads(__tstate
);
9322 if (PyErr_Occurred()) SWIG_fail
;
9324 resultobj
= SWIG_From_int(static_cast< int >(result
));
9331 SWIGINTERN PyObject
*_wrap_StatusBar_GetBorderY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9332 PyObject
*resultobj
= 0;
9333 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
9337 PyObject
*swig_obj
[1] ;
9339 if (!args
) SWIG_fail
;
9341 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxStatusBar
, 0 | 0 );
9342 if (!SWIG_IsOK(res1
)) {
9343 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StatusBar_GetBorderY" "', expected argument " "1"" of type '" "wxStatusBar const *""'");
9345 arg1
= reinterpret_cast< wxStatusBar
* >(argp1
);
9347 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9348 result
= (int)((wxStatusBar
const *)arg1
)->GetBorderY();
9349 wxPyEndAllowThreads(__tstate
);
9350 if (PyErr_Occurred()) SWIG_fail
;
9352 resultobj
= SWIG_From_int(static_cast< int >(result
));
9359 SWIGINTERN PyObject
*_wrap_StatusBar_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9360 PyObject
*resultobj
= 0;
9361 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
9362 SwigValueWrapper
<wxVisualAttributes
> result
;
9365 PyObject
* obj0
= 0 ;
9366 char * kwnames
[] = {
9367 (char *) "variant", NULL
9370 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:StatusBar_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
9372 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
9373 if (!SWIG_IsOK(ecode1
)) {
9374 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "StatusBar_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
9376 arg1
= static_cast< wxWindowVariant
>(val1
);
9379 if (!wxPyCheckForApp()) SWIG_fail
;
9380 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9381 result
= wxStatusBar::GetClassDefaultAttributes(arg1
);
9382 wxPyEndAllowThreads(__tstate
);
9383 if (PyErr_Occurred()) SWIG_fail
;
9385 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
9392 SWIGINTERN PyObject
*StatusBar_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9394 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
9395 SWIG_TypeNewClientData(SWIGTYPE_p_wxStatusBar
, SWIG_NewClientData(obj
));
9396 return SWIG_Py_Void();
9399 SWIGINTERN PyObject
*StatusBar_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9400 return SWIG_Python_InitShadowInstance(args
);
9403 SWIGINTERN
int SplitterNameStr_set(PyObject
*) {
9404 SWIG_Error(SWIG_AttributeError
,"Variable SplitterNameStr is read-only.");
9409 SWIGINTERN PyObject
*SplitterNameStr_get(void) {
9410 PyObject
*pyobj
= 0;
9414 pyobj
= PyUnicode_FromWideChar((&wxPySplitterNameStr
)->c_str(), (&wxPySplitterNameStr
)->Len());
9416 pyobj
= PyString_FromStringAndSize((&wxPySplitterNameStr
)->c_str(), (&wxPySplitterNameStr
)->Len());
9423 SWIGINTERN PyObject
*_wrap_new_SplitterWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9424 PyObject
*resultobj
= 0;
9425 wxWindow
*arg1
= (wxWindow
*) 0 ;
9426 int arg2
= (int) -1 ;
9427 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
9428 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
9429 wxSize
const &arg4_defvalue
= wxDefaultSize
;
9430 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
9431 long arg5
= (long) wxSP_3D
;
9432 wxString
const &arg6_defvalue
= wxPySplitterNameStr
;
9433 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
9434 wxSplitterWindow
*result
= 0 ;
9443 bool temp6
= false ;
9444 PyObject
* obj0
= 0 ;
9445 PyObject
* obj1
= 0 ;
9446 PyObject
* obj2
= 0 ;
9447 PyObject
* obj3
= 0 ;
9448 PyObject
* obj4
= 0 ;
9449 PyObject
* obj5
= 0 ;
9450 char * kwnames
[] = {
9451 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
9454 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_SplitterWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
9455 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
9456 if (!SWIG_IsOK(res1
)) {
9457 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_SplitterWindow" "', expected argument " "1"" of type '" "wxWindow *""'");
9459 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
9461 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9462 if (!SWIG_IsOK(ecode2
)) {
9463 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_SplitterWindow" "', expected argument " "2"" of type '" "int""'");
9465 arg2
= static_cast< int >(val2
);
9470 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
9476 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
9480 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
9481 if (!SWIG_IsOK(ecode5
)) {
9482 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_SplitterWindow" "', expected argument " "5"" of type '" "long""'");
9484 arg5
= static_cast< long >(val5
);
9488 arg6
= wxString_in_helper(obj5
);
9489 if (arg6
== NULL
) SWIG_fail
;
9494 if (!wxPyCheckForApp()) SWIG_fail
;
9495 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9496 result
= (wxSplitterWindow
*)new wxSplitterWindow(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
9497 wxPyEndAllowThreads(__tstate
);
9498 if (PyErr_Occurred()) SWIG_fail
;
9500 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSplitterWindow
, SWIG_POINTER_NEW
| 0 );
9515 SWIGINTERN PyObject
*_wrap_new_PreSplitterWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9516 PyObject
*resultobj
= 0;
9517 wxSplitterWindow
*result
= 0 ;
9519 if (!SWIG_Python_UnpackTuple(args
,"new_PreSplitterWindow",0,0,0)) SWIG_fail
;
9521 if (!wxPyCheckForApp()) SWIG_fail
;
9522 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9523 result
= (wxSplitterWindow
*)new wxSplitterWindow();
9524 wxPyEndAllowThreads(__tstate
);
9525 if (PyErr_Occurred()) SWIG_fail
;
9527 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSplitterWindow
, SWIG_POINTER_OWN
| 0 );
9534 SWIGINTERN PyObject
*_wrap_SplitterWindow_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9535 PyObject
*resultobj
= 0;
9536 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
9537 wxWindow
*arg2
= (wxWindow
*) 0 ;
9538 int arg3
= (int) -1 ;
9539 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
9540 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
9541 wxSize
const &arg5_defvalue
= wxDefaultSize
;
9542 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
9543 long arg6
= (long) wxSP_3D
;
9544 wxString
const &arg7_defvalue
= wxPySplitterNameStr
;
9545 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
9557 bool temp7
= false ;
9558 PyObject
* obj0
= 0 ;
9559 PyObject
* obj1
= 0 ;
9560 PyObject
* obj2
= 0 ;
9561 PyObject
* obj3
= 0 ;
9562 PyObject
* obj4
= 0 ;
9563 PyObject
* obj5
= 0 ;
9564 PyObject
* obj6
= 0 ;
9565 char * kwnames
[] = {
9566 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
9569 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:SplitterWindow_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
9570 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSplitterWindow
, 0 | 0 );
9571 if (!SWIG_IsOK(res1
)) {
9572 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterWindow_Create" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
9574 arg1
= reinterpret_cast< wxSplitterWindow
* >(argp1
);
9575 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
9576 if (!SWIG_IsOK(res2
)) {
9577 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "SplitterWindow_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
9579 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
9581 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
9582 if (!SWIG_IsOK(ecode3
)) {
9583 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "SplitterWindow_Create" "', expected argument " "3"" of type '" "int""'");
9585 arg3
= static_cast< int >(val3
);
9590 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
9596 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
9600 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
9601 if (!SWIG_IsOK(ecode6
)) {
9602 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "SplitterWindow_Create" "', expected argument " "6"" of type '" "long""'");
9604 arg6
= static_cast< long >(val6
);
9608 arg7
= wxString_in_helper(obj6
);
9609 if (arg7
== NULL
) SWIG_fail
;
9614 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9615 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
9616 wxPyEndAllowThreads(__tstate
);
9617 if (PyErr_Occurred()) SWIG_fail
;
9620 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9636 SWIGINTERN PyObject
*_wrap_SplitterWindow_GetWindow1(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9637 PyObject
*resultobj
= 0;
9638 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
9639 wxWindow
*result
= 0 ;
9642 PyObject
*swig_obj
[1] ;
9644 if (!args
) SWIG_fail
;
9646 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSplitterWindow
, 0 | 0 );
9647 if (!SWIG_IsOK(res1
)) {
9648 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterWindow_GetWindow1" "', expected argument " "1"" of type '" "wxSplitterWindow const *""'");
9650 arg1
= reinterpret_cast< wxSplitterWindow
* >(argp1
);
9652 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9653 result
= (wxWindow
*)((wxSplitterWindow
const *)arg1
)->GetWindow1();
9654 wxPyEndAllowThreads(__tstate
);
9655 if (PyErr_Occurred()) SWIG_fail
;
9658 resultobj
= wxPyMake_wxObject(result
, 0);
9666 SWIGINTERN PyObject
*_wrap_SplitterWindow_GetWindow2(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9667 PyObject
*resultobj
= 0;
9668 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
9669 wxWindow
*result
= 0 ;
9672 PyObject
*swig_obj
[1] ;
9674 if (!args
) SWIG_fail
;
9676 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSplitterWindow
, 0 | 0 );
9677 if (!SWIG_IsOK(res1
)) {
9678 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterWindow_GetWindow2" "', expected argument " "1"" of type '" "wxSplitterWindow const *""'");
9680 arg1
= reinterpret_cast< wxSplitterWindow
* >(argp1
);
9682 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9683 result
= (wxWindow
*)((wxSplitterWindow
const *)arg1
)->GetWindow2();
9684 wxPyEndAllowThreads(__tstate
);
9685 if (PyErr_Occurred()) SWIG_fail
;
9688 resultobj
= wxPyMake_wxObject(result
, 0);
9696 SWIGINTERN PyObject
*_wrap_SplitterWindow_SetSplitMode(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9697 PyObject
*resultobj
= 0;
9698 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
9704 PyObject
* obj0
= 0 ;
9705 PyObject
* obj1
= 0 ;
9706 char * kwnames
[] = {
9707 (char *) "self",(char *) "mode", NULL
9710 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SplitterWindow_SetSplitMode",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9711 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSplitterWindow
, 0 | 0 );
9712 if (!SWIG_IsOK(res1
)) {
9713 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterWindow_SetSplitMode" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
9715 arg1
= reinterpret_cast< wxSplitterWindow
* >(argp1
);
9716 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9717 if (!SWIG_IsOK(ecode2
)) {
9718 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SplitterWindow_SetSplitMode" "', expected argument " "2"" of type '" "int""'");
9720 arg2
= static_cast< int >(val2
);
9722 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9723 (arg1
)->SetSplitMode(arg2
);
9724 wxPyEndAllowThreads(__tstate
);
9725 if (PyErr_Occurred()) SWIG_fail
;
9727 resultobj
= SWIG_Py_Void();
9734 SWIGINTERN PyObject
*_wrap_SplitterWindow_GetSplitMode(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9735 PyObject
*resultobj
= 0;
9736 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
9740 PyObject
*swig_obj
[1] ;
9742 if (!args
) SWIG_fail
;
9744 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSplitterWindow
, 0 | 0 );
9745 if (!SWIG_IsOK(res1
)) {
9746 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterWindow_GetSplitMode" "', expected argument " "1"" of type '" "wxSplitterWindow const *""'");
9748 arg1
= reinterpret_cast< wxSplitterWindow
* >(argp1
);
9750 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9751 result
= (wxSplitMode
)((wxSplitterWindow
const *)arg1
)->GetSplitMode();
9752 wxPyEndAllowThreads(__tstate
);
9753 if (PyErr_Occurred()) SWIG_fail
;
9755 resultobj
= SWIG_From_int(static_cast< int >(result
));
9762 SWIGINTERN PyObject
*_wrap_SplitterWindow_Initialize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9763 PyObject
*resultobj
= 0;
9764 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
9765 wxWindow
*arg2
= (wxWindow
*) 0 ;
9770 PyObject
* obj0
= 0 ;
9771 PyObject
* obj1
= 0 ;
9772 char * kwnames
[] = {
9773 (char *) "self",(char *) "window", NULL
9776 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SplitterWindow_Initialize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9777 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSplitterWindow
, 0 | 0 );
9778 if (!SWIG_IsOK(res1
)) {
9779 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterWindow_Initialize" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
9781 arg1
= reinterpret_cast< wxSplitterWindow
* >(argp1
);
9782 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
9783 if (!SWIG_IsOK(res2
)) {
9784 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "SplitterWindow_Initialize" "', expected argument " "2"" of type '" "wxWindow *""'");
9786 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
9788 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9789 (arg1
)->Initialize(arg2
);
9790 wxPyEndAllowThreads(__tstate
);
9791 if (PyErr_Occurred()) SWIG_fail
;
9793 resultobj
= SWIG_Py_Void();
9800 SWIGINTERN PyObject
*_wrap_SplitterWindow_SplitVertically(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9801 PyObject
*resultobj
= 0;
9802 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
9803 wxWindow
*arg2
= (wxWindow
*) 0 ;
9804 wxWindow
*arg3
= (wxWindow
*) 0 ;
9805 int arg4
= (int) 0 ;
9815 PyObject
* obj0
= 0 ;
9816 PyObject
* obj1
= 0 ;
9817 PyObject
* obj2
= 0 ;
9818 PyObject
* obj3
= 0 ;
9819 char * kwnames
[] = {
9820 (char *) "self",(char *) "window1",(char *) "window2",(char *) "sashPosition", NULL
9823 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:SplitterWindow_SplitVertically",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
9824 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSplitterWindow
, 0 | 0 );
9825 if (!SWIG_IsOK(res1
)) {
9826 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterWindow_SplitVertically" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
9828 arg1
= reinterpret_cast< wxSplitterWindow
* >(argp1
);
9829 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
9830 if (!SWIG_IsOK(res2
)) {
9831 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "SplitterWindow_SplitVertically" "', expected argument " "2"" of type '" "wxWindow *""'");
9833 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
9834 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxWindow
, 0 | 0 );
9835 if (!SWIG_IsOK(res3
)) {
9836 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "SplitterWindow_SplitVertically" "', expected argument " "3"" of type '" "wxWindow *""'");
9838 arg3
= reinterpret_cast< wxWindow
* >(argp3
);
9840 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
9841 if (!SWIG_IsOK(ecode4
)) {
9842 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "SplitterWindow_SplitVertically" "', expected argument " "4"" of type '" "int""'");
9844 arg4
= static_cast< int >(val4
);
9847 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9848 result
= (bool)(arg1
)->SplitVertically(arg2
,arg3
,arg4
);
9849 wxPyEndAllowThreads(__tstate
);
9850 if (PyErr_Occurred()) SWIG_fail
;
9853 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9861 SWIGINTERN PyObject
*_wrap_SplitterWindow_SplitHorizontally(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9862 PyObject
*resultobj
= 0;
9863 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
9864 wxWindow
*arg2
= (wxWindow
*) 0 ;
9865 wxWindow
*arg3
= (wxWindow
*) 0 ;
9866 int arg4
= (int) 0 ;
9876 PyObject
* obj0
= 0 ;
9877 PyObject
* obj1
= 0 ;
9878 PyObject
* obj2
= 0 ;
9879 PyObject
* obj3
= 0 ;
9880 char * kwnames
[] = {
9881 (char *) "self",(char *) "window1",(char *) "window2",(char *) "sashPosition", NULL
9884 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:SplitterWindow_SplitHorizontally",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
9885 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSplitterWindow
, 0 | 0 );
9886 if (!SWIG_IsOK(res1
)) {
9887 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterWindow_SplitHorizontally" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
9889 arg1
= reinterpret_cast< wxSplitterWindow
* >(argp1
);
9890 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
9891 if (!SWIG_IsOK(res2
)) {
9892 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "SplitterWindow_SplitHorizontally" "', expected argument " "2"" of type '" "wxWindow *""'");
9894 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
9895 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxWindow
, 0 | 0 );
9896 if (!SWIG_IsOK(res3
)) {
9897 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "SplitterWindow_SplitHorizontally" "', expected argument " "3"" of type '" "wxWindow *""'");
9899 arg3
= reinterpret_cast< wxWindow
* >(argp3
);
9901 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
9902 if (!SWIG_IsOK(ecode4
)) {
9903 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "SplitterWindow_SplitHorizontally" "', expected argument " "4"" of type '" "int""'");
9905 arg4
= static_cast< int >(val4
);
9908 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9909 result
= (bool)(arg1
)->SplitHorizontally(arg2
,arg3
,arg4
);
9910 wxPyEndAllowThreads(__tstate
);
9911 if (PyErr_Occurred()) SWIG_fail
;
9914 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9922 SWIGINTERN PyObject
*_wrap_SplitterWindow_Unsplit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9923 PyObject
*resultobj
= 0;
9924 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
9925 wxWindow
*arg2
= (wxWindow
*) NULL
;
9931 PyObject
* obj0
= 0 ;
9932 PyObject
* obj1
= 0 ;
9933 char * kwnames
[] = {
9934 (char *) "self",(char *) "toRemove", NULL
9937 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:SplitterWindow_Unsplit",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9938 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSplitterWindow
, 0 | 0 );
9939 if (!SWIG_IsOK(res1
)) {
9940 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterWindow_Unsplit" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
9942 arg1
= reinterpret_cast< wxSplitterWindow
* >(argp1
);
9944 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
9945 if (!SWIG_IsOK(res2
)) {
9946 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "SplitterWindow_Unsplit" "', expected argument " "2"" of type '" "wxWindow *""'");
9948 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
9951 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9952 result
= (bool)(arg1
)->Unsplit(arg2
);
9953 wxPyEndAllowThreads(__tstate
);
9954 if (PyErr_Occurred()) SWIG_fail
;
9957 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9965 SWIGINTERN PyObject
*_wrap_SplitterWindow_ReplaceWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9966 PyObject
*resultobj
= 0;
9967 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
9968 wxWindow
*arg2
= (wxWindow
*) 0 ;
9969 wxWindow
*arg3
= (wxWindow
*) 0 ;
9977 PyObject
* obj0
= 0 ;
9978 PyObject
* obj1
= 0 ;
9979 PyObject
* obj2
= 0 ;
9980 char * kwnames
[] = {
9981 (char *) "self",(char *) "winOld",(char *) "winNew", NULL
9984 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:SplitterWindow_ReplaceWindow",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
9985 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSplitterWindow
, 0 | 0 );
9986 if (!SWIG_IsOK(res1
)) {
9987 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterWindow_ReplaceWindow" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
9989 arg1
= reinterpret_cast< wxSplitterWindow
* >(argp1
);
9990 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
9991 if (!SWIG_IsOK(res2
)) {
9992 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "SplitterWindow_ReplaceWindow" "', expected argument " "2"" of type '" "wxWindow *""'");
9994 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
9995 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxWindow
, 0 | 0 );
9996 if (!SWIG_IsOK(res3
)) {
9997 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "SplitterWindow_ReplaceWindow" "', expected argument " "3"" of type '" "wxWindow *""'");
9999 arg3
= reinterpret_cast< wxWindow
* >(argp3
);
10001 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10002 result
= (bool)(arg1
)->ReplaceWindow(arg2
,arg3
);
10003 wxPyEndAllowThreads(__tstate
);
10004 if (PyErr_Occurred()) SWIG_fail
;
10007 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10015 SWIGINTERN PyObject
*_wrap_SplitterWindow_UpdateSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10016 PyObject
*resultobj
= 0;
10017 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
10020 PyObject
*swig_obj
[1] ;
10022 if (!args
) SWIG_fail
;
10023 swig_obj
[0] = args
;
10024 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSplitterWindow
, 0 | 0 );
10025 if (!SWIG_IsOK(res1
)) {
10026 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterWindow_UpdateSize" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
10028 arg1
= reinterpret_cast< wxSplitterWindow
* >(argp1
);
10030 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10031 (arg1
)->UpdateSize();
10032 wxPyEndAllowThreads(__tstate
);
10033 if (PyErr_Occurred()) SWIG_fail
;
10035 resultobj
= SWIG_Py_Void();
10042 SWIGINTERN PyObject
*_wrap_SplitterWindow_IsSplit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10043 PyObject
*resultobj
= 0;
10044 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
10048 PyObject
*swig_obj
[1] ;
10050 if (!args
) SWIG_fail
;
10051 swig_obj
[0] = args
;
10052 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSplitterWindow
, 0 | 0 );
10053 if (!SWIG_IsOK(res1
)) {
10054 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterWindow_IsSplit" "', expected argument " "1"" of type '" "wxSplitterWindow const *""'");
10056 arg1
= reinterpret_cast< wxSplitterWindow
* >(argp1
);
10058 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10059 result
= (bool)((wxSplitterWindow
const *)arg1
)->IsSplit();
10060 wxPyEndAllowThreads(__tstate
);
10061 if (PyErr_Occurred()) SWIG_fail
;
10064 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10072 SWIGINTERN PyObject
*_wrap_SplitterWindow_SetSashSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10073 PyObject
*resultobj
= 0;
10074 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
10080 PyObject
* obj0
= 0 ;
10081 PyObject
* obj1
= 0 ;
10082 char * kwnames
[] = {
10083 (char *) "self",(char *) "width", NULL
10086 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SplitterWindow_SetSashSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10087 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSplitterWindow
, 0 | 0 );
10088 if (!SWIG_IsOK(res1
)) {
10089 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterWindow_SetSashSize" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
10091 arg1
= reinterpret_cast< wxSplitterWindow
* >(argp1
);
10092 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
10093 if (!SWIG_IsOK(ecode2
)) {
10094 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SplitterWindow_SetSashSize" "', expected argument " "2"" of type '" "int""'");
10096 arg2
= static_cast< int >(val2
);
10098 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10099 (arg1
)->SetSashSize(arg2
);
10100 wxPyEndAllowThreads(__tstate
);
10101 if (PyErr_Occurred()) SWIG_fail
;
10103 resultobj
= SWIG_Py_Void();
10110 SWIGINTERN PyObject
*_wrap_SplitterWindow_SetBorderSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10111 PyObject
*resultobj
= 0;
10112 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
10118 PyObject
* obj0
= 0 ;
10119 PyObject
* obj1
= 0 ;
10120 char * kwnames
[] = {
10121 (char *) "self",(char *) "width", NULL
10124 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SplitterWindow_SetBorderSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10125 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSplitterWindow
, 0 | 0 );
10126 if (!SWIG_IsOK(res1
)) {
10127 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterWindow_SetBorderSize" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
10129 arg1
= reinterpret_cast< wxSplitterWindow
* >(argp1
);
10130 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
10131 if (!SWIG_IsOK(ecode2
)) {
10132 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SplitterWindow_SetBorderSize" "', expected argument " "2"" of type '" "int""'");
10134 arg2
= static_cast< int >(val2
);
10136 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10137 (arg1
)->SetBorderSize(arg2
);
10138 wxPyEndAllowThreads(__tstate
);
10139 if (PyErr_Occurred()) SWIG_fail
;
10141 resultobj
= SWIG_Py_Void();
10148 SWIGINTERN PyObject
*_wrap_SplitterWindow_GetSashSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10149 PyObject
*resultobj
= 0;
10150 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
10154 PyObject
*swig_obj
[1] ;
10156 if (!args
) SWIG_fail
;
10157 swig_obj
[0] = args
;
10158 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSplitterWindow
, 0 | 0 );
10159 if (!SWIG_IsOK(res1
)) {
10160 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterWindow_GetSashSize" "', expected argument " "1"" of type '" "wxSplitterWindow const *""'");
10162 arg1
= reinterpret_cast< wxSplitterWindow
* >(argp1
);
10164 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10165 result
= (int)((wxSplitterWindow
const *)arg1
)->GetSashSize();
10166 wxPyEndAllowThreads(__tstate
);
10167 if (PyErr_Occurred()) SWIG_fail
;
10169 resultobj
= SWIG_From_int(static_cast< int >(result
));
10176 SWIGINTERN PyObject
*_wrap_SplitterWindow_GetBorderSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10177 PyObject
*resultobj
= 0;
10178 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
10182 PyObject
*swig_obj
[1] ;
10184 if (!args
) SWIG_fail
;
10185 swig_obj
[0] = args
;
10186 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSplitterWindow
, 0 | 0 );
10187 if (!SWIG_IsOK(res1
)) {
10188 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterWindow_GetBorderSize" "', expected argument " "1"" of type '" "wxSplitterWindow const *""'");
10190 arg1
= reinterpret_cast< wxSplitterWindow
* >(argp1
);
10192 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10193 result
= (int)((wxSplitterWindow
const *)arg1
)->GetBorderSize();
10194 wxPyEndAllowThreads(__tstate
);
10195 if (PyErr_Occurred()) SWIG_fail
;
10197 resultobj
= SWIG_From_int(static_cast< int >(result
));
10204 SWIGINTERN PyObject
*_wrap_SplitterWindow_SetSashPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10205 PyObject
*resultobj
= 0;
10206 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
10208 bool arg3
= (bool) true ;
10215 PyObject
* obj0
= 0 ;
10216 PyObject
* obj1
= 0 ;
10217 PyObject
* obj2
= 0 ;
10218 char * kwnames
[] = {
10219 (char *) "self",(char *) "position",(char *) "redraw", NULL
10222 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:SplitterWindow_SetSashPosition",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
10223 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSplitterWindow
, 0 | 0 );
10224 if (!SWIG_IsOK(res1
)) {
10225 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterWindow_SetSashPosition" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
10227 arg1
= reinterpret_cast< wxSplitterWindow
* >(argp1
);
10228 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
10229 if (!SWIG_IsOK(ecode2
)) {
10230 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SplitterWindow_SetSashPosition" "', expected argument " "2"" of type '" "int""'");
10232 arg2
= static_cast< int >(val2
);
10234 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
10235 if (!SWIG_IsOK(ecode3
)) {
10236 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "SplitterWindow_SetSashPosition" "', expected argument " "3"" of type '" "bool""'");
10238 arg3
= static_cast< bool >(val3
);
10241 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10242 (arg1
)->SetSashPosition(arg2
,arg3
);
10243 wxPyEndAllowThreads(__tstate
);
10244 if (PyErr_Occurred()) SWIG_fail
;
10246 resultobj
= SWIG_Py_Void();
10253 SWIGINTERN PyObject
*_wrap_SplitterWindow_GetSashPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10254 PyObject
*resultobj
= 0;
10255 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
10259 PyObject
*swig_obj
[1] ;
10261 if (!args
) SWIG_fail
;
10262 swig_obj
[0] = args
;
10263 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSplitterWindow
, 0 | 0 );
10264 if (!SWIG_IsOK(res1
)) {
10265 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterWindow_GetSashPosition" "', expected argument " "1"" of type '" "wxSplitterWindow const *""'");
10267 arg1
= reinterpret_cast< wxSplitterWindow
* >(argp1
);
10269 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10270 result
= (int)((wxSplitterWindow
const *)arg1
)->GetSashPosition();
10271 wxPyEndAllowThreads(__tstate
);
10272 if (PyErr_Occurred()) SWIG_fail
;
10274 resultobj
= SWIG_From_int(static_cast< int >(result
));
10281 SWIGINTERN PyObject
*_wrap_SplitterWindow_SetSashGravity(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10282 PyObject
*resultobj
= 0;
10283 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
10289 PyObject
* obj0
= 0 ;
10290 PyObject
* obj1
= 0 ;
10291 char * kwnames
[] = {
10292 (char *) "self",(char *) "gravity", NULL
10295 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SplitterWindow_SetSashGravity",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10296 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSplitterWindow
, 0 | 0 );
10297 if (!SWIG_IsOK(res1
)) {
10298 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterWindow_SetSashGravity" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
10300 arg1
= reinterpret_cast< wxSplitterWindow
* >(argp1
);
10301 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
10302 if (!SWIG_IsOK(ecode2
)) {
10303 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SplitterWindow_SetSashGravity" "', expected argument " "2"" of type '" "double""'");
10305 arg2
= static_cast< double >(val2
);
10307 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10308 (arg1
)->SetSashGravity(arg2
);
10309 wxPyEndAllowThreads(__tstate
);
10310 if (PyErr_Occurred()) SWIG_fail
;
10312 resultobj
= SWIG_Py_Void();
10319 SWIGINTERN PyObject
*_wrap_SplitterWindow_GetSashGravity(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10320 PyObject
*resultobj
= 0;
10321 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
10325 PyObject
*swig_obj
[1] ;
10327 if (!args
) SWIG_fail
;
10328 swig_obj
[0] = args
;
10329 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSplitterWindow
, 0 | 0 );
10330 if (!SWIG_IsOK(res1
)) {
10331 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterWindow_GetSashGravity" "', expected argument " "1"" of type '" "wxSplitterWindow const *""'");
10333 arg1
= reinterpret_cast< wxSplitterWindow
* >(argp1
);
10335 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10336 result
= (double)((wxSplitterWindow
const *)arg1
)->GetSashGravity();
10337 wxPyEndAllowThreads(__tstate
);
10338 if (PyErr_Occurred()) SWIG_fail
;
10340 resultobj
= SWIG_From_double(static_cast< double >(result
));
10347 SWIGINTERN PyObject
*_wrap_SplitterWindow_SetMinimumPaneSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10348 PyObject
*resultobj
= 0;
10349 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
10355 PyObject
* obj0
= 0 ;
10356 PyObject
* obj1
= 0 ;
10357 char * kwnames
[] = {
10358 (char *) "self",(char *) "min", NULL
10361 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SplitterWindow_SetMinimumPaneSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10362 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSplitterWindow
, 0 | 0 );
10363 if (!SWIG_IsOK(res1
)) {
10364 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterWindow_SetMinimumPaneSize" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
10366 arg1
= reinterpret_cast< wxSplitterWindow
* >(argp1
);
10367 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
10368 if (!SWIG_IsOK(ecode2
)) {
10369 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SplitterWindow_SetMinimumPaneSize" "', expected argument " "2"" of type '" "int""'");
10371 arg2
= static_cast< int >(val2
);
10373 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10374 (arg1
)->SetMinimumPaneSize(arg2
);
10375 wxPyEndAllowThreads(__tstate
);
10376 if (PyErr_Occurred()) SWIG_fail
;
10378 resultobj
= SWIG_Py_Void();
10385 SWIGINTERN PyObject
*_wrap_SplitterWindow_GetMinimumPaneSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10386 PyObject
*resultobj
= 0;
10387 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
10391 PyObject
*swig_obj
[1] ;
10393 if (!args
) SWIG_fail
;
10394 swig_obj
[0] = args
;
10395 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSplitterWindow
, 0 | 0 );
10396 if (!SWIG_IsOK(res1
)) {
10397 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterWindow_GetMinimumPaneSize" "', expected argument " "1"" of type '" "wxSplitterWindow const *""'");
10399 arg1
= reinterpret_cast< wxSplitterWindow
* >(argp1
);
10401 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10402 result
= (int)((wxSplitterWindow
const *)arg1
)->GetMinimumPaneSize();
10403 wxPyEndAllowThreads(__tstate
);
10404 if (PyErr_Occurred()) SWIG_fail
;
10406 resultobj
= SWIG_From_int(static_cast< int >(result
));
10413 SWIGINTERN PyObject
*_wrap_SplitterWindow_SashHitTest(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10414 PyObject
*resultobj
= 0;
10415 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
10418 int arg4
= (int) 5 ;
10428 PyObject
* obj0
= 0 ;
10429 PyObject
* obj1
= 0 ;
10430 PyObject
* obj2
= 0 ;
10431 PyObject
* obj3
= 0 ;
10432 char * kwnames
[] = {
10433 (char *) "self",(char *) "x",(char *) "y",(char *) "tolerance", NULL
10436 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:SplitterWindow_SashHitTest",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
10437 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSplitterWindow
, 0 | 0 );
10438 if (!SWIG_IsOK(res1
)) {
10439 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterWindow_SashHitTest" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
10441 arg1
= reinterpret_cast< wxSplitterWindow
* >(argp1
);
10442 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
10443 if (!SWIG_IsOK(ecode2
)) {
10444 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SplitterWindow_SashHitTest" "', expected argument " "2"" of type '" "int""'");
10446 arg2
= static_cast< int >(val2
);
10447 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
10448 if (!SWIG_IsOK(ecode3
)) {
10449 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "SplitterWindow_SashHitTest" "', expected argument " "3"" of type '" "int""'");
10451 arg3
= static_cast< int >(val3
);
10453 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
10454 if (!SWIG_IsOK(ecode4
)) {
10455 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "SplitterWindow_SashHitTest" "', expected argument " "4"" of type '" "int""'");
10457 arg4
= static_cast< int >(val4
);
10460 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10461 result
= (bool)(arg1
)->SashHitTest(arg2
,arg3
,arg4
);
10462 wxPyEndAllowThreads(__tstate
);
10463 if (PyErr_Occurred()) SWIG_fail
;
10466 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10474 SWIGINTERN PyObject
*_wrap_SplitterWindow_SizeWindows(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10475 PyObject
*resultobj
= 0;
10476 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
10479 PyObject
*swig_obj
[1] ;
10481 if (!args
) SWIG_fail
;
10482 swig_obj
[0] = args
;
10483 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSplitterWindow
, 0 | 0 );
10484 if (!SWIG_IsOK(res1
)) {
10485 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterWindow_SizeWindows" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
10487 arg1
= reinterpret_cast< wxSplitterWindow
* >(argp1
);
10489 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10490 (arg1
)->SizeWindows();
10491 wxPyEndAllowThreads(__tstate
);
10492 if (PyErr_Occurred()) SWIG_fail
;
10494 resultobj
= SWIG_Py_Void();
10501 SWIGINTERN PyObject
*_wrap_SplitterWindow_SetNeedUpdating(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10502 PyObject
*resultobj
= 0;
10503 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
10509 PyObject
* obj0
= 0 ;
10510 PyObject
* obj1
= 0 ;
10511 char * kwnames
[] = {
10512 (char *) "self",(char *) "needUpdating", NULL
10515 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SplitterWindow_SetNeedUpdating",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10516 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSplitterWindow
, 0 | 0 );
10517 if (!SWIG_IsOK(res1
)) {
10518 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterWindow_SetNeedUpdating" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
10520 arg1
= reinterpret_cast< wxSplitterWindow
* >(argp1
);
10521 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
10522 if (!SWIG_IsOK(ecode2
)) {
10523 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SplitterWindow_SetNeedUpdating" "', expected argument " "2"" of type '" "bool""'");
10525 arg2
= static_cast< bool >(val2
);
10527 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10528 (arg1
)->SetNeedUpdating(arg2
);
10529 wxPyEndAllowThreads(__tstate
);
10530 if (PyErr_Occurred()) SWIG_fail
;
10532 resultobj
= SWIG_Py_Void();
10539 SWIGINTERN PyObject
*_wrap_SplitterWindow_GetNeedUpdating(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10540 PyObject
*resultobj
= 0;
10541 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
10545 PyObject
*swig_obj
[1] ;
10547 if (!args
) SWIG_fail
;
10548 swig_obj
[0] = args
;
10549 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSplitterWindow
, 0 | 0 );
10550 if (!SWIG_IsOK(res1
)) {
10551 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterWindow_GetNeedUpdating" "', expected argument " "1"" of type '" "wxSplitterWindow const *""'");
10553 arg1
= reinterpret_cast< wxSplitterWindow
* >(argp1
);
10555 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10556 result
= (bool)((wxSplitterWindow
const *)arg1
)->GetNeedUpdating();
10557 wxPyEndAllowThreads(__tstate
);
10558 if (PyErr_Occurred()) SWIG_fail
;
10561 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10569 SWIGINTERN PyObject
*_wrap_SplitterWindow_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10570 PyObject
*resultobj
= 0;
10571 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
10572 SwigValueWrapper
<wxVisualAttributes
> result
;
10575 PyObject
* obj0
= 0 ;
10576 char * kwnames
[] = {
10577 (char *) "variant", NULL
10580 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:SplitterWindow_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
10582 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
10583 if (!SWIG_IsOK(ecode1
)) {
10584 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "SplitterWindow_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
10586 arg1
= static_cast< wxWindowVariant
>(val1
);
10589 if (!wxPyCheckForApp()) SWIG_fail
;
10590 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10591 result
= wxSplitterWindow::GetClassDefaultAttributes(arg1
);
10592 wxPyEndAllowThreads(__tstate
);
10593 if (PyErr_Occurred()) SWIG_fail
;
10595 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
10602 SWIGINTERN PyObject
*SplitterWindow_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10604 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
10605 SWIG_TypeNewClientData(SWIGTYPE_p_wxSplitterWindow
, SWIG_NewClientData(obj
));
10606 return SWIG_Py_Void();
10609 SWIGINTERN PyObject
*SplitterWindow_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10610 return SWIG_Python_InitShadowInstance(args
);
10613 SWIGINTERN PyObject
*_wrap_new_SplitterEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10614 PyObject
*resultobj
= 0;
10615 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
10616 wxSplitterWindow
*arg2
= (wxSplitterWindow
*) (wxSplitterWindow
*) NULL
;
10617 wxSplitterEvent
*result
= 0 ;
10622 PyObject
* obj0
= 0 ;
10623 PyObject
* obj1
= 0 ;
10624 char * kwnames
[] = {
10625 (char *) "type",(char *) "splitter", NULL
10628 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_SplitterEvent",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10630 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
10631 if (!SWIG_IsOK(ecode1
)) {
10632 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_SplitterEvent" "', expected argument " "1"" of type '" "wxEventType""'");
10634 arg1
= static_cast< wxEventType
>(val1
);
10637 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxSplitterWindow
, 0 | 0 );
10638 if (!SWIG_IsOK(res2
)) {
10639 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_SplitterEvent" "', expected argument " "2"" of type '" "wxSplitterWindow *""'");
10641 arg2
= reinterpret_cast< wxSplitterWindow
* >(argp2
);
10644 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10645 result
= (wxSplitterEvent
*)new wxSplitterEvent(arg1
,arg2
);
10646 wxPyEndAllowThreads(__tstate
);
10647 if (PyErr_Occurred()) SWIG_fail
;
10649 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSplitterEvent
, SWIG_POINTER_NEW
| 0 );
10656 SWIGINTERN PyObject
*_wrap_SplitterEvent_SetSashPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10657 PyObject
*resultobj
= 0;
10658 wxSplitterEvent
*arg1
= (wxSplitterEvent
*) 0 ;
10664 PyObject
* obj0
= 0 ;
10665 PyObject
* obj1
= 0 ;
10666 char * kwnames
[] = {
10667 (char *) "self",(char *) "pos", NULL
10670 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SplitterEvent_SetSashPosition",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10671 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSplitterEvent
, 0 | 0 );
10672 if (!SWIG_IsOK(res1
)) {
10673 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterEvent_SetSashPosition" "', expected argument " "1"" of type '" "wxSplitterEvent *""'");
10675 arg1
= reinterpret_cast< wxSplitterEvent
* >(argp1
);
10676 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
10677 if (!SWIG_IsOK(ecode2
)) {
10678 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SplitterEvent_SetSashPosition" "', expected argument " "2"" of type '" "int""'");
10680 arg2
= static_cast< int >(val2
);
10682 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10683 (arg1
)->SetSashPosition(arg2
);
10684 wxPyEndAllowThreads(__tstate
);
10685 if (PyErr_Occurred()) SWIG_fail
;
10687 resultobj
= SWIG_Py_Void();
10694 SWIGINTERN PyObject
*_wrap_SplitterEvent_GetSashPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10695 PyObject
*resultobj
= 0;
10696 wxSplitterEvent
*arg1
= (wxSplitterEvent
*) 0 ;
10700 PyObject
*swig_obj
[1] ;
10702 if (!args
) SWIG_fail
;
10703 swig_obj
[0] = args
;
10704 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSplitterEvent
, 0 | 0 );
10705 if (!SWIG_IsOK(res1
)) {
10706 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterEvent_GetSashPosition" "', expected argument " "1"" of type '" "wxSplitterEvent const *""'");
10708 arg1
= reinterpret_cast< wxSplitterEvent
* >(argp1
);
10710 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10711 result
= (int)((wxSplitterEvent
const *)arg1
)->GetSashPosition();
10712 wxPyEndAllowThreads(__tstate
);
10713 if (PyErr_Occurred()) SWIG_fail
;
10715 resultobj
= SWIG_From_int(static_cast< int >(result
));
10722 SWIGINTERN PyObject
*_wrap_SplitterEvent_GetWindowBeingRemoved(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10723 PyObject
*resultobj
= 0;
10724 wxSplitterEvent
*arg1
= (wxSplitterEvent
*) 0 ;
10725 wxWindow
*result
= 0 ;
10728 PyObject
*swig_obj
[1] ;
10730 if (!args
) SWIG_fail
;
10731 swig_obj
[0] = args
;
10732 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSplitterEvent
, 0 | 0 );
10733 if (!SWIG_IsOK(res1
)) {
10734 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterEvent_GetWindowBeingRemoved" "', expected argument " "1"" of type '" "wxSplitterEvent const *""'");
10736 arg1
= reinterpret_cast< wxSplitterEvent
* >(argp1
);
10738 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10739 result
= (wxWindow
*)((wxSplitterEvent
const *)arg1
)->GetWindowBeingRemoved();
10740 wxPyEndAllowThreads(__tstate
);
10741 if (PyErr_Occurred()) SWIG_fail
;
10744 resultobj
= wxPyMake_wxObject(result
, 0);
10752 SWIGINTERN PyObject
*_wrap_SplitterEvent_GetX(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10753 PyObject
*resultobj
= 0;
10754 wxSplitterEvent
*arg1
= (wxSplitterEvent
*) 0 ;
10758 PyObject
*swig_obj
[1] ;
10760 if (!args
) SWIG_fail
;
10761 swig_obj
[0] = args
;
10762 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSplitterEvent
, 0 | 0 );
10763 if (!SWIG_IsOK(res1
)) {
10764 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterEvent_GetX" "', expected argument " "1"" of type '" "wxSplitterEvent const *""'");
10766 arg1
= reinterpret_cast< wxSplitterEvent
* >(argp1
);
10768 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10769 result
= (int)((wxSplitterEvent
const *)arg1
)->GetX();
10770 wxPyEndAllowThreads(__tstate
);
10771 if (PyErr_Occurred()) SWIG_fail
;
10773 resultobj
= SWIG_From_int(static_cast< int >(result
));
10780 SWIGINTERN PyObject
*_wrap_SplitterEvent_GetY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10781 PyObject
*resultobj
= 0;
10782 wxSplitterEvent
*arg1
= (wxSplitterEvent
*) 0 ;
10786 PyObject
*swig_obj
[1] ;
10788 if (!args
) SWIG_fail
;
10789 swig_obj
[0] = args
;
10790 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSplitterEvent
, 0 | 0 );
10791 if (!SWIG_IsOK(res1
)) {
10792 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterEvent_GetY" "', expected argument " "1"" of type '" "wxSplitterEvent const *""'");
10794 arg1
= reinterpret_cast< wxSplitterEvent
* >(argp1
);
10796 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10797 result
= (int)((wxSplitterEvent
const *)arg1
)->GetY();
10798 wxPyEndAllowThreads(__tstate
);
10799 if (PyErr_Occurred()) SWIG_fail
;
10801 resultobj
= SWIG_From_int(static_cast< int >(result
));
10808 SWIGINTERN PyObject
*SplitterEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10810 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
10811 SWIG_TypeNewClientData(SWIGTYPE_p_wxSplitterEvent
, SWIG_NewClientData(obj
));
10812 return SWIG_Py_Void();
10815 SWIGINTERN PyObject
*SplitterEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10816 return SWIG_Python_InitShadowInstance(args
);
10819 SWIGINTERN
int SashNameStr_set(PyObject
*) {
10820 SWIG_Error(SWIG_AttributeError
,"Variable SashNameStr is read-only.");
10825 SWIGINTERN PyObject
*SashNameStr_get(void) {
10826 PyObject
*pyobj
= 0;
10830 pyobj
= PyUnicode_FromWideChar((&wxPySashNameStr
)->c_str(), (&wxPySashNameStr
)->Len());
10832 pyobj
= PyString_FromStringAndSize((&wxPySashNameStr
)->c_str(), (&wxPySashNameStr
)->Len());
10839 SWIGINTERN
int SashLayoutNameStr_set(PyObject
*) {
10840 SWIG_Error(SWIG_AttributeError
,"Variable SashLayoutNameStr is read-only.");
10845 SWIGINTERN PyObject
*SashLayoutNameStr_get(void) {
10846 PyObject
*pyobj
= 0;
10850 pyobj
= PyUnicode_FromWideChar((&wxPySashLayoutNameStr
)->c_str(), (&wxPySashLayoutNameStr
)->Len());
10852 pyobj
= PyString_FromStringAndSize((&wxPySashLayoutNameStr
)->c_str(), (&wxPySashLayoutNameStr
)->Len());
10859 SWIGINTERN PyObject
*_wrap_new_SashWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10860 PyObject
*resultobj
= 0;
10861 wxWindow
*arg1
= (wxWindow
*) 0 ;
10862 int arg2
= (int) -1 ;
10863 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
10864 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
10865 wxSize
const &arg4_defvalue
= wxDefaultSize
;
10866 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
10867 long arg5
= (long) wxCLIP_CHILDREN
|wxSW_3D
;
10868 wxString
const &arg6_defvalue
= wxPySashNameStr
;
10869 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
10870 wxSashWindow
*result
= 0 ;
10879 bool temp6
= false ;
10880 PyObject
* obj0
= 0 ;
10881 PyObject
* obj1
= 0 ;
10882 PyObject
* obj2
= 0 ;
10883 PyObject
* obj3
= 0 ;
10884 PyObject
* obj4
= 0 ;
10885 PyObject
* obj5
= 0 ;
10886 char * kwnames
[] = {
10887 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
10890 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_SashWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
10891 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
10892 if (!SWIG_IsOK(res1
)) {
10893 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_SashWindow" "', expected argument " "1"" of type '" "wxWindow *""'");
10895 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
10897 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
10898 if (!SWIG_IsOK(ecode2
)) {
10899 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_SashWindow" "', expected argument " "2"" of type '" "int""'");
10901 arg2
= static_cast< int >(val2
);
10906 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
10912 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
10916 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
10917 if (!SWIG_IsOK(ecode5
)) {
10918 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_SashWindow" "', expected argument " "5"" of type '" "long""'");
10920 arg5
= static_cast< long >(val5
);
10924 arg6
= wxString_in_helper(obj5
);
10925 if (arg6
== NULL
) SWIG_fail
;
10930 if (!wxPyCheckForApp()) SWIG_fail
;
10931 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10932 result
= (wxSashWindow
*)new wxSashWindow(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
10933 wxPyEndAllowThreads(__tstate
);
10934 if (PyErr_Occurred()) SWIG_fail
;
10936 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSashWindow
, SWIG_POINTER_NEW
| 0 );
10951 SWIGINTERN PyObject
*_wrap_new_PreSashWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10952 PyObject
*resultobj
= 0;
10953 wxSashWindow
*result
= 0 ;
10955 if (!SWIG_Python_UnpackTuple(args
,"new_PreSashWindow",0,0,0)) SWIG_fail
;
10957 if (!wxPyCheckForApp()) SWIG_fail
;
10958 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10959 result
= (wxSashWindow
*)new wxSashWindow();
10960 wxPyEndAllowThreads(__tstate
);
10961 if (PyErr_Occurred()) SWIG_fail
;
10963 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSashWindow
, SWIG_POINTER_OWN
| 0 );
10970 SWIGINTERN PyObject
*_wrap_SashWindow_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10971 PyObject
*resultobj
= 0;
10972 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
10973 wxWindow
*arg2
= (wxWindow
*) 0 ;
10974 int arg3
= (int) -1 ;
10975 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
10976 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
10977 wxSize
const &arg5_defvalue
= wxDefaultSize
;
10978 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
10979 long arg6
= (long) wxCLIP_CHILDREN
|wxSW_3D
;
10980 wxString
const &arg7_defvalue
= wxPySashNameStr
;
10981 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
10993 bool temp7
= false ;
10994 PyObject
* obj0
= 0 ;
10995 PyObject
* obj1
= 0 ;
10996 PyObject
* obj2
= 0 ;
10997 PyObject
* obj3
= 0 ;
10998 PyObject
* obj4
= 0 ;
10999 PyObject
* obj5
= 0 ;
11000 PyObject
* obj6
= 0 ;
11001 char * kwnames
[] = {
11002 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
11005 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:SashWindow_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
11006 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSashWindow
, 0 | 0 );
11007 if (!SWIG_IsOK(res1
)) {
11008 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashWindow_Create" "', expected argument " "1"" of type '" "wxSashWindow *""'");
11010 arg1
= reinterpret_cast< wxSashWindow
* >(argp1
);
11011 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
11012 if (!SWIG_IsOK(res2
)) {
11013 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "SashWindow_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
11015 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
11017 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
11018 if (!SWIG_IsOK(ecode3
)) {
11019 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "SashWindow_Create" "', expected argument " "3"" of type '" "int""'");
11021 arg3
= static_cast< int >(val3
);
11026 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
11032 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
11036 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
11037 if (!SWIG_IsOK(ecode6
)) {
11038 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "SashWindow_Create" "', expected argument " "6"" of type '" "long""'");
11040 arg6
= static_cast< long >(val6
);
11044 arg7
= wxString_in_helper(obj6
);
11045 if (arg7
== NULL
) SWIG_fail
;
11050 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11051 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
11052 wxPyEndAllowThreads(__tstate
);
11053 if (PyErr_Occurred()) SWIG_fail
;
11056 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11072 SWIGINTERN PyObject
*_wrap_SashWindow_SetSashVisible(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11073 PyObject
*resultobj
= 0;
11074 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
11075 wxSashEdgePosition arg2
;
11083 PyObject
* obj0
= 0 ;
11084 PyObject
* obj1
= 0 ;
11085 PyObject
* obj2
= 0 ;
11086 char * kwnames
[] = {
11087 (char *) "self",(char *) "edge",(char *) "sash", NULL
11090 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:SashWindow_SetSashVisible",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
11091 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSashWindow
, 0 | 0 );
11092 if (!SWIG_IsOK(res1
)) {
11093 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashWindow_SetSashVisible" "', expected argument " "1"" of type '" "wxSashWindow *""'");
11095 arg1
= reinterpret_cast< wxSashWindow
* >(argp1
);
11096 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
11097 if (!SWIG_IsOK(ecode2
)) {
11098 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SashWindow_SetSashVisible" "', expected argument " "2"" of type '" "wxSashEdgePosition""'");
11100 arg2
= static_cast< wxSashEdgePosition
>(val2
);
11101 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
11102 if (!SWIG_IsOK(ecode3
)) {
11103 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "SashWindow_SetSashVisible" "', expected argument " "3"" of type '" "bool""'");
11105 arg3
= static_cast< bool >(val3
);
11107 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11108 (arg1
)->SetSashVisible(arg2
,arg3
);
11109 wxPyEndAllowThreads(__tstate
);
11110 if (PyErr_Occurred()) SWIG_fail
;
11112 resultobj
= SWIG_Py_Void();
11119 SWIGINTERN PyObject
*_wrap_SashWindow_GetSashVisible(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11120 PyObject
*resultobj
= 0;
11121 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
11122 wxSashEdgePosition arg2
;
11128 PyObject
* obj0
= 0 ;
11129 PyObject
* obj1
= 0 ;
11130 char * kwnames
[] = {
11131 (char *) "self",(char *) "edge", NULL
11134 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashWindow_GetSashVisible",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11135 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSashWindow
, 0 | 0 );
11136 if (!SWIG_IsOK(res1
)) {
11137 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashWindow_GetSashVisible" "', expected argument " "1"" of type '" "wxSashWindow const *""'");
11139 arg1
= reinterpret_cast< wxSashWindow
* >(argp1
);
11140 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
11141 if (!SWIG_IsOK(ecode2
)) {
11142 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SashWindow_GetSashVisible" "', expected argument " "2"" of type '" "wxSashEdgePosition""'");
11144 arg2
= static_cast< wxSashEdgePosition
>(val2
);
11146 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11147 result
= (bool)((wxSashWindow
const *)arg1
)->GetSashVisible(arg2
);
11148 wxPyEndAllowThreads(__tstate
);
11149 if (PyErr_Occurred()) SWIG_fail
;
11152 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11160 SWIGINTERN PyObject
*_wrap_SashWindow_SetSashBorder(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11161 PyObject
*resultobj
= 0;
11162 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
11163 wxSashEdgePosition arg2
;
11171 PyObject
* obj0
= 0 ;
11172 PyObject
* obj1
= 0 ;
11173 PyObject
* obj2
= 0 ;
11174 char * kwnames
[] = {
11175 (char *) "self",(char *) "edge",(char *) "border", NULL
11178 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:SashWindow_SetSashBorder",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
11179 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSashWindow
, 0 | 0 );
11180 if (!SWIG_IsOK(res1
)) {
11181 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashWindow_SetSashBorder" "', expected argument " "1"" of type '" "wxSashWindow *""'");
11183 arg1
= reinterpret_cast< wxSashWindow
* >(argp1
);
11184 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
11185 if (!SWIG_IsOK(ecode2
)) {
11186 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SashWindow_SetSashBorder" "', expected argument " "2"" of type '" "wxSashEdgePosition""'");
11188 arg2
= static_cast< wxSashEdgePosition
>(val2
);
11189 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
11190 if (!SWIG_IsOK(ecode3
)) {
11191 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "SashWindow_SetSashBorder" "', expected argument " "3"" of type '" "bool""'");
11193 arg3
= static_cast< bool >(val3
);
11195 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11196 (arg1
)->SetSashBorder(arg2
,arg3
);
11197 wxPyEndAllowThreads(__tstate
);
11198 if (PyErr_Occurred()) SWIG_fail
;
11200 resultobj
= SWIG_Py_Void();
11207 SWIGINTERN PyObject
*_wrap_SashWindow_HasBorder(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11208 PyObject
*resultobj
= 0;
11209 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
11210 wxSashEdgePosition arg2
;
11216 PyObject
* obj0
= 0 ;
11217 PyObject
* obj1
= 0 ;
11218 char * kwnames
[] = {
11219 (char *) "self",(char *) "edge", NULL
11222 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashWindow_HasBorder",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11223 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSashWindow
, 0 | 0 );
11224 if (!SWIG_IsOK(res1
)) {
11225 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashWindow_HasBorder" "', expected argument " "1"" of type '" "wxSashWindow const *""'");
11227 arg1
= reinterpret_cast< wxSashWindow
* >(argp1
);
11228 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
11229 if (!SWIG_IsOK(ecode2
)) {
11230 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SashWindow_HasBorder" "', expected argument " "2"" of type '" "wxSashEdgePosition""'");
11232 arg2
= static_cast< wxSashEdgePosition
>(val2
);
11234 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11235 result
= (bool)((wxSashWindow
const *)arg1
)->HasBorder(arg2
);
11236 wxPyEndAllowThreads(__tstate
);
11237 if (PyErr_Occurred()) SWIG_fail
;
11240 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11248 SWIGINTERN PyObject
*_wrap_SashWindow_GetEdgeMargin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11249 PyObject
*resultobj
= 0;
11250 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
11251 wxSashEdgePosition arg2
;
11257 PyObject
* obj0
= 0 ;
11258 PyObject
* obj1
= 0 ;
11259 char * kwnames
[] = {
11260 (char *) "self",(char *) "edge", NULL
11263 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashWindow_GetEdgeMargin",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11264 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSashWindow
, 0 | 0 );
11265 if (!SWIG_IsOK(res1
)) {
11266 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashWindow_GetEdgeMargin" "', expected argument " "1"" of type '" "wxSashWindow const *""'");
11268 arg1
= reinterpret_cast< wxSashWindow
* >(argp1
);
11269 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
11270 if (!SWIG_IsOK(ecode2
)) {
11271 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SashWindow_GetEdgeMargin" "', expected argument " "2"" of type '" "wxSashEdgePosition""'");
11273 arg2
= static_cast< wxSashEdgePosition
>(val2
);
11275 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11276 result
= (int)((wxSashWindow
const *)arg1
)->GetEdgeMargin(arg2
);
11277 wxPyEndAllowThreads(__tstate
);
11278 if (PyErr_Occurred()) SWIG_fail
;
11280 resultobj
= SWIG_From_int(static_cast< int >(result
));
11287 SWIGINTERN PyObject
*_wrap_SashWindow_SetDefaultBorderSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11288 PyObject
*resultobj
= 0;
11289 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
11295 PyObject
* obj0
= 0 ;
11296 PyObject
* obj1
= 0 ;
11297 char * kwnames
[] = {
11298 (char *) "self",(char *) "width", NULL
11301 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashWindow_SetDefaultBorderSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11302 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSashWindow
, 0 | 0 );
11303 if (!SWIG_IsOK(res1
)) {
11304 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashWindow_SetDefaultBorderSize" "', expected argument " "1"" of type '" "wxSashWindow *""'");
11306 arg1
= reinterpret_cast< wxSashWindow
* >(argp1
);
11307 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
11308 if (!SWIG_IsOK(ecode2
)) {
11309 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SashWindow_SetDefaultBorderSize" "', expected argument " "2"" of type '" "int""'");
11311 arg2
= static_cast< int >(val2
);
11313 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11314 (arg1
)->SetDefaultBorderSize(arg2
);
11315 wxPyEndAllowThreads(__tstate
);
11316 if (PyErr_Occurred()) SWIG_fail
;
11318 resultobj
= SWIG_Py_Void();
11325 SWIGINTERN PyObject
*_wrap_SashWindow_GetDefaultBorderSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11326 PyObject
*resultobj
= 0;
11327 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
11331 PyObject
*swig_obj
[1] ;
11333 if (!args
) SWIG_fail
;
11334 swig_obj
[0] = args
;
11335 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSashWindow
, 0 | 0 );
11336 if (!SWIG_IsOK(res1
)) {
11337 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashWindow_GetDefaultBorderSize" "', expected argument " "1"" of type '" "wxSashWindow const *""'");
11339 arg1
= reinterpret_cast< wxSashWindow
* >(argp1
);
11341 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11342 result
= (int)((wxSashWindow
const *)arg1
)->GetDefaultBorderSize();
11343 wxPyEndAllowThreads(__tstate
);
11344 if (PyErr_Occurred()) SWIG_fail
;
11346 resultobj
= SWIG_From_int(static_cast< int >(result
));
11353 SWIGINTERN PyObject
*_wrap_SashWindow_SetExtraBorderSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11354 PyObject
*resultobj
= 0;
11355 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
11361 PyObject
* obj0
= 0 ;
11362 PyObject
* obj1
= 0 ;
11363 char * kwnames
[] = {
11364 (char *) "self",(char *) "width", NULL
11367 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashWindow_SetExtraBorderSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11368 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSashWindow
, 0 | 0 );
11369 if (!SWIG_IsOK(res1
)) {
11370 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashWindow_SetExtraBorderSize" "', expected argument " "1"" of type '" "wxSashWindow *""'");
11372 arg1
= reinterpret_cast< wxSashWindow
* >(argp1
);
11373 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
11374 if (!SWIG_IsOK(ecode2
)) {
11375 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SashWindow_SetExtraBorderSize" "', expected argument " "2"" of type '" "int""'");
11377 arg2
= static_cast< int >(val2
);
11379 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11380 (arg1
)->SetExtraBorderSize(arg2
);
11381 wxPyEndAllowThreads(__tstate
);
11382 if (PyErr_Occurred()) SWIG_fail
;
11384 resultobj
= SWIG_Py_Void();
11391 SWIGINTERN PyObject
*_wrap_SashWindow_GetExtraBorderSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11392 PyObject
*resultobj
= 0;
11393 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
11397 PyObject
*swig_obj
[1] ;
11399 if (!args
) SWIG_fail
;
11400 swig_obj
[0] = args
;
11401 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSashWindow
, 0 | 0 );
11402 if (!SWIG_IsOK(res1
)) {
11403 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashWindow_GetExtraBorderSize" "', expected argument " "1"" of type '" "wxSashWindow const *""'");
11405 arg1
= reinterpret_cast< wxSashWindow
* >(argp1
);
11407 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11408 result
= (int)((wxSashWindow
const *)arg1
)->GetExtraBorderSize();
11409 wxPyEndAllowThreads(__tstate
);
11410 if (PyErr_Occurred()) SWIG_fail
;
11412 resultobj
= SWIG_From_int(static_cast< int >(result
));
11419 SWIGINTERN PyObject
*_wrap_SashWindow_SetMinimumSizeX(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11420 PyObject
*resultobj
= 0;
11421 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
11427 PyObject
* obj0
= 0 ;
11428 PyObject
* obj1
= 0 ;
11429 char * kwnames
[] = {
11430 (char *) "self",(char *) "min", NULL
11433 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashWindow_SetMinimumSizeX",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11434 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSashWindow
, 0 | 0 );
11435 if (!SWIG_IsOK(res1
)) {
11436 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashWindow_SetMinimumSizeX" "', expected argument " "1"" of type '" "wxSashWindow *""'");
11438 arg1
= reinterpret_cast< wxSashWindow
* >(argp1
);
11439 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
11440 if (!SWIG_IsOK(ecode2
)) {
11441 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SashWindow_SetMinimumSizeX" "', expected argument " "2"" of type '" "int""'");
11443 arg2
= static_cast< int >(val2
);
11445 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11446 (arg1
)->SetMinimumSizeX(arg2
);
11447 wxPyEndAllowThreads(__tstate
);
11448 if (PyErr_Occurred()) SWIG_fail
;
11450 resultobj
= SWIG_Py_Void();
11457 SWIGINTERN PyObject
*_wrap_SashWindow_SetMinimumSizeY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11458 PyObject
*resultobj
= 0;
11459 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
11465 PyObject
* obj0
= 0 ;
11466 PyObject
* obj1
= 0 ;
11467 char * kwnames
[] = {
11468 (char *) "self",(char *) "min", NULL
11471 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashWindow_SetMinimumSizeY",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11472 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSashWindow
, 0 | 0 );
11473 if (!SWIG_IsOK(res1
)) {
11474 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashWindow_SetMinimumSizeY" "', expected argument " "1"" of type '" "wxSashWindow *""'");
11476 arg1
= reinterpret_cast< wxSashWindow
* >(argp1
);
11477 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
11478 if (!SWIG_IsOK(ecode2
)) {
11479 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SashWindow_SetMinimumSizeY" "', expected argument " "2"" of type '" "int""'");
11481 arg2
= static_cast< int >(val2
);
11483 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11484 (arg1
)->SetMinimumSizeY(arg2
);
11485 wxPyEndAllowThreads(__tstate
);
11486 if (PyErr_Occurred()) SWIG_fail
;
11488 resultobj
= SWIG_Py_Void();
11495 SWIGINTERN PyObject
*_wrap_SashWindow_GetMinimumSizeX(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11496 PyObject
*resultobj
= 0;
11497 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
11501 PyObject
*swig_obj
[1] ;
11503 if (!args
) SWIG_fail
;
11504 swig_obj
[0] = args
;
11505 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSashWindow
, 0 | 0 );
11506 if (!SWIG_IsOK(res1
)) {
11507 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashWindow_GetMinimumSizeX" "', expected argument " "1"" of type '" "wxSashWindow const *""'");
11509 arg1
= reinterpret_cast< wxSashWindow
* >(argp1
);
11511 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11512 result
= (int)((wxSashWindow
const *)arg1
)->GetMinimumSizeX();
11513 wxPyEndAllowThreads(__tstate
);
11514 if (PyErr_Occurred()) SWIG_fail
;
11516 resultobj
= SWIG_From_int(static_cast< int >(result
));
11523 SWIGINTERN PyObject
*_wrap_SashWindow_GetMinimumSizeY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11524 PyObject
*resultobj
= 0;
11525 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
11529 PyObject
*swig_obj
[1] ;
11531 if (!args
) SWIG_fail
;
11532 swig_obj
[0] = args
;
11533 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSashWindow
, 0 | 0 );
11534 if (!SWIG_IsOK(res1
)) {
11535 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashWindow_GetMinimumSizeY" "', expected argument " "1"" of type '" "wxSashWindow const *""'");
11537 arg1
= reinterpret_cast< wxSashWindow
* >(argp1
);
11539 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11540 result
= (int)((wxSashWindow
const *)arg1
)->GetMinimumSizeY();
11541 wxPyEndAllowThreads(__tstate
);
11542 if (PyErr_Occurred()) SWIG_fail
;
11544 resultobj
= SWIG_From_int(static_cast< int >(result
));
11551 SWIGINTERN PyObject
*_wrap_SashWindow_SetMaximumSizeX(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11552 PyObject
*resultobj
= 0;
11553 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
11559 PyObject
* obj0
= 0 ;
11560 PyObject
* obj1
= 0 ;
11561 char * kwnames
[] = {
11562 (char *) "self",(char *) "max", NULL
11565 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashWindow_SetMaximumSizeX",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11566 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSashWindow
, 0 | 0 );
11567 if (!SWIG_IsOK(res1
)) {
11568 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashWindow_SetMaximumSizeX" "', expected argument " "1"" of type '" "wxSashWindow *""'");
11570 arg1
= reinterpret_cast< wxSashWindow
* >(argp1
);
11571 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
11572 if (!SWIG_IsOK(ecode2
)) {
11573 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SashWindow_SetMaximumSizeX" "', expected argument " "2"" of type '" "int""'");
11575 arg2
= static_cast< int >(val2
);
11577 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11578 (arg1
)->SetMaximumSizeX(arg2
);
11579 wxPyEndAllowThreads(__tstate
);
11580 if (PyErr_Occurred()) SWIG_fail
;
11582 resultobj
= SWIG_Py_Void();
11589 SWIGINTERN PyObject
*_wrap_SashWindow_SetMaximumSizeY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11590 PyObject
*resultobj
= 0;
11591 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
11597 PyObject
* obj0
= 0 ;
11598 PyObject
* obj1
= 0 ;
11599 char * kwnames
[] = {
11600 (char *) "self",(char *) "max", NULL
11603 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashWindow_SetMaximumSizeY",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11604 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSashWindow
, 0 | 0 );
11605 if (!SWIG_IsOK(res1
)) {
11606 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashWindow_SetMaximumSizeY" "', expected argument " "1"" of type '" "wxSashWindow *""'");
11608 arg1
= reinterpret_cast< wxSashWindow
* >(argp1
);
11609 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
11610 if (!SWIG_IsOK(ecode2
)) {
11611 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SashWindow_SetMaximumSizeY" "', expected argument " "2"" of type '" "int""'");
11613 arg2
= static_cast< int >(val2
);
11615 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11616 (arg1
)->SetMaximumSizeY(arg2
);
11617 wxPyEndAllowThreads(__tstate
);
11618 if (PyErr_Occurred()) SWIG_fail
;
11620 resultobj
= SWIG_Py_Void();
11627 SWIGINTERN PyObject
*_wrap_SashWindow_GetMaximumSizeX(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11628 PyObject
*resultobj
= 0;
11629 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
11633 PyObject
*swig_obj
[1] ;
11635 if (!args
) SWIG_fail
;
11636 swig_obj
[0] = args
;
11637 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSashWindow
, 0 | 0 );
11638 if (!SWIG_IsOK(res1
)) {
11639 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashWindow_GetMaximumSizeX" "', expected argument " "1"" of type '" "wxSashWindow const *""'");
11641 arg1
= reinterpret_cast< wxSashWindow
* >(argp1
);
11643 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11644 result
= (int)((wxSashWindow
const *)arg1
)->GetMaximumSizeX();
11645 wxPyEndAllowThreads(__tstate
);
11646 if (PyErr_Occurred()) SWIG_fail
;
11648 resultobj
= SWIG_From_int(static_cast< int >(result
));
11655 SWIGINTERN PyObject
*_wrap_SashWindow_GetMaximumSizeY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11656 PyObject
*resultobj
= 0;
11657 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
11661 PyObject
*swig_obj
[1] ;
11663 if (!args
) SWIG_fail
;
11664 swig_obj
[0] = args
;
11665 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSashWindow
, 0 | 0 );
11666 if (!SWIG_IsOK(res1
)) {
11667 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashWindow_GetMaximumSizeY" "', expected argument " "1"" of type '" "wxSashWindow const *""'");
11669 arg1
= reinterpret_cast< wxSashWindow
* >(argp1
);
11671 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11672 result
= (int)((wxSashWindow
const *)arg1
)->GetMaximumSizeY();
11673 wxPyEndAllowThreads(__tstate
);
11674 if (PyErr_Occurred()) SWIG_fail
;
11676 resultobj
= SWIG_From_int(static_cast< int >(result
));
11683 SWIGINTERN PyObject
*_wrap_SashWindow_SashHitTest(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11684 PyObject
*resultobj
= 0;
11685 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
11688 int arg4
= (int) 2 ;
11689 wxSashEdgePosition result
;
11698 PyObject
* obj0
= 0 ;
11699 PyObject
* obj1
= 0 ;
11700 PyObject
* obj2
= 0 ;
11701 PyObject
* obj3
= 0 ;
11702 char * kwnames
[] = {
11703 (char *) "self",(char *) "x",(char *) "y",(char *) "tolerance", NULL
11706 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:SashWindow_SashHitTest",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
11707 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSashWindow
, 0 | 0 );
11708 if (!SWIG_IsOK(res1
)) {
11709 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashWindow_SashHitTest" "', expected argument " "1"" of type '" "wxSashWindow *""'");
11711 arg1
= reinterpret_cast< wxSashWindow
* >(argp1
);
11712 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
11713 if (!SWIG_IsOK(ecode2
)) {
11714 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SashWindow_SashHitTest" "', expected argument " "2"" of type '" "int""'");
11716 arg2
= static_cast< int >(val2
);
11717 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
11718 if (!SWIG_IsOK(ecode3
)) {
11719 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "SashWindow_SashHitTest" "', expected argument " "3"" of type '" "int""'");
11721 arg3
= static_cast< int >(val3
);
11723 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
11724 if (!SWIG_IsOK(ecode4
)) {
11725 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "SashWindow_SashHitTest" "', expected argument " "4"" of type '" "int""'");
11727 arg4
= static_cast< int >(val4
);
11730 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11731 result
= (wxSashEdgePosition
)(arg1
)->SashHitTest(arg2
,arg3
,arg4
);
11732 wxPyEndAllowThreads(__tstate
);
11733 if (PyErr_Occurred()) SWIG_fail
;
11735 resultobj
= SWIG_From_int(static_cast< int >(result
));
11742 SWIGINTERN PyObject
*_wrap_SashWindow_SizeWindows(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11743 PyObject
*resultobj
= 0;
11744 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
11747 PyObject
*swig_obj
[1] ;
11749 if (!args
) SWIG_fail
;
11750 swig_obj
[0] = args
;
11751 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSashWindow
, 0 | 0 );
11752 if (!SWIG_IsOK(res1
)) {
11753 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashWindow_SizeWindows" "', expected argument " "1"" of type '" "wxSashWindow *""'");
11755 arg1
= reinterpret_cast< wxSashWindow
* >(argp1
);
11757 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11758 (arg1
)->SizeWindows();
11759 wxPyEndAllowThreads(__tstate
);
11760 if (PyErr_Occurred()) SWIG_fail
;
11762 resultobj
= SWIG_Py_Void();
11769 SWIGINTERN PyObject
*SashWindow_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11771 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
11772 SWIG_TypeNewClientData(SWIGTYPE_p_wxSashWindow
, SWIG_NewClientData(obj
));
11773 return SWIG_Py_Void();
11776 SWIGINTERN PyObject
*SashWindow_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11777 return SWIG_Python_InitShadowInstance(args
);
11780 SWIGINTERN PyObject
*_wrap_new_SashEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11781 PyObject
*resultobj
= 0;
11782 int arg1
= (int) 0 ;
11783 wxSashEdgePosition arg2
= (wxSashEdgePosition
) wxSASH_NONE
;
11784 wxSashEvent
*result
= 0 ;
11789 PyObject
* obj0
= 0 ;
11790 PyObject
* obj1
= 0 ;
11791 char * kwnames
[] = {
11792 (char *) "id",(char *) "edge", NULL
11795 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_SashEvent",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11797 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
11798 if (!SWIG_IsOK(ecode1
)) {
11799 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_SashEvent" "', expected argument " "1"" of type '" "int""'");
11801 arg1
= static_cast< int >(val1
);
11804 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
11805 if (!SWIG_IsOK(ecode2
)) {
11806 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_SashEvent" "', expected argument " "2"" of type '" "wxSashEdgePosition""'");
11808 arg2
= static_cast< wxSashEdgePosition
>(val2
);
11811 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11812 result
= (wxSashEvent
*)new wxSashEvent(arg1
,arg2
);
11813 wxPyEndAllowThreads(__tstate
);
11814 if (PyErr_Occurred()) SWIG_fail
;
11816 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSashEvent
, SWIG_POINTER_NEW
| 0 );
11823 SWIGINTERN PyObject
*_wrap_SashEvent_SetEdge(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11824 PyObject
*resultobj
= 0;
11825 wxSashEvent
*arg1
= (wxSashEvent
*) 0 ;
11826 wxSashEdgePosition arg2
;
11831 PyObject
* obj0
= 0 ;
11832 PyObject
* obj1
= 0 ;
11833 char * kwnames
[] = {
11834 (char *) "self",(char *) "edge", NULL
11837 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashEvent_SetEdge",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11838 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSashEvent
, 0 | 0 );
11839 if (!SWIG_IsOK(res1
)) {
11840 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashEvent_SetEdge" "', expected argument " "1"" of type '" "wxSashEvent *""'");
11842 arg1
= reinterpret_cast< wxSashEvent
* >(argp1
);
11843 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
11844 if (!SWIG_IsOK(ecode2
)) {
11845 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SashEvent_SetEdge" "', expected argument " "2"" of type '" "wxSashEdgePosition""'");
11847 arg2
= static_cast< wxSashEdgePosition
>(val2
);
11849 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11850 (arg1
)->SetEdge(arg2
);
11851 wxPyEndAllowThreads(__tstate
);
11852 if (PyErr_Occurred()) SWIG_fail
;
11854 resultobj
= SWIG_Py_Void();
11861 SWIGINTERN PyObject
*_wrap_SashEvent_GetEdge(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11862 PyObject
*resultobj
= 0;
11863 wxSashEvent
*arg1
= (wxSashEvent
*) 0 ;
11864 wxSashEdgePosition result
;
11867 PyObject
*swig_obj
[1] ;
11869 if (!args
) SWIG_fail
;
11870 swig_obj
[0] = args
;
11871 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSashEvent
, 0 | 0 );
11872 if (!SWIG_IsOK(res1
)) {
11873 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashEvent_GetEdge" "', expected argument " "1"" of type '" "wxSashEvent const *""'");
11875 arg1
= reinterpret_cast< wxSashEvent
* >(argp1
);
11877 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11878 result
= (wxSashEdgePosition
)((wxSashEvent
const *)arg1
)->GetEdge();
11879 wxPyEndAllowThreads(__tstate
);
11880 if (PyErr_Occurred()) SWIG_fail
;
11882 resultobj
= SWIG_From_int(static_cast< int >(result
));
11889 SWIGINTERN PyObject
*_wrap_SashEvent_SetDragRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11890 PyObject
*resultobj
= 0;
11891 wxSashEvent
*arg1
= (wxSashEvent
*) 0 ;
11896 PyObject
* obj0
= 0 ;
11897 PyObject
* obj1
= 0 ;
11898 char * kwnames
[] = {
11899 (char *) "self",(char *) "rect", NULL
11902 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashEvent_SetDragRect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11903 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSashEvent
, 0 | 0 );
11904 if (!SWIG_IsOK(res1
)) {
11905 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashEvent_SetDragRect" "', expected argument " "1"" of type '" "wxSashEvent *""'");
11907 arg1
= reinterpret_cast< wxSashEvent
* >(argp1
);
11910 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
11913 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11914 (arg1
)->SetDragRect((wxRect
const &)*arg2
);
11915 wxPyEndAllowThreads(__tstate
);
11916 if (PyErr_Occurred()) SWIG_fail
;
11918 resultobj
= SWIG_Py_Void();
11925 SWIGINTERN PyObject
*_wrap_SashEvent_GetDragRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11926 PyObject
*resultobj
= 0;
11927 wxSashEvent
*arg1
= (wxSashEvent
*) 0 ;
11931 PyObject
*swig_obj
[1] ;
11933 if (!args
) SWIG_fail
;
11934 swig_obj
[0] = args
;
11935 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSashEvent
, 0 | 0 );
11936 if (!SWIG_IsOK(res1
)) {
11937 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashEvent_GetDragRect" "', expected argument " "1"" of type '" "wxSashEvent const *""'");
11939 arg1
= reinterpret_cast< wxSashEvent
* >(argp1
);
11941 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11942 result
= ((wxSashEvent
const *)arg1
)->GetDragRect();
11943 wxPyEndAllowThreads(__tstate
);
11944 if (PyErr_Occurred()) SWIG_fail
;
11946 resultobj
= SWIG_NewPointerObj((new wxRect(static_cast< const wxRect
& >(result
))), SWIGTYPE_p_wxRect
, SWIG_POINTER_OWN
| 0 );
11953 SWIGINTERN PyObject
*_wrap_SashEvent_SetDragStatus(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11954 PyObject
*resultobj
= 0;
11955 wxSashEvent
*arg1
= (wxSashEvent
*) 0 ;
11956 wxSashDragStatus arg2
;
11961 PyObject
* obj0
= 0 ;
11962 PyObject
* obj1
= 0 ;
11963 char * kwnames
[] = {
11964 (char *) "self",(char *) "status", NULL
11967 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashEvent_SetDragStatus",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11968 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSashEvent
, 0 | 0 );
11969 if (!SWIG_IsOK(res1
)) {
11970 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashEvent_SetDragStatus" "', expected argument " "1"" of type '" "wxSashEvent *""'");
11972 arg1
= reinterpret_cast< wxSashEvent
* >(argp1
);
11973 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
11974 if (!SWIG_IsOK(ecode2
)) {
11975 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SashEvent_SetDragStatus" "', expected argument " "2"" of type '" "wxSashDragStatus""'");
11977 arg2
= static_cast< wxSashDragStatus
>(val2
);
11979 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11980 (arg1
)->SetDragStatus(arg2
);
11981 wxPyEndAllowThreads(__tstate
);
11982 if (PyErr_Occurred()) SWIG_fail
;
11984 resultobj
= SWIG_Py_Void();
11991 SWIGINTERN PyObject
*_wrap_SashEvent_GetDragStatus(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11992 PyObject
*resultobj
= 0;
11993 wxSashEvent
*arg1
= (wxSashEvent
*) 0 ;
11994 wxSashDragStatus result
;
11997 PyObject
*swig_obj
[1] ;
11999 if (!args
) SWIG_fail
;
12000 swig_obj
[0] = args
;
12001 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSashEvent
, 0 | 0 );
12002 if (!SWIG_IsOK(res1
)) {
12003 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashEvent_GetDragStatus" "', expected argument " "1"" of type '" "wxSashEvent const *""'");
12005 arg1
= reinterpret_cast< wxSashEvent
* >(argp1
);
12007 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12008 result
= (wxSashDragStatus
)((wxSashEvent
const *)arg1
)->GetDragStatus();
12009 wxPyEndAllowThreads(__tstate
);
12010 if (PyErr_Occurred()) SWIG_fail
;
12012 resultobj
= SWIG_From_int(static_cast< int >(result
));
12019 SWIGINTERN PyObject
*SashEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12021 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
12022 SWIG_TypeNewClientData(SWIGTYPE_p_wxSashEvent
, SWIG_NewClientData(obj
));
12023 return SWIG_Py_Void();
12026 SWIGINTERN PyObject
*SashEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12027 return SWIG_Python_InitShadowInstance(args
);
12030 SWIGINTERN PyObject
*_wrap_new_QueryLayoutInfoEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12031 PyObject
*resultobj
= 0;
12032 int arg1
= (int) 0 ;
12033 wxQueryLayoutInfoEvent
*result
= 0 ;
12036 PyObject
* obj0
= 0 ;
12037 char * kwnames
[] = {
12038 (char *) "id", NULL
12041 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_QueryLayoutInfoEvent",kwnames
,&obj0
)) SWIG_fail
;
12043 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
12044 if (!SWIG_IsOK(ecode1
)) {
12045 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_QueryLayoutInfoEvent" "', expected argument " "1"" of type '" "int""'");
12047 arg1
= static_cast< int >(val1
);
12050 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12051 result
= (wxQueryLayoutInfoEvent
*)new wxQueryLayoutInfoEvent(arg1
);
12052 wxPyEndAllowThreads(__tstate
);
12053 if (PyErr_Occurred()) SWIG_fail
;
12055 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxQueryLayoutInfoEvent
, SWIG_POINTER_NEW
| 0 );
12062 SWIGINTERN PyObject
*_wrap_QueryLayoutInfoEvent_SetRequestedLength(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12063 PyObject
*resultobj
= 0;
12064 wxQueryLayoutInfoEvent
*arg1
= (wxQueryLayoutInfoEvent
*) 0 ;
12070 PyObject
* obj0
= 0 ;
12071 PyObject
* obj1
= 0 ;
12072 char * kwnames
[] = {
12073 (char *) "self",(char *) "length", NULL
12076 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:QueryLayoutInfoEvent_SetRequestedLength",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12077 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxQueryLayoutInfoEvent
, 0 | 0 );
12078 if (!SWIG_IsOK(res1
)) {
12079 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "QueryLayoutInfoEvent_SetRequestedLength" "', expected argument " "1"" of type '" "wxQueryLayoutInfoEvent *""'");
12081 arg1
= reinterpret_cast< wxQueryLayoutInfoEvent
* >(argp1
);
12082 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
12083 if (!SWIG_IsOK(ecode2
)) {
12084 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "QueryLayoutInfoEvent_SetRequestedLength" "', expected argument " "2"" of type '" "int""'");
12086 arg2
= static_cast< int >(val2
);
12088 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12089 (arg1
)->SetRequestedLength(arg2
);
12090 wxPyEndAllowThreads(__tstate
);
12091 if (PyErr_Occurred()) SWIG_fail
;
12093 resultobj
= SWIG_Py_Void();
12100 SWIGINTERN PyObject
*_wrap_QueryLayoutInfoEvent_GetRequestedLength(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12101 PyObject
*resultobj
= 0;
12102 wxQueryLayoutInfoEvent
*arg1
= (wxQueryLayoutInfoEvent
*) 0 ;
12106 PyObject
*swig_obj
[1] ;
12108 if (!args
) SWIG_fail
;
12109 swig_obj
[0] = args
;
12110 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxQueryLayoutInfoEvent
, 0 | 0 );
12111 if (!SWIG_IsOK(res1
)) {
12112 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "QueryLayoutInfoEvent_GetRequestedLength" "', expected argument " "1"" of type '" "wxQueryLayoutInfoEvent const *""'");
12114 arg1
= reinterpret_cast< wxQueryLayoutInfoEvent
* >(argp1
);
12116 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12117 result
= (int)((wxQueryLayoutInfoEvent
const *)arg1
)->GetRequestedLength();
12118 wxPyEndAllowThreads(__tstate
);
12119 if (PyErr_Occurred()) SWIG_fail
;
12121 resultobj
= SWIG_From_int(static_cast< int >(result
));
12128 SWIGINTERN PyObject
*_wrap_QueryLayoutInfoEvent_SetFlags(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12129 PyObject
*resultobj
= 0;
12130 wxQueryLayoutInfoEvent
*arg1
= (wxQueryLayoutInfoEvent
*) 0 ;
12136 PyObject
* obj0
= 0 ;
12137 PyObject
* obj1
= 0 ;
12138 char * kwnames
[] = {
12139 (char *) "self",(char *) "flags", NULL
12142 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:QueryLayoutInfoEvent_SetFlags",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12143 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxQueryLayoutInfoEvent
, 0 | 0 );
12144 if (!SWIG_IsOK(res1
)) {
12145 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "QueryLayoutInfoEvent_SetFlags" "', expected argument " "1"" of type '" "wxQueryLayoutInfoEvent *""'");
12147 arg1
= reinterpret_cast< wxQueryLayoutInfoEvent
* >(argp1
);
12148 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
12149 if (!SWIG_IsOK(ecode2
)) {
12150 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "QueryLayoutInfoEvent_SetFlags" "', expected argument " "2"" of type '" "int""'");
12152 arg2
= static_cast< int >(val2
);
12154 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12155 (arg1
)->SetFlags(arg2
);
12156 wxPyEndAllowThreads(__tstate
);
12157 if (PyErr_Occurred()) SWIG_fail
;
12159 resultobj
= SWIG_Py_Void();
12166 SWIGINTERN PyObject
*_wrap_QueryLayoutInfoEvent_GetFlags(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12167 PyObject
*resultobj
= 0;
12168 wxQueryLayoutInfoEvent
*arg1
= (wxQueryLayoutInfoEvent
*) 0 ;
12172 PyObject
*swig_obj
[1] ;
12174 if (!args
) SWIG_fail
;
12175 swig_obj
[0] = args
;
12176 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxQueryLayoutInfoEvent
, 0 | 0 );
12177 if (!SWIG_IsOK(res1
)) {
12178 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "QueryLayoutInfoEvent_GetFlags" "', expected argument " "1"" of type '" "wxQueryLayoutInfoEvent const *""'");
12180 arg1
= reinterpret_cast< wxQueryLayoutInfoEvent
* >(argp1
);
12182 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12183 result
= (int)((wxQueryLayoutInfoEvent
const *)arg1
)->GetFlags();
12184 wxPyEndAllowThreads(__tstate
);
12185 if (PyErr_Occurred()) SWIG_fail
;
12187 resultobj
= SWIG_From_int(static_cast< int >(result
));
12194 SWIGINTERN PyObject
*_wrap_QueryLayoutInfoEvent_SetSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12195 PyObject
*resultobj
= 0;
12196 wxQueryLayoutInfoEvent
*arg1
= (wxQueryLayoutInfoEvent
*) 0 ;
12201 PyObject
* obj0
= 0 ;
12202 PyObject
* obj1
= 0 ;
12203 char * kwnames
[] = {
12204 (char *) "self",(char *) "size", NULL
12207 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:QueryLayoutInfoEvent_SetSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12208 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxQueryLayoutInfoEvent
, 0 | 0 );
12209 if (!SWIG_IsOK(res1
)) {
12210 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "QueryLayoutInfoEvent_SetSize" "', expected argument " "1"" of type '" "wxQueryLayoutInfoEvent *""'");
12212 arg1
= reinterpret_cast< wxQueryLayoutInfoEvent
* >(argp1
);
12215 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
12218 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12219 (arg1
)->SetSize((wxSize
const &)*arg2
);
12220 wxPyEndAllowThreads(__tstate
);
12221 if (PyErr_Occurred()) SWIG_fail
;
12223 resultobj
= SWIG_Py_Void();
12230 SWIGINTERN PyObject
*_wrap_QueryLayoutInfoEvent_GetSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12231 PyObject
*resultobj
= 0;
12232 wxQueryLayoutInfoEvent
*arg1
= (wxQueryLayoutInfoEvent
*) 0 ;
12236 PyObject
*swig_obj
[1] ;
12238 if (!args
) SWIG_fail
;
12239 swig_obj
[0] = args
;
12240 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxQueryLayoutInfoEvent
, 0 | 0 );
12241 if (!SWIG_IsOK(res1
)) {
12242 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "QueryLayoutInfoEvent_GetSize" "', expected argument " "1"" of type '" "wxQueryLayoutInfoEvent const *""'");
12244 arg1
= reinterpret_cast< wxQueryLayoutInfoEvent
* >(argp1
);
12246 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12247 result
= ((wxQueryLayoutInfoEvent
const *)arg1
)->GetSize();
12248 wxPyEndAllowThreads(__tstate
);
12249 if (PyErr_Occurred()) SWIG_fail
;
12251 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
12258 SWIGINTERN PyObject
*_wrap_QueryLayoutInfoEvent_SetOrientation(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12259 PyObject
*resultobj
= 0;
12260 wxQueryLayoutInfoEvent
*arg1
= (wxQueryLayoutInfoEvent
*) 0 ;
12261 wxLayoutOrientation arg2
;
12266 PyObject
* obj0
= 0 ;
12267 PyObject
* obj1
= 0 ;
12268 char * kwnames
[] = {
12269 (char *) "self",(char *) "orient", NULL
12272 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:QueryLayoutInfoEvent_SetOrientation",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12273 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxQueryLayoutInfoEvent
, 0 | 0 );
12274 if (!SWIG_IsOK(res1
)) {
12275 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "QueryLayoutInfoEvent_SetOrientation" "', expected argument " "1"" of type '" "wxQueryLayoutInfoEvent *""'");
12277 arg1
= reinterpret_cast< wxQueryLayoutInfoEvent
* >(argp1
);
12278 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
12279 if (!SWIG_IsOK(ecode2
)) {
12280 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "QueryLayoutInfoEvent_SetOrientation" "', expected argument " "2"" of type '" "wxLayoutOrientation""'");
12282 arg2
= static_cast< wxLayoutOrientation
>(val2
);
12284 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12285 (arg1
)->SetOrientation(arg2
);
12286 wxPyEndAllowThreads(__tstate
);
12287 if (PyErr_Occurred()) SWIG_fail
;
12289 resultobj
= SWIG_Py_Void();
12296 SWIGINTERN PyObject
*_wrap_QueryLayoutInfoEvent_GetOrientation(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12297 PyObject
*resultobj
= 0;
12298 wxQueryLayoutInfoEvent
*arg1
= (wxQueryLayoutInfoEvent
*) 0 ;
12299 wxLayoutOrientation result
;
12302 PyObject
*swig_obj
[1] ;
12304 if (!args
) SWIG_fail
;
12305 swig_obj
[0] = args
;
12306 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxQueryLayoutInfoEvent
, 0 | 0 );
12307 if (!SWIG_IsOK(res1
)) {
12308 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "QueryLayoutInfoEvent_GetOrientation" "', expected argument " "1"" of type '" "wxQueryLayoutInfoEvent const *""'");
12310 arg1
= reinterpret_cast< wxQueryLayoutInfoEvent
* >(argp1
);
12312 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12313 result
= (wxLayoutOrientation
)((wxQueryLayoutInfoEvent
const *)arg1
)->GetOrientation();
12314 wxPyEndAllowThreads(__tstate
);
12315 if (PyErr_Occurred()) SWIG_fail
;
12317 resultobj
= SWIG_From_int(static_cast< int >(result
));
12324 SWIGINTERN PyObject
*_wrap_QueryLayoutInfoEvent_SetAlignment(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12325 PyObject
*resultobj
= 0;
12326 wxQueryLayoutInfoEvent
*arg1
= (wxQueryLayoutInfoEvent
*) 0 ;
12327 wxLayoutAlignment arg2
;
12332 PyObject
* obj0
= 0 ;
12333 PyObject
* obj1
= 0 ;
12334 char * kwnames
[] = {
12335 (char *) "self",(char *) "align", NULL
12338 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:QueryLayoutInfoEvent_SetAlignment",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12339 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxQueryLayoutInfoEvent
, 0 | 0 );
12340 if (!SWIG_IsOK(res1
)) {
12341 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "QueryLayoutInfoEvent_SetAlignment" "', expected argument " "1"" of type '" "wxQueryLayoutInfoEvent *""'");
12343 arg1
= reinterpret_cast< wxQueryLayoutInfoEvent
* >(argp1
);
12344 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
12345 if (!SWIG_IsOK(ecode2
)) {
12346 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "QueryLayoutInfoEvent_SetAlignment" "', expected argument " "2"" of type '" "wxLayoutAlignment""'");
12348 arg2
= static_cast< wxLayoutAlignment
>(val2
);
12350 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12351 (arg1
)->SetAlignment(arg2
);
12352 wxPyEndAllowThreads(__tstate
);
12353 if (PyErr_Occurred()) SWIG_fail
;
12355 resultobj
= SWIG_Py_Void();
12362 SWIGINTERN PyObject
*_wrap_QueryLayoutInfoEvent_GetAlignment(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12363 PyObject
*resultobj
= 0;
12364 wxQueryLayoutInfoEvent
*arg1
= (wxQueryLayoutInfoEvent
*) 0 ;
12365 wxLayoutAlignment result
;
12368 PyObject
*swig_obj
[1] ;
12370 if (!args
) SWIG_fail
;
12371 swig_obj
[0] = args
;
12372 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxQueryLayoutInfoEvent
, 0 | 0 );
12373 if (!SWIG_IsOK(res1
)) {
12374 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "QueryLayoutInfoEvent_GetAlignment" "', expected argument " "1"" of type '" "wxQueryLayoutInfoEvent const *""'");
12376 arg1
= reinterpret_cast< wxQueryLayoutInfoEvent
* >(argp1
);
12378 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12379 result
= (wxLayoutAlignment
)((wxQueryLayoutInfoEvent
const *)arg1
)->GetAlignment();
12380 wxPyEndAllowThreads(__tstate
);
12381 if (PyErr_Occurred()) SWIG_fail
;
12383 resultobj
= SWIG_From_int(static_cast< int >(result
));
12390 SWIGINTERN PyObject
*QueryLayoutInfoEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12392 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
12393 SWIG_TypeNewClientData(SWIGTYPE_p_wxQueryLayoutInfoEvent
, SWIG_NewClientData(obj
));
12394 return SWIG_Py_Void();
12397 SWIGINTERN PyObject
*QueryLayoutInfoEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12398 return SWIG_Python_InitShadowInstance(args
);
12401 SWIGINTERN PyObject
*_wrap_new_CalculateLayoutEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12402 PyObject
*resultobj
= 0;
12403 int arg1
= (int) 0 ;
12404 wxCalculateLayoutEvent
*result
= 0 ;
12407 PyObject
* obj0
= 0 ;
12408 char * kwnames
[] = {
12409 (char *) "id", NULL
12412 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_CalculateLayoutEvent",kwnames
,&obj0
)) SWIG_fail
;
12414 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
12415 if (!SWIG_IsOK(ecode1
)) {
12416 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_CalculateLayoutEvent" "', expected argument " "1"" of type '" "int""'");
12418 arg1
= static_cast< int >(val1
);
12421 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12422 result
= (wxCalculateLayoutEvent
*)new wxCalculateLayoutEvent(arg1
);
12423 wxPyEndAllowThreads(__tstate
);
12424 if (PyErr_Occurred()) SWIG_fail
;
12426 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxCalculateLayoutEvent
, SWIG_POINTER_NEW
| 0 );
12433 SWIGINTERN PyObject
*_wrap_CalculateLayoutEvent_SetFlags(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12434 PyObject
*resultobj
= 0;
12435 wxCalculateLayoutEvent
*arg1
= (wxCalculateLayoutEvent
*) 0 ;
12441 PyObject
* obj0
= 0 ;
12442 PyObject
* obj1
= 0 ;
12443 char * kwnames
[] = {
12444 (char *) "self",(char *) "flags", NULL
12447 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CalculateLayoutEvent_SetFlags",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12448 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxCalculateLayoutEvent
, 0 | 0 );
12449 if (!SWIG_IsOK(res1
)) {
12450 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "CalculateLayoutEvent_SetFlags" "', expected argument " "1"" of type '" "wxCalculateLayoutEvent *""'");
12452 arg1
= reinterpret_cast< wxCalculateLayoutEvent
* >(argp1
);
12453 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
12454 if (!SWIG_IsOK(ecode2
)) {
12455 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "CalculateLayoutEvent_SetFlags" "', expected argument " "2"" of type '" "int""'");
12457 arg2
= static_cast< int >(val2
);
12459 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12460 (arg1
)->SetFlags(arg2
);
12461 wxPyEndAllowThreads(__tstate
);
12462 if (PyErr_Occurred()) SWIG_fail
;
12464 resultobj
= SWIG_Py_Void();
12471 SWIGINTERN PyObject
*_wrap_CalculateLayoutEvent_GetFlags(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12472 PyObject
*resultobj
= 0;
12473 wxCalculateLayoutEvent
*arg1
= (wxCalculateLayoutEvent
*) 0 ;
12477 PyObject
*swig_obj
[1] ;
12479 if (!args
) SWIG_fail
;
12480 swig_obj
[0] = args
;
12481 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxCalculateLayoutEvent
, 0 | 0 );
12482 if (!SWIG_IsOK(res1
)) {
12483 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "CalculateLayoutEvent_GetFlags" "', expected argument " "1"" of type '" "wxCalculateLayoutEvent const *""'");
12485 arg1
= reinterpret_cast< wxCalculateLayoutEvent
* >(argp1
);
12487 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12488 result
= (int)((wxCalculateLayoutEvent
const *)arg1
)->GetFlags();
12489 wxPyEndAllowThreads(__tstate
);
12490 if (PyErr_Occurred()) SWIG_fail
;
12492 resultobj
= SWIG_From_int(static_cast< int >(result
));
12499 SWIGINTERN PyObject
*_wrap_CalculateLayoutEvent_SetRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12500 PyObject
*resultobj
= 0;
12501 wxCalculateLayoutEvent
*arg1
= (wxCalculateLayoutEvent
*) 0 ;
12506 PyObject
* obj0
= 0 ;
12507 PyObject
* obj1
= 0 ;
12508 char * kwnames
[] = {
12509 (char *) "self",(char *) "rect", NULL
12512 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CalculateLayoutEvent_SetRect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12513 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxCalculateLayoutEvent
, 0 | 0 );
12514 if (!SWIG_IsOK(res1
)) {
12515 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "CalculateLayoutEvent_SetRect" "', expected argument " "1"" of type '" "wxCalculateLayoutEvent *""'");
12517 arg1
= reinterpret_cast< wxCalculateLayoutEvent
* >(argp1
);
12520 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
12523 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12524 (arg1
)->SetRect((wxRect
const &)*arg2
);
12525 wxPyEndAllowThreads(__tstate
);
12526 if (PyErr_Occurred()) SWIG_fail
;
12528 resultobj
= SWIG_Py_Void();
12535 SWIGINTERN PyObject
*_wrap_CalculateLayoutEvent_GetRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12536 PyObject
*resultobj
= 0;
12537 wxCalculateLayoutEvent
*arg1
= (wxCalculateLayoutEvent
*) 0 ;
12541 PyObject
*swig_obj
[1] ;
12543 if (!args
) SWIG_fail
;
12544 swig_obj
[0] = args
;
12545 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxCalculateLayoutEvent
, 0 | 0 );
12546 if (!SWIG_IsOK(res1
)) {
12547 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "CalculateLayoutEvent_GetRect" "', expected argument " "1"" of type '" "wxCalculateLayoutEvent const *""'");
12549 arg1
= reinterpret_cast< wxCalculateLayoutEvent
* >(argp1
);
12551 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12552 result
= ((wxCalculateLayoutEvent
const *)arg1
)->GetRect();
12553 wxPyEndAllowThreads(__tstate
);
12554 if (PyErr_Occurred()) SWIG_fail
;
12556 resultobj
= SWIG_NewPointerObj((new wxRect(static_cast< const wxRect
& >(result
))), SWIGTYPE_p_wxRect
, SWIG_POINTER_OWN
| 0 );
12563 SWIGINTERN PyObject
*CalculateLayoutEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12565 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
12566 SWIG_TypeNewClientData(SWIGTYPE_p_wxCalculateLayoutEvent
, SWIG_NewClientData(obj
));
12567 return SWIG_Py_Void();
12570 SWIGINTERN PyObject
*CalculateLayoutEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12571 return SWIG_Python_InitShadowInstance(args
);
12574 SWIGINTERN PyObject
*_wrap_new_SashLayoutWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12575 PyObject
*resultobj
= 0;
12576 wxWindow
*arg1
= (wxWindow
*) 0 ;
12577 int arg2
= (int) -1 ;
12578 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
12579 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
12580 wxSize
const &arg4_defvalue
= wxDefaultSize
;
12581 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
12582 long arg5
= (long) wxCLIP_CHILDREN
|wxSW_3D
;
12583 wxString
const &arg6_defvalue
= wxPySashLayoutNameStr
;
12584 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
12585 wxSashLayoutWindow
*result
= 0 ;
12594 bool temp6
= false ;
12595 PyObject
* obj0
= 0 ;
12596 PyObject
* obj1
= 0 ;
12597 PyObject
* obj2
= 0 ;
12598 PyObject
* obj3
= 0 ;
12599 PyObject
* obj4
= 0 ;
12600 PyObject
* obj5
= 0 ;
12601 char * kwnames
[] = {
12602 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
12605 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_SashLayoutWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
12606 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
12607 if (!SWIG_IsOK(res1
)) {
12608 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_SashLayoutWindow" "', expected argument " "1"" of type '" "wxWindow *""'");
12610 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
12612 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
12613 if (!SWIG_IsOK(ecode2
)) {
12614 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_SashLayoutWindow" "', expected argument " "2"" of type '" "int""'");
12616 arg2
= static_cast< int >(val2
);
12621 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
12627 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
12631 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
12632 if (!SWIG_IsOK(ecode5
)) {
12633 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_SashLayoutWindow" "', expected argument " "5"" of type '" "long""'");
12635 arg5
= static_cast< long >(val5
);
12639 arg6
= wxString_in_helper(obj5
);
12640 if (arg6
== NULL
) SWIG_fail
;
12645 if (!wxPyCheckForApp()) SWIG_fail
;
12646 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12647 result
= (wxSashLayoutWindow
*)new wxSashLayoutWindow(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
12648 wxPyEndAllowThreads(__tstate
);
12649 if (PyErr_Occurred()) SWIG_fail
;
12651 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSashLayoutWindow
, SWIG_POINTER_NEW
| 0 );
12666 SWIGINTERN PyObject
*_wrap_new_PreSashLayoutWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12667 PyObject
*resultobj
= 0;
12668 wxSashLayoutWindow
*result
= 0 ;
12670 if (!SWIG_Python_UnpackTuple(args
,"new_PreSashLayoutWindow",0,0,0)) SWIG_fail
;
12672 if (!wxPyCheckForApp()) SWIG_fail
;
12673 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12674 result
= (wxSashLayoutWindow
*)new wxSashLayoutWindow();
12675 wxPyEndAllowThreads(__tstate
);
12676 if (PyErr_Occurred()) SWIG_fail
;
12678 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSashLayoutWindow
, SWIG_POINTER_OWN
| 0 );
12685 SWIGINTERN PyObject
*_wrap_SashLayoutWindow_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12686 PyObject
*resultobj
= 0;
12687 wxSashLayoutWindow
*arg1
= (wxSashLayoutWindow
*) 0 ;
12688 wxWindow
*arg2
= (wxWindow
*) 0 ;
12689 int arg3
= (int) -1 ;
12690 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
12691 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
12692 wxSize
const &arg5_defvalue
= wxDefaultSize
;
12693 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
12694 long arg6
= (long) wxCLIP_CHILDREN
|wxSW_3D
;
12695 wxString
const &arg7_defvalue
= wxPySashLayoutNameStr
;
12696 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
12708 bool temp7
= false ;
12709 PyObject
* obj0
= 0 ;
12710 PyObject
* obj1
= 0 ;
12711 PyObject
* obj2
= 0 ;
12712 PyObject
* obj3
= 0 ;
12713 PyObject
* obj4
= 0 ;
12714 PyObject
* obj5
= 0 ;
12715 PyObject
* obj6
= 0 ;
12716 char * kwnames
[] = {
12717 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
12720 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:SashLayoutWindow_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
12721 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSashLayoutWindow
, 0 | 0 );
12722 if (!SWIG_IsOK(res1
)) {
12723 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashLayoutWindow_Create" "', expected argument " "1"" of type '" "wxSashLayoutWindow *""'");
12725 arg1
= reinterpret_cast< wxSashLayoutWindow
* >(argp1
);
12726 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
12727 if (!SWIG_IsOK(res2
)) {
12728 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "SashLayoutWindow_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
12730 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
12732 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
12733 if (!SWIG_IsOK(ecode3
)) {
12734 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "SashLayoutWindow_Create" "', expected argument " "3"" of type '" "int""'");
12736 arg3
= static_cast< int >(val3
);
12741 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
12747 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
12751 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
12752 if (!SWIG_IsOK(ecode6
)) {
12753 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "SashLayoutWindow_Create" "', expected argument " "6"" of type '" "long""'");
12755 arg6
= static_cast< long >(val6
);
12759 arg7
= wxString_in_helper(obj6
);
12760 if (arg7
== NULL
) SWIG_fail
;
12765 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12766 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
12767 wxPyEndAllowThreads(__tstate
);
12768 if (PyErr_Occurred()) SWIG_fail
;
12771 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12787 SWIGINTERN PyObject
*_wrap_SashLayoutWindow_GetAlignment(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12788 PyObject
*resultobj
= 0;
12789 wxSashLayoutWindow
*arg1
= (wxSashLayoutWindow
*) 0 ;
12790 wxLayoutAlignment result
;
12793 PyObject
*swig_obj
[1] ;
12795 if (!args
) SWIG_fail
;
12796 swig_obj
[0] = args
;
12797 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSashLayoutWindow
, 0 | 0 );
12798 if (!SWIG_IsOK(res1
)) {
12799 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashLayoutWindow_GetAlignment" "', expected argument " "1"" of type '" "wxSashLayoutWindow *""'");
12801 arg1
= reinterpret_cast< wxSashLayoutWindow
* >(argp1
);
12803 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12804 result
= (wxLayoutAlignment
)(arg1
)->GetAlignment();
12805 wxPyEndAllowThreads(__tstate
);
12806 if (PyErr_Occurred()) SWIG_fail
;
12808 resultobj
= SWIG_From_int(static_cast< int >(result
));
12815 SWIGINTERN PyObject
*_wrap_SashLayoutWindow_GetOrientation(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12816 PyObject
*resultobj
= 0;
12817 wxSashLayoutWindow
*arg1
= (wxSashLayoutWindow
*) 0 ;
12818 wxLayoutOrientation result
;
12821 PyObject
*swig_obj
[1] ;
12823 if (!args
) SWIG_fail
;
12824 swig_obj
[0] = args
;
12825 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSashLayoutWindow
, 0 | 0 );
12826 if (!SWIG_IsOK(res1
)) {
12827 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashLayoutWindow_GetOrientation" "', expected argument " "1"" of type '" "wxSashLayoutWindow *""'");
12829 arg1
= reinterpret_cast< wxSashLayoutWindow
* >(argp1
);
12831 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12832 result
= (wxLayoutOrientation
)(arg1
)->GetOrientation();
12833 wxPyEndAllowThreads(__tstate
);
12834 if (PyErr_Occurred()) SWIG_fail
;
12836 resultobj
= SWIG_From_int(static_cast< int >(result
));
12843 SWIGINTERN PyObject
*_wrap_SashLayoutWindow_SetAlignment(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12844 PyObject
*resultobj
= 0;
12845 wxSashLayoutWindow
*arg1
= (wxSashLayoutWindow
*) 0 ;
12846 wxLayoutAlignment arg2
;
12851 PyObject
* obj0
= 0 ;
12852 PyObject
* obj1
= 0 ;
12853 char * kwnames
[] = {
12854 (char *) "self",(char *) "alignment", NULL
12857 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashLayoutWindow_SetAlignment",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12858 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSashLayoutWindow
, 0 | 0 );
12859 if (!SWIG_IsOK(res1
)) {
12860 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashLayoutWindow_SetAlignment" "', expected argument " "1"" of type '" "wxSashLayoutWindow *""'");
12862 arg1
= reinterpret_cast< wxSashLayoutWindow
* >(argp1
);
12863 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
12864 if (!SWIG_IsOK(ecode2
)) {
12865 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SashLayoutWindow_SetAlignment" "', expected argument " "2"" of type '" "wxLayoutAlignment""'");
12867 arg2
= static_cast< wxLayoutAlignment
>(val2
);
12869 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12870 (arg1
)->SetAlignment(arg2
);
12871 wxPyEndAllowThreads(__tstate
);
12872 if (PyErr_Occurred()) SWIG_fail
;
12874 resultobj
= SWIG_Py_Void();
12881 SWIGINTERN PyObject
*_wrap_SashLayoutWindow_SetDefaultSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12882 PyObject
*resultobj
= 0;
12883 wxSashLayoutWindow
*arg1
= (wxSashLayoutWindow
*) 0 ;
12888 PyObject
* obj0
= 0 ;
12889 PyObject
* obj1
= 0 ;
12890 char * kwnames
[] = {
12891 (char *) "self",(char *) "size", NULL
12894 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashLayoutWindow_SetDefaultSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12895 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSashLayoutWindow
, 0 | 0 );
12896 if (!SWIG_IsOK(res1
)) {
12897 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashLayoutWindow_SetDefaultSize" "', expected argument " "1"" of type '" "wxSashLayoutWindow *""'");
12899 arg1
= reinterpret_cast< wxSashLayoutWindow
* >(argp1
);
12902 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
12905 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12906 (arg1
)->SetDefaultSize((wxSize
const &)*arg2
);
12907 wxPyEndAllowThreads(__tstate
);
12908 if (PyErr_Occurred()) SWIG_fail
;
12910 resultobj
= SWIG_Py_Void();
12917 SWIGINTERN PyObject
*_wrap_SashLayoutWindow_SetOrientation(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12918 PyObject
*resultobj
= 0;
12919 wxSashLayoutWindow
*arg1
= (wxSashLayoutWindow
*) 0 ;
12920 wxLayoutOrientation arg2
;
12925 PyObject
* obj0
= 0 ;
12926 PyObject
* obj1
= 0 ;
12927 char * kwnames
[] = {
12928 (char *) "self",(char *) "orientation", NULL
12931 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashLayoutWindow_SetOrientation",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12932 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSashLayoutWindow
, 0 | 0 );
12933 if (!SWIG_IsOK(res1
)) {
12934 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashLayoutWindow_SetOrientation" "', expected argument " "1"" of type '" "wxSashLayoutWindow *""'");
12936 arg1
= reinterpret_cast< wxSashLayoutWindow
* >(argp1
);
12937 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
12938 if (!SWIG_IsOK(ecode2
)) {
12939 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SashLayoutWindow_SetOrientation" "', expected argument " "2"" of type '" "wxLayoutOrientation""'");
12941 arg2
= static_cast< wxLayoutOrientation
>(val2
);
12943 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12944 (arg1
)->SetOrientation(arg2
);
12945 wxPyEndAllowThreads(__tstate
);
12946 if (PyErr_Occurred()) SWIG_fail
;
12948 resultobj
= SWIG_Py_Void();
12955 SWIGINTERN PyObject
*SashLayoutWindow_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12957 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
12958 SWIG_TypeNewClientData(SWIGTYPE_p_wxSashLayoutWindow
, SWIG_NewClientData(obj
));
12959 return SWIG_Py_Void();
12962 SWIGINTERN PyObject
*SashLayoutWindow_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12963 return SWIG_Python_InitShadowInstance(args
);
12966 SWIGINTERN PyObject
*_wrap_new_LayoutAlgorithm(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12967 PyObject
*resultobj
= 0;
12968 wxLayoutAlgorithm
*result
= 0 ;
12970 if (!SWIG_Python_UnpackTuple(args
,"new_LayoutAlgorithm",0,0,0)) SWIG_fail
;
12972 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12973 result
= (wxLayoutAlgorithm
*)new wxLayoutAlgorithm();
12974 wxPyEndAllowThreads(__tstate
);
12975 if (PyErr_Occurred()) SWIG_fail
;
12977 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxLayoutAlgorithm
, SWIG_POINTER_NEW
| 0 );
12984 SWIGINTERN PyObject
*_wrap_delete_LayoutAlgorithm(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12985 PyObject
*resultobj
= 0;
12986 wxLayoutAlgorithm
*arg1
= (wxLayoutAlgorithm
*) 0 ;
12989 PyObject
*swig_obj
[1] ;
12991 if (!args
) SWIG_fail
;
12992 swig_obj
[0] = args
;
12993 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLayoutAlgorithm
, SWIG_POINTER_DISOWN
| 0 );
12994 if (!SWIG_IsOK(res1
)) {
12995 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_LayoutAlgorithm" "', expected argument " "1"" of type '" "wxLayoutAlgorithm *""'");
12997 arg1
= reinterpret_cast< wxLayoutAlgorithm
* >(argp1
);
12999 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13002 wxPyEndAllowThreads(__tstate
);
13003 if (PyErr_Occurred()) SWIG_fail
;
13005 resultobj
= SWIG_Py_Void();
13012 SWIGINTERN PyObject
*_wrap_LayoutAlgorithm_LayoutMDIFrame(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13013 PyObject
*resultobj
= 0;
13014 wxLayoutAlgorithm
*arg1
= (wxLayoutAlgorithm
*) 0 ;
13015 wxMDIParentFrame
*arg2
= (wxMDIParentFrame
*) 0 ;
13016 wxRect
*arg3
= (wxRect
*) NULL
;
13024 PyObject
* obj0
= 0 ;
13025 PyObject
* obj1
= 0 ;
13026 PyObject
* obj2
= 0 ;
13027 char * kwnames
[] = {
13028 (char *) "self",(char *) "frame",(char *) "rect", NULL
13031 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:LayoutAlgorithm_LayoutMDIFrame",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
13032 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxLayoutAlgorithm
, 0 | 0 );
13033 if (!SWIG_IsOK(res1
)) {
13034 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "LayoutAlgorithm_LayoutMDIFrame" "', expected argument " "1"" of type '" "wxLayoutAlgorithm *""'");
13036 arg1
= reinterpret_cast< wxLayoutAlgorithm
* >(argp1
);
13037 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxMDIParentFrame
, 0 | 0 );
13038 if (!SWIG_IsOK(res2
)) {
13039 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "LayoutAlgorithm_LayoutMDIFrame" "', expected argument " "2"" of type '" "wxMDIParentFrame *""'");
13041 arg2
= reinterpret_cast< wxMDIParentFrame
* >(argp2
);
13043 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxRect
, 0 | 0 );
13044 if (!SWIG_IsOK(res3
)) {
13045 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "LayoutAlgorithm_LayoutMDIFrame" "', expected argument " "3"" of type '" "wxRect *""'");
13047 arg3
= reinterpret_cast< wxRect
* >(argp3
);
13050 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13051 result
= (bool)(arg1
)->LayoutMDIFrame(arg2
,arg3
);
13052 wxPyEndAllowThreads(__tstate
);
13053 if (PyErr_Occurred()) SWIG_fail
;
13056 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13064 SWIGINTERN PyObject
*_wrap_LayoutAlgorithm_LayoutFrame(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13065 PyObject
*resultobj
= 0;
13066 wxLayoutAlgorithm
*arg1
= (wxLayoutAlgorithm
*) 0 ;
13067 wxFrame
*arg2
= (wxFrame
*) 0 ;
13068 wxWindow
*arg3
= (wxWindow
*) NULL
;
13076 PyObject
* obj0
= 0 ;
13077 PyObject
* obj1
= 0 ;
13078 PyObject
* obj2
= 0 ;
13079 char * kwnames
[] = {
13080 (char *) "self",(char *) "frame",(char *) "mainWindow", NULL
13083 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:LayoutAlgorithm_LayoutFrame",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
13084 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxLayoutAlgorithm
, 0 | 0 );
13085 if (!SWIG_IsOK(res1
)) {
13086 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "LayoutAlgorithm_LayoutFrame" "', expected argument " "1"" of type '" "wxLayoutAlgorithm *""'");
13088 arg1
= reinterpret_cast< wxLayoutAlgorithm
* >(argp1
);
13089 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxFrame
, 0 | 0 );
13090 if (!SWIG_IsOK(res2
)) {
13091 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "LayoutAlgorithm_LayoutFrame" "', expected argument " "2"" of type '" "wxFrame *""'");
13093 arg2
= reinterpret_cast< wxFrame
* >(argp2
);
13095 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxWindow
, 0 | 0 );
13096 if (!SWIG_IsOK(res3
)) {
13097 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "LayoutAlgorithm_LayoutFrame" "', expected argument " "3"" of type '" "wxWindow *""'");
13099 arg3
= reinterpret_cast< wxWindow
* >(argp3
);
13102 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13103 result
= (bool)(arg1
)->LayoutFrame(arg2
,arg3
);
13104 wxPyEndAllowThreads(__tstate
);
13105 if (PyErr_Occurred()) SWIG_fail
;
13108 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13116 SWIGINTERN PyObject
*_wrap_LayoutAlgorithm_LayoutWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13117 PyObject
*resultobj
= 0;
13118 wxLayoutAlgorithm
*arg1
= (wxLayoutAlgorithm
*) 0 ;
13119 wxWindow
*arg2
= (wxWindow
*) 0 ;
13120 wxWindow
*arg3
= (wxWindow
*) NULL
;
13128 PyObject
* obj0
= 0 ;
13129 PyObject
* obj1
= 0 ;
13130 PyObject
* obj2
= 0 ;
13131 char * kwnames
[] = {
13132 (char *) "self",(char *) "parent",(char *) "mainWindow", NULL
13135 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:LayoutAlgorithm_LayoutWindow",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
13136 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxLayoutAlgorithm
, 0 | 0 );
13137 if (!SWIG_IsOK(res1
)) {
13138 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "LayoutAlgorithm_LayoutWindow" "', expected argument " "1"" of type '" "wxLayoutAlgorithm *""'");
13140 arg1
= reinterpret_cast< wxLayoutAlgorithm
* >(argp1
);
13141 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
13142 if (!SWIG_IsOK(res2
)) {
13143 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "LayoutAlgorithm_LayoutWindow" "', expected argument " "2"" of type '" "wxWindow *""'");
13145 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
13147 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxWindow
, 0 | 0 );
13148 if (!SWIG_IsOK(res3
)) {
13149 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "LayoutAlgorithm_LayoutWindow" "', expected argument " "3"" of type '" "wxWindow *""'");
13151 arg3
= reinterpret_cast< wxWindow
* >(argp3
);
13154 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13155 result
= (bool)(arg1
)->LayoutWindow(arg2
,arg3
);
13156 wxPyEndAllowThreads(__tstate
);
13157 if (PyErr_Occurred()) SWIG_fail
;
13160 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13168 SWIGINTERN PyObject
*LayoutAlgorithm_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13170 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
13171 SWIG_TypeNewClientData(SWIGTYPE_p_wxLayoutAlgorithm
, SWIG_NewClientData(obj
));
13172 return SWIG_Py_Void();
13175 SWIGINTERN PyObject
*LayoutAlgorithm_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13176 return SWIG_Python_InitShadowInstance(args
);
13179 SWIGINTERN PyObject
*_wrap_new_PopupWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13180 PyObject
*resultobj
= 0;
13181 wxWindow
*arg1
= (wxWindow
*) 0 ;
13182 int arg2
= (int) wxBORDER_NONE
;
13183 wxPopupWindow
*result
= 0 ;
13188 PyObject
* obj0
= 0 ;
13189 PyObject
* obj1
= 0 ;
13190 char * kwnames
[] = {
13191 (char *) "parent",(char *) "flags", NULL
13194 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_PopupWindow",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13195 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
13196 if (!SWIG_IsOK(res1
)) {
13197 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PopupWindow" "', expected argument " "1"" of type '" "wxWindow *""'");
13199 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
13201 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
13202 if (!SWIG_IsOK(ecode2
)) {
13203 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_PopupWindow" "', expected argument " "2"" of type '" "int""'");
13205 arg2
= static_cast< int >(val2
);
13208 if (!wxPyCheckForApp()) SWIG_fail
;
13209 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13210 result
= (wxPopupWindow
*)new wxPopupWindow(arg1
,arg2
);
13211 wxPyEndAllowThreads(__tstate
);
13212 if (PyErr_Occurred()) SWIG_fail
;
13214 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPopupWindow
, SWIG_POINTER_NEW
| 0 );
13221 SWIGINTERN PyObject
*_wrap_new_PrePopupWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13222 PyObject
*resultobj
= 0;
13223 wxPopupWindow
*result
= 0 ;
13225 if (!SWIG_Python_UnpackTuple(args
,"new_PrePopupWindow",0,0,0)) SWIG_fail
;
13227 if (!wxPyCheckForApp()) SWIG_fail
;
13228 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13229 result
= (wxPopupWindow
*)new wxPopupWindow();
13230 wxPyEndAllowThreads(__tstate
);
13231 if (PyErr_Occurred()) SWIG_fail
;
13233 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPopupWindow
, SWIG_POINTER_OWN
| 0 );
13240 SWIGINTERN PyObject
*_wrap_PopupWindow_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13241 PyObject
*resultobj
= 0;
13242 wxPopupWindow
*arg1
= (wxPopupWindow
*) 0 ;
13243 wxWindow
*arg2
= (wxWindow
*) 0 ;
13244 int arg3
= (int) wxBORDER_NONE
;
13252 PyObject
* obj0
= 0 ;
13253 PyObject
* obj1
= 0 ;
13254 PyObject
* obj2
= 0 ;
13255 char * kwnames
[] = {
13256 (char *) "self",(char *) "parent",(char *) "flags", NULL
13259 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:PopupWindow_Create",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
13260 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPopupWindow
, 0 | 0 );
13261 if (!SWIG_IsOK(res1
)) {
13262 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PopupWindow_Create" "', expected argument " "1"" of type '" "wxPopupWindow *""'");
13264 arg1
= reinterpret_cast< wxPopupWindow
* >(argp1
);
13265 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
13266 if (!SWIG_IsOK(res2
)) {
13267 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PopupWindow_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
13269 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
13271 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
13272 if (!SWIG_IsOK(ecode3
)) {
13273 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PopupWindow_Create" "', expected argument " "3"" of type '" "int""'");
13275 arg3
= static_cast< int >(val3
);
13278 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13279 result
= (bool)(arg1
)->Create(arg2
,arg3
);
13280 wxPyEndAllowThreads(__tstate
);
13281 if (PyErr_Occurred()) SWIG_fail
;
13284 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13292 SWIGINTERN PyObject
*_wrap_PopupWindow_Position(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13293 PyObject
*resultobj
= 0;
13294 wxPopupWindow
*arg1
= (wxPopupWindow
*) 0 ;
13295 wxPoint
*arg2
= 0 ;
13301 PyObject
* obj0
= 0 ;
13302 PyObject
* obj1
= 0 ;
13303 PyObject
* obj2
= 0 ;
13304 char * kwnames
[] = {
13305 (char *) "self",(char *) "ptOrigin",(char *) "size", NULL
13308 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PopupWindow_Position",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
13309 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPopupWindow
, 0 | 0 );
13310 if (!SWIG_IsOK(res1
)) {
13311 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PopupWindow_Position" "', expected argument " "1"" of type '" "wxPopupWindow *""'");
13313 arg1
= reinterpret_cast< wxPopupWindow
* >(argp1
);
13316 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
13320 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
13323 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13324 (arg1
)->Position((wxPoint
const &)*arg2
,(wxSize
const &)*arg3
);
13325 wxPyEndAllowThreads(__tstate
);
13326 if (PyErr_Occurred()) SWIG_fail
;
13328 resultobj
= SWIG_Py_Void();
13335 SWIGINTERN PyObject
*PopupWindow_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13337 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
13338 SWIG_TypeNewClientData(SWIGTYPE_p_wxPopupWindow
, SWIG_NewClientData(obj
));
13339 return SWIG_Py_Void();
13342 SWIGINTERN PyObject
*PopupWindow_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13343 return SWIG_Python_InitShadowInstance(args
);
13346 SWIGINTERN PyObject
*_wrap_new_PopupTransientWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13347 PyObject
*resultobj
= 0;
13348 wxWindow
*arg1
= (wxWindow
*) 0 ;
13349 int arg2
= (int) wxBORDER_NONE
;
13350 wxPyPopupTransientWindow
*result
= 0 ;
13355 PyObject
* obj0
= 0 ;
13356 PyObject
* obj1
= 0 ;
13357 char * kwnames
[] = {
13358 (char *) "parent",(char *) "style", NULL
13361 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_PopupTransientWindow",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13362 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
13363 if (!SWIG_IsOK(res1
)) {
13364 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PopupTransientWindow" "', expected argument " "1"" of type '" "wxWindow *""'");
13366 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
13368 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
13369 if (!SWIG_IsOK(ecode2
)) {
13370 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_PopupTransientWindow" "', expected argument " "2"" of type '" "int""'");
13372 arg2
= static_cast< int >(val2
);
13375 if (!wxPyCheckForApp()) SWIG_fail
;
13376 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13377 result
= (wxPyPopupTransientWindow
*)new wxPyPopupTransientWindow(arg1
,arg2
);
13378 wxPyEndAllowThreads(__tstate
);
13379 if (PyErr_Occurred()) SWIG_fail
;
13381 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyPopupTransientWindow
, SWIG_POINTER_NEW
| 0 );
13388 SWIGINTERN PyObject
*_wrap_new_PrePopupTransientWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13389 PyObject
*resultobj
= 0;
13390 wxPyPopupTransientWindow
*result
= 0 ;
13392 if (!SWIG_Python_UnpackTuple(args
,"new_PrePopupTransientWindow",0,0,0)) SWIG_fail
;
13394 if (!wxPyCheckForApp()) SWIG_fail
;
13395 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13396 result
= (wxPyPopupTransientWindow
*)new wxPyPopupTransientWindow();
13397 wxPyEndAllowThreads(__tstate
);
13398 if (PyErr_Occurred()) SWIG_fail
;
13400 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyPopupTransientWindow
, SWIG_POINTER_OWN
| 0 );
13407 SWIGINTERN PyObject
*_wrap_PopupTransientWindow__setCallbackInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13408 PyObject
*resultobj
= 0;
13409 wxPyPopupTransientWindow
*arg1
= (wxPyPopupTransientWindow
*) 0 ;
13410 PyObject
*arg2
= (PyObject
*) 0 ;
13411 PyObject
*arg3
= (PyObject
*) 0 ;
13414 PyObject
* obj0
= 0 ;
13415 PyObject
* obj1
= 0 ;
13416 PyObject
* obj2
= 0 ;
13417 char * kwnames
[] = {
13418 (char *) "self",(char *) "self",(char *) "_class", NULL
13421 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PopupTransientWindow__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
13422 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPopupTransientWindow
, 0 | 0 );
13423 if (!SWIG_IsOK(res1
)) {
13424 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PopupTransientWindow__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyPopupTransientWindow *""'");
13426 arg1
= reinterpret_cast< wxPyPopupTransientWindow
* >(argp1
);
13430 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13431 (arg1
)->_setCallbackInfo(arg2
,arg3
);
13432 wxPyEndAllowThreads(__tstate
);
13433 if (PyErr_Occurred()) SWIG_fail
;
13435 resultobj
= SWIG_Py_Void();
13442 SWIGINTERN PyObject
*_wrap_PopupTransientWindow_Popup(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13443 PyObject
*resultobj
= 0;
13444 wxPyPopupTransientWindow
*arg1
= (wxPyPopupTransientWindow
*) 0 ;
13445 wxWindow
*arg2
= (wxWindow
*) NULL
;
13450 PyObject
* obj0
= 0 ;
13451 PyObject
* obj1
= 0 ;
13452 char * kwnames
[] = {
13453 (char *) "self",(char *) "focus", NULL
13456 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:PopupTransientWindow_Popup",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13457 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPopupTransientWindow
, 0 | 0 );
13458 if (!SWIG_IsOK(res1
)) {
13459 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PopupTransientWindow_Popup" "', expected argument " "1"" of type '" "wxPyPopupTransientWindow *""'");
13461 arg1
= reinterpret_cast< wxPyPopupTransientWindow
* >(argp1
);
13463 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
13464 if (!SWIG_IsOK(res2
)) {
13465 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PopupTransientWindow_Popup" "', expected argument " "2"" of type '" "wxWindow *""'");
13467 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
13470 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13471 (arg1
)->Popup(arg2
);
13472 wxPyEndAllowThreads(__tstate
);
13473 if (PyErr_Occurred()) SWIG_fail
;
13475 resultobj
= SWIG_Py_Void();
13482 SWIGINTERN PyObject
*_wrap_PopupTransientWindow_Dismiss(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13483 PyObject
*resultobj
= 0;
13484 wxPyPopupTransientWindow
*arg1
= (wxPyPopupTransientWindow
*) 0 ;
13487 PyObject
*swig_obj
[1] ;
13489 if (!args
) SWIG_fail
;
13490 swig_obj
[0] = args
;
13491 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPopupTransientWindow
, 0 | 0 );
13492 if (!SWIG_IsOK(res1
)) {
13493 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PopupTransientWindow_Dismiss" "', expected argument " "1"" of type '" "wxPyPopupTransientWindow *""'");
13495 arg1
= reinterpret_cast< wxPyPopupTransientWindow
* >(argp1
);
13497 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13499 wxPyEndAllowThreads(__tstate
);
13500 if (PyErr_Occurred()) SWIG_fail
;
13502 resultobj
= SWIG_Py_Void();
13509 SWIGINTERN PyObject
*PopupTransientWindow_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13511 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
13512 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyPopupTransientWindow
, SWIG_NewClientData(obj
));
13513 return SWIG_Py_Void();
13516 SWIGINTERN PyObject
*PopupTransientWindow_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13517 return SWIG_Python_InitShadowInstance(args
);
13520 SWIGINTERN PyObject
*_wrap_new_TipWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13521 PyObject
*resultobj
= 0;
13522 wxWindow
*arg1
= (wxWindow
*) 0 ;
13523 wxString
*arg2
= 0 ;
13524 int arg3
= (int) 100 ;
13525 wxRect
*arg4
= (wxRect
*) NULL
;
13526 wxTipWindow
*result
= 0 ;
13529 bool temp2
= false ;
13534 PyObject
* obj0
= 0 ;
13535 PyObject
* obj1
= 0 ;
13536 PyObject
* obj2
= 0 ;
13537 PyObject
* obj3
= 0 ;
13538 char * kwnames
[] = {
13539 (char *) "parent",(char *) "text",(char *) "maxLength",(char *) "rectBound", NULL
13542 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:new_TipWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
13543 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
13544 if (!SWIG_IsOK(res1
)) {
13545 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_TipWindow" "', expected argument " "1"" of type '" "wxWindow *""'");
13547 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
13549 arg2
= wxString_in_helper(obj1
);
13550 if (arg2
== NULL
) SWIG_fail
;
13554 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
13555 if (!SWIG_IsOK(ecode3
)) {
13556 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_TipWindow" "', expected argument " "3"" of type '" "int""'");
13558 arg3
= static_cast< int >(val3
);
13561 res4
= SWIG_ConvertPtr(obj3
, &argp4
,SWIGTYPE_p_wxRect
, 0 | 0 );
13562 if (!SWIG_IsOK(res4
)) {
13563 SWIG_exception_fail(SWIG_ArgError(res4
), "in method '" "new_TipWindow" "', expected argument " "4"" of type '" "wxRect *""'");
13565 arg4
= reinterpret_cast< wxRect
* >(argp4
);
13568 if (!wxPyCheckForApp()) SWIG_fail
;
13569 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13570 result
= (wxTipWindow
*)new_wxTipWindow(arg1
,(wxString
const &)*arg2
,arg3
,arg4
);
13571 wxPyEndAllowThreads(__tstate
);
13572 if (PyErr_Occurred()) SWIG_fail
;
13574 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxTipWindow
, SWIG_POINTER_NEW
| 0 );
13589 SWIGINTERN PyObject
*_wrap_TipWindow_SetBoundingRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13590 PyObject
*resultobj
= 0;
13591 wxTipWindow
*arg1
= (wxTipWindow
*) 0 ;
13596 PyObject
* obj0
= 0 ;
13597 PyObject
* obj1
= 0 ;
13598 char * kwnames
[] = {
13599 (char *) "self",(char *) "rectBound", NULL
13602 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TipWindow_SetBoundingRect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13603 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTipWindow
, 0 | 0 );
13604 if (!SWIG_IsOK(res1
)) {
13605 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TipWindow_SetBoundingRect" "', expected argument " "1"" of type '" "wxTipWindow *""'");
13607 arg1
= reinterpret_cast< wxTipWindow
* >(argp1
);
13610 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
13613 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13614 (arg1
)->SetBoundingRect((wxRect
const &)*arg2
);
13615 wxPyEndAllowThreads(__tstate
);
13616 if (PyErr_Occurred()) SWIG_fail
;
13618 resultobj
= SWIG_Py_Void();
13625 SWIGINTERN PyObject
*_wrap_TipWindow_Close(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13626 PyObject
*resultobj
= 0;
13627 wxTipWindow
*arg1
= (wxTipWindow
*) 0 ;
13630 PyObject
*swig_obj
[1] ;
13632 if (!args
) SWIG_fail
;
13633 swig_obj
[0] = args
;
13634 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTipWindow
, 0 | 0 );
13635 if (!SWIG_IsOK(res1
)) {
13636 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TipWindow_Close" "', expected argument " "1"" of type '" "wxTipWindow *""'");
13638 arg1
= reinterpret_cast< wxTipWindow
* >(argp1
);
13640 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13642 wxPyEndAllowThreads(__tstate
);
13643 if (PyErr_Occurred()) SWIG_fail
;
13645 resultobj
= SWIG_Py_Void();
13652 SWIGINTERN PyObject
*TipWindow_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13654 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
13655 SWIG_TypeNewClientData(SWIGTYPE_p_wxTipWindow
, SWIG_NewClientData(obj
));
13656 return SWIG_Py_Void();
13659 SWIGINTERN PyObject
*TipWindow_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13660 return SWIG_Python_InitShadowInstance(args
);
13663 SWIGINTERN PyObject
*_wrap_new_VScrolledWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13664 PyObject
*resultobj
= 0;
13665 wxWindow
*arg1
= (wxWindow
*) 0 ;
13666 int arg2
= (int) wxID_ANY
;
13667 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
13668 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
13669 wxSize
const &arg4_defvalue
= wxDefaultSize
;
13670 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
13671 long arg5
= (long) 0 ;
13672 wxString
const &arg6_defvalue
= wxPyPanelNameStr
;
13673 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
13674 wxPyVScrolledWindow
*result
= 0 ;
13683 bool temp6
= false ;
13684 PyObject
* obj0
= 0 ;
13685 PyObject
* obj1
= 0 ;
13686 PyObject
* obj2
= 0 ;
13687 PyObject
* obj3
= 0 ;
13688 PyObject
* obj4
= 0 ;
13689 PyObject
* obj5
= 0 ;
13690 char * kwnames
[] = {
13691 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
13694 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_VScrolledWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
13695 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
13696 if (!SWIG_IsOK(res1
)) {
13697 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_VScrolledWindow" "', expected argument " "1"" of type '" "wxWindow *""'");
13699 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
13701 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
13702 if (!SWIG_IsOK(ecode2
)) {
13703 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_VScrolledWindow" "', expected argument " "2"" of type '" "int""'");
13705 arg2
= static_cast< int >(val2
);
13710 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
13716 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
13720 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
13721 if (!SWIG_IsOK(ecode5
)) {
13722 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_VScrolledWindow" "', expected argument " "5"" of type '" "long""'");
13724 arg5
= static_cast< long >(val5
);
13728 arg6
= wxString_in_helper(obj5
);
13729 if (arg6
== NULL
) SWIG_fail
;
13734 if (!wxPyCheckForApp()) SWIG_fail
;
13735 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13736 result
= (wxPyVScrolledWindow
*)new wxPyVScrolledWindow(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
13737 wxPyEndAllowThreads(__tstate
);
13738 if (PyErr_Occurred()) SWIG_fail
;
13740 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyVScrolledWindow
, SWIG_POINTER_NEW
| 0 );
13755 SWIGINTERN PyObject
*_wrap_new_PreVScrolledWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13756 PyObject
*resultobj
= 0;
13757 wxPyVScrolledWindow
*result
= 0 ;
13759 if (!SWIG_Python_UnpackTuple(args
,"new_PreVScrolledWindow",0,0,0)) SWIG_fail
;
13761 if (!wxPyCheckForApp()) SWIG_fail
;
13762 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13763 result
= (wxPyVScrolledWindow
*)new wxPyVScrolledWindow();
13764 wxPyEndAllowThreads(__tstate
);
13765 if (PyErr_Occurred()) SWIG_fail
;
13767 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyVScrolledWindow
, SWIG_POINTER_OWN
| 0 );
13774 SWIGINTERN PyObject
*_wrap_VScrolledWindow__setCallbackInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13775 PyObject
*resultobj
= 0;
13776 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
13777 PyObject
*arg2
= (PyObject
*) 0 ;
13778 PyObject
*arg3
= (PyObject
*) 0 ;
13781 PyObject
* obj0
= 0 ;
13782 PyObject
* obj1
= 0 ;
13783 PyObject
* obj2
= 0 ;
13784 char * kwnames
[] = {
13785 (char *) "self",(char *) "self",(char *) "_class", NULL
13788 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:VScrolledWindow__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
13789 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyVScrolledWindow
, 0 | 0 );
13790 if (!SWIG_IsOK(res1
)) {
13791 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VScrolledWindow__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyVScrolledWindow *""'");
13793 arg1
= reinterpret_cast< wxPyVScrolledWindow
* >(argp1
);
13797 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13798 (arg1
)->_setCallbackInfo(arg2
,arg3
);
13799 wxPyEndAllowThreads(__tstate
);
13800 if (PyErr_Occurred()) SWIG_fail
;
13802 resultobj
= SWIG_Py_Void();
13809 SWIGINTERN PyObject
*_wrap_VScrolledWindow_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13810 PyObject
*resultobj
= 0;
13811 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
13812 wxWindow
*arg2
= (wxWindow
*) 0 ;
13813 int arg3
= (int) wxID_ANY
;
13814 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
13815 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
13816 wxSize
const &arg5_defvalue
= wxDefaultSize
;
13817 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
13818 long arg6
= (long) 0 ;
13819 wxString
const &arg7_defvalue
= wxPyPanelNameStr
;
13820 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
13832 bool temp7
= false ;
13833 PyObject
* obj0
= 0 ;
13834 PyObject
* obj1
= 0 ;
13835 PyObject
* obj2
= 0 ;
13836 PyObject
* obj3
= 0 ;
13837 PyObject
* obj4
= 0 ;
13838 PyObject
* obj5
= 0 ;
13839 PyObject
* obj6
= 0 ;
13840 char * kwnames
[] = {
13841 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
13844 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:VScrolledWindow_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
13845 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyVScrolledWindow
, 0 | 0 );
13846 if (!SWIG_IsOK(res1
)) {
13847 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VScrolledWindow_Create" "', expected argument " "1"" of type '" "wxPyVScrolledWindow *""'");
13849 arg1
= reinterpret_cast< wxPyVScrolledWindow
* >(argp1
);
13850 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
13851 if (!SWIG_IsOK(res2
)) {
13852 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "VScrolledWindow_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
13854 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
13856 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
13857 if (!SWIG_IsOK(ecode3
)) {
13858 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "VScrolledWindow_Create" "', expected argument " "3"" of type '" "int""'");
13860 arg3
= static_cast< int >(val3
);
13865 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
13871 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
13875 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
13876 if (!SWIG_IsOK(ecode6
)) {
13877 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "VScrolledWindow_Create" "', expected argument " "6"" of type '" "long""'");
13879 arg6
= static_cast< long >(val6
);
13883 arg7
= wxString_in_helper(obj6
);
13884 if (arg7
== NULL
) SWIG_fail
;
13889 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13890 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
13891 wxPyEndAllowThreads(__tstate
);
13892 if (PyErr_Occurred()) SWIG_fail
;
13895 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13911 SWIGINTERN PyObject
*_wrap_VScrolledWindow_SetLineCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13912 PyObject
*resultobj
= 0;
13913 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
13919 PyObject
* obj0
= 0 ;
13920 PyObject
* obj1
= 0 ;
13921 char * kwnames
[] = {
13922 (char *) "self",(char *) "count", NULL
13925 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VScrolledWindow_SetLineCount",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13926 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyVScrolledWindow
, 0 | 0 );
13927 if (!SWIG_IsOK(res1
)) {
13928 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VScrolledWindow_SetLineCount" "', expected argument " "1"" of type '" "wxPyVScrolledWindow *""'");
13930 arg1
= reinterpret_cast< wxPyVScrolledWindow
* >(argp1
);
13931 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
13932 if (!SWIG_IsOK(ecode2
)) {
13933 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "VScrolledWindow_SetLineCount" "', expected argument " "2"" of type '" "size_t""'");
13935 arg2
= static_cast< size_t >(val2
);
13937 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13938 (arg1
)->SetLineCount(arg2
);
13939 wxPyEndAllowThreads(__tstate
);
13940 if (PyErr_Occurred()) SWIG_fail
;
13942 resultobj
= SWIG_Py_Void();
13949 SWIGINTERN PyObject
*_wrap_VScrolledWindow_ScrollToLine(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13950 PyObject
*resultobj
= 0;
13951 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
13958 PyObject
* obj0
= 0 ;
13959 PyObject
* obj1
= 0 ;
13960 char * kwnames
[] = {
13961 (char *) "self",(char *) "line", NULL
13964 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VScrolledWindow_ScrollToLine",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13965 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyVScrolledWindow
, 0 | 0 );
13966 if (!SWIG_IsOK(res1
)) {
13967 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VScrolledWindow_ScrollToLine" "', expected argument " "1"" of type '" "wxPyVScrolledWindow *""'");
13969 arg1
= reinterpret_cast< wxPyVScrolledWindow
* >(argp1
);
13970 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
13971 if (!SWIG_IsOK(ecode2
)) {
13972 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "VScrolledWindow_ScrollToLine" "', expected argument " "2"" of type '" "size_t""'");
13974 arg2
= static_cast< size_t >(val2
);
13976 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13977 result
= (bool)(arg1
)->ScrollToLine(arg2
);
13978 wxPyEndAllowThreads(__tstate
);
13979 if (PyErr_Occurred()) SWIG_fail
;
13982 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13990 SWIGINTERN PyObject
*_wrap_VScrolledWindow_RefreshLine(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13991 PyObject
*resultobj
= 0;
13992 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
13998 PyObject
* obj0
= 0 ;
13999 PyObject
* obj1
= 0 ;
14000 char * kwnames
[] = {
14001 (char *) "self",(char *) "line", NULL
14004 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VScrolledWindow_RefreshLine",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
14005 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyVScrolledWindow
, 0 | 0 );
14006 if (!SWIG_IsOK(res1
)) {
14007 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VScrolledWindow_RefreshLine" "', expected argument " "1"" of type '" "wxPyVScrolledWindow *""'");
14009 arg1
= reinterpret_cast< wxPyVScrolledWindow
* >(argp1
);
14010 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
14011 if (!SWIG_IsOK(ecode2
)) {
14012 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "VScrolledWindow_RefreshLine" "', expected argument " "2"" of type '" "size_t""'");
14014 arg2
= static_cast< size_t >(val2
);
14016 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14017 (arg1
)->RefreshLine(arg2
);
14018 wxPyEndAllowThreads(__tstate
);
14019 if (PyErr_Occurred()) SWIG_fail
;
14021 resultobj
= SWIG_Py_Void();
14028 SWIGINTERN PyObject
*_wrap_VScrolledWindow_RefreshLines(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14029 PyObject
*resultobj
= 0;
14030 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
14039 PyObject
* obj0
= 0 ;
14040 PyObject
* obj1
= 0 ;
14041 PyObject
* obj2
= 0 ;
14042 char * kwnames
[] = {
14043 (char *) "self",(char *) "from",(char *) "to", NULL
14046 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:VScrolledWindow_RefreshLines",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
14047 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyVScrolledWindow
, 0 | 0 );
14048 if (!SWIG_IsOK(res1
)) {
14049 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VScrolledWindow_RefreshLines" "', expected argument " "1"" of type '" "wxPyVScrolledWindow *""'");
14051 arg1
= reinterpret_cast< wxPyVScrolledWindow
* >(argp1
);
14052 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
14053 if (!SWIG_IsOK(ecode2
)) {
14054 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "VScrolledWindow_RefreshLines" "', expected argument " "2"" of type '" "size_t""'");
14056 arg2
= static_cast< size_t >(val2
);
14057 ecode3
= SWIG_AsVal_size_t(obj2
, &val3
);
14058 if (!SWIG_IsOK(ecode3
)) {
14059 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "VScrolledWindow_RefreshLines" "', expected argument " "3"" of type '" "size_t""'");
14061 arg3
= static_cast< size_t >(val3
);
14063 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14064 (arg1
)->RefreshLines(arg2
,arg3
);
14065 wxPyEndAllowThreads(__tstate
);
14066 if (PyErr_Occurred()) SWIG_fail
;
14068 resultobj
= SWIG_Py_Void();
14075 SWIGINTERN PyObject
*_wrap_VScrolledWindow_HitTestXY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14076 PyObject
*resultobj
= 0;
14077 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
14087 PyObject
* obj0
= 0 ;
14088 PyObject
* obj1
= 0 ;
14089 PyObject
* obj2
= 0 ;
14090 char * kwnames
[] = {
14091 (char *) "self",(char *) "x",(char *) "y", NULL
14094 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:VScrolledWindow_HitTestXY",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
14095 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyVScrolledWindow
, 0 | 0 );
14096 if (!SWIG_IsOK(res1
)) {
14097 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VScrolledWindow_HitTestXY" "', expected argument " "1"" of type '" "wxPyVScrolledWindow const *""'");
14099 arg1
= reinterpret_cast< wxPyVScrolledWindow
* >(argp1
);
14100 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
14101 if (!SWIG_IsOK(ecode2
)) {
14102 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "VScrolledWindow_HitTestXY" "', expected argument " "2"" of type '" "int""'");
14104 arg2
= static_cast< int >(val2
);
14105 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
14106 if (!SWIG_IsOK(ecode3
)) {
14107 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "VScrolledWindow_HitTestXY" "', expected argument " "3"" of type '" "int""'");
14109 arg3
= static_cast< int >(val3
);
14111 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14112 result
= (int)((wxPyVScrolledWindow
const *)arg1
)->HitTest(arg2
,arg3
);
14113 wxPyEndAllowThreads(__tstate
);
14114 if (PyErr_Occurred()) SWIG_fail
;
14116 resultobj
= SWIG_From_int(static_cast< int >(result
));
14123 SWIGINTERN PyObject
*_wrap_VScrolledWindow_HitTest(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14124 PyObject
*resultobj
= 0;
14125 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
14126 wxPoint
*arg2
= 0 ;
14131 PyObject
* obj0
= 0 ;
14132 PyObject
* obj1
= 0 ;
14133 char * kwnames
[] = {
14134 (char *) "self",(char *) "pt", NULL
14137 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VScrolledWindow_HitTest",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
14138 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyVScrolledWindow
, 0 | 0 );
14139 if (!SWIG_IsOK(res1
)) {
14140 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VScrolledWindow_HitTest" "', expected argument " "1"" of type '" "wxPyVScrolledWindow const *""'");
14142 arg1
= reinterpret_cast< wxPyVScrolledWindow
* >(argp1
);
14145 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
14148 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14149 result
= (int)((wxPyVScrolledWindow
const *)arg1
)->HitTest((wxPoint
const &)*arg2
);
14150 wxPyEndAllowThreads(__tstate
);
14151 if (PyErr_Occurred()) SWIG_fail
;
14153 resultobj
= SWIG_From_int(static_cast< int >(result
));
14160 SWIGINTERN PyObject
*_wrap_VScrolledWindow_RefreshAll(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14161 PyObject
*resultobj
= 0;
14162 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
14165 PyObject
*swig_obj
[1] ;
14167 if (!args
) SWIG_fail
;
14168 swig_obj
[0] = args
;
14169 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyVScrolledWindow
, 0 | 0 );
14170 if (!SWIG_IsOK(res1
)) {
14171 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VScrolledWindow_RefreshAll" "', expected argument " "1"" of type '" "wxPyVScrolledWindow *""'");
14173 arg1
= reinterpret_cast< wxPyVScrolledWindow
* >(argp1
);
14175 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14176 (arg1
)->RefreshAll();
14177 wxPyEndAllowThreads(__tstate
);
14178 if (PyErr_Occurred()) SWIG_fail
;
14180 resultobj
= SWIG_Py_Void();
14187 SWIGINTERN PyObject
*_wrap_VScrolledWindow_GetLineCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14188 PyObject
*resultobj
= 0;
14189 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
14193 PyObject
*swig_obj
[1] ;
14195 if (!args
) SWIG_fail
;
14196 swig_obj
[0] = args
;
14197 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyVScrolledWindow
, 0 | 0 );
14198 if (!SWIG_IsOK(res1
)) {
14199 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VScrolledWindow_GetLineCount" "', expected argument " "1"" of type '" "wxPyVScrolledWindow const *""'");
14201 arg1
= reinterpret_cast< wxPyVScrolledWindow
* >(argp1
);
14203 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14204 result
= (size_t)((wxPyVScrolledWindow
const *)arg1
)->GetLineCount();
14205 wxPyEndAllowThreads(__tstate
);
14206 if (PyErr_Occurred()) SWIG_fail
;
14208 resultobj
= SWIG_From_size_t(static_cast< size_t >(result
));
14215 SWIGINTERN PyObject
*_wrap_VScrolledWindow_GetVisibleBegin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14216 PyObject
*resultobj
= 0;
14217 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
14221 PyObject
*swig_obj
[1] ;
14223 if (!args
) SWIG_fail
;
14224 swig_obj
[0] = args
;
14225 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyVScrolledWindow
, 0 | 0 );
14226 if (!SWIG_IsOK(res1
)) {
14227 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VScrolledWindow_GetVisibleBegin" "', expected argument " "1"" of type '" "wxPyVScrolledWindow const *""'");
14229 arg1
= reinterpret_cast< wxPyVScrolledWindow
* >(argp1
);
14231 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14232 result
= (size_t)((wxPyVScrolledWindow
const *)arg1
)->GetVisibleBegin();
14233 wxPyEndAllowThreads(__tstate
);
14234 if (PyErr_Occurred()) SWIG_fail
;
14236 resultobj
= SWIG_From_size_t(static_cast< size_t >(result
));
14243 SWIGINTERN PyObject
*_wrap_VScrolledWindow_GetVisibleEnd(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14244 PyObject
*resultobj
= 0;
14245 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
14249 PyObject
*swig_obj
[1] ;
14251 if (!args
) SWIG_fail
;
14252 swig_obj
[0] = args
;
14253 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyVScrolledWindow
, 0 | 0 );
14254 if (!SWIG_IsOK(res1
)) {
14255 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VScrolledWindow_GetVisibleEnd" "', expected argument " "1"" of type '" "wxPyVScrolledWindow const *""'");
14257 arg1
= reinterpret_cast< wxPyVScrolledWindow
* >(argp1
);
14259 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14260 result
= (size_t)((wxPyVScrolledWindow
const *)arg1
)->GetVisibleEnd();
14261 wxPyEndAllowThreads(__tstate
);
14262 if (PyErr_Occurred()) SWIG_fail
;
14264 resultobj
= SWIG_From_size_t(static_cast< size_t >(result
));
14271 SWIGINTERN PyObject
*_wrap_VScrolledWindow_IsVisible(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14272 PyObject
*resultobj
= 0;
14273 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
14280 PyObject
* obj0
= 0 ;
14281 PyObject
* obj1
= 0 ;
14282 char * kwnames
[] = {
14283 (char *) "self",(char *) "line", NULL
14286 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VScrolledWindow_IsVisible",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
14287 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyVScrolledWindow
, 0 | 0 );
14288 if (!SWIG_IsOK(res1
)) {
14289 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VScrolledWindow_IsVisible" "', expected argument " "1"" of type '" "wxPyVScrolledWindow const *""'");
14291 arg1
= reinterpret_cast< wxPyVScrolledWindow
* >(argp1
);
14292 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
14293 if (!SWIG_IsOK(ecode2
)) {
14294 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "VScrolledWindow_IsVisible" "', expected argument " "2"" of type '" "size_t""'");
14296 arg2
= static_cast< size_t >(val2
);
14298 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14299 result
= (bool)((wxPyVScrolledWindow
const *)arg1
)->IsVisible(arg2
);
14300 wxPyEndAllowThreads(__tstate
);
14301 if (PyErr_Occurred()) SWIG_fail
;
14304 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14312 SWIGINTERN PyObject
*_wrap_VScrolledWindow_GetFirstVisibleLine(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14313 PyObject
*resultobj
= 0;
14314 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
14318 PyObject
*swig_obj
[1] ;
14320 if (!args
) SWIG_fail
;
14321 swig_obj
[0] = args
;
14322 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyVScrolledWindow
, 0 | 0 );
14323 if (!SWIG_IsOK(res1
)) {
14324 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VScrolledWindow_GetFirstVisibleLine" "', expected argument " "1"" of type '" "wxPyVScrolledWindow const *""'");
14326 arg1
= reinterpret_cast< wxPyVScrolledWindow
* >(argp1
);
14328 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14329 result
= (size_t)((wxPyVScrolledWindow
const *)arg1
)->GetFirstVisibleLine();
14330 wxPyEndAllowThreads(__tstate
);
14331 if (PyErr_Occurred()) SWIG_fail
;
14333 resultobj
= SWIG_From_size_t(static_cast< size_t >(result
));
14340 SWIGINTERN PyObject
*_wrap_VScrolledWindow_GetLastVisibleLine(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14341 PyObject
*resultobj
= 0;
14342 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
14346 PyObject
*swig_obj
[1] ;
14348 if (!args
) SWIG_fail
;
14349 swig_obj
[0] = args
;
14350 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyVScrolledWindow
, 0 | 0 );
14351 if (!SWIG_IsOK(res1
)) {
14352 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VScrolledWindow_GetLastVisibleLine" "', expected argument " "1"" of type '" "wxPyVScrolledWindow const *""'");
14354 arg1
= reinterpret_cast< wxPyVScrolledWindow
* >(argp1
);
14356 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14357 result
= (size_t)((wxPyVScrolledWindow
const *)arg1
)->GetLastVisibleLine();
14358 wxPyEndAllowThreads(__tstate
);
14359 if (PyErr_Occurred()) SWIG_fail
;
14361 resultobj
= SWIG_From_size_t(static_cast< size_t >(result
));
14368 SWIGINTERN PyObject
*_wrap_VScrolledWindow_FindFirstFromBottom(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14369 PyObject
*resultobj
= 0;
14370 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
14372 bool arg3
= (bool) false ;
14380 PyObject
* obj0
= 0 ;
14381 PyObject
* obj1
= 0 ;
14382 PyObject
* obj2
= 0 ;
14383 char * kwnames
[] = {
14384 (char *) "self",(char *) "lineLast",(char *) "fullyVisible", NULL
14387 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:VScrolledWindow_FindFirstFromBottom",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
14388 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyVScrolledWindow
, 0 | 0 );
14389 if (!SWIG_IsOK(res1
)) {
14390 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VScrolledWindow_FindFirstFromBottom" "', expected argument " "1"" of type '" "wxPyVScrolledWindow *""'");
14392 arg1
= reinterpret_cast< wxPyVScrolledWindow
* >(argp1
);
14393 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
14394 if (!SWIG_IsOK(ecode2
)) {
14395 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "VScrolledWindow_FindFirstFromBottom" "', expected argument " "2"" of type '" "size_t""'");
14397 arg2
= static_cast< size_t >(val2
);
14399 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
14400 if (!SWIG_IsOK(ecode3
)) {
14401 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "VScrolledWindow_FindFirstFromBottom" "', expected argument " "3"" of type '" "bool""'");
14403 arg3
= static_cast< bool >(val3
);
14406 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14407 result
= (size_t)(arg1
)->FindFirstFromBottom(arg2
,arg3
);
14408 wxPyEndAllowThreads(__tstate
);
14409 if (PyErr_Occurred()) SWIG_fail
;
14411 resultobj
= SWIG_From_size_t(static_cast< size_t >(result
));
14418 SWIGINTERN PyObject
*_wrap_VScrolledWindow_GetLinesHeight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14419 PyObject
*resultobj
= 0;
14420 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
14430 PyObject
* obj0
= 0 ;
14431 PyObject
* obj1
= 0 ;
14432 PyObject
* obj2
= 0 ;
14433 char * kwnames
[] = {
14434 (char *) "self",(char *) "lineMin",(char *) "lineMax", NULL
14437 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:VScrolledWindow_GetLinesHeight",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
14438 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyVScrolledWindow
, 0 | 0 );
14439 if (!SWIG_IsOK(res1
)) {
14440 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VScrolledWindow_GetLinesHeight" "', expected argument " "1"" of type '" "wxPyVScrolledWindow const *""'");
14442 arg1
= reinterpret_cast< wxPyVScrolledWindow
* >(argp1
);
14443 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
14444 if (!SWIG_IsOK(ecode2
)) {
14445 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "VScrolledWindow_GetLinesHeight" "', expected argument " "2"" of type '" "size_t""'");
14447 arg2
= static_cast< size_t >(val2
);
14448 ecode3
= SWIG_AsVal_size_t(obj2
, &val3
);
14449 if (!SWIG_IsOK(ecode3
)) {
14450 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "VScrolledWindow_GetLinesHeight" "', expected argument " "3"" of type '" "size_t""'");
14452 arg3
= static_cast< size_t >(val3
);
14454 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14455 result
= (int)((wxPyVScrolledWindow
const *)arg1
)->GetLinesHeight(arg2
,arg3
);
14456 wxPyEndAllowThreads(__tstate
);
14457 if (PyErr_Occurred()) SWIG_fail
;
14459 resultobj
= SWIG_From_int(static_cast< int >(result
));
14466 SWIGINTERN PyObject
*VScrolledWindow_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14468 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
14469 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyVScrolledWindow
, SWIG_NewClientData(obj
));
14470 return SWIG_Py_Void();
14473 SWIGINTERN PyObject
*VScrolledWindow_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14474 return SWIG_Python_InitShadowInstance(args
);
14477 SWIGINTERN
int VListBoxNameStr_set(PyObject
*) {
14478 SWIG_Error(SWIG_AttributeError
,"Variable VListBoxNameStr is read-only.");
14483 SWIGINTERN PyObject
*VListBoxNameStr_get(void) {
14484 PyObject
*pyobj
= 0;
14488 pyobj
= PyUnicode_FromWideChar((&wxPyVListBoxNameStr
)->c_str(), (&wxPyVListBoxNameStr
)->Len());
14490 pyobj
= PyString_FromStringAndSize((&wxPyVListBoxNameStr
)->c_str(), (&wxPyVListBoxNameStr
)->Len());
14497 SWIGINTERN PyObject
*_wrap_new_VListBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14498 PyObject
*resultobj
= 0;
14499 wxWindow
*arg1
= (wxWindow
*) 0 ;
14500 int arg2
= (int) wxID_ANY
;
14501 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
14502 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
14503 wxSize
const &arg4_defvalue
= wxDefaultSize
;
14504 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
14505 long arg5
= (long) 0 ;
14506 wxString
const &arg6_defvalue
= wxPyVListBoxNameStr
;
14507 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
14508 wxPyVListBox
*result
= 0 ;
14517 bool temp6
= false ;
14518 PyObject
* obj0
= 0 ;
14519 PyObject
* obj1
= 0 ;
14520 PyObject
* obj2
= 0 ;
14521 PyObject
* obj3
= 0 ;
14522 PyObject
* obj4
= 0 ;
14523 PyObject
* obj5
= 0 ;
14524 char * kwnames
[] = {
14525 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
14528 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_VListBox",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
14529 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
14530 if (!SWIG_IsOK(res1
)) {
14531 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_VListBox" "', expected argument " "1"" of type '" "wxWindow *""'");
14533 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
14535 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
14536 if (!SWIG_IsOK(ecode2
)) {
14537 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_VListBox" "', expected argument " "2"" of type '" "int""'");
14539 arg2
= static_cast< int >(val2
);
14544 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
14550 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
14554 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
14555 if (!SWIG_IsOK(ecode5
)) {
14556 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_VListBox" "', expected argument " "5"" of type '" "long""'");
14558 arg5
= static_cast< long >(val5
);
14562 arg6
= wxString_in_helper(obj5
);
14563 if (arg6
== NULL
) SWIG_fail
;
14568 if (!wxPyCheckForApp()) SWIG_fail
;
14569 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14570 result
= (wxPyVListBox
*)new wxPyVListBox(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
14571 wxPyEndAllowThreads(__tstate
);
14572 if (PyErr_Occurred()) SWIG_fail
;
14574 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyVListBox
, SWIG_POINTER_NEW
| 0 );
14589 SWIGINTERN PyObject
*_wrap_new_PreVListBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14590 PyObject
*resultobj
= 0;
14591 wxPyVListBox
*result
= 0 ;
14593 if (!SWIG_Python_UnpackTuple(args
,"new_PreVListBox",0,0,0)) SWIG_fail
;
14595 if (!wxPyCheckForApp()) SWIG_fail
;
14596 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14597 result
= (wxPyVListBox
*)new wxPyVListBox();
14598 wxPyEndAllowThreads(__tstate
);
14599 if (PyErr_Occurred()) SWIG_fail
;
14601 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyVListBox
, SWIG_POINTER_OWN
| 0 );
14608 SWIGINTERN PyObject
*_wrap_VListBox__setCallbackInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14609 PyObject
*resultobj
= 0;
14610 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
14611 PyObject
*arg2
= (PyObject
*) 0 ;
14612 PyObject
*arg3
= (PyObject
*) 0 ;
14615 PyObject
* obj0
= 0 ;
14616 PyObject
* obj1
= 0 ;
14617 PyObject
* obj2
= 0 ;
14618 char * kwnames
[] = {
14619 (char *) "self",(char *) "self",(char *) "_class", NULL
14622 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:VListBox__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
14623 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyVListBox
, 0 | 0 );
14624 if (!SWIG_IsOK(res1
)) {
14625 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VListBox__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
14627 arg1
= reinterpret_cast< wxPyVListBox
* >(argp1
);
14631 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14632 (arg1
)->_setCallbackInfo(arg2
,arg3
);
14633 wxPyEndAllowThreads(__tstate
);
14634 if (PyErr_Occurred()) SWIG_fail
;
14636 resultobj
= SWIG_Py_Void();
14643 SWIGINTERN PyObject
*_wrap_VListBox_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14644 PyObject
*resultobj
= 0;
14645 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
14646 wxWindow
*arg2
= (wxWindow
*) 0 ;
14647 int arg3
= (int) wxID_ANY
;
14648 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
14649 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
14650 wxSize
const &arg5_defvalue
= wxDefaultSize
;
14651 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
14652 long arg6
= (long) 0 ;
14653 wxString
const &arg7_defvalue
= wxPyVListBoxNameStr
;
14654 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
14666 bool temp7
= false ;
14667 PyObject
* obj0
= 0 ;
14668 PyObject
* obj1
= 0 ;
14669 PyObject
* obj2
= 0 ;
14670 PyObject
* obj3
= 0 ;
14671 PyObject
* obj4
= 0 ;
14672 PyObject
* obj5
= 0 ;
14673 PyObject
* obj6
= 0 ;
14674 char * kwnames
[] = {
14675 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
14678 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:VListBox_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
14679 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyVListBox
, 0 | 0 );
14680 if (!SWIG_IsOK(res1
)) {
14681 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VListBox_Create" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
14683 arg1
= reinterpret_cast< wxPyVListBox
* >(argp1
);
14684 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
14685 if (!SWIG_IsOK(res2
)) {
14686 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "VListBox_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
14688 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
14690 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
14691 if (!SWIG_IsOK(ecode3
)) {
14692 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "VListBox_Create" "', expected argument " "3"" of type '" "int""'");
14694 arg3
= static_cast< int >(val3
);
14699 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
14705 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
14709 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
14710 if (!SWIG_IsOK(ecode6
)) {
14711 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "VListBox_Create" "', expected argument " "6"" of type '" "long""'");
14713 arg6
= static_cast< long >(val6
);
14717 arg7
= wxString_in_helper(obj6
);
14718 if (arg7
== NULL
) SWIG_fail
;
14723 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14724 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
14725 wxPyEndAllowThreads(__tstate
);
14726 if (PyErr_Occurred()) SWIG_fail
;
14729 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14745 SWIGINTERN PyObject
*_wrap_VListBox_GetItemCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14746 PyObject
*resultobj
= 0;
14747 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
14751 PyObject
*swig_obj
[1] ;
14753 if (!args
) SWIG_fail
;
14754 swig_obj
[0] = args
;
14755 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyVListBox
, 0 | 0 );
14756 if (!SWIG_IsOK(res1
)) {
14757 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VListBox_GetItemCount" "', expected argument " "1"" of type '" "wxPyVListBox const *""'");
14759 arg1
= reinterpret_cast< wxPyVListBox
* >(argp1
);
14761 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14762 result
= (size_t)((wxPyVListBox
const *)arg1
)->GetItemCount();
14763 wxPyEndAllowThreads(__tstate
);
14764 if (PyErr_Occurred()) SWIG_fail
;
14766 resultobj
= SWIG_From_size_t(static_cast< size_t >(result
));
14773 SWIGINTERN PyObject
*_wrap_VListBox_HasMultipleSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14774 PyObject
*resultobj
= 0;
14775 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
14779 PyObject
*swig_obj
[1] ;
14781 if (!args
) SWIG_fail
;
14782 swig_obj
[0] = args
;
14783 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyVListBox
, 0 | 0 );
14784 if (!SWIG_IsOK(res1
)) {
14785 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VListBox_HasMultipleSelection" "', expected argument " "1"" of type '" "wxPyVListBox const *""'");
14787 arg1
= reinterpret_cast< wxPyVListBox
* >(argp1
);
14789 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14790 result
= (bool)((wxPyVListBox
const *)arg1
)->HasMultipleSelection();
14791 wxPyEndAllowThreads(__tstate
);
14792 if (PyErr_Occurred()) SWIG_fail
;
14795 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14803 SWIGINTERN PyObject
*_wrap_VListBox_GetSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14804 PyObject
*resultobj
= 0;
14805 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
14809 PyObject
*swig_obj
[1] ;
14811 if (!args
) SWIG_fail
;
14812 swig_obj
[0] = args
;
14813 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyVListBox
, 0 | 0 );
14814 if (!SWIG_IsOK(res1
)) {
14815 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VListBox_GetSelection" "', expected argument " "1"" of type '" "wxPyVListBox const *""'");
14817 arg1
= reinterpret_cast< wxPyVListBox
* >(argp1
);
14819 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14820 result
= (int)((wxPyVListBox
const *)arg1
)->GetSelection();
14821 wxPyEndAllowThreads(__tstate
);
14822 if (PyErr_Occurred()) SWIG_fail
;
14824 resultobj
= SWIG_From_int(static_cast< int >(result
));
14831 SWIGINTERN PyObject
*_wrap_VListBox_IsCurrent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14832 PyObject
*resultobj
= 0;
14833 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
14840 PyObject
* obj0
= 0 ;
14841 PyObject
* obj1
= 0 ;
14842 char * kwnames
[] = {
14843 (char *) "self",(char *) "item", NULL
14846 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VListBox_IsCurrent",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
14847 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyVListBox
, 0 | 0 );
14848 if (!SWIG_IsOK(res1
)) {
14849 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VListBox_IsCurrent" "', expected argument " "1"" of type '" "wxPyVListBox const *""'");
14851 arg1
= reinterpret_cast< wxPyVListBox
* >(argp1
);
14852 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
14853 if (!SWIG_IsOK(ecode2
)) {
14854 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "VListBox_IsCurrent" "', expected argument " "2"" of type '" "size_t""'");
14856 arg2
= static_cast< size_t >(val2
);
14858 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14859 result
= (bool)((wxPyVListBox
const *)arg1
)->IsCurrent(arg2
);
14860 wxPyEndAllowThreads(__tstate
);
14861 if (PyErr_Occurred()) SWIG_fail
;
14864 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14872 SWIGINTERN PyObject
*_wrap_VListBox_IsSelected(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14873 PyObject
*resultobj
= 0;
14874 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
14881 PyObject
* obj0
= 0 ;
14882 PyObject
* obj1
= 0 ;
14883 char * kwnames
[] = {
14884 (char *) "self",(char *) "item", NULL
14887 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VListBox_IsSelected",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
14888 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyVListBox
, 0 | 0 );
14889 if (!SWIG_IsOK(res1
)) {
14890 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VListBox_IsSelected" "', expected argument " "1"" of type '" "wxPyVListBox const *""'");
14892 arg1
= reinterpret_cast< wxPyVListBox
* >(argp1
);
14893 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
14894 if (!SWIG_IsOK(ecode2
)) {
14895 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "VListBox_IsSelected" "', expected argument " "2"" of type '" "size_t""'");
14897 arg2
= static_cast< size_t >(val2
);
14899 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14900 result
= (bool)((wxPyVListBox
const *)arg1
)->IsSelected(arg2
);
14901 wxPyEndAllowThreads(__tstate
);
14902 if (PyErr_Occurred()) SWIG_fail
;
14905 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14913 SWIGINTERN PyObject
*_wrap_VListBox_GetSelectedCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14914 PyObject
*resultobj
= 0;
14915 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
14919 PyObject
*swig_obj
[1] ;
14921 if (!args
) SWIG_fail
;
14922 swig_obj
[0] = args
;
14923 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyVListBox
, 0 | 0 );
14924 if (!SWIG_IsOK(res1
)) {
14925 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VListBox_GetSelectedCount" "', expected argument " "1"" of type '" "wxPyVListBox const *""'");
14927 arg1
= reinterpret_cast< wxPyVListBox
* >(argp1
);
14929 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14930 result
= (size_t)((wxPyVListBox
const *)arg1
)->GetSelectedCount();
14931 wxPyEndAllowThreads(__tstate
);
14932 if (PyErr_Occurred()) SWIG_fail
;
14934 resultobj
= SWIG_From_size_t(static_cast< size_t >(result
));
14941 SWIGINTERN PyObject
*_wrap_VListBox_GetFirstSelected(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14942 PyObject
*resultobj
= 0;
14943 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
14944 PyObject
*result
= 0 ;
14947 PyObject
*swig_obj
[1] ;
14949 if (!args
) SWIG_fail
;
14950 swig_obj
[0] = args
;
14951 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyVListBox
, 0 | 0 );
14952 if (!SWIG_IsOK(res1
)) {
14953 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VListBox_GetFirstSelected" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
14955 arg1
= reinterpret_cast< wxPyVListBox
* >(argp1
);
14957 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14958 result
= (PyObject
*)wxPyVListBox_GetFirstSelected(arg1
);
14959 wxPyEndAllowThreads(__tstate
);
14960 if (PyErr_Occurred()) SWIG_fail
;
14962 resultobj
= result
;
14969 SWIGINTERN PyObject
*_wrap_VListBox_GetNextSelected(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14970 PyObject
*resultobj
= 0;
14971 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
14972 unsigned long arg2
;
14973 PyObject
*result
= 0 ;
14976 unsigned long val2
;
14978 PyObject
* obj0
= 0 ;
14979 PyObject
* obj1
= 0 ;
14980 char * kwnames
[] = {
14981 (char *) "self",(char *) "cookie", NULL
14984 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VListBox_GetNextSelected",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
14985 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyVListBox
, 0 | 0 );
14986 if (!SWIG_IsOK(res1
)) {
14987 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VListBox_GetNextSelected" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
14989 arg1
= reinterpret_cast< wxPyVListBox
* >(argp1
);
14990 ecode2
= SWIG_AsVal_unsigned_SS_long(obj1
, &val2
);
14991 if (!SWIG_IsOK(ecode2
)) {
14992 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "VListBox_GetNextSelected" "', expected argument " "2"" of type '" "unsigned long""'");
14994 arg2
= static_cast< unsigned long >(val2
);
14996 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14997 result
= (PyObject
*)wxPyVListBox_GetNextSelected(arg1
,arg2
);
14998 wxPyEndAllowThreads(__tstate
);
14999 if (PyErr_Occurred()) SWIG_fail
;
15001 resultobj
= result
;
15008 SWIGINTERN PyObject
*_wrap_VListBox_GetMargins(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15009 PyObject
*resultobj
= 0;
15010 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
15014 PyObject
*swig_obj
[1] ;
15016 if (!args
) SWIG_fail
;
15017 swig_obj
[0] = args
;
15018 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyVListBox
, 0 | 0 );
15019 if (!SWIG_IsOK(res1
)) {
15020 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VListBox_GetMargins" "', expected argument " "1"" of type '" "wxPyVListBox const *""'");
15022 arg1
= reinterpret_cast< wxPyVListBox
* >(argp1
);
15024 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15025 result
= ((wxPyVListBox
const *)arg1
)->GetMargins();
15026 wxPyEndAllowThreads(__tstate
);
15027 if (PyErr_Occurred()) SWIG_fail
;
15029 resultobj
= SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint
& >(result
))), SWIGTYPE_p_wxPoint
, SWIG_POINTER_OWN
| 0 );
15036 SWIGINTERN PyObject
*_wrap_VListBox_GetSelectionBackground(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15037 PyObject
*resultobj
= 0;
15038 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
15039 wxColour
*result
= 0 ;
15042 PyObject
*swig_obj
[1] ;
15044 if (!args
) SWIG_fail
;
15045 swig_obj
[0] = args
;
15046 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyVListBox
, 0 | 0 );
15047 if (!SWIG_IsOK(res1
)) {
15048 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VListBox_GetSelectionBackground" "', expected argument " "1"" of type '" "wxPyVListBox const *""'");
15050 arg1
= reinterpret_cast< wxPyVListBox
* >(argp1
);
15052 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15054 wxColour
const &_result_ref
= ((wxPyVListBox
const *)arg1
)->GetSelectionBackground();
15055 result
= (wxColour
*) &_result_ref
;
15057 wxPyEndAllowThreads(__tstate
);
15058 if (PyErr_Occurred()) SWIG_fail
;
15060 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxColour
, 0 | 0 );
15067 SWIGINTERN PyObject
*_wrap_VListBox_SetItemCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15068 PyObject
*resultobj
= 0;
15069 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
15075 PyObject
* obj0
= 0 ;
15076 PyObject
* obj1
= 0 ;
15077 char * kwnames
[] = {
15078 (char *) "self",(char *) "count", NULL
15081 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VListBox_SetItemCount",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
15082 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyVListBox
, 0 | 0 );
15083 if (!SWIG_IsOK(res1
)) {
15084 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VListBox_SetItemCount" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
15086 arg1
= reinterpret_cast< wxPyVListBox
* >(argp1
);
15087 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
15088 if (!SWIG_IsOK(ecode2
)) {
15089 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "VListBox_SetItemCount" "', expected argument " "2"" of type '" "size_t""'");
15091 arg2
= static_cast< size_t >(val2
);
15093 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15094 (arg1
)->SetItemCount(arg2
);
15095 wxPyEndAllowThreads(__tstate
);
15096 if (PyErr_Occurred()) SWIG_fail
;
15098 resultobj
= SWIG_Py_Void();
15105 SWIGINTERN PyObject
*_wrap_VListBox_Clear(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15106 PyObject
*resultobj
= 0;
15107 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
15110 PyObject
*swig_obj
[1] ;
15112 if (!args
) SWIG_fail
;
15113 swig_obj
[0] = args
;
15114 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyVListBox
, 0 | 0 );
15115 if (!SWIG_IsOK(res1
)) {
15116 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VListBox_Clear" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
15118 arg1
= reinterpret_cast< wxPyVListBox
* >(argp1
);
15120 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15122 wxPyEndAllowThreads(__tstate
);
15123 if (PyErr_Occurred()) SWIG_fail
;
15125 resultobj
= SWIG_Py_Void();
15132 SWIGINTERN PyObject
*_wrap_VListBox_SetSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15133 PyObject
*resultobj
= 0;
15134 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
15140 PyObject
* obj0
= 0 ;
15141 PyObject
* obj1
= 0 ;
15142 char * kwnames
[] = {
15143 (char *) "self",(char *) "selection", NULL
15146 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VListBox_SetSelection",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
15147 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyVListBox
, 0 | 0 );
15148 if (!SWIG_IsOK(res1
)) {
15149 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VListBox_SetSelection" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
15151 arg1
= reinterpret_cast< wxPyVListBox
* >(argp1
);
15152 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
15153 if (!SWIG_IsOK(ecode2
)) {
15154 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "VListBox_SetSelection" "', expected argument " "2"" of type '" "int""'");
15156 arg2
= static_cast< int >(val2
);
15158 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15159 (arg1
)->SetSelection(arg2
);
15160 wxPyEndAllowThreads(__tstate
);
15161 if (PyErr_Occurred()) SWIG_fail
;
15163 resultobj
= SWIG_Py_Void();
15170 SWIGINTERN PyObject
*_wrap_VListBox_Select(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15171 PyObject
*resultobj
= 0;
15172 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
15174 bool arg3
= (bool) true ;
15182 PyObject
* obj0
= 0 ;
15183 PyObject
* obj1
= 0 ;
15184 PyObject
* obj2
= 0 ;
15185 char * kwnames
[] = {
15186 (char *) "self",(char *) "item",(char *) "select", NULL
15189 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:VListBox_Select",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
15190 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyVListBox
, 0 | 0 );
15191 if (!SWIG_IsOK(res1
)) {
15192 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VListBox_Select" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
15194 arg1
= reinterpret_cast< wxPyVListBox
* >(argp1
);
15195 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
15196 if (!SWIG_IsOK(ecode2
)) {
15197 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "VListBox_Select" "', expected argument " "2"" of type '" "size_t""'");
15199 arg2
= static_cast< size_t >(val2
);
15201 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
15202 if (!SWIG_IsOK(ecode3
)) {
15203 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "VListBox_Select" "', expected argument " "3"" of type '" "bool""'");
15205 arg3
= static_cast< bool >(val3
);
15208 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15209 result
= (bool)(arg1
)->Select(arg2
,arg3
);
15210 wxPyEndAllowThreads(__tstate
);
15211 if (PyErr_Occurred()) SWIG_fail
;
15214 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15222 SWIGINTERN PyObject
*_wrap_VListBox_SelectRange(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15223 PyObject
*resultobj
= 0;
15224 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
15234 PyObject
* obj0
= 0 ;
15235 PyObject
* obj1
= 0 ;
15236 PyObject
* obj2
= 0 ;
15237 char * kwnames
[] = {
15238 (char *) "self",(char *) "from",(char *) "to", NULL
15241 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:VListBox_SelectRange",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
15242 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyVListBox
, 0 | 0 );
15243 if (!SWIG_IsOK(res1
)) {
15244 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VListBox_SelectRange" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
15246 arg1
= reinterpret_cast< wxPyVListBox
* >(argp1
);
15247 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
15248 if (!SWIG_IsOK(ecode2
)) {
15249 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "VListBox_SelectRange" "', expected argument " "2"" of type '" "size_t""'");
15251 arg2
= static_cast< size_t >(val2
);
15252 ecode3
= SWIG_AsVal_size_t(obj2
, &val3
);
15253 if (!SWIG_IsOK(ecode3
)) {
15254 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "VListBox_SelectRange" "', expected argument " "3"" of type '" "size_t""'");
15256 arg3
= static_cast< size_t >(val3
);
15258 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15259 result
= (bool)(arg1
)->SelectRange(arg2
,arg3
);
15260 wxPyEndAllowThreads(__tstate
);
15261 if (PyErr_Occurred()) SWIG_fail
;
15264 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15272 SWIGINTERN PyObject
*_wrap_VListBox_Toggle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15273 PyObject
*resultobj
= 0;
15274 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
15280 PyObject
* obj0
= 0 ;
15281 PyObject
* obj1
= 0 ;
15282 char * kwnames
[] = {
15283 (char *) "self",(char *) "item", NULL
15286 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VListBox_Toggle",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
15287 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyVListBox
, 0 | 0 );
15288 if (!SWIG_IsOK(res1
)) {
15289 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VListBox_Toggle" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
15291 arg1
= reinterpret_cast< wxPyVListBox
* >(argp1
);
15292 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
15293 if (!SWIG_IsOK(ecode2
)) {
15294 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "VListBox_Toggle" "', expected argument " "2"" of type '" "size_t""'");
15296 arg2
= static_cast< size_t >(val2
);
15298 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15299 (arg1
)->Toggle(arg2
);
15300 wxPyEndAllowThreads(__tstate
);
15301 if (PyErr_Occurred()) SWIG_fail
;
15303 resultobj
= SWIG_Py_Void();
15310 SWIGINTERN PyObject
*_wrap_VListBox_SelectAll(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15311 PyObject
*resultobj
= 0;
15312 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
15316 PyObject
*swig_obj
[1] ;
15318 if (!args
) SWIG_fail
;
15319 swig_obj
[0] = args
;
15320 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyVListBox
, 0 | 0 );
15321 if (!SWIG_IsOK(res1
)) {
15322 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VListBox_SelectAll" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
15324 arg1
= reinterpret_cast< wxPyVListBox
* >(argp1
);
15326 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15327 result
= (bool)(arg1
)->SelectAll();
15328 wxPyEndAllowThreads(__tstate
);
15329 if (PyErr_Occurred()) SWIG_fail
;
15332 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15340 SWIGINTERN PyObject
*_wrap_VListBox_DeselectAll(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15341 PyObject
*resultobj
= 0;
15342 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
15346 PyObject
*swig_obj
[1] ;
15348 if (!args
) SWIG_fail
;
15349 swig_obj
[0] = args
;
15350 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyVListBox
, 0 | 0 );
15351 if (!SWIG_IsOK(res1
)) {
15352 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VListBox_DeselectAll" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
15354 arg1
= reinterpret_cast< wxPyVListBox
* >(argp1
);
15356 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15357 result
= (bool)(arg1
)->DeselectAll();
15358 wxPyEndAllowThreads(__tstate
);
15359 if (PyErr_Occurred()) SWIG_fail
;
15362 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15370 SWIGINTERN PyObject
*_wrap_VListBox_SetMargins(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15371 PyObject
*resultobj
= 0;
15372 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
15373 wxPoint
*arg2
= 0 ;
15377 PyObject
* obj0
= 0 ;
15378 PyObject
* obj1
= 0 ;
15379 char * kwnames
[] = {
15380 (char *) "self",(char *) "pt", NULL
15383 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VListBox_SetMargins",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
15384 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyVListBox
, 0 | 0 );
15385 if (!SWIG_IsOK(res1
)) {
15386 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VListBox_SetMargins" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
15388 arg1
= reinterpret_cast< wxPyVListBox
* >(argp1
);
15391 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
15394 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15395 (arg1
)->SetMargins((wxPoint
const &)*arg2
);
15396 wxPyEndAllowThreads(__tstate
);
15397 if (PyErr_Occurred()) SWIG_fail
;
15399 resultobj
= SWIG_Py_Void();
15406 SWIGINTERN PyObject
*_wrap_VListBox_SetMarginsXY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15407 PyObject
*resultobj
= 0;
15408 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
15417 PyObject
* obj0
= 0 ;
15418 PyObject
* obj1
= 0 ;
15419 PyObject
* obj2
= 0 ;
15420 char * kwnames
[] = {
15421 (char *) "self",(char *) "x",(char *) "y", NULL
15424 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:VListBox_SetMarginsXY",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
15425 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyVListBox
, 0 | 0 );
15426 if (!SWIG_IsOK(res1
)) {
15427 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VListBox_SetMarginsXY" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
15429 arg1
= reinterpret_cast< wxPyVListBox
* >(argp1
);
15430 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
15431 if (!SWIG_IsOK(ecode2
)) {
15432 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "VListBox_SetMarginsXY" "', expected argument " "2"" of type '" "int""'");
15434 arg2
= static_cast< int >(val2
);
15435 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
15436 if (!SWIG_IsOK(ecode3
)) {
15437 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "VListBox_SetMarginsXY" "', expected argument " "3"" of type '" "int""'");
15439 arg3
= static_cast< int >(val3
);
15441 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15442 (arg1
)->SetMargins(arg2
,arg3
);
15443 wxPyEndAllowThreads(__tstate
);
15444 if (PyErr_Occurred()) SWIG_fail
;
15446 resultobj
= SWIG_Py_Void();
15453 SWIGINTERN PyObject
*_wrap_VListBox_SetSelectionBackground(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15454 PyObject
*resultobj
= 0;
15455 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
15456 wxColour
*arg2
= 0 ;
15460 PyObject
* obj0
= 0 ;
15461 PyObject
* obj1
= 0 ;
15462 char * kwnames
[] = {
15463 (char *) "self",(char *) "col", NULL
15466 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VListBox_SetSelectionBackground",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
15467 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyVListBox
, 0 | 0 );
15468 if (!SWIG_IsOK(res1
)) {
15469 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VListBox_SetSelectionBackground" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
15471 arg1
= reinterpret_cast< wxPyVListBox
* >(argp1
);
15474 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
15477 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15478 (arg1
)->SetSelectionBackground((wxColour
const &)*arg2
);
15479 wxPyEndAllowThreads(__tstate
);
15480 if (PyErr_Occurred()) SWIG_fail
;
15482 resultobj
= SWIG_Py_Void();
15489 SWIGINTERN PyObject
*_wrap_VListBox_OnDrawSeparator(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15490 PyObject
*resultobj
= 0;
15491 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
15502 PyObject
* obj0
= 0 ;
15503 PyObject
* obj1
= 0 ;
15504 PyObject
* obj2
= 0 ;
15505 PyObject
* obj3
= 0 ;
15506 char * kwnames
[] = {
15507 (char *) "self",(char *) "dc",(char *) "rect",(char *) "n", NULL
15510 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:VListBox_OnDrawSeparator",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
15511 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyVListBox
, 0 | 0 );
15512 if (!SWIG_IsOK(res1
)) {
15513 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VListBox_OnDrawSeparator" "', expected argument " "1"" of type '" "wxPyVListBox const *""'");
15515 arg1
= reinterpret_cast< wxPyVListBox
* >(argp1
);
15516 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxDC
, 0 );
15517 if (!SWIG_IsOK(res2
)) {
15518 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "VListBox_OnDrawSeparator" "', expected argument " "2"" of type '" "wxDC &""'");
15521 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "VListBox_OnDrawSeparator" "', expected argument " "2"" of type '" "wxDC &""'");
15523 arg2
= reinterpret_cast< wxDC
* >(argp2
);
15526 if ( ! wxRect_helper(obj2
, &arg3
)) SWIG_fail
;
15528 ecode4
= SWIG_AsVal_size_t(obj3
, &val4
);
15529 if (!SWIG_IsOK(ecode4
)) {
15530 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "VListBox_OnDrawSeparator" "', expected argument " "4"" of type '" "size_t""'");
15532 arg4
= static_cast< size_t >(val4
);
15534 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15535 ((wxPyVListBox
const *)arg1
)->OnDrawSeparator(*arg2
,*arg3
,arg4
);
15536 wxPyEndAllowThreads(__tstate
);
15537 if (PyErr_Occurred()) SWIG_fail
;
15539 resultobj
= SWIG_Py_Void();
15546 SWIGINTERN PyObject
*_wrap_VListBox_OnDrawBackground(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15547 PyObject
*resultobj
= 0;
15548 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
15559 PyObject
* obj0
= 0 ;
15560 PyObject
* obj1
= 0 ;
15561 PyObject
* obj2
= 0 ;
15562 PyObject
* obj3
= 0 ;
15563 char * kwnames
[] = {
15564 (char *) "self",(char *) "dc",(char *) "rect",(char *) "n", NULL
15567 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:VListBox_OnDrawBackground",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
15568 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyVListBox
, 0 | 0 );
15569 if (!SWIG_IsOK(res1
)) {
15570 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VListBox_OnDrawBackground" "', expected argument " "1"" of type '" "wxPyVListBox const *""'");
15572 arg1
= reinterpret_cast< wxPyVListBox
* >(argp1
);
15573 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxDC
, 0 );
15574 if (!SWIG_IsOK(res2
)) {
15575 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "VListBox_OnDrawBackground" "', expected argument " "2"" of type '" "wxDC &""'");
15578 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "VListBox_OnDrawBackground" "', expected argument " "2"" of type '" "wxDC &""'");
15580 arg2
= reinterpret_cast< wxDC
* >(argp2
);
15583 if ( ! wxRect_helper(obj2
, &arg3
)) SWIG_fail
;
15585 ecode4
= SWIG_AsVal_size_t(obj3
, &val4
);
15586 if (!SWIG_IsOK(ecode4
)) {
15587 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "VListBox_OnDrawBackground" "', expected argument " "4"" of type '" "size_t""'");
15589 arg4
= static_cast< size_t >(val4
);
15591 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15592 ((wxPyVListBox
const *)arg1
)->OnDrawBackground(*arg2
,(wxRect
const &)*arg3
,arg4
);
15593 wxPyEndAllowThreads(__tstate
);
15594 if (PyErr_Occurred()) SWIG_fail
;
15596 resultobj
= SWIG_Py_Void();
15603 SWIGINTERN PyObject
*VListBox_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15605 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
15606 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyVListBox
, SWIG_NewClientData(obj
));
15607 return SWIG_Py_Void();
15610 SWIGINTERN PyObject
*VListBox_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15611 return SWIG_Python_InitShadowInstance(args
);
15614 SWIGINTERN PyObject
*_wrap_new_HtmlListBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15615 PyObject
*resultobj
= 0;
15616 wxWindow
*arg1
= (wxWindow
*) 0 ;
15617 int arg2
= (int) wxID_ANY
;
15618 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
15619 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
15620 wxSize
const &arg4_defvalue
= wxDefaultSize
;
15621 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
15622 long arg5
= (long) 0 ;
15623 wxString
const &arg6_defvalue
= wxPyVListBoxNameStr
;
15624 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
15625 wxPyHtmlListBox
*result
= 0 ;
15634 bool temp6
= false ;
15635 PyObject
* obj0
= 0 ;
15636 PyObject
* obj1
= 0 ;
15637 PyObject
* obj2
= 0 ;
15638 PyObject
* obj3
= 0 ;
15639 PyObject
* obj4
= 0 ;
15640 PyObject
* obj5
= 0 ;
15641 char * kwnames
[] = {
15642 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
15645 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_HtmlListBox",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
15646 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
15647 if (!SWIG_IsOK(res1
)) {
15648 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_HtmlListBox" "', expected argument " "1"" of type '" "wxWindow *""'");
15650 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
15652 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
15653 if (!SWIG_IsOK(ecode2
)) {
15654 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_HtmlListBox" "', expected argument " "2"" of type '" "int""'");
15656 arg2
= static_cast< int >(val2
);
15661 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
15667 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
15671 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
15672 if (!SWIG_IsOK(ecode5
)) {
15673 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_HtmlListBox" "', expected argument " "5"" of type '" "long""'");
15675 arg5
= static_cast< long >(val5
);
15679 arg6
= wxString_in_helper(obj5
);
15680 if (arg6
== NULL
) SWIG_fail
;
15685 if (!wxPyCheckForApp()) SWIG_fail
;
15686 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15687 result
= (wxPyHtmlListBox
*)new wxPyHtmlListBox(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
15688 wxPyEndAllowThreads(__tstate
);
15689 if (PyErr_Occurred()) SWIG_fail
;
15691 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyHtmlListBox
, SWIG_POINTER_NEW
| 0 );
15706 SWIGINTERN PyObject
*_wrap_new_PreHtmlListBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15707 PyObject
*resultobj
= 0;
15708 wxPyHtmlListBox
*result
= 0 ;
15710 if (!SWIG_Python_UnpackTuple(args
,"new_PreHtmlListBox",0,0,0)) SWIG_fail
;
15712 if (!wxPyCheckForApp()) SWIG_fail
;
15713 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15714 result
= (wxPyHtmlListBox
*)new wxPyHtmlListBox();
15715 wxPyEndAllowThreads(__tstate
);
15716 if (PyErr_Occurred()) SWIG_fail
;
15718 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyHtmlListBox
, SWIG_POINTER_OWN
| 0 );
15725 SWIGINTERN PyObject
*_wrap_HtmlListBox__setCallbackInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15726 PyObject
*resultobj
= 0;
15727 wxPyHtmlListBox
*arg1
= (wxPyHtmlListBox
*) 0 ;
15728 PyObject
*arg2
= (PyObject
*) 0 ;
15729 PyObject
*arg3
= (PyObject
*) 0 ;
15732 PyObject
* obj0
= 0 ;
15733 PyObject
* obj1
= 0 ;
15734 PyObject
* obj2
= 0 ;
15735 char * kwnames
[] = {
15736 (char *) "self",(char *) "self",(char *) "_class", NULL
15739 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:HtmlListBox__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
15740 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyHtmlListBox
, 0 | 0 );
15741 if (!SWIG_IsOK(res1
)) {
15742 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlListBox__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyHtmlListBox *""'");
15744 arg1
= reinterpret_cast< wxPyHtmlListBox
* >(argp1
);
15748 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15749 (arg1
)->_setCallbackInfo(arg2
,arg3
);
15750 wxPyEndAllowThreads(__tstate
);
15751 if (PyErr_Occurred()) SWIG_fail
;
15753 resultobj
= SWIG_Py_Void();
15760 SWIGINTERN PyObject
*_wrap_HtmlListBox_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15761 PyObject
*resultobj
= 0;
15762 wxPyHtmlListBox
*arg1
= (wxPyHtmlListBox
*) 0 ;
15763 wxWindow
*arg2
= (wxWindow
*) 0 ;
15764 int arg3
= (int) wxID_ANY
;
15765 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
15766 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
15767 wxSize
const &arg5_defvalue
= wxDefaultSize
;
15768 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
15769 long arg6
= (long) 0 ;
15770 wxString
const &arg7_defvalue
= wxPyVListBoxNameStr
;
15771 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
15783 bool temp7
= false ;
15784 PyObject
* obj0
= 0 ;
15785 PyObject
* obj1
= 0 ;
15786 PyObject
* obj2
= 0 ;
15787 PyObject
* obj3
= 0 ;
15788 PyObject
* obj4
= 0 ;
15789 PyObject
* obj5
= 0 ;
15790 PyObject
* obj6
= 0 ;
15791 char * kwnames
[] = {
15792 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
15795 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:HtmlListBox_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
15796 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyHtmlListBox
, 0 | 0 );
15797 if (!SWIG_IsOK(res1
)) {
15798 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlListBox_Create" "', expected argument " "1"" of type '" "wxPyHtmlListBox *""'");
15800 arg1
= reinterpret_cast< wxPyHtmlListBox
* >(argp1
);
15801 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
15802 if (!SWIG_IsOK(res2
)) {
15803 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "HtmlListBox_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
15805 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
15807 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
15808 if (!SWIG_IsOK(ecode3
)) {
15809 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "HtmlListBox_Create" "', expected argument " "3"" of type '" "int""'");
15811 arg3
= static_cast< int >(val3
);
15816 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
15822 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
15826 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
15827 if (!SWIG_IsOK(ecode6
)) {
15828 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "HtmlListBox_Create" "', expected argument " "6"" of type '" "long""'");
15830 arg6
= static_cast< long >(val6
);
15834 arg7
= wxString_in_helper(obj6
);
15835 if (arg7
== NULL
) SWIG_fail
;
15840 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15841 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
15842 wxPyEndAllowThreads(__tstate
);
15843 if (PyErr_Occurred()) SWIG_fail
;
15846 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15862 SWIGINTERN PyObject
*_wrap_HtmlListBox_SetItemCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15863 PyObject
*resultobj
= 0;
15864 wxPyHtmlListBox
*arg1
= (wxPyHtmlListBox
*) 0 ;
15870 PyObject
* obj0
= 0 ;
15871 PyObject
* obj1
= 0 ;
15872 char * kwnames
[] = {
15873 (char *) "self",(char *) "count", NULL
15876 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlListBox_SetItemCount",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
15877 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyHtmlListBox
, 0 | 0 );
15878 if (!SWIG_IsOK(res1
)) {
15879 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlListBox_SetItemCount" "', expected argument " "1"" of type '" "wxPyHtmlListBox *""'");
15881 arg1
= reinterpret_cast< wxPyHtmlListBox
* >(argp1
);
15882 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
15883 if (!SWIG_IsOK(ecode2
)) {
15884 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "HtmlListBox_SetItemCount" "', expected argument " "2"" of type '" "size_t""'");
15886 arg2
= static_cast< size_t >(val2
);
15888 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15889 (arg1
)->SetItemCount(arg2
);
15890 wxPyEndAllowThreads(__tstate
);
15891 if (PyErr_Occurred()) SWIG_fail
;
15893 resultobj
= SWIG_Py_Void();
15900 SWIGINTERN PyObject
*_wrap_HtmlListBox_GetFileSystem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15901 PyObject
*resultobj
= 0;
15902 wxPyHtmlListBox
*arg1
= (wxPyHtmlListBox
*) 0 ;
15903 wxFileSystem
*result
= 0 ;
15906 PyObject
*swig_obj
[1] ;
15908 if (!args
) SWIG_fail
;
15909 swig_obj
[0] = args
;
15910 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyHtmlListBox
, 0 | 0 );
15911 if (!SWIG_IsOK(res1
)) {
15912 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlListBox_GetFileSystem" "', expected argument " "1"" of type '" "wxPyHtmlListBox *""'");
15914 arg1
= reinterpret_cast< wxPyHtmlListBox
* >(argp1
);
15916 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15918 wxFileSystem
&_result_ref
= (arg1
)->GetFileSystem();
15919 result
= (wxFileSystem
*) &_result_ref
;
15921 wxPyEndAllowThreads(__tstate
);
15922 if (PyErr_Occurred()) SWIG_fail
;
15924 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFileSystem
, 0 | 0 );
15931 SWIGINTERN PyObject
*_wrap_HtmlListBox_OnLinkClicked(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15932 PyObject
*resultobj
= 0;
15933 wxPyHtmlListBox
*arg1
= (wxPyHtmlListBox
*) 0 ;
15935 wxHtmlLinkInfo
*arg3
= 0 ;
15942 PyObject
* obj0
= 0 ;
15943 PyObject
* obj1
= 0 ;
15944 PyObject
* obj2
= 0 ;
15945 char * kwnames
[] = {
15946 (char *) "self",(char *) "n",(char *) "link", NULL
15949 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:HtmlListBox_OnLinkClicked",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
15950 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyHtmlListBox
, 0 | 0 );
15951 if (!SWIG_IsOK(res1
)) {
15952 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlListBox_OnLinkClicked" "', expected argument " "1"" of type '" "wxPyHtmlListBox *""'");
15954 arg1
= reinterpret_cast< wxPyHtmlListBox
* >(argp1
);
15955 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
15956 if (!SWIG_IsOK(ecode2
)) {
15957 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "HtmlListBox_OnLinkClicked" "', expected argument " "2"" of type '" "size_t""'");
15959 arg2
= static_cast< size_t >(val2
);
15960 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxHtmlLinkInfo
, 0 | 0);
15961 if (!SWIG_IsOK(res3
)) {
15962 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "HtmlListBox_OnLinkClicked" "', expected argument " "3"" of type '" "wxHtmlLinkInfo const &""'");
15965 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "HtmlListBox_OnLinkClicked" "', expected argument " "3"" of type '" "wxHtmlLinkInfo const &""'");
15967 arg3
= reinterpret_cast< wxHtmlLinkInfo
* >(argp3
);
15969 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15970 (arg1
)->OnLinkClicked(arg2
,(wxHtmlLinkInfo
const &)*arg3
);
15971 wxPyEndAllowThreads(__tstate
);
15972 if (PyErr_Occurred()) SWIG_fail
;
15974 resultobj
= SWIG_Py_Void();
15981 SWIGINTERN PyObject
*HtmlListBox_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15983 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
15984 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyHtmlListBox
, SWIG_NewClientData(obj
));
15985 return SWIG_Py_Void();
15988 SWIGINTERN PyObject
*HtmlListBox_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15989 return SWIG_Python_InitShadowInstance(args
);
15992 SWIGINTERN PyObject
*_wrap_new_TaskBarIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15993 PyObject
*resultobj
= 0;
15994 wxPyTaskBarIcon
*result
= 0 ;
15996 if (!SWIG_Python_UnpackTuple(args
,"new_TaskBarIcon",0,0,0)) SWIG_fail
;
15998 if (!wxPyCheckForApp()) SWIG_fail
;
15999 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16000 result
= (wxPyTaskBarIcon
*)new wxPyTaskBarIcon();
16001 wxPyEndAllowThreads(__tstate
);
16002 if (PyErr_Occurred()) SWIG_fail
;
16004 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyTaskBarIcon
, SWIG_POINTER_NEW
| 0 );
16011 SWIGINTERN PyObject
*_wrap_delete_TaskBarIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16012 PyObject
*resultobj
= 0;
16013 wxPyTaskBarIcon
*arg1
= (wxPyTaskBarIcon
*) 0 ;
16016 PyObject
*swig_obj
[1] ;
16018 if (!args
) SWIG_fail
;
16019 swig_obj
[0] = args
;
16020 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTaskBarIcon
, SWIG_POINTER_DISOWN
| 0 );
16021 if (!SWIG_IsOK(res1
)) {
16022 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_TaskBarIcon" "', expected argument " "1"" of type '" "wxPyTaskBarIcon *""'");
16024 arg1
= reinterpret_cast< wxPyTaskBarIcon
* >(argp1
);
16026 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16029 wxPyEndAllowThreads(__tstate
);
16030 if (PyErr_Occurred()) SWIG_fail
;
16032 resultobj
= SWIG_Py_Void();
16039 SWIGINTERN PyObject
*_wrap_TaskBarIcon__setCallbackInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16040 PyObject
*resultobj
= 0;
16041 wxPyTaskBarIcon
*arg1
= (wxPyTaskBarIcon
*) 0 ;
16042 PyObject
*arg2
= (PyObject
*) 0 ;
16043 PyObject
*arg3
= (PyObject
*) 0 ;
16049 PyObject
* obj0
= 0 ;
16050 PyObject
* obj1
= 0 ;
16051 PyObject
* obj2
= 0 ;
16052 PyObject
* obj3
= 0 ;
16053 char * kwnames
[] = {
16054 (char *) "self",(char *) "self",(char *) "_class",(char *) "incref", NULL
16057 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:TaskBarIcon__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
16058 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTaskBarIcon
, 0 | 0 );
16059 if (!SWIG_IsOK(res1
)) {
16060 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TaskBarIcon__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyTaskBarIcon *""'");
16062 arg1
= reinterpret_cast< wxPyTaskBarIcon
* >(argp1
);
16065 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
16066 if (!SWIG_IsOK(ecode4
)) {
16067 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "TaskBarIcon__setCallbackInfo" "', expected argument " "4"" of type '" "int""'");
16069 arg4
= static_cast< int >(val4
);
16071 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16072 (arg1
)->_setCallbackInfo(arg2
,arg3
,arg4
);
16073 wxPyEndAllowThreads(__tstate
);
16074 if (PyErr_Occurred()) SWIG_fail
;
16076 resultobj
= SWIG_Py_Void();
16083 SWIGINTERN PyObject
*_wrap_TaskBarIcon_Destroy(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16084 PyObject
*resultobj
= 0;
16085 wxPyTaskBarIcon
*arg1
= (wxPyTaskBarIcon
*) 0 ;
16088 PyObject
*swig_obj
[1] ;
16090 if (!args
) SWIG_fail
;
16091 swig_obj
[0] = args
;
16092 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTaskBarIcon
, 0 | 0 );
16093 if (!SWIG_IsOK(res1
)) {
16094 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TaskBarIcon_Destroy" "', expected argument " "1"" of type '" "wxPyTaskBarIcon *""'");
16096 arg1
= reinterpret_cast< wxPyTaskBarIcon
* >(argp1
);
16098 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16099 wxPyTaskBarIcon_Destroy(arg1
);
16100 wxPyEndAllowThreads(__tstate
);
16101 if (PyErr_Occurred()) SWIG_fail
;
16103 resultobj
= SWIG_Py_Void();
16110 SWIGINTERN PyObject
*_wrap_TaskBarIcon_IsOk(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16111 PyObject
*resultobj
= 0;
16112 wxPyTaskBarIcon
*arg1
= (wxPyTaskBarIcon
*) 0 ;
16116 PyObject
*swig_obj
[1] ;
16118 if (!args
) SWIG_fail
;
16119 swig_obj
[0] = args
;
16120 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTaskBarIcon
, 0 | 0 );
16121 if (!SWIG_IsOK(res1
)) {
16122 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TaskBarIcon_IsOk" "', expected argument " "1"" of type '" "wxPyTaskBarIcon const *""'");
16124 arg1
= reinterpret_cast< wxPyTaskBarIcon
* >(argp1
);
16126 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16127 result
= (bool)((wxPyTaskBarIcon
const *)arg1
)->IsOk();
16128 wxPyEndAllowThreads(__tstate
);
16129 if (PyErr_Occurred()) SWIG_fail
;
16132 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16140 SWIGINTERN PyObject
*_wrap_TaskBarIcon_IsIconInstalled(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16141 PyObject
*resultobj
= 0;
16142 wxPyTaskBarIcon
*arg1
= (wxPyTaskBarIcon
*) 0 ;
16146 PyObject
*swig_obj
[1] ;
16148 if (!args
) SWIG_fail
;
16149 swig_obj
[0] = args
;
16150 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTaskBarIcon
, 0 | 0 );
16151 if (!SWIG_IsOK(res1
)) {
16152 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TaskBarIcon_IsIconInstalled" "', expected argument " "1"" of type '" "wxPyTaskBarIcon const *""'");
16154 arg1
= reinterpret_cast< wxPyTaskBarIcon
* >(argp1
);
16156 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16157 result
= (bool)((wxPyTaskBarIcon
const *)arg1
)->IsIconInstalled();
16158 wxPyEndAllowThreads(__tstate
);
16159 if (PyErr_Occurred()) SWIG_fail
;
16162 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16170 SWIGINTERN PyObject
*_wrap_TaskBarIcon_SetIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16171 PyObject
*resultobj
= 0;
16172 wxPyTaskBarIcon
*arg1
= (wxPyTaskBarIcon
*) 0 ;
16174 wxString
const &arg3_defvalue
= wxPyEmptyString
;
16175 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
16181 bool temp3
= false ;
16182 PyObject
* obj0
= 0 ;
16183 PyObject
* obj1
= 0 ;
16184 PyObject
* obj2
= 0 ;
16185 char * kwnames
[] = {
16186 (char *) "self",(char *) "icon",(char *) "tooltip", NULL
16189 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TaskBarIcon_SetIcon",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
16190 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTaskBarIcon
, 0 | 0 );
16191 if (!SWIG_IsOK(res1
)) {
16192 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TaskBarIcon_SetIcon" "', expected argument " "1"" of type '" "wxPyTaskBarIcon *""'");
16194 arg1
= reinterpret_cast< wxPyTaskBarIcon
* >(argp1
);
16195 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxIcon
, 0 | 0);
16196 if (!SWIG_IsOK(res2
)) {
16197 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TaskBarIcon_SetIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
16200 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TaskBarIcon_SetIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
16202 arg2
= reinterpret_cast< wxIcon
* >(argp2
);
16205 arg3
= wxString_in_helper(obj2
);
16206 if (arg3
== NULL
) SWIG_fail
;
16211 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16212 result
= (bool)(arg1
)->SetIcon((wxIcon
const &)*arg2
,(wxString
const &)*arg3
);
16213 wxPyEndAllowThreads(__tstate
);
16214 if (PyErr_Occurred()) SWIG_fail
;
16217 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16233 SWIGINTERN PyObject
*_wrap_TaskBarIcon_RemoveIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16234 PyObject
*resultobj
= 0;
16235 wxPyTaskBarIcon
*arg1
= (wxPyTaskBarIcon
*) 0 ;
16239 PyObject
*swig_obj
[1] ;
16241 if (!args
) SWIG_fail
;
16242 swig_obj
[0] = args
;
16243 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTaskBarIcon
, 0 | 0 );
16244 if (!SWIG_IsOK(res1
)) {
16245 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TaskBarIcon_RemoveIcon" "', expected argument " "1"" of type '" "wxPyTaskBarIcon *""'");
16247 arg1
= reinterpret_cast< wxPyTaskBarIcon
* >(argp1
);
16249 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16250 result
= (bool)(arg1
)->RemoveIcon();
16251 wxPyEndAllowThreads(__tstate
);
16252 if (PyErr_Occurred()) SWIG_fail
;
16255 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16263 SWIGINTERN PyObject
*_wrap_TaskBarIcon_PopupMenu(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16264 PyObject
*resultobj
= 0;
16265 wxPyTaskBarIcon
*arg1
= (wxPyTaskBarIcon
*) 0 ;
16266 wxMenu
*arg2
= (wxMenu
*) 0 ;
16272 PyObject
* obj0
= 0 ;
16273 PyObject
* obj1
= 0 ;
16274 char * kwnames
[] = {
16275 (char *) "self",(char *) "menu", NULL
16278 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TaskBarIcon_PopupMenu",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
16279 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTaskBarIcon
, 0 | 0 );
16280 if (!SWIG_IsOK(res1
)) {
16281 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TaskBarIcon_PopupMenu" "', expected argument " "1"" of type '" "wxPyTaskBarIcon *""'");
16283 arg1
= reinterpret_cast< wxPyTaskBarIcon
* >(argp1
);
16284 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxMenu
, 0 | 0 );
16285 if (!SWIG_IsOK(res2
)) {
16286 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TaskBarIcon_PopupMenu" "', expected argument " "2"" of type '" "wxMenu *""'");
16288 arg2
= reinterpret_cast< wxMenu
* >(argp2
);
16290 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16291 result
= (bool)(arg1
)->PopupMenu(arg2
);
16292 wxPyEndAllowThreads(__tstate
);
16293 if (PyErr_Occurred()) SWIG_fail
;
16296 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16304 SWIGINTERN PyObject
*TaskBarIcon_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16306 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
16307 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyTaskBarIcon
, SWIG_NewClientData(obj
));
16308 return SWIG_Py_Void();
16311 SWIGINTERN PyObject
*TaskBarIcon_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16312 return SWIG_Python_InitShadowInstance(args
);
16315 SWIGINTERN PyObject
*_wrap_new_TaskBarIconEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16316 PyObject
*resultobj
= 0;
16318 wxTaskBarIcon
*arg2
= (wxTaskBarIcon
*) 0 ;
16319 wxTaskBarIconEvent
*result
= 0 ;
16324 PyObject
* obj0
= 0 ;
16325 PyObject
* obj1
= 0 ;
16326 char * kwnames
[] = {
16327 (char *) "evtType",(char *) "tbIcon", NULL
16330 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_TaskBarIconEvent",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
16331 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
16332 if (!SWIG_IsOK(ecode1
)) {
16333 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_TaskBarIconEvent" "', expected argument " "1"" of type '" "wxEventType""'");
16335 arg1
= static_cast< wxEventType
>(val1
);
16336 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxTaskBarIcon
, 0 | 0 );
16337 if (!SWIG_IsOK(res2
)) {
16338 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_TaskBarIconEvent" "', expected argument " "2"" of type '" "wxTaskBarIcon *""'");
16340 arg2
= reinterpret_cast< wxTaskBarIcon
* >(argp2
);
16342 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16343 result
= (wxTaskBarIconEvent
*)new wxTaskBarIconEvent(arg1
,arg2
);
16344 wxPyEndAllowThreads(__tstate
);
16345 if (PyErr_Occurred()) SWIG_fail
;
16347 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxTaskBarIconEvent
, SWIG_POINTER_NEW
| 0 );
16354 SWIGINTERN PyObject
*TaskBarIconEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16356 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
16357 SWIG_TypeNewClientData(SWIGTYPE_p_wxTaskBarIconEvent
, SWIG_NewClientData(obj
));
16358 return SWIG_Py_Void();
16361 SWIGINTERN PyObject
*TaskBarIconEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16362 return SWIG_Python_InitShadowInstance(args
);
16365 SWIGINTERN
int FileSelectorPromptStr_set(PyObject
*) {
16366 SWIG_Error(SWIG_AttributeError
,"Variable FileSelectorPromptStr is read-only.");
16371 SWIGINTERN PyObject
*FileSelectorPromptStr_get(void) {
16372 PyObject
*pyobj
= 0;
16376 pyobj
= PyUnicode_FromWideChar((&wxPyFileSelectorPromptStr
)->c_str(), (&wxPyFileSelectorPromptStr
)->Len());
16378 pyobj
= PyString_FromStringAndSize((&wxPyFileSelectorPromptStr
)->c_str(), (&wxPyFileSelectorPromptStr
)->Len());
16385 SWIGINTERN
int DirSelectorPromptStr_set(PyObject
*) {
16386 SWIG_Error(SWIG_AttributeError
,"Variable DirSelectorPromptStr is read-only.");
16391 SWIGINTERN PyObject
*DirSelectorPromptStr_get(void) {
16392 PyObject
*pyobj
= 0;
16396 pyobj
= PyUnicode_FromWideChar((&wxPyDirSelectorPromptStr
)->c_str(), (&wxPyDirSelectorPromptStr
)->Len());
16398 pyobj
= PyString_FromStringAndSize((&wxPyDirSelectorPromptStr
)->c_str(), (&wxPyDirSelectorPromptStr
)->Len());
16405 SWIGINTERN
int DirDialogNameStr_set(PyObject
*) {
16406 SWIG_Error(SWIG_AttributeError
,"Variable DirDialogNameStr is read-only.");
16411 SWIGINTERN PyObject
*DirDialogNameStr_get(void) {
16412 PyObject
*pyobj
= 0;
16416 pyobj
= PyUnicode_FromWideChar((&wxPyDirDialogNameStr
)->c_str(), (&wxPyDirDialogNameStr
)->Len());
16418 pyobj
= PyString_FromStringAndSize((&wxPyDirDialogNameStr
)->c_str(), (&wxPyDirDialogNameStr
)->Len());
16425 SWIGINTERN
int FileSelectorDefaultWildcardStr_set(PyObject
*) {
16426 SWIG_Error(SWIG_AttributeError
,"Variable FileSelectorDefaultWildcardStr is read-only.");
16431 SWIGINTERN PyObject
*FileSelectorDefaultWildcardStr_get(void) {
16432 PyObject
*pyobj
= 0;
16436 pyobj
= PyUnicode_FromWideChar((&wxPyFileSelectorDefaultWildcardStr
)->c_str(), (&wxPyFileSelectorDefaultWildcardStr
)->Len());
16438 pyobj
= PyString_FromStringAndSize((&wxPyFileSelectorDefaultWildcardStr
)->c_str(), (&wxPyFileSelectorDefaultWildcardStr
)->Len());
16445 SWIGINTERN
int GetTextFromUserPromptStr_set(PyObject
*) {
16446 SWIG_Error(SWIG_AttributeError
,"Variable GetTextFromUserPromptStr is read-only.");
16451 SWIGINTERN PyObject
*GetTextFromUserPromptStr_get(void) {
16452 PyObject
*pyobj
= 0;
16456 pyobj
= PyUnicode_FromWideChar((&wxPyGetTextFromUserPromptStr
)->c_str(), (&wxPyGetTextFromUserPromptStr
)->Len());
16458 pyobj
= PyString_FromStringAndSize((&wxPyGetTextFromUserPromptStr
)->c_str(), (&wxPyGetTextFromUserPromptStr
)->Len());
16465 SWIGINTERN
int MessageBoxCaptionStr_set(PyObject
*) {
16466 SWIG_Error(SWIG_AttributeError
,"Variable MessageBoxCaptionStr is read-only.");
16471 SWIGINTERN PyObject
*MessageBoxCaptionStr_get(void) {
16472 PyObject
*pyobj
= 0;
16476 pyobj
= PyUnicode_FromWideChar((&wxPyMessageBoxCaptionStr
)->c_str(), (&wxPyMessageBoxCaptionStr
)->Len());
16478 pyobj
= PyString_FromStringAndSize((&wxPyMessageBoxCaptionStr
)->c_str(), (&wxPyMessageBoxCaptionStr
)->Len());
16485 SWIGINTERN PyObject
*_wrap_new_ColourData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16486 PyObject
*resultobj
= 0;
16487 wxColourData
*result
= 0 ;
16489 if (!SWIG_Python_UnpackTuple(args
,"new_ColourData",0,0,0)) SWIG_fail
;
16491 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16492 result
= (wxColourData
*)new wxColourData();
16493 wxPyEndAllowThreads(__tstate
);
16494 if (PyErr_Occurred()) SWIG_fail
;
16496 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxColourData
, SWIG_POINTER_NEW
| 0 );
16503 SWIGINTERN PyObject
*_wrap_delete_ColourData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16504 PyObject
*resultobj
= 0;
16505 wxColourData
*arg1
= (wxColourData
*) 0 ;
16508 PyObject
*swig_obj
[1] ;
16510 if (!args
) SWIG_fail
;
16511 swig_obj
[0] = args
;
16512 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxColourData
, SWIG_POINTER_DISOWN
| 0 );
16513 if (!SWIG_IsOK(res1
)) {
16514 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_ColourData" "', expected argument " "1"" of type '" "wxColourData *""'");
16516 arg1
= reinterpret_cast< wxColourData
* >(argp1
);
16518 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16521 wxPyEndAllowThreads(__tstate
);
16522 if (PyErr_Occurred()) SWIG_fail
;
16524 resultobj
= SWIG_Py_Void();
16531 SWIGINTERN PyObject
*_wrap_ColourData_GetChooseFull(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16532 PyObject
*resultobj
= 0;
16533 wxColourData
*arg1
= (wxColourData
*) 0 ;
16537 PyObject
*swig_obj
[1] ;
16539 if (!args
) SWIG_fail
;
16540 swig_obj
[0] = args
;
16541 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxColourData
, 0 | 0 );
16542 if (!SWIG_IsOK(res1
)) {
16543 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ColourData_GetChooseFull" "', expected argument " "1"" of type '" "wxColourData *""'");
16545 arg1
= reinterpret_cast< wxColourData
* >(argp1
);
16547 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16548 result
= (bool)(arg1
)->GetChooseFull();
16549 wxPyEndAllowThreads(__tstate
);
16550 if (PyErr_Occurred()) SWIG_fail
;
16553 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16561 SWIGINTERN PyObject
*_wrap_ColourData_GetColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16562 PyObject
*resultobj
= 0;
16563 wxColourData
*arg1
= (wxColourData
*) 0 ;
16567 PyObject
*swig_obj
[1] ;
16569 if (!args
) SWIG_fail
;
16570 swig_obj
[0] = args
;
16571 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxColourData
, 0 | 0 );
16572 if (!SWIG_IsOK(res1
)) {
16573 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ColourData_GetColour" "', expected argument " "1"" of type '" "wxColourData *""'");
16575 arg1
= reinterpret_cast< wxColourData
* >(argp1
);
16577 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16578 result
= (arg1
)->GetColour();
16579 wxPyEndAllowThreads(__tstate
);
16580 if (PyErr_Occurred()) SWIG_fail
;
16582 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
16589 SWIGINTERN PyObject
*_wrap_ColourData_GetCustomColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16590 PyObject
*resultobj
= 0;
16591 wxColourData
*arg1
= (wxColourData
*) 0 ;
16598 PyObject
* obj0
= 0 ;
16599 PyObject
* obj1
= 0 ;
16600 char * kwnames
[] = {
16601 (char *) "self",(char *) "i", NULL
16604 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ColourData_GetCustomColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
16605 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxColourData
, 0 | 0 );
16606 if (!SWIG_IsOK(res1
)) {
16607 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ColourData_GetCustomColour" "', expected argument " "1"" of type '" "wxColourData *""'");
16609 arg1
= reinterpret_cast< wxColourData
* >(argp1
);
16610 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
16611 if (!SWIG_IsOK(ecode2
)) {
16612 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ColourData_GetCustomColour" "', expected argument " "2"" of type '" "int""'");
16614 arg2
= static_cast< int >(val2
);
16616 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16617 result
= (arg1
)->GetCustomColour(arg2
);
16618 wxPyEndAllowThreads(__tstate
);
16619 if (PyErr_Occurred()) SWIG_fail
;
16621 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
16628 SWIGINTERN PyObject
*_wrap_ColourData_SetChooseFull(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16629 PyObject
*resultobj
= 0;
16630 wxColourData
*arg1
= (wxColourData
*) 0 ;
16636 PyObject
* obj0
= 0 ;
16637 PyObject
* obj1
= 0 ;
16638 char * kwnames
[] = {
16639 (char *) "self",(char *) "flag", NULL
16642 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ColourData_SetChooseFull",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
16643 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxColourData
, 0 | 0 );
16644 if (!SWIG_IsOK(res1
)) {
16645 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ColourData_SetChooseFull" "', expected argument " "1"" of type '" "wxColourData *""'");
16647 arg1
= reinterpret_cast< wxColourData
* >(argp1
);
16648 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
16649 if (!SWIG_IsOK(ecode2
)) {
16650 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ColourData_SetChooseFull" "', expected argument " "2"" of type '" "int""'");
16652 arg2
= static_cast< int >(val2
);
16654 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16655 (arg1
)->SetChooseFull(arg2
);
16656 wxPyEndAllowThreads(__tstate
);
16657 if (PyErr_Occurred()) SWIG_fail
;
16659 resultobj
= SWIG_Py_Void();
16666 SWIGINTERN PyObject
*_wrap_ColourData_SetColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16667 PyObject
*resultobj
= 0;
16668 wxColourData
*arg1
= (wxColourData
*) 0 ;
16669 wxColour
*arg2
= 0 ;
16673 PyObject
* obj0
= 0 ;
16674 PyObject
* obj1
= 0 ;
16675 char * kwnames
[] = {
16676 (char *) "self",(char *) "colour", NULL
16679 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ColourData_SetColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
16680 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxColourData
, 0 | 0 );
16681 if (!SWIG_IsOK(res1
)) {
16682 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ColourData_SetColour" "', expected argument " "1"" of type '" "wxColourData *""'");
16684 arg1
= reinterpret_cast< wxColourData
* >(argp1
);
16687 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
16690 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16691 (arg1
)->SetColour((wxColour
const &)*arg2
);
16692 wxPyEndAllowThreads(__tstate
);
16693 if (PyErr_Occurred()) SWIG_fail
;
16695 resultobj
= SWIG_Py_Void();
16702 SWIGINTERN PyObject
*_wrap_ColourData_SetCustomColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16703 PyObject
*resultobj
= 0;
16704 wxColourData
*arg1
= (wxColourData
*) 0 ;
16706 wxColour
*arg3
= 0 ;
16712 PyObject
* obj0
= 0 ;
16713 PyObject
* obj1
= 0 ;
16714 PyObject
* obj2
= 0 ;
16715 char * kwnames
[] = {
16716 (char *) "self",(char *) "i",(char *) "colour", NULL
16719 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ColourData_SetCustomColour",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
16720 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxColourData
, 0 | 0 );
16721 if (!SWIG_IsOK(res1
)) {
16722 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ColourData_SetCustomColour" "', expected argument " "1"" of type '" "wxColourData *""'");
16724 arg1
= reinterpret_cast< wxColourData
* >(argp1
);
16725 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
16726 if (!SWIG_IsOK(ecode2
)) {
16727 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ColourData_SetCustomColour" "', expected argument " "2"" of type '" "int""'");
16729 arg2
= static_cast< int >(val2
);
16732 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
16735 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16736 (arg1
)->SetCustomColour(arg2
,(wxColour
const &)*arg3
);
16737 wxPyEndAllowThreads(__tstate
);
16738 if (PyErr_Occurred()) SWIG_fail
;
16740 resultobj
= SWIG_Py_Void();
16747 SWIGINTERN PyObject
*ColourData_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16749 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
16750 SWIG_TypeNewClientData(SWIGTYPE_p_wxColourData
, SWIG_NewClientData(obj
));
16751 return SWIG_Py_Void();
16754 SWIGINTERN PyObject
*ColourData_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16755 return SWIG_Python_InitShadowInstance(args
);
16758 SWIGINTERN PyObject
*_wrap_new_ColourDialog(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16759 PyObject
*resultobj
= 0;
16760 wxWindow
*arg1
= (wxWindow
*) 0 ;
16761 wxColourData
*arg2
= (wxColourData
*) NULL
;
16762 wxColourDialog
*result
= 0 ;
16767 PyObject
* obj0
= 0 ;
16768 PyObject
* obj1
= 0 ;
16769 char * kwnames
[] = {
16770 (char *) "parent",(char *) "data", NULL
16773 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_ColourDialog",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
16774 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
16775 if (!SWIG_IsOK(res1
)) {
16776 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_ColourDialog" "', expected argument " "1"" of type '" "wxWindow *""'");
16778 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
16780 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxColourData
, 0 | 0 );
16781 if (!SWIG_IsOK(res2
)) {
16782 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_ColourDialog" "', expected argument " "2"" of type '" "wxColourData *""'");
16784 arg2
= reinterpret_cast< wxColourData
* >(argp2
);
16787 if (!wxPyCheckForApp()) SWIG_fail
;
16788 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16789 result
= (wxColourDialog
*)new wxColourDialog(arg1
,arg2
);
16790 wxPyEndAllowThreads(__tstate
);
16791 if (PyErr_Occurred()) SWIG_fail
;
16793 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxColourDialog
, SWIG_POINTER_NEW
| 0 );
16800 SWIGINTERN PyObject
*_wrap_ColourDialog_GetColourData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16801 PyObject
*resultobj
= 0;
16802 wxColourDialog
*arg1
= (wxColourDialog
*) 0 ;
16803 wxColourData
*result
= 0 ;
16806 PyObject
*swig_obj
[1] ;
16808 if (!args
) SWIG_fail
;
16809 swig_obj
[0] = args
;
16810 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxColourDialog
, 0 | 0 );
16811 if (!SWIG_IsOK(res1
)) {
16812 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ColourDialog_GetColourData" "', expected argument " "1"" of type '" "wxColourDialog *""'");
16814 arg1
= reinterpret_cast< wxColourDialog
* >(argp1
);
16816 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16818 wxColourData
&_result_ref
= (arg1
)->GetColourData();
16819 result
= (wxColourData
*) &_result_ref
;
16821 wxPyEndAllowThreads(__tstate
);
16822 if (PyErr_Occurred()) SWIG_fail
;
16824 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxColourData
, 0 | 0 );
16831 SWIGINTERN PyObject
*ColourDialog_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16833 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
16834 SWIG_TypeNewClientData(SWIGTYPE_p_wxColourDialog
, SWIG_NewClientData(obj
));
16835 return SWIG_Py_Void();
16838 SWIGINTERN PyObject
*ColourDialog_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16839 return SWIG_Python_InitShadowInstance(args
);
16842 SWIGINTERN PyObject
*_wrap_GetColourFromUser(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16843 PyObject
*resultobj
= 0;
16844 wxWindow
*arg1
= (wxWindow
*) (wxWindow
*) NULL
;
16845 wxColour
const &arg2_defvalue
= wxNullColour
;
16846 wxColour
*arg2
= (wxColour
*) &arg2_defvalue
;
16847 wxString
const &arg3_defvalue
= wxPyEmptyString
;
16848 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
16853 bool temp3
= false ;
16854 PyObject
* obj0
= 0 ;
16855 PyObject
* obj1
= 0 ;
16856 PyObject
* obj2
= 0 ;
16857 char * kwnames
[] = {
16858 (char *) "parent",(char *) "colInit",(char *) "caption", NULL
16861 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOO:GetColourFromUser",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
16863 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
16864 if (!SWIG_IsOK(res1
)) {
16865 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GetColourFromUser" "', expected argument " "1"" of type '" "wxWindow *""'");
16867 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
16872 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
16877 arg3
= wxString_in_helper(obj2
);
16878 if (arg3
== NULL
) SWIG_fail
;
16883 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16884 result
= wxGetColourFromUser(arg1
,(wxColour
const &)*arg2
,(wxString
const &)*arg3
);
16885 wxPyEndAllowThreads(__tstate
);
16886 if (PyErr_Occurred()) SWIG_fail
;
16888 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
16903 SWIGINTERN PyObject
*_wrap_new_DirDialog(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16904 PyObject
*resultobj
= 0;
16905 wxWindow
*arg1
= (wxWindow
*) 0 ;
16906 wxString
const &arg2_defvalue
= wxPyDirSelectorPromptStr
;
16907 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
16908 wxString
const &arg3_defvalue
= wxPyEmptyString
;
16909 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
16910 long arg4
= (long) wxDD_DEFAULT_STYLE
;
16911 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
16912 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
16913 wxSize
const &arg6_defvalue
= wxDefaultSize
;
16914 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
16915 wxString
const &arg7_defvalue
= wxPyDirDialogNameStr
;
16916 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
16917 wxDirDialog
*result
= 0 ;
16920 bool temp2
= false ;
16921 bool temp3
= false ;
16926 bool temp7
= false ;
16927 PyObject
* obj0
= 0 ;
16928 PyObject
* obj1
= 0 ;
16929 PyObject
* obj2
= 0 ;
16930 PyObject
* obj3
= 0 ;
16931 PyObject
* obj4
= 0 ;
16932 PyObject
* obj5
= 0 ;
16933 PyObject
* obj6
= 0 ;
16934 char * kwnames
[] = {
16935 (char *) "parent",(char *) "message",(char *) "defaultPath",(char *) "style",(char *) "pos",(char *) "size",(char *) "name", NULL
16938 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_DirDialog",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
16939 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
16940 if (!SWIG_IsOK(res1
)) {
16941 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_DirDialog" "', expected argument " "1"" of type '" "wxWindow *""'");
16943 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
16946 arg2
= wxString_in_helper(obj1
);
16947 if (arg2
== NULL
) SWIG_fail
;
16953 arg3
= wxString_in_helper(obj2
);
16954 if (arg3
== NULL
) SWIG_fail
;
16959 ecode4
= SWIG_AsVal_long(obj3
, &val4
);
16960 if (!SWIG_IsOK(ecode4
)) {
16961 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_DirDialog" "', expected argument " "4"" of type '" "long""'");
16963 arg4
= static_cast< long >(val4
);
16968 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
16974 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
16979 arg7
= wxString_in_helper(obj6
);
16980 if (arg7
== NULL
) SWIG_fail
;
16985 if (!wxPyCheckForApp()) SWIG_fail
;
16986 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16987 result
= (wxDirDialog
*)new wxDirDialog(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,(wxString
const &)*arg7
);
16988 wxPyEndAllowThreads(__tstate
);
16989 if (PyErr_Occurred()) SWIG_fail
;
16991 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDirDialog
, SWIG_POINTER_NEW
| 0 );
17022 SWIGINTERN PyObject
*_wrap_DirDialog_GetPath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17023 PyObject
*resultobj
= 0;
17024 wxDirDialog
*arg1
= (wxDirDialog
*) 0 ;
17028 PyObject
*swig_obj
[1] ;
17030 if (!args
) SWIG_fail
;
17031 swig_obj
[0] = args
;
17032 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDirDialog
, 0 | 0 );
17033 if (!SWIG_IsOK(res1
)) {
17034 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DirDialog_GetPath" "', expected argument " "1"" of type '" "wxDirDialog *""'");
17036 arg1
= reinterpret_cast< wxDirDialog
* >(argp1
);
17038 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17039 result
= (arg1
)->GetPath();
17040 wxPyEndAllowThreads(__tstate
);
17041 if (PyErr_Occurred()) SWIG_fail
;
17045 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
17047 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
17056 SWIGINTERN PyObject
*_wrap_DirDialog_GetMessage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17057 PyObject
*resultobj
= 0;
17058 wxDirDialog
*arg1
= (wxDirDialog
*) 0 ;
17062 PyObject
*swig_obj
[1] ;
17064 if (!args
) SWIG_fail
;
17065 swig_obj
[0] = args
;
17066 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDirDialog
, 0 | 0 );
17067 if (!SWIG_IsOK(res1
)) {
17068 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DirDialog_GetMessage" "', expected argument " "1"" of type '" "wxDirDialog *""'");
17070 arg1
= reinterpret_cast< wxDirDialog
* >(argp1
);
17072 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17073 result
= (arg1
)->GetMessage();
17074 wxPyEndAllowThreads(__tstate
);
17075 if (PyErr_Occurred()) SWIG_fail
;
17079 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
17081 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
17090 SWIGINTERN PyObject
*_wrap_DirDialog_SetMessage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17091 PyObject
*resultobj
= 0;
17092 wxDirDialog
*arg1
= (wxDirDialog
*) 0 ;
17093 wxString
*arg2
= 0 ;
17096 bool temp2
= false ;
17097 PyObject
* obj0
= 0 ;
17098 PyObject
* obj1
= 0 ;
17099 char * kwnames
[] = {
17100 (char *) "self",(char *) "message", NULL
17103 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DirDialog_SetMessage",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
17104 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDirDialog
, 0 | 0 );
17105 if (!SWIG_IsOK(res1
)) {
17106 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DirDialog_SetMessage" "', expected argument " "1"" of type '" "wxDirDialog *""'");
17108 arg1
= reinterpret_cast< wxDirDialog
* >(argp1
);
17110 arg2
= wxString_in_helper(obj1
);
17111 if (arg2
== NULL
) SWIG_fail
;
17115 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17116 (arg1
)->SetMessage((wxString
const &)*arg2
);
17117 wxPyEndAllowThreads(__tstate
);
17118 if (PyErr_Occurred()) SWIG_fail
;
17120 resultobj
= SWIG_Py_Void();
17135 SWIGINTERN PyObject
*_wrap_DirDialog_SetPath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17136 PyObject
*resultobj
= 0;
17137 wxDirDialog
*arg1
= (wxDirDialog
*) 0 ;
17138 wxString
*arg2
= 0 ;
17141 bool temp2
= false ;
17142 PyObject
* obj0
= 0 ;
17143 PyObject
* obj1
= 0 ;
17144 char * kwnames
[] = {
17145 (char *) "self",(char *) "path", NULL
17148 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DirDialog_SetPath",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
17149 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDirDialog
, 0 | 0 );
17150 if (!SWIG_IsOK(res1
)) {
17151 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DirDialog_SetPath" "', expected argument " "1"" of type '" "wxDirDialog *""'");
17153 arg1
= reinterpret_cast< wxDirDialog
* >(argp1
);
17155 arg2
= wxString_in_helper(obj1
);
17156 if (arg2
== NULL
) SWIG_fail
;
17160 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17161 (arg1
)->SetPath((wxString
const &)*arg2
);
17162 wxPyEndAllowThreads(__tstate
);
17163 if (PyErr_Occurred()) SWIG_fail
;
17165 resultobj
= SWIG_Py_Void();
17180 SWIGINTERN PyObject
*DirDialog_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17182 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
17183 SWIG_TypeNewClientData(SWIGTYPE_p_wxDirDialog
, SWIG_NewClientData(obj
));
17184 return SWIG_Py_Void();
17187 SWIGINTERN PyObject
*DirDialog_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17188 return SWIG_Python_InitShadowInstance(args
);
17191 SWIGINTERN PyObject
*_wrap_new_FileDialog(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17192 PyObject
*resultobj
= 0;
17193 wxWindow
*arg1
= (wxWindow
*) 0 ;
17194 wxString
const &arg2_defvalue
= wxPyFileSelectorPromptStr
;
17195 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
17196 wxString
const &arg3_defvalue
= wxPyEmptyString
;
17197 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
17198 wxString
const &arg4_defvalue
= wxPyEmptyString
;
17199 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
17200 wxString
const &arg5_defvalue
= wxPyFileSelectorDefaultWildcardStr
;
17201 wxString
*arg5
= (wxString
*) &arg5_defvalue
;
17202 long arg6
= (long) wxFD_DEFAULT_STYLE
;
17203 wxPoint
const &arg7_defvalue
= wxDefaultPosition
;
17204 wxPoint
*arg7
= (wxPoint
*) &arg7_defvalue
;
17205 wxFileDialog
*result
= 0 ;
17208 bool temp2
= false ;
17209 bool temp3
= false ;
17210 bool temp4
= false ;
17211 bool temp5
= false ;
17215 PyObject
* obj0
= 0 ;
17216 PyObject
* obj1
= 0 ;
17217 PyObject
* obj2
= 0 ;
17218 PyObject
* obj3
= 0 ;
17219 PyObject
* obj4
= 0 ;
17220 PyObject
* obj5
= 0 ;
17221 PyObject
* obj6
= 0 ;
17222 char * kwnames
[] = {
17223 (char *) "parent",(char *) "message",(char *) "defaultDir",(char *) "defaultFile",(char *) "wildcard",(char *) "style",(char *) "pos", NULL
17226 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_FileDialog",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
17227 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
17228 if (!SWIG_IsOK(res1
)) {
17229 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_FileDialog" "', expected argument " "1"" of type '" "wxWindow *""'");
17231 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
17234 arg2
= wxString_in_helper(obj1
);
17235 if (arg2
== NULL
) SWIG_fail
;
17241 arg3
= wxString_in_helper(obj2
);
17242 if (arg3
== NULL
) SWIG_fail
;
17248 arg4
= wxString_in_helper(obj3
);
17249 if (arg4
== NULL
) SWIG_fail
;
17255 arg5
= wxString_in_helper(obj4
);
17256 if (arg5
== NULL
) SWIG_fail
;
17261 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
17262 if (!SWIG_IsOK(ecode6
)) {
17263 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_FileDialog" "', expected argument " "6"" of type '" "long""'");
17265 arg6
= static_cast< long >(val6
);
17270 if ( ! wxPoint_helper(obj6
, &arg7
)) SWIG_fail
;
17274 if (!wxPyCheckForApp()) SWIG_fail
;
17275 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17276 result
= (wxFileDialog
*)new wxFileDialog(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
,(wxString
const &)*arg5
,arg6
,(wxPoint
const &)*arg7
);
17277 wxPyEndAllowThreads(__tstate
);
17278 if (PyErr_Occurred()) SWIG_fail
;
17280 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFileDialog
, SWIG_POINTER_NEW
| 0 );
17319 SWIGINTERN PyObject
*_wrap_FileDialog_SetMessage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17320 PyObject
*resultobj
= 0;
17321 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
17322 wxString
*arg2
= 0 ;
17325 bool temp2
= false ;
17326 PyObject
* obj0
= 0 ;
17327 PyObject
* obj1
= 0 ;
17328 char * kwnames
[] = {
17329 (char *) "self",(char *) "message", NULL
17332 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileDialog_SetMessage",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
17333 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFileDialog
, 0 | 0 );
17334 if (!SWIG_IsOK(res1
)) {
17335 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileDialog_SetMessage" "', expected argument " "1"" of type '" "wxFileDialog *""'");
17337 arg1
= reinterpret_cast< wxFileDialog
* >(argp1
);
17339 arg2
= wxString_in_helper(obj1
);
17340 if (arg2
== NULL
) SWIG_fail
;
17344 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17345 (arg1
)->SetMessage((wxString
const &)*arg2
);
17346 wxPyEndAllowThreads(__tstate
);
17347 if (PyErr_Occurred()) SWIG_fail
;
17349 resultobj
= SWIG_Py_Void();
17364 SWIGINTERN PyObject
*_wrap_FileDialog_SetPath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17365 PyObject
*resultobj
= 0;
17366 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
17367 wxString
*arg2
= 0 ;
17370 bool temp2
= false ;
17371 PyObject
* obj0
= 0 ;
17372 PyObject
* obj1
= 0 ;
17373 char * kwnames
[] = {
17374 (char *) "self",(char *) "path", NULL
17377 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileDialog_SetPath",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
17378 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFileDialog
, 0 | 0 );
17379 if (!SWIG_IsOK(res1
)) {
17380 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileDialog_SetPath" "', expected argument " "1"" of type '" "wxFileDialog *""'");
17382 arg1
= reinterpret_cast< wxFileDialog
* >(argp1
);
17384 arg2
= wxString_in_helper(obj1
);
17385 if (arg2
== NULL
) SWIG_fail
;
17389 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17390 (arg1
)->SetPath((wxString
const &)*arg2
);
17391 wxPyEndAllowThreads(__tstate
);
17392 if (PyErr_Occurred()) SWIG_fail
;
17394 resultobj
= SWIG_Py_Void();
17409 SWIGINTERN PyObject
*_wrap_FileDialog_SetDirectory(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17410 PyObject
*resultobj
= 0;
17411 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
17412 wxString
*arg2
= 0 ;
17415 bool temp2
= false ;
17416 PyObject
* obj0
= 0 ;
17417 PyObject
* obj1
= 0 ;
17418 char * kwnames
[] = {
17419 (char *) "self",(char *) "dir", NULL
17422 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileDialog_SetDirectory",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
17423 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFileDialog
, 0 | 0 );
17424 if (!SWIG_IsOK(res1
)) {
17425 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileDialog_SetDirectory" "', expected argument " "1"" of type '" "wxFileDialog *""'");
17427 arg1
= reinterpret_cast< wxFileDialog
* >(argp1
);
17429 arg2
= wxString_in_helper(obj1
);
17430 if (arg2
== NULL
) SWIG_fail
;
17434 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17435 (arg1
)->SetDirectory((wxString
const &)*arg2
);
17436 wxPyEndAllowThreads(__tstate
);
17437 if (PyErr_Occurred()) SWIG_fail
;
17439 resultobj
= SWIG_Py_Void();
17454 SWIGINTERN PyObject
*_wrap_FileDialog_SetFilename(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17455 PyObject
*resultobj
= 0;
17456 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
17457 wxString
*arg2
= 0 ;
17460 bool temp2
= false ;
17461 PyObject
* obj0
= 0 ;
17462 PyObject
* obj1
= 0 ;
17463 char * kwnames
[] = {
17464 (char *) "self",(char *) "name", NULL
17467 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileDialog_SetFilename",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
17468 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFileDialog
, 0 | 0 );
17469 if (!SWIG_IsOK(res1
)) {
17470 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileDialog_SetFilename" "', expected argument " "1"" of type '" "wxFileDialog *""'");
17472 arg1
= reinterpret_cast< wxFileDialog
* >(argp1
);
17474 arg2
= wxString_in_helper(obj1
);
17475 if (arg2
== NULL
) SWIG_fail
;
17479 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17480 (arg1
)->SetFilename((wxString
const &)*arg2
);
17481 wxPyEndAllowThreads(__tstate
);
17482 if (PyErr_Occurred()) SWIG_fail
;
17484 resultobj
= SWIG_Py_Void();
17499 SWIGINTERN PyObject
*_wrap_FileDialog_SetWildcard(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17500 PyObject
*resultobj
= 0;
17501 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
17502 wxString
*arg2
= 0 ;
17505 bool temp2
= false ;
17506 PyObject
* obj0
= 0 ;
17507 PyObject
* obj1
= 0 ;
17508 char * kwnames
[] = {
17509 (char *) "self",(char *) "wildCard", NULL
17512 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileDialog_SetWildcard",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
17513 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFileDialog
, 0 | 0 );
17514 if (!SWIG_IsOK(res1
)) {
17515 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileDialog_SetWildcard" "', expected argument " "1"" of type '" "wxFileDialog *""'");
17517 arg1
= reinterpret_cast< wxFileDialog
* >(argp1
);
17519 arg2
= wxString_in_helper(obj1
);
17520 if (arg2
== NULL
) SWIG_fail
;
17524 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17525 (arg1
)->SetWildcard((wxString
const &)*arg2
);
17526 wxPyEndAllowThreads(__tstate
);
17527 if (PyErr_Occurred()) SWIG_fail
;
17529 resultobj
= SWIG_Py_Void();
17544 SWIGINTERN PyObject
*_wrap_FileDialog_SetFilterIndex(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17545 PyObject
*resultobj
= 0;
17546 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
17552 PyObject
* obj0
= 0 ;
17553 PyObject
* obj1
= 0 ;
17554 char * kwnames
[] = {
17555 (char *) "self",(char *) "filterIndex", NULL
17558 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileDialog_SetFilterIndex",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
17559 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFileDialog
, 0 | 0 );
17560 if (!SWIG_IsOK(res1
)) {
17561 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileDialog_SetFilterIndex" "', expected argument " "1"" of type '" "wxFileDialog *""'");
17563 arg1
= reinterpret_cast< wxFileDialog
* >(argp1
);
17564 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
17565 if (!SWIG_IsOK(ecode2
)) {
17566 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "FileDialog_SetFilterIndex" "', expected argument " "2"" of type '" "int""'");
17568 arg2
= static_cast< int >(val2
);
17570 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17571 (arg1
)->SetFilterIndex(arg2
);
17572 wxPyEndAllowThreads(__tstate
);
17573 if (PyErr_Occurred()) SWIG_fail
;
17575 resultobj
= SWIG_Py_Void();
17582 SWIGINTERN PyObject
*_wrap_FileDialog_GetMessage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17583 PyObject
*resultobj
= 0;
17584 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
17588 PyObject
*swig_obj
[1] ;
17590 if (!args
) SWIG_fail
;
17591 swig_obj
[0] = args
;
17592 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFileDialog
, 0 | 0 );
17593 if (!SWIG_IsOK(res1
)) {
17594 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileDialog_GetMessage" "', expected argument " "1"" of type '" "wxFileDialog const *""'");
17596 arg1
= reinterpret_cast< wxFileDialog
* >(argp1
);
17598 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17599 result
= ((wxFileDialog
const *)arg1
)->GetMessage();
17600 wxPyEndAllowThreads(__tstate
);
17601 if (PyErr_Occurred()) SWIG_fail
;
17605 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
17607 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
17616 SWIGINTERN PyObject
*_wrap_FileDialog_GetPath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17617 PyObject
*resultobj
= 0;
17618 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
17622 PyObject
*swig_obj
[1] ;
17624 if (!args
) SWIG_fail
;
17625 swig_obj
[0] = args
;
17626 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFileDialog
, 0 | 0 );
17627 if (!SWIG_IsOK(res1
)) {
17628 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileDialog_GetPath" "', expected argument " "1"" of type '" "wxFileDialog const *""'");
17630 arg1
= reinterpret_cast< wxFileDialog
* >(argp1
);
17632 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17633 result
= ((wxFileDialog
const *)arg1
)->GetPath();
17634 wxPyEndAllowThreads(__tstate
);
17635 if (PyErr_Occurred()) SWIG_fail
;
17639 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
17641 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
17650 SWIGINTERN PyObject
*_wrap_FileDialog_GetDirectory(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17651 PyObject
*resultobj
= 0;
17652 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
17656 PyObject
*swig_obj
[1] ;
17658 if (!args
) SWIG_fail
;
17659 swig_obj
[0] = args
;
17660 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFileDialog
, 0 | 0 );
17661 if (!SWIG_IsOK(res1
)) {
17662 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileDialog_GetDirectory" "', expected argument " "1"" of type '" "wxFileDialog const *""'");
17664 arg1
= reinterpret_cast< wxFileDialog
* >(argp1
);
17666 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17667 result
= ((wxFileDialog
const *)arg1
)->GetDirectory();
17668 wxPyEndAllowThreads(__tstate
);
17669 if (PyErr_Occurred()) SWIG_fail
;
17673 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
17675 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
17684 SWIGINTERN PyObject
*_wrap_FileDialog_GetFilename(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17685 PyObject
*resultobj
= 0;
17686 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
17690 PyObject
*swig_obj
[1] ;
17692 if (!args
) SWIG_fail
;
17693 swig_obj
[0] = args
;
17694 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFileDialog
, 0 | 0 );
17695 if (!SWIG_IsOK(res1
)) {
17696 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileDialog_GetFilename" "', expected argument " "1"" of type '" "wxFileDialog const *""'");
17698 arg1
= reinterpret_cast< wxFileDialog
* >(argp1
);
17700 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17701 result
= ((wxFileDialog
const *)arg1
)->GetFilename();
17702 wxPyEndAllowThreads(__tstate
);
17703 if (PyErr_Occurred()) SWIG_fail
;
17707 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
17709 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
17718 SWIGINTERN PyObject
*_wrap_FileDialog_GetWildcard(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17719 PyObject
*resultobj
= 0;
17720 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
17724 PyObject
*swig_obj
[1] ;
17726 if (!args
) SWIG_fail
;
17727 swig_obj
[0] = args
;
17728 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFileDialog
, 0 | 0 );
17729 if (!SWIG_IsOK(res1
)) {
17730 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileDialog_GetWildcard" "', expected argument " "1"" of type '" "wxFileDialog const *""'");
17732 arg1
= reinterpret_cast< wxFileDialog
* >(argp1
);
17734 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17735 result
= ((wxFileDialog
const *)arg1
)->GetWildcard();
17736 wxPyEndAllowThreads(__tstate
);
17737 if (PyErr_Occurred()) SWIG_fail
;
17741 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
17743 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
17752 SWIGINTERN PyObject
*_wrap_FileDialog_GetFilterIndex(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17753 PyObject
*resultobj
= 0;
17754 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
17758 PyObject
*swig_obj
[1] ;
17760 if (!args
) SWIG_fail
;
17761 swig_obj
[0] = args
;
17762 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFileDialog
, 0 | 0 );
17763 if (!SWIG_IsOK(res1
)) {
17764 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileDialog_GetFilterIndex" "', expected argument " "1"" of type '" "wxFileDialog const *""'");
17766 arg1
= reinterpret_cast< wxFileDialog
* >(argp1
);
17768 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17769 result
= (int)((wxFileDialog
const *)arg1
)->GetFilterIndex();
17770 wxPyEndAllowThreads(__tstate
);
17771 if (PyErr_Occurred()) SWIG_fail
;
17773 resultobj
= SWIG_From_int(static_cast< int >(result
));
17780 SWIGINTERN PyObject
*_wrap_FileDialog_GetFilenames(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17781 PyObject
*resultobj
= 0;
17782 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
17783 PyObject
*result
= 0 ;
17786 PyObject
*swig_obj
[1] ;
17788 if (!args
) SWIG_fail
;
17789 swig_obj
[0] = args
;
17790 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFileDialog
, 0 | 0 );
17791 if (!SWIG_IsOK(res1
)) {
17792 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileDialog_GetFilenames" "', expected argument " "1"" of type '" "wxFileDialog *""'");
17794 arg1
= reinterpret_cast< wxFileDialog
* >(argp1
);
17796 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17797 result
= (PyObject
*)wxFileDialog_GetFilenames(arg1
);
17798 wxPyEndAllowThreads(__tstate
);
17799 if (PyErr_Occurred()) SWIG_fail
;
17801 resultobj
= result
;
17808 SWIGINTERN PyObject
*_wrap_FileDialog_GetPaths(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17809 PyObject
*resultobj
= 0;
17810 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
17811 PyObject
*result
= 0 ;
17814 PyObject
*swig_obj
[1] ;
17816 if (!args
) SWIG_fail
;
17817 swig_obj
[0] = args
;
17818 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFileDialog
, 0 | 0 );
17819 if (!SWIG_IsOK(res1
)) {
17820 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileDialog_GetPaths" "', expected argument " "1"" of type '" "wxFileDialog *""'");
17822 arg1
= reinterpret_cast< wxFileDialog
* >(argp1
);
17824 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17825 result
= (PyObject
*)wxFileDialog_GetPaths(arg1
);
17826 wxPyEndAllowThreads(__tstate
);
17827 if (PyErr_Occurred()) SWIG_fail
;
17829 resultobj
= result
;
17836 SWIGINTERN PyObject
*FileDialog_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17838 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
17839 SWIG_TypeNewClientData(SWIGTYPE_p_wxFileDialog
, SWIG_NewClientData(obj
));
17840 return SWIG_Py_Void();
17843 SWIGINTERN PyObject
*FileDialog_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17844 return SWIG_Python_InitShadowInstance(args
);
17847 SWIGINTERN PyObject
*_wrap_new_MultiChoiceDialog(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17848 PyObject
*resultobj
= 0;
17849 wxWindow
*arg1
= (wxWindow
*) 0 ;
17850 wxString
*arg2
= 0 ;
17851 wxString
*arg3
= 0 ;
17852 int arg4
= (int) 0 ;
17853 wxString
*arg5
= (wxString
*) NULL
;
17854 long arg6
= (long) wxCHOICEDLG_STYLE
;
17855 wxPoint
const &arg7_defvalue
= wxDefaultPosition
;
17856 wxPoint
*arg7
= (wxPoint
*) &arg7_defvalue
;
17857 wxMultiChoiceDialog
*result
= 0 ;
17860 bool temp2
= false ;
17861 bool temp3
= false ;
17865 PyObject
* obj0
= 0 ;
17866 PyObject
* obj1
= 0 ;
17867 PyObject
* obj2
= 0 ;
17868 PyObject
* obj3
= 0 ;
17869 PyObject
* obj4
= 0 ;
17870 PyObject
* obj5
= 0 ;
17871 char * kwnames
[] = {
17872 (char *) "parent",(char *) "message",(char *) "caption",(char *) "choices",(char *) "style",(char *) "pos", NULL
17875 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOO:new_MultiChoiceDialog",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
17876 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
17877 if (!SWIG_IsOK(res1
)) {
17878 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_MultiChoiceDialog" "', expected argument " "1"" of type '" "wxWindow *""'");
17880 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
17882 arg2
= wxString_in_helper(obj1
);
17883 if (arg2
== NULL
) SWIG_fail
;
17887 arg3
= wxString_in_helper(obj2
);
17888 if (arg3
== NULL
) SWIG_fail
;
17893 arg4
= PyList_Size(obj3
);
17894 arg5
= wxString_LIST_helper(obj3
);
17895 if (arg5
== NULL
) SWIG_fail
;
17899 ecode6
= SWIG_AsVal_long(obj4
, &val6
);
17900 if (!SWIG_IsOK(ecode6
)) {
17901 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_MultiChoiceDialog" "', expected argument " "6"" of type '" "long""'");
17903 arg6
= static_cast< long >(val6
);
17908 if ( ! wxPoint_helper(obj5
, &arg7
)) SWIG_fail
;
17912 if (!wxPyCheckForApp()) SWIG_fail
;
17913 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17914 result
= (wxMultiChoiceDialog
*)new wxMultiChoiceDialog(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,arg4
,arg5
,arg6
,(wxPoint
const &)*arg7
);
17915 wxPyEndAllowThreads(__tstate
);
17916 if (PyErr_Occurred()) SWIG_fail
;
17918 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMultiChoiceDialog
, SWIG_POINTER_NEW
| 0 );
17928 if (arg5
) delete [] arg5
;
17941 if (arg5
) delete [] arg5
;
17947 SWIGINTERN PyObject
*_wrap_MultiChoiceDialog_SetSelections(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17948 PyObject
*resultobj
= 0;
17949 wxMultiChoiceDialog
*arg1
= (wxMultiChoiceDialog
*) 0 ;
17950 wxArrayInt
*arg2
= 0 ;
17953 bool temp2
= false ;
17954 PyObject
* obj0
= 0 ;
17955 PyObject
* obj1
= 0 ;
17956 char * kwnames
[] = {
17957 (char *) "self",(char *) "selections", NULL
17960 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MultiChoiceDialog_SetSelections",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
17961 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMultiChoiceDialog
, 0 | 0 );
17962 if (!SWIG_IsOK(res1
)) {
17963 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MultiChoiceDialog_SetSelections" "', expected argument " "1"" of type '" "wxMultiChoiceDialog *""'");
17965 arg1
= reinterpret_cast< wxMultiChoiceDialog
* >(argp1
);
17967 if (! PySequence_Check(obj1
)) {
17968 PyErr_SetString(PyExc_TypeError
, "Sequence of integers expected.");
17971 arg2
= new wxArrayInt
;
17973 int i
, len
=PySequence_Length(obj1
);
17974 for (i
=0; i
<len
; i
++) {
17975 PyObject
* item
= PySequence_GetItem(obj1
, i
);
17976 PyObject
* number
= PyNumber_Int(item
);
17977 arg2
->Add(PyInt_AS_LONG(number
));
17983 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17984 (arg1
)->SetSelections((wxArrayInt
const &)*arg2
);
17985 wxPyEndAllowThreads(__tstate
);
17986 if (PyErr_Occurred()) SWIG_fail
;
17988 resultobj
= SWIG_Py_Void();
17990 if (temp2
) delete arg2
;
17995 if (temp2
) delete arg2
;
18001 SWIGINTERN PyObject
*_wrap_MultiChoiceDialog_GetSelections(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18002 PyObject
*resultobj
= 0;
18003 wxMultiChoiceDialog
*arg1
= (wxMultiChoiceDialog
*) 0 ;
18004 PyObject
*result
= 0 ;
18007 PyObject
*swig_obj
[1] ;
18009 if (!args
) SWIG_fail
;
18010 swig_obj
[0] = args
;
18011 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMultiChoiceDialog
, 0 | 0 );
18012 if (!SWIG_IsOK(res1
)) {
18013 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MultiChoiceDialog_GetSelections" "', expected argument " "1"" of type '" "wxMultiChoiceDialog *""'");
18015 arg1
= reinterpret_cast< wxMultiChoiceDialog
* >(argp1
);
18017 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18018 result
= (PyObject
*)wxMultiChoiceDialog_GetSelections(arg1
);
18019 wxPyEndAllowThreads(__tstate
);
18020 if (PyErr_Occurred()) SWIG_fail
;
18022 resultobj
= result
;
18029 SWIGINTERN PyObject
*MultiChoiceDialog_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18031 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
18032 SWIG_TypeNewClientData(SWIGTYPE_p_wxMultiChoiceDialog
, SWIG_NewClientData(obj
));
18033 return SWIG_Py_Void();
18036 SWIGINTERN PyObject
*MultiChoiceDialog_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18037 return SWIG_Python_InitShadowInstance(args
);
18040 SWIGINTERN PyObject
*_wrap_new_SingleChoiceDialog(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18041 PyObject
*resultobj
= 0;
18042 wxWindow
*arg1
= (wxWindow
*) 0 ;
18043 wxString
*arg2
= 0 ;
18044 wxString
*arg3
= 0 ;
18046 wxString
*arg5
= (wxString
*) 0 ;
18047 long arg6
= (long) wxCHOICEDLG_STYLE
;
18048 wxPoint
const &arg7_defvalue
= wxDefaultPosition
;
18049 wxPoint
*arg7
= (wxPoint
*) &arg7_defvalue
;
18050 wxSingleChoiceDialog
*result
= 0 ;
18053 bool temp2
= false ;
18054 bool temp3
= false ;
18058 PyObject
* obj0
= 0 ;
18059 PyObject
* obj1
= 0 ;
18060 PyObject
* obj2
= 0 ;
18061 PyObject
* obj3
= 0 ;
18062 PyObject
* obj4
= 0 ;
18063 PyObject
* obj5
= 0 ;
18064 char * kwnames
[] = {
18065 (char *) "parent",(char *) "message",(char *) "caption",(char *) "choices",(char *) "style",(char *) "pos", NULL
18068 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OO:new_SingleChoiceDialog",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
18069 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
18070 if (!SWIG_IsOK(res1
)) {
18071 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_SingleChoiceDialog" "', expected argument " "1"" of type '" "wxWindow *""'");
18073 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
18075 arg2
= wxString_in_helper(obj1
);
18076 if (arg2
== NULL
) SWIG_fail
;
18080 arg3
= wxString_in_helper(obj2
);
18081 if (arg3
== NULL
) SWIG_fail
;
18085 arg4
= PyList_Size(obj3
);
18086 arg5
= wxString_LIST_helper(obj3
);
18087 if (arg5
== NULL
) SWIG_fail
;
18090 ecode6
= SWIG_AsVal_long(obj4
, &val6
);
18091 if (!SWIG_IsOK(ecode6
)) {
18092 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_SingleChoiceDialog" "', expected argument " "6"" of type '" "long""'");
18094 arg6
= static_cast< long >(val6
);
18099 if ( ! wxPoint_helper(obj5
, &arg7
)) SWIG_fail
;
18103 if (!wxPyCheckForApp()) SWIG_fail
;
18104 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18105 result
= (wxSingleChoiceDialog
*)new_wxSingleChoiceDialog(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,arg4
,arg5
,arg6
,(wxPoint
const &)*arg7
);
18106 wxPyEndAllowThreads(__tstate
);
18107 if (PyErr_Occurred()) SWIG_fail
;
18109 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSingleChoiceDialog
, SWIG_POINTER_NEW
| 0 );
18119 if (arg5
) delete [] arg5
;
18132 if (arg5
) delete [] arg5
;
18138 SWIGINTERN PyObject
*_wrap_SingleChoiceDialog_GetSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18139 PyObject
*resultobj
= 0;
18140 wxSingleChoiceDialog
*arg1
= (wxSingleChoiceDialog
*) 0 ;
18144 PyObject
*swig_obj
[1] ;
18146 if (!args
) SWIG_fail
;
18147 swig_obj
[0] = args
;
18148 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSingleChoiceDialog
, 0 | 0 );
18149 if (!SWIG_IsOK(res1
)) {
18150 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SingleChoiceDialog_GetSelection" "', expected argument " "1"" of type '" "wxSingleChoiceDialog *""'");
18152 arg1
= reinterpret_cast< wxSingleChoiceDialog
* >(argp1
);
18154 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18155 result
= (int)(arg1
)->GetSelection();
18156 wxPyEndAllowThreads(__tstate
);
18157 if (PyErr_Occurred()) SWIG_fail
;
18159 resultobj
= SWIG_From_int(static_cast< int >(result
));
18166 SWIGINTERN PyObject
*_wrap_SingleChoiceDialog_GetStringSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18167 PyObject
*resultobj
= 0;
18168 wxSingleChoiceDialog
*arg1
= (wxSingleChoiceDialog
*) 0 ;
18172 PyObject
*swig_obj
[1] ;
18174 if (!args
) SWIG_fail
;
18175 swig_obj
[0] = args
;
18176 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSingleChoiceDialog
, 0 | 0 );
18177 if (!SWIG_IsOK(res1
)) {
18178 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SingleChoiceDialog_GetStringSelection" "', expected argument " "1"" of type '" "wxSingleChoiceDialog *""'");
18180 arg1
= reinterpret_cast< wxSingleChoiceDialog
* >(argp1
);
18182 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18183 result
= (arg1
)->GetStringSelection();
18184 wxPyEndAllowThreads(__tstate
);
18185 if (PyErr_Occurred()) SWIG_fail
;
18189 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
18191 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
18200 SWIGINTERN PyObject
*_wrap_SingleChoiceDialog_SetSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18201 PyObject
*resultobj
= 0;
18202 wxSingleChoiceDialog
*arg1
= (wxSingleChoiceDialog
*) 0 ;
18208 PyObject
* obj0
= 0 ;
18209 PyObject
* obj1
= 0 ;
18210 char * kwnames
[] = {
18211 (char *) "self",(char *) "sel", NULL
18214 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SingleChoiceDialog_SetSelection",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
18215 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSingleChoiceDialog
, 0 | 0 );
18216 if (!SWIG_IsOK(res1
)) {
18217 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SingleChoiceDialog_SetSelection" "', expected argument " "1"" of type '" "wxSingleChoiceDialog *""'");
18219 arg1
= reinterpret_cast< wxSingleChoiceDialog
* >(argp1
);
18220 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
18221 if (!SWIG_IsOK(ecode2
)) {
18222 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SingleChoiceDialog_SetSelection" "', expected argument " "2"" of type '" "int""'");
18224 arg2
= static_cast< int >(val2
);
18226 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18227 (arg1
)->SetSelection(arg2
);
18228 wxPyEndAllowThreads(__tstate
);
18229 if (PyErr_Occurred()) SWIG_fail
;
18231 resultobj
= SWIG_Py_Void();
18238 SWIGINTERN PyObject
*SingleChoiceDialog_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18240 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
18241 SWIG_TypeNewClientData(SWIGTYPE_p_wxSingleChoiceDialog
, SWIG_NewClientData(obj
));
18242 return SWIG_Py_Void();
18245 SWIGINTERN PyObject
*SingleChoiceDialog_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18246 return SWIG_Python_InitShadowInstance(args
);
18249 SWIGINTERN PyObject
*_wrap_new_TextEntryDialog(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18250 PyObject
*resultobj
= 0;
18251 wxWindow
*arg1
= (wxWindow
*) 0 ;
18252 wxString
*arg2
= 0 ;
18253 wxString
const &arg3_defvalue
= wxPyGetTextFromUserPromptStr
;
18254 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
18255 wxString
const &arg4_defvalue
= wxPyEmptyString
;
18256 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
18257 long arg5
= (long) wxTextEntryDialogStyle
;
18258 wxPoint
const &arg6_defvalue
= wxDefaultPosition
;
18259 wxPoint
*arg6
= (wxPoint
*) &arg6_defvalue
;
18260 wxTextEntryDialog
*result
= 0 ;
18263 bool temp2
= false ;
18264 bool temp3
= false ;
18265 bool temp4
= false ;
18269 PyObject
* obj0
= 0 ;
18270 PyObject
* obj1
= 0 ;
18271 PyObject
* obj2
= 0 ;
18272 PyObject
* obj3
= 0 ;
18273 PyObject
* obj4
= 0 ;
18274 PyObject
* obj5
= 0 ;
18275 char * kwnames
[] = {
18276 (char *) "parent",(char *) "message",(char *) "caption",(char *) "defaultValue",(char *) "style",(char *) "pos", NULL
18279 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOO:new_TextEntryDialog",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
18280 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
18281 if (!SWIG_IsOK(res1
)) {
18282 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_TextEntryDialog" "', expected argument " "1"" of type '" "wxWindow *""'");
18284 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
18286 arg2
= wxString_in_helper(obj1
);
18287 if (arg2
== NULL
) SWIG_fail
;
18292 arg3
= wxString_in_helper(obj2
);
18293 if (arg3
== NULL
) SWIG_fail
;
18299 arg4
= wxString_in_helper(obj3
);
18300 if (arg4
== NULL
) SWIG_fail
;
18305 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
18306 if (!SWIG_IsOK(ecode5
)) {
18307 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_TextEntryDialog" "', expected argument " "5"" of type '" "long""'");
18309 arg5
= static_cast< long >(val5
);
18314 if ( ! wxPoint_helper(obj5
, &arg6
)) SWIG_fail
;
18318 if (!wxPyCheckForApp()) SWIG_fail
;
18319 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18320 result
= (wxTextEntryDialog
*)new wxTextEntryDialog(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
,arg5
,(wxPoint
const &)*arg6
);
18321 wxPyEndAllowThreads(__tstate
);
18322 if (PyErr_Occurred()) SWIG_fail
;
18324 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxTextEntryDialog
, SWIG_POINTER_NEW
| 0 );
18355 SWIGINTERN PyObject
*_wrap_TextEntryDialog_GetValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18356 PyObject
*resultobj
= 0;
18357 wxTextEntryDialog
*arg1
= (wxTextEntryDialog
*) 0 ;
18361 PyObject
*swig_obj
[1] ;
18363 if (!args
) SWIG_fail
;
18364 swig_obj
[0] = args
;
18365 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextEntryDialog
, 0 | 0 );
18366 if (!SWIG_IsOK(res1
)) {
18367 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextEntryDialog_GetValue" "', expected argument " "1"" of type '" "wxTextEntryDialog *""'");
18369 arg1
= reinterpret_cast< wxTextEntryDialog
* >(argp1
);
18371 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18372 result
= (arg1
)->GetValue();
18373 wxPyEndAllowThreads(__tstate
);
18374 if (PyErr_Occurred()) SWIG_fail
;
18378 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
18380 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
18389 SWIGINTERN PyObject
*_wrap_TextEntryDialog_SetValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18390 PyObject
*resultobj
= 0;
18391 wxTextEntryDialog
*arg1
= (wxTextEntryDialog
*) 0 ;
18392 wxString
*arg2
= 0 ;
18395 bool temp2
= false ;
18396 PyObject
* obj0
= 0 ;
18397 PyObject
* obj1
= 0 ;
18398 char * kwnames
[] = {
18399 (char *) "self",(char *) "value", NULL
18402 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextEntryDialog_SetValue",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
18403 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextEntryDialog
, 0 | 0 );
18404 if (!SWIG_IsOK(res1
)) {
18405 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextEntryDialog_SetValue" "', expected argument " "1"" of type '" "wxTextEntryDialog *""'");
18407 arg1
= reinterpret_cast< wxTextEntryDialog
* >(argp1
);
18409 arg2
= wxString_in_helper(obj1
);
18410 if (arg2
== NULL
) SWIG_fail
;
18414 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18415 (arg1
)->SetValue((wxString
const &)*arg2
);
18416 wxPyEndAllowThreads(__tstate
);
18417 if (PyErr_Occurred()) SWIG_fail
;
18419 resultobj
= SWIG_Py_Void();
18434 SWIGINTERN PyObject
*TextEntryDialog_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18436 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
18437 SWIG_TypeNewClientData(SWIGTYPE_p_wxTextEntryDialog
, SWIG_NewClientData(obj
));
18438 return SWIG_Py_Void();
18441 SWIGINTERN PyObject
*TextEntryDialog_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18442 return SWIG_Python_InitShadowInstance(args
);
18445 SWIGINTERN
int GetPasswordFromUserPromptStr_set(PyObject
*) {
18446 SWIG_Error(SWIG_AttributeError
,"Variable GetPasswordFromUserPromptStr is read-only.");
18451 SWIGINTERN PyObject
*GetPasswordFromUserPromptStr_get(void) {
18452 PyObject
*pyobj
= 0;
18456 pyobj
= PyUnicode_FromWideChar((&wxPyGetPasswordFromUserPromptStr
)->c_str(), (&wxPyGetPasswordFromUserPromptStr
)->Len());
18458 pyobj
= PyString_FromStringAndSize((&wxPyGetPasswordFromUserPromptStr
)->c_str(), (&wxPyGetPasswordFromUserPromptStr
)->Len());
18465 SWIGINTERN PyObject
*_wrap_new_PasswordEntryDialog(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18466 PyObject
*resultobj
= 0;
18467 wxWindow
*arg1
= (wxWindow
*) 0 ;
18468 wxString
*arg2
= 0 ;
18469 wxString
const &arg3_defvalue
= wxPyGetPasswordFromUserPromptStr
;
18470 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
18471 wxString
const &arg4_defvalue
= wxPyEmptyString
;
18472 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
18473 long arg5
= (long) wxTextEntryDialogStyle
;
18474 wxPoint
const &arg6_defvalue
= wxDefaultPosition
;
18475 wxPoint
*arg6
= (wxPoint
*) &arg6_defvalue
;
18476 wxPasswordEntryDialog
*result
= 0 ;
18479 bool temp2
= false ;
18480 bool temp3
= false ;
18481 bool temp4
= false ;
18485 PyObject
* obj0
= 0 ;
18486 PyObject
* obj1
= 0 ;
18487 PyObject
* obj2
= 0 ;
18488 PyObject
* obj3
= 0 ;
18489 PyObject
* obj4
= 0 ;
18490 PyObject
* obj5
= 0 ;
18491 char * kwnames
[] = {
18492 (char *) "parent",(char *) "message",(char *) "caption",(char *) "value",(char *) "style",(char *) "pos", NULL
18495 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOO:new_PasswordEntryDialog",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
18496 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
18497 if (!SWIG_IsOK(res1
)) {
18498 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PasswordEntryDialog" "', expected argument " "1"" of type '" "wxWindow *""'");
18500 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
18502 arg2
= wxString_in_helper(obj1
);
18503 if (arg2
== NULL
) SWIG_fail
;
18508 arg3
= wxString_in_helper(obj2
);
18509 if (arg3
== NULL
) SWIG_fail
;
18515 arg4
= wxString_in_helper(obj3
);
18516 if (arg4
== NULL
) SWIG_fail
;
18521 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
18522 if (!SWIG_IsOK(ecode5
)) {
18523 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_PasswordEntryDialog" "', expected argument " "5"" of type '" "long""'");
18525 arg5
= static_cast< long >(val5
);
18530 if ( ! wxPoint_helper(obj5
, &arg6
)) SWIG_fail
;
18534 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18535 result
= (wxPasswordEntryDialog
*)new wxPasswordEntryDialog(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
,arg5
,(wxPoint
const &)*arg6
);
18536 wxPyEndAllowThreads(__tstate
);
18537 if (PyErr_Occurred()) SWIG_fail
;
18539 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPasswordEntryDialog
, SWIG_POINTER_NEW
| 0 );
18570 SWIGINTERN PyObject
*PasswordEntryDialog_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18572 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
18573 SWIG_TypeNewClientData(SWIGTYPE_p_wxPasswordEntryDialog
, SWIG_NewClientData(obj
));
18574 return SWIG_Py_Void();
18577 SWIGINTERN PyObject
*PasswordEntryDialog_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18578 return SWIG_Python_InitShadowInstance(args
);
18581 SWIGINTERN PyObject
*_wrap_new_NumberEntryDialog(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18582 PyObject
*resultobj
= 0;
18583 wxWindow
*arg1
= (wxWindow
*) 0 ;
18584 wxString
*arg2
= 0 ;
18585 wxString
*arg3
= 0 ;
18586 wxString
*arg4
= 0 ;
18590 wxPoint
const &arg8_defvalue
= wxDefaultPosition
;
18591 wxPoint
*arg8
= (wxPoint
*) &arg8_defvalue
;
18592 wxNumberEntryDialog
*result
= 0 ;
18595 bool temp2
= false ;
18596 bool temp3
= false ;
18597 bool temp4
= false ;
18605 PyObject
* obj0
= 0 ;
18606 PyObject
* obj1
= 0 ;
18607 PyObject
* obj2
= 0 ;
18608 PyObject
* obj3
= 0 ;
18609 PyObject
* obj4
= 0 ;
18610 PyObject
* obj5
= 0 ;
18611 PyObject
* obj6
= 0 ;
18612 PyObject
* obj7
= 0 ;
18613 char * kwnames
[] = {
18614 (char *) "parent",(char *) "message",(char *) "prompt",(char *) "caption",(char *) "value",(char *) "min",(char *) "max",(char *) "pos", NULL
18617 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOOO|O:new_NumberEntryDialog",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
18618 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
18619 if (!SWIG_IsOK(res1
)) {
18620 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_NumberEntryDialog" "', expected argument " "1"" of type '" "wxWindow *""'");
18622 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
18624 arg2
= wxString_in_helper(obj1
);
18625 if (arg2
== NULL
) SWIG_fail
;
18629 arg3
= wxString_in_helper(obj2
);
18630 if (arg3
== NULL
) SWIG_fail
;
18634 arg4
= wxString_in_helper(obj3
);
18635 if (arg4
== NULL
) SWIG_fail
;
18638 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
18639 if (!SWIG_IsOK(ecode5
)) {
18640 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_NumberEntryDialog" "', expected argument " "5"" of type '" "long""'");
18642 arg5
= static_cast< long >(val5
);
18643 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
18644 if (!SWIG_IsOK(ecode6
)) {
18645 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_NumberEntryDialog" "', expected argument " "6"" of type '" "long""'");
18647 arg6
= static_cast< long >(val6
);
18648 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
18649 if (!SWIG_IsOK(ecode7
)) {
18650 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "new_NumberEntryDialog" "', expected argument " "7"" of type '" "long""'");
18652 arg7
= static_cast< long >(val7
);
18656 if ( ! wxPoint_helper(obj7
, &arg8
)) SWIG_fail
;
18660 if (!wxPyCheckForApp()) SWIG_fail
;
18661 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18662 result
= (wxNumberEntryDialog
*)new wxNumberEntryDialog(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
,arg5
,arg6
,arg7
,(wxPoint
const &)*arg8
);
18663 wxPyEndAllowThreads(__tstate
);
18664 if (PyErr_Occurred()) SWIG_fail
;
18666 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxNumberEntryDialog
, SWIG_POINTER_NEW
| 0 );
18697 SWIGINTERN PyObject
*_wrap_NumberEntryDialog_GetValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18698 PyObject
*resultobj
= 0;
18699 wxNumberEntryDialog
*arg1
= (wxNumberEntryDialog
*) 0 ;
18703 PyObject
*swig_obj
[1] ;
18705 if (!args
) SWIG_fail
;
18706 swig_obj
[0] = args
;
18707 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNumberEntryDialog
, 0 | 0 );
18708 if (!SWIG_IsOK(res1
)) {
18709 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NumberEntryDialog_GetValue" "', expected argument " "1"" of type '" "wxNumberEntryDialog *""'");
18711 arg1
= reinterpret_cast< wxNumberEntryDialog
* >(argp1
);
18713 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18714 result
= (long)(arg1
)->GetValue();
18715 wxPyEndAllowThreads(__tstate
);
18716 if (PyErr_Occurred()) SWIG_fail
;
18718 resultobj
= SWIG_From_long(static_cast< long >(result
));
18725 SWIGINTERN PyObject
*NumberEntryDialog_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18727 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
18728 SWIG_TypeNewClientData(SWIGTYPE_p_wxNumberEntryDialog
, SWIG_NewClientData(obj
));
18729 return SWIG_Py_Void();
18732 SWIGINTERN PyObject
*NumberEntryDialog_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18733 return SWIG_Python_InitShadowInstance(args
);
18736 SWIGINTERN PyObject
*_wrap_new_FontData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18737 PyObject
*resultobj
= 0;
18738 wxFontData
*result
= 0 ;
18740 if (!SWIG_Python_UnpackTuple(args
,"new_FontData",0,0,0)) SWIG_fail
;
18742 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18743 result
= (wxFontData
*)new wxFontData();
18744 wxPyEndAllowThreads(__tstate
);
18745 if (PyErr_Occurred()) SWIG_fail
;
18747 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFontData
, SWIG_POINTER_NEW
| 0 );
18754 SWIGINTERN PyObject
*_wrap_delete_FontData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18755 PyObject
*resultobj
= 0;
18756 wxFontData
*arg1
= (wxFontData
*) 0 ;
18759 PyObject
*swig_obj
[1] ;
18761 if (!args
) SWIG_fail
;
18762 swig_obj
[0] = args
;
18763 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFontData
, SWIG_POINTER_DISOWN
| 0 );
18764 if (!SWIG_IsOK(res1
)) {
18765 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_FontData" "', expected argument " "1"" of type '" "wxFontData *""'");
18767 arg1
= reinterpret_cast< wxFontData
* >(argp1
);
18769 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18772 wxPyEndAllowThreads(__tstate
);
18773 if (PyErr_Occurred()) SWIG_fail
;
18775 resultobj
= SWIG_Py_Void();
18782 SWIGINTERN PyObject
*_wrap_FontData_EnableEffects(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18783 PyObject
*resultobj
= 0;
18784 wxFontData
*arg1
= (wxFontData
*) 0 ;
18790 PyObject
* obj0
= 0 ;
18791 PyObject
* obj1
= 0 ;
18792 char * kwnames
[] = {
18793 (char *) "self",(char *) "enable", NULL
18796 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontData_EnableEffects",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
18797 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFontData
, 0 | 0 );
18798 if (!SWIG_IsOK(res1
)) {
18799 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontData_EnableEffects" "', expected argument " "1"" of type '" "wxFontData *""'");
18801 arg1
= reinterpret_cast< wxFontData
* >(argp1
);
18802 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
18803 if (!SWIG_IsOK(ecode2
)) {
18804 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "FontData_EnableEffects" "', expected argument " "2"" of type '" "bool""'");
18806 arg2
= static_cast< bool >(val2
);
18808 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18809 (arg1
)->EnableEffects(arg2
);
18810 wxPyEndAllowThreads(__tstate
);
18811 if (PyErr_Occurred()) SWIG_fail
;
18813 resultobj
= SWIG_Py_Void();
18820 SWIGINTERN PyObject
*_wrap_FontData_GetAllowSymbols(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18821 PyObject
*resultobj
= 0;
18822 wxFontData
*arg1
= (wxFontData
*) 0 ;
18826 PyObject
*swig_obj
[1] ;
18828 if (!args
) SWIG_fail
;
18829 swig_obj
[0] = args
;
18830 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFontData
, 0 | 0 );
18831 if (!SWIG_IsOK(res1
)) {
18832 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontData_GetAllowSymbols" "', expected argument " "1"" of type '" "wxFontData *""'");
18834 arg1
= reinterpret_cast< wxFontData
* >(argp1
);
18836 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18837 result
= (bool)(arg1
)->GetAllowSymbols();
18838 wxPyEndAllowThreads(__tstate
);
18839 if (PyErr_Occurred()) SWIG_fail
;
18842 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18850 SWIGINTERN PyObject
*_wrap_FontData_GetColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18851 PyObject
*resultobj
= 0;
18852 wxFontData
*arg1
= (wxFontData
*) 0 ;
18856 PyObject
*swig_obj
[1] ;
18858 if (!args
) SWIG_fail
;
18859 swig_obj
[0] = args
;
18860 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFontData
, 0 | 0 );
18861 if (!SWIG_IsOK(res1
)) {
18862 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontData_GetColour" "', expected argument " "1"" of type '" "wxFontData *""'");
18864 arg1
= reinterpret_cast< wxFontData
* >(argp1
);
18866 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18867 result
= (arg1
)->GetColour();
18868 wxPyEndAllowThreads(__tstate
);
18869 if (PyErr_Occurred()) SWIG_fail
;
18871 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
18878 SWIGINTERN PyObject
*_wrap_FontData_GetChosenFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18879 PyObject
*resultobj
= 0;
18880 wxFontData
*arg1
= (wxFontData
*) 0 ;
18884 PyObject
*swig_obj
[1] ;
18886 if (!args
) SWIG_fail
;
18887 swig_obj
[0] = args
;
18888 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFontData
, 0 | 0 );
18889 if (!SWIG_IsOK(res1
)) {
18890 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontData_GetChosenFont" "', expected argument " "1"" of type '" "wxFontData *""'");
18892 arg1
= reinterpret_cast< wxFontData
* >(argp1
);
18894 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18895 result
= (arg1
)->GetChosenFont();
18896 wxPyEndAllowThreads(__tstate
);
18897 if (PyErr_Occurred()) SWIG_fail
;
18899 resultobj
= SWIG_NewPointerObj((new wxFont(static_cast< const wxFont
& >(result
))), SWIGTYPE_p_wxFont
, SWIG_POINTER_OWN
| 0 );
18906 SWIGINTERN PyObject
*_wrap_FontData_GetEnableEffects(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18907 PyObject
*resultobj
= 0;
18908 wxFontData
*arg1
= (wxFontData
*) 0 ;
18912 PyObject
*swig_obj
[1] ;
18914 if (!args
) SWIG_fail
;
18915 swig_obj
[0] = args
;
18916 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFontData
, 0 | 0 );
18917 if (!SWIG_IsOK(res1
)) {
18918 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontData_GetEnableEffects" "', expected argument " "1"" of type '" "wxFontData *""'");
18920 arg1
= reinterpret_cast< wxFontData
* >(argp1
);
18922 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18923 result
= (bool)(arg1
)->GetEnableEffects();
18924 wxPyEndAllowThreads(__tstate
);
18925 if (PyErr_Occurred()) SWIG_fail
;
18928 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18936 SWIGINTERN PyObject
*_wrap_FontData_GetInitialFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18937 PyObject
*resultobj
= 0;
18938 wxFontData
*arg1
= (wxFontData
*) 0 ;
18942 PyObject
*swig_obj
[1] ;
18944 if (!args
) SWIG_fail
;
18945 swig_obj
[0] = args
;
18946 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFontData
, 0 | 0 );
18947 if (!SWIG_IsOK(res1
)) {
18948 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontData_GetInitialFont" "', expected argument " "1"" of type '" "wxFontData *""'");
18950 arg1
= reinterpret_cast< wxFontData
* >(argp1
);
18952 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18953 result
= (arg1
)->GetInitialFont();
18954 wxPyEndAllowThreads(__tstate
);
18955 if (PyErr_Occurred()) SWIG_fail
;
18957 resultobj
= SWIG_NewPointerObj((new wxFont(static_cast< const wxFont
& >(result
))), SWIGTYPE_p_wxFont
, SWIG_POINTER_OWN
| 0 );
18964 SWIGINTERN PyObject
*_wrap_FontData_GetShowHelp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18965 PyObject
*resultobj
= 0;
18966 wxFontData
*arg1
= (wxFontData
*) 0 ;
18970 PyObject
*swig_obj
[1] ;
18972 if (!args
) SWIG_fail
;
18973 swig_obj
[0] = args
;
18974 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFontData
, 0 | 0 );
18975 if (!SWIG_IsOK(res1
)) {
18976 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontData_GetShowHelp" "', expected argument " "1"" of type '" "wxFontData *""'");
18978 arg1
= reinterpret_cast< wxFontData
* >(argp1
);
18980 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18981 result
= (bool)(arg1
)->GetShowHelp();
18982 wxPyEndAllowThreads(__tstate
);
18983 if (PyErr_Occurred()) SWIG_fail
;
18986 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18994 SWIGINTERN PyObject
*_wrap_FontData_SetAllowSymbols(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18995 PyObject
*resultobj
= 0;
18996 wxFontData
*arg1
= (wxFontData
*) 0 ;
19002 PyObject
* obj0
= 0 ;
19003 PyObject
* obj1
= 0 ;
19004 char * kwnames
[] = {
19005 (char *) "self",(char *) "allowSymbols", NULL
19008 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontData_SetAllowSymbols",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19009 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFontData
, 0 | 0 );
19010 if (!SWIG_IsOK(res1
)) {
19011 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontData_SetAllowSymbols" "', expected argument " "1"" of type '" "wxFontData *""'");
19013 arg1
= reinterpret_cast< wxFontData
* >(argp1
);
19014 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
19015 if (!SWIG_IsOK(ecode2
)) {
19016 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "FontData_SetAllowSymbols" "', expected argument " "2"" of type '" "bool""'");
19018 arg2
= static_cast< bool >(val2
);
19020 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19021 (arg1
)->SetAllowSymbols(arg2
);
19022 wxPyEndAllowThreads(__tstate
);
19023 if (PyErr_Occurred()) SWIG_fail
;
19025 resultobj
= SWIG_Py_Void();
19032 SWIGINTERN PyObject
*_wrap_FontData_SetChosenFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19033 PyObject
*resultobj
= 0;
19034 wxFontData
*arg1
= (wxFontData
*) 0 ;
19040 PyObject
* obj0
= 0 ;
19041 PyObject
* obj1
= 0 ;
19042 char * kwnames
[] = {
19043 (char *) "self",(char *) "font", NULL
19046 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontData_SetChosenFont",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19047 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFontData
, 0 | 0 );
19048 if (!SWIG_IsOK(res1
)) {
19049 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontData_SetChosenFont" "', expected argument " "1"" of type '" "wxFontData *""'");
19051 arg1
= reinterpret_cast< wxFontData
* >(argp1
);
19052 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxFont
, 0 | 0);
19053 if (!SWIG_IsOK(res2
)) {
19054 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "FontData_SetChosenFont" "', expected argument " "2"" of type '" "wxFont const &""'");
19057 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "FontData_SetChosenFont" "', expected argument " "2"" of type '" "wxFont const &""'");
19059 arg2
= reinterpret_cast< wxFont
* >(argp2
);
19061 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19062 (arg1
)->SetChosenFont((wxFont
const &)*arg2
);
19063 wxPyEndAllowThreads(__tstate
);
19064 if (PyErr_Occurred()) SWIG_fail
;
19066 resultobj
= SWIG_Py_Void();
19073 SWIGINTERN PyObject
*_wrap_FontData_SetColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19074 PyObject
*resultobj
= 0;
19075 wxFontData
*arg1
= (wxFontData
*) 0 ;
19076 wxColour
*arg2
= 0 ;
19080 PyObject
* obj0
= 0 ;
19081 PyObject
* obj1
= 0 ;
19082 char * kwnames
[] = {
19083 (char *) "self",(char *) "colour", NULL
19086 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontData_SetColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19087 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFontData
, 0 | 0 );
19088 if (!SWIG_IsOK(res1
)) {
19089 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontData_SetColour" "', expected argument " "1"" of type '" "wxFontData *""'");
19091 arg1
= reinterpret_cast< wxFontData
* >(argp1
);
19094 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
19097 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19098 (arg1
)->SetColour((wxColour
const &)*arg2
);
19099 wxPyEndAllowThreads(__tstate
);
19100 if (PyErr_Occurred()) SWIG_fail
;
19102 resultobj
= SWIG_Py_Void();
19109 SWIGINTERN PyObject
*_wrap_FontData_SetInitialFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19110 PyObject
*resultobj
= 0;
19111 wxFontData
*arg1
= (wxFontData
*) 0 ;
19117 PyObject
* obj0
= 0 ;
19118 PyObject
* obj1
= 0 ;
19119 char * kwnames
[] = {
19120 (char *) "self",(char *) "font", NULL
19123 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontData_SetInitialFont",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19124 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFontData
, 0 | 0 );
19125 if (!SWIG_IsOK(res1
)) {
19126 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontData_SetInitialFont" "', expected argument " "1"" of type '" "wxFontData *""'");
19128 arg1
= reinterpret_cast< wxFontData
* >(argp1
);
19129 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxFont
, 0 | 0);
19130 if (!SWIG_IsOK(res2
)) {
19131 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "FontData_SetInitialFont" "', expected argument " "2"" of type '" "wxFont const &""'");
19134 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "FontData_SetInitialFont" "', expected argument " "2"" of type '" "wxFont const &""'");
19136 arg2
= reinterpret_cast< wxFont
* >(argp2
);
19138 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19139 (arg1
)->SetInitialFont((wxFont
const &)*arg2
);
19140 wxPyEndAllowThreads(__tstate
);
19141 if (PyErr_Occurred()) SWIG_fail
;
19143 resultobj
= SWIG_Py_Void();
19150 SWIGINTERN PyObject
*_wrap_FontData_SetRange(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19151 PyObject
*resultobj
= 0;
19152 wxFontData
*arg1
= (wxFontData
*) 0 ;
19161 PyObject
* obj0
= 0 ;
19162 PyObject
* obj1
= 0 ;
19163 PyObject
* obj2
= 0 ;
19164 char * kwnames
[] = {
19165 (char *) "self",(char *) "min",(char *) "max", NULL
19168 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:FontData_SetRange",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
19169 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFontData
, 0 | 0 );
19170 if (!SWIG_IsOK(res1
)) {
19171 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontData_SetRange" "', expected argument " "1"" of type '" "wxFontData *""'");
19173 arg1
= reinterpret_cast< wxFontData
* >(argp1
);
19174 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
19175 if (!SWIG_IsOK(ecode2
)) {
19176 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "FontData_SetRange" "', expected argument " "2"" of type '" "int""'");
19178 arg2
= static_cast< int >(val2
);
19179 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
19180 if (!SWIG_IsOK(ecode3
)) {
19181 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "FontData_SetRange" "', expected argument " "3"" of type '" "int""'");
19183 arg3
= static_cast< int >(val3
);
19185 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19186 (arg1
)->SetRange(arg2
,arg3
);
19187 wxPyEndAllowThreads(__tstate
);
19188 if (PyErr_Occurred()) SWIG_fail
;
19190 resultobj
= SWIG_Py_Void();
19197 SWIGINTERN PyObject
*_wrap_FontData_SetShowHelp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19198 PyObject
*resultobj
= 0;
19199 wxFontData
*arg1
= (wxFontData
*) 0 ;
19205 PyObject
* obj0
= 0 ;
19206 PyObject
* obj1
= 0 ;
19207 char * kwnames
[] = {
19208 (char *) "self",(char *) "showHelp", NULL
19211 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontData_SetShowHelp",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19212 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFontData
, 0 | 0 );
19213 if (!SWIG_IsOK(res1
)) {
19214 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontData_SetShowHelp" "', expected argument " "1"" of type '" "wxFontData *""'");
19216 arg1
= reinterpret_cast< wxFontData
* >(argp1
);
19217 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
19218 if (!SWIG_IsOK(ecode2
)) {
19219 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "FontData_SetShowHelp" "', expected argument " "2"" of type '" "bool""'");
19221 arg2
= static_cast< bool >(val2
);
19223 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19224 (arg1
)->SetShowHelp(arg2
);
19225 wxPyEndAllowThreads(__tstate
);
19226 if (PyErr_Occurred()) SWIG_fail
;
19228 resultobj
= SWIG_Py_Void();
19235 SWIGINTERN PyObject
*FontData_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19237 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
19238 SWIG_TypeNewClientData(SWIGTYPE_p_wxFontData
, SWIG_NewClientData(obj
));
19239 return SWIG_Py_Void();
19242 SWIGINTERN PyObject
*FontData_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19243 return SWIG_Python_InitShadowInstance(args
);
19246 SWIGINTERN PyObject
*_wrap_new_FontDialog(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19247 PyObject
*resultobj
= 0;
19248 wxWindow
*arg1
= (wxWindow
*) 0 ;
19249 wxFontData
*arg2
= 0 ;
19250 wxFontDialog
*result
= 0 ;
19255 PyObject
* obj0
= 0 ;
19256 PyObject
* obj1
= 0 ;
19257 char * kwnames
[] = {
19258 (char *) "parent",(char *) "data", NULL
19261 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_FontDialog",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19262 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
19263 if (!SWIG_IsOK(res1
)) {
19264 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_FontDialog" "', expected argument " "1"" of type '" "wxWindow *""'");
19266 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
19267 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxFontData
, 0 | 0);
19268 if (!SWIG_IsOK(res2
)) {
19269 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_FontDialog" "', expected argument " "2"" of type '" "wxFontData const &""'");
19272 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_FontDialog" "', expected argument " "2"" of type '" "wxFontData const &""'");
19274 arg2
= reinterpret_cast< wxFontData
* >(argp2
);
19276 if (!wxPyCheckForApp()) SWIG_fail
;
19277 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19278 result
= (wxFontDialog
*)new wxFontDialog(arg1
,(wxFontData
const &)*arg2
);
19279 wxPyEndAllowThreads(__tstate
);
19280 if (PyErr_Occurred()) SWIG_fail
;
19282 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFontDialog
, SWIG_POINTER_NEW
| 0 );
19289 SWIGINTERN PyObject
*_wrap_FontDialog_GetFontData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19290 PyObject
*resultobj
= 0;
19291 wxFontDialog
*arg1
= (wxFontDialog
*) 0 ;
19292 wxFontData
*result
= 0 ;
19295 PyObject
*swig_obj
[1] ;
19297 if (!args
) SWIG_fail
;
19298 swig_obj
[0] = args
;
19299 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFontDialog
, 0 | 0 );
19300 if (!SWIG_IsOK(res1
)) {
19301 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontDialog_GetFontData" "', expected argument " "1"" of type '" "wxFontDialog *""'");
19303 arg1
= reinterpret_cast< wxFontDialog
* >(argp1
);
19305 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19307 wxFontData
&_result_ref
= (arg1
)->GetFontData();
19308 result
= (wxFontData
*) &_result_ref
;
19310 wxPyEndAllowThreads(__tstate
);
19311 if (PyErr_Occurred()) SWIG_fail
;
19313 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFontData
, 0 | 0 );
19320 SWIGINTERN PyObject
*FontDialog_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19322 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
19323 SWIG_TypeNewClientData(SWIGTYPE_p_wxFontDialog
, SWIG_NewClientData(obj
));
19324 return SWIG_Py_Void();
19327 SWIGINTERN PyObject
*FontDialog_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19328 return SWIG_Python_InitShadowInstance(args
);
19331 SWIGINTERN PyObject
*_wrap_GetFontFromUser(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19332 PyObject
*resultobj
= 0;
19333 wxWindow
*arg1
= (wxWindow
*) NULL
;
19334 wxFont
const &arg2_defvalue
= wxNullFont
;
19335 wxFont
*arg2
= (wxFont
*) &arg2_defvalue
;
19336 wxString
const &arg3_defvalue
= wxPyEmptyString
;
19337 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
19343 bool temp3
= false ;
19344 PyObject
* obj0
= 0 ;
19345 PyObject
* obj1
= 0 ;
19346 PyObject
* obj2
= 0 ;
19347 char * kwnames
[] = {
19348 (char *) "parent",(char *) "fontInit",(char *) "caption", NULL
19351 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOO:GetFontFromUser",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
19353 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
19354 if (!SWIG_IsOK(res1
)) {
19355 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GetFontFromUser" "', expected argument " "1"" of type '" "wxWindow *""'");
19357 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
19360 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxFont
, 0 | 0);
19361 if (!SWIG_IsOK(res2
)) {
19362 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GetFontFromUser" "', expected argument " "2"" of type '" "wxFont const &""'");
19365 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GetFontFromUser" "', expected argument " "2"" of type '" "wxFont const &""'");
19367 arg2
= reinterpret_cast< wxFont
* >(argp2
);
19371 arg3
= wxString_in_helper(obj2
);
19372 if (arg3
== NULL
) SWIG_fail
;
19377 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19378 result
= wxGetFontFromUser(arg1
,(wxFont
const &)*arg2
,(wxString
const &)*arg3
);
19379 wxPyEndAllowThreads(__tstate
);
19380 if (PyErr_Occurred()) SWIG_fail
;
19382 resultobj
= SWIG_NewPointerObj((new wxFont(static_cast< const wxFont
& >(result
))), SWIGTYPE_p_wxFont
, SWIG_POINTER_OWN
| 0 );
19397 SWIGINTERN PyObject
*_wrap_new_MessageDialog(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19398 PyObject
*resultobj
= 0;
19399 wxWindow
*arg1
= (wxWindow
*) 0 ;
19400 wxString
*arg2
= 0 ;
19401 wxString
const &arg3_defvalue
= wxPyMessageBoxCaptionStr
;
19402 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
19403 long arg4
= (long) wxOK
|wxCANCEL
|wxCENTRE
;
19404 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
19405 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
19406 wxMessageDialog
*result
= 0 ;
19409 bool temp2
= false ;
19410 bool temp3
= false ;
19414 PyObject
* obj0
= 0 ;
19415 PyObject
* obj1
= 0 ;
19416 PyObject
* obj2
= 0 ;
19417 PyObject
* obj3
= 0 ;
19418 PyObject
* obj4
= 0 ;
19419 char * kwnames
[] = {
19420 (char *) "parent",(char *) "message",(char *) "caption",(char *) "style",(char *) "pos", NULL
19423 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOO:new_MessageDialog",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
19424 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
19425 if (!SWIG_IsOK(res1
)) {
19426 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_MessageDialog" "', expected argument " "1"" of type '" "wxWindow *""'");
19428 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
19430 arg2
= wxString_in_helper(obj1
);
19431 if (arg2
== NULL
) SWIG_fail
;
19436 arg3
= wxString_in_helper(obj2
);
19437 if (arg3
== NULL
) SWIG_fail
;
19442 ecode4
= SWIG_AsVal_long(obj3
, &val4
);
19443 if (!SWIG_IsOK(ecode4
)) {
19444 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_MessageDialog" "', expected argument " "4"" of type '" "long""'");
19446 arg4
= static_cast< long >(val4
);
19451 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
19455 if (!wxPyCheckForApp()) SWIG_fail
;
19456 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19457 result
= (wxMessageDialog
*)new wxMessageDialog(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,arg4
,(wxPoint
const &)*arg5
);
19458 wxPyEndAllowThreads(__tstate
);
19459 if (PyErr_Occurred()) SWIG_fail
;
19461 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMessageDialog
, SWIG_POINTER_NEW
| 0 );
19484 SWIGINTERN PyObject
*MessageDialog_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19486 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
19487 SWIG_TypeNewClientData(SWIGTYPE_p_wxMessageDialog
, SWIG_NewClientData(obj
));
19488 return SWIG_Py_Void();
19491 SWIGINTERN PyObject
*MessageDialog_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19492 return SWIG_Python_InitShadowInstance(args
);
19495 SWIGINTERN PyObject
*_wrap_new_ProgressDialog(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19496 PyObject
*resultobj
= 0;
19497 wxString
*arg1
= 0 ;
19498 wxString
*arg2
= 0 ;
19499 int arg3
= (int) 100 ;
19500 wxWindow
*arg4
= (wxWindow
*) NULL
;
19501 int arg5
= (int) wxPD_AUTO_HIDE
|wxPD_APP_MODAL
;
19502 wxProgressDialog
*result
= 0 ;
19503 bool temp1
= false ;
19504 bool temp2
= false ;
19511 PyObject
* obj0
= 0 ;
19512 PyObject
* obj1
= 0 ;
19513 PyObject
* obj2
= 0 ;
19514 PyObject
* obj3
= 0 ;
19515 PyObject
* obj4
= 0 ;
19516 char * kwnames
[] = {
19517 (char *) "title",(char *) "message",(char *) "maximum",(char *) "parent",(char *) "style", NULL
19520 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOO:new_ProgressDialog",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
19522 arg1
= wxString_in_helper(obj0
);
19523 if (arg1
== NULL
) SWIG_fail
;
19527 arg2
= wxString_in_helper(obj1
);
19528 if (arg2
== NULL
) SWIG_fail
;
19532 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
19533 if (!SWIG_IsOK(ecode3
)) {
19534 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_ProgressDialog" "', expected argument " "3"" of type '" "int""'");
19536 arg3
= static_cast< int >(val3
);
19539 res4
= SWIG_ConvertPtr(obj3
, &argp4
,SWIGTYPE_p_wxWindow
, 0 | 0 );
19540 if (!SWIG_IsOK(res4
)) {
19541 SWIG_exception_fail(SWIG_ArgError(res4
), "in method '" "new_ProgressDialog" "', expected argument " "4"" of type '" "wxWindow *""'");
19543 arg4
= reinterpret_cast< wxWindow
* >(argp4
);
19546 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
19547 if (!SWIG_IsOK(ecode5
)) {
19548 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_ProgressDialog" "', expected argument " "5"" of type '" "int""'");
19550 arg5
= static_cast< int >(val5
);
19553 if (!wxPyCheckForApp()) SWIG_fail
;
19554 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19555 result
= (wxProgressDialog
*)new wxProgressDialog((wxString
const &)*arg1
,(wxString
const &)*arg2
,arg3
,arg4
,arg5
);
19556 wxPyEndAllowThreads(__tstate
);
19557 if (PyErr_Occurred()) SWIG_fail
;
19559 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxProgressDialog
, SWIG_POINTER_NEW
| 0 );
19582 SWIGINTERN PyObject
*_wrap_ProgressDialog_Update(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19583 PyObject
*resultobj
= 0;
19584 wxProgressDialog
*arg1
= (wxProgressDialog
*) 0 ;
19586 wxString
const &arg3_defvalue
= wxPyEmptyString
;
19587 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
19588 bool *arg4
= (bool *) 0 ;
19594 bool temp3
= false ;
19596 int res4
= SWIG_TMPOBJ
;
19597 PyObject
* obj0
= 0 ;
19598 PyObject
* obj1
= 0 ;
19599 PyObject
* obj2
= 0 ;
19600 char * kwnames
[] = {
19601 (char *) "self",(char *) "value",(char *) "newmsg", NULL
19605 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ProgressDialog_Update",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
19606 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxProgressDialog
, 0 | 0 );
19607 if (!SWIG_IsOK(res1
)) {
19608 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ProgressDialog_Update" "', expected argument " "1"" of type '" "wxProgressDialog *""'");
19610 arg1
= reinterpret_cast< wxProgressDialog
* >(argp1
);
19611 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
19612 if (!SWIG_IsOK(ecode2
)) {
19613 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ProgressDialog_Update" "', expected argument " "2"" of type '" "int""'");
19615 arg2
= static_cast< int >(val2
);
19618 arg3
= wxString_in_helper(obj2
);
19619 if (arg3
== NULL
) SWIG_fail
;
19624 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19625 result
= (bool)(arg1
)->Update(arg2
,(wxString
const &)*arg3
,arg4
);
19626 wxPyEndAllowThreads(__tstate
);
19627 if (PyErr_Occurred()) SWIG_fail
;
19630 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19632 if (SWIG_IsTmpObj(res4
)) {
19633 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_bool((*arg4
)));
19635 int new_flags
= SWIG_IsNewObj(res4
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
19636 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_bool
, new_flags
));
19652 SWIGINTERN PyObject
*_wrap_ProgressDialog_Pulse(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19653 PyObject
*resultobj
= 0;
19654 wxProgressDialog
*arg1
= (wxProgressDialog
*) 0 ;
19655 wxString
const &arg2_defvalue
= wxPyEmptyString
;
19656 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
19657 bool *arg3
= (bool *) 0 ;
19661 bool temp2
= false ;
19663 int res3
= SWIG_TMPOBJ
;
19664 PyObject
* obj0
= 0 ;
19665 PyObject
* obj1
= 0 ;
19666 char * kwnames
[] = {
19667 (char *) "self",(char *) "newmsg", NULL
19671 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:ProgressDialog_Pulse",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19672 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxProgressDialog
, 0 | 0 );
19673 if (!SWIG_IsOK(res1
)) {
19674 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ProgressDialog_Pulse" "', expected argument " "1"" of type '" "wxProgressDialog *""'");
19676 arg1
= reinterpret_cast< wxProgressDialog
* >(argp1
);
19679 arg2
= wxString_in_helper(obj1
);
19680 if (arg2
== NULL
) SWIG_fail
;
19685 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19686 result
= (bool)(arg1
)->Pulse((wxString
const &)*arg2
,arg3
);
19687 wxPyEndAllowThreads(__tstate
);
19688 if (PyErr_Occurred()) SWIG_fail
;
19691 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19693 if (SWIG_IsTmpObj(res3
)) {
19694 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_bool((*arg3
)));
19696 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
19697 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_bool
, new_flags
));
19713 SWIGINTERN PyObject
*_wrap_ProgressDialog_Resume(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19714 PyObject
*resultobj
= 0;
19715 wxProgressDialog
*arg1
= (wxProgressDialog
*) 0 ;
19718 PyObject
*swig_obj
[1] ;
19720 if (!args
) SWIG_fail
;
19721 swig_obj
[0] = args
;
19722 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxProgressDialog
, 0 | 0 );
19723 if (!SWIG_IsOK(res1
)) {
19724 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ProgressDialog_Resume" "', expected argument " "1"" of type '" "wxProgressDialog *""'");
19726 arg1
= reinterpret_cast< wxProgressDialog
* >(argp1
);
19728 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19730 wxPyEndAllowThreads(__tstate
);
19731 if (PyErr_Occurred()) SWIG_fail
;
19733 resultobj
= SWIG_Py_Void();
19740 SWIGINTERN PyObject
*ProgressDialog_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19742 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
19743 SWIG_TypeNewClientData(SWIGTYPE_p_wxProgressDialog
, SWIG_NewClientData(obj
));
19744 return SWIG_Py_Void();
19747 SWIGINTERN PyObject
*ProgressDialog_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19748 return SWIG_Python_InitShadowInstance(args
);
19751 SWIGINTERN PyObject
*_wrap_new_FindDialogEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19752 PyObject
*resultobj
= 0;
19753 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
19754 int arg2
= (int) 0 ;
19755 wxFindDialogEvent
*result
= 0 ;
19760 PyObject
* obj0
= 0 ;
19761 PyObject
* obj1
= 0 ;
19762 char * kwnames
[] = {
19763 (char *) "commandType",(char *) "id", NULL
19766 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_FindDialogEvent",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19768 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
19769 if (!SWIG_IsOK(ecode1
)) {
19770 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_FindDialogEvent" "', expected argument " "1"" of type '" "wxEventType""'");
19772 arg1
= static_cast< wxEventType
>(val1
);
19775 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
19776 if (!SWIG_IsOK(ecode2
)) {
19777 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_FindDialogEvent" "', expected argument " "2"" of type '" "int""'");
19779 arg2
= static_cast< int >(val2
);
19782 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19783 result
= (wxFindDialogEvent
*)new wxFindDialogEvent(arg1
,arg2
);
19784 wxPyEndAllowThreads(__tstate
);
19785 if (PyErr_Occurred()) SWIG_fail
;
19787 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFindDialogEvent
, SWIG_POINTER_NEW
| 0 );
19794 SWIGINTERN PyObject
*_wrap_FindDialogEvent_GetFlags(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19795 PyObject
*resultobj
= 0;
19796 wxFindDialogEvent
*arg1
= (wxFindDialogEvent
*) 0 ;
19800 PyObject
*swig_obj
[1] ;
19802 if (!args
) SWIG_fail
;
19803 swig_obj
[0] = args
;
19804 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFindDialogEvent
, 0 | 0 );
19805 if (!SWIG_IsOK(res1
)) {
19806 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FindDialogEvent_GetFlags" "', expected argument " "1"" of type '" "wxFindDialogEvent *""'");
19808 arg1
= reinterpret_cast< wxFindDialogEvent
* >(argp1
);
19810 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19811 result
= (int)(arg1
)->GetFlags();
19812 wxPyEndAllowThreads(__tstate
);
19813 if (PyErr_Occurred()) SWIG_fail
;
19815 resultobj
= SWIG_From_int(static_cast< int >(result
));
19822 SWIGINTERN PyObject
*_wrap_FindDialogEvent_GetFindString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19823 PyObject
*resultobj
= 0;
19824 wxFindDialogEvent
*arg1
= (wxFindDialogEvent
*) 0 ;
19825 wxString
*result
= 0 ;
19828 PyObject
*swig_obj
[1] ;
19830 if (!args
) SWIG_fail
;
19831 swig_obj
[0] = args
;
19832 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFindDialogEvent
, 0 | 0 );
19833 if (!SWIG_IsOK(res1
)) {
19834 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FindDialogEvent_GetFindString" "', expected argument " "1"" of type '" "wxFindDialogEvent *""'");
19836 arg1
= reinterpret_cast< wxFindDialogEvent
* >(argp1
);
19838 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19840 wxString
const &_result_ref
= (arg1
)->GetFindString();
19841 result
= (wxString
*) &_result_ref
;
19843 wxPyEndAllowThreads(__tstate
);
19844 if (PyErr_Occurred()) SWIG_fail
;
19848 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
19850 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
19859 SWIGINTERN PyObject
*_wrap_FindDialogEvent_GetReplaceString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19860 PyObject
*resultobj
= 0;
19861 wxFindDialogEvent
*arg1
= (wxFindDialogEvent
*) 0 ;
19862 wxString
*result
= 0 ;
19865 PyObject
*swig_obj
[1] ;
19867 if (!args
) SWIG_fail
;
19868 swig_obj
[0] = args
;
19869 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFindDialogEvent
, 0 | 0 );
19870 if (!SWIG_IsOK(res1
)) {
19871 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FindDialogEvent_GetReplaceString" "', expected argument " "1"" of type '" "wxFindDialogEvent *""'");
19873 arg1
= reinterpret_cast< wxFindDialogEvent
* >(argp1
);
19875 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19877 wxString
const &_result_ref
= (arg1
)->GetReplaceString();
19878 result
= (wxString
*) &_result_ref
;
19880 wxPyEndAllowThreads(__tstate
);
19881 if (PyErr_Occurred()) SWIG_fail
;
19885 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
19887 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
19896 SWIGINTERN PyObject
*_wrap_FindDialogEvent_GetDialog(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19897 PyObject
*resultobj
= 0;
19898 wxFindDialogEvent
*arg1
= (wxFindDialogEvent
*) 0 ;
19899 wxFindReplaceDialog
*result
= 0 ;
19902 PyObject
*swig_obj
[1] ;
19904 if (!args
) SWIG_fail
;
19905 swig_obj
[0] = args
;
19906 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFindDialogEvent
, 0 | 0 );
19907 if (!SWIG_IsOK(res1
)) {
19908 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FindDialogEvent_GetDialog" "', expected argument " "1"" of type '" "wxFindDialogEvent *""'");
19910 arg1
= reinterpret_cast< wxFindDialogEvent
* >(argp1
);
19912 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19913 result
= (wxFindReplaceDialog
*)(arg1
)->GetDialog();
19914 wxPyEndAllowThreads(__tstate
);
19915 if (PyErr_Occurred()) SWIG_fail
;
19917 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFindReplaceDialog
, 0 | 0 );
19924 SWIGINTERN PyObject
*_wrap_FindDialogEvent_SetFlags(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19925 PyObject
*resultobj
= 0;
19926 wxFindDialogEvent
*arg1
= (wxFindDialogEvent
*) 0 ;
19932 PyObject
* obj0
= 0 ;
19933 PyObject
* obj1
= 0 ;
19934 char * kwnames
[] = {
19935 (char *) "self",(char *) "flags", NULL
19938 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FindDialogEvent_SetFlags",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19939 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFindDialogEvent
, 0 | 0 );
19940 if (!SWIG_IsOK(res1
)) {
19941 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FindDialogEvent_SetFlags" "', expected argument " "1"" of type '" "wxFindDialogEvent *""'");
19943 arg1
= reinterpret_cast< wxFindDialogEvent
* >(argp1
);
19944 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
19945 if (!SWIG_IsOK(ecode2
)) {
19946 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "FindDialogEvent_SetFlags" "', expected argument " "2"" of type '" "int""'");
19948 arg2
= static_cast< int >(val2
);
19950 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19951 (arg1
)->SetFlags(arg2
);
19952 wxPyEndAllowThreads(__tstate
);
19953 if (PyErr_Occurred()) SWIG_fail
;
19955 resultobj
= SWIG_Py_Void();
19962 SWIGINTERN PyObject
*_wrap_FindDialogEvent_SetFindString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19963 PyObject
*resultobj
= 0;
19964 wxFindDialogEvent
*arg1
= (wxFindDialogEvent
*) 0 ;
19965 wxString
*arg2
= 0 ;
19968 bool temp2
= false ;
19969 PyObject
* obj0
= 0 ;
19970 PyObject
* obj1
= 0 ;
19971 char * kwnames
[] = {
19972 (char *) "self",(char *) "str", NULL
19975 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FindDialogEvent_SetFindString",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19976 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFindDialogEvent
, 0 | 0 );
19977 if (!SWIG_IsOK(res1
)) {
19978 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FindDialogEvent_SetFindString" "', expected argument " "1"" of type '" "wxFindDialogEvent *""'");
19980 arg1
= reinterpret_cast< wxFindDialogEvent
* >(argp1
);
19982 arg2
= wxString_in_helper(obj1
);
19983 if (arg2
== NULL
) SWIG_fail
;
19987 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19988 (arg1
)->SetFindString((wxString
const &)*arg2
);
19989 wxPyEndAllowThreads(__tstate
);
19990 if (PyErr_Occurred()) SWIG_fail
;
19992 resultobj
= SWIG_Py_Void();
20007 SWIGINTERN PyObject
*_wrap_FindDialogEvent_SetReplaceString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20008 PyObject
*resultobj
= 0;
20009 wxFindDialogEvent
*arg1
= (wxFindDialogEvent
*) 0 ;
20010 wxString
*arg2
= 0 ;
20013 bool temp2
= false ;
20014 PyObject
* obj0
= 0 ;
20015 PyObject
* obj1
= 0 ;
20016 char * kwnames
[] = {
20017 (char *) "self",(char *) "str", NULL
20020 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FindDialogEvent_SetReplaceString",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20021 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFindDialogEvent
, 0 | 0 );
20022 if (!SWIG_IsOK(res1
)) {
20023 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FindDialogEvent_SetReplaceString" "', expected argument " "1"" of type '" "wxFindDialogEvent *""'");
20025 arg1
= reinterpret_cast< wxFindDialogEvent
* >(argp1
);
20027 arg2
= wxString_in_helper(obj1
);
20028 if (arg2
== NULL
) SWIG_fail
;
20032 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20033 (arg1
)->SetReplaceString((wxString
const &)*arg2
);
20034 wxPyEndAllowThreads(__tstate
);
20035 if (PyErr_Occurred()) SWIG_fail
;
20037 resultobj
= SWIG_Py_Void();
20052 SWIGINTERN PyObject
*FindDialogEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20054 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
20055 SWIG_TypeNewClientData(SWIGTYPE_p_wxFindDialogEvent
, SWIG_NewClientData(obj
));
20056 return SWIG_Py_Void();
20059 SWIGINTERN PyObject
*FindDialogEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20060 return SWIG_Python_InitShadowInstance(args
);
20063 SWIGINTERN PyObject
*_wrap_new_FindReplaceData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20064 PyObject
*resultobj
= 0;
20065 int arg1
= (int) 0 ;
20066 wxFindReplaceData
*result
= 0 ;
20069 PyObject
* obj0
= 0 ;
20070 char * kwnames
[] = {
20071 (char *) "flags", NULL
20074 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_FindReplaceData",kwnames
,&obj0
)) SWIG_fail
;
20076 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
20077 if (!SWIG_IsOK(ecode1
)) {
20078 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_FindReplaceData" "', expected argument " "1"" of type '" "int""'");
20080 arg1
= static_cast< int >(val1
);
20083 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20084 result
= (wxFindReplaceData
*)new wxFindReplaceData(arg1
);
20085 wxPyEndAllowThreads(__tstate
);
20086 if (PyErr_Occurred()) SWIG_fail
;
20088 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFindReplaceData
, SWIG_POINTER_NEW
| 0 );
20095 SWIGINTERN PyObject
*_wrap_delete_FindReplaceData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20096 PyObject
*resultobj
= 0;
20097 wxFindReplaceData
*arg1
= (wxFindReplaceData
*) 0 ;
20100 PyObject
*swig_obj
[1] ;
20102 if (!args
) SWIG_fail
;
20103 swig_obj
[0] = args
;
20104 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFindReplaceData
, SWIG_POINTER_DISOWN
| 0 );
20105 if (!SWIG_IsOK(res1
)) {
20106 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_FindReplaceData" "', expected argument " "1"" of type '" "wxFindReplaceData *""'");
20108 arg1
= reinterpret_cast< wxFindReplaceData
* >(argp1
);
20110 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20113 wxPyEndAllowThreads(__tstate
);
20114 if (PyErr_Occurred()) SWIG_fail
;
20116 resultobj
= SWIG_Py_Void();
20123 SWIGINTERN PyObject
*_wrap_FindReplaceData_GetFindString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20124 PyObject
*resultobj
= 0;
20125 wxFindReplaceData
*arg1
= (wxFindReplaceData
*) 0 ;
20126 wxString
*result
= 0 ;
20129 PyObject
*swig_obj
[1] ;
20131 if (!args
) SWIG_fail
;
20132 swig_obj
[0] = args
;
20133 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFindReplaceData
, 0 | 0 );
20134 if (!SWIG_IsOK(res1
)) {
20135 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FindReplaceData_GetFindString" "', expected argument " "1"" of type '" "wxFindReplaceData *""'");
20137 arg1
= reinterpret_cast< wxFindReplaceData
* >(argp1
);
20139 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20141 wxString
const &_result_ref
= (arg1
)->GetFindString();
20142 result
= (wxString
*) &_result_ref
;
20144 wxPyEndAllowThreads(__tstate
);
20145 if (PyErr_Occurred()) SWIG_fail
;
20149 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
20151 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
20160 SWIGINTERN PyObject
*_wrap_FindReplaceData_GetReplaceString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20161 PyObject
*resultobj
= 0;
20162 wxFindReplaceData
*arg1
= (wxFindReplaceData
*) 0 ;
20163 wxString
*result
= 0 ;
20166 PyObject
*swig_obj
[1] ;
20168 if (!args
) SWIG_fail
;
20169 swig_obj
[0] = args
;
20170 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFindReplaceData
, 0 | 0 );
20171 if (!SWIG_IsOK(res1
)) {
20172 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FindReplaceData_GetReplaceString" "', expected argument " "1"" of type '" "wxFindReplaceData *""'");
20174 arg1
= reinterpret_cast< wxFindReplaceData
* >(argp1
);
20176 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20178 wxString
const &_result_ref
= (arg1
)->GetReplaceString();
20179 result
= (wxString
*) &_result_ref
;
20181 wxPyEndAllowThreads(__tstate
);
20182 if (PyErr_Occurred()) SWIG_fail
;
20186 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
20188 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
20197 SWIGINTERN PyObject
*_wrap_FindReplaceData_GetFlags(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20198 PyObject
*resultobj
= 0;
20199 wxFindReplaceData
*arg1
= (wxFindReplaceData
*) 0 ;
20203 PyObject
*swig_obj
[1] ;
20205 if (!args
) SWIG_fail
;
20206 swig_obj
[0] = args
;
20207 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFindReplaceData
, 0 | 0 );
20208 if (!SWIG_IsOK(res1
)) {
20209 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FindReplaceData_GetFlags" "', expected argument " "1"" of type '" "wxFindReplaceData *""'");
20211 arg1
= reinterpret_cast< wxFindReplaceData
* >(argp1
);
20213 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20214 result
= (int)(arg1
)->GetFlags();
20215 wxPyEndAllowThreads(__tstate
);
20216 if (PyErr_Occurred()) SWIG_fail
;
20218 resultobj
= SWIG_From_int(static_cast< int >(result
));
20225 SWIGINTERN PyObject
*_wrap_FindReplaceData_SetFlags(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20226 PyObject
*resultobj
= 0;
20227 wxFindReplaceData
*arg1
= (wxFindReplaceData
*) 0 ;
20233 PyObject
* obj0
= 0 ;
20234 PyObject
* obj1
= 0 ;
20235 char * kwnames
[] = {
20236 (char *) "self",(char *) "flags", NULL
20239 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FindReplaceData_SetFlags",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20240 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFindReplaceData
, 0 | 0 );
20241 if (!SWIG_IsOK(res1
)) {
20242 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FindReplaceData_SetFlags" "', expected argument " "1"" of type '" "wxFindReplaceData *""'");
20244 arg1
= reinterpret_cast< wxFindReplaceData
* >(argp1
);
20245 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
20246 if (!SWIG_IsOK(ecode2
)) {
20247 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "FindReplaceData_SetFlags" "', expected argument " "2"" of type '" "int""'");
20249 arg2
= static_cast< int >(val2
);
20251 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20252 (arg1
)->SetFlags(arg2
);
20253 wxPyEndAllowThreads(__tstate
);
20254 if (PyErr_Occurred()) SWIG_fail
;
20256 resultobj
= SWIG_Py_Void();
20263 SWIGINTERN PyObject
*_wrap_FindReplaceData_SetFindString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20264 PyObject
*resultobj
= 0;
20265 wxFindReplaceData
*arg1
= (wxFindReplaceData
*) 0 ;
20266 wxString
*arg2
= 0 ;
20269 bool temp2
= false ;
20270 PyObject
* obj0
= 0 ;
20271 PyObject
* obj1
= 0 ;
20272 char * kwnames
[] = {
20273 (char *) "self",(char *) "str", NULL
20276 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FindReplaceData_SetFindString",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20277 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFindReplaceData
, 0 | 0 );
20278 if (!SWIG_IsOK(res1
)) {
20279 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FindReplaceData_SetFindString" "', expected argument " "1"" of type '" "wxFindReplaceData *""'");
20281 arg1
= reinterpret_cast< wxFindReplaceData
* >(argp1
);
20283 arg2
= wxString_in_helper(obj1
);
20284 if (arg2
== NULL
) SWIG_fail
;
20288 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20289 (arg1
)->SetFindString((wxString
const &)*arg2
);
20290 wxPyEndAllowThreads(__tstate
);
20291 if (PyErr_Occurred()) SWIG_fail
;
20293 resultobj
= SWIG_Py_Void();
20308 SWIGINTERN PyObject
*_wrap_FindReplaceData_SetReplaceString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20309 PyObject
*resultobj
= 0;
20310 wxFindReplaceData
*arg1
= (wxFindReplaceData
*) 0 ;
20311 wxString
*arg2
= 0 ;
20314 bool temp2
= false ;
20315 PyObject
* obj0
= 0 ;
20316 PyObject
* obj1
= 0 ;
20317 char * kwnames
[] = {
20318 (char *) "self",(char *) "str", NULL
20321 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FindReplaceData_SetReplaceString",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20322 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFindReplaceData
, 0 | 0 );
20323 if (!SWIG_IsOK(res1
)) {
20324 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FindReplaceData_SetReplaceString" "', expected argument " "1"" of type '" "wxFindReplaceData *""'");
20326 arg1
= reinterpret_cast< wxFindReplaceData
* >(argp1
);
20328 arg2
= wxString_in_helper(obj1
);
20329 if (arg2
== NULL
) SWIG_fail
;
20333 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20334 (arg1
)->SetReplaceString((wxString
const &)*arg2
);
20335 wxPyEndAllowThreads(__tstate
);
20336 if (PyErr_Occurred()) SWIG_fail
;
20338 resultobj
= SWIG_Py_Void();
20353 SWIGINTERN PyObject
*FindReplaceData_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20355 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
20356 SWIG_TypeNewClientData(SWIGTYPE_p_wxFindReplaceData
, SWIG_NewClientData(obj
));
20357 return SWIG_Py_Void();
20360 SWIGINTERN PyObject
*FindReplaceData_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20361 return SWIG_Python_InitShadowInstance(args
);
20364 SWIGINTERN PyObject
*_wrap_new_FindReplaceDialog(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20365 PyObject
*resultobj
= 0;
20366 wxWindow
*arg1
= (wxWindow
*) 0 ;
20367 wxFindReplaceData
*arg2
= (wxFindReplaceData
*) 0 ;
20368 wxString
*arg3
= 0 ;
20369 int arg4
= (int) 0 ;
20370 wxFindReplaceDialog
*result
= 0 ;
20375 bool temp3
= false ;
20378 PyObject
* obj0
= 0 ;
20379 PyObject
* obj1
= 0 ;
20380 PyObject
* obj2
= 0 ;
20381 PyObject
* obj3
= 0 ;
20382 char * kwnames
[] = {
20383 (char *) "parent",(char *) "data",(char *) "title",(char *) "style", NULL
20386 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:new_FindReplaceDialog",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
20387 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
20388 if (!SWIG_IsOK(res1
)) {
20389 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_FindReplaceDialog" "', expected argument " "1"" of type '" "wxWindow *""'");
20391 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
20392 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxFindReplaceData
, 0 | 0 );
20393 if (!SWIG_IsOK(res2
)) {
20394 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_FindReplaceDialog" "', expected argument " "2"" of type '" "wxFindReplaceData *""'");
20396 arg2
= reinterpret_cast< wxFindReplaceData
* >(argp2
);
20398 arg3
= wxString_in_helper(obj2
);
20399 if (arg3
== NULL
) SWIG_fail
;
20403 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
20404 if (!SWIG_IsOK(ecode4
)) {
20405 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_FindReplaceDialog" "', expected argument " "4"" of type '" "int""'");
20407 arg4
= static_cast< int >(val4
);
20410 if (!wxPyCheckForApp()) SWIG_fail
;
20411 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20412 result
= (wxFindReplaceDialog
*)new wxFindReplaceDialog(arg1
,arg2
,(wxString
const &)*arg3
,arg4
);
20413 wxPyEndAllowThreads(__tstate
);
20414 if (PyErr_Occurred()) SWIG_fail
;
20416 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFindReplaceDialog
, SWIG_POINTER_NEW
| 0 );
20431 SWIGINTERN PyObject
*_wrap_new_PreFindReplaceDialog(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20432 PyObject
*resultobj
= 0;
20433 wxFindReplaceDialog
*result
= 0 ;
20435 if (!SWIG_Python_UnpackTuple(args
,"new_PreFindReplaceDialog",0,0,0)) SWIG_fail
;
20437 if (!wxPyCheckForApp()) SWIG_fail
;
20438 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20439 result
= (wxFindReplaceDialog
*)new wxFindReplaceDialog();
20440 wxPyEndAllowThreads(__tstate
);
20441 if (PyErr_Occurred()) SWIG_fail
;
20443 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFindReplaceDialog
, SWIG_POINTER_OWN
| 0 );
20450 SWIGINTERN PyObject
*_wrap_FindReplaceDialog_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20451 PyObject
*resultobj
= 0;
20452 wxFindReplaceDialog
*arg1
= (wxFindReplaceDialog
*) 0 ;
20453 wxWindow
*arg2
= (wxWindow
*) 0 ;
20454 wxFindReplaceData
*arg3
= (wxFindReplaceData
*) 0 ;
20455 wxString
*arg4
= 0 ;
20456 int arg5
= (int) 0 ;
20464 bool temp4
= false ;
20467 PyObject
* obj0
= 0 ;
20468 PyObject
* obj1
= 0 ;
20469 PyObject
* obj2
= 0 ;
20470 PyObject
* obj3
= 0 ;
20471 PyObject
* obj4
= 0 ;
20472 char * kwnames
[] = {
20473 (char *) "self",(char *) "parent",(char *) "data",(char *) "title",(char *) "style", NULL
20476 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:FindReplaceDialog_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
20477 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFindReplaceDialog
, 0 | 0 );
20478 if (!SWIG_IsOK(res1
)) {
20479 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FindReplaceDialog_Create" "', expected argument " "1"" of type '" "wxFindReplaceDialog *""'");
20481 arg1
= reinterpret_cast< wxFindReplaceDialog
* >(argp1
);
20482 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
20483 if (!SWIG_IsOK(res2
)) {
20484 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "FindReplaceDialog_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
20486 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
20487 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxFindReplaceData
, 0 | 0 );
20488 if (!SWIG_IsOK(res3
)) {
20489 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "FindReplaceDialog_Create" "', expected argument " "3"" of type '" "wxFindReplaceData *""'");
20491 arg3
= reinterpret_cast< wxFindReplaceData
* >(argp3
);
20493 arg4
= wxString_in_helper(obj3
);
20494 if (arg4
== NULL
) SWIG_fail
;
20498 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
20499 if (!SWIG_IsOK(ecode5
)) {
20500 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "FindReplaceDialog_Create" "', expected argument " "5"" of type '" "int""'");
20502 arg5
= static_cast< int >(val5
);
20505 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20506 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,arg5
);
20507 wxPyEndAllowThreads(__tstate
);
20508 if (PyErr_Occurred()) SWIG_fail
;
20511 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20527 SWIGINTERN PyObject
*_wrap_FindReplaceDialog_GetData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20528 PyObject
*resultobj
= 0;
20529 wxFindReplaceDialog
*arg1
= (wxFindReplaceDialog
*) 0 ;
20530 wxFindReplaceData
*result
= 0 ;
20533 PyObject
*swig_obj
[1] ;
20535 if (!args
) SWIG_fail
;
20536 swig_obj
[0] = args
;
20537 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFindReplaceDialog
, 0 | 0 );
20538 if (!SWIG_IsOK(res1
)) {
20539 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FindReplaceDialog_GetData" "', expected argument " "1"" of type '" "wxFindReplaceDialog *""'");
20541 arg1
= reinterpret_cast< wxFindReplaceDialog
* >(argp1
);
20543 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20544 result
= (wxFindReplaceData
*)(arg1
)->GetData();
20545 wxPyEndAllowThreads(__tstate
);
20546 if (PyErr_Occurred()) SWIG_fail
;
20548 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFindReplaceData
, 0 | 0 );
20555 SWIGINTERN PyObject
*_wrap_FindReplaceDialog_SetData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20556 PyObject
*resultobj
= 0;
20557 wxFindReplaceDialog
*arg1
= (wxFindReplaceDialog
*) 0 ;
20558 wxFindReplaceData
*arg2
= (wxFindReplaceData
*) 0 ;
20563 PyObject
* obj0
= 0 ;
20564 PyObject
* obj1
= 0 ;
20565 char * kwnames
[] = {
20566 (char *) "self",(char *) "data", NULL
20569 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FindReplaceDialog_SetData",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20570 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFindReplaceDialog
, 0 | 0 );
20571 if (!SWIG_IsOK(res1
)) {
20572 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FindReplaceDialog_SetData" "', expected argument " "1"" of type '" "wxFindReplaceDialog *""'");
20574 arg1
= reinterpret_cast< wxFindReplaceDialog
* >(argp1
);
20575 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxFindReplaceData
, 0 | 0 );
20576 if (!SWIG_IsOK(res2
)) {
20577 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "FindReplaceDialog_SetData" "', expected argument " "2"" of type '" "wxFindReplaceData *""'");
20579 arg2
= reinterpret_cast< wxFindReplaceData
* >(argp2
);
20581 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20582 (arg1
)->SetData(arg2
);
20583 wxPyEndAllowThreads(__tstate
);
20584 if (PyErr_Occurred()) SWIG_fail
;
20586 resultobj
= SWIG_Py_Void();
20593 SWIGINTERN PyObject
*FindReplaceDialog_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20595 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
20596 SWIG_TypeNewClientData(SWIGTYPE_p_wxFindReplaceDialog
, SWIG_NewClientData(obj
));
20597 return SWIG_Py_Void();
20600 SWIGINTERN PyObject
*FindReplaceDialog_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20601 return SWIG_Python_InitShadowInstance(args
);
20604 SWIGINTERN PyObject
*_wrap_new_MDIParentFrame(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20605 PyObject
*resultobj
= 0;
20606 wxWindow
*arg1
= (wxWindow
*) 0 ;
20607 int arg2
= (int) (int)-1 ;
20608 wxString
const &arg3_defvalue
= wxPyEmptyString
;
20609 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
20610 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
20611 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
20612 wxSize
const &arg5_defvalue
= wxDefaultSize
;
20613 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
20614 long arg6
= (long) wxDEFAULT_FRAME_STYLE
|wxVSCROLL
|wxHSCROLL
;
20615 wxString
const &arg7_defvalue
= wxPyFrameNameStr
;
20616 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
20617 wxMDIParentFrame
*result
= 0 ;
20622 bool temp3
= false ;
20627 bool temp7
= false ;
20628 PyObject
* obj0
= 0 ;
20629 PyObject
* obj1
= 0 ;
20630 PyObject
* obj2
= 0 ;
20631 PyObject
* obj3
= 0 ;
20632 PyObject
* obj4
= 0 ;
20633 PyObject
* obj5
= 0 ;
20634 PyObject
* obj6
= 0 ;
20635 char * kwnames
[] = {
20636 (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
20639 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_MDIParentFrame",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
20640 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
20641 if (!SWIG_IsOK(res1
)) {
20642 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_MDIParentFrame" "', expected argument " "1"" of type '" "wxWindow *""'");
20644 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
20646 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
20647 if (!SWIG_IsOK(ecode2
)) {
20648 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_MDIParentFrame" "', expected argument " "2"" of type '" "int""'");
20650 arg2
= static_cast< int >(val2
);
20654 arg3
= wxString_in_helper(obj2
);
20655 if (arg3
== NULL
) SWIG_fail
;
20662 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
20668 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
20672 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
20673 if (!SWIG_IsOK(ecode6
)) {
20674 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_MDIParentFrame" "', expected argument " "6"" of type '" "long""'");
20676 arg6
= static_cast< long >(val6
);
20680 arg7
= wxString_in_helper(obj6
);
20681 if (arg7
== NULL
) SWIG_fail
;
20686 if (!wxPyCheckForApp()) SWIG_fail
;
20687 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20688 result
= (wxMDIParentFrame
*)new wxMDIParentFrame(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
20689 wxPyEndAllowThreads(__tstate
);
20690 if (PyErr_Occurred()) SWIG_fail
;
20692 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMDIParentFrame
, SWIG_POINTER_NEW
| 0 );
20715 SWIGINTERN PyObject
*_wrap_new_PreMDIParentFrame(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20716 PyObject
*resultobj
= 0;
20717 wxMDIParentFrame
*result
= 0 ;
20719 if (!SWIG_Python_UnpackTuple(args
,"new_PreMDIParentFrame",0,0,0)) SWIG_fail
;
20721 if (!wxPyCheckForApp()) SWIG_fail
;
20722 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20723 result
= (wxMDIParentFrame
*)new wxMDIParentFrame();
20724 wxPyEndAllowThreads(__tstate
);
20725 if (PyErr_Occurred()) SWIG_fail
;
20727 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMDIParentFrame
, SWIG_POINTER_OWN
| 0 );
20734 SWIGINTERN PyObject
*_wrap_MDIParentFrame_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20735 PyObject
*resultobj
= 0;
20736 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
20737 wxWindow
*arg2
= (wxWindow
*) 0 ;
20738 int arg3
= (int) (int)-1 ;
20739 wxString
const &arg4_defvalue
= wxPyEmptyString
;
20740 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
20741 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
20742 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
20743 wxSize
const &arg6_defvalue
= wxDefaultSize
;
20744 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
20745 long arg7
= (long) wxDEFAULT_FRAME_STYLE
|wxVSCROLL
|wxHSCROLL
;
20746 wxString
const &arg8_defvalue
= wxPyFrameNameStr
;
20747 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
20755 bool temp4
= false ;
20760 bool temp8
= false ;
20761 PyObject
* obj0
= 0 ;
20762 PyObject
* obj1
= 0 ;
20763 PyObject
* obj2
= 0 ;
20764 PyObject
* obj3
= 0 ;
20765 PyObject
* obj4
= 0 ;
20766 PyObject
* obj5
= 0 ;
20767 PyObject
* obj6
= 0 ;
20768 PyObject
* obj7
= 0 ;
20769 char * kwnames
[] = {
20770 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
20773 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:MDIParentFrame_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
20774 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMDIParentFrame
, 0 | 0 );
20775 if (!SWIG_IsOK(res1
)) {
20776 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MDIParentFrame_Create" "', expected argument " "1"" of type '" "wxMDIParentFrame *""'");
20778 arg1
= reinterpret_cast< wxMDIParentFrame
* >(argp1
);
20779 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
20780 if (!SWIG_IsOK(res2
)) {
20781 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "MDIParentFrame_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
20783 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
20785 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
20786 if (!SWIG_IsOK(ecode3
)) {
20787 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "MDIParentFrame_Create" "', expected argument " "3"" of type '" "int""'");
20789 arg3
= static_cast< int >(val3
);
20793 arg4
= wxString_in_helper(obj3
);
20794 if (arg4
== NULL
) SWIG_fail
;
20801 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
20807 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
20811 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
20812 if (!SWIG_IsOK(ecode7
)) {
20813 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "MDIParentFrame_Create" "', expected argument " "7"" of type '" "long""'");
20815 arg7
= static_cast< long >(val7
);
20819 arg8
= wxString_in_helper(obj7
);
20820 if (arg8
== NULL
) SWIG_fail
;
20825 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20826 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxString
const &)*arg8
);
20827 wxPyEndAllowThreads(__tstate
);
20828 if (PyErr_Occurred()) SWIG_fail
;
20831 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20855 SWIGINTERN PyObject
*_wrap_MDIParentFrame_ActivateNext(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20856 PyObject
*resultobj
= 0;
20857 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
20860 PyObject
*swig_obj
[1] ;
20862 if (!args
) SWIG_fail
;
20863 swig_obj
[0] = args
;
20864 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMDIParentFrame
, 0 | 0 );
20865 if (!SWIG_IsOK(res1
)) {
20866 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MDIParentFrame_ActivateNext" "', expected argument " "1"" of type '" "wxMDIParentFrame *""'");
20868 arg1
= reinterpret_cast< wxMDIParentFrame
* >(argp1
);
20870 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20871 (arg1
)->ActivateNext();
20872 wxPyEndAllowThreads(__tstate
);
20873 if (PyErr_Occurred()) SWIG_fail
;
20875 resultobj
= SWIG_Py_Void();
20882 SWIGINTERN PyObject
*_wrap_MDIParentFrame_ActivatePrevious(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20883 PyObject
*resultobj
= 0;
20884 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
20887 PyObject
*swig_obj
[1] ;
20889 if (!args
) SWIG_fail
;
20890 swig_obj
[0] = args
;
20891 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMDIParentFrame
, 0 | 0 );
20892 if (!SWIG_IsOK(res1
)) {
20893 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MDIParentFrame_ActivatePrevious" "', expected argument " "1"" of type '" "wxMDIParentFrame *""'");
20895 arg1
= reinterpret_cast< wxMDIParentFrame
* >(argp1
);
20897 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20898 (arg1
)->ActivatePrevious();
20899 wxPyEndAllowThreads(__tstate
);
20900 if (PyErr_Occurred()) SWIG_fail
;
20902 resultobj
= SWIG_Py_Void();
20909 SWIGINTERN PyObject
*_wrap_MDIParentFrame_ArrangeIcons(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20910 PyObject
*resultobj
= 0;
20911 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
20914 PyObject
*swig_obj
[1] ;
20916 if (!args
) SWIG_fail
;
20917 swig_obj
[0] = args
;
20918 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMDIParentFrame
, 0 | 0 );
20919 if (!SWIG_IsOK(res1
)) {
20920 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MDIParentFrame_ArrangeIcons" "', expected argument " "1"" of type '" "wxMDIParentFrame *""'");
20922 arg1
= reinterpret_cast< wxMDIParentFrame
* >(argp1
);
20924 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20925 (arg1
)->ArrangeIcons();
20926 wxPyEndAllowThreads(__tstate
);
20927 if (PyErr_Occurred()) SWIG_fail
;
20929 resultobj
= SWIG_Py_Void();
20936 SWIGINTERN PyObject
*_wrap_MDIParentFrame_Cascade(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20937 PyObject
*resultobj
= 0;
20938 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
20941 PyObject
*swig_obj
[1] ;
20943 if (!args
) SWIG_fail
;
20944 swig_obj
[0] = args
;
20945 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMDIParentFrame
, 0 | 0 );
20946 if (!SWIG_IsOK(res1
)) {
20947 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MDIParentFrame_Cascade" "', expected argument " "1"" of type '" "wxMDIParentFrame *""'");
20949 arg1
= reinterpret_cast< wxMDIParentFrame
* >(argp1
);
20951 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20953 wxPyEndAllowThreads(__tstate
);
20954 if (PyErr_Occurred()) SWIG_fail
;
20956 resultobj
= SWIG_Py_Void();
20963 SWIGINTERN PyObject
*_wrap_MDIParentFrame_GetActiveChild(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20964 PyObject
*resultobj
= 0;
20965 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
20966 wxMDIChildFrame
*result
= 0 ;
20969 PyObject
*swig_obj
[1] ;
20971 if (!args
) SWIG_fail
;
20972 swig_obj
[0] = args
;
20973 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMDIParentFrame
, 0 | 0 );
20974 if (!SWIG_IsOK(res1
)) {
20975 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MDIParentFrame_GetActiveChild" "', expected argument " "1"" of type '" "wxMDIParentFrame *""'");
20977 arg1
= reinterpret_cast< wxMDIParentFrame
* >(argp1
);
20979 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20980 result
= (wxMDIChildFrame
*)(arg1
)->GetActiveChild();
20981 wxPyEndAllowThreads(__tstate
);
20982 if (PyErr_Occurred()) SWIG_fail
;
20985 resultobj
= wxPyMake_wxObject(result
, (bool)0);
20993 SWIGINTERN PyObject
*_wrap_MDIParentFrame_GetClientWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20994 PyObject
*resultobj
= 0;
20995 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
20996 wxMDIClientWindow
*result
= 0 ;
20999 PyObject
*swig_obj
[1] ;
21001 if (!args
) SWIG_fail
;
21002 swig_obj
[0] = args
;
21003 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMDIParentFrame
, 0 | 0 );
21004 if (!SWIG_IsOK(res1
)) {
21005 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MDIParentFrame_GetClientWindow" "', expected argument " "1"" of type '" "wxMDIParentFrame *""'");
21007 arg1
= reinterpret_cast< wxMDIParentFrame
* >(argp1
);
21009 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21010 result
= (wxMDIClientWindow
*)(arg1
)->GetClientWindow();
21011 wxPyEndAllowThreads(__tstate
);
21012 if (PyErr_Occurred()) SWIG_fail
;
21015 resultobj
= wxPyMake_wxObject(result
, (bool)0);
21023 SWIGINTERN PyObject
*_wrap_MDIParentFrame_GetWindowMenu(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21024 PyObject
*resultobj
= 0;
21025 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
21026 wxMenu
*result
= 0 ;
21029 PyObject
*swig_obj
[1] ;
21031 if (!args
) SWIG_fail
;
21032 swig_obj
[0] = args
;
21033 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMDIParentFrame
, 0 | 0 );
21034 if (!SWIG_IsOK(res1
)) {
21035 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MDIParentFrame_GetWindowMenu" "', expected argument " "1"" of type '" "wxMDIParentFrame *""'");
21037 arg1
= reinterpret_cast< wxMDIParentFrame
* >(argp1
);
21039 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21040 result
= (wxMenu
*)(arg1
)->GetWindowMenu();
21041 wxPyEndAllowThreads(__tstate
);
21042 if (PyErr_Occurred()) SWIG_fail
;
21045 resultobj
= wxPyMake_wxObject(result
, 0);
21053 SWIGINTERN PyObject
*_wrap_MDIParentFrame_SetWindowMenu(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21054 PyObject
*resultobj
= 0;
21055 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
21056 wxMenu
*arg2
= (wxMenu
*) 0 ;
21061 PyObject
* obj0
= 0 ;
21062 PyObject
* obj1
= 0 ;
21063 char * kwnames
[] = {
21064 (char *) "self",(char *) "menu", NULL
21067 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MDIParentFrame_SetWindowMenu",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
21068 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMDIParentFrame
, 0 | 0 );
21069 if (!SWIG_IsOK(res1
)) {
21070 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MDIParentFrame_SetWindowMenu" "', expected argument " "1"" of type '" "wxMDIParentFrame *""'");
21072 arg1
= reinterpret_cast< wxMDIParentFrame
* >(argp1
);
21073 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxMenu
, 0 | 0 );
21074 if (!SWIG_IsOK(res2
)) {
21075 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "MDIParentFrame_SetWindowMenu" "', expected argument " "2"" of type '" "wxMenu *""'");
21077 arg2
= reinterpret_cast< wxMenu
* >(argp2
);
21079 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21080 (arg1
)->SetWindowMenu(arg2
);
21081 wxPyEndAllowThreads(__tstate
);
21082 if (PyErr_Occurred()) SWIG_fail
;
21084 resultobj
= SWIG_Py_Void();
21091 SWIGINTERN PyObject
*_wrap_MDIParentFrame_Tile(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21092 PyObject
*resultobj
= 0;
21093 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
21094 wxOrientation arg2
= (wxOrientation
) wxHORIZONTAL
;
21099 PyObject
* obj0
= 0 ;
21100 PyObject
* obj1
= 0 ;
21101 char * kwnames
[] = {
21102 (char *) "self",(char *) "orient", NULL
21105 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:MDIParentFrame_Tile",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
21106 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMDIParentFrame
, 0 | 0 );
21107 if (!SWIG_IsOK(res1
)) {
21108 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MDIParentFrame_Tile" "', expected argument " "1"" of type '" "wxMDIParentFrame *""'");
21110 arg1
= reinterpret_cast< wxMDIParentFrame
* >(argp1
);
21112 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
21113 if (!SWIG_IsOK(ecode2
)) {
21114 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "MDIParentFrame_Tile" "', expected argument " "2"" of type '" "wxOrientation""'");
21116 arg2
= static_cast< wxOrientation
>(val2
);
21119 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21120 (arg1
)->Tile(arg2
);
21121 wxPyEndAllowThreads(__tstate
);
21122 if (PyErr_Occurred()) SWIG_fail
;
21124 resultobj
= SWIG_Py_Void();
21131 SWIGINTERN PyObject
*MDIParentFrame_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21133 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
21134 SWIG_TypeNewClientData(SWIGTYPE_p_wxMDIParentFrame
, SWIG_NewClientData(obj
));
21135 return SWIG_Py_Void();
21138 SWIGINTERN PyObject
*MDIParentFrame_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21139 return SWIG_Python_InitShadowInstance(args
);
21142 SWIGINTERN PyObject
*_wrap_new_MDIChildFrame(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21143 PyObject
*resultobj
= 0;
21144 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
21145 int arg2
= (int) (int)-1 ;
21146 wxString
const &arg3_defvalue
= wxPyEmptyString
;
21147 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
21148 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
21149 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
21150 wxSize
const &arg5_defvalue
= wxDefaultSize
;
21151 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
21152 long arg6
= (long) wxDEFAULT_FRAME_STYLE
;
21153 wxString
const &arg7_defvalue
= wxPyFrameNameStr
;
21154 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
21155 wxMDIChildFrame
*result
= 0 ;
21160 bool temp3
= false ;
21165 bool temp7
= false ;
21166 PyObject
* obj0
= 0 ;
21167 PyObject
* obj1
= 0 ;
21168 PyObject
* obj2
= 0 ;
21169 PyObject
* obj3
= 0 ;
21170 PyObject
* obj4
= 0 ;
21171 PyObject
* obj5
= 0 ;
21172 PyObject
* obj6
= 0 ;
21173 char * kwnames
[] = {
21174 (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
21177 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_MDIChildFrame",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
21178 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMDIParentFrame
, 0 | 0 );
21179 if (!SWIG_IsOK(res1
)) {
21180 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_MDIChildFrame" "', expected argument " "1"" of type '" "wxMDIParentFrame *""'");
21182 arg1
= reinterpret_cast< wxMDIParentFrame
* >(argp1
);
21184 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
21185 if (!SWIG_IsOK(ecode2
)) {
21186 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_MDIChildFrame" "', expected argument " "2"" of type '" "int""'");
21188 arg2
= static_cast< int >(val2
);
21192 arg3
= wxString_in_helper(obj2
);
21193 if (arg3
== NULL
) SWIG_fail
;
21200 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
21206 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
21210 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
21211 if (!SWIG_IsOK(ecode6
)) {
21212 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_MDIChildFrame" "', expected argument " "6"" of type '" "long""'");
21214 arg6
= static_cast< long >(val6
);
21218 arg7
= wxString_in_helper(obj6
);
21219 if (arg7
== NULL
) SWIG_fail
;
21224 if (!wxPyCheckForApp()) SWIG_fail
;
21225 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21226 result
= (wxMDIChildFrame
*)new wxMDIChildFrame(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
21227 wxPyEndAllowThreads(__tstate
);
21228 if (PyErr_Occurred()) SWIG_fail
;
21230 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMDIChildFrame
, SWIG_POINTER_NEW
| 0 );
21253 SWIGINTERN PyObject
*_wrap_new_PreMDIChildFrame(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21254 PyObject
*resultobj
= 0;
21255 wxMDIChildFrame
*result
= 0 ;
21257 if (!SWIG_Python_UnpackTuple(args
,"new_PreMDIChildFrame",0,0,0)) SWIG_fail
;
21259 if (!wxPyCheckForApp()) SWIG_fail
;
21260 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21261 result
= (wxMDIChildFrame
*)new wxMDIChildFrame();
21262 wxPyEndAllowThreads(__tstate
);
21263 if (PyErr_Occurred()) SWIG_fail
;
21265 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMDIChildFrame
, SWIG_POINTER_OWN
| 0 );
21272 SWIGINTERN PyObject
*_wrap_MDIChildFrame_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21273 PyObject
*resultobj
= 0;
21274 wxMDIChildFrame
*arg1
= (wxMDIChildFrame
*) 0 ;
21275 wxMDIParentFrame
*arg2
= (wxMDIParentFrame
*) 0 ;
21276 int arg3
= (int) (int)-1 ;
21277 wxString
const &arg4_defvalue
= wxPyEmptyString
;
21278 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
21279 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
21280 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
21281 wxSize
const &arg6_defvalue
= wxDefaultSize
;
21282 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
21283 long arg7
= (long) wxDEFAULT_FRAME_STYLE
;
21284 wxString
const &arg8_defvalue
= wxPyFrameNameStr
;
21285 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
21293 bool temp4
= false ;
21298 bool temp8
= false ;
21299 PyObject
* obj0
= 0 ;
21300 PyObject
* obj1
= 0 ;
21301 PyObject
* obj2
= 0 ;
21302 PyObject
* obj3
= 0 ;
21303 PyObject
* obj4
= 0 ;
21304 PyObject
* obj5
= 0 ;
21305 PyObject
* obj6
= 0 ;
21306 PyObject
* obj7
= 0 ;
21307 char * kwnames
[] = {
21308 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
21311 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:MDIChildFrame_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
21312 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMDIChildFrame
, 0 | 0 );
21313 if (!SWIG_IsOK(res1
)) {
21314 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MDIChildFrame_Create" "', expected argument " "1"" of type '" "wxMDIChildFrame *""'");
21316 arg1
= reinterpret_cast< wxMDIChildFrame
* >(argp1
);
21317 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxMDIParentFrame
, 0 | 0 );
21318 if (!SWIG_IsOK(res2
)) {
21319 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "MDIChildFrame_Create" "', expected argument " "2"" of type '" "wxMDIParentFrame *""'");
21321 arg2
= reinterpret_cast< wxMDIParentFrame
* >(argp2
);
21323 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
21324 if (!SWIG_IsOK(ecode3
)) {
21325 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "MDIChildFrame_Create" "', expected argument " "3"" of type '" "int""'");
21327 arg3
= static_cast< int >(val3
);
21331 arg4
= wxString_in_helper(obj3
);
21332 if (arg4
== NULL
) SWIG_fail
;
21339 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
21345 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
21349 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
21350 if (!SWIG_IsOK(ecode7
)) {
21351 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "MDIChildFrame_Create" "', expected argument " "7"" of type '" "long""'");
21353 arg7
= static_cast< long >(val7
);
21357 arg8
= wxString_in_helper(obj7
);
21358 if (arg8
== NULL
) SWIG_fail
;
21363 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21364 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxString
const &)*arg8
);
21365 wxPyEndAllowThreads(__tstate
);
21366 if (PyErr_Occurred()) SWIG_fail
;
21369 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21393 SWIGINTERN PyObject
*_wrap_MDIChildFrame_Activate(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21394 PyObject
*resultobj
= 0;
21395 wxMDIChildFrame
*arg1
= (wxMDIChildFrame
*) 0 ;
21398 PyObject
*swig_obj
[1] ;
21400 if (!args
) SWIG_fail
;
21401 swig_obj
[0] = args
;
21402 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMDIChildFrame
, 0 | 0 );
21403 if (!SWIG_IsOK(res1
)) {
21404 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MDIChildFrame_Activate" "', expected argument " "1"" of type '" "wxMDIChildFrame *""'");
21406 arg1
= reinterpret_cast< wxMDIChildFrame
* >(argp1
);
21408 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21409 (arg1
)->Activate();
21410 wxPyEndAllowThreads(__tstate
);
21411 if (PyErr_Occurred()) SWIG_fail
;
21413 resultobj
= SWIG_Py_Void();
21420 SWIGINTERN PyObject
*MDIChildFrame_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21422 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
21423 SWIG_TypeNewClientData(SWIGTYPE_p_wxMDIChildFrame
, SWIG_NewClientData(obj
));
21424 return SWIG_Py_Void();
21427 SWIGINTERN PyObject
*MDIChildFrame_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21428 return SWIG_Python_InitShadowInstance(args
);
21431 SWIGINTERN PyObject
*_wrap_new_MDIClientWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21432 PyObject
*resultobj
= 0;
21433 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
21434 long arg2
= (long) 0 ;
21435 wxMDIClientWindow
*result
= 0 ;
21440 PyObject
* obj0
= 0 ;
21441 PyObject
* obj1
= 0 ;
21442 char * kwnames
[] = {
21443 (char *) "parent",(char *) "style", NULL
21446 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_MDIClientWindow",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
21447 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMDIParentFrame
, 0 | 0 );
21448 if (!SWIG_IsOK(res1
)) {
21449 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_MDIClientWindow" "', expected argument " "1"" of type '" "wxMDIParentFrame *""'");
21451 arg1
= reinterpret_cast< wxMDIParentFrame
* >(argp1
);
21453 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
21454 if (!SWIG_IsOK(ecode2
)) {
21455 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_MDIClientWindow" "', expected argument " "2"" of type '" "long""'");
21457 arg2
= static_cast< long >(val2
);
21460 if (!wxPyCheckForApp()) SWIG_fail
;
21461 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21462 result
= (wxMDIClientWindow
*)new wxMDIClientWindow(arg1
,arg2
);
21463 wxPyEndAllowThreads(__tstate
);
21464 if (PyErr_Occurred()) SWIG_fail
;
21466 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMDIClientWindow
, SWIG_POINTER_NEW
| 0 );
21473 SWIGINTERN PyObject
*_wrap_new_PreMDIClientWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21474 PyObject
*resultobj
= 0;
21475 wxMDIClientWindow
*result
= 0 ;
21477 if (!SWIG_Python_UnpackTuple(args
,"new_PreMDIClientWindow",0,0,0)) SWIG_fail
;
21479 if (!wxPyCheckForApp()) SWIG_fail
;
21480 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21481 result
= (wxMDIClientWindow
*)new wxMDIClientWindow();
21482 wxPyEndAllowThreads(__tstate
);
21483 if (PyErr_Occurred()) SWIG_fail
;
21485 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMDIClientWindow
, SWIG_POINTER_OWN
| 0 );
21492 SWIGINTERN PyObject
*_wrap_MDIClientWindow_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21493 PyObject
*resultobj
= 0;
21494 wxMDIClientWindow
*arg1
= (wxMDIClientWindow
*) 0 ;
21495 wxMDIParentFrame
*arg2
= (wxMDIParentFrame
*) 0 ;
21496 long arg3
= (long) 0 ;
21504 PyObject
* obj0
= 0 ;
21505 PyObject
* obj1
= 0 ;
21506 PyObject
* obj2
= 0 ;
21507 char * kwnames
[] = {
21508 (char *) "self",(char *) "parent",(char *) "style", NULL
21511 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:MDIClientWindow_Create",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
21512 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMDIClientWindow
, 0 | 0 );
21513 if (!SWIG_IsOK(res1
)) {
21514 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MDIClientWindow_Create" "', expected argument " "1"" of type '" "wxMDIClientWindow *""'");
21516 arg1
= reinterpret_cast< wxMDIClientWindow
* >(argp1
);
21517 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxMDIParentFrame
, 0 | 0 );
21518 if (!SWIG_IsOK(res2
)) {
21519 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "MDIClientWindow_Create" "', expected argument " "2"" of type '" "wxMDIParentFrame *""'");
21521 arg2
= reinterpret_cast< wxMDIParentFrame
* >(argp2
);
21523 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
21524 if (!SWIG_IsOK(ecode3
)) {
21525 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "MDIClientWindow_Create" "', expected argument " "3"" of type '" "long""'");
21527 arg3
= static_cast< long >(val3
);
21530 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21531 result
= (bool)(arg1
)->Create(arg2
,arg3
);
21532 wxPyEndAllowThreads(__tstate
);
21533 if (PyErr_Occurred()) SWIG_fail
;
21536 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21544 SWIGINTERN PyObject
*MDIClientWindow_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21546 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
21547 SWIG_TypeNewClientData(SWIGTYPE_p_wxMDIClientWindow
, SWIG_NewClientData(obj
));
21548 return SWIG_Py_Void();
21551 SWIGINTERN PyObject
*MDIClientWindow_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21552 return SWIG_Python_InitShadowInstance(args
);
21555 SWIGINTERN PyObject
*_wrap_new_PyWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21556 PyObject
*resultobj
= 0;
21557 wxWindow
*arg1
= (wxWindow
*) 0 ;
21558 int arg2
= (int) (int)-1 ;
21559 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
21560 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
21561 wxSize
const &arg4_defvalue
= wxDefaultSize
;
21562 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
21563 long arg5
= (long) 0 ;
21564 wxString
const &arg6_defvalue
= wxPyPanelNameStr
;
21565 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
21566 wxPyWindow
*result
= 0 ;
21575 bool temp6
= false ;
21576 PyObject
* obj0
= 0 ;
21577 PyObject
* obj1
= 0 ;
21578 PyObject
* obj2
= 0 ;
21579 PyObject
* obj3
= 0 ;
21580 PyObject
* obj4
= 0 ;
21581 PyObject
* obj5
= 0 ;
21582 char * kwnames
[] = {
21583 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
21586 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_PyWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
21587 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
21588 if (!SWIG_IsOK(res1
)) {
21589 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PyWindow" "', expected argument " "1"" of type '" "wxWindow *""'");
21591 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
21593 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
21594 if (!SWIG_IsOK(ecode2
)) {
21595 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_PyWindow" "', expected argument " "2"" of type '" "int""'");
21597 arg2
= static_cast< int >(val2
);
21602 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
21608 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
21612 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
21613 if (!SWIG_IsOK(ecode5
)) {
21614 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_PyWindow" "', expected argument " "5"" of type '" "long""'");
21616 arg5
= static_cast< long >(val5
);
21620 arg6
= wxString_in_helper(obj5
);
21621 if (arg6
== NULL
) SWIG_fail
;
21626 if (!wxPyCheckForApp()) SWIG_fail
;
21627 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21628 result
= (wxPyWindow
*)new wxPyWindow(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
21629 wxPyEndAllowThreads(__tstate
);
21630 if (PyErr_Occurred()) SWIG_fail
;
21632 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyWindow
, SWIG_POINTER_NEW
| 0 );
21647 SWIGINTERN PyObject
*_wrap_new_PrePyWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21648 PyObject
*resultobj
= 0;
21649 wxPyWindow
*result
= 0 ;
21651 if (!SWIG_Python_UnpackTuple(args
,"new_PrePyWindow",0,0,0)) SWIG_fail
;
21653 if (!wxPyCheckForApp()) SWIG_fail
;
21654 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21655 result
= (wxPyWindow
*)new wxPyWindow();
21656 wxPyEndAllowThreads(__tstate
);
21657 if (PyErr_Occurred()) SWIG_fail
;
21659 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyWindow
, SWIG_POINTER_OWN
| 0 );
21666 SWIGINTERN PyObject
*_wrap_PyWindow__setCallbackInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21667 PyObject
*resultobj
= 0;
21668 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
21669 PyObject
*arg2
= (PyObject
*) 0 ;
21670 PyObject
*arg3
= (PyObject
*) 0 ;
21673 PyObject
* obj0
= 0 ;
21674 PyObject
* obj1
= 0 ;
21675 PyObject
* obj2
= 0 ;
21676 char * kwnames
[] = {
21677 (char *) "self",(char *) "self",(char *) "_class", NULL
21680 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyWindow__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
21681 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyWindow
, 0 | 0 );
21682 if (!SWIG_IsOK(res1
)) {
21683 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyWindow__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyWindow *""'");
21685 arg1
= reinterpret_cast< wxPyWindow
* >(argp1
);
21689 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21690 (arg1
)->_setCallbackInfo(arg2
,arg3
);
21691 wxPyEndAllowThreads(__tstate
);
21692 if (PyErr_Occurred()) SWIG_fail
;
21694 resultobj
= SWIG_Py_Void();
21701 SWIGINTERN PyObject
*_wrap_PyWindow_DoEraseBackground(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21702 PyObject
*resultobj
= 0;
21703 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
21704 wxDC
*arg2
= (wxDC
*) 0 ;
21710 PyObject
* obj0
= 0 ;
21711 PyObject
* obj1
= 0 ;
21712 char * kwnames
[] = {
21713 (char *) "self",(char *) "dc", NULL
21716 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyWindow_DoEraseBackground",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
21717 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyWindow
, 0 | 0 );
21718 if (!SWIG_IsOK(res1
)) {
21719 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyWindow_DoEraseBackground" "', expected argument " "1"" of type '" "wxPyWindow *""'");
21721 arg1
= reinterpret_cast< wxPyWindow
* >(argp1
);
21722 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxDC
, 0 | 0 );
21723 if (!SWIG_IsOK(res2
)) {
21724 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PyWindow_DoEraseBackground" "', expected argument " "2"" of type '" "wxDC *""'");
21726 arg2
= reinterpret_cast< wxDC
* >(argp2
);
21728 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21729 result
= (bool)(arg1
)->DoEraseBackground(arg2
);
21730 wxPyEndAllowThreads(__tstate
);
21731 if (PyErr_Occurred()) SWIG_fail
;
21734 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21742 SWIGINTERN PyObject
*_wrap_PyWindow_DoMoveWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21743 PyObject
*resultobj
= 0;
21744 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
21759 PyObject
* obj0
= 0 ;
21760 PyObject
* obj1
= 0 ;
21761 PyObject
* obj2
= 0 ;
21762 PyObject
* obj3
= 0 ;
21763 PyObject
* obj4
= 0 ;
21764 char * kwnames
[] = {
21765 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
21768 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:PyWindow_DoMoveWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
21769 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyWindow
, 0 | 0 );
21770 if (!SWIG_IsOK(res1
)) {
21771 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyWindow_DoMoveWindow" "', expected argument " "1"" of type '" "wxPyWindow *""'");
21773 arg1
= reinterpret_cast< wxPyWindow
* >(argp1
);
21774 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
21775 if (!SWIG_IsOK(ecode2
)) {
21776 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PyWindow_DoMoveWindow" "', expected argument " "2"" of type '" "int""'");
21778 arg2
= static_cast< int >(val2
);
21779 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
21780 if (!SWIG_IsOK(ecode3
)) {
21781 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PyWindow_DoMoveWindow" "', expected argument " "3"" of type '" "int""'");
21783 arg3
= static_cast< int >(val3
);
21784 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
21785 if (!SWIG_IsOK(ecode4
)) {
21786 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PyWindow_DoMoveWindow" "', expected argument " "4"" of type '" "int""'");
21788 arg4
= static_cast< int >(val4
);
21789 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
21790 if (!SWIG_IsOK(ecode5
)) {
21791 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PyWindow_DoMoveWindow" "', expected argument " "5"" of type '" "int""'");
21793 arg5
= static_cast< int >(val5
);
21795 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21796 (arg1
)->DoMoveWindow(arg2
,arg3
,arg4
,arg5
);
21797 wxPyEndAllowThreads(__tstate
);
21798 if (PyErr_Occurred()) SWIG_fail
;
21800 resultobj
= SWIG_Py_Void();
21807 SWIGINTERN PyObject
*_wrap_PyWindow_DoSetSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21808 PyObject
*resultobj
= 0;
21809 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
21814 int arg6
= (int) wxSIZE_AUTO
;
21827 PyObject
* obj0
= 0 ;
21828 PyObject
* obj1
= 0 ;
21829 PyObject
* obj2
= 0 ;
21830 PyObject
* obj3
= 0 ;
21831 PyObject
* obj4
= 0 ;
21832 PyObject
* obj5
= 0 ;
21833 char * kwnames
[] = {
21834 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "sizeFlags", NULL
21837 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|O:PyWindow_DoSetSize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
21838 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyWindow
, 0 | 0 );
21839 if (!SWIG_IsOK(res1
)) {
21840 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyWindow_DoSetSize" "', expected argument " "1"" of type '" "wxPyWindow *""'");
21842 arg1
= reinterpret_cast< wxPyWindow
* >(argp1
);
21843 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
21844 if (!SWIG_IsOK(ecode2
)) {
21845 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PyWindow_DoSetSize" "', expected argument " "2"" of type '" "int""'");
21847 arg2
= static_cast< int >(val2
);
21848 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
21849 if (!SWIG_IsOK(ecode3
)) {
21850 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PyWindow_DoSetSize" "', expected argument " "3"" of type '" "int""'");
21852 arg3
= static_cast< int >(val3
);
21853 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
21854 if (!SWIG_IsOK(ecode4
)) {
21855 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PyWindow_DoSetSize" "', expected argument " "4"" of type '" "int""'");
21857 arg4
= static_cast< int >(val4
);
21858 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
21859 if (!SWIG_IsOK(ecode5
)) {
21860 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PyWindow_DoSetSize" "', expected argument " "5"" of type '" "int""'");
21862 arg5
= static_cast< int >(val5
);
21864 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
21865 if (!SWIG_IsOK(ecode6
)) {
21866 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "PyWindow_DoSetSize" "', expected argument " "6"" of type '" "int""'");
21868 arg6
= static_cast< int >(val6
);
21871 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21872 (arg1
)->DoSetSize(arg2
,arg3
,arg4
,arg5
,arg6
);
21873 wxPyEndAllowThreads(__tstate
);
21874 if (PyErr_Occurred()) SWIG_fail
;
21876 resultobj
= SWIG_Py_Void();
21883 SWIGINTERN PyObject
*_wrap_PyWindow_DoSetClientSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21884 PyObject
*resultobj
= 0;
21885 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
21894 PyObject
* obj0
= 0 ;
21895 PyObject
* obj1
= 0 ;
21896 PyObject
* obj2
= 0 ;
21897 char * kwnames
[] = {
21898 (char *) "self",(char *) "width",(char *) "height", NULL
21901 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyWindow_DoSetClientSize",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
21902 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyWindow
, 0 | 0 );
21903 if (!SWIG_IsOK(res1
)) {
21904 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyWindow_DoSetClientSize" "', expected argument " "1"" of type '" "wxPyWindow *""'");
21906 arg1
= reinterpret_cast< wxPyWindow
* >(argp1
);
21907 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
21908 if (!SWIG_IsOK(ecode2
)) {
21909 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PyWindow_DoSetClientSize" "', expected argument " "2"" of type '" "int""'");
21911 arg2
= static_cast< int >(val2
);
21912 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
21913 if (!SWIG_IsOK(ecode3
)) {
21914 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PyWindow_DoSetClientSize" "', expected argument " "3"" of type '" "int""'");
21916 arg3
= static_cast< int >(val3
);
21918 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21919 (arg1
)->DoSetClientSize(arg2
,arg3
);
21920 wxPyEndAllowThreads(__tstate
);
21921 if (PyErr_Occurred()) SWIG_fail
;
21923 resultobj
= SWIG_Py_Void();
21930 SWIGINTERN PyObject
*_wrap_PyWindow_DoSetVirtualSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21931 PyObject
*resultobj
= 0;
21932 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
21941 PyObject
* obj0
= 0 ;
21942 PyObject
* obj1
= 0 ;
21943 PyObject
* obj2
= 0 ;
21944 char * kwnames
[] = {
21945 (char *) "self",(char *) "x",(char *) "y", NULL
21948 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyWindow_DoSetVirtualSize",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
21949 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyWindow
, 0 | 0 );
21950 if (!SWIG_IsOK(res1
)) {
21951 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyWindow_DoSetVirtualSize" "', expected argument " "1"" of type '" "wxPyWindow *""'");
21953 arg1
= reinterpret_cast< wxPyWindow
* >(argp1
);
21954 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
21955 if (!SWIG_IsOK(ecode2
)) {
21956 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PyWindow_DoSetVirtualSize" "', expected argument " "2"" of type '" "int""'");
21958 arg2
= static_cast< int >(val2
);
21959 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
21960 if (!SWIG_IsOK(ecode3
)) {
21961 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PyWindow_DoSetVirtualSize" "', expected argument " "3"" of type '" "int""'");
21963 arg3
= static_cast< int >(val3
);
21965 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21966 (arg1
)->DoSetVirtualSize(arg2
,arg3
);
21967 wxPyEndAllowThreads(__tstate
);
21968 if (PyErr_Occurred()) SWIG_fail
;
21970 resultobj
= SWIG_Py_Void();
21977 SWIGINTERN PyObject
*_wrap_PyWindow_DoGetSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21978 PyObject
*resultobj
= 0;
21979 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
21980 int *arg2
= (int *) 0 ;
21981 int *arg3
= (int *) 0 ;
21985 int res2
= SWIG_TMPOBJ
;
21987 int res3
= SWIG_TMPOBJ
;
21988 PyObject
*swig_obj
[1] ;
21992 if (!args
) SWIG_fail
;
21993 swig_obj
[0] = args
;
21994 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyWindow
, 0 | 0 );
21995 if (!SWIG_IsOK(res1
)) {
21996 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyWindow_DoGetSize" "', expected argument " "1"" of type '" "wxPyWindow const *""'");
21998 arg1
= reinterpret_cast< wxPyWindow
* >(argp1
);
22000 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22001 ((wxPyWindow
const *)arg1
)->DoGetSize(arg2
,arg3
);
22002 wxPyEndAllowThreads(__tstate
);
22003 if (PyErr_Occurred()) SWIG_fail
;
22005 resultobj
= SWIG_Py_Void();
22006 if (SWIG_IsTmpObj(res2
)) {
22007 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
22009 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
22010 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
22012 if (SWIG_IsTmpObj(res3
)) {
22013 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
22015 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
22016 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
22024 SWIGINTERN PyObject
*_wrap_PyWindow_DoGetClientSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22025 PyObject
*resultobj
= 0;
22026 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
22027 int *arg2
= (int *) 0 ;
22028 int *arg3
= (int *) 0 ;
22032 int res2
= SWIG_TMPOBJ
;
22034 int res3
= SWIG_TMPOBJ
;
22035 PyObject
*swig_obj
[1] ;
22039 if (!args
) SWIG_fail
;
22040 swig_obj
[0] = args
;
22041 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyWindow
, 0 | 0 );
22042 if (!SWIG_IsOK(res1
)) {
22043 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyWindow_DoGetClientSize" "', expected argument " "1"" of type '" "wxPyWindow const *""'");
22045 arg1
= reinterpret_cast< wxPyWindow
* >(argp1
);
22047 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22048 ((wxPyWindow
const *)arg1
)->DoGetClientSize(arg2
,arg3
);
22049 wxPyEndAllowThreads(__tstate
);
22050 if (PyErr_Occurred()) SWIG_fail
;
22052 resultobj
= SWIG_Py_Void();
22053 if (SWIG_IsTmpObj(res2
)) {
22054 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
22056 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
22057 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
22059 if (SWIG_IsTmpObj(res3
)) {
22060 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
22062 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
22063 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
22071 SWIGINTERN PyObject
*_wrap_PyWindow_DoGetPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22072 PyObject
*resultobj
= 0;
22073 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
22074 int *arg2
= (int *) 0 ;
22075 int *arg3
= (int *) 0 ;
22079 int res2
= SWIG_TMPOBJ
;
22081 int res3
= SWIG_TMPOBJ
;
22082 PyObject
*swig_obj
[1] ;
22086 if (!args
) SWIG_fail
;
22087 swig_obj
[0] = args
;
22088 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyWindow
, 0 | 0 );
22089 if (!SWIG_IsOK(res1
)) {
22090 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyWindow_DoGetPosition" "', expected argument " "1"" of type '" "wxPyWindow const *""'");
22092 arg1
= reinterpret_cast< wxPyWindow
* >(argp1
);
22094 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22095 ((wxPyWindow
const *)arg1
)->DoGetPosition(arg2
,arg3
);
22096 wxPyEndAllowThreads(__tstate
);
22097 if (PyErr_Occurred()) SWIG_fail
;
22099 resultobj
= SWIG_Py_Void();
22100 if (SWIG_IsTmpObj(res2
)) {
22101 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
22103 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
22104 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
22106 if (SWIG_IsTmpObj(res3
)) {
22107 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
22109 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
22110 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
22118 SWIGINTERN PyObject
*_wrap_PyWindow_DoGetVirtualSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22119 PyObject
*resultobj
= 0;
22120 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
22124 PyObject
*swig_obj
[1] ;
22126 if (!args
) SWIG_fail
;
22127 swig_obj
[0] = args
;
22128 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyWindow
, 0 | 0 );
22129 if (!SWIG_IsOK(res1
)) {
22130 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyWindow_DoGetVirtualSize" "', expected argument " "1"" of type '" "wxPyWindow const *""'");
22132 arg1
= reinterpret_cast< wxPyWindow
* >(argp1
);
22134 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22135 result
= ((wxPyWindow
const *)arg1
)->DoGetVirtualSize();
22136 wxPyEndAllowThreads(__tstate
);
22137 if (PyErr_Occurred()) SWIG_fail
;
22139 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
22146 SWIGINTERN PyObject
*_wrap_PyWindow_DoGetBestSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22147 PyObject
*resultobj
= 0;
22148 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_DoGetBestSize" "', expected argument " "1"" of type '" "wxPyWindow const *""'");
22160 arg1
= reinterpret_cast< wxPyWindow
* >(argp1
);
22162 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22163 result
= ((wxPyWindow
const *)arg1
)->DoGetBestSize();
22164 wxPyEndAllowThreads(__tstate
);
22165 if (PyErr_Occurred()) SWIG_fail
;
22167 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
22174 SWIGINTERN PyObject
*_wrap_PyWindow_GetDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22175 PyObject
*resultobj
= 0;
22176 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
22177 SwigValueWrapper
<wxVisualAttributes
> result
;
22180 PyObject
*swig_obj
[1] ;
22182 if (!args
) SWIG_fail
;
22183 swig_obj
[0] = args
;
22184 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyWindow
, 0 | 0 );
22185 if (!SWIG_IsOK(res1
)) {
22186 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyWindow_GetDefaultAttributes" "', expected argument " "1"" of type '" "wxPyWindow *""'");
22188 arg1
= reinterpret_cast< wxPyWindow
* >(argp1
);
22190 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22191 result
= (arg1
)->GetDefaultAttributes();
22192 wxPyEndAllowThreads(__tstate
);
22193 if (PyErr_Occurred()) SWIG_fail
;
22195 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
22202 SWIGINTERN PyObject
*_wrap_PyWindow_OnInternalIdle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22203 PyObject
*resultobj
= 0;
22204 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
22207 PyObject
*swig_obj
[1] ;
22209 if (!args
) SWIG_fail
;
22210 swig_obj
[0] = args
;
22211 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyWindow
, 0 | 0 );
22212 if (!SWIG_IsOK(res1
)) {
22213 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyWindow_OnInternalIdle" "', expected argument " "1"" of type '" "wxPyWindow *""'");
22215 arg1
= reinterpret_cast< wxPyWindow
* >(argp1
);
22217 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22218 (arg1
)->OnInternalIdle();
22219 wxPyEndAllowThreads(__tstate
);
22220 if (PyErr_Occurred()) SWIG_fail
;
22222 resultobj
= SWIG_Py_Void();
22229 SWIGINTERN PyObject
*PyWindow_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22231 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
22232 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyWindow
, SWIG_NewClientData(obj
));
22233 return SWIG_Py_Void();
22236 SWIGINTERN PyObject
*PyWindow_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22237 return SWIG_Python_InitShadowInstance(args
);
22240 SWIGINTERN PyObject
*_wrap_new_PyPanel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22241 PyObject
*resultobj
= 0;
22242 wxWindow
*arg1
= (wxWindow
*) 0 ;
22243 int arg2
= (int) (int)-1 ;
22244 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
22245 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
22246 wxSize
const &arg4_defvalue
= wxDefaultSize
;
22247 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
22248 long arg5
= (long) 0 ;
22249 wxString
const &arg6_defvalue
= wxPyPanelNameStr
;
22250 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
22251 wxPyPanel
*result
= 0 ;
22260 bool temp6
= false ;
22261 PyObject
* obj0
= 0 ;
22262 PyObject
* obj1
= 0 ;
22263 PyObject
* obj2
= 0 ;
22264 PyObject
* obj3
= 0 ;
22265 PyObject
* obj4
= 0 ;
22266 PyObject
* obj5
= 0 ;
22267 char * kwnames
[] = {
22268 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
22271 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_PyPanel",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
22272 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
22273 if (!SWIG_IsOK(res1
)) {
22274 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PyPanel" "', expected argument " "1"" of type '" "wxWindow *""'");
22276 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
22278 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
22279 if (!SWIG_IsOK(ecode2
)) {
22280 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_PyPanel" "', expected argument " "2"" of type '" "int""'");
22282 arg2
= static_cast< int >(val2
);
22287 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
22293 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
22297 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
22298 if (!SWIG_IsOK(ecode5
)) {
22299 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_PyPanel" "', expected argument " "5"" of type '" "long""'");
22301 arg5
= static_cast< long >(val5
);
22305 arg6
= wxString_in_helper(obj5
);
22306 if (arg6
== NULL
) SWIG_fail
;
22311 if (!wxPyCheckForApp()) SWIG_fail
;
22312 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22313 result
= (wxPyPanel
*)new wxPyPanel(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
22314 wxPyEndAllowThreads(__tstate
);
22315 if (PyErr_Occurred()) SWIG_fail
;
22317 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyPanel
, SWIG_POINTER_NEW
| 0 );
22332 SWIGINTERN PyObject
*_wrap_new_PrePyPanel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22333 PyObject
*resultobj
= 0;
22334 wxPyPanel
*result
= 0 ;
22336 if (!SWIG_Python_UnpackTuple(args
,"new_PrePyPanel",0,0,0)) SWIG_fail
;
22338 if (!wxPyCheckForApp()) SWIG_fail
;
22339 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22340 result
= (wxPyPanel
*)new wxPyPanel();
22341 wxPyEndAllowThreads(__tstate
);
22342 if (PyErr_Occurred()) SWIG_fail
;
22344 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyPanel
, SWIG_POINTER_OWN
| 0 );
22351 SWIGINTERN PyObject
*_wrap_PyPanel__setCallbackInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22352 PyObject
*resultobj
= 0;
22353 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
22354 PyObject
*arg2
= (PyObject
*) 0 ;
22355 PyObject
*arg3
= (PyObject
*) 0 ;
22358 PyObject
* obj0
= 0 ;
22359 PyObject
* obj1
= 0 ;
22360 PyObject
* obj2
= 0 ;
22361 char * kwnames
[] = {
22362 (char *) "self",(char *) "self",(char *) "_class", NULL
22365 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyPanel__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
22366 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPanel
, 0 | 0 );
22367 if (!SWIG_IsOK(res1
)) {
22368 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyPanel__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyPanel *""'");
22370 arg1
= reinterpret_cast< wxPyPanel
* >(argp1
);
22374 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22375 (arg1
)->_setCallbackInfo(arg2
,arg3
);
22376 wxPyEndAllowThreads(__tstate
);
22377 if (PyErr_Occurred()) SWIG_fail
;
22379 resultobj
= SWIG_Py_Void();
22386 SWIGINTERN PyObject
*_wrap_PyPanel_DoEraseBackground(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22387 PyObject
*resultobj
= 0;
22388 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
22389 wxDC
*arg2
= (wxDC
*) 0 ;
22395 PyObject
* obj0
= 0 ;
22396 PyObject
* obj1
= 0 ;
22397 char * kwnames
[] = {
22398 (char *) "self",(char *) "dc", NULL
22401 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyPanel_DoEraseBackground",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
22402 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPanel
, 0 | 0 );
22403 if (!SWIG_IsOK(res1
)) {
22404 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyPanel_DoEraseBackground" "', expected argument " "1"" of type '" "wxPyPanel *""'");
22406 arg1
= reinterpret_cast< wxPyPanel
* >(argp1
);
22407 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxDC
, 0 | 0 );
22408 if (!SWIG_IsOK(res2
)) {
22409 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PyPanel_DoEraseBackground" "', expected argument " "2"" of type '" "wxDC *""'");
22411 arg2
= reinterpret_cast< wxDC
* >(argp2
);
22413 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22414 result
= (bool)(arg1
)->DoEraseBackground(arg2
);
22415 wxPyEndAllowThreads(__tstate
);
22416 if (PyErr_Occurred()) SWIG_fail
;
22419 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22427 SWIGINTERN PyObject
*_wrap_PyPanel_DoMoveWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22428 PyObject
*resultobj
= 0;
22429 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
22444 PyObject
* obj0
= 0 ;
22445 PyObject
* obj1
= 0 ;
22446 PyObject
* obj2
= 0 ;
22447 PyObject
* obj3
= 0 ;
22448 PyObject
* obj4
= 0 ;
22449 char * kwnames
[] = {
22450 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
22453 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:PyPanel_DoMoveWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
22454 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPanel
, 0 | 0 );
22455 if (!SWIG_IsOK(res1
)) {
22456 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyPanel_DoMoveWindow" "', expected argument " "1"" of type '" "wxPyPanel *""'");
22458 arg1
= reinterpret_cast< wxPyPanel
* >(argp1
);
22459 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
22460 if (!SWIG_IsOK(ecode2
)) {
22461 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PyPanel_DoMoveWindow" "', expected argument " "2"" of type '" "int""'");
22463 arg2
= static_cast< int >(val2
);
22464 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
22465 if (!SWIG_IsOK(ecode3
)) {
22466 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PyPanel_DoMoveWindow" "', expected argument " "3"" of type '" "int""'");
22468 arg3
= static_cast< int >(val3
);
22469 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
22470 if (!SWIG_IsOK(ecode4
)) {
22471 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PyPanel_DoMoveWindow" "', expected argument " "4"" of type '" "int""'");
22473 arg4
= static_cast< int >(val4
);
22474 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
22475 if (!SWIG_IsOK(ecode5
)) {
22476 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PyPanel_DoMoveWindow" "', expected argument " "5"" of type '" "int""'");
22478 arg5
= static_cast< int >(val5
);
22480 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22481 (arg1
)->DoMoveWindow(arg2
,arg3
,arg4
,arg5
);
22482 wxPyEndAllowThreads(__tstate
);
22483 if (PyErr_Occurred()) SWIG_fail
;
22485 resultobj
= SWIG_Py_Void();
22492 SWIGINTERN PyObject
*_wrap_PyPanel_DoSetSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22493 PyObject
*resultobj
= 0;
22494 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
22499 int arg6
= (int) wxSIZE_AUTO
;
22512 PyObject
* obj0
= 0 ;
22513 PyObject
* obj1
= 0 ;
22514 PyObject
* obj2
= 0 ;
22515 PyObject
* obj3
= 0 ;
22516 PyObject
* obj4
= 0 ;
22517 PyObject
* obj5
= 0 ;
22518 char * kwnames
[] = {
22519 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "sizeFlags", NULL
22522 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|O:PyPanel_DoSetSize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
22523 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPanel
, 0 | 0 );
22524 if (!SWIG_IsOK(res1
)) {
22525 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyPanel_DoSetSize" "', expected argument " "1"" of type '" "wxPyPanel *""'");
22527 arg1
= reinterpret_cast< wxPyPanel
* >(argp1
);
22528 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
22529 if (!SWIG_IsOK(ecode2
)) {
22530 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PyPanel_DoSetSize" "', expected argument " "2"" of type '" "int""'");
22532 arg2
= static_cast< int >(val2
);
22533 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
22534 if (!SWIG_IsOK(ecode3
)) {
22535 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PyPanel_DoSetSize" "', expected argument " "3"" of type '" "int""'");
22537 arg3
= static_cast< int >(val3
);
22538 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
22539 if (!SWIG_IsOK(ecode4
)) {
22540 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PyPanel_DoSetSize" "', expected argument " "4"" of type '" "int""'");
22542 arg4
= static_cast< int >(val4
);
22543 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
22544 if (!SWIG_IsOK(ecode5
)) {
22545 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PyPanel_DoSetSize" "', expected argument " "5"" of type '" "int""'");
22547 arg5
= static_cast< int >(val5
);
22549 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
22550 if (!SWIG_IsOK(ecode6
)) {
22551 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "PyPanel_DoSetSize" "', expected argument " "6"" of type '" "int""'");
22553 arg6
= static_cast< int >(val6
);
22556 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22557 (arg1
)->DoSetSize(arg2
,arg3
,arg4
,arg5
,arg6
);
22558 wxPyEndAllowThreads(__tstate
);
22559 if (PyErr_Occurred()) SWIG_fail
;
22561 resultobj
= SWIG_Py_Void();
22568 SWIGINTERN PyObject
*_wrap_PyPanel_DoSetClientSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22569 PyObject
*resultobj
= 0;
22570 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
22579 PyObject
* obj0
= 0 ;
22580 PyObject
* obj1
= 0 ;
22581 PyObject
* obj2
= 0 ;
22582 char * kwnames
[] = {
22583 (char *) "self",(char *) "width",(char *) "height", NULL
22586 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyPanel_DoSetClientSize",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
22587 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPanel
, 0 | 0 );
22588 if (!SWIG_IsOK(res1
)) {
22589 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyPanel_DoSetClientSize" "', expected argument " "1"" of type '" "wxPyPanel *""'");
22591 arg1
= reinterpret_cast< wxPyPanel
* >(argp1
);
22592 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
22593 if (!SWIG_IsOK(ecode2
)) {
22594 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PyPanel_DoSetClientSize" "', expected argument " "2"" of type '" "int""'");
22596 arg2
= static_cast< int >(val2
);
22597 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
22598 if (!SWIG_IsOK(ecode3
)) {
22599 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PyPanel_DoSetClientSize" "', expected argument " "3"" of type '" "int""'");
22601 arg3
= static_cast< int >(val3
);
22603 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22604 (arg1
)->DoSetClientSize(arg2
,arg3
);
22605 wxPyEndAllowThreads(__tstate
);
22606 if (PyErr_Occurred()) SWIG_fail
;
22608 resultobj
= SWIG_Py_Void();
22615 SWIGINTERN PyObject
*_wrap_PyPanel_DoSetVirtualSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22616 PyObject
*resultobj
= 0;
22617 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
22626 PyObject
* obj0
= 0 ;
22627 PyObject
* obj1
= 0 ;
22628 PyObject
* obj2
= 0 ;
22629 char * kwnames
[] = {
22630 (char *) "self",(char *) "x",(char *) "y", NULL
22633 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyPanel_DoSetVirtualSize",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
22634 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPanel
, 0 | 0 );
22635 if (!SWIG_IsOK(res1
)) {
22636 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyPanel_DoSetVirtualSize" "', expected argument " "1"" of type '" "wxPyPanel *""'");
22638 arg1
= reinterpret_cast< wxPyPanel
* >(argp1
);
22639 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
22640 if (!SWIG_IsOK(ecode2
)) {
22641 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PyPanel_DoSetVirtualSize" "', expected argument " "2"" of type '" "int""'");
22643 arg2
= static_cast< int >(val2
);
22644 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
22645 if (!SWIG_IsOK(ecode3
)) {
22646 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PyPanel_DoSetVirtualSize" "', expected argument " "3"" of type '" "int""'");
22648 arg3
= static_cast< int >(val3
);
22650 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22651 (arg1
)->DoSetVirtualSize(arg2
,arg3
);
22652 wxPyEndAllowThreads(__tstate
);
22653 if (PyErr_Occurred()) SWIG_fail
;
22655 resultobj
= SWIG_Py_Void();
22662 SWIGINTERN PyObject
*_wrap_PyPanel_DoGetSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22663 PyObject
*resultobj
= 0;
22664 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
22665 int *arg2
= (int *) 0 ;
22666 int *arg3
= (int *) 0 ;
22670 int res2
= SWIG_TMPOBJ
;
22672 int res3
= SWIG_TMPOBJ
;
22673 PyObject
*swig_obj
[1] ;
22677 if (!args
) SWIG_fail
;
22678 swig_obj
[0] = args
;
22679 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPanel
, 0 | 0 );
22680 if (!SWIG_IsOK(res1
)) {
22681 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyPanel_DoGetSize" "', expected argument " "1"" of type '" "wxPyPanel const *""'");
22683 arg1
= reinterpret_cast< wxPyPanel
* >(argp1
);
22685 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22686 ((wxPyPanel
const *)arg1
)->DoGetSize(arg2
,arg3
);
22687 wxPyEndAllowThreads(__tstate
);
22688 if (PyErr_Occurred()) SWIG_fail
;
22690 resultobj
= SWIG_Py_Void();
22691 if (SWIG_IsTmpObj(res2
)) {
22692 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
22694 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
22695 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
22697 if (SWIG_IsTmpObj(res3
)) {
22698 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
22700 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
22701 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
22709 SWIGINTERN PyObject
*_wrap_PyPanel_DoGetClientSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22710 PyObject
*resultobj
= 0;
22711 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
22712 int *arg2
= (int *) 0 ;
22713 int *arg3
= (int *) 0 ;
22717 int res2
= SWIG_TMPOBJ
;
22719 int res3
= SWIG_TMPOBJ
;
22720 PyObject
*swig_obj
[1] ;
22724 if (!args
) SWIG_fail
;
22725 swig_obj
[0] = args
;
22726 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPanel
, 0 | 0 );
22727 if (!SWIG_IsOK(res1
)) {
22728 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyPanel_DoGetClientSize" "', expected argument " "1"" of type '" "wxPyPanel const *""'");
22730 arg1
= reinterpret_cast< wxPyPanel
* >(argp1
);
22732 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22733 ((wxPyPanel
const *)arg1
)->DoGetClientSize(arg2
,arg3
);
22734 wxPyEndAllowThreads(__tstate
);
22735 if (PyErr_Occurred()) SWIG_fail
;
22737 resultobj
= SWIG_Py_Void();
22738 if (SWIG_IsTmpObj(res2
)) {
22739 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
22741 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
22742 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
22744 if (SWIG_IsTmpObj(res3
)) {
22745 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
22747 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
22748 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
22756 SWIGINTERN PyObject
*_wrap_PyPanel_DoGetPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22757 PyObject
*resultobj
= 0;
22758 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
22759 int *arg2
= (int *) 0 ;
22760 int *arg3
= (int *) 0 ;
22764 int res2
= SWIG_TMPOBJ
;
22766 int res3
= SWIG_TMPOBJ
;
22767 PyObject
*swig_obj
[1] ;
22771 if (!args
) SWIG_fail
;
22772 swig_obj
[0] = args
;
22773 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPanel
, 0 | 0 );
22774 if (!SWIG_IsOK(res1
)) {
22775 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyPanel_DoGetPosition" "', expected argument " "1"" of type '" "wxPyPanel const *""'");
22777 arg1
= reinterpret_cast< wxPyPanel
* >(argp1
);
22779 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22780 ((wxPyPanel
const *)arg1
)->DoGetPosition(arg2
,arg3
);
22781 wxPyEndAllowThreads(__tstate
);
22782 if (PyErr_Occurred()) SWIG_fail
;
22784 resultobj
= SWIG_Py_Void();
22785 if (SWIG_IsTmpObj(res2
)) {
22786 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
22788 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
22789 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
22791 if (SWIG_IsTmpObj(res3
)) {
22792 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
22794 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
22795 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
22803 SWIGINTERN PyObject
*_wrap_PyPanel_DoGetVirtualSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22804 PyObject
*resultobj
= 0;
22805 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
22809 PyObject
*swig_obj
[1] ;
22811 if (!args
) SWIG_fail
;
22812 swig_obj
[0] = args
;
22813 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPanel
, 0 | 0 );
22814 if (!SWIG_IsOK(res1
)) {
22815 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyPanel_DoGetVirtualSize" "', expected argument " "1"" of type '" "wxPyPanel const *""'");
22817 arg1
= reinterpret_cast< wxPyPanel
* >(argp1
);
22819 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22820 result
= ((wxPyPanel
const *)arg1
)->DoGetVirtualSize();
22821 wxPyEndAllowThreads(__tstate
);
22822 if (PyErr_Occurred()) SWIG_fail
;
22824 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
22831 SWIGINTERN PyObject
*_wrap_PyPanel_DoGetBestSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22832 PyObject
*resultobj
= 0;
22833 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
22837 PyObject
*swig_obj
[1] ;
22839 if (!args
) SWIG_fail
;
22840 swig_obj
[0] = args
;
22841 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPanel
, 0 | 0 );
22842 if (!SWIG_IsOK(res1
)) {
22843 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyPanel_DoGetBestSize" "', expected argument " "1"" of type '" "wxPyPanel const *""'");
22845 arg1
= reinterpret_cast< wxPyPanel
* >(argp1
);
22847 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22848 result
= ((wxPyPanel
const *)arg1
)->DoGetBestSize();
22849 wxPyEndAllowThreads(__tstate
);
22850 if (PyErr_Occurred()) SWIG_fail
;
22852 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
22859 SWIGINTERN PyObject
*_wrap_PyPanel_GetDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22860 PyObject
*resultobj
= 0;
22861 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
22862 SwigValueWrapper
<wxVisualAttributes
> result
;
22865 PyObject
*swig_obj
[1] ;
22867 if (!args
) SWIG_fail
;
22868 swig_obj
[0] = args
;
22869 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPanel
, 0 | 0 );
22870 if (!SWIG_IsOK(res1
)) {
22871 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyPanel_GetDefaultAttributes" "', expected argument " "1"" of type '" "wxPyPanel *""'");
22873 arg1
= reinterpret_cast< wxPyPanel
* >(argp1
);
22875 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22876 result
= (arg1
)->GetDefaultAttributes();
22877 wxPyEndAllowThreads(__tstate
);
22878 if (PyErr_Occurred()) SWIG_fail
;
22880 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
22887 SWIGINTERN PyObject
*_wrap_PyPanel_OnInternalIdle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22888 PyObject
*resultobj
= 0;
22889 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
22892 PyObject
*swig_obj
[1] ;
22894 if (!args
) SWIG_fail
;
22895 swig_obj
[0] = args
;
22896 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPanel
, 0 | 0 );
22897 if (!SWIG_IsOK(res1
)) {
22898 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyPanel_OnInternalIdle" "', expected argument " "1"" of type '" "wxPyPanel *""'");
22900 arg1
= reinterpret_cast< wxPyPanel
* >(argp1
);
22902 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22903 (arg1
)->OnInternalIdle();
22904 wxPyEndAllowThreads(__tstate
);
22905 if (PyErr_Occurred()) SWIG_fail
;
22907 resultobj
= SWIG_Py_Void();
22914 SWIGINTERN PyObject
*PyPanel_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22916 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
22917 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyPanel
, SWIG_NewClientData(obj
));
22918 return SWIG_Py_Void();
22921 SWIGINTERN PyObject
*PyPanel_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22922 return SWIG_Python_InitShadowInstance(args
);
22925 SWIGINTERN PyObject
*_wrap_new_PyScrolledWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22926 PyObject
*resultobj
= 0;
22927 wxWindow
*arg1
= (wxWindow
*) 0 ;
22928 int arg2
= (int) (int)-1 ;
22929 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
22930 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
22931 wxSize
const &arg4_defvalue
= wxDefaultSize
;
22932 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
22933 long arg5
= (long) 0 ;
22934 wxString
const &arg6_defvalue
= wxPyPanelNameStr
;
22935 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
22936 wxPyScrolledWindow
*result
= 0 ;
22945 bool temp6
= false ;
22946 PyObject
* obj0
= 0 ;
22947 PyObject
* obj1
= 0 ;
22948 PyObject
* obj2
= 0 ;
22949 PyObject
* obj3
= 0 ;
22950 PyObject
* obj4
= 0 ;
22951 PyObject
* obj5
= 0 ;
22952 char * kwnames
[] = {
22953 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
22956 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_PyScrolledWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
22957 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
22958 if (!SWIG_IsOK(res1
)) {
22959 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PyScrolledWindow" "', expected argument " "1"" of type '" "wxWindow *""'");
22961 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
22963 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
22964 if (!SWIG_IsOK(ecode2
)) {
22965 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_PyScrolledWindow" "', expected argument " "2"" of type '" "int""'");
22967 arg2
= static_cast< int >(val2
);
22972 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
22978 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
22982 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
22983 if (!SWIG_IsOK(ecode5
)) {
22984 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_PyScrolledWindow" "', expected argument " "5"" of type '" "long""'");
22986 arg5
= static_cast< long >(val5
);
22990 arg6
= wxString_in_helper(obj5
);
22991 if (arg6
== NULL
) SWIG_fail
;
22996 if (!wxPyCheckForApp()) SWIG_fail
;
22997 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22998 result
= (wxPyScrolledWindow
*)new wxPyScrolledWindow(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
22999 wxPyEndAllowThreads(__tstate
);
23000 if (PyErr_Occurred()) SWIG_fail
;
23002 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyScrolledWindow
, SWIG_POINTER_NEW
| 0 );
23017 SWIGINTERN PyObject
*_wrap_new_PrePyScrolledWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23018 PyObject
*resultobj
= 0;
23019 wxPyScrolledWindow
*result
= 0 ;
23021 if (!SWIG_Python_UnpackTuple(args
,"new_PrePyScrolledWindow",0,0,0)) SWIG_fail
;
23023 if (!wxPyCheckForApp()) SWIG_fail
;
23024 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23025 result
= (wxPyScrolledWindow
*)new wxPyScrolledWindow();
23026 wxPyEndAllowThreads(__tstate
);
23027 if (PyErr_Occurred()) SWIG_fail
;
23029 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyScrolledWindow
, SWIG_POINTER_OWN
| 0 );
23036 SWIGINTERN PyObject
*_wrap_PyScrolledWindow__setCallbackInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23037 PyObject
*resultobj
= 0;
23038 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
23039 PyObject
*arg2
= (PyObject
*) 0 ;
23040 PyObject
*arg3
= (PyObject
*) 0 ;
23043 PyObject
* obj0
= 0 ;
23044 PyObject
* obj1
= 0 ;
23045 PyObject
* obj2
= 0 ;
23046 char * kwnames
[] = {
23047 (char *) "self",(char *) "self",(char *) "_class", NULL
23050 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyScrolledWindow__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
23051 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyScrolledWindow
, 0 | 0 );
23052 if (!SWIG_IsOK(res1
)) {
23053 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyScrolledWindow__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyScrolledWindow *""'");
23055 arg1
= reinterpret_cast< wxPyScrolledWindow
* >(argp1
);
23059 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23060 (arg1
)->_setCallbackInfo(arg2
,arg3
);
23061 wxPyEndAllowThreads(__tstate
);
23062 if (PyErr_Occurred()) SWIG_fail
;
23064 resultobj
= SWIG_Py_Void();
23071 SWIGINTERN PyObject
*_wrap_PyScrolledWindow_DoEraseBackground(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23072 PyObject
*resultobj
= 0;
23073 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
23074 wxDC
*arg2
= (wxDC
*) 0 ;
23080 PyObject
* obj0
= 0 ;
23081 PyObject
* obj1
= 0 ;
23082 char * kwnames
[] = {
23083 (char *) "self",(char *) "dc", NULL
23086 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyScrolledWindow_DoEraseBackground",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23087 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyScrolledWindow
, 0 | 0 );
23088 if (!SWIG_IsOK(res1
)) {
23089 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyScrolledWindow_DoEraseBackground" "', expected argument " "1"" of type '" "wxPyScrolledWindow *""'");
23091 arg1
= reinterpret_cast< wxPyScrolledWindow
* >(argp1
);
23092 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxDC
, 0 | 0 );
23093 if (!SWIG_IsOK(res2
)) {
23094 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PyScrolledWindow_DoEraseBackground" "', expected argument " "2"" of type '" "wxDC *""'");
23096 arg2
= reinterpret_cast< wxDC
* >(argp2
);
23098 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23099 result
= (bool)(arg1
)->DoEraseBackground(arg2
);
23100 wxPyEndAllowThreads(__tstate
);
23101 if (PyErr_Occurred()) SWIG_fail
;
23104 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23112 SWIGINTERN PyObject
*_wrap_PyScrolledWindow_DoMoveWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23113 PyObject
*resultobj
= 0;
23114 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
23129 PyObject
* obj0
= 0 ;
23130 PyObject
* obj1
= 0 ;
23131 PyObject
* obj2
= 0 ;
23132 PyObject
* obj3
= 0 ;
23133 PyObject
* obj4
= 0 ;
23134 char * kwnames
[] = {
23135 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
23138 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:PyScrolledWindow_DoMoveWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
23139 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyScrolledWindow
, 0 | 0 );
23140 if (!SWIG_IsOK(res1
)) {
23141 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyScrolledWindow_DoMoveWindow" "', expected argument " "1"" of type '" "wxPyScrolledWindow *""'");
23143 arg1
= reinterpret_cast< wxPyScrolledWindow
* >(argp1
);
23144 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
23145 if (!SWIG_IsOK(ecode2
)) {
23146 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PyScrolledWindow_DoMoveWindow" "', expected argument " "2"" of type '" "int""'");
23148 arg2
= static_cast< int >(val2
);
23149 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
23150 if (!SWIG_IsOK(ecode3
)) {
23151 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PyScrolledWindow_DoMoveWindow" "', expected argument " "3"" of type '" "int""'");
23153 arg3
= static_cast< int >(val3
);
23154 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
23155 if (!SWIG_IsOK(ecode4
)) {
23156 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PyScrolledWindow_DoMoveWindow" "', expected argument " "4"" of type '" "int""'");
23158 arg4
= static_cast< int >(val4
);
23159 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
23160 if (!SWIG_IsOK(ecode5
)) {
23161 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PyScrolledWindow_DoMoveWindow" "', expected argument " "5"" of type '" "int""'");
23163 arg5
= static_cast< int >(val5
);
23165 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23166 (arg1
)->DoMoveWindow(arg2
,arg3
,arg4
,arg5
);
23167 wxPyEndAllowThreads(__tstate
);
23168 if (PyErr_Occurred()) SWIG_fail
;
23170 resultobj
= SWIG_Py_Void();
23177 SWIGINTERN PyObject
*_wrap_PyScrolledWindow_DoSetSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23178 PyObject
*resultobj
= 0;
23179 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
23184 int arg6
= (int) wxSIZE_AUTO
;
23197 PyObject
* obj0
= 0 ;
23198 PyObject
* obj1
= 0 ;
23199 PyObject
* obj2
= 0 ;
23200 PyObject
* obj3
= 0 ;
23201 PyObject
* obj4
= 0 ;
23202 PyObject
* obj5
= 0 ;
23203 char * kwnames
[] = {
23204 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "sizeFlags", NULL
23207 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|O:PyScrolledWindow_DoSetSize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
23208 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyScrolledWindow
, 0 | 0 );
23209 if (!SWIG_IsOK(res1
)) {
23210 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyScrolledWindow_DoSetSize" "', expected argument " "1"" of type '" "wxPyScrolledWindow *""'");
23212 arg1
= reinterpret_cast< wxPyScrolledWindow
* >(argp1
);
23213 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
23214 if (!SWIG_IsOK(ecode2
)) {
23215 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PyScrolledWindow_DoSetSize" "', expected argument " "2"" of type '" "int""'");
23217 arg2
= static_cast< int >(val2
);
23218 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
23219 if (!SWIG_IsOK(ecode3
)) {
23220 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PyScrolledWindow_DoSetSize" "', expected argument " "3"" of type '" "int""'");
23222 arg3
= static_cast< int >(val3
);
23223 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
23224 if (!SWIG_IsOK(ecode4
)) {
23225 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PyScrolledWindow_DoSetSize" "', expected argument " "4"" of type '" "int""'");
23227 arg4
= static_cast< int >(val4
);
23228 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
23229 if (!SWIG_IsOK(ecode5
)) {
23230 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PyScrolledWindow_DoSetSize" "', expected argument " "5"" of type '" "int""'");
23232 arg5
= static_cast< int >(val5
);
23234 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
23235 if (!SWIG_IsOK(ecode6
)) {
23236 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "PyScrolledWindow_DoSetSize" "', expected argument " "6"" of type '" "int""'");
23238 arg6
= static_cast< int >(val6
);
23241 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23242 (arg1
)->DoSetSize(arg2
,arg3
,arg4
,arg5
,arg6
);
23243 wxPyEndAllowThreads(__tstate
);
23244 if (PyErr_Occurred()) SWIG_fail
;
23246 resultobj
= SWIG_Py_Void();
23253 SWIGINTERN PyObject
*_wrap_PyScrolledWindow_DoSetClientSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23254 PyObject
*resultobj
= 0;
23255 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
23264 PyObject
* obj0
= 0 ;
23265 PyObject
* obj1
= 0 ;
23266 PyObject
* obj2
= 0 ;
23267 char * kwnames
[] = {
23268 (char *) "self",(char *) "width",(char *) "height", NULL
23271 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyScrolledWindow_DoSetClientSize",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
23272 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyScrolledWindow
, 0 | 0 );
23273 if (!SWIG_IsOK(res1
)) {
23274 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyScrolledWindow_DoSetClientSize" "', expected argument " "1"" of type '" "wxPyScrolledWindow *""'");
23276 arg1
= reinterpret_cast< wxPyScrolledWindow
* >(argp1
);
23277 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
23278 if (!SWIG_IsOK(ecode2
)) {
23279 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PyScrolledWindow_DoSetClientSize" "', expected argument " "2"" of type '" "int""'");
23281 arg2
= static_cast< int >(val2
);
23282 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
23283 if (!SWIG_IsOK(ecode3
)) {
23284 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PyScrolledWindow_DoSetClientSize" "', expected argument " "3"" of type '" "int""'");
23286 arg3
= static_cast< int >(val3
);
23288 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23289 (arg1
)->DoSetClientSize(arg2
,arg3
);
23290 wxPyEndAllowThreads(__tstate
);
23291 if (PyErr_Occurred()) SWIG_fail
;
23293 resultobj
= SWIG_Py_Void();
23300 SWIGINTERN PyObject
*_wrap_PyScrolledWindow_DoSetVirtualSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23301 PyObject
*resultobj
= 0;
23302 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
23311 PyObject
* obj0
= 0 ;
23312 PyObject
* obj1
= 0 ;
23313 PyObject
* obj2
= 0 ;
23314 char * kwnames
[] = {
23315 (char *) "self",(char *) "x",(char *) "y", NULL
23318 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyScrolledWindow_DoSetVirtualSize",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
23319 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyScrolledWindow
, 0 | 0 );
23320 if (!SWIG_IsOK(res1
)) {
23321 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyScrolledWindow_DoSetVirtualSize" "', expected argument " "1"" of type '" "wxPyScrolledWindow *""'");
23323 arg1
= reinterpret_cast< wxPyScrolledWindow
* >(argp1
);
23324 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
23325 if (!SWIG_IsOK(ecode2
)) {
23326 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PyScrolledWindow_DoSetVirtualSize" "', expected argument " "2"" of type '" "int""'");
23328 arg2
= static_cast< int >(val2
);
23329 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
23330 if (!SWIG_IsOK(ecode3
)) {
23331 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PyScrolledWindow_DoSetVirtualSize" "', expected argument " "3"" of type '" "int""'");
23333 arg3
= static_cast< int >(val3
);
23335 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23336 (arg1
)->DoSetVirtualSize(arg2
,arg3
);
23337 wxPyEndAllowThreads(__tstate
);
23338 if (PyErr_Occurred()) SWIG_fail
;
23340 resultobj
= SWIG_Py_Void();
23347 SWIGINTERN PyObject
*_wrap_PyScrolledWindow_DoGetSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23348 PyObject
*resultobj
= 0;
23349 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
23350 int *arg2
= (int *) 0 ;
23351 int *arg3
= (int *) 0 ;
23355 int res2
= SWIG_TMPOBJ
;
23357 int res3
= SWIG_TMPOBJ
;
23358 PyObject
*swig_obj
[1] ;
23362 if (!args
) SWIG_fail
;
23363 swig_obj
[0] = args
;
23364 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyScrolledWindow
, 0 | 0 );
23365 if (!SWIG_IsOK(res1
)) {
23366 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyScrolledWindow_DoGetSize" "', expected argument " "1"" of type '" "wxPyScrolledWindow const *""'");
23368 arg1
= reinterpret_cast< wxPyScrolledWindow
* >(argp1
);
23370 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23371 ((wxPyScrolledWindow
const *)arg1
)->DoGetSize(arg2
,arg3
);
23372 wxPyEndAllowThreads(__tstate
);
23373 if (PyErr_Occurred()) SWIG_fail
;
23375 resultobj
= SWIG_Py_Void();
23376 if (SWIG_IsTmpObj(res2
)) {
23377 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
23379 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
23380 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
23382 if (SWIG_IsTmpObj(res3
)) {
23383 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
23385 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
23386 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
23394 SWIGINTERN PyObject
*_wrap_PyScrolledWindow_DoGetClientSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23395 PyObject
*resultobj
= 0;
23396 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
23397 int *arg2
= (int *) 0 ;
23398 int *arg3
= (int *) 0 ;
23402 int res2
= SWIG_TMPOBJ
;
23404 int res3
= SWIG_TMPOBJ
;
23405 PyObject
*swig_obj
[1] ;
23409 if (!args
) SWIG_fail
;
23410 swig_obj
[0] = args
;
23411 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyScrolledWindow
, 0 | 0 );
23412 if (!SWIG_IsOK(res1
)) {
23413 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyScrolledWindow_DoGetClientSize" "', expected argument " "1"" of type '" "wxPyScrolledWindow const *""'");
23415 arg1
= reinterpret_cast< wxPyScrolledWindow
* >(argp1
);
23417 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23418 ((wxPyScrolledWindow
const *)arg1
)->DoGetClientSize(arg2
,arg3
);
23419 wxPyEndAllowThreads(__tstate
);
23420 if (PyErr_Occurred()) SWIG_fail
;
23422 resultobj
= SWIG_Py_Void();
23423 if (SWIG_IsTmpObj(res2
)) {
23424 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
23426 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
23427 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
23429 if (SWIG_IsTmpObj(res3
)) {
23430 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
23432 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
23433 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
23441 SWIGINTERN PyObject
*_wrap_PyScrolledWindow_DoGetPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23442 PyObject
*resultobj
= 0;
23443 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
23444 int *arg2
= (int *) 0 ;
23445 int *arg3
= (int *) 0 ;
23449 int res2
= SWIG_TMPOBJ
;
23451 int res3
= SWIG_TMPOBJ
;
23452 PyObject
*swig_obj
[1] ;
23456 if (!args
) SWIG_fail
;
23457 swig_obj
[0] = args
;
23458 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyScrolledWindow
, 0 | 0 );
23459 if (!SWIG_IsOK(res1
)) {
23460 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyScrolledWindow_DoGetPosition" "', expected argument " "1"" of type '" "wxPyScrolledWindow const *""'");
23462 arg1
= reinterpret_cast< wxPyScrolledWindow
* >(argp1
);
23464 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23465 ((wxPyScrolledWindow
const *)arg1
)->DoGetPosition(arg2
,arg3
);
23466 wxPyEndAllowThreads(__tstate
);
23467 if (PyErr_Occurred()) SWIG_fail
;
23469 resultobj
= SWIG_Py_Void();
23470 if (SWIG_IsTmpObj(res2
)) {
23471 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
23473 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
23474 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
23476 if (SWIG_IsTmpObj(res3
)) {
23477 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
23479 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
23480 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
23488 SWIGINTERN PyObject
*_wrap_PyScrolledWindow_DoGetVirtualSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23489 PyObject
*resultobj
= 0;
23490 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
23494 PyObject
*swig_obj
[1] ;
23496 if (!args
) SWIG_fail
;
23497 swig_obj
[0] = args
;
23498 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyScrolledWindow
, 0 | 0 );
23499 if (!SWIG_IsOK(res1
)) {
23500 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyScrolledWindow_DoGetVirtualSize" "', expected argument " "1"" of type '" "wxPyScrolledWindow const *""'");
23502 arg1
= reinterpret_cast< wxPyScrolledWindow
* >(argp1
);
23504 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23505 result
= ((wxPyScrolledWindow
const *)arg1
)->DoGetVirtualSize();
23506 wxPyEndAllowThreads(__tstate
);
23507 if (PyErr_Occurred()) SWIG_fail
;
23509 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
23516 SWIGINTERN PyObject
*_wrap_PyScrolledWindow_DoGetBestSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23517 PyObject
*resultobj
= 0;
23518 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
23522 PyObject
*swig_obj
[1] ;
23524 if (!args
) SWIG_fail
;
23525 swig_obj
[0] = args
;
23526 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyScrolledWindow
, 0 | 0 );
23527 if (!SWIG_IsOK(res1
)) {
23528 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyScrolledWindow_DoGetBestSize" "', expected argument " "1"" of type '" "wxPyScrolledWindow const *""'");
23530 arg1
= reinterpret_cast< wxPyScrolledWindow
* >(argp1
);
23532 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23533 result
= ((wxPyScrolledWindow
const *)arg1
)->DoGetBestSize();
23534 wxPyEndAllowThreads(__tstate
);
23535 if (PyErr_Occurred()) SWIG_fail
;
23537 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
23544 SWIGINTERN PyObject
*_wrap_PyScrolledWindow_GetDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23545 PyObject
*resultobj
= 0;
23546 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
23547 SwigValueWrapper
<wxVisualAttributes
> result
;
23550 PyObject
*swig_obj
[1] ;
23552 if (!args
) SWIG_fail
;
23553 swig_obj
[0] = args
;
23554 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyScrolledWindow
, 0 | 0 );
23555 if (!SWIG_IsOK(res1
)) {
23556 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyScrolledWindow_GetDefaultAttributes" "', expected argument " "1"" of type '" "wxPyScrolledWindow *""'");
23558 arg1
= reinterpret_cast< wxPyScrolledWindow
* >(argp1
);
23560 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23561 result
= (arg1
)->GetDefaultAttributes();
23562 wxPyEndAllowThreads(__tstate
);
23563 if (PyErr_Occurred()) SWIG_fail
;
23565 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
23572 SWIGINTERN PyObject
*_wrap_PyScrolledWindow_OnInternalIdle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23573 PyObject
*resultobj
= 0;
23574 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
23577 PyObject
*swig_obj
[1] ;
23579 if (!args
) SWIG_fail
;
23580 swig_obj
[0] = args
;
23581 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyScrolledWindow
, 0 | 0 );
23582 if (!SWIG_IsOK(res1
)) {
23583 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyScrolledWindow_OnInternalIdle" "', expected argument " "1"" of type '" "wxPyScrolledWindow *""'");
23585 arg1
= reinterpret_cast< wxPyScrolledWindow
* >(argp1
);
23587 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23588 (arg1
)->OnInternalIdle();
23589 wxPyEndAllowThreads(__tstate
);
23590 if (PyErr_Occurred()) SWIG_fail
;
23592 resultobj
= SWIG_Py_Void();
23599 SWIGINTERN PyObject
*PyScrolledWindow_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23601 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
23602 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyScrolledWindow
, SWIG_NewClientData(obj
));
23603 return SWIG_Py_Void();
23606 SWIGINTERN PyObject
*PyScrolledWindow_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23607 return SWIG_Python_InitShadowInstance(args
);
23610 SWIGINTERN
int PrintoutTitleStr_set(PyObject
*) {
23611 SWIG_Error(SWIG_AttributeError
,"Variable PrintoutTitleStr is read-only.");
23616 SWIGINTERN PyObject
*PrintoutTitleStr_get(void) {
23617 PyObject
*pyobj
= 0;
23621 pyobj
= PyUnicode_FromWideChar((&wxPyPrintoutTitleStr
)->c_str(), (&wxPyPrintoutTitleStr
)->Len());
23623 pyobj
= PyString_FromStringAndSize((&wxPyPrintoutTitleStr
)->c_str(), (&wxPyPrintoutTitleStr
)->Len());
23630 SWIGINTERN
int PreviewCanvasNameStr_set(PyObject
*) {
23631 SWIG_Error(SWIG_AttributeError
,"Variable PreviewCanvasNameStr is read-only.");
23636 SWIGINTERN PyObject
*PreviewCanvasNameStr_get(void) {
23637 PyObject
*pyobj
= 0;
23641 pyobj
= PyUnicode_FromWideChar((&wxPyPreviewCanvasNameStr
)->c_str(), (&wxPyPreviewCanvasNameStr
)->Len());
23643 pyobj
= PyString_FromStringAndSize((&wxPyPreviewCanvasNameStr
)->c_str(), (&wxPyPreviewCanvasNameStr
)->Len());
23650 SWIGINTERN PyObject
*_wrap_new_PrintData__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**SWIGUNUSEDPARM(swig_obj
)) {
23651 PyObject
*resultobj
= 0;
23652 wxPrintData
*result
= 0 ;
23654 if ((nobjs
< 0) || (nobjs
> 0)) SWIG_fail
;
23656 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23657 result
= (wxPrintData
*)new wxPrintData();
23658 wxPyEndAllowThreads(__tstate
);
23659 if (PyErr_Occurred()) SWIG_fail
;
23661 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPrintData
, SWIG_POINTER_NEW
| 0 );
23668 SWIGINTERN PyObject
*_wrap_new_PrintData__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
23669 PyObject
*resultobj
= 0;
23670 wxPrintData
*arg1
= 0 ;
23671 wxPrintData
*result
= 0 ;
23675 if ((nobjs
< 1) || (nobjs
> 1)) SWIG_fail
;
23676 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
, SWIGTYPE_p_wxPrintData
, 0 | 0);
23677 if (!SWIG_IsOK(res1
)) {
23678 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PrintData" "', expected argument " "1"" of type '" "wxPrintData const &""'");
23681 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_PrintData" "', expected argument " "1"" of type '" "wxPrintData const &""'");
23683 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
23685 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23686 result
= (wxPrintData
*)new wxPrintData((wxPrintData
const &)*arg1
);
23687 wxPyEndAllowThreads(__tstate
);
23688 if (PyErr_Occurred()) SWIG_fail
;
23690 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPrintData
, SWIG_POINTER_NEW
| 0 );
23697 SWIGINTERN PyObject
*_wrap_new_PrintData(PyObject
*self
, PyObject
*args
) {
23701 if (!(argc
= SWIG_Python_UnpackTuple(args
,"new_PrintData",0,1,argv
))) SWIG_fail
;
23704 return _wrap_new_PrintData__SWIG_0(self
, argc
, argv
);
23707 return _wrap_new_PrintData__SWIG_1(self
, argc
, argv
);
23711 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'new_PrintData'");
23716 SWIGINTERN PyObject
*_wrap_delete_PrintData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23717 PyObject
*resultobj
= 0;
23718 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
23721 PyObject
*swig_obj
[1] ;
23723 if (!args
) SWIG_fail
;
23724 swig_obj
[0] = args
;
23725 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintData
, SWIG_POINTER_DISOWN
| 0 );
23726 if (!SWIG_IsOK(res1
)) {
23727 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_PrintData" "', expected argument " "1"" of type '" "wxPrintData *""'");
23729 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
23731 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23734 wxPyEndAllowThreads(__tstate
);
23735 if (PyErr_Occurred()) SWIG_fail
;
23737 resultobj
= SWIG_Py_Void();
23744 SWIGINTERN PyObject
*_wrap_PrintData_GetNoCopies(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23745 PyObject
*resultobj
= 0;
23746 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
23750 PyObject
*swig_obj
[1] ;
23752 if (!args
) SWIG_fail
;
23753 swig_obj
[0] = args
;
23754 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
23755 if (!SWIG_IsOK(res1
)) {
23756 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_GetNoCopies" "', expected argument " "1"" of type '" "wxPrintData *""'");
23758 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
23760 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23761 result
= (int)(arg1
)->GetNoCopies();
23762 wxPyEndAllowThreads(__tstate
);
23763 if (PyErr_Occurred()) SWIG_fail
;
23765 resultobj
= SWIG_From_int(static_cast< int >(result
));
23772 SWIGINTERN PyObject
*_wrap_PrintData_GetCollate(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23773 PyObject
*resultobj
= 0;
23774 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
23778 PyObject
*swig_obj
[1] ;
23780 if (!args
) SWIG_fail
;
23781 swig_obj
[0] = args
;
23782 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
23783 if (!SWIG_IsOK(res1
)) {
23784 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_GetCollate" "', expected argument " "1"" of type '" "wxPrintData *""'");
23786 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
23788 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23789 result
= (bool)(arg1
)->GetCollate();
23790 wxPyEndAllowThreads(__tstate
);
23791 if (PyErr_Occurred()) SWIG_fail
;
23794 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23802 SWIGINTERN PyObject
*_wrap_PrintData_GetOrientation(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23803 PyObject
*resultobj
= 0;
23804 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
23808 PyObject
*swig_obj
[1] ;
23810 if (!args
) SWIG_fail
;
23811 swig_obj
[0] = args
;
23812 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
23813 if (!SWIG_IsOK(res1
)) {
23814 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_GetOrientation" "', expected argument " "1"" of type '" "wxPrintData *""'");
23816 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
23818 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23819 result
= (int)(arg1
)->GetOrientation();
23820 wxPyEndAllowThreads(__tstate
);
23821 if (PyErr_Occurred()) SWIG_fail
;
23823 resultobj
= SWIG_From_int(static_cast< int >(result
));
23830 SWIGINTERN PyObject
*_wrap_PrintData_IsOk(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23831 PyObject
*resultobj
= 0;
23832 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
23836 PyObject
*swig_obj
[1] ;
23838 if (!args
) SWIG_fail
;
23839 swig_obj
[0] = args
;
23840 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
23841 if (!SWIG_IsOK(res1
)) {
23842 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_IsOk" "', expected argument " "1"" of type '" "wxPrintData *""'");
23844 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
23846 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23847 result
= (bool)(arg1
)->IsOk();
23848 wxPyEndAllowThreads(__tstate
);
23849 if (PyErr_Occurred()) SWIG_fail
;
23852 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23860 SWIGINTERN PyObject
*_wrap_PrintData_GetPrinterName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23861 PyObject
*resultobj
= 0;
23862 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
23863 wxString
*result
= 0 ;
23866 PyObject
*swig_obj
[1] ;
23868 if (!args
) SWIG_fail
;
23869 swig_obj
[0] = args
;
23870 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
23871 if (!SWIG_IsOK(res1
)) {
23872 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_GetPrinterName" "', expected argument " "1"" of type '" "wxPrintData *""'");
23874 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
23876 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23878 wxString
const &_result_ref
= (arg1
)->GetPrinterName();
23879 result
= (wxString
*) &_result_ref
;
23881 wxPyEndAllowThreads(__tstate
);
23882 if (PyErr_Occurred()) SWIG_fail
;
23886 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
23888 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
23897 SWIGINTERN PyObject
*_wrap_PrintData_GetColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23898 PyObject
*resultobj
= 0;
23899 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
23903 PyObject
*swig_obj
[1] ;
23905 if (!args
) SWIG_fail
;
23906 swig_obj
[0] = args
;
23907 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
23908 if (!SWIG_IsOK(res1
)) {
23909 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_GetColour" "', expected argument " "1"" of type '" "wxPrintData *""'");
23911 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
23913 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23914 result
= (bool)(arg1
)->GetColour();
23915 wxPyEndAllowThreads(__tstate
);
23916 if (PyErr_Occurred()) SWIG_fail
;
23919 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23927 SWIGINTERN PyObject
*_wrap_PrintData_GetDuplex(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23928 PyObject
*resultobj
= 0;
23929 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
23930 wxDuplexMode result
;
23933 PyObject
*swig_obj
[1] ;
23935 if (!args
) SWIG_fail
;
23936 swig_obj
[0] = args
;
23937 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
23938 if (!SWIG_IsOK(res1
)) {
23939 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_GetDuplex" "', expected argument " "1"" of type '" "wxPrintData *""'");
23941 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
23943 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23944 result
= (wxDuplexMode
)(arg1
)->GetDuplex();
23945 wxPyEndAllowThreads(__tstate
);
23946 if (PyErr_Occurred()) SWIG_fail
;
23948 resultobj
= SWIG_From_int(static_cast< int >(result
));
23955 SWIGINTERN PyObject
*_wrap_PrintData_GetPaperId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23956 PyObject
*resultobj
= 0;
23957 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
23958 wxPaperSize result
;
23961 PyObject
*swig_obj
[1] ;
23963 if (!args
) SWIG_fail
;
23964 swig_obj
[0] = args
;
23965 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
23966 if (!SWIG_IsOK(res1
)) {
23967 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_GetPaperId" "', expected argument " "1"" of type '" "wxPrintData *""'");
23969 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
23971 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23972 result
= (wxPaperSize
)(arg1
)->GetPaperId();
23973 wxPyEndAllowThreads(__tstate
);
23974 if (PyErr_Occurred()) SWIG_fail
;
23976 resultobj
= SWIG_From_int(static_cast< int >(result
));
23983 SWIGINTERN PyObject
*_wrap_PrintData_GetPaperSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23984 PyObject
*resultobj
= 0;
23985 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
23986 wxSize
*result
= 0 ;
23989 PyObject
*swig_obj
[1] ;
23991 if (!args
) SWIG_fail
;
23992 swig_obj
[0] = args
;
23993 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
23994 if (!SWIG_IsOK(res1
)) {
23995 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_GetPaperSize" "', expected argument " "1"" of type '" "wxPrintData *""'");
23997 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
23999 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24001 wxSize
const &_result_ref
= (arg1
)->GetPaperSize();
24002 result
= (wxSize
*) &_result_ref
;
24004 wxPyEndAllowThreads(__tstate
);
24005 if (PyErr_Occurred()) SWIG_fail
;
24007 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSize
, 0 | 0 );
24014 SWIGINTERN PyObject
*_wrap_PrintData_GetQuality(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24015 PyObject
*resultobj
= 0;
24016 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
24020 PyObject
*swig_obj
[1] ;
24022 if (!args
) SWIG_fail
;
24023 swig_obj
[0] = args
;
24024 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
24025 if (!SWIG_IsOK(res1
)) {
24026 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_GetQuality" "', expected argument " "1"" of type '" "wxPrintData *""'");
24028 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
24030 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24031 result
= (int)(arg1
)->GetQuality();
24032 wxPyEndAllowThreads(__tstate
);
24033 if (PyErr_Occurred()) SWIG_fail
;
24035 resultobj
= SWIG_From_int(static_cast< int >(result
));
24042 SWIGINTERN PyObject
*_wrap_PrintData_GetBin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24043 PyObject
*resultobj
= 0;
24044 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
24048 PyObject
*swig_obj
[1] ;
24050 if (!args
) SWIG_fail
;
24051 swig_obj
[0] = args
;
24052 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
24053 if (!SWIG_IsOK(res1
)) {
24054 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_GetBin" "', expected argument " "1"" of type '" "wxPrintData *""'");
24056 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
24058 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24059 result
= (wxPrintBin
)(arg1
)->GetBin();
24060 wxPyEndAllowThreads(__tstate
);
24061 if (PyErr_Occurred()) SWIG_fail
;
24063 resultobj
= SWIG_From_int(static_cast< int >(result
));
24070 SWIGINTERN PyObject
*_wrap_PrintData_GetPrintMode(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24071 PyObject
*resultobj
= 0;
24072 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
24073 wxPrintMode result
;
24076 PyObject
*swig_obj
[1] ;
24078 if (!args
) SWIG_fail
;
24079 swig_obj
[0] = args
;
24080 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
24081 if (!SWIG_IsOK(res1
)) {
24082 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_GetPrintMode" "', expected argument " "1"" of type '" "wxPrintData const *""'");
24084 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
24086 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24087 result
= (wxPrintMode
)((wxPrintData
const *)arg1
)->GetPrintMode();
24088 wxPyEndAllowThreads(__tstate
);
24089 if (PyErr_Occurred()) SWIG_fail
;
24091 resultobj
= SWIG_From_int(static_cast< int >(result
));
24098 SWIGINTERN PyObject
*_wrap_PrintData_GetMedia(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24099 PyObject
*resultobj
= 0;
24100 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
24104 PyObject
*swig_obj
[1] ;
24106 if (!args
) SWIG_fail
;
24107 swig_obj
[0] = args
;
24108 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
24109 if (!SWIG_IsOK(res1
)) {
24110 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_GetMedia" "', expected argument " "1"" of type '" "wxPrintData const *""'");
24112 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
24114 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24115 result
= (int)((wxPrintData
const *)arg1
)->GetMedia();
24116 wxPyEndAllowThreads(__tstate
);
24117 if (PyErr_Occurred()) SWIG_fail
;
24119 resultobj
= SWIG_From_int(static_cast< int >(result
));
24126 SWIGINTERN PyObject
*_wrap_PrintData_SetNoCopies(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24127 PyObject
*resultobj
= 0;
24128 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
24134 PyObject
* obj0
= 0 ;
24135 PyObject
* obj1
= 0 ;
24136 char * kwnames
[] = {
24137 (char *) "self",(char *) "v", NULL
24140 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetNoCopies",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24141 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
24142 if (!SWIG_IsOK(res1
)) {
24143 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_SetNoCopies" "', expected argument " "1"" of type '" "wxPrintData *""'");
24145 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
24146 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24147 if (!SWIG_IsOK(ecode2
)) {
24148 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintData_SetNoCopies" "', expected argument " "2"" of type '" "int""'");
24150 arg2
= static_cast< int >(val2
);
24152 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24153 (arg1
)->SetNoCopies(arg2
);
24154 wxPyEndAllowThreads(__tstate
);
24155 if (PyErr_Occurred()) SWIG_fail
;
24157 resultobj
= SWIG_Py_Void();
24164 SWIGINTERN PyObject
*_wrap_PrintData_SetCollate(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24165 PyObject
*resultobj
= 0;
24166 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
24172 PyObject
* obj0
= 0 ;
24173 PyObject
* obj1
= 0 ;
24174 char * kwnames
[] = {
24175 (char *) "self",(char *) "flag", NULL
24178 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetCollate",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24179 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
24180 if (!SWIG_IsOK(res1
)) {
24181 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_SetCollate" "', expected argument " "1"" of type '" "wxPrintData *""'");
24183 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
24184 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
24185 if (!SWIG_IsOK(ecode2
)) {
24186 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintData_SetCollate" "', expected argument " "2"" of type '" "bool""'");
24188 arg2
= static_cast< bool >(val2
);
24190 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24191 (arg1
)->SetCollate(arg2
);
24192 wxPyEndAllowThreads(__tstate
);
24193 if (PyErr_Occurred()) SWIG_fail
;
24195 resultobj
= SWIG_Py_Void();
24202 SWIGINTERN PyObject
*_wrap_PrintData_SetOrientation(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24203 PyObject
*resultobj
= 0;
24204 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
24210 PyObject
* obj0
= 0 ;
24211 PyObject
* obj1
= 0 ;
24212 char * kwnames
[] = {
24213 (char *) "self",(char *) "orient", NULL
24216 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetOrientation",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24217 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
24218 if (!SWIG_IsOK(res1
)) {
24219 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_SetOrientation" "', expected argument " "1"" of type '" "wxPrintData *""'");
24221 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
24222 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24223 if (!SWIG_IsOK(ecode2
)) {
24224 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintData_SetOrientation" "', expected argument " "2"" of type '" "int""'");
24226 arg2
= static_cast< int >(val2
);
24228 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24229 (arg1
)->SetOrientation(arg2
);
24230 wxPyEndAllowThreads(__tstate
);
24231 if (PyErr_Occurred()) SWIG_fail
;
24233 resultobj
= SWIG_Py_Void();
24240 SWIGINTERN PyObject
*_wrap_PrintData_SetPrinterName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24241 PyObject
*resultobj
= 0;
24242 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
24243 wxString
*arg2
= 0 ;
24246 bool temp2
= false ;
24247 PyObject
* obj0
= 0 ;
24248 PyObject
* obj1
= 0 ;
24249 char * kwnames
[] = {
24250 (char *) "self",(char *) "name", NULL
24253 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetPrinterName",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24254 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
24255 if (!SWIG_IsOK(res1
)) {
24256 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_SetPrinterName" "', expected argument " "1"" of type '" "wxPrintData *""'");
24258 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
24260 arg2
= wxString_in_helper(obj1
);
24261 if (arg2
== NULL
) SWIG_fail
;
24265 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24266 (arg1
)->SetPrinterName((wxString
const &)*arg2
);
24267 wxPyEndAllowThreads(__tstate
);
24268 if (PyErr_Occurred()) SWIG_fail
;
24270 resultobj
= SWIG_Py_Void();
24285 SWIGINTERN PyObject
*_wrap_PrintData_SetColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24286 PyObject
*resultobj
= 0;
24287 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
24293 PyObject
* obj0
= 0 ;
24294 PyObject
* obj1
= 0 ;
24295 char * kwnames
[] = {
24296 (char *) "self",(char *) "colour", NULL
24299 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24300 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
24301 if (!SWIG_IsOK(res1
)) {
24302 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_SetColour" "', expected argument " "1"" of type '" "wxPrintData *""'");
24304 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
24305 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
24306 if (!SWIG_IsOK(ecode2
)) {
24307 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintData_SetColour" "', expected argument " "2"" of type '" "bool""'");
24309 arg2
= static_cast< bool >(val2
);
24311 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24312 (arg1
)->SetColour(arg2
);
24313 wxPyEndAllowThreads(__tstate
);
24314 if (PyErr_Occurred()) SWIG_fail
;
24316 resultobj
= SWIG_Py_Void();
24323 SWIGINTERN PyObject
*_wrap_PrintData_SetDuplex(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24324 PyObject
*resultobj
= 0;
24325 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
24326 wxDuplexMode arg2
;
24331 PyObject
* obj0
= 0 ;
24332 PyObject
* obj1
= 0 ;
24333 char * kwnames
[] = {
24334 (char *) "self",(char *) "duplex", NULL
24337 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetDuplex",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24338 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
24339 if (!SWIG_IsOK(res1
)) {
24340 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_SetDuplex" "', expected argument " "1"" of type '" "wxPrintData *""'");
24342 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
24343 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24344 if (!SWIG_IsOK(ecode2
)) {
24345 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintData_SetDuplex" "', expected argument " "2"" of type '" "wxDuplexMode""'");
24347 arg2
= static_cast< wxDuplexMode
>(val2
);
24349 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24350 (arg1
)->SetDuplex(arg2
);
24351 wxPyEndAllowThreads(__tstate
);
24352 if (PyErr_Occurred()) SWIG_fail
;
24354 resultobj
= SWIG_Py_Void();
24361 SWIGINTERN PyObject
*_wrap_PrintData_SetPaperId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24362 PyObject
*resultobj
= 0;
24363 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
24369 PyObject
* obj0
= 0 ;
24370 PyObject
* obj1
= 0 ;
24371 char * kwnames
[] = {
24372 (char *) "self",(char *) "sizeId", NULL
24375 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetPaperId",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24376 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
24377 if (!SWIG_IsOK(res1
)) {
24378 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_SetPaperId" "', expected argument " "1"" of type '" "wxPrintData *""'");
24380 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
24381 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24382 if (!SWIG_IsOK(ecode2
)) {
24383 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintData_SetPaperId" "', expected argument " "2"" of type '" "wxPaperSize""'");
24385 arg2
= static_cast< wxPaperSize
>(val2
);
24387 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24388 (arg1
)->SetPaperId(arg2
);
24389 wxPyEndAllowThreads(__tstate
);
24390 if (PyErr_Occurred()) SWIG_fail
;
24392 resultobj
= SWIG_Py_Void();
24399 SWIGINTERN PyObject
*_wrap_PrintData_SetPaperSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24400 PyObject
*resultobj
= 0;
24401 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
24406 PyObject
* obj0
= 0 ;
24407 PyObject
* obj1
= 0 ;
24408 char * kwnames
[] = {
24409 (char *) "self",(char *) "sz", NULL
24412 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetPaperSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24413 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
24414 if (!SWIG_IsOK(res1
)) {
24415 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_SetPaperSize" "', expected argument " "1"" of type '" "wxPrintData *""'");
24417 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
24420 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
24423 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24424 (arg1
)->SetPaperSize((wxSize
const &)*arg2
);
24425 wxPyEndAllowThreads(__tstate
);
24426 if (PyErr_Occurred()) SWIG_fail
;
24428 resultobj
= SWIG_Py_Void();
24435 SWIGINTERN PyObject
*_wrap_PrintData_SetQuality(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24436 PyObject
*resultobj
= 0;
24437 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
24443 PyObject
* obj0
= 0 ;
24444 PyObject
* obj1
= 0 ;
24445 char * kwnames
[] = {
24446 (char *) "self",(char *) "quality", NULL
24449 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetQuality",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24450 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
24451 if (!SWIG_IsOK(res1
)) {
24452 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_SetQuality" "', expected argument " "1"" of type '" "wxPrintData *""'");
24454 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
24455 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24456 if (!SWIG_IsOK(ecode2
)) {
24457 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintData_SetQuality" "', expected argument " "2"" of type '" "int""'");
24459 arg2
= static_cast< int >(val2
);
24461 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24462 (arg1
)->SetQuality(arg2
);
24463 wxPyEndAllowThreads(__tstate
);
24464 if (PyErr_Occurred()) SWIG_fail
;
24466 resultobj
= SWIG_Py_Void();
24473 SWIGINTERN PyObject
*_wrap_PrintData_SetBin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24474 PyObject
*resultobj
= 0;
24475 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
24481 PyObject
* obj0
= 0 ;
24482 PyObject
* obj1
= 0 ;
24483 char * kwnames
[] = {
24484 (char *) "self",(char *) "bin", NULL
24487 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetBin",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24488 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
24489 if (!SWIG_IsOK(res1
)) {
24490 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_SetBin" "', expected argument " "1"" of type '" "wxPrintData *""'");
24492 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
24493 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24494 if (!SWIG_IsOK(ecode2
)) {
24495 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintData_SetBin" "', expected argument " "2"" of type '" "wxPrintBin""'");
24497 arg2
= static_cast< wxPrintBin
>(val2
);
24499 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24500 (arg1
)->SetBin(arg2
);
24501 wxPyEndAllowThreads(__tstate
);
24502 if (PyErr_Occurred()) SWIG_fail
;
24504 resultobj
= SWIG_Py_Void();
24511 SWIGINTERN PyObject
*_wrap_PrintData_SetPrintMode(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24512 PyObject
*resultobj
= 0;
24513 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
24519 PyObject
* obj0
= 0 ;
24520 PyObject
* obj1
= 0 ;
24521 char * kwnames
[] = {
24522 (char *) "self",(char *) "printMode", NULL
24525 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetPrintMode",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24526 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
24527 if (!SWIG_IsOK(res1
)) {
24528 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_SetPrintMode" "', expected argument " "1"" of type '" "wxPrintData *""'");
24530 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
24531 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24532 if (!SWIG_IsOK(ecode2
)) {
24533 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintData_SetPrintMode" "', expected argument " "2"" of type '" "wxPrintMode""'");
24535 arg2
= static_cast< wxPrintMode
>(val2
);
24537 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24538 (arg1
)->SetPrintMode(arg2
);
24539 wxPyEndAllowThreads(__tstate
);
24540 if (PyErr_Occurred()) SWIG_fail
;
24542 resultobj
= SWIG_Py_Void();
24549 SWIGINTERN PyObject
*_wrap_PrintData_SetMedia(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24550 PyObject
*resultobj
= 0;
24551 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
24557 PyObject
* obj0
= 0 ;
24558 PyObject
* obj1
= 0 ;
24559 char * kwnames
[] = {
24560 (char *) "self",(char *) "media", NULL
24563 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetMedia",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24564 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
24565 if (!SWIG_IsOK(res1
)) {
24566 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_SetMedia" "', expected argument " "1"" of type '" "wxPrintData *""'");
24568 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
24569 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24570 if (!SWIG_IsOK(ecode2
)) {
24571 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintData_SetMedia" "', expected argument " "2"" of type '" "int""'");
24573 arg2
= static_cast< int >(val2
);
24575 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24576 (arg1
)->SetMedia(arg2
);
24577 wxPyEndAllowThreads(__tstate
);
24578 if (PyErr_Occurred()) SWIG_fail
;
24580 resultobj
= SWIG_Py_Void();
24587 SWIGINTERN PyObject
*_wrap_PrintData_GetFilename(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24588 PyObject
*resultobj
= 0;
24589 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
24593 PyObject
*swig_obj
[1] ;
24595 if (!args
) SWIG_fail
;
24596 swig_obj
[0] = args
;
24597 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
24598 if (!SWIG_IsOK(res1
)) {
24599 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_GetFilename" "', expected argument " "1"" of type '" "wxPrintData const *""'");
24601 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
24603 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24604 result
= ((wxPrintData
const *)arg1
)->GetFilename();
24605 wxPyEndAllowThreads(__tstate
);
24606 if (PyErr_Occurred()) SWIG_fail
;
24610 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
24612 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
24621 SWIGINTERN PyObject
*_wrap_PrintData_SetFilename(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24622 PyObject
*resultobj
= 0;
24623 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
24624 wxString
*arg2
= 0 ;
24627 bool temp2
= false ;
24628 PyObject
* obj0
= 0 ;
24629 PyObject
* obj1
= 0 ;
24630 char * kwnames
[] = {
24631 (char *) "self",(char *) "filename", NULL
24634 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetFilename",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24635 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
24636 if (!SWIG_IsOK(res1
)) {
24637 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_SetFilename" "', expected argument " "1"" of type '" "wxPrintData *""'");
24639 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
24641 arg2
= wxString_in_helper(obj1
);
24642 if (arg2
== NULL
) SWIG_fail
;
24646 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24647 (arg1
)->SetFilename((wxString
const &)*arg2
);
24648 wxPyEndAllowThreads(__tstate
);
24649 if (PyErr_Occurred()) SWIG_fail
;
24651 resultobj
= SWIG_Py_Void();
24666 SWIGINTERN PyObject
*_wrap_PrintData_GetPrivData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24667 PyObject
*resultobj
= 0;
24668 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
24669 PyObject
*result
= 0 ;
24672 PyObject
*swig_obj
[1] ;
24674 if (!args
) SWIG_fail
;
24675 swig_obj
[0] = args
;
24676 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
24677 if (!SWIG_IsOK(res1
)) {
24678 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_GetPrivData" "', expected argument " "1"" of type '" "wxPrintData *""'");
24680 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
24682 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24683 result
= (PyObject
*)wxPrintData_GetPrivData(arg1
);
24684 wxPyEndAllowThreads(__tstate
);
24685 if (PyErr_Occurred()) SWIG_fail
;
24687 resultobj
= result
;
24694 SWIGINTERN PyObject
*_wrap_PrintData_SetPrivData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24695 PyObject
*resultobj
= 0;
24696 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
24697 PyObject
*arg2
= (PyObject
*) 0 ;
24700 PyObject
* obj0
= 0 ;
24701 PyObject
* obj1
= 0 ;
24702 char * kwnames
[] = {
24703 (char *) "self",(char *) "data", NULL
24706 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetPrivData",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24707 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
24708 if (!SWIG_IsOK(res1
)) {
24709 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_SetPrivData" "', expected argument " "1"" of type '" "wxPrintData *""'");
24711 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
24714 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24715 wxPrintData_SetPrivData(arg1
,arg2
);
24716 wxPyEndAllowThreads(__tstate
);
24717 if (PyErr_Occurred()) SWIG_fail
;
24719 resultobj
= SWIG_Py_Void();
24726 SWIGINTERN PyObject
*PrintData_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24728 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
24729 SWIG_TypeNewClientData(SWIGTYPE_p_wxPrintData
, SWIG_NewClientData(obj
));
24730 return SWIG_Py_Void();
24733 SWIGINTERN PyObject
*PrintData_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24734 return SWIG_Python_InitShadowInstance(args
);
24737 SWIGINTERN PyObject
*_wrap_new_PageSetupDialogData__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**SWIGUNUSEDPARM(swig_obj
)) {
24738 PyObject
*resultobj
= 0;
24739 wxPageSetupDialogData
*result
= 0 ;
24741 if ((nobjs
< 0) || (nobjs
> 0)) SWIG_fail
;
24743 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24744 result
= (wxPageSetupDialogData
*)new wxPageSetupDialogData();
24745 wxPyEndAllowThreads(__tstate
);
24746 if (PyErr_Occurred()) SWIG_fail
;
24748 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPageSetupDialogData
, SWIG_POINTER_NEW
| 0 );
24755 SWIGINTERN PyObject
*_wrap_new_PageSetupDialogData__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
24756 PyObject
*resultobj
= 0;
24757 wxPageSetupDialogData
*arg1
= 0 ;
24758 wxPageSetupDialogData
*result
= 0 ;
24762 if ((nobjs
< 1) || (nobjs
> 1)) SWIG_fail
;
24763 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
, SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0);
24764 if (!SWIG_IsOK(res1
)) {
24765 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PageSetupDialogData" "', expected argument " "1"" of type '" "wxPageSetupDialogData const &""'");
24768 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_PageSetupDialogData" "', expected argument " "1"" of type '" "wxPageSetupDialogData const &""'");
24770 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
24772 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24773 result
= (wxPageSetupDialogData
*)new wxPageSetupDialogData((wxPageSetupDialogData
const &)*arg1
);
24774 wxPyEndAllowThreads(__tstate
);
24775 if (PyErr_Occurred()) SWIG_fail
;
24777 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPageSetupDialogData
, SWIG_POINTER_NEW
| 0 );
24784 SWIGINTERN PyObject
*_wrap_new_PageSetupDialogData__SWIG_2(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
24785 PyObject
*resultobj
= 0;
24786 wxPrintData
*arg1
= 0 ;
24787 wxPageSetupDialogData
*result
= 0 ;
24791 if ((nobjs
< 1) || (nobjs
> 1)) SWIG_fail
;
24792 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
, SWIGTYPE_p_wxPrintData
, 0 | 0);
24793 if (!SWIG_IsOK(res1
)) {
24794 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PageSetupDialogData" "', expected argument " "1"" of type '" "wxPrintData const &""'");
24797 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_PageSetupDialogData" "', expected argument " "1"" of type '" "wxPrintData const &""'");
24799 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
24801 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24802 result
= (wxPageSetupDialogData
*)new wxPageSetupDialogData((wxPrintData
const &)*arg1
);
24803 wxPyEndAllowThreads(__tstate
);
24804 if (PyErr_Occurred()) SWIG_fail
;
24806 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPageSetupDialogData
, SWIG_POINTER_NEW
| 0 );
24813 SWIGINTERN PyObject
*_wrap_new_PageSetupDialogData(PyObject
*self
, PyObject
*args
) {
24817 if (!(argc
= SWIG_Python_UnpackTuple(args
,"new_PageSetupDialogData",0,1,argv
))) SWIG_fail
;
24820 return _wrap_new_PageSetupDialogData__SWIG_0(self
, argc
, argv
);
24825 int res
= SWIG_ConvertPtr(argv
[0], 0, SWIGTYPE_p_wxPageSetupDialogData
, 0);
24826 _v
= SWIG_CheckState(res
);
24828 if (!_v
) goto check_2
;
24829 return _wrap_new_PageSetupDialogData__SWIG_1(self
, argc
, argv
);
24834 return _wrap_new_PageSetupDialogData__SWIG_2(self
, argc
, argv
);
24838 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'new_PageSetupDialogData'");
24843 SWIGINTERN PyObject
*_wrap_delete_PageSetupDialogData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24844 PyObject
*resultobj
= 0;
24845 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
24848 PyObject
*swig_obj
[1] ;
24850 if (!args
) SWIG_fail
;
24851 swig_obj
[0] = args
;
24852 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, SWIG_POINTER_DISOWN
| 0 );
24853 if (!SWIG_IsOK(res1
)) {
24854 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_PageSetupDialogData" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
24856 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
24858 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24861 wxPyEndAllowThreads(__tstate
);
24862 if (PyErr_Occurred()) SWIG_fail
;
24864 resultobj
= SWIG_Py_Void();
24871 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_EnableHelp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24872 PyObject
*resultobj
= 0;
24873 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
24879 PyObject
* obj0
= 0 ;
24880 PyObject
* obj1
= 0 ;
24881 char * kwnames
[] = {
24882 (char *) "self",(char *) "flag", NULL
24885 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_EnableHelp",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24886 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
24887 if (!SWIG_IsOK(res1
)) {
24888 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_EnableHelp" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
24890 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
24891 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
24892 if (!SWIG_IsOK(ecode2
)) {
24893 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PageSetupDialogData_EnableHelp" "', expected argument " "2"" of type '" "bool""'");
24895 arg2
= static_cast< bool >(val2
);
24897 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24898 (arg1
)->EnableHelp(arg2
);
24899 wxPyEndAllowThreads(__tstate
);
24900 if (PyErr_Occurred()) SWIG_fail
;
24902 resultobj
= SWIG_Py_Void();
24909 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_EnableMargins(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24910 PyObject
*resultobj
= 0;
24911 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
24917 PyObject
* obj0
= 0 ;
24918 PyObject
* obj1
= 0 ;
24919 char * kwnames
[] = {
24920 (char *) "self",(char *) "flag", NULL
24923 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_EnableMargins",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24924 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
24925 if (!SWIG_IsOK(res1
)) {
24926 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_EnableMargins" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
24928 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
24929 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
24930 if (!SWIG_IsOK(ecode2
)) {
24931 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PageSetupDialogData_EnableMargins" "', expected argument " "2"" of type '" "bool""'");
24933 arg2
= static_cast< bool >(val2
);
24935 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24936 (arg1
)->EnableMargins(arg2
);
24937 wxPyEndAllowThreads(__tstate
);
24938 if (PyErr_Occurred()) SWIG_fail
;
24940 resultobj
= SWIG_Py_Void();
24947 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_EnableOrientation(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24948 PyObject
*resultobj
= 0;
24949 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
24955 PyObject
* obj0
= 0 ;
24956 PyObject
* obj1
= 0 ;
24957 char * kwnames
[] = {
24958 (char *) "self",(char *) "flag", NULL
24961 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_EnableOrientation",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24962 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
24963 if (!SWIG_IsOK(res1
)) {
24964 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_EnableOrientation" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
24966 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
24967 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
24968 if (!SWIG_IsOK(ecode2
)) {
24969 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PageSetupDialogData_EnableOrientation" "', expected argument " "2"" of type '" "bool""'");
24971 arg2
= static_cast< bool >(val2
);
24973 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24974 (arg1
)->EnableOrientation(arg2
);
24975 wxPyEndAllowThreads(__tstate
);
24976 if (PyErr_Occurred()) SWIG_fail
;
24978 resultobj
= SWIG_Py_Void();
24985 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_EnablePaper(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24986 PyObject
*resultobj
= 0;
24987 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
24993 PyObject
* obj0
= 0 ;
24994 PyObject
* obj1
= 0 ;
24995 char * kwnames
[] = {
24996 (char *) "self",(char *) "flag", NULL
24999 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_EnablePaper",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25000 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
25001 if (!SWIG_IsOK(res1
)) {
25002 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_EnablePaper" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25004 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
25005 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
25006 if (!SWIG_IsOK(ecode2
)) {
25007 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PageSetupDialogData_EnablePaper" "', expected argument " "2"" of type '" "bool""'");
25009 arg2
= static_cast< bool >(val2
);
25011 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25012 (arg1
)->EnablePaper(arg2
);
25013 wxPyEndAllowThreads(__tstate
);
25014 if (PyErr_Occurred()) SWIG_fail
;
25016 resultobj
= SWIG_Py_Void();
25023 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_EnablePrinter(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25024 PyObject
*resultobj
= 0;
25025 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
25031 PyObject
* obj0
= 0 ;
25032 PyObject
* obj1
= 0 ;
25033 char * kwnames
[] = {
25034 (char *) "self",(char *) "flag", NULL
25037 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_EnablePrinter",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25038 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
25039 if (!SWIG_IsOK(res1
)) {
25040 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_EnablePrinter" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25042 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
25043 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
25044 if (!SWIG_IsOK(ecode2
)) {
25045 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PageSetupDialogData_EnablePrinter" "', expected argument " "2"" of type '" "bool""'");
25047 arg2
= static_cast< bool >(val2
);
25049 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25050 (arg1
)->EnablePrinter(arg2
);
25051 wxPyEndAllowThreads(__tstate
);
25052 if (PyErr_Occurred()) SWIG_fail
;
25054 resultobj
= SWIG_Py_Void();
25061 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_GetDefaultMinMargins(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25062 PyObject
*resultobj
= 0;
25063 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
25067 PyObject
*swig_obj
[1] ;
25069 if (!args
) SWIG_fail
;
25070 swig_obj
[0] = args
;
25071 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
25072 if (!SWIG_IsOK(res1
)) {
25073 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_GetDefaultMinMargins" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25075 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
25077 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25078 result
= (bool)(arg1
)->GetDefaultMinMargins();
25079 wxPyEndAllowThreads(__tstate
);
25080 if (PyErr_Occurred()) SWIG_fail
;
25083 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25091 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_GetEnableMargins(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25092 PyObject
*resultobj
= 0;
25093 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
25097 PyObject
*swig_obj
[1] ;
25099 if (!args
) SWIG_fail
;
25100 swig_obj
[0] = args
;
25101 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
25102 if (!SWIG_IsOK(res1
)) {
25103 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_GetEnableMargins" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25105 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
25107 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25108 result
= (bool)(arg1
)->GetEnableMargins();
25109 wxPyEndAllowThreads(__tstate
);
25110 if (PyErr_Occurred()) SWIG_fail
;
25113 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25121 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_GetEnableOrientation(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25122 PyObject
*resultobj
= 0;
25123 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
25127 PyObject
*swig_obj
[1] ;
25129 if (!args
) SWIG_fail
;
25130 swig_obj
[0] = args
;
25131 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
25132 if (!SWIG_IsOK(res1
)) {
25133 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_GetEnableOrientation" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25135 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
25137 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25138 result
= (bool)(arg1
)->GetEnableOrientation();
25139 wxPyEndAllowThreads(__tstate
);
25140 if (PyErr_Occurred()) SWIG_fail
;
25143 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25151 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_GetEnablePaper(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25152 PyObject
*resultobj
= 0;
25153 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
25157 PyObject
*swig_obj
[1] ;
25159 if (!args
) SWIG_fail
;
25160 swig_obj
[0] = args
;
25161 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
25162 if (!SWIG_IsOK(res1
)) {
25163 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_GetEnablePaper" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25165 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
25167 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25168 result
= (bool)(arg1
)->GetEnablePaper();
25169 wxPyEndAllowThreads(__tstate
);
25170 if (PyErr_Occurred()) SWIG_fail
;
25173 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25181 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_GetEnablePrinter(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25182 PyObject
*resultobj
= 0;
25183 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
25187 PyObject
*swig_obj
[1] ;
25189 if (!args
) SWIG_fail
;
25190 swig_obj
[0] = args
;
25191 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
25192 if (!SWIG_IsOK(res1
)) {
25193 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_GetEnablePrinter" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25195 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
25197 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25198 result
= (bool)(arg1
)->GetEnablePrinter();
25199 wxPyEndAllowThreads(__tstate
);
25200 if (PyErr_Occurred()) SWIG_fail
;
25203 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25211 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_GetEnableHelp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25212 PyObject
*resultobj
= 0;
25213 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
25217 PyObject
*swig_obj
[1] ;
25219 if (!args
) SWIG_fail
;
25220 swig_obj
[0] = args
;
25221 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
25222 if (!SWIG_IsOK(res1
)) {
25223 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_GetEnableHelp" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25225 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
25227 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25228 result
= (bool)(arg1
)->GetEnableHelp();
25229 wxPyEndAllowThreads(__tstate
);
25230 if (PyErr_Occurred()) SWIG_fail
;
25233 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25241 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_GetDefaultInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25242 PyObject
*resultobj
= 0;
25243 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
25247 PyObject
*swig_obj
[1] ;
25249 if (!args
) SWIG_fail
;
25250 swig_obj
[0] = args
;
25251 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
25252 if (!SWIG_IsOK(res1
)) {
25253 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_GetDefaultInfo" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25255 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
25257 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25258 result
= (bool)(arg1
)->GetDefaultInfo();
25259 wxPyEndAllowThreads(__tstate
);
25260 if (PyErr_Occurred()) SWIG_fail
;
25263 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25271 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_GetMarginTopLeft(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25272 PyObject
*resultobj
= 0;
25273 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
25277 PyObject
*swig_obj
[1] ;
25279 if (!args
) SWIG_fail
;
25280 swig_obj
[0] = args
;
25281 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
25282 if (!SWIG_IsOK(res1
)) {
25283 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_GetMarginTopLeft" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25285 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
25287 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25288 result
= (arg1
)->GetMarginTopLeft();
25289 wxPyEndAllowThreads(__tstate
);
25290 if (PyErr_Occurred()) SWIG_fail
;
25292 resultobj
= SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint
& >(result
))), SWIGTYPE_p_wxPoint
, SWIG_POINTER_OWN
| 0 );
25299 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_GetMarginBottomRight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25300 PyObject
*resultobj
= 0;
25301 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
25305 PyObject
*swig_obj
[1] ;
25307 if (!args
) SWIG_fail
;
25308 swig_obj
[0] = args
;
25309 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
25310 if (!SWIG_IsOK(res1
)) {
25311 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_GetMarginBottomRight" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25313 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
25315 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25316 result
= (arg1
)->GetMarginBottomRight();
25317 wxPyEndAllowThreads(__tstate
);
25318 if (PyErr_Occurred()) SWIG_fail
;
25320 resultobj
= SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint
& >(result
))), SWIGTYPE_p_wxPoint
, SWIG_POINTER_OWN
| 0 );
25327 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_GetMinMarginTopLeft(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25328 PyObject
*resultobj
= 0;
25329 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
25333 PyObject
*swig_obj
[1] ;
25335 if (!args
) SWIG_fail
;
25336 swig_obj
[0] = args
;
25337 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
25338 if (!SWIG_IsOK(res1
)) {
25339 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_GetMinMarginTopLeft" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25341 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
25343 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25344 result
= (arg1
)->GetMinMarginTopLeft();
25345 wxPyEndAllowThreads(__tstate
);
25346 if (PyErr_Occurred()) SWIG_fail
;
25348 resultobj
= SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint
& >(result
))), SWIGTYPE_p_wxPoint
, SWIG_POINTER_OWN
| 0 );
25355 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_GetMinMarginBottomRight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25356 PyObject
*resultobj
= 0;
25357 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
25361 PyObject
*swig_obj
[1] ;
25363 if (!args
) SWIG_fail
;
25364 swig_obj
[0] = args
;
25365 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
25366 if (!SWIG_IsOK(res1
)) {
25367 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_GetMinMarginBottomRight" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25369 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
25371 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25372 result
= (arg1
)->GetMinMarginBottomRight();
25373 wxPyEndAllowThreads(__tstate
);
25374 if (PyErr_Occurred()) SWIG_fail
;
25376 resultobj
= SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint
& >(result
))), SWIGTYPE_p_wxPoint
, SWIG_POINTER_OWN
| 0 );
25383 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_GetPaperId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25384 PyObject
*resultobj
= 0;
25385 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
25386 wxPaperSize result
;
25389 PyObject
*swig_obj
[1] ;
25391 if (!args
) SWIG_fail
;
25392 swig_obj
[0] = args
;
25393 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
25394 if (!SWIG_IsOK(res1
)) {
25395 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_GetPaperId" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25397 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
25399 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25400 result
= (wxPaperSize
)(arg1
)->GetPaperId();
25401 wxPyEndAllowThreads(__tstate
);
25402 if (PyErr_Occurred()) SWIG_fail
;
25404 resultobj
= SWIG_From_int(static_cast< int >(result
));
25411 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_GetPaperSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25412 PyObject
*resultobj
= 0;
25413 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
25417 PyObject
*swig_obj
[1] ;
25419 if (!args
) SWIG_fail
;
25420 swig_obj
[0] = args
;
25421 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
25422 if (!SWIG_IsOK(res1
)) {
25423 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_GetPaperSize" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25425 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
25427 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25428 result
= (arg1
)->GetPaperSize();
25429 wxPyEndAllowThreads(__tstate
);
25430 if (PyErr_Occurred()) SWIG_fail
;
25432 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
25439 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_GetPrintData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25440 PyObject
*resultobj
= 0;
25441 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
25442 wxPrintData
*result
= 0 ;
25445 PyObject
*swig_obj
[1] ;
25447 if (!args
) SWIG_fail
;
25448 swig_obj
[0] = args
;
25449 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
25450 if (!SWIG_IsOK(res1
)) {
25451 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_GetPrintData" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25453 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
25455 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25457 wxPrintData
&_result_ref
= (arg1
)->GetPrintData();
25458 result
= (wxPrintData
*) &_result_ref
;
25460 wxPyEndAllowThreads(__tstate
);
25461 if (PyErr_Occurred()) SWIG_fail
;
25463 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPrintData
, 0 | 0 );
25470 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_IsOk(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25471 PyObject
*resultobj
= 0;
25472 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
25476 PyObject
*swig_obj
[1] ;
25478 if (!args
) SWIG_fail
;
25479 swig_obj
[0] = args
;
25480 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
25481 if (!SWIG_IsOK(res1
)) {
25482 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_IsOk" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25484 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
25486 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25487 result
= (bool)(arg1
)->IsOk();
25488 wxPyEndAllowThreads(__tstate
);
25489 if (PyErr_Occurred()) SWIG_fail
;
25492 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25500 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_SetDefaultInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25501 PyObject
*resultobj
= 0;
25502 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
25508 PyObject
* obj0
= 0 ;
25509 PyObject
* obj1
= 0 ;
25510 char * kwnames
[] = {
25511 (char *) "self",(char *) "flag", NULL
25514 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_SetDefaultInfo",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25515 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
25516 if (!SWIG_IsOK(res1
)) {
25517 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_SetDefaultInfo" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25519 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
25520 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
25521 if (!SWIG_IsOK(ecode2
)) {
25522 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PageSetupDialogData_SetDefaultInfo" "', expected argument " "2"" of type '" "bool""'");
25524 arg2
= static_cast< bool >(val2
);
25526 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25527 (arg1
)->SetDefaultInfo(arg2
);
25528 wxPyEndAllowThreads(__tstate
);
25529 if (PyErr_Occurred()) SWIG_fail
;
25531 resultobj
= SWIG_Py_Void();
25538 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_SetDefaultMinMargins(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25539 PyObject
*resultobj
= 0;
25540 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
25546 PyObject
* obj0
= 0 ;
25547 PyObject
* obj1
= 0 ;
25548 char * kwnames
[] = {
25549 (char *) "self",(char *) "flag", NULL
25552 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_SetDefaultMinMargins",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25553 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
25554 if (!SWIG_IsOK(res1
)) {
25555 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_SetDefaultMinMargins" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25557 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
25558 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
25559 if (!SWIG_IsOK(ecode2
)) {
25560 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PageSetupDialogData_SetDefaultMinMargins" "', expected argument " "2"" of type '" "bool""'");
25562 arg2
= static_cast< bool >(val2
);
25564 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25565 (arg1
)->SetDefaultMinMargins(arg2
);
25566 wxPyEndAllowThreads(__tstate
);
25567 if (PyErr_Occurred()) SWIG_fail
;
25569 resultobj
= SWIG_Py_Void();
25576 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_SetMarginTopLeft(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25577 PyObject
*resultobj
= 0;
25578 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
25579 wxPoint
*arg2
= 0 ;
25583 PyObject
* obj0
= 0 ;
25584 PyObject
* obj1
= 0 ;
25585 char * kwnames
[] = {
25586 (char *) "self",(char *) "pt", NULL
25589 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_SetMarginTopLeft",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25590 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
25591 if (!SWIG_IsOK(res1
)) {
25592 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_SetMarginTopLeft" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25594 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
25597 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
25600 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25601 (arg1
)->SetMarginTopLeft((wxPoint
const &)*arg2
);
25602 wxPyEndAllowThreads(__tstate
);
25603 if (PyErr_Occurred()) SWIG_fail
;
25605 resultobj
= SWIG_Py_Void();
25612 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_SetMarginBottomRight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25613 PyObject
*resultobj
= 0;
25614 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
25615 wxPoint
*arg2
= 0 ;
25619 PyObject
* obj0
= 0 ;
25620 PyObject
* obj1
= 0 ;
25621 char * kwnames
[] = {
25622 (char *) "self",(char *) "pt", NULL
25625 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_SetMarginBottomRight",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25626 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
25627 if (!SWIG_IsOK(res1
)) {
25628 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_SetMarginBottomRight" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25630 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
25633 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
25636 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25637 (arg1
)->SetMarginBottomRight((wxPoint
const &)*arg2
);
25638 wxPyEndAllowThreads(__tstate
);
25639 if (PyErr_Occurred()) SWIG_fail
;
25641 resultobj
= SWIG_Py_Void();
25648 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_SetMinMarginTopLeft(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25649 PyObject
*resultobj
= 0;
25650 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
25651 wxPoint
*arg2
= 0 ;
25655 PyObject
* obj0
= 0 ;
25656 PyObject
* obj1
= 0 ;
25657 char * kwnames
[] = {
25658 (char *) "self",(char *) "pt", NULL
25661 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_SetMinMarginTopLeft",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25662 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
25663 if (!SWIG_IsOK(res1
)) {
25664 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_SetMinMarginTopLeft" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25666 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
25669 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
25672 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25673 (arg1
)->SetMinMarginTopLeft((wxPoint
const &)*arg2
);
25674 wxPyEndAllowThreads(__tstate
);
25675 if (PyErr_Occurred()) SWIG_fail
;
25677 resultobj
= SWIG_Py_Void();
25684 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_SetMinMarginBottomRight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25685 PyObject
*resultobj
= 0;
25686 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
25687 wxPoint
*arg2
= 0 ;
25691 PyObject
* obj0
= 0 ;
25692 PyObject
* obj1
= 0 ;
25693 char * kwnames
[] = {
25694 (char *) "self",(char *) "pt", NULL
25697 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_SetMinMarginBottomRight",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25698 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
25699 if (!SWIG_IsOK(res1
)) {
25700 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_SetMinMarginBottomRight" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25702 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
25705 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
25708 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25709 (arg1
)->SetMinMarginBottomRight((wxPoint
const &)*arg2
);
25710 wxPyEndAllowThreads(__tstate
);
25711 if (PyErr_Occurred()) SWIG_fail
;
25713 resultobj
= SWIG_Py_Void();
25720 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_SetPaperId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25721 PyObject
*resultobj
= 0;
25722 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
25728 PyObject
* obj0
= 0 ;
25729 PyObject
* obj1
= 0 ;
25730 char * kwnames
[] = {
25731 (char *) "self",(char *) "id", NULL
25734 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_SetPaperId",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25735 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
25736 if (!SWIG_IsOK(res1
)) {
25737 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_SetPaperId" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25739 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
25740 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
25741 if (!SWIG_IsOK(ecode2
)) {
25742 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PageSetupDialogData_SetPaperId" "', expected argument " "2"" of type '" "wxPaperSize""'");
25744 arg2
= static_cast< wxPaperSize
>(val2
);
25746 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25747 (arg1
)->SetPaperId(arg2
);
25748 wxPyEndAllowThreads(__tstate
);
25749 if (PyErr_Occurred()) SWIG_fail
;
25751 resultobj
= SWIG_Py_Void();
25758 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_SetPaperSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25759 PyObject
*resultobj
= 0;
25760 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
25765 PyObject
* obj0
= 0 ;
25766 PyObject
* obj1
= 0 ;
25767 char * kwnames
[] = {
25768 (char *) "self",(char *) "size", NULL
25771 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_SetPaperSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25772 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
25773 if (!SWIG_IsOK(res1
)) {
25774 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_SetPaperSize" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25776 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
25779 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
25782 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25783 (arg1
)->SetPaperSize((wxSize
const &)*arg2
);
25784 wxPyEndAllowThreads(__tstate
);
25785 if (PyErr_Occurred()) SWIG_fail
;
25787 resultobj
= SWIG_Py_Void();
25794 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_SetPrintData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25795 PyObject
*resultobj
= 0;
25796 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
25797 wxPrintData
*arg2
= 0 ;
25802 PyObject
* obj0
= 0 ;
25803 PyObject
* obj1
= 0 ;
25804 char * kwnames
[] = {
25805 (char *) "self",(char *) "printData", NULL
25808 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_SetPrintData",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25809 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
25810 if (!SWIG_IsOK(res1
)) {
25811 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_SetPrintData" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25813 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
25814 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxPrintData
, 0 | 0);
25815 if (!SWIG_IsOK(res2
)) {
25816 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PageSetupDialogData_SetPrintData" "', expected argument " "2"" of type '" "wxPrintData const &""'");
25819 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "PageSetupDialogData_SetPrintData" "', expected argument " "2"" of type '" "wxPrintData const &""'");
25821 arg2
= reinterpret_cast< wxPrintData
* >(argp2
);
25823 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25824 (arg1
)->SetPrintData((wxPrintData
const &)*arg2
);
25825 wxPyEndAllowThreads(__tstate
);
25826 if (PyErr_Occurred()) SWIG_fail
;
25828 resultobj
= SWIG_Py_Void();
25835 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_CalculateIdFromPaperSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25836 PyObject
*resultobj
= 0;
25837 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
25840 PyObject
*swig_obj
[1] ;
25842 if (!args
) SWIG_fail
;
25843 swig_obj
[0] = args
;
25844 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
25845 if (!SWIG_IsOK(res1
)) {
25846 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_CalculateIdFromPaperSize" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25848 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
25850 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25851 (arg1
)->CalculateIdFromPaperSize();
25852 wxPyEndAllowThreads(__tstate
);
25853 if (PyErr_Occurred()) SWIG_fail
;
25855 resultobj
= SWIG_Py_Void();
25862 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_CalculatePaperSizeFromId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25863 PyObject
*resultobj
= 0;
25864 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
25867 PyObject
*swig_obj
[1] ;
25869 if (!args
) SWIG_fail
;
25870 swig_obj
[0] = args
;
25871 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
25872 if (!SWIG_IsOK(res1
)) {
25873 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_CalculatePaperSizeFromId" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25875 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
25877 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25878 (arg1
)->CalculatePaperSizeFromId();
25879 wxPyEndAllowThreads(__tstate
);
25880 if (PyErr_Occurred()) SWIG_fail
;
25882 resultobj
= SWIG_Py_Void();
25889 SWIGINTERN PyObject
*PageSetupDialogData_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25891 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
25892 SWIG_TypeNewClientData(SWIGTYPE_p_wxPageSetupDialogData
, SWIG_NewClientData(obj
));
25893 return SWIG_Py_Void();
25896 SWIGINTERN PyObject
*PageSetupDialogData_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25897 return SWIG_Python_InitShadowInstance(args
);
25900 SWIGINTERN PyObject
*_wrap_new_PageSetupDialog(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25901 PyObject
*resultobj
= 0;
25902 wxWindow
*arg1
= (wxWindow
*) 0 ;
25903 wxPageSetupDialogData
*arg2
= (wxPageSetupDialogData
*) NULL
;
25904 wxPageSetupDialog
*result
= 0 ;
25909 PyObject
* obj0
= 0 ;
25910 PyObject
* obj1
= 0 ;
25911 char * kwnames
[] = {
25912 (char *) "parent",(char *) "data", NULL
25915 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_PageSetupDialog",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25916 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
25917 if (!SWIG_IsOK(res1
)) {
25918 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PageSetupDialog" "', expected argument " "1"" of type '" "wxWindow *""'");
25920 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
25922 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
25923 if (!SWIG_IsOK(res2
)) {
25924 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_PageSetupDialog" "', expected argument " "2"" of type '" "wxPageSetupDialogData *""'");
25926 arg2
= reinterpret_cast< wxPageSetupDialogData
* >(argp2
);
25929 if (!wxPyCheckForApp()) SWIG_fail
;
25930 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25931 result
= (wxPageSetupDialog
*)new wxPageSetupDialog(arg1
,arg2
);
25932 wxPyEndAllowThreads(__tstate
);
25933 if (PyErr_Occurred()) SWIG_fail
;
25935 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPageSetupDialog
, SWIG_POINTER_NEW
| 0 );
25942 SWIGINTERN PyObject
*_wrap_delete_PageSetupDialog(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25943 PyObject
*resultobj
= 0;
25944 wxPageSetupDialog
*arg1
= (wxPageSetupDialog
*) 0 ;
25947 PyObject
*swig_obj
[1] ;
25949 if (!args
) SWIG_fail
;
25950 swig_obj
[0] = args
;
25951 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPageSetupDialog
, SWIG_POINTER_DISOWN
| 0 );
25952 if (!SWIG_IsOK(res1
)) {
25953 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_PageSetupDialog" "', expected argument " "1"" of type '" "wxPageSetupDialog *""'");
25955 arg1
= reinterpret_cast< wxPageSetupDialog
* >(argp1
);
25957 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25960 wxPyEndAllowThreads(__tstate
);
25961 if (PyErr_Occurred()) SWIG_fail
;
25963 resultobj
= SWIG_Py_Void();
25970 SWIGINTERN PyObject
*_wrap_PageSetupDialog_GetPageSetupData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25971 PyObject
*resultobj
= 0;
25972 wxPageSetupDialog
*arg1
= (wxPageSetupDialog
*) 0 ;
25973 wxPageSetupDialogData
*result
= 0 ;
25976 PyObject
*swig_obj
[1] ;
25978 if (!args
) SWIG_fail
;
25979 swig_obj
[0] = args
;
25980 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPageSetupDialog
, 0 | 0 );
25981 if (!SWIG_IsOK(res1
)) {
25982 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialog_GetPageSetupData" "', expected argument " "1"" of type '" "wxPageSetupDialog *""'");
25984 arg1
= reinterpret_cast< wxPageSetupDialog
* >(argp1
);
25986 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25988 wxPageSetupDialogData
&_result_ref
= (arg1
)->GetPageSetupData();
25989 result
= (wxPageSetupDialogData
*) &_result_ref
;
25991 wxPyEndAllowThreads(__tstate
);
25992 if (PyErr_Occurred()) SWIG_fail
;
25994 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
26001 SWIGINTERN PyObject
*_wrap_PageSetupDialog_GetPageSetupDialogData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26002 PyObject
*resultobj
= 0;
26003 wxPageSetupDialog
*arg1
= (wxPageSetupDialog
*) 0 ;
26004 wxPageSetupDialogData
*result
= 0 ;
26007 PyObject
*swig_obj
[1] ;
26009 if (!args
) SWIG_fail
;
26010 swig_obj
[0] = args
;
26011 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPageSetupDialog
, 0 | 0 );
26012 if (!SWIG_IsOK(res1
)) {
26013 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialog_GetPageSetupDialogData" "', expected argument " "1"" of type '" "wxPageSetupDialog *""'");
26015 arg1
= reinterpret_cast< wxPageSetupDialog
* >(argp1
);
26017 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26019 wxPageSetupDialogData
&_result_ref
= (arg1
)->GetPageSetupDialogData();
26020 result
= (wxPageSetupDialogData
*) &_result_ref
;
26022 wxPyEndAllowThreads(__tstate
);
26023 if (PyErr_Occurred()) SWIG_fail
;
26025 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
26032 SWIGINTERN PyObject
*_wrap_PageSetupDialog_ShowModal(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26033 PyObject
*resultobj
= 0;
26034 wxPageSetupDialog
*arg1
= (wxPageSetupDialog
*) 0 ;
26038 PyObject
*swig_obj
[1] ;
26040 if (!args
) SWIG_fail
;
26041 swig_obj
[0] = args
;
26042 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPageSetupDialog
, 0 | 0 );
26043 if (!SWIG_IsOK(res1
)) {
26044 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialog_ShowModal" "', expected argument " "1"" of type '" "wxPageSetupDialog *""'");
26046 arg1
= reinterpret_cast< wxPageSetupDialog
* >(argp1
);
26048 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26049 result
= (int)(arg1
)->ShowModal();
26050 wxPyEndAllowThreads(__tstate
);
26051 if (PyErr_Occurred()) SWIG_fail
;
26053 resultobj
= SWIG_From_int(static_cast< int >(result
));
26060 SWIGINTERN PyObject
*PageSetupDialog_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26062 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
26063 SWIG_TypeNewClientData(SWIGTYPE_p_wxPageSetupDialog
, SWIG_NewClientData(obj
));
26064 return SWIG_Py_Void();
26067 SWIGINTERN PyObject
*PageSetupDialog_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26068 return SWIG_Python_InitShadowInstance(args
);
26071 SWIGINTERN PyObject
*_wrap_new_PrintDialogData__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**SWIGUNUSEDPARM(swig_obj
)) {
26072 PyObject
*resultobj
= 0;
26073 wxPrintDialogData
*result
= 0 ;
26075 if ((nobjs
< 0) || (nobjs
> 0)) SWIG_fail
;
26077 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26078 result
= (wxPrintDialogData
*)new wxPrintDialogData();
26079 wxPyEndAllowThreads(__tstate
);
26080 if (PyErr_Occurred()) SWIG_fail
;
26082 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPrintDialogData
, SWIG_POINTER_NEW
| 0 );
26089 SWIGINTERN PyObject
*_wrap_new_PrintDialogData__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
26090 PyObject
*resultobj
= 0;
26091 wxPrintData
*arg1
= 0 ;
26092 wxPrintDialogData
*result
= 0 ;
26096 if ((nobjs
< 1) || (nobjs
> 1)) SWIG_fail
;
26097 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
, SWIGTYPE_p_wxPrintData
, 0 | 0);
26098 if (!SWIG_IsOK(res1
)) {
26099 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PrintDialogData" "', expected argument " "1"" of type '" "wxPrintData const &""'");
26102 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_PrintDialogData" "', expected argument " "1"" of type '" "wxPrintData const &""'");
26104 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
26106 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26107 result
= (wxPrintDialogData
*)new wxPrintDialogData((wxPrintData
const &)*arg1
);
26108 wxPyEndAllowThreads(__tstate
);
26109 if (PyErr_Occurred()) SWIG_fail
;
26111 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPrintDialogData
, SWIG_POINTER_NEW
| 0 );
26118 SWIGINTERN PyObject
*_wrap_new_PrintDialogData__SWIG_2(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
26119 PyObject
*resultobj
= 0;
26120 wxPrintDialogData
*arg1
= 0 ;
26121 wxPrintDialogData
*result
= 0 ;
26125 if ((nobjs
< 1) || (nobjs
> 1)) SWIG_fail
;
26126 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
, SWIGTYPE_p_wxPrintDialogData
, 0 | 0);
26127 if (!SWIG_IsOK(res1
)) {
26128 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PrintDialogData" "', expected argument " "1"" of type '" "wxPrintDialogData const &""'");
26131 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_PrintDialogData" "', expected argument " "1"" of type '" "wxPrintDialogData const &""'");
26133 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
26135 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26136 result
= (wxPrintDialogData
*)new wxPrintDialogData((wxPrintDialogData
const &)*arg1
);
26137 wxPyEndAllowThreads(__tstate
);
26138 if (PyErr_Occurred()) SWIG_fail
;
26140 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPrintDialogData
, SWIG_POINTER_NEW
| 0 );
26147 SWIGINTERN PyObject
*_wrap_new_PrintDialogData(PyObject
*self
, PyObject
*args
) {
26151 if (!(argc
= SWIG_Python_UnpackTuple(args
,"new_PrintDialogData",0,1,argv
))) SWIG_fail
;
26154 return _wrap_new_PrintDialogData__SWIG_0(self
, argc
, argv
);
26159 int res
= SWIG_ConvertPtr(argv
[0], 0, SWIGTYPE_p_wxPrintData
, 0);
26160 _v
= SWIG_CheckState(res
);
26162 if (!_v
) goto check_2
;
26163 return _wrap_new_PrintDialogData__SWIG_1(self
, argc
, argv
);
26168 return _wrap_new_PrintDialogData__SWIG_2(self
, argc
, argv
);
26172 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'new_PrintDialogData'");
26177 SWIGINTERN PyObject
*_wrap_delete_PrintDialogData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26178 PyObject
*resultobj
= 0;
26179 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
26182 PyObject
*swig_obj
[1] ;
26184 if (!args
) SWIG_fail
;
26185 swig_obj
[0] = args
;
26186 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintDialogData
, SWIG_POINTER_DISOWN
| 0 );
26187 if (!SWIG_IsOK(res1
)) {
26188 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_PrintDialogData" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
26190 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
26192 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26195 wxPyEndAllowThreads(__tstate
);
26196 if (PyErr_Occurred()) SWIG_fail
;
26198 resultobj
= SWIG_Py_Void();
26205 SWIGINTERN PyObject
*_wrap_PrintDialogData_GetFromPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26206 PyObject
*resultobj
= 0;
26207 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
26211 PyObject
*swig_obj
[1] ;
26213 if (!args
) SWIG_fail
;
26214 swig_obj
[0] = args
;
26215 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
26216 if (!SWIG_IsOK(res1
)) {
26217 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_GetFromPage" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
26219 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
26221 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26222 result
= (int)((wxPrintDialogData
const *)arg1
)->GetFromPage();
26223 wxPyEndAllowThreads(__tstate
);
26224 if (PyErr_Occurred()) SWIG_fail
;
26226 resultobj
= SWIG_From_int(static_cast< int >(result
));
26233 SWIGINTERN PyObject
*_wrap_PrintDialogData_GetToPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26234 PyObject
*resultobj
= 0;
26235 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
26239 PyObject
*swig_obj
[1] ;
26241 if (!args
) SWIG_fail
;
26242 swig_obj
[0] = args
;
26243 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
26244 if (!SWIG_IsOK(res1
)) {
26245 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_GetToPage" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
26247 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
26249 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26250 result
= (int)((wxPrintDialogData
const *)arg1
)->GetToPage();
26251 wxPyEndAllowThreads(__tstate
);
26252 if (PyErr_Occurred()) SWIG_fail
;
26254 resultobj
= SWIG_From_int(static_cast< int >(result
));
26261 SWIGINTERN PyObject
*_wrap_PrintDialogData_GetMinPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26262 PyObject
*resultobj
= 0;
26263 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
26267 PyObject
*swig_obj
[1] ;
26269 if (!args
) SWIG_fail
;
26270 swig_obj
[0] = args
;
26271 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
26272 if (!SWIG_IsOK(res1
)) {
26273 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_GetMinPage" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
26275 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
26277 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26278 result
= (int)((wxPrintDialogData
const *)arg1
)->GetMinPage();
26279 wxPyEndAllowThreads(__tstate
);
26280 if (PyErr_Occurred()) SWIG_fail
;
26282 resultobj
= SWIG_From_int(static_cast< int >(result
));
26289 SWIGINTERN PyObject
*_wrap_PrintDialogData_GetMaxPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26290 PyObject
*resultobj
= 0;
26291 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
26295 PyObject
*swig_obj
[1] ;
26297 if (!args
) SWIG_fail
;
26298 swig_obj
[0] = args
;
26299 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
26300 if (!SWIG_IsOK(res1
)) {
26301 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_GetMaxPage" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
26303 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
26305 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26306 result
= (int)((wxPrintDialogData
const *)arg1
)->GetMaxPage();
26307 wxPyEndAllowThreads(__tstate
);
26308 if (PyErr_Occurred()) SWIG_fail
;
26310 resultobj
= SWIG_From_int(static_cast< int >(result
));
26317 SWIGINTERN PyObject
*_wrap_PrintDialogData_GetNoCopies(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26318 PyObject
*resultobj
= 0;
26319 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
26323 PyObject
*swig_obj
[1] ;
26325 if (!args
) SWIG_fail
;
26326 swig_obj
[0] = args
;
26327 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
26328 if (!SWIG_IsOK(res1
)) {
26329 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_GetNoCopies" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
26331 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
26333 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26334 result
= (int)((wxPrintDialogData
const *)arg1
)->GetNoCopies();
26335 wxPyEndAllowThreads(__tstate
);
26336 if (PyErr_Occurred()) SWIG_fail
;
26338 resultobj
= SWIG_From_int(static_cast< int >(result
));
26345 SWIGINTERN PyObject
*_wrap_PrintDialogData_GetAllPages(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26346 PyObject
*resultobj
= 0;
26347 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
26351 PyObject
*swig_obj
[1] ;
26353 if (!args
) SWIG_fail
;
26354 swig_obj
[0] = args
;
26355 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
26356 if (!SWIG_IsOK(res1
)) {
26357 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_GetAllPages" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
26359 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
26361 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26362 result
= (bool)((wxPrintDialogData
const *)arg1
)->GetAllPages();
26363 wxPyEndAllowThreads(__tstate
);
26364 if (PyErr_Occurred()) SWIG_fail
;
26367 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26375 SWIGINTERN PyObject
*_wrap_PrintDialogData_GetSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26376 PyObject
*resultobj
= 0;
26377 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
26381 PyObject
*swig_obj
[1] ;
26383 if (!args
) SWIG_fail
;
26384 swig_obj
[0] = args
;
26385 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
26386 if (!SWIG_IsOK(res1
)) {
26387 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_GetSelection" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
26389 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
26391 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26392 result
= (bool)((wxPrintDialogData
const *)arg1
)->GetSelection();
26393 wxPyEndAllowThreads(__tstate
);
26394 if (PyErr_Occurred()) SWIG_fail
;
26397 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26405 SWIGINTERN PyObject
*_wrap_PrintDialogData_GetCollate(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26406 PyObject
*resultobj
= 0;
26407 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
26411 PyObject
*swig_obj
[1] ;
26413 if (!args
) SWIG_fail
;
26414 swig_obj
[0] = args
;
26415 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
26416 if (!SWIG_IsOK(res1
)) {
26417 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_GetCollate" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
26419 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
26421 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26422 result
= (bool)((wxPrintDialogData
const *)arg1
)->GetCollate();
26423 wxPyEndAllowThreads(__tstate
);
26424 if (PyErr_Occurred()) SWIG_fail
;
26427 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26435 SWIGINTERN PyObject
*_wrap_PrintDialogData_GetPrintToFile(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26436 PyObject
*resultobj
= 0;
26437 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
26441 PyObject
*swig_obj
[1] ;
26443 if (!args
) SWIG_fail
;
26444 swig_obj
[0] = args
;
26445 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
26446 if (!SWIG_IsOK(res1
)) {
26447 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_GetPrintToFile" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
26449 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
26451 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26452 result
= (bool)((wxPrintDialogData
const *)arg1
)->GetPrintToFile();
26453 wxPyEndAllowThreads(__tstate
);
26454 if (PyErr_Occurred()) SWIG_fail
;
26457 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26465 SWIGINTERN PyObject
*_wrap_PrintDialogData_SetFromPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26466 PyObject
*resultobj
= 0;
26467 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
26473 PyObject
* obj0
= 0 ;
26474 PyObject
* obj1
= 0 ;
26475 char * kwnames
[] = {
26476 (char *) "self",(char *) "v", NULL
26479 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetFromPage",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26480 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
26481 if (!SWIG_IsOK(res1
)) {
26482 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_SetFromPage" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
26484 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
26485 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
26486 if (!SWIG_IsOK(ecode2
)) {
26487 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintDialogData_SetFromPage" "', expected argument " "2"" of type '" "int""'");
26489 arg2
= static_cast< int >(val2
);
26491 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26492 (arg1
)->SetFromPage(arg2
);
26493 wxPyEndAllowThreads(__tstate
);
26494 if (PyErr_Occurred()) SWIG_fail
;
26496 resultobj
= SWIG_Py_Void();
26503 SWIGINTERN PyObject
*_wrap_PrintDialogData_SetToPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26504 PyObject
*resultobj
= 0;
26505 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
26511 PyObject
* obj0
= 0 ;
26512 PyObject
* obj1
= 0 ;
26513 char * kwnames
[] = {
26514 (char *) "self",(char *) "v", NULL
26517 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetToPage",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26518 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
26519 if (!SWIG_IsOK(res1
)) {
26520 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_SetToPage" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
26522 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
26523 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
26524 if (!SWIG_IsOK(ecode2
)) {
26525 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintDialogData_SetToPage" "', expected argument " "2"" of type '" "int""'");
26527 arg2
= static_cast< int >(val2
);
26529 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26530 (arg1
)->SetToPage(arg2
);
26531 wxPyEndAllowThreads(__tstate
);
26532 if (PyErr_Occurred()) SWIG_fail
;
26534 resultobj
= SWIG_Py_Void();
26541 SWIGINTERN PyObject
*_wrap_PrintDialogData_SetMinPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26542 PyObject
*resultobj
= 0;
26543 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
26549 PyObject
* obj0
= 0 ;
26550 PyObject
* obj1
= 0 ;
26551 char * kwnames
[] = {
26552 (char *) "self",(char *) "v", NULL
26555 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetMinPage",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26556 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
26557 if (!SWIG_IsOK(res1
)) {
26558 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_SetMinPage" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
26560 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
26561 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
26562 if (!SWIG_IsOK(ecode2
)) {
26563 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintDialogData_SetMinPage" "', expected argument " "2"" of type '" "int""'");
26565 arg2
= static_cast< int >(val2
);
26567 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26568 (arg1
)->SetMinPage(arg2
);
26569 wxPyEndAllowThreads(__tstate
);
26570 if (PyErr_Occurred()) SWIG_fail
;
26572 resultobj
= SWIG_Py_Void();
26579 SWIGINTERN PyObject
*_wrap_PrintDialogData_SetMaxPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26580 PyObject
*resultobj
= 0;
26581 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
26587 PyObject
* obj0
= 0 ;
26588 PyObject
* obj1
= 0 ;
26589 char * kwnames
[] = {
26590 (char *) "self",(char *) "v", NULL
26593 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetMaxPage",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26594 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
26595 if (!SWIG_IsOK(res1
)) {
26596 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_SetMaxPage" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
26598 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
26599 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
26600 if (!SWIG_IsOK(ecode2
)) {
26601 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintDialogData_SetMaxPage" "', expected argument " "2"" of type '" "int""'");
26603 arg2
= static_cast< int >(val2
);
26605 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26606 (arg1
)->SetMaxPage(arg2
);
26607 wxPyEndAllowThreads(__tstate
);
26608 if (PyErr_Occurred()) SWIG_fail
;
26610 resultobj
= SWIG_Py_Void();
26617 SWIGINTERN PyObject
*_wrap_PrintDialogData_SetNoCopies(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26618 PyObject
*resultobj
= 0;
26619 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
26625 PyObject
* obj0
= 0 ;
26626 PyObject
* obj1
= 0 ;
26627 char * kwnames
[] = {
26628 (char *) "self",(char *) "v", NULL
26631 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetNoCopies",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26632 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
26633 if (!SWIG_IsOK(res1
)) {
26634 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_SetNoCopies" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
26636 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
26637 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
26638 if (!SWIG_IsOK(ecode2
)) {
26639 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintDialogData_SetNoCopies" "', expected argument " "2"" of type '" "int""'");
26641 arg2
= static_cast< int >(val2
);
26643 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26644 (arg1
)->SetNoCopies(arg2
);
26645 wxPyEndAllowThreads(__tstate
);
26646 if (PyErr_Occurred()) SWIG_fail
;
26648 resultobj
= SWIG_Py_Void();
26655 SWIGINTERN PyObject
*_wrap_PrintDialogData_SetAllPages(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26656 PyObject
*resultobj
= 0;
26657 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
26663 PyObject
* obj0
= 0 ;
26664 PyObject
* obj1
= 0 ;
26665 char * kwnames
[] = {
26666 (char *) "self",(char *) "flag", NULL
26669 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetAllPages",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26670 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
26671 if (!SWIG_IsOK(res1
)) {
26672 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_SetAllPages" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
26674 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
26675 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
26676 if (!SWIG_IsOK(ecode2
)) {
26677 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintDialogData_SetAllPages" "', expected argument " "2"" of type '" "bool""'");
26679 arg2
= static_cast< bool >(val2
);
26681 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26682 (arg1
)->SetAllPages(arg2
);
26683 wxPyEndAllowThreads(__tstate
);
26684 if (PyErr_Occurred()) SWIG_fail
;
26686 resultobj
= SWIG_Py_Void();
26693 SWIGINTERN PyObject
*_wrap_PrintDialogData_SetSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26694 PyObject
*resultobj
= 0;
26695 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
26701 PyObject
* obj0
= 0 ;
26702 PyObject
* obj1
= 0 ;
26703 char * kwnames
[] = {
26704 (char *) "self",(char *) "flag", NULL
26707 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetSelection",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26708 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
26709 if (!SWIG_IsOK(res1
)) {
26710 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_SetSelection" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
26712 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
26713 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
26714 if (!SWIG_IsOK(ecode2
)) {
26715 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintDialogData_SetSelection" "', expected argument " "2"" of type '" "bool""'");
26717 arg2
= static_cast< bool >(val2
);
26719 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26720 (arg1
)->SetSelection(arg2
);
26721 wxPyEndAllowThreads(__tstate
);
26722 if (PyErr_Occurred()) SWIG_fail
;
26724 resultobj
= SWIG_Py_Void();
26731 SWIGINTERN PyObject
*_wrap_PrintDialogData_SetCollate(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26732 PyObject
*resultobj
= 0;
26733 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
26739 PyObject
* obj0
= 0 ;
26740 PyObject
* obj1
= 0 ;
26741 char * kwnames
[] = {
26742 (char *) "self",(char *) "flag", NULL
26745 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetCollate",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26746 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
26747 if (!SWIG_IsOK(res1
)) {
26748 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_SetCollate" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
26750 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
26751 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
26752 if (!SWIG_IsOK(ecode2
)) {
26753 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintDialogData_SetCollate" "', expected argument " "2"" of type '" "bool""'");
26755 arg2
= static_cast< bool >(val2
);
26757 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26758 (arg1
)->SetCollate(arg2
);
26759 wxPyEndAllowThreads(__tstate
);
26760 if (PyErr_Occurred()) SWIG_fail
;
26762 resultobj
= SWIG_Py_Void();
26769 SWIGINTERN PyObject
*_wrap_PrintDialogData_SetPrintToFile(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26770 PyObject
*resultobj
= 0;
26771 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
26777 PyObject
* obj0
= 0 ;
26778 PyObject
* obj1
= 0 ;
26779 char * kwnames
[] = {
26780 (char *) "self",(char *) "flag", NULL
26783 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetPrintToFile",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26784 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
26785 if (!SWIG_IsOK(res1
)) {
26786 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_SetPrintToFile" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
26788 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
26789 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
26790 if (!SWIG_IsOK(ecode2
)) {
26791 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintDialogData_SetPrintToFile" "', expected argument " "2"" of type '" "bool""'");
26793 arg2
= static_cast< bool >(val2
);
26795 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26796 (arg1
)->SetPrintToFile(arg2
);
26797 wxPyEndAllowThreads(__tstate
);
26798 if (PyErr_Occurred()) SWIG_fail
;
26800 resultobj
= SWIG_Py_Void();
26807 SWIGINTERN PyObject
*_wrap_PrintDialogData_EnablePrintToFile(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26808 PyObject
*resultobj
= 0;
26809 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
26815 PyObject
* obj0
= 0 ;
26816 PyObject
* obj1
= 0 ;
26817 char * kwnames
[] = {
26818 (char *) "self",(char *) "flag", NULL
26821 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_EnablePrintToFile",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26822 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
26823 if (!SWIG_IsOK(res1
)) {
26824 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_EnablePrintToFile" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
26826 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
26827 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
26828 if (!SWIG_IsOK(ecode2
)) {
26829 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintDialogData_EnablePrintToFile" "', expected argument " "2"" of type '" "bool""'");
26831 arg2
= static_cast< bool >(val2
);
26833 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26834 (arg1
)->EnablePrintToFile(arg2
);
26835 wxPyEndAllowThreads(__tstate
);
26836 if (PyErr_Occurred()) SWIG_fail
;
26838 resultobj
= SWIG_Py_Void();
26845 SWIGINTERN PyObject
*_wrap_PrintDialogData_EnableSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26846 PyObject
*resultobj
= 0;
26847 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
26853 PyObject
* obj0
= 0 ;
26854 PyObject
* obj1
= 0 ;
26855 char * kwnames
[] = {
26856 (char *) "self",(char *) "flag", NULL
26859 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_EnableSelection",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26860 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
26861 if (!SWIG_IsOK(res1
)) {
26862 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_EnableSelection" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
26864 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
26865 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
26866 if (!SWIG_IsOK(ecode2
)) {
26867 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintDialogData_EnableSelection" "', expected argument " "2"" of type '" "bool""'");
26869 arg2
= static_cast< bool >(val2
);
26871 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26872 (arg1
)->EnableSelection(arg2
);
26873 wxPyEndAllowThreads(__tstate
);
26874 if (PyErr_Occurred()) SWIG_fail
;
26876 resultobj
= SWIG_Py_Void();
26883 SWIGINTERN PyObject
*_wrap_PrintDialogData_EnablePageNumbers(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26884 PyObject
*resultobj
= 0;
26885 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
26891 PyObject
* obj0
= 0 ;
26892 PyObject
* obj1
= 0 ;
26893 char * kwnames
[] = {
26894 (char *) "self",(char *) "flag", NULL
26897 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_EnablePageNumbers",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26898 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
26899 if (!SWIG_IsOK(res1
)) {
26900 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_EnablePageNumbers" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
26902 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
26903 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
26904 if (!SWIG_IsOK(ecode2
)) {
26905 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintDialogData_EnablePageNumbers" "', expected argument " "2"" of type '" "bool""'");
26907 arg2
= static_cast< bool >(val2
);
26909 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26910 (arg1
)->EnablePageNumbers(arg2
);
26911 wxPyEndAllowThreads(__tstate
);
26912 if (PyErr_Occurred()) SWIG_fail
;
26914 resultobj
= SWIG_Py_Void();
26921 SWIGINTERN PyObject
*_wrap_PrintDialogData_EnableHelp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26922 PyObject
*resultobj
= 0;
26923 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
26929 PyObject
* obj0
= 0 ;
26930 PyObject
* obj1
= 0 ;
26931 char * kwnames
[] = {
26932 (char *) "self",(char *) "flag", NULL
26935 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_EnableHelp",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26936 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
26937 if (!SWIG_IsOK(res1
)) {
26938 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_EnableHelp" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
26940 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
26941 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
26942 if (!SWIG_IsOK(ecode2
)) {
26943 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintDialogData_EnableHelp" "', expected argument " "2"" of type '" "bool""'");
26945 arg2
= static_cast< bool >(val2
);
26947 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26948 (arg1
)->EnableHelp(arg2
);
26949 wxPyEndAllowThreads(__tstate
);
26950 if (PyErr_Occurred()) SWIG_fail
;
26952 resultobj
= SWIG_Py_Void();
26959 SWIGINTERN PyObject
*_wrap_PrintDialogData_GetEnablePrintToFile(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26960 PyObject
*resultobj
= 0;
26961 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
26965 PyObject
*swig_obj
[1] ;
26967 if (!args
) SWIG_fail
;
26968 swig_obj
[0] = args
;
26969 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
26970 if (!SWIG_IsOK(res1
)) {
26971 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_GetEnablePrintToFile" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
26973 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
26975 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26976 result
= (bool)((wxPrintDialogData
const *)arg1
)->GetEnablePrintToFile();
26977 wxPyEndAllowThreads(__tstate
);
26978 if (PyErr_Occurred()) SWIG_fail
;
26981 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26989 SWIGINTERN PyObject
*_wrap_PrintDialogData_GetEnableSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26990 PyObject
*resultobj
= 0;
26991 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
26995 PyObject
*swig_obj
[1] ;
26997 if (!args
) SWIG_fail
;
26998 swig_obj
[0] = args
;
26999 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
27000 if (!SWIG_IsOK(res1
)) {
27001 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_GetEnableSelection" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
27003 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
27005 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27006 result
= (bool)((wxPrintDialogData
const *)arg1
)->GetEnableSelection();
27007 wxPyEndAllowThreads(__tstate
);
27008 if (PyErr_Occurred()) SWIG_fail
;
27011 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27019 SWIGINTERN PyObject
*_wrap_PrintDialogData_GetEnablePageNumbers(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27020 PyObject
*resultobj
= 0;
27021 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
27025 PyObject
*swig_obj
[1] ;
27027 if (!args
) SWIG_fail
;
27028 swig_obj
[0] = args
;
27029 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
27030 if (!SWIG_IsOK(res1
)) {
27031 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_GetEnablePageNumbers" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
27033 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
27035 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27036 result
= (bool)((wxPrintDialogData
const *)arg1
)->GetEnablePageNumbers();
27037 wxPyEndAllowThreads(__tstate
);
27038 if (PyErr_Occurred()) SWIG_fail
;
27041 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27049 SWIGINTERN PyObject
*_wrap_PrintDialogData_GetEnableHelp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27050 PyObject
*resultobj
= 0;
27051 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
27055 PyObject
*swig_obj
[1] ;
27057 if (!args
) SWIG_fail
;
27058 swig_obj
[0] = args
;
27059 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
27060 if (!SWIG_IsOK(res1
)) {
27061 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_GetEnableHelp" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
27063 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
27065 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27066 result
= (bool)((wxPrintDialogData
const *)arg1
)->GetEnableHelp();
27067 wxPyEndAllowThreads(__tstate
);
27068 if (PyErr_Occurred()) SWIG_fail
;
27071 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27079 SWIGINTERN PyObject
*_wrap_PrintDialogData_IsOk(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27080 PyObject
*resultobj
= 0;
27081 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
27085 PyObject
*swig_obj
[1] ;
27087 if (!args
) SWIG_fail
;
27088 swig_obj
[0] = args
;
27089 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
27090 if (!SWIG_IsOK(res1
)) {
27091 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_IsOk" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
27093 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
27095 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27096 result
= (bool)((wxPrintDialogData
const *)arg1
)->IsOk();
27097 wxPyEndAllowThreads(__tstate
);
27098 if (PyErr_Occurred()) SWIG_fail
;
27101 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27109 SWIGINTERN PyObject
*_wrap_PrintDialogData_GetPrintData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27110 PyObject
*resultobj
= 0;
27111 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
27112 wxPrintData
*result
= 0 ;
27115 PyObject
*swig_obj
[1] ;
27117 if (!args
) SWIG_fail
;
27118 swig_obj
[0] = args
;
27119 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
27120 if (!SWIG_IsOK(res1
)) {
27121 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_GetPrintData" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
27123 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
27125 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27127 wxPrintData
&_result_ref
= (arg1
)->GetPrintData();
27128 result
= (wxPrintData
*) &_result_ref
;
27130 wxPyEndAllowThreads(__tstate
);
27131 if (PyErr_Occurred()) SWIG_fail
;
27133 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPrintData
, 0 | 0 );
27140 SWIGINTERN PyObject
*_wrap_PrintDialogData_SetPrintData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27141 PyObject
*resultobj
= 0;
27142 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
27143 wxPrintData
*arg2
= 0 ;
27148 PyObject
* obj0
= 0 ;
27149 PyObject
* obj1
= 0 ;
27150 char * kwnames
[] = {
27151 (char *) "self",(char *) "printData", NULL
27154 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetPrintData",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
27155 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
27156 if (!SWIG_IsOK(res1
)) {
27157 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_SetPrintData" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
27159 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
27160 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxPrintData
, 0 | 0);
27161 if (!SWIG_IsOK(res2
)) {
27162 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PrintDialogData_SetPrintData" "', expected argument " "2"" of type '" "wxPrintData const &""'");
27165 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "PrintDialogData_SetPrintData" "', expected argument " "2"" of type '" "wxPrintData const &""'");
27167 arg2
= reinterpret_cast< wxPrintData
* >(argp2
);
27169 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27170 (arg1
)->SetPrintData((wxPrintData
const &)*arg2
);
27171 wxPyEndAllowThreads(__tstate
);
27172 if (PyErr_Occurred()) SWIG_fail
;
27174 resultobj
= SWIG_Py_Void();
27181 SWIGINTERN PyObject
*PrintDialogData_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27183 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
27184 SWIG_TypeNewClientData(SWIGTYPE_p_wxPrintDialogData
, SWIG_NewClientData(obj
));
27185 return SWIG_Py_Void();
27188 SWIGINTERN PyObject
*PrintDialogData_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27189 return SWIG_Python_InitShadowInstance(args
);
27192 SWIGINTERN PyObject
*_wrap_new_PrintDialog(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27193 PyObject
*resultobj
= 0;
27194 wxWindow
*arg1
= (wxWindow
*) 0 ;
27195 wxPrintDialogData
*arg2
= (wxPrintDialogData
*) NULL
;
27196 wxPrintDialog
*result
= 0 ;
27201 PyObject
* obj0
= 0 ;
27202 PyObject
* obj1
= 0 ;
27203 char * kwnames
[] = {
27204 (char *) "parent",(char *) "data", NULL
27207 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_PrintDialog",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
27208 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
27209 if (!SWIG_IsOK(res1
)) {
27210 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PrintDialog" "', expected argument " "1"" of type '" "wxWindow *""'");
27212 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
27214 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
27215 if (!SWIG_IsOK(res2
)) {
27216 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_PrintDialog" "', expected argument " "2"" of type '" "wxPrintDialogData *""'");
27218 arg2
= reinterpret_cast< wxPrintDialogData
* >(argp2
);
27221 if (!wxPyCheckForApp()) SWIG_fail
;
27222 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27223 result
= (wxPrintDialog
*)new wxPrintDialog(arg1
,arg2
);
27224 wxPyEndAllowThreads(__tstate
);
27225 if (PyErr_Occurred()) SWIG_fail
;
27227 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPrintDialog
, SWIG_POINTER_NEW
| 0 );
27234 SWIGINTERN PyObject
*_wrap_delete_PrintDialog(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27235 PyObject
*resultobj
= 0;
27236 wxPrintDialog
*arg1
= (wxPrintDialog
*) 0 ;
27239 PyObject
*swig_obj
[1] ;
27241 if (!args
) SWIG_fail
;
27242 swig_obj
[0] = args
;
27243 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintDialog
, SWIG_POINTER_DISOWN
| 0 );
27244 if (!SWIG_IsOK(res1
)) {
27245 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_PrintDialog" "', expected argument " "1"" of type '" "wxPrintDialog *""'");
27247 arg1
= reinterpret_cast< wxPrintDialog
* >(argp1
);
27249 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27252 wxPyEndAllowThreads(__tstate
);
27253 if (PyErr_Occurred()) SWIG_fail
;
27255 resultobj
= SWIG_Py_Void();
27262 SWIGINTERN PyObject
*_wrap_PrintDialog_ShowModal(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27263 PyObject
*resultobj
= 0;
27264 wxPrintDialog
*arg1
= (wxPrintDialog
*) 0 ;
27268 PyObject
*swig_obj
[1] ;
27270 if (!args
) SWIG_fail
;
27271 swig_obj
[0] = args
;
27272 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintDialog
, 0 | 0 );
27273 if (!SWIG_IsOK(res1
)) {
27274 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialog_ShowModal" "', expected argument " "1"" of type '" "wxPrintDialog *""'");
27276 arg1
= reinterpret_cast< wxPrintDialog
* >(argp1
);
27278 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27279 result
= (int)(arg1
)->ShowModal();
27280 wxPyEndAllowThreads(__tstate
);
27281 if (PyErr_Occurred()) SWIG_fail
;
27283 resultobj
= SWIG_From_int(static_cast< int >(result
));
27290 SWIGINTERN PyObject
*_wrap_PrintDialog_GetPrintDialogData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27291 PyObject
*resultobj
= 0;
27292 wxPrintDialog
*arg1
= (wxPrintDialog
*) 0 ;
27293 wxPrintDialogData
*result
= 0 ;
27296 PyObject
*swig_obj
[1] ;
27298 if (!args
) SWIG_fail
;
27299 swig_obj
[0] = args
;
27300 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintDialog
, 0 | 0 );
27301 if (!SWIG_IsOK(res1
)) {
27302 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialog_GetPrintDialogData" "', expected argument " "1"" of type '" "wxPrintDialog *""'");
27304 arg1
= reinterpret_cast< wxPrintDialog
* >(argp1
);
27306 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27308 wxPrintDialogData
&_result_ref
= (arg1
)->GetPrintDialogData();
27309 result
= (wxPrintDialogData
*) &_result_ref
;
27311 wxPyEndAllowThreads(__tstate
);
27312 if (PyErr_Occurred()) SWIG_fail
;
27314 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
27321 SWIGINTERN PyObject
*_wrap_PrintDialog_GetPrintData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27322 PyObject
*resultobj
= 0;
27323 wxPrintDialog
*arg1
= (wxPrintDialog
*) 0 ;
27324 wxPrintData
*result
= 0 ;
27327 PyObject
*swig_obj
[1] ;
27329 if (!args
) SWIG_fail
;
27330 swig_obj
[0] = args
;
27331 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintDialog
, 0 | 0 );
27332 if (!SWIG_IsOK(res1
)) {
27333 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialog_GetPrintData" "', expected argument " "1"" of type '" "wxPrintDialog *""'");
27335 arg1
= reinterpret_cast< wxPrintDialog
* >(argp1
);
27337 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27339 wxPrintData
&_result_ref
= (arg1
)->GetPrintData();
27340 result
= (wxPrintData
*) &_result_ref
;
27342 wxPyEndAllowThreads(__tstate
);
27343 if (PyErr_Occurred()) SWIG_fail
;
27345 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPrintData
, 0 | 0 );
27352 SWIGINTERN PyObject
*_wrap_PrintDialog_GetPrintDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27353 PyObject
*resultobj
= 0;
27354 wxPrintDialog
*arg1
= (wxPrintDialog
*) 0 ;
27358 PyObject
*swig_obj
[1] ;
27360 if (!args
) SWIG_fail
;
27361 swig_obj
[0] = args
;
27362 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintDialog
, 0 | 0 );
27363 if (!SWIG_IsOK(res1
)) {
27364 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialog_GetPrintDC" "', expected argument " "1"" of type '" "wxPrintDialog *""'");
27366 arg1
= reinterpret_cast< wxPrintDialog
* >(argp1
);
27368 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27369 result
= (wxDC
*)(arg1
)->GetPrintDC();
27370 wxPyEndAllowThreads(__tstate
);
27371 if (PyErr_Occurred()) SWIG_fail
;
27374 resultobj
= wxPyMake_wxObject(result
, (bool)SWIG_POINTER_OWN
);
27382 SWIGINTERN PyObject
*PrintDialog_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27384 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
27385 SWIG_TypeNewClientData(SWIGTYPE_p_wxPrintDialog
, SWIG_NewClientData(obj
));
27386 return SWIG_Py_Void();
27389 SWIGINTERN PyObject
*PrintDialog_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27390 return SWIG_Python_InitShadowInstance(args
);
27393 SWIGINTERN PyObject
*_wrap_new_Printer(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27394 PyObject
*resultobj
= 0;
27395 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) NULL
;
27396 wxPrinter
*result
= 0 ;
27399 PyObject
* obj0
= 0 ;
27400 char * kwnames
[] = {
27401 (char *) "data", NULL
27404 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_Printer",kwnames
,&obj0
)) SWIG_fail
;
27406 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
27407 if (!SWIG_IsOK(res1
)) {
27408 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_Printer" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
27410 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
27413 if (!wxPyCheckForApp()) SWIG_fail
;
27414 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27415 result
= (wxPrinter
*)new wxPrinter(arg1
);
27416 wxPyEndAllowThreads(__tstate
);
27417 if (PyErr_Occurred()) SWIG_fail
;
27419 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPrinter
, SWIG_POINTER_NEW
| 0 );
27426 SWIGINTERN PyObject
*_wrap_delete_Printer(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27427 PyObject
*resultobj
= 0;
27428 wxPrinter
*arg1
= (wxPrinter
*) 0 ;
27431 PyObject
*swig_obj
[1] ;
27433 if (!args
) SWIG_fail
;
27434 swig_obj
[0] = args
;
27435 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrinter
, SWIG_POINTER_DISOWN
| 0 );
27436 if (!SWIG_IsOK(res1
)) {
27437 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_Printer" "', expected argument " "1"" of type '" "wxPrinter *""'");
27439 arg1
= reinterpret_cast< wxPrinter
* >(argp1
);
27441 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27444 wxPyEndAllowThreads(__tstate
);
27445 if (PyErr_Occurred()) SWIG_fail
;
27447 resultobj
= SWIG_Py_Void();
27454 SWIGINTERN PyObject
*_wrap_Printer_CreateAbortWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27455 PyObject
*resultobj
= 0;
27456 wxPrinter
*arg1
= (wxPrinter
*) 0 ;
27457 wxWindow
*arg2
= (wxWindow
*) 0 ;
27458 wxPyPrintout
*arg3
= (wxPyPrintout
*) 0 ;
27459 wxWindow
*result
= 0 ;
27466 PyObject
* obj0
= 0 ;
27467 PyObject
* obj1
= 0 ;
27468 PyObject
* obj2
= 0 ;
27469 char * kwnames
[] = {
27470 (char *) "self",(char *) "parent",(char *) "printout", NULL
27473 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Printer_CreateAbortWindow",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
27474 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrinter
, 0 | 0 );
27475 if (!SWIG_IsOK(res1
)) {
27476 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printer_CreateAbortWindow" "', expected argument " "1"" of type '" "wxPrinter *""'");
27478 arg1
= reinterpret_cast< wxPrinter
* >(argp1
);
27479 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
27480 if (!SWIG_IsOK(res2
)) {
27481 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Printer_CreateAbortWindow" "', expected argument " "2"" of type '" "wxWindow *""'");
27483 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
27484 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
27485 if (!SWIG_IsOK(res3
)) {
27486 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "Printer_CreateAbortWindow" "', expected argument " "3"" of type '" "wxPyPrintout *""'");
27488 arg3
= reinterpret_cast< wxPyPrintout
* >(argp3
);
27490 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27491 result
= (wxWindow
*)(arg1
)->CreateAbortWindow(arg2
,arg3
);
27492 wxPyEndAllowThreads(__tstate
);
27493 if (PyErr_Occurred()) SWIG_fail
;
27496 resultobj
= wxPyMake_wxObject(result
, 0);
27504 SWIGINTERN PyObject
*_wrap_Printer_ReportError(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27505 PyObject
*resultobj
= 0;
27506 wxPrinter
*arg1
= (wxPrinter
*) 0 ;
27507 wxWindow
*arg2
= (wxWindow
*) 0 ;
27508 wxPyPrintout
*arg3
= (wxPyPrintout
*) 0 ;
27509 wxString
*arg4
= 0 ;
27516 bool temp4
= false ;
27517 PyObject
* obj0
= 0 ;
27518 PyObject
* obj1
= 0 ;
27519 PyObject
* obj2
= 0 ;
27520 PyObject
* obj3
= 0 ;
27521 char * kwnames
[] = {
27522 (char *) "self",(char *) "parent",(char *) "printout",(char *) "message", NULL
27525 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:Printer_ReportError",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
27526 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrinter
, 0 | 0 );
27527 if (!SWIG_IsOK(res1
)) {
27528 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printer_ReportError" "', expected argument " "1"" of type '" "wxPrinter *""'");
27530 arg1
= reinterpret_cast< wxPrinter
* >(argp1
);
27531 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
27532 if (!SWIG_IsOK(res2
)) {
27533 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Printer_ReportError" "', expected argument " "2"" of type '" "wxWindow *""'");
27535 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
27536 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
27537 if (!SWIG_IsOK(res3
)) {
27538 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "Printer_ReportError" "', expected argument " "3"" of type '" "wxPyPrintout *""'");
27540 arg3
= reinterpret_cast< wxPyPrintout
* >(argp3
);
27542 arg4
= wxString_in_helper(obj3
);
27543 if (arg4
== NULL
) SWIG_fail
;
27547 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27548 (arg1
)->ReportError(arg2
,arg3
,(wxString
const &)*arg4
);
27549 wxPyEndAllowThreads(__tstate
);
27550 if (PyErr_Occurred()) SWIG_fail
;
27552 resultobj
= SWIG_Py_Void();
27567 SWIGINTERN PyObject
*_wrap_Printer_Setup(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27568 PyObject
*resultobj
= 0;
27569 wxPrinter
*arg1
= (wxPrinter
*) 0 ;
27570 wxWindow
*arg2
= (wxWindow
*) 0 ;
27576 PyObject
* obj0
= 0 ;
27577 PyObject
* obj1
= 0 ;
27578 char * kwnames
[] = {
27579 (char *) "self",(char *) "parent", NULL
27582 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Printer_Setup",kwnames
,&obj0
,&obj1
)) 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_Setup" "', 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_Setup" "', expected argument " "2"" of type '" "wxWindow *""'");
27592 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
27594 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27595 result
= (bool)(arg1
)->Setup(arg2
);
27596 wxPyEndAllowThreads(__tstate
);
27597 if (PyErr_Occurred()) SWIG_fail
;
27600 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27608 SWIGINTERN PyObject
*_wrap_Printer_Print(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27609 PyObject
*resultobj
= 0;
27610 wxPrinter
*arg1
= (wxPrinter
*) 0 ;
27611 wxWindow
*arg2
= (wxWindow
*) 0 ;
27612 wxPyPrintout
*arg3
= (wxPyPrintout
*) 0 ;
27613 bool arg4
= (bool) true ;
27623 PyObject
* obj0
= 0 ;
27624 PyObject
* obj1
= 0 ;
27625 PyObject
* obj2
= 0 ;
27626 PyObject
* obj3
= 0 ;
27627 char * kwnames
[] = {
27628 (char *) "self",(char *) "parent",(char *) "printout",(char *) "prompt", NULL
27631 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Printer_Print",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
27632 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrinter
, 0 | 0 );
27633 if (!SWIG_IsOK(res1
)) {
27634 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printer_Print" "', expected argument " "1"" of type '" "wxPrinter *""'");
27636 arg1
= reinterpret_cast< wxPrinter
* >(argp1
);
27637 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
27638 if (!SWIG_IsOK(res2
)) {
27639 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Printer_Print" "', expected argument " "2"" of type '" "wxWindow *""'");
27641 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
27642 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
27643 if (!SWIG_IsOK(res3
)) {
27644 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "Printer_Print" "', expected argument " "3"" of type '" "wxPyPrintout *""'");
27646 arg3
= reinterpret_cast< wxPyPrintout
* >(argp3
);
27648 ecode4
= SWIG_AsVal_bool(obj3
, &val4
);
27649 if (!SWIG_IsOK(ecode4
)) {
27650 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Printer_Print" "', expected argument " "4"" of type '" "bool""'");
27652 arg4
= static_cast< bool >(val4
);
27655 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27656 result
= (bool)(arg1
)->Print(arg2
,arg3
,arg4
);
27657 wxPyEndAllowThreads(__tstate
);
27658 if (PyErr_Occurred()) SWIG_fail
;
27661 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27669 SWIGINTERN PyObject
*_wrap_Printer_PrintDialog(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27670 PyObject
*resultobj
= 0;
27671 wxPrinter
*arg1
= (wxPrinter
*) 0 ;
27672 wxWindow
*arg2
= (wxWindow
*) 0 ;
27678 PyObject
* obj0
= 0 ;
27679 PyObject
* obj1
= 0 ;
27680 char * kwnames
[] = {
27681 (char *) "self",(char *) "parent", NULL
27684 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Printer_PrintDialog",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
27685 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrinter
, 0 | 0 );
27686 if (!SWIG_IsOK(res1
)) {
27687 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printer_PrintDialog" "', expected argument " "1"" of type '" "wxPrinter *""'");
27689 arg1
= reinterpret_cast< wxPrinter
* >(argp1
);
27690 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
27691 if (!SWIG_IsOK(res2
)) {
27692 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Printer_PrintDialog" "', expected argument " "2"" of type '" "wxWindow *""'");
27694 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
27696 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27697 result
= (wxDC
*)(arg1
)->PrintDialog(arg2
);
27698 wxPyEndAllowThreads(__tstate
);
27699 if (PyErr_Occurred()) SWIG_fail
;
27702 resultobj
= wxPyMake_wxObject(result
, (bool)0);
27710 SWIGINTERN PyObject
*_wrap_Printer_GetPrintDialogData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27711 PyObject
*resultobj
= 0;
27712 wxPrinter
*arg1
= (wxPrinter
*) 0 ;
27713 wxPrintDialogData
*result
= 0 ;
27716 PyObject
*swig_obj
[1] ;
27718 if (!args
) SWIG_fail
;
27719 swig_obj
[0] = args
;
27720 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrinter
, 0 | 0 );
27721 if (!SWIG_IsOK(res1
)) {
27722 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printer_GetPrintDialogData" "', expected argument " "1"" of type '" "wxPrinter const *""'");
27724 arg1
= reinterpret_cast< wxPrinter
* >(argp1
);
27726 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27728 wxPrintDialogData
&_result_ref
= ((wxPrinter
const *)arg1
)->GetPrintDialogData();
27729 result
= (wxPrintDialogData
*) &_result_ref
;
27731 wxPyEndAllowThreads(__tstate
);
27732 if (PyErr_Occurred()) SWIG_fail
;
27734 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
27741 SWIGINTERN PyObject
*_wrap_Printer_GetAbort(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27742 PyObject
*resultobj
= 0;
27743 wxPrinter
*arg1
= (wxPrinter
*) 0 ;
27747 PyObject
*swig_obj
[1] ;
27749 if (!args
) SWIG_fail
;
27750 swig_obj
[0] = args
;
27751 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrinter
, 0 | 0 );
27752 if (!SWIG_IsOK(res1
)) {
27753 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printer_GetAbort" "', expected argument " "1"" of type '" "wxPrinter *""'");
27755 arg1
= reinterpret_cast< wxPrinter
* >(argp1
);
27757 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27758 result
= (bool)(arg1
)->GetAbort();
27759 wxPyEndAllowThreads(__tstate
);
27760 if (PyErr_Occurred()) SWIG_fail
;
27763 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27771 SWIGINTERN PyObject
*_wrap_Printer_GetLastError(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27772 PyObject
*resultobj
= 0;
27773 wxPrinterError result
;
27775 if (!SWIG_Python_UnpackTuple(args
,"Printer_GetLastError",0,0,0)) SWIG_fail
;
27777 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27778 result
= (wxPrinterError
)wxPrinter::GetLastError();
27779 wxPyEndAllowThreads(__tstate
);
27780 if (PyErr_Occurred()) SWIG_fail
;
27782 resultobj
= SWIG_From_int(static_cast< int >(result
));
27789 SWIGINTERN PyObject
*Printer_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27791 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
27792 SWIG_TypeNewClientData(SWIGTYPE_p_wxPrinter
, SWIG_NewClientData(obj
));
27793 return SWIG_Py_Void();
27796 SWIGINTERN PyObject
*Printer_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27797 return SWIG_Python_InitShadowInstance(args
);
27800 SWIGINTERN PyObject
*_wrap_new_Printout(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27801 PyObject
*resultobj
= 0;
27802 wxString
const &arg1_defvalue
= wxPyPrintoutTitleStr
;
27803 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
27804 wxPyPrintout
*result
= 0 ;
27805 bool temp1
= false ;
27806 PyObject
* obj0
= 0 ;
27807 char * kwnames
[] = {
27808 (char *) "title", NULL
27811 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_Printout",kwnames
,&obj0
)) SWIG_fail
;
27814 arg1
= wxString_in_helper(obj0
);
27815 if (arg1
== NULL
) SWIG_fail
;
27820 if (!wxPyCheckForApp()) SWIG_fail
;
27821 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27822 result
= (wxPyPrintout
*)new wxPyPrintout((wxString
const &)*arg1
);
27823 wxPyEndAllowThreads(__tstate
);
27824 if (PyErr_Occurred()) SWIG_fail
;
27826 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyPrintout
, SWIG_POINTER_NEW
| 0 );
27841 SWIGINTERN PyObject
*_wrap_delete_Printout(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27842 PyObject
*resultobj
= 0;
27843 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
27846 PyObject
*swig_obj
[1] ;
27848 if (!args
) SWIG_fail
;
27849 swig_obj
[0] = args
;
27850 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPrintout
, SWIG_POINTER_DISOWN
| 0 );
27851 if (!SWIG_IsOK(res1
)) {
27852 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_Printout" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
27854 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
27856 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27859 wxPyEndAllowThreads(__tstate
);
27860 if (PyErr_Occurred()) SWIG_fail
;
27862 resultobj
= SWIG_Py_Void();
27869 SWIGINTERN PyObject
*_wrap_Printout__setCallbackInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27870 PyObject
*resultobj
= 0;
27871 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
27872 PyObject
*arg2
= (PyObject
*) 0 ;
27873 PyObject
*arg3
= (PyObject
*) 0 ;
27876 PyObject
* obj0
= 0 ;
27877 PyObject
* obj1
= 0 ;
27878 PyObject
* obj2
= 0 ;
27879 char * kwnames
[] = {
27880 (char *) "self",(char *) "self",(char *) "_class", NULL
27883 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Printout__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
27884 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
27885 if (!SWIG_IsOK(res1
)) {
27886 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
27888 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
27892 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27893 (arg1
)->_setCallbackInfo(arg2
,arg3
);
27894 wxPyEndAllowThreads(__tstate
);
27895 if (PyErr_Occurred()) SWIG_fail
;
27897 resultobj
= SWIG_Py_Void();
27904 SWIGINTERN PyObject
*_wrap_Printout_GetTitle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27905 PyObject
*resultobj
= 0;
27906 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
27910 PyObject
*swig_obj
[1] ;
27912 if (!args
) SWIG_fail
;
27913 swig_obj
[0] = args
;
27914 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
27915 if (!SWIG_IsOK(res1
)) {
27916 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout_GetTitle" "', expected argument " "1"" of type '" "wxPyPrintout const *""'");
27918 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
27920 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27921 result
= ((wxPyPrintout
const *)arg1
)->GetTitle();
27922 wxPyEndAllowThreads(__tstate
);
27923 if (PyErr_Occurred()) SWIG_fail
;
27927 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
27929 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
27938 SWIGINTERN PyObject
*_wrap_Printout_GetDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27939 PyObject
*resultobj
= 0;
27940 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
27944 PyObject
*swig_obj
[1] ;
27946 if (!args
) SWIG_fail
;
27947 swig_obj
[0] = args
;
27948 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
27949 if (!SWIG_IsOK(res1
)) {
27950 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout_GetDC" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
27952 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
27954 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27955 result
= (wxDC
*)(arg1
)->GetDC();
27956 wxPyEndAllowThreads(__tstate
);
27957 if (PyErr_Occurred()) SWIG_fail
;
27960 resultobj
= wxPyMake_wxObject(result
, (bool)0);
27968 SWIGINTERN PyObject
*_wrap_Printout_SetDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27969 PyObject
*resultobj
= 0;
27970 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
27971 wxDC
*arg2
= (wxDC
*) 0 ;
27976 PyObject
* obj0
= 0 ;
27977 PyObject
* obj1
= 0 ;
27978 char * kwnames
[] = {
27979 (char *) "self",(char *) "dc", NULL
27982 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Printout_SetDC",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
27983 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
27984 if (!SWIG_IsOK(res1
)) {
27985 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout_SetDC" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
27987 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
27988 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxDC
, 0 | 0 );
27989 if (!SWIG_IsOK(res2
)) {
27990 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Printout_SetDC" "', expected argument " "2"" of type '" "wxDC *""'");
27992 arg2
= reinterpret_cast< wxDC
* >(argp2
);
27994 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27995 (arg1
)->SetDC(arg2
);
27996 wxPyEndAllowThreads(__tstate
);
27997 if (PyErr_Occurred()) SWIG_fail
;
27999 resultobj
= SWIG_Py_Void();
28006 SWIGINTERN PyObject
*_wrap_Printout_FitThisSizeToPaper(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28007 PyObject
*resultobj
= 0;
28008 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
28013 PyObject
* obj0
= 0 ;
28014 PyObject
* obj1
= 0 ;
28015 char * kwnames
[] = {
28016 (char *) "self",(char *) "imageSize", NULL
28019 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Printout_FitThisSizeToPaper",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
28020 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
28021 if (!SWIG_IsOK(res1
)) {
28022 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout_FitThisSizeToPaper" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
28024 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
28027 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
28030 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28031 (arg1
)->FitThisSizeToPaper((wxSize
const &)*arg2
);
28032 wxPyEndAllowThreads(__tstate
);
28033 if (PyErr_Occurred()) SWIG_fail
;
28035 resultobj
= SWIG_Py_Void();
28042 SWIGINTERN PyObject
*_wrap_Printout_FitThisSizeToPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28043 PyObject
*resultobj
= 0;
28044 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
28049 PyObject
* obj0
= 0 ;
28050 PyObject
* obj1
= 0 ;
28051 char * kwnames
[] = {
28052 (char *) "self",(char *) "imageSize", NULL
28055 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Printout_FitThisSizeToPage",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
28056 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
28057 if (!SWIG_IsOK(res1
)) {
28058 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout_FitThisSizeToPage" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
28060 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
28063 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
28066 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28067 (arg1
)->FitThisSizeToPage((wxSize
const &)*arg2
);
28068 wxPyEndAllowThreads(__tstate
);
28069 if (PyErr_Occurred()) SWIG_fail
;
28071 resultobj
= SWIG_Py_Void();
28078 SWIGINTERN PyObject
*_wrap_Printout_FitThisSizeToPageMargins(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28079 PyObject
*resultobj
= 0;
28080 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
28082 wxPageSetupDialogData
*arg3
= 0 ;
28088 PyObject
* obj0
= 0 ;
28089 PyObject
* obj1
= 0 ;
28090 PyObject
* obj2
= 0 ;
28091 char * kwnames
[] = {
28092 (char *) "self",(char *) "imageSize",(char *) "pageSetupData", NULL
28095 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Printout_FitThisSizeToPageMargins",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
28096 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
28097 if (!SWIG_IsOK(res1
)) {
28098 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout_FitThisSizeToPageMargins" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
28100 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
28103 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
28105 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0);
28106 if (!SWIG_IsOK(res3
)) {
28107 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "Printout_FitThisSizeToPageMargins" "', expected argument " "3"" of type '" "wxPageSetupDialogData const &""'");
28110 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Printout_FitThisSizeToPageMargins" "', expected argument " "3"" of type '" "wxPageSetupDialogData const &""'");
28112 arg3
= reinterpret_cast< wxPageSetupDialogData
* >(argp3
);
28114 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28115 (arg1
)->FitThisSizeToPageMargins((wxSize
const &)*arg2
,(wxPageSetupDialogData
const &)*arg3
);
28116 wxPyEndAllowThreads(__tstate
);
28117 if (PyErr_Occurred()) SWIG_fail
;
28119 resultobj
= SWIG_Py_Void();
28126 SWIGINTERN PyObject
*_wrap_Printout_MapScreenSizeToPaper(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28127 PyObject
*resultobj
= 0;
28128 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
28131 PyObject
*swig_obj
[1] ;
28133 if (!args
) SWIG_fail
;
28134 swig_obj
[0] = args
;
28135 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
28136 if (!SWIG_IsOK(res1
)) {
28137 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout_MapScreenSizeToPaper" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
28139 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
28141 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28142 (arg1
)->MapScreenSizeToPaper();
28143 wxPyEndAllowThreads(__tstate
);
28144 if (PyErr_Occurred()) SWIG_fail
;
28146 resultobj
= SWIG_Py_Void();
28153 SWIGINTERN PyObject
*_wrap_Printout_MapScreenSizeToPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28154 PyObject
*resultobj
= 0;
28155 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
28158 PyObject
*swig_obj
[1] ;
28160 if (!args
) SWIG_fail
;
28161 swig_obj
[0] = args
;
28162 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
28163 if (!SWIG_IsOK(res1
)) {
28164 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout_MapScreenSizeToPage" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
28166 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
28168 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28169 (arg1
)->MapScreenSizeToPage();
28170 wxPyEndAllowThreads(__tstate
);
28171 if (PyErr_Occurred()) SWIG_fail
;
28173 resultobj
= SWIG_Py_Void();
28180 SWIGINTERN PyObject
*_wrap_Printout_MapScreenSizeToPageMargins(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28181 PyObject
*resultobj
= 0;
28182 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
28183 wxPageSetupDialogData
*arg2
= 0 ;
28188 PyObject
* obj0
= 0 ;
28189 PyObject
* obj1
= 0 ;
28190 char * kwnames
[] = {
28191 (char *) "self",(char *) "pageSetupData", NULL
28194 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Printout_MapScreenSizeToPageMargins",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
28195 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
28196 if (!SWIG_IsOK(res1
)) {
28197 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout_MapScreenSizeToPageMargins" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
28199 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
28200 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0);
28201 if (!SWIG_IsOK(res2
)) {
28202 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Printout_MapScreenSizeToPageMargins" "', expected argument " "2"" of type '" "wxPageSetupDialogData const &""'");
28205 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Printout_MapScreenSizeToPageMargins" "', expected argument " "2"" of type '" "wxPageSetupDialogData const &""'");
28207 arg2
= reinterpret_cast< wxPageSetupDialogData
* >(argp2
);
28209 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28210 (arg1
)->MapScreenSizeToPageMargins((wxPageSetupDialogData
const &)*arg2
);
28211 wxPyEndAllowThreads(__tstate
);
28212 if (PyErr_Occurred()) SWIG_fail
;
28214 resultobj
= SWIG_Py_Void();
28221 SWIGINTERN PyObject
*_wrap_Printout_MapScreenSizeToDevice(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28222 PyObject
*resultobj
= 0;
28223 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
28226 PyObject
*swig_obj
[1] ;
28228 if (!args
) SWIG_fail
;
28229 swig_obj
[0] = args
;
28230 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
28231 if (!SWIG_IsOK(res1
)) {
28232 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout_MapScreenSizeToDevice" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
28234 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
28236 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28237 (arg1
)->MapScreenSizeToDevice();
28238 wxPyEndAllowThreads(__tstate
);
28239 if (PyErr_Occurred()) SWIG_fail
;
28241 resultobj
= SWIG_Py_Void();
28248 SWIGINTERN PyObject
*_wrap_Printout_GetLogicalPaperRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28249 PyObject
*resultobj
= 0;
28250 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
28254 PyObject
*swig_obj
[1] ;
28256 if (!args
) SWIG_fail
;
28257 swig_obj
[0] = args
;
28258 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
28259 if (!SWIG_IsOK(res1
)) {
28260 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout_GetLogicalPaperRect" "', expected argument " "1"" of type '" "wxPyPrintout const *""'");
28262 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
28264 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28265 result
= ((wxPyPrintout
const *)arg1
)->GetLogicalPaperRect();
28266 wxPyEndAllowThreads(__tstate
);
28267 if (PyErr_Occurred()) SWIG_fail
;
28269 resultobj
= SWIG_NewPointerObj((new wxRect(static_cast< const wxRect
& >(result
))), SWIGTYPE_p_wxRect
, SWIG_POINTER_OWN
| 0 );
28276 SWIGINTERN PyObject
*_wrap_Printout_GetLogicalPageRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28277 PyObject
*resultobj
= 0;
28278 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
28282 PyObject
*swig_obj
[1] ;
28284 if (!args
) SWIG_fail
;
28285 swig_obj
[0] = args
;
28286 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
28287 if (!SWIG_IsOK(res1
)) {
28288 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout_GetLogicalPageRect" "', expected argument " "1"" of type '" "wxPyPrintout const *""'");
28290 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
28292 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28293 result
= ((wxPyPrintout
const *)arg1
)->GetLogicalPageRect();
28294 wxPyEndAllowThreads(__tstate
);
28295 if (PyErr_Occurred()) SWIG_fail
;
28297 resultobj
= SWIG_NewPointerObj((new wxRect(static_cast< const wxRect
& >(result
))), SWIGTYPE_p_wxRect
, SWIG_POINTER_OWN
| 0 );
28304 SWIGINTERN PyObject
*_wrap_Printout_GetLogicalPageMarginsRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28305 PyObject
*resultobj
= 0;
28306 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
28307 wxPageSetupDialogData
*arg2
= 0 ;
28313 PyObject
* obj0
= 0 ;
28314 PyObject
* obj1
= 0 ;
28315 char * kwnames
[] = {
28316 (char *) "self",(char *) "pageSetupData", NULL
28319 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Printout_GetLogicalPageMarginsRect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
28320 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
28321 if (!SWIG_IsOK(res1
)) {
28322 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout_GetLogicalPageMarginsRect" "', expected argument " "1"" of type '" "wxPyPrintout const *""'");
28324 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
28325 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0);
28326 if (!SWIG_IsOK(res2
)) {
28327 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Printout_GetLogicalPageMarginsRect" "', expected argument " "2"" of type '" "wxPageSetupDialogData const &""'");
28330 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Printout_GetLogicalPageMarginsRect" "', expected argument " "2"" of type '" "wxPageSetupDialogData const &""'");
28332 arg2
= reinterpret_cast< wxPageSetupDialogData
* >(argp2
);
28334 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28335 result
= ((wxPyPrintout
const *)arg1
)->GetLogicalPageMarginsRect((wxPageSetupDialogData
const &)*arg2
);
28336 wxPyEndAllowThreads(__tstate
);
28337 if (PyErr_Occurred()) SWIG_fail
;
28339 resultobj
= SWIG_NewPointerObj((new wxRect(static_cast< const wxRect
& >(result
))), SWIGTYPE_p_wxRect
, SWIG_POINTER_OWN
| 0 );
28346 SWIGINTERN PyObject
*_wrap_Printout_SetLogicalOrigin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28347 PyObject
*resultobj
= 0;
28348 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
28357 PyObject
* obj0
= 0 ;
28358 PyObject
* obj1
= 0 ;
28359 PyObject
* obj2
= 0 ;
28360 char * kwnames
[] = {
28361 (char *) "self",(char *) "x",(char *) "y", NULL
28364 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Printout_SetLogicalOrigin",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
28365 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
28366 if (!SWIG_IsOK(res1
)) {
28367 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout_SetLogicalOrigin" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
28369 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
28370 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
28371 if (!SWIG_IsOK(ecode2
)) {
28372 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Printout_SetLogicalOrigin" "', expected argument " "2"" of type '" "int""'");
28374 arg2
= static_cast< int >(val2
);
28375 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
28376 if (!SWIG_IsOK(ecode3
)) {
28377 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Printout_SetLogicalOrigin" "', expected argument " "3"" of type '" "int""'");
28379 arg3
= static_cast< int >(val3
);
28381 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28382 (arg1
)->SetLogicalOrigin(arg2
,arg3
);
28383 wxPyEndAllowThreads(__tstate
);
28384 if (PyErr_Occurred()) SWIG_fail
;
28386 resultobj
= SWIG_Py_Void();
28393 SWIGINTERN PyObject
*_wrap_Printout_OffsetLogicalOrigin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28394 PyObject
*resultobj
= 0;
28395 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
28404 PyObject
* obj0
= 0 ;
28405 PyObject
* obj1
= 0 ;
28406 PyObject
* obj2
= 0 ;
28407 char * kwnames
[] = {
28408 (char *) "self",(char *) "xoff",(char *) "yoff", NULL
28411 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Printout_OffsetLogicalOrigin",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
28412 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
28413 if (!SWIG_IsOK(res1
)) {
28414 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout_OffsetLogicalOrigin" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
28416 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
28417 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
28418 if (!SWIG_IsOK(ecode2
)) {
28419 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Printout_OffsetLogicalOrigin" "', expected argument " "2"" of type '" "int""'");
28421 arg2
= static_cast< int >(val2
);
28422 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
28423 if (!SWIG_IsOK(ecode3
)) {
28424 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Printout_OffsetLogicalOrigin" "', expected argument " "3"" of type '" "int""'");
28426 arg3
= static_cast< int >(val3
);
28428 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28429 (arg1
)->OffsetLogicalOrigin(arg2
,arg3
);
28430 wxPyEndAllowThreads(__tstate
);
28431 if (PyErr_Occurred()) SWIG_fail
;
28433 resultobj
= SWIG_Py_Void();
28440 SWIGINTERN PyObject
*_wrap_Printout_SetPageSizePixels(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28441 PyObject
*resultobj
= 0;
28442 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
28451 PyObject
* obj0
= 0 ;
28452 PyObject
* obj1
= 0 ;
28453 PyObject
* obj2
= 0 ;
28454 char * kwnames
[] = {
28455 (char *) "self",(char *) "w",(char *) "h", NULL
28458 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Printout_SetPageSizePixels",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
28459 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
28460 if (!SWIG_IsOK(res1
)) {
28461 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout_SetPageSizePixels" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
28463 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
28464 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
28465 if (!SWIG_IsOK(ecode2
)) {
28466 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Printout_SetPageSizePixels" "', expected argument " "2"" of type '" "int""'");
28468 arg2
= static_cast< int >(val2
);
28469 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
28470 if (!SWIG_IsOK(ecode3
)) {
28471 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Printout_SetPageSizePixels" "', expected argument " "3"" of type '" "int""'");
28473 arg3
= static_cast< int >(val3
);
28475 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28476 (arg1
)->SetPageSizePixels(arg2
,arg3
);
28477 wxPyEndAllowThreads(__tstate
);
28478 if (PyErr_Occurred()) SWIG_fail
;
28480 resultobj
= SWIG_Py_Void();
28487 SWIGINTERN PyObject
*_wrap_Printout_GetPageSizePixels(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28488 PyObject
*resultobj
= 0;
28489 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
28490 int *arg2
= (int *) 0 ;
28491 int *arg3
= (int *) 0 ;
28495 int res2
= SWIG_TMPOBJ
;
28497 int res3
= SWIG_TMPOBJ
;
28498 PyObject
*swig_obj
[1] ;
28502 if (!args
) SWIG_fail
;
28503 swig_obj
[0] = args
;
28504 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
28505 if (!SWIG_IsOK(res1
)) {
28506 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout_GetPageSizePixels" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
28508 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
28510 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28511 (arg1
)->GetPageSizePixels(arg2
,arg3
);
28512 wxPyEndAllowThreads(__tstate
);
28513 if (PyErr_Occurred()) SWIG_fail
;
28515 resultobj
= SWIG_Py_Void();
28516 if (SWIG_IsTmpObj(res2
)) {
28517 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
28519 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
28520 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
28522 if (SWIG_IsTmpObj(res3
)) {
28523 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
28525 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
28526 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
28534 SWIGINTERN PyObject
*_wrap_Printout_SetPageSizeMM(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28535 PyObject
*resultobj
= 0;
28536 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
28545 PyObject
* obj0
= 0 ;
28546 PyObject
* obj1
= 0 ;
28547 PyObject
* obj2
= 0 ;
28548 char * kwnames
[] = {
28549 (char *) "self",(char *) "w",(char *) "h", NULL
28552 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Printout_SetPageSizeMM",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
28553 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
28554 if (!SWIG_IsOK(res1
)) {
28555 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout_SetPageSizeMM" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
28557 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
28558 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
28559 if (!SWIG_IsOK(ecode2
)) {
28560 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Printout_SetPageSizeMM" "', expected argument " "2"" of type '" "int""'");
28562 arg2
= static_cast< int >(val2
);
28563 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
28564 if (!SWIG_IsOK(ecode3
)) {
28565 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Printout_SetPageSizeMM" "', expected argument " "3"" of type '" "int""'");
28567 arg3
= static_cast< int >(val3
);
28569 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28570 (arg1
)->SetPageSizeMM(arg2
,arg3
);
28571 wxPyEndAllowThreads(__tstate
);
28572 if (PyErr_Occurred()) SWIG_fail
;
28574 resultobj
= SWIG_Py_Void();
28581 SWIGINTERN PyObject
*_wrap_Printout_GetPageSizeMM(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28582 PyObject
*resultobj
= 0;
28583 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
28584 int *arg2
= (int *) 0 ;
28585 int *arg3
= (int *) 0 ;
28589 int res2
= SWIG_TMPOBJ
;
28591 int res3
= SWIG_TMPOBJ
;
28592 PyObject
*swig_obj
[1] ;
28596 if (!args
) SWIG_fail
;
28597 swig_obj
[0] = args
;
28598 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
28599 if (!SWIG_IsOK(res1
)) {
28600 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout_GetPageSizeMM" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
28602 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
28604 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28605 (arg1
)->GetPageSizeMM(arg2
,arg3
);
28606 wxPyEndAllowThreads(__tstate
);
28607 if (PyErr_Occurred()) SWIG_fail
;
28609 resultobj
= SWIG_Py_Void();
28610 if (SWIG_IsTmpObj(res2
)) {
28611 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
28613 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
28614 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
28616 if (SWIG_IsTmpObj(res3
)) {
28617 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
28619 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
28620 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
28628 SWIGINTERN PyObject
*_wrap_Printout_SetPPIScreen(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28629 PyObject
*resultobj
= 0;
28630 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
28639 PyObject
* obj0
= 0 ;
28640 PyObject
* obj1
= 0 ;
28641 PyObject
* obj2
= 0 ;
28642 char * kwnames
[] = {
28643 (char *) "self",(char *) "x",(char *) "y", NULL
28646 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Printout_SetPPIScreen",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
28647 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
28648 if (!SWIG_IsOK(res1
)) {
28649 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout_SetPPIScreen" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
28651 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
28652 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
28653 if (!SWIG_IsOK(ecode2
)) {
28654 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Printout_SetPPIScreen" "', expected argument " "2"" of type '" "int""'");
28656 arg2
= static_cast< int >(val2
);
28657 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
28658 if (!SWIG_IsOK(ecode3
)) {
28659 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Printout_SetPPIScreen" "', expected argument " "3"" of type '" "int""'");
28661 arg3
= static_cast< int >(val3
);
28663 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28664 (arg1
)->SetPPIScreen(arg2
,arg3
);
28665 wxPyEndAllowThreads(__tstate
);
28666 if (PyErr_Occurred()) SWIG_fail
;
28668 resultobj
= SWIG_Py_Void();
28675 SWIGINTERN PyObject
*_wrap_Printout_GetPPIScreen(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28676 PyObject
*resultobj
= 0;
28677 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
28678 int *arg2
= (int *) 0 ;
28679 int *arg3
= (int *) 0 ;
28683 int res2
= SWIG_TMPOBJ
;
28685 int res3
= SWIG_TMPOBJ
;
28686 PyObject
*swig_obj
[1] ;
28690 if (!args
) SWIG_fail
;
28691 swig_obj
[0] = args
;
28692 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
28693 if (!SWIG_IsOK(res1
)) {
28694 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout_GetPPIScreen" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
28696 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
28698 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28699 (arg1
)->GetPPIScreen(arg2
,arg3
);
28700 wxPyEndAllowThreads(__tstate
);
28701 if (PyErr_Occurred()) SWIG_fail
;
28703 resultobj
= SWIG_Py_Void();
28704 if (SWIG_IsTmpObj(res2
)) {
28705 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
28707 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
28708 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
28710 if (SWIG_IsTmpObj(res3
)) {
28711 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
28713 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
28714 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
28722 SWIGINTERN PyObject
*_wrap_Printout_SetPPIPrinter(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28723 PyObject
*resultobj
= 0;
28724 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
28733 PyObject
* obj0
= 0 ;
28734 PyObject
* obj1
= 0 ;
28735 PyObject
* obj2
= 0 ;
28736 char * kwnames
[] = {
28737 (char *) "self",(char *) "x",(char *) "y", NULL
28740 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Printout_SetPPIPrinter",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
28741 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
28742 if (!SWIG_IsOK(res1
)) {
28743 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout_SetPPIPrinter" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
28745 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
28746 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
28747 if (!SWIG_IsOK(ecode2
)) {
28748 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Printout_SetPPIPrinter" "', expected argument " "2"" of type '" "int""'");
28750 arg2
= static_cast< int >(val2
);
28751 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
28752 if (!SWIG_IsOK(ecode3
)) {
28753 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Printout_SetPPIPrinter" "', expected argument " "3"" of type '" "int""'");
28755 arg3
= static_cast< int >(val3
);
28757 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28758 (arg1
)->SetPPIPrinter(arg2
,arg3
);
28759 wxPyEndAllowThreads(__tstate
);
28760 if (PyErr_Occurred()) SWIG_fail
;
28762 resultobj
= SWIG_Py_Void();
28769 SWIGINTERN PyObject
*_wrap_Printout_GetPPIPrinter(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28770 PyObject
*resultobj
= 0;
28771 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
28772 int *arg2
= (int *) 0 ;
28773 int *arg3
= (int *) 0 ;
28777 int res2
= SWIG_TMPOBJ
;
28779 int res3
= SWIG_TMPOBJ
;
28780 PyObject
*swig_obj
[1] ;
28784 if (!args
) SWIG_fail
;
28785 swig_obj
[0] = args
;
28786 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
28787 if (!SWIG_IsOK(res1
)) {
28788 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout_GetPPIPrinter" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
28790 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
28792 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28793 (arg1
)->GetPPIPrinter(arg2
,arg3
);
28794 wxPyEndAllowThreads(__tstate
);
28795 if (PyErr_Occurred()) SWIG_fail
;
28797 resultobj
= SWIG_Py_Void();
28798 if (SWIG_IsTmpObj(res2
)) {
28799 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
28801 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
28802 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
28804 if (SWIG_IsTmpObj(res3
)) {
28805 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
28807 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
28808 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
28816 SWIGINTERN PyObject
*_wrap_Printout_SetPaperRectPixels(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28817 PyObject
*resultobj
= 0;
28818 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
28823 PyObject
* obj0
= 0 ;
28824 PyObject
* obj1
= 0 ;
28825 char * kwnames
[] = {
28826 (char *) "self",(char *) "paperRectPixels", NULL
28829 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Printout_SetPaperRectPixels",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
28830 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
28831 if (!SWIG_IsOK(res1
)) {
28832 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout_SetPaperRectPixels" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
28834 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
28837 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
28840 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28841 (arg1
)->SetPaperRectPixels((wxRect
const &)*arg2
);
28842 wxPyEndAllowThreads(__tstate
);
28843 if (PyErr_Occurred()) SWIG_fail
;
28845 resultobj
= SWIG_Py_Void();
28852 SWIGINTERN PyObject
*_wrap_Printout_GetPaperRectPixels(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28853 PyObject
*resultobj
= 0;
28854 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
28858 PyObject
*swig_obj
[1] ;
28860 if (!args
) SWIG_fail
;
28861 swig_obj
[0] = args
;
28862 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
28863 if (!SWIG_IsOK(res1
)) {
28864 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout_GetPaperRectPixels" "', expected argument " "1"" of type '" "wxPyPrintout const *""'");
28866 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
28868 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28869 result
= ((wxPyPrintout
const *)arg1
)->GetPaperRectPixels();
28870 wxPyEndAllowThreads(__tstate
);
28871 if (PyErr_Occurred()) SWIG_fail
;
28873 resultobj
= SWIG_NewPointerObj((new wxRect(static_cast< const wxRect
& >(result
))), SWIGTYPE_p_wxRect
, SWIG_POINTER_OWN
| 0 );
28880 SWIGINTERN PyObject
*_wrap_Printout_IsPreview(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28881 PyObject
*resultobj
= 0;
28882 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
28886 PyObject
*swig_obj
[1] ;
28888 if (!args
) SWIG_fail
;
28889 swig_obj
[0] = args
;
28890 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
28891 if (!SWIG_IsOK(res1
)) {
28892 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout_IsPreview" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
28894 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
28896 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28897 result
= (bool)(arg1
)->IsPreview();
28898 wxPyEndAllowThreads(__tstate
);
28899 if (PyErr_Occurred()) SWIG_fail
;
28902 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28910 SWIGINTERN PyObject
*_wrap_Printout_SetIsPreview(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28911 PyObject
*resultobj
= 0;
28912 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
28918 PyObject
* obj0
= 0 ;
28919 PyObject
* obj1
= 0 ;
28920 char * kwnames
[] = {
28921 (char *) "self",(char *) "p", NULL
28924 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Printout_SetIsPreview",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
28925 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
28926 if (!SWIG_IsOK(res1
)) {
28927 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout_SetIsPreview" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
28929 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
28930 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
28931 if (!SWIG_IsOK(ecode2
)) {
28932 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Printout_SetIsPreview" "', expected argument " "2"" of type '" "bool""'");
28934 arg2
= static_cast< bool >(val2
);
28936 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28937 (arg1
)->SetIsPreview(arg2
);
28938 wxPyEndAllowThreads(__tstate
);
28939 if (PyErr_Occurred()) SWIG_fail
;
28941 resultobj
= SWIG_Py_Void();
28948 SWIGINTERN PyObject
*_wrap_Printout_OnBeginDocument(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28949 PyObject
*resultobj
= 0;
28950 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
28960 PyObject
* obj0
= 0 ;
28961 PyObject
* obj1
= 0 ;
28962 PyObject
* obj2
= 0 ;
28963 char * kwnames
[] = {
28964 (char *) "self",(char *) "startPage",(char *) "endPage", NULL
28967 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Printout_OnBeginDocument",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
28968 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
28969 if (!SWIG_IsOK(res1
)) {
28970 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout_OnBeginDocument" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
28972 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
28973 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
28974 if (!SWIG_IsOK(ecode2
)) {
28975 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Printout_OnBeginDocument" "', expected argument " "2"" of type '" "int""'");
28977 arg2
= static_cast< int >(val2
);
28978 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
28979 if (!SWIG_IsOK(ecode3
)) {
28980 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Printout_OnBeginDocument" "', expected argument " "3"" of type '" "int""'");
28982 arg3
= static_cast< int >(val3
);
28984 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28985 result
= (bool)(arg1
)->OnBeginDocument(arg2
,arg3
);
28986 wxPyEndAllowThreads(__tstate
);
28987 if (PyErr_Occurred()) SWIG_fail
;
28990 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28998 SWIGINTERN PyObject
*_wrap_Printout_OnEndDocument(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28999 PyObject
*resultobj
= 0;
29000 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
29003 PyObject
*swig_obj
[1] ;
29005 if (!args
) SWIG_fail
;
29006 swig_obj
[0] = args
;
29007 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
29008 if (!SWIG_IsOK(res1
)) {
29009 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout_OnEndDocument" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
29011 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
29013 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29014 (arg1
)->OnEndDocument();
29015 wxPyEndAllowThreads(__tstate
);
29016 if (PyErr_Occurred()) SWIG_fail
;
29018 resultobj
= SWIG_Py_Void();
29025 SWIGINTERN PyObject
*_wrap_Printout_OnBeginPrinting(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29026 PyObject
*resultobj
= 0;
29027 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
29030 PyObject
*swig_obj
[1] ;
29032 if (!args
) SWIG_fail
;
29033 swig_obj
[0] = args
;
29034 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
29035 if (!SWIG_IsOK(res1
)) {
29036 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout_OnBeginPrinting" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
29038 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
29040 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29041 (arg1
)->OnBeginPrinting();
29042 wxPyEndAllowThreads(__tstate
);
29043 if (PyErr_Occurred()) SWIG_fail
;
29045 resultobj
= SWIG_Py_Void();
29052 SWIGINTERN PyObject
*_wrap_Printout_OnEndPrinting(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29053 PyObject
*resultobj
= 0;
29054 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
29057 PyObject
*swig_obj
[1] ;
29059 if (!args
) SWIG_fail
;
29060 swig_obj
[0] = args
;
29061 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
29062 if (!SWIG_IsOK(res1
)) {
29063 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout_OnEndPrinting" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
29065 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
29067 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29068 (arg1
)->OnEndPrinting();
29069 wxPyEndAllowThreads(__tstate
);
29070 if (PyErr_Occurred()) SWIG_fail
;
29072 resultobj
= SWIG_Py_Void();
29079 SWIGINTERN PyObject
*_wrap_Printout_OnPreparePrinting(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29080 PyObject
*resultobj
= 0;
29081 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
29084 PyObject
*swig_obj
[1] ;
29086 if (!args
) SWIG_fail
;
29087 swig_obj
[0] = args
;
29088 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
29089 if (!SWIG_IsOK(res1
)) {
29090 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout_OnPreparePrinting" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
29092 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
29094 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29095 (arg1
)->OnPreparePrinting();
29096 wxPyEndAllowThreads(__tstate
);
29097 if (PyErr_Occurred()) SWIG_fail
;
29099 resultobj
= SWIG_Py_Void();
29106 SWIGINTERN PyObject
*_wrap_Printout_HasPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29107 PyObject
*resultobj
= 0;
29108 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
29115 PyObject
* obj0
= 0 ;
29116 PyObject
* obj1
= 0 ;
29117 char * kwnames
[] = {
29118 (char *) "self",(char *) "page", NULL
29121 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Printout_HasPage",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
29122 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
29123 if (!SWIG_IsOK(res1
)) {
29124 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout_HasPage" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
29126 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
29127 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
29128 if (!SWIG_IsOK(ecode2
)) {
29129 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Printout_HasPage" "', expected argument " "2"" of type '" "int""'");
29131 arg2
= static_cast< int >(val2
);
29133 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29134 result
= (bool)(arg1
)->HasPage(arg2
);
29135 wxPyEndAllowThreads(__tstate
);
29136 if (PyErr_Occurred()) SWIG_fail
;
29139 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29147 SWIGINTERN PyObject
*_wrap_Printout_GetPageInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29148 PyObject
*resultobj
= 0;
29149 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
29150 int *arg2
= (int *) 0 ;
29151 int *arg3
= (int *) 0 ;
29152 int *arg4
= (int *) 0 ;
29153 int *arg5
= (int *) 0 ;
29157 int res2
= SWIG_TMPOBJ
;
29159 int res3
= SWIG_TMPOBJ
;
29161 int res4
= SWIG_TMPOBJ
;
29163 int res5
= SWIG_TMPOBJ
;
29164 PyObject
*swig_obj
[1] ;
29170 if (!args
) SWIG_fail
;
29171 swig_obj
[0] = args
;
29172 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
29173 if (!SWIG_IsOK(res1
)) {
29174 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout_GetPageInfo" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
29176 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
29178 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29179 (arg1
)->GetPageInfo(arg2
,arg3
,arg4
,arg5
);
29180 wxPyEndAllowThreads(__tstate
);
29181 if (PyErr_Occurred()) SWIG_fail
;
29183 resultobj
= SWIG_Py_Void();
29184 if (SWIG_IsTmpObj(res2
)) {
29185 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
29187 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
29188 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
29190 if (SWIG_IsTmpObj(res3
)) {
29191 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
29193 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
29194 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
29196 if (SWIG_IsTmpObj(res4
)) {
29197 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg4
)));
29199 int new_flags
= SWIG_IsNewObj(res4
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
29200 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_int
, new_flags
));
29202 if (SWIG_IsTmpObj(res5
)) {
29203 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg5
)));
29205 int new_flags
= SWIG_IsNewObj(res5
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
29206 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg5
), SWIGTYPE_p_int
, new_flags
));
29214 SWIGINTERN PyObject
*Printout_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29216 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
29217 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyPrintout
, SWIG_NewClientData(obj
));
29218 return SWIG_Py_Void();
29221 SWIGINTERN PyObject
*Printout_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29222 return SWIG_Python_InitShadowInstance(args
);
29225 SWIGINTERN PyObject
*_wrap_new_PreviewCanvas(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29226 PyObject
*resultobj
= 0;
29227 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
29228 wxWindow
*arg2
= (wxWindow
*) 0 ;
29229 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
29230 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
29231 wxSize
const &arg4_defvalue
= wxDefaultSize
;
29232 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
29233 long arg5
= (long) 0 ;
29234 wxString
const &arg6_defvalue
= wxPyPreviewCanvasNameStr
;
29235 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
29236 wxPreviewCanvas
*result
= 0 ;
29245 bool temp6
= false ;
29246 PyObject
* obj0
= 0 ;
29247 PyObject
* obj1
= 0 ;
29248 PyObject
* obj2
= 0 ;
29249 PyObject
* obj3
= 0 ;
29250 PyObject
* obj4
= 0 ;
29251 PyObject
* obj5
= 0 ;
29252 char * kwnames
[] = {
29253 (char *) "preview",(char *) "parent",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
29256 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOO:new_PreviewCanvas",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
29257 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintPreview
, 0 | 0 );
29258 if (!SWIG_IsOK(res1
)) {
29259 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PreviewCanvas" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
29261 arg1
= reinterpret_cast< wxPrintPreview
* >(argp1
);
29262 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
29263 if (!SWIG_IsOK(res2
)) {
29264 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_PreviewCanvas" "', expected argument " "2"" of type '" "wxWindow *""'");
29266 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
29270 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
29276 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
29280 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
29281 if (!SWIG_IsOK(ecode5
)) {
29282 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_PreviewCanvas" "', expected argument " "5"" of type '" "long""'");
29284 arg5
= static_cast< long >(val5
);
29288 arg6
= wxString_in_helper(obj5
);
29289 if (arg6
== NULL
) SWIG_fail
;
29294 if (!wxPyCheckForApp()) SWIG_fail
;
29295 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29296 result
= (wxPreviewCanvas
*)new wxPreviewCanvas(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
29297 wxPyEndAllowThreads(__tstate
);
29298 if (PyErr_Occurred()) SWIG_fail
;
29300 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPreviewCanvas
, SWIG_POINTER_NEW
| 0 );
29315 SWIGINTERN PyObject
*PreviewCanvas_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29317 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
29318 SWIG_TypeNewClientData(SWIGTYPE_p_wxPreviewCanvas
, SWIG_NewClientData(obj
));
29319 return SWIG_Py_Void();
29322 SWIGINTERN PyObject
*PreviewCanvas_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29323 return SWIG_Python_InitShadowInstance(args
);
29326 SWIGINTERN PyObject
*_wrap_new_PreviewFrame(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29327 PyObject
*resultobj
= 0;
29328 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
29329 wxFrame
*arg2
= (wxFrame
*) 0 ;
29330 wxString
*arg3
= 0 ;
29331 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
29332 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
29333 wxSize
const &arg5_defvalue
= wxDefaultSize
;
29334 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
29335 long arg6
= (long) wxDEFAULT_FRAME_STYLE
;
29336 wxString
const &arg7_defvalue
= wxPyFrameNameStr
;
29337 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
29338 wxPreviewFrame
*result
= 0 ;
29342 bool temp3
= false ;
29347 bool temp7
= false ;
29348 PyObject
* obj0
= 0 ;
29349 PyObject
* obj1
= 0 ;
29350 PyObject
* obj2
= 0 ;
29351 PyObject
* obj3
= 0 ;
29352 PyObject
* obj4
= 0 ;
29353 PyObject
* obj5
= 0 ;
29354 PyObject
* obj6
= 0 ;
29355 char * kwnames
[] = {
29356 (char *) "preview",(char *) "parent",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
29359 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:new_PreviewFrame",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
29360 res1
= SWIG_ConvertPtr(obj0
, SWIG_as_voidptrptr(&arg1
), SWIGTYPE_p_wxPrintPreview
, SWIG_POINTER_DISOWN
| 0 );
29361 if (!SWIG_IsOK(res1
)) {
29362 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PreviewFrame" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
29364 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxFrame
, 0 | 0 );
29365 if (!SWIG_IsOK(res2
)) {
29366 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_PreviewFrame" "', expected argument " "2"" of type '" "wxFrame *""'");
29368 arg2
= reinterpret_cast< wxFrame
* >(argp2
);
29370 arg3
= wxString_in_helper(obj2
);
29371 if (arg3
== NULL
) SWIG_fail
;
29377 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
29383 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
29387 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
29388 if (!SWIG_IsOK(ecode6
)) {
29389 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_PreviewFrame" "', expected argument " "6"" of type '" "long""'");
29391 arg6
= static_cast< long >(val6
);
29395 arg7
= wxString_in_helper(obj6
);
29396 if (arg7
== NULL
) SWIG_fail
;
29401 if (!wxPyCheckForApp()) SWIG_fail
;
29402 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29403 result
= (wxPreviewFrame
*)new wxPreviewFrame(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
29404 wxPyEndAllowThreads(__tstate
);
29405 if (PyErr_Occurred()) SWIG_fail
;
29407 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPreviewFrame
, SWIG_POINTER_NEW
| 0 );
29430 SWIGINTERN PyObject
*_wrap_PreviewFrame_Initialize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29431 PyObject
*resultobj
= 0;
29432 wxPreviewFrame
*arg1
= (wxPreviewFrame
*) 0 ;
29435 PyObject
*swig_obj
[1] ;
29437 if (!args
) SWIG_fail
;
29438 swig_obj
[0] = args
;
29439 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPreviewFrame
, 0 | 0 );
29440 if (!SWIG_IsOK(res1
)) {
29441 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PreviewFrame_Initialize" "', expected argument " "1"" of type '" "wxPreviewFrame *""'");
29443 arg1
= reinterpret_cast< wxPreviewFrame
* >(argp1
);
29445 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29446 (arg1
)->Initialize();
29447 wxPyEndAllowThreads(__tstate
);
29448 if (PyErr_Occurred()) SWIG_fail
;
29450 resultobj
= SWIG_Py_Void();
29457 SWIGINTERN PyObject
*_wrap_PreviewFrame_CreateControlBar(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29458 PyObject
*resultobj
= 0;
29459 wxPreviewFrame
*arg1
= (wxPreviewFrame
*) 0 ;
29462 PyObject
*swig_obj
[1] ;
29464 if (!args
) SWIG_fail
;
29465 swig_obj
[0] = args
;
29466 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPreviewFrame
, 0 | 0 );
29467 if (!SWIG_IsOK(res1
)) {
29468 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PreviewFrame_CreateControlBar" "', expected argument " "1"" of type '" "wxPreviewFrame *""'");
29470 arg1
= reinterpret_cast< wxPreviewFrame
* >(argp1
);
29472 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29473 (arg1
)->CreateControlBar();
29474 wxPyEndAllowThreads(__tstate
);
29475 if (PyErr_Occurred()) SWIG_fail
;
29477 resultobj
= SWIG_Py_Void();
29484 SWIGINTERN PyObject
*_wrap_PreviewFrame_CreateCanvas(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29485 PyObject
*resultobj
= 0;
29486 wxPreviewFrame
*arg1
= (wxPreviewFrame
*) 0 ;
29489 PyObject
*swig_obj
[1] ;
29491 if (!args
) SWIG_fail
;
29492 swig_obj
[0] = args
;
29493 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPreviewFrame
, 0 | 0 );
29494 if (!SWIG_IsOK(res1
)) {
29495 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PreviewFrame_CreateCanvas" "', expected argument " "1"" of type '" "wxPreviewFrame *""'");
29497 arg1
= reinterpret_cast< wxPreviewFrame
* >(argp1
);
29499 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29500 (arg1
)->CreateCanvas();
29501 wxPyEndAllowThreads(__tstate
);
29502 if (PyErr_Occurred()) SWIG_fail
;
29504 resultobj
= SWIG_Py_Void();
29511 SWIGINTERN PyObject
*_wrap_PreviewFrame_GetControlBar(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29512 PyObject
*resultobj
= 0;
29513 wxPreviewFrame
*arg1
= (wxPreviewFrame
*) 0 ;
29514 wxPreviewControlBar
*result
= 0 ;
29517 PyObject
*swig_obj
[1] ;
29519 if (!args
) SWIG_fail
;
29520 swig_obj
[0] = args
;
29521 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPreviewFrame
, 0 | 0 );
29522 if (!SWIG_IsOK(res1
)) {
29523 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PreviewFrame_GetControlBar" "', expected argument " "1"" of type '" "wxPreviewFrame const *""'");
29525 arg1
= reinterpret_cast< wxPreviewFrame
* >(argp1
);
29527 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29528 result
= (wxPreviewControlBar
*)((wxPreviewFrame
const *)arg1
)->GetControlBar();
29529 wxPyEndAllowThreads(__tstate
);
29530 if (PyErr_Occurred()) SWIG_fail
;
29532 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPreviewControlBar
, 0 | 0 );
29539 SWIGINTERN PyObject
*PreviewFrame_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29541 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
29542 SWIG_TypeNewClientData(SWIGTYPE_p_wxPreviewFrame
, SWIG_NewClientData(obj
));
29543 return SWIG_Py_Void();
29546 SWIGINTERN PyObject
*PreviewFrame_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29547 return SWIG_Python_InitShadowInstance(args
);
29550 SWIGINTERN PyObject
*_wrap_new_PreviewControlBar(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29551 PyObject
*resultobj
= 0;
29552 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
29554 wxWindow
*arg3
= (wxWindow
*) 0 ;
29555 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
29556 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
29557 wxSize
const &arg5_defvalue
= wxDefaultSize
;
29558 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
29559 long arg6
= (long) wxTAB_TRAVERSAL
;
29560 wxString
const &arg7_defvalue
= wxPyPanelNameStr
;
29561 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
29562 wxPreviewControlBar
*result
= 0 ;
29573 bool temp7
= false ;
29574 PyObject
* obj0
= 0 ;
29575 PyObject
* obj1
= 0 ;
29576 PyObject
* obj2
= 0 ;
29577 PyObject
* obj3
= 0 ;
29578 PyObject
* obj4
= 0 ;
29579 PyObject
* obj5
= 0 ;
29580 PyObject
* obj6
= 0 ;
29581 char * kwnames
[] = {
29582 (char *) "preview",(char *) "buttons",(char *) "parent",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
29585 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:new_PreviewControlBar",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
29586 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintPreview
, 0 | 0 );
29587 if (!SWIG_IsOK(res1
)) {
29588 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PreviewControlBar" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
29590 arg1
= reinterpret_cast< wxPrintPreview
* >(argp1
);
29591 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
29592 if (!SWIG_IsOK(ecode2
)) {
29593 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_PreviewControlBar" "', expected argument " "2"" of type '" "long""'");
29595 arg2
= static_cast< long >(val2
);
29596 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxWindow
, 0 | 0 );
29597 if (!SWIG_IsOK(res3
)) {
29598 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "new_PreviewControlBar" "', expected argument " "3"" of type '" "wxWindow *""'");
29600 arg3
= reinterpret_cast< wxWindow
* >(argp3
);
29604 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
29610 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
29614 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
29615 if (!SWIG_IsOK(ecode6
)) {
29616 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_PreviewControlBar" "', expected argument " "6"" of type '" "long""'");
29618 arg6
= static_cast< long >(val6
);
29622 arg7
= wxString_in_helper(obj6
);
29623 if (arg7
== NULL
) SWIG_fail
;
29628 if (!wxPyCheckForApp()) SWIG_fail
;
29629 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29630 result
= (wxPreviewControlBar
*)new wxPreviewControlBar(arg1
,arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
29631 wxPyEndAllowThreads(__tstate
);
29632 if (PyErr_Occurred()) SWIG_fail
;
29634 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPreviewControlBar
, SWIG_POINTER_NEW
| 0 );
29649 SWIGINTERN PyObject
*_wrap_PreviewControlBar_GetZoomControl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29650 PyObject
*resultobj
= 0;
29651 wxPreviewControlBar
*arg1
= (wxPreviewControlBar
*) 0 ;
29655 PyObject
*swig_obj
[1] ;
29657 if (!args
) SWIG_fail
;
29658 swig_obj
[0] = args
;
29659 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPreviewControlBar
, 0 | 0 );
29660 if (!SWIG_IsOK(res1
)) {
29661 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PreviewControlBar_GetZoomControl" "', expected argument " "1"" of type '" "wxPreviewControlBar *""'");
29663 arg1
= reinterpret_cast< wxPreviewControlBar
* >(argp1
);
29665 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29666 result
= (int)(arg1
)->GetZoomControl();
29667 wxPyEndAllowThreads(__tstate
);
29668 if (PyErr_Occurred()) SWIG_fail
;
29670 resultobj
= SWIG_From_int(static_cast< int >(result
));
29677 SWIGINTERN PyObject
*_wrap_PreviewControlBar_SetZoomControl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29678 PyObject
*resultobj
= 0;
29679 wxPreviewControlBar
*arg1
= (wxPreviewControlBar
*) 0 ;
29685 PyObject
* obj0
= 0 ;
29686 PyObject
* obj1
= 0 ;
29687 char * kwnames
[] = {
29688 (char *) "self",(char *) "zoom", NULL
29691 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PreviewControlBar_SetZoomControl",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
29692 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPreviewControlBar
, 0 | 0 );
29693 if (!SWIG_IsOK(res1
)) {
29694 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PreviewControlBar_SetZoomControl" "', expected argument " "1"" of type '" "wxPreviewControlBar *""'");
29696 arg1
= reinterpret_cast< wxPreviewControlBar
* >(argp1
);
29697 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
29698 if (!SWIG_IsOK(ecode2
)) {
29699 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PreviewControlBar_SetZoomControl" "', expected argument " "2"" of type '" "int""'");
29701 arg2
= static_cast< int >(val2
);
29703 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29704 (arg1
)->SetZoomControl(arg2
);
29705 wxPyEndAllowThreads(__tstate
);
29706 if (PyErr_Occurred()) SWIG_fail
;
29708 resultobj
= SWIG_Py_Void();
29715 SWIGINTERN PyObject
*_wrap_PreviewControlBar_GetPrintPreview(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29716 PyObject
*resultobj
= 0;
29717 wxPreviewControlBar
*arg1
= (wxPreviewControlBar
*) 0 ;
29718 wxPrintPreview
*result
= 0 ;
29721 PyObject
*swig_obj
[1] ;
29723 if (!args
) SWIG_fail
;
29724 swig_obj
[0] = args
;
29725 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPreviewControlBar
, 0 | 0 );
29726 if (!SWIG_IsOK(res1
)) {
29727 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PreviewControlBar_GetPrintPreview" "', expected argument " "1"" of type '" "wxPreviewControlBar *""'");
29729 arg1
= reinterpret_cast< wxPreviewControlBar
* >(argp1
);
29731 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29732 result
= (wxPrintPreview
*)(arg1
)->GetPrintPreview();
29733 wxPyEndAllowThreads(__tstate
);
29734 if (PyErr_Occurred()) SWIG_fail
;
29736 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPrintPreview
, 0 | 0 );
29743 SWIGINTERN PyObject
*_wrap_PreviewControlBar_OnNext(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29744 PyObject
*resultobj
= 0;
29745 wxPreviewControlBar
*arg1
= (wxPreviewControlBar
*) 0 ;
29748 PyObject
*swig_obj
[1] ;
29750 if (!args
) SWIG_fail
;
29751 swig_obj
[0] = args
;
29752 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPreviewControlBar
, 0 | 0 );
29753 if (!SWIG_IsOK(res1
)) {
29754 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PreviewControlBar_OnNext" "', expected argument " "1"" of type '" "wxPreviewControlBar *""'");
29756 arg1
= reinterpret_cast< wxPreviewControlBar
* >(argp1
);
29758 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29760 wxPyEndAllowThreads(__tstate
);
29761 if (PyErr_Occurred()) SWIG_fail
;
29763 resultobj
= SWIG_Py_Void();
29770 SWIGINTERN PyObject
*_wrap_PreviewControlBar_OnPrevious(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29771 PyObject
*resultobj
= 0;
29772 wxPreviewControlBar
*arg1
= (wxPreviewControlBar
*) 0 ;
29775 PyObject
*swig_obj
[1] ;
29777 if (!args
) SWIG_fail
;
29778 swig_obj
[0] = args
;
29779 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPreviewControlBar
, 0 | 0 );
29780 if (!SWIG_IsOK(res1
)) {
29781 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PreviewControlBar_OnPrevious" "', expected argument " "1"" of type '" "wxPreviewControlBar *""'");
29783 arg1
= reinterpret_cast< wxPreviewControlBar
* >(argp1
);
29785 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29786 (arg1
)->OnPrevious();
29787 wxPyEndAllowThreads(__tstate
);
29788 if (PyErr_Occurred()) SWIG_fail
;
29790 resultobj
= SWIG_Py_Void();
29797 SWIGINTERN PyObject
*_wrap_PreviewControlBar_OnFirst(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29798 PyObject
*resultobj
= 0;
29799 wxPreviewControlBar
*arg1
= (wxPreviewControlBar
*) 0 ;
29802 PyObject
*swig_obj
[1] ;
29804 if (!args
) SWIG_fail
;
29805 swig_obj
[0] = args
;
29806 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPreviewControlBar
, 0 | 0 );
29807 if (!SWIG_IsOK(res1
)) {
29808 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PreviewControlBar_OnFirst" "', expected argument " "1"" of type '" "wxPreviewControlBar *""'");
29810 arg1
= reinterpret_cast< wxPreviewControlBar
* >(argp1
);
29812 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29814 wxPyEndAllowThreads(__tstate
);
29815 if (PyErr_Occurred()) SWIG_fail
;
29817 resultobj
= SWIG_Py_Void();
29824 SWIGINTERN PyObject
*_wrap_PreviewControlBar_OnLast(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29825 PyObject
*resultobj
= 0;
29826 wxPreviewControlBar
*arg1
= (wxPreviewControlBar
*) 0 ;
29829 PyObject
*swig_obj
[1] ;
29831 if (!args
) SWIG_fail
;
29832 swig_obj
[0] = args
;
29833 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPreviewControlBar
, 0 | 0 );
29834 if (!SWIG_IsOK(res1
)) {
29835 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PreviewControlBar_OnLast" "', expected argument " "1"" of type '" "wxPreviewControlBar *""'");
29837 arg1
= reinterpret_cast< wxPreviewControlBar
* >(argp1
);
29839 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29841 wxPyEndAllowThreads(__tstate
);
29842 if (PyErr_Occurred()) SWIG_fail
;
29844 resultobj
= SWIG_Py_Void();
29851 SWIGINTERN PyObject
*_wrap_PreviewControlBar_OnGoto(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29852 PyObject
*resultobj
= 0;
29853 wxPreviewControlBar
*arg1
= (wxPreviewControlBar
*) 0 ;
29856 PyObject
*swig_obj
[1] ;
29858 if (!args
) SWIG_fail
;
29859 swig_obj
[0] = args
;
29860 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPreviewControlBar
, 0 | 0 );
29861 if (!SWIG_IsOK(res1
)) {
29862 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PreviewControlBar_OnGoto" "', expected argument " "1"" of type '" "wxPreviewControlBar *""'");
29864 arg1
= reinterpret_cast< wxPreviewControlBar
* >(argp1
);
29866 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29868 wxPyEndAllowThreads(__tstate
);
29869 if (PyErr_Occurred()) SWIG_fail
;
29871 resultobj
= SWIG_Py_Void();
29878 SWIGINTERN PyObject
*PreviewControlBar_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29880 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
29881 SWIG_TypeNewClientData(SWIGTYPE_p_wxPreviewControlBar
, SWIG_NewClientData(obj
));
29882 return SWIG_Py_Void();
29885 SWIGINTERN PyObject
*PreviewControlBar_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29886 return SWIG_Python_InitShadowInstance(args
);
29889 SWIGINTERN PyObject
*_wrap_new_PrintPreview__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
29890 PyObject
*resultobj
= 0;
29891 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
29892 wxPyPrintout
*arg2
= (wxPyPrintout
*) 0 ;
29893 wxPrintDialogData
*arg3
= (wxPrintDialogData
*) NULL
;
29894 wxPrintPreview
*result
= 0 ;
29900 if ((nobjs
< 2) || (nobjs
> 3)) SWIG_fail
;
29901 res1
= SWIG_ConvertPtr(swig_obj
[0], SWIG_as_voidptrptr(&arg1
), SWIGTYPE_p_wxPyPrintout
, SWIG_POINTER_DISOWN
| 0 );
29902 if (!SWIG_IsOK(res1
)) {
29903 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PrintPreview" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
29905 res2
= SWIG_ConvertPtr(swig_obj
[1], SWIG_as_voidptrptr(&arg2
), SWIGTYPE_p_wxPyPrintout
, SWIG_POINTER_DISOWN
| 0 );
29906 if (!SWIG_IsOK(res2
)) {
29907 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_PrintPreview" "', expected argument " "2"" of type '" "wxPyPrintout *""'");
29910 res3
= SWIG_ConvertPtr(swig_obj
[2], &argp3
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
29911 if (!SWIG_IsOK(res3
)) {
29912 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "new_PrintPreview" "', expected argument " "3"" of type '" "wxPrintDialogData *""'");
29914 arg3
= reinterpret_cast< wxPrintDialogData
* >(argp3
);
29917 if (!wxPyCheckForApp()) SWIG_fail
;
29918 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29919 result
= (wxPrintPreview
*)new wxPrintPreview(arg1
,arg2
,arg3
);
29920 wxPyEndAllowThreads(__tstate
);
29921 if (PyErr_Occurred()) SWIG_fail
;
29923 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPrintPreview
, SWIG_POINTER_NEW
| 0 );
29930 SWIGINTERN PyObject
*_wrap_new_PrintPreview__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
29931 PyObject
*resultobj
= 0;
29932 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
29933 wxPyPrintout
*arg2
= (wxPyPrintout
*) 0 ;
29934 wxPrintData
*arg3
= (wxPrintData
*) 0 ;
29935 wxPrintPreview
*result
= 0 ;
29941 if ((nobjs
< 3) || (nobjs
> 3)) SWIG_fail
;
29942 res1
= SWIG_ConvertPtr(swig_obj
[0], SWIG_as_voidptrptr(&arg1
), SWIGTYPE_p_wxPyPrintout
, SWIG_POINTER_DISOWN
| 0 );
29943 if (!SWIG_IsOK(res1
)) {
29944 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PrintPreview" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
29946 res2
= SWIG_ConvertPtr(swig_obj
[1], SWIG_as_voidptrptr(&arg2
), SWIGTYPE_p_wxPyPrintout
, SWIG_POINTER_DISOWN
| 0 );
29947 if (!SWIG_IsOK(res2
)) {
29948 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_PrintPreview" "', expected argument " "2"" of type '" "wxPyPrintout *""'");
29950 res3
= SWIG_ConvertPtr(swig_obj
[2], &argp3
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
29951 if (!SWIG_IsOK(res3
)) {
29952 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "new_PrintPreview" "', expected argument " "3"" of type '" "wxPrintData *""'");
29954 arg3
= reinterpret_cast< wxPrintData
* >(argp3
);
29956 if (!wxPyCheckForApp()) SWIG_fail
;
29957 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29958 result
= (wxPrintPreview
*)new wxPrintPreview(arg1
,arg2
,arg3
);
29959 wxPyEndAllowThreads(__tstate
);
29960 if (PyErr_Occurred()) SWIG_fail
;
29962 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPrintPreview
, SWIG_POINTER_NEW
| 0 );
29969 SWIGINTERN PyObject
*_wrap_new_PrintPreview(PyObject
*self
, PyObject
*args
) {
29973 if (!(argc
= SWIG_Python_UnpackTuple(args
,"new_PrintPreview",0,3,argv
))) SWIG_fail
;
29975 if ((argc
>= 2) && (argc
<= 3)) {
29980 int res
= SWIG_ConvertPtr(argv
[2], &vptr
, SWIGTYPE_p_wxPrintDialogData
, 0);
29981 _v
= SWIG_CheckState(res
);
29983 if (!_v
) goto check_1
;
29985 return _wrap_new_PrintPreview__SWIG_0(self
, argc
, argv
);
29990 return _wrap_new_PrintPreview__SWIG_1(self
, argc
, argv
);
29994 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'new_PrintPreview'");
29999 SWIGINTERN PyObject
*_wrap_delete_PrintPreview(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30000 PyObject
*resultobj
= 0;
30001 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
30004 PyObject
*swig_obj
[1] ;
30006 if (!args
) SWIG_fail
;
30007 swig_obj
[0] = args
;
30008 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintPreview
, SWIG_POINTER_DISOWN
| 0 );
30009 if (!SWIG_IsOK(res1
)) {
30010 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_PrintPreview" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
30012 arg1
= reinterpret_cast< wxPrintPreview
* >(argp1
);
30014 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30017 wxPyEndAllowThreads(__tstate
);
30018 if (PyErr_Occurred()) SWIG_fail
;
30020 resultobj
= SWIG_Py_Void();
30027 SWIGINTERN PyObject
*_wrap_PrintPreview_SetCurrentPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30028 PyObject
*resultobj
= 0;
30029 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
30036 PyObject
* obj0
= 0 ;
30037 PyObject
* obj1
= 0 ;
30038 char * kwnames
[] = {
30039 (char *) "self",(char *) "pageNum", NULL
30042 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintPreview_SetCurrentPage",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
30043 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintPreview
, 0 | 0 );
30044 if (!SWIG_IsOK(res1
)) {
30045 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintPreview_SetCurrentPage" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
30047 arg1
= reinterpret_cast< wxPrintPreview
* >(argp1
);
30048 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
30049 if (!SWIG_IsOK(ecode2
)) {
30050 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintPreview_SetCurrentPage" "', expected argument " "2"" of type '" "int""'");
30052 arg2
= static_cast< int >(val2
);
30054 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30055 result
= (bool)(arg1
)->SetCurrentPage(arg2
);
30056 wxPyEndAllowThreads(__tstate
);
30057 if (PyErr_Occurred()) SWIG_fail
;
30060 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30068 SWIGINTERN PyObject
*_wrap_PrintPreview_GetCurrentPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30069 PyObject
*resultobj
= 0;
30070 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
30074 PyObject
*swig_obj
[1] ;
30076 if (!args
) SWIG_fail
;
30077 swig_obj
[0] = args
;
30078 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintPreview
, 0 | 0 );
30079 if (!SWIG_IsOK(res1
)) {
30080 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintPreview_GetCurrentPage" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
30082 arg1
= reinterpret_cast< wxPrintPreview
* >(argp1
);
30084 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30085 result
= (int)(arg1
)->GetCurrentPage();
30086 wxPyEndAllowThreads(__tstate
);
30087 if (PyErr_Occurred()) SWIG_fail
;
30089 resultobj
= SWIG_From_int(static_cast< int >(result
));
30096 SWIGINTERN PyObject
*_wrap_PrintPreview_SetPrintout(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30097 PyObject
*resultobj
= 0;
30098 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
30099 wxPyPrintout
*arg2
= (wxPyPrintout
*) 0 ;
30103 PyObject
* obj0
= 0 ;
30104 PyObject
* obj1
= 0 ;
30105 char * kwnames
[] = {
30106 (char *) "self",(char *) "printout", NULL
30109 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintPreview_SetPrintout",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
30110 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintPreview
, 0 | 0 );
30111 if (!SWIG_IsOK(res1
)) {
30112 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintPreview_SetPrintout" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
30114 arg1
= reinterpret_cast< wxPrintPreview
* >(argp1
);
30115 res2
= SWIG_ConvertPtr(obj1
, SWIG_as_voidptrptr(&arg2
), SWIGTYPE_p_wxPyPrintout
, SWIG_POINTER_DISOWN
| 0 );
30116 if (!SWIG_IsOK(res2
)) {
30117 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PrintPreview_SetPrintout" "', expected argument " "2"" of type '" "wxPyPrintout *""'");
30120 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30121 (arg1
)->SetPrintout(arg2
);
30122 wxPyEndAllowThreads(__tstate
);
30123 if (PyErr_Occurred()) SWIG_fail
;
30125 resultobj
= SWIG_Py_Void();
30132 SWIGINTERN PyObject
*_wrap_PrintPreview_GetPrintout(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30133 PyObject
*resultobj
= 0;
30134 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
30135 wxPyPrintout
*result
= 0 ;
30138 PyObject
*swig_obj
[1] ;
30140 if (!args
) SWIG_fail
;
30141 swig_obj
[0] = args
;
30142 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintPreview
, 0 | 0 );
30143 if (!SWIG_IsOK(res1
)) {
30144 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintPreview_GetPrintout" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
30146 arg1
= reinterpret_cast< wxPrintPreview
* >(argp1
);
30148 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30149 result
= (wxPyPrintout
*)(arg1
)->GetPrintout();
30150 wxPyEndAllowThreads(__tstate
);
30151 if (PyErr_Occurred()) SWIG_fail
;
30154 resultobj
= wxPyMake_wxObject(result
, 0);
30162 SWIGINTERN PyObject
*_wrap_PrintPreview_GetPrintoutForPrinting(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30163 PyObject
*resultobj
= 0;
30164 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
30165 wxPyPrintout
*result
= 0 ;
30168 PyObject
*swig_obj
[1] ;
30170 if (!args
) SWIG_fail
;
30171 swig_obj
[0] = args
;
30172 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintPreview
, 0 | 0 );
30173 if (!SWIG_IsOK(res1
)) {
30174 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintPreview_GetPrintoutForPrinting" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
30176 arg1
= reinterpret_cast< wxPrintPreview
* >(argp1
);
30178 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30179 result
= (wxPyPrintout
*)(arg1
)->GetPrintoutForPrinting();
30180 wxPyEndAllowThreads(__tstate
);
30181 if (PyErr_Occurred()) SWIG_fail
;
30184 resultobj
= wxPyMake_wxObject(result
, 0);
30192 SWIGINTERN PyObject
*_wrap_PrintPreview_SetFrame(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30193 PyObject
*resultobj
= 0;
30194 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
30195 wxFrame
*arg2
= (wxFrame
*) 0 ;
30200 PyObject
* obj0
= 0 ;
30201 PyObject
* obj1
= 0 ;
30202 char * kwnames
[] = {
30203 (char *) "self",(char *) "frame", NULL
30206 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintPreview_SetFrame",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
30207 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintPreview
, 0 | 0 );
30208 if (!SWIG_IsOK(res1
)) {
30209 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintPreview_SetFrame" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
30211 arg1
= reinterpret_cast< wxPrintPreview
* >(argp1
);
30212 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxFrame
, 0 | 0 );
30213 if (!SWIG_IsOK(res2
)) {
30214 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PrintPreview_SetFrame" "', expected argument " "2"" of type '" "wxFrame *""'");
30216 arg2
= reinterpret_cast< wxFrame
* >(argp2
);
30218 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30219 (arg1
)->SetFrame(arg2
);
30220 wxPyEndAllowThreads(__tstate
);
30221 if (PyErr_Occurred()) SWIG_fail
;
30223 resultobj
= SWIG_Py_Void();
30230 SWIGINTERN PyObject
*_wrap_PrintPreview_SetCanvas(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30231 PyObject
*resultobj
= 0;
30232 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
30233 wxPreviewCanvas
*arg2
= (wxPreviewCanvas
*) 0 ;
30238 PyObject
* obj0
= 0 ;
30239 PyObject
* obj1
= 0 ;
30240 char * kwnames
[] = {
30241 (char *) "self",(char *) "canvas", NULL
30244 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintPreview_SetCanvas",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
30245 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintPreview
, 0 | 0 );
30246 if (!SWIG_IsOK(res1
)) {
30247 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintPreview_SetCanvas" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
30249 arg1
= reinterpret_cast< wxPrintPreview
* >(argp1
);
30250 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxPreviewCanvas
, 0 | 0 );
30251 if (!SWIG_IsOK(res2
)) {
30252 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PrintPreview_SetCanvas" "', expected argument " "2"" of type '" "wxPreviewCanvas *""'");
30254 arg2
= reinterpret_cast< wxPreviewCanvas
* >(argp2
);
30256 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30257 (arg1
)->SetCanvas(arg2
);
30258 wxPyEndAllowThreads(__tstate
);
30259 if (PyErr_Occurred()) SWIG_fail
;
30261 resultobj
= SWIG_Py_Void();
30268 SWIGINTERN PyObject
*_wrap_PrintPreview_GetFrame(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30269 PyObject
*resultobj
= 0;
30270 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
30271 wxFrame
*result
= 0 ;
30274 PyObject
*swig_obj
[1] ;
30276 if (!args
) SWIG_fail
;
30277 swig_obj
[0] = args
;
30278 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintPreview
, 0 | 0 );
30279 if (!SWIG_IsOK(res1
)) {
30280 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintPreview_GetFrame" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
30282 arg1
= reinterpret_cast< wxPrintPreview
* >(argp1
);
30284 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30285 result
= (wxFrame
*)(arg1
)->GetFrame();
30286 wxPyEndAllowThreads(__tstate
);
30287 if (PyErr_Occurred()) SWIG_fail
;
30290 resultobj
= wxPyMake_wxObject(result
, 0);
30298 SWIGINTERN PyObject
*_wrap_PrintPreview_GetCanvas(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30299 PyObject
*resultobj
= 0;
30300 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
30301 wxPreviewCanvas
*result
= 0 ;
30304 PyObject
*swig_obj
[1] ;
30306 if (!args
) SWIG_fail
;
30307 swig_obj
[0] = args
;
30308 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintPreview
, 0 | 0 );
30309 if (!SWIG_IsOK(res1
)) {
30310 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintPreview_GetCanvas" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
30312 arg1
= reinterpret_cast< wxPrintPreview
* >(argp1
);
30314 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30315 result
= (wxPreviewCanvas
*)(arg1
)->GetCanvas();
30316 wxPyEndAllowThreads(__tstate
);
30317 if (PyErr_Occurred()) SWIG_fail
;
30319 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPreviewCanvas
, 0 | 0 );
30326 SWIGINTERN PyObject
*_wrap_PrintPreview_PaintPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30327 PyObject
*resultobj
= 0;
30328 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
30329 wxPreviewCanvas
*arg2
= (wxPreviewCanvas
*) 0 ;
30338 PyObject
* obj0
= 0 ;
30339 PyObject
* obj1
= 0 ;
30340 PyObject
* obj2
= 0 ;
30341 char * kwnames
[] = {
30342 (char *) "self",(char *) "canvas",(char *) "dc", NULL
30345 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PrintPreview_PaintPage",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
30346 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintPreview
, 0 | 0 );
30347 if (!SWIG_IsOK(res1
)) {
30348 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintPreview_PaintPage" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
30350 arg1
= reinterpret_cast< wxPrintPreview
* >(argp1
);
30351 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxPreviewCanvas
, 0 | 0 );
30352 if (!SWIG_IsOK(res2
)) {
30353 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PrintPreview_PaintPage" "', expected argument " "2"" of type '" "wxPreviewCanvas *""'");
30355 arg2
= reinterpret_cast< wxPreviewCanvas
* >(argp2
);
30356 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxDC
, 0 );
30357 if (!SWIG_IsOK(res3
)) {
30358 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "PrintPreview_PaintPage" "', expected argument " "3"" of type '" "wxDC &""'");
30361 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "PrintPreview_PaintPage" "', expected argument " "3"" of type '" "wxDC &""'");
30363 arg3
= reinterpret_cast< wxDC
* >(argp3
);
30365 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30366 result
= (bool)(arg1
)->PaintPage(arg2
,*arg3
);
30367 wxPyEndAllowThreads(__tstate
);
30368 if (PyErr_Occurred()) SWIG_fail
;
30371 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30379 SWIGINTERN PyObject
*_wrap_PrintPreview_DrawBlankPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30380 PyObject
*resultobj
= 0;
30381 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
30382 wxPreviewCanvas
*arg2
= (wxPreviewCanvas
*) 0 ;
30391 PyObject
* obj0
= 0 ;
30392 PyObject
* obj1
= 0 ;
30393 PyObject
* obj2
= 0 ;
30394 char * kwnames
[] = {
30395 (char *) "self",(char *) "canvas",(char *) "dc", NULL
30398 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PrintPreview_DrawBlankPage",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
30399 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintPreview
, 0 | 0 );
30400 if (!SWIG_IsOK(res1
)) {
30401 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintPreview_DrawBlankPage" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
30403 arg1
= reinterpret_cast< wxPrintPreview
* >(argp1
);
30404 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxPreviewCanvas
, 0 | 0 );
30405 if (!SWIG_IsOK(res2
)) {
30406 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PrintPreview_DrawBlankPage" "', expected argument " "2"" of type '" "wxPreviewCanvas *""'");
30408 arg2
= reinterpret_cast< wxPreviewCanvas
* >(argp2
);
30409 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxDC
, 0 );
30410 if (!SWIG_IsOK(res3
)) {
30411 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "PrintPreview_DrawBlankPage" "', expected argument " "3"" of type '" "wxDC &""'");
30414 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "PrintPreview_DrawBlankPage" "', expected argument " "3"" of type '" "wxDC &""'");
30416 arg3
= reinterpret_cast< wxDC
* >(argp3
);
30418 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30419 result
= (bool)(arg1
)->DrawBlankPage(arg2
,*arg3
);
30420 wxPyEndAllowThreads(__tstate
);
30421 if (PyErr_Occurred()) SWIG_fail
;
30424 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30432 SWIGINTERN PyObject
*_wrap_PrintPreview_RenderPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30433 PyObject
*resultobj
= 0;
30434 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
30441 PyObject
* obj0
= 0 ;
30442 PyObject
* obj1
= 0 ;
30443 char * kwnames
[] = {
30444 (char *) "self",(char *) "pageNum", NULL
30447 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintPreview_RenderPage",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
30448 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintPreview
, 0 | 0 );
30449 if (!SWIG_IsOK(res1
)) {
30450 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintPreview_RenderPage" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
30452 arg1
= reinterpret_cast< wxPrintPreview
* >(argp1
);
30453 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
30454 if (!SWIG_IsOK(ecode2
)) {
30455 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintPreview_RenderPage" "', expected argument " "2"" of type '" "int""'");
30457 arg2
= static_cast< int >(val2
);
30459 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30460 result
= (bool)(arg1
)->RenderPage(arg2
);
30461 wxPyEndAllowThreads(__tstate
);
30462 if (PyErr_Occurred()) SWIG_fail
;
30465 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30473 SWIGINTERN PyObject
*_wrap_PrintPreview_AdjustScrollbars(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30474 PyObject
*resultobj
= 0;
30475 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
30476 wxPreviewCanvas
*arg2
= (wxPreviewCanvas
*) 0 ;
30481 PyObject
* obj0
= 0 ;
30482 PyObject
* obj1
= 0 ;
30483 char * kwnames
[] = {
30484 (char *) "self",(char *) "canvas", NULL
30487 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintPreview_AdjustScrollbars",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
30488 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintPreview
, 0 | 0 );
30489 if (!SWIG_IsOK(res1
)) {
30490 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintPreview_AdjustScrollbars" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
30492 arg1
= reinterpret_cast< wxPrintPreview
* >(argp1
);
30493 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxPreviewCanvas
, 0 | 0 );
30494 if (!SWIG_IsOK(res2
)) {
30495 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PrintPreview_AdjustScrollbars" "', expected argument " "2"" of type '" "wxPreviewCanvas *""'");
30497 arg2
= reinterpret_cast< wxPreviewCanvas
* >(argp2
);
30499 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30500 (arg1
)->AdjustScrollbars(arg2
);
30501 wxPyEndAllowThreads(__tstate
);
30502 if (PyErr_Occurred()) SWIG_fail
;
30504 resultobj
= SWIG_Py_Void();
30511 SWIGINTERN PyObject
*_wrap_PrintPreview_GetPrintDialogData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30512 PyObject
*resultobj
= 0;
30513 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
30514 wxPrintDialogData
*result
= 0 ;
30517 PyObject
*swig_obj
[1] ;
30519 if (!args
) SWIG_fail
;
30520 swig_obj
[0] = args
;
30521 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintPreview
, 0 | 0 );
30522 if (!SWIG_IsOK(res1
)) {
30523 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintPreview_GetPrintDialogData" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
30525 arg1
= reinterpret_cast< wxPrintPreview
* >(argp1
);
30527 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30529 wxPrintDialogData
&_result_ref
= (arg1
)->GetPrintDialogData();
30530 result
= (wxPrintDialogData
*) &_result_ref
;
30532 wxPyEndAllowThreads(__tstate
);
30533 if (PyErr_Occurred()) SWIG_fail
;
30535 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
30542 SWIGINTERN PyObject
*_wrap_PrintPreview_SetZoom(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30543 PyObject
*resultobj
= 0;
30544 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
30550 PyObject
* obj0
= 0 ;
30551 PyObject
* obj1
= 0 ;
30552 char * kwnames
[] = {
30553 (char *) "self",(char *) "percent", NULL
30556 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintPreview_SetZoom",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
30557 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintPreview
, 0 | 0 );
30558 if (!SWIG_IsOK(res1
)) {
30559 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintPreview_SetZoom" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
30561 arg1
= reinterpret_cast< wxPrintPreview
* >(argp1
);
30562 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
30563 if (!SWIG_IsOK(ecode2
)) {
30564 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintPreview_SetZoom" "', expected argument " "2"" of type '" "int""'");
30566 arg2
= static_cast< int >(val2
);
30568 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30569 (arg1
)->SetZoom(arg2
);
30570 wxPyEndAllowThreads(__tstate
);
30571 if (PyErr_Occurred()) SWIG_fail
;
30573 resultobj
= SWIG_Py_Void();
30580 SWIGINTERN PyObject
*_wrap_PrintPreview_GetZoom(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30581 PyObject
*resultobj
= 0;
30582 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
30586 PyObject
*swig_obj
[1] ;
30588 if (!args
) SWIG_fail
;
30589 swig_obj
[0] = args
;
30590 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintPreview
, 0 | 0 );
30591 if (!SWIG_IsOK(res1
)) {
30592 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintPreview_GetZoom" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
30594 arg1
= reinterpret_cast< wxPrintPreview
* >(argp1
);
30596 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30597 result
= (int)(arg1
)->GetZoom();
30598 wxPyEndAllowThreads(__tstate
);
30599 if (PyErr_Occurred()) SWIG_fail
;
30601 resultobj
= SWIG_From_int(static_cast< int >(result
));
30608 SWIGINTERN PyObject
*_wrap_PrintPreview_GetMaxPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30609 PyObject
*resultobj
= 0;
30610 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
30614 PyObject
*swig_obj
[1] ;
30616 if (!args
) SWIG_fail
;
30617 swig_obj
[0] = args
;
30618 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintPreview
, 0 | 0 );
30619 if (!SWIG_IsOK(res1
)) {
30620 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintPreview_GetMaxPage" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
30622 arg1
= reinterpret_cast< wxPrintPreview
* >(argp1
);
30624 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30625 result
= (int)(arg1
)->GetMaxPage();
30626 wxPyEndAllowThreads(__tstate
);
30627 if (PyErr_Occurred()) SWIG_fail
;
30629 resultobj
= SWIG_From_int(static_cast< int >(result
));
30636 SWIGINTERN PyObject
*_wrap_PrintPreview_GetMinPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30637 PyObject
*resultobj
= 0;
30638 wxPrintPreview
*arg1
= (wxPrintPreview
*) 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_wxPrintPreview
, 0 | 0 );
30647 if (!SWIG_IsOK(res1
)) {
30648 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintPreview_GetMinPage" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
30650 arg1
= reinterpret_cast< wxPrintPreview
* >(argp1
);
30652 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30653 result
= (int)(arg1
)->GetMinPage();
30654 wxPyEndAllowThreads(__tstate
);
30655 if (PyErr_Occurred()) SWIG_fail
;
30657 resultobj
= SWIG_From_int(static_cast< int >(result
));
30664 SWIGINTERN PyObject
*_wrap_PrintPreview_IsOk(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30665 PyObject
*resultobj
= 0;
30666 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
30670 PyObject
*swig_obj
[1] ;
30672 if (!args
) SWIG_fail
;
30673 swig_obj
[0] = args
;
30674 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintPreview
, 0 | 0 );
30675 if (!SWIG_IsOK(res1
)) {
30676 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintPreview_IsOk" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
30678 arg1
= reinterpret_cast< wxPrintPreview
* >(argp1
);
30680 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30681 result
= (bool)(arg1
)->IsOk();
30682 wxPyEndAllowThreads(__tstate
);
30683 if (PyErr_Occurred()) SWIG_fail
;
30686 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30694 SWIGINTERN PyObject
*_wrap_PrintPreview_SetOk(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30695 PyObject
*resultobj
= 0;
30696 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
30702 PyObject
* obj0
= 0 ;
30703 PyObject
* obj1
= 0 ;
30704 char * kwnames
[] = {
30705 (char *) "self",(char *) "ok", NULL
30708 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintPreview_SetOk",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
30709 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintPreview
, 0 | 0 );
30710 if (!SWIG_IsOK(res1
)) {
30711 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintPreview_SetOk" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
30713 arg1
= reinterpret_cast< wxPrintPreview
* >(argp1
);
30714 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
30715 if (!SWIG_IsOK(ecode2
)) {
30716 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintPreview_SetOk" "', expected argument " "2"" of type '" "bool""'");
30718 arg2
= static_cast< bool >(val2
);
30720 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30721 (arg1
)->SetOk(arg2
);
30722 wxPyEndAllowThreads(__tstate
);
30723 if (PyErr_Occurred()) SWIG_fail
;
30725 resultobj
= SWIG_Py_Void();
30732 SWIGINTERN PyObject
*_wrap_PrintPreview_Print(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30733 PyObject
*resultobj
= 0;
30734 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
30741 PyObject
* obj0
= 0 ;
30742 PyObject
* obj1
= 0 ;
30743 char * kwnames
[] = {
30744 (char *) "self",(char *) "interactive", NULL
30747 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintPreview_Print",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
30748 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintPreview
, 0 | 0 );
30749 if (!SWIG_IsOK(res1
)) {
30750 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintPreview_Print" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
30752 arg1
= reinterpret_cast< wxPrintPreview
* >(argp1
);
30753 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
30754 if (!SWIG_IsOK(ecode2
)) {
30755 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintPreview_Print" "', expected argument " "2"" of type '" "bool""'");
30757 arg2
= static_cast< bool >(val2
);
30759 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30760 result
= (bool)(arg1
)->Print(arg2
);
30761 wxPyEndAllowThreads(__tstate
);
30762 if (PyErr_Occurred()) SWIG_fail
;
30765 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30773 SWIGINTERN PyObject
*_wrap_PrintPreview_DetermineScaling(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30774 PyObject
*resultobj
= 0;
30775 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
30778 PyObject
*swig_obj
[1] ;
30780 if (!args
) SWIG_fail
;
30781 swig_obj
[0] = args
;
30782 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintPreview
, 0 | 0 );
30783 if (!SWIG_IsOK(res1
)) {
30784 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintPreview_DetermineScaling" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
30786 arg1
= reinterpret_cast< wxPrintPreview
* >(argp1
);
30788 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30789 (arg1
)->DetermineScaling();
30790 wxPyEndAllowThreads(__tstate
);
30791 if (PyErr_Occurred()) SWIG_fail
;
30793 resultobj
= SWIG_Py_Void();
30800 SWIGINTERN PyObject
*PrintPreview_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30802 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
30803 SWIG_TypeNewClientData(SWIGTYPE_p_wxPrintPreview
, SWIG_NewClientData(obj
));
30804 return SWIG_Py_Void();
30807 SWIGINTERN PyObject
*PrintPreview_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30808 return SWIG_Python_InitShadowInstance(args
);
30811 SWIGINTERN PyObject
*_wrap_new_PyPrintPreview__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
30812 PyObject
*resultobj
= 0;
30813 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
30814 wxPyPrintout
*arg2
= (wxPyPrintout
*) 0 ;
30815 wxPrintDialogData
*arg3
= (wxPrintDialogData
*) NULL
;
30816 wxPyPrintPreview
*result
= 0 ;
30822 if ((nobjs
< 2) || (nobjs
> 3)) SWIG_fail
;
30823 res1
= SWIG_ConvertPtr(swig_obj
[0], SWIG_as_voidptrptr(&arg1
), SWIGTYPE_p_wxPyPrintout
, SWIG_POINTER_DISOWN
| 0 );
30824 if (!SWIG_IsOK(res1
)) {
30825 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PyPrintPreview" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
30827 res2
= SWIG_ConvertPtr(swig_obj
[1], SWIG_as_voidptrptr(&arg2
), SWIGTYPE_p_wxPyPrintout
, SWIG_POINTER_DISOWN
| 0 );
30828 if (!SWIG_IsOK(res2
)) {
30829 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_PyPrintPreview" "', expected argument " "2"" of type '" "wxPyPrintout *""'");
30832 res3
= SWIG_ConvertPtr(swig_obj
[2], &argp3
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
30833 if (!SWIG_IsOK(res3
)) {
30834 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "new_PyPrintPreview" "', expected argument " "3"" of type '" "wxPrintDialogData *""'");
30836 arg3
= reinterpret_cast< wxPrintDialogData
* >(argp3
);
30839 if (!wxPyCheckForApp()) SWIG_fail
;
30840 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30841 result
= (wxPyPrintPreview
*)new wxPyPrintPreview(arg1
,arg2
,arg3
);
30842 wxPyEndAllowThreads(__tstate
);
30843 if (PyErr_Occurred()) SWIG_fail
;
30845 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyPrintPreview
, SWIG_POINTER_NEW
| 0 );
30852 SWIGINTERN PyObject
*_wrap_new_PyPrintPreview__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
30853 PyObject
*resultobj
= 0;
30854 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
30855 wxPyPrintout
*arg2
= (wxPyPrintout
*) 0 ;
30856 wxPrintData
*arg3
= (wxPrintData
*) 0 ;
30857 wxPyPrintPreview
*result
= 0 ;
30863 if ((nobjs
< 3) || (nobjs
> 3)) SWIG_fail
;
30864 res1
= SWIG_ConvertPtr(swig_obj
[0], SWIG_as_voidptrptr(&arg1
), SWIGTYPE_p_wxPyPrintout
, SWIG_POINTER_DISOWN
| 0 );
30865 if (!SWIG_IsOK(res1
)) {
30866 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PyPrintPreview" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
30868 res2
= SWIG_ConvertPtr(swig_obj
[1], SWIG_as_voidptrptr(&arg2
), SWIGTYPE_p_wxPyPrintout
, SWIG_POINTER_DISOWN
| 0 );
30869 if (!SWIG_IsOK(res2
)) {
30870 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_PyPrintPreview" "', expected argument " "2"" of type '" "wxPyPrintout *""'");
30872 res3
= SWIG_ConvertPtr(swig_obj
[2], &argp3
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
30873 if (!SWIG_IsOK(res3
)) {
30874 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "new_PyPrintPreview" "', expected argument " "3"" of type '" "wxPrintData *""'");
30876 arg3
= reinterpret_cast< wxPrintData
* >(argp3
);
30878 if (!wxPyCheckForApp()) SWIG_fail
;
30879 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30880 result
= (wxPyPrintPreview
*)new wxPyPrintPreview(arg1
,arg2
,arg3
);
30881 wxPyEndAllowThreads(__tstate
);
30882 if (PyErr_Occurred()) SWIG_fail
;
30884 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyPrintPreview
, SWIG_POINTER_NEW
| 0 );
30891 SWIGINTERN PyObject
*_wrap_new_PyPrintPreview(PyObject
*self
, PyObject
*args
) {
30895 if (!(argc
= SWIG_Python_UnpackTuple(args
,"new_PyPrintPreview",0,3,argv
))) SWIG_fail
;
30897 if ((argc
>= 2) && (argc
<= 3)) {
30902 int res
= SWIG_ConvertPtr(argv
[2], &vptr
, SWIGTYPE_p_wxPrintDialogData
, 0);
30903 _v
= SWIG_CheckState(res
);
30905 if (!_v
) goto check_1
;
30907 return _wrap_new_PyPrintPreview__SWIG_0(self
, argc
, argv
);
30912 return _wrap_new_PyPrintPreview__SWIG_1(self
, argc
, argv
);
30916 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'new_PyPrintPreview'");
30921 SWIGINTERN PyObject
*_wrap_PyPrintPreview__setCallbackInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30922 PyObject
*resultobj
= 0;
30923 wxPyPrintPreview
*arg1
= (wxPyPrintPreview
*) 0 ;
30924 PyObject
*arg2
= (PyObject
*) 0 ;
30925 PyObject
*arg3
= (PyObject
*) 0 ;
30928 PyObject
* obj0
= 0 ;
30929 PyObject
* obj1
= 0 ;
30930 PyObject
* obj2
= 0 ;
30931 char * kwnames
[] = {
30932 (char *) "self",(char *) "self",(char *) "_class", NULL
30935 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyPrintPreview__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
30936 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPrintPreview
, 0 | 0 );
30937 if (!SWIG_IsOK(res1
)) {
30938 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyPrintPreview__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyPrintPreview *""'");
30940 arg1
= reinterpret_cast< wxPyPrintPreview
* >(argp1
);
30944 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30945 (arg1
)->_setCallbackInfo(arg2
,arg3
);
30946 wxPyEndAllowThreads(__tstate
);
30947 if (PyErr_Occurred()) SWIG_fail
;
30949 resultobj
= SWIG_Py_Void();
30956 SWIGINTERN PyObject
*PyPrintPreview_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30958 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
30959 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyPrintPreview
, SWIG_NewClientData(obj
));
30960 return SWIG_Py_Void();
30963 SWIGINTERN PyObject
*PyPrintPreview_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30964 return SWIG_Python_InitShadowInstance(args
);
30967 SWIGINTERN PyObject
*_wrap_new_PyPreviewFrame(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30968 PyObject
*resultobj
= 0;
30969 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
30970 wxFrame
*arg2
= (wxFrame
*) 0 ;
30971 wxString
*arg3
= 0 ;
30972 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
30973 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
30974 wxSize
const &arg5_defvalue
= wxDefaultSize
;
30975 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
30976 long arg6
= (long) wxDEFAULT_FRAME_STYLE
;
30977 wxString
const &arg7_defvalue
= wxPyFrameNameStr
;
30978 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
30979 wxPyPreviewFrame
*result
= 0 ;
30984 bool temp3
= false ;
30989 bool temp7
= false ;
30990 PyObject
* obj0
= 0 ;
30991 PyObject
* obj1
= 0 ;
30992 PyObject
* obj2
= 0 ;
30993 PyObject
* obj3
= 0 ;
30994 PyObject
* obj4
= 0 ;
30995 PyObject
* obj5
= 0 ;
30996 PyObject
* obj6
= 0 ;
30997 char * kwnames
[] = {
30998 (char *) "preview",(char *) "parent",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
31001 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:new_PyPreviewFrame",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
31002 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintPreview
, 0 | 0 );
31003 if (!SWIG_IsOK(res1
)) {
31004 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PyPreviewFrame" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
31006 arg1
= reinterpret_cast< wxPrintPreview
* >(argp1
);
31007 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxFrame
, 0 | 0 );
31008 if (!SWIG_IsOK(res2
)) {
31009 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_PyPreviewFrame" "', expected argument " "2"" of type '" "wxFrame *""'");
31011 arg2
= reinterpret_cast< wxFrame
* >(argp2
);
31013 arg3
= wxString_in_helper(obj2
);
31014 if (arg3
== NULL
) SWIG_fail
;
31020 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
31026 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
31030 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
31031 if (!SWIG_IsOK(ecode6
)) {
31032 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_PyPreviewFrame" "', expected argument " "6"" of type '" "long""'");
31034 arg6
= static_cast< long >(val6
);
31038 arg7
= wxString_in_helper(obj6
);
31039 if (arg7
== NULL
) SWIG_fail
;
31044 if (!wxPyCheckForApp()) SWIG_fail
;
31045 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31046 result
= (wxPyPreviewFrame
*)new wxPyPreviewFrame(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
31047 wxPyEndAllowThreads(__tstate
);
31048 if (PyErr_Occurred()) SWIG_fail
;
31050 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyPreviewFrame
, SWIG_POINTER_NEW
| 0 );
31073 SWIGINTERN PyObject
*_wrap_PyPreviewFrame__setCallbackInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31074 PyObject
*resultobj
= 0;
31075 wxPyPreviewFrame
*arg1
= (wxPyPreviewFrame
*) 0 ;
31076 PyObject
*arg2
= (PyObject
*) 0 ;
31077 PyObject
*arg3
= (PyObject
*) 0 ;
31080 PyObject
* obj0
= 0 ;
31081 PyObject
* obj1
= 0 ;
31082 PyObject
* obj2
= 0 ;
31083 char * kwnames
[] = {
31084 (char *) "self",(char *) "self",(char *) "_class", NULL
31087 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyPreviewFrame__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
31088 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPreviewFrame
, 0 | 0 );
31089 if (!SWIG_IsOK(res1
)) {
31090 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyPreviewFrame__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyPreviewFrame *""'");
31092 arg1
= reinterpret_cast< wxPyPreviewFrame
* >(argp1
);
31096 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31097 (arg1
)->_setCallbackInfo(arg2
,arg3
);
31098 wxPyEndAllowThreads(__tstate
);
31099 if (PyErr_Occurred()) SWIG_fail
;
31101 resultobj
= SWIG_Py_Void();
31108 SWIGINTERN PyObject
*_wrap_PyPreviewFrame_SetPreviewCanvas(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31109 PyObject
*resultobj
= 0;
31110 wxPyPreviewFrame
*arg1
= (wxPyPreviewFrame
*) 0 ;
31111 wxPreviewCanvas
*arg2
= (wxPreviewCanvas
*) 0 ;
31116 PyObject
* obj0
= 0 ;
31117 PyObject
* obj1
= 0 ;
31118 char * kwnames
[] = {
31119 (char *) "self",(char *) "canvas", NULL
31122 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyPreviewFrame_SetPreviewCanvas",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
31123 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPreviewFrame
, 0 | 0 );
31124 if (!SWIG_IsOK(res1
)) {
31125 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyPreviewFrame_SetPreviewCanvas" "', expected argument " "1"" of type '" "wxPyPreviewFrame *""'");
31127 arg1
= reinterpret_cast< wxPyPreviewFrame
* >(argp1
);
31128 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxPreviewCanvas
, 0 | 0 );
31129 if (!SWIG_IsOK(res2
)) {
31130 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PyPreviewFrame_SetPreviewCanvas" "', expected argument " "2"" of type '" "wxPreviewCanvas *""'");
31132 arg2
= reinterpret_cast< wxPreviewCanvas
* >(argp2
);
31134 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31135 (arg1
)->SetPreviewCanvas(arg2
);
31136 wxPyEndAllowThreads(__tstate
);
31137 if (PyErr_Occurred()) SWIG_fail
;
31139 resultobj
= SWIG_Py_Void();
31146 SWIGINTERN PyObject
*_wrap_PyPreviewFrame_SetControlBar(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31147 PyObject
*resultobj
= 0;
31148 wxPyPreviewFrame
*arg1
= (wxPyPreviewFrame
*) 0 ;
31149 wxPreviewControlBar
*arg2
= (wxPreviewControlBar
*) 0 ;
31154 PyObject
* obj0
= 0 ;
31155 PyObject
* obj1
= 0 ;
31156 char * kwnames
[] = {
31157 (char *) "self",(char *) "bar", NULL
31160 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyPreviewFrame_SetControlBar",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
31161 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPreviewFrame
, 0 | 0 );
31162 if (!SWIG_IsOK(res1
)) {
31163 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyPreviewFrame_SetControlBar" "', expected argument " "1"" of type '" "wxPyPreviewFrame *""'");
31165 arg1
= reinterpret_cast< wxPyPreviewFrame
* >(argp1
);
31166 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxPreviewControlBar
, 0 | 0 );
31167 if (!SWIG_IsOK(res2
)) {
31168 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PyPreviewFrame_SetControlBar" "', expected argument " "2"" of type '" "wxPreviewControlBar *""'");
31170 arg2
= reinterpret_cast< wxPreviewControlBar
* >(argp2
);
31172 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31173 (arg1
)->SetControlBar(arg2
);
31174 wxPyEndAllowThreads(__tstate
);
31175 if (PyErr_Occurred()) SWIG_fail
;
31177 resultobj
= SWIG_Py_Void();
31184 SWIGINTERN PyObject
*_wrap_PyPreviewFrame_Initialize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31185 PyObject
*resultobj
= 0;
31186 wxPyPreviewFrame
*arg1
= (wxPyPreviewFrame
*) 0 ;
31189 PyObject
*swig_obj
[1] ;
31191 if (!args
) SWIG_fail
;
31192 swig_obj
[0] = args
;
31193 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPreviewFrame
, 0 | 0 );
31194 if (!SWIG_IsOK(res1
)) {
31195 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyPreviewFrame_Initialize" "', expected argument " "1"" of type '" "wxPyPreviewFrame *""'");
31197 arg1
= reinterpret_cast< wxPyPreviewFrame
* >(argp1
);
31199 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31200 (arg1
)->Initialize();
31201 wxPyEndAllowThreads(__tstate
);
31202 if (PyErr_Occurred()) SWIG_fail
;
31204 resultobj
= SWIG_Py_Void();
31211 SWIGINTERN PyObject
*_wrap_PyPreviewFrame_CreateCanvas(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31212 PyObject
*resultobj
= 0;
31213 wxPyPreviewFrame
*arg1
= (wxPyPreviewFrame
*) 0 ;
31216 PyObject
*swig_obj
[1] ;
31218 if (!args
) SWIG_fail
;
31219 swig_obj
[0] = args
;
31220 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPreviewFrame
, 0 | 0 );
31221 if (!SWIG_IsOK(res1
)) {
31222 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyPreviewFrame_CreateCanvas" "', expected argument " "1"" of type '" "wxPyPreviewFrame *""'");
31224 arg1
= reinterpret_cast< wxPyPreviewFrame
* >(argp1
);
31226 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31227 (arg1
)->CreateCanvas();
31228 wxPyEndAllowThreads(__tstate
);
31229 if (PyErr_Occurred()) SWIG_fail
;
31231 resultobj
= SWIG_Py_Void();
31238 SWIGINTERN PyObject
*_wrap_PyPreviewFrame_CreateControlBar(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31239 PyObject
*resultobj
= 0;
31240 wxPyPreviewFrame
*arg1
= (wxPyPreviewFrame
*) 0 ;
31243 PyObject
*swig_obj
[1] ;
31245 if (!args
) SWIG_fail
;
31246 swig_obj
[0] = args
;
31247 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPreviewFrame
, 0 | 0 );
31248 if (!SWIG_IsOK(res1
)) {
31249 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyPreviewFrame_CreateControlBar" "', expected argument " "1"" of type '" "wxPyPreviewFrame *""'");
31251 arg1
= reinterpret_cast< wxPyPreviewFrame
* >(argp1
);
31253 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31254 (arg1
)->CreateControlBar();
31255 wxPyEndAllowThreads(__tstate
);
31256 if (PyErr_Occurred()) SWIG_fail
;
31258 resultobj
= SWIG_Py_Void();
31265 SWIGINTERN PyObject
*PyPreviewFrame_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31267 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
31268 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyPreviewFrame
, SWIG_NewClientData(obj
));
31269 return SWIG_Py_Void();
31272 SWIGINTERN PyObject
*PyPreviewFrame_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31273 return SWIG_Python_InitShadowInstance(args
);
31276 SWIGINTERN PyObject
*_wrap_new_PyPreviewControlBar(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31277 PyObject
*resultobj
= 0;
31278 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
31280 wxWindow
*arg3
= (wxWindow
*) 0 ;
31281 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
31282 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
31283 wxSize
const &arg5_defvalue
= wxDefaultSize
;
31284 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
31285 long arg6
= (long) 0 ;
31286 wxString
const &arg7_defvalue
= wxPyPanelNameStr
;
31287 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
31288 wxPyPreviewControlBar
*result
= 0 ;
31299 bool temp7
= false ;
31300 PyObject
* obj0
= 0 ;
31301 PyObject
* obj1
= 0 ;
31302 PyObject
* obj2
= 0 ;
31303 PyObject
* obj3
= 0 ;
31304 PyObject
* obj4
= 0 ;
31305 PyObject
* obj5
= 0 ;
31306 PyObject
* obj6
= 0 ;
31307 char * kwnames
[] = {
31308 (char *) "preview",(char *) "buttons",(char *) "parent",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
31311 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:new_PyPreviewControlBar",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
31312 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintPreview
, 0 | 0 );
31313 if (!SWIG_IsOK(res1
)) {
31314 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PyPreviewControlBar" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
31316 arg1
= reinterpret_cast< wxPrintPreview
* >(argp1
);
31317 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
31318 if (!SWIG_IsOK(ecode2
)) {
31319 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_PyPreviewControlBar" "', expected argument " "2"" of type '" "long""'");
31321 arg2
= static_cast< long >(val2
);
31322 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxWindow
, 0 | 0 );
31323 if (!SWIG_IsOK(res3
)) {
31324 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "new_PyPreviewControlBar" "', expected argument " "3"" of type '" "wxWindow *""'");
31326 arg3
= reinterpret_cast< wxWindow
* >(argp3
);
31330 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
31336 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
31340 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
31341 if (!SWIG_IsOK(ecode6
)) {
31342 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_PyPreviewControlBar" "', expected argument " "6"" of type '" "long""'");
31344 arg6
= static_cast< long >(val6
);
31348 arg7
= wxString_in_helper(obj6
);
31349 if (arg7
== NULL
) SWIG_fail
;
31354 if (!wxPyCheckForApp()) SWIG_fail
;
31355 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31356 result
= (wxPyPreviewControlBar
*)new wxPyPreviewControlBar(arg1
,arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
31357 wxPyEndAllowThreads(__tstate
);
31358 if (PyErr_Occurred()) SWIG_fail
;
31360 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyPreviewControlBar
, SWIG_POINTER_NEW
| 0 );
31375 SWIGINTERN PyObject
*_wrap_PyPreviewControlBar__setCallbackInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31376 PyObject
*resultobj
= 0;
31377 wxPyPreviewControlBar
*arg1
= (wxPyPreviewControlBar
*) 0 ;
31378 PyObject
*arg2
= (PyObject
*) 0 ;
31379 PyObject
*arg3
= (PyObject
*) 0 ;
31382 PyObject
* obj0
= 0 ;
31383 PyObject
* obj1
= 0 ;
31384 PyObject
* obj2
= 0 ;
31385 char * kwnames
[] = {
31386 (char *) "self",(char *) "self",(char *) "_class", NULL
31389 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyPreviewControlBar__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
31390 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPreviewControlBar
, 0 | 0 );
31391 if (!SWIG_IsOK(res1
)) {
31392 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyPreviewControlBar__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyPreviewControlBar *""'");
31394 arg1
= reinterpret_cast< wxPyPreviewControlBar
* >(argp1
);
31398 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31399 (arg1
)->_setCallbackInfo(arg2
,arg3
);
31400 wxPyEndAllowThreads(__tstate
);
31401 if (PyErr_Occurred()) SWIG_fail
;
31403 resultobj
= SWIG_Py_Void();
31410 SWIGINTERN PyObject
*_wrap_PyPreviewControlBar_SetPrintPreview(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31411 PyObject
*resultobj
= 0;
31412 wxPyPreviewControlBar
*arg1
= (wxPyPreviewControlBar
*) 0 ;
31413 wxPrintPreview
*arg2
= (wxPrintPreview
*) 0 ;
31418 PyObject
* obj0
= 0 ;
31419 PyObject
* obj1
= 0 ;
31420 char * kwnames
[] = {
31421 (char *) "self",(char *) "preview", NULL
31424 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyPreviewControlBar_SetPrintPreview",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
31425 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPreviewControlBar
, 0 | 0 );
31426 if (!SWIG_IsOK(res1
)) {
31427 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyPreviewControlBar_SetPrintPreview" "', expected argument " "1"" of type '" "wxPyPreviewControlBar *""'");
31429 arg1
= reinterpret_cast< wxPyPreviewControlBar
* >(argp1
);
31430 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxPrintPreview
, 0 | 0 );
31431 if (!SWIG_IsOK(res2
)) {
31432 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PyPreviewControlBar_SetPrintPreview" "', expected argument " "2"" of type '" "wxPrintPreview *""'");
31434 arg2
= reinterpret_cast< wxPrintPreview
* >(argp2
);
31436 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31437 (arg1
)->SetPrintPreview(arg2
);
31438 wxPyEndAllowThreads(__tstate
);
31439 if (PyErr_Occurred()) SWIG_fail
;
31441 resultobj
= SWIG_Py_Void();
31448 SWIGINTERN PyObject
*_wrap_PyPreviewControlBar_CreateButtons(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31449 PyObject
*resultobj
= 0;
31450 wxPyPreviewControlBar
*arg1
= (wxPyPreviewControlBar
*) 0 ;
31453 PyObject
*swig_obj
[1] ;
31455 if (!args
) SWIG_fail
;
31456 swig_obj
[0] = args
;
31457 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPreviewControlBar
, 0 | 0 );
31458 if (!SWIG_IsOK(res1
)) {
31459 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyPreviewControlBar_CreateButtons" "', expected argument " "1"" of type '" "wxPyPreviewControlBar *""'");
31461 arg1
= reinterpret_cast< wxPyPreviewControlBar
* >(argp1
);
31463 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31464 (arg1
)->CreateButtons();
31465 wxPyEndAllowThreads(__tstate
);
31466 if (PyErr_Occurred()) SWIG_fail
;
31468 resultobj
= SWIG_Py_Void();
31475 SWIGINTERN PyObject
*_wrap_PyPreviewControlBar_SetZoomControl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31476 PyObject
*resultobj
= 0;
31477 wxPyPreviewControlBar
*arg1
= (wxPyPreviewControlBar
*) 0 ;
31483 PyObject
* obj0
= 0 ;
31484 PyObject
* obj1
= 0 ;
31485 char * kwnames
[] = {
31486 (char *) "self",(char *) "zoom", NULL
31489 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyPreviewControlBar_SetZoomControl",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
31490 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPreviewControlBar
, 0 | 0 );
31491 if (!SWIG_IsOK(res1
)) {
31492 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyPreviewControlBar_SetZoomControl" "', expected argument " "1"" of type '" "wxPyPreviewControlBar *""'");
31494 arg1
= reinterpret_cast< wxPyPreviewControlBar
* >(argp1
);
31495 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
31496 if (!SWIG_IsOK(ecode2
)) {
31497 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PyPreviewControlBar_SetZoomControl" "', expected argument " "2"" of type '" "int""'");
31499 arg2
= static_cast< int >(val2
);
31501 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31502 (arg1
)->SetZoomControl(arg2
);
31503 wxPyEndAllowThreads(__tstate
);
31504 if (PyErr_Occurred()) SWIG_fail
;
31506 resultobj
= SWIG_Py_Void();
31513 SWIGINTERN PyObject
*PyPreviewControlBar_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31515 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
31516 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyPreviewControlBar
, SWIG_NewClientData(obj
));
31517 return SWIG_Py_Void();
31520 SWIGINTERN PyObject
*PyPreviewControlBar_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31521 return SWIG_Python_InitShadowInstance(args
);
31524 static PyMethodDef SwigMethods
[] = {
31525 { (char *)"new_Panel", (PyCFunction
) _wrap_new_Panel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31526 { (char *)"new_PrePanel", (PyCFunction
)_wrap_new_PrePanel
, METH_NOARGS
, NULL
},
31527 { (char *)"Panel_Create", (PyCFunction
) _wrap_Panel_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31528 { (char *)"Panel_SetFocusIgnoringChildren", (PyCFunction
)_wrap_Panel_SetFocusIgnoringChildren
, METH_O
, NULL
},
31529 { (char *)"Panel_GetClassDefaultAttributes", (PyCFunction
) _wrap_Panel_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31530 { (char *)"Panel_swigregister", Panel_swigregister
, METH_VARARGS
, NULL
},
31531 { (char *)"Panel_swiginit", Panel_swiginit
, METH_VARARGS
, NULL
},
31532 { (char *)"new_ScrolledWindow", (PyCFunction
) _wrap_new_ScrolledWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31533 { (char *)"new_PreScrolledWindow", (PyCFunction
)_wrap_new_PreScrolledWindow
, METH_NOARGS
, NULL
},
31534 { (char *)"ScrolledWindow_Create", (PyCFunction
) _wrap_ScrolledWindow_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31535 { (char *)"ScrolledWindow_SetScrollbars", (PyCFunction
) _wrap_ScrolledWindow_SetScrollbars
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31536 { (char *)"ScrolledWindow_Scroll", (PyCFunction
) _wrap_ScrolledWindow_Scroll
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31537 { (char *)"ScrolledWindow_GetScrollPageSize", (PyCFunction
) _wrap_ScrolledWindow_GetScrollPageSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31538 { (char *)"ScrolledWindow_SetScrollPageSize", (PyCFunction
) _wrap_ScrolledWindow_SetScrollPageSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31539 { (char *)"ScrolledWindow_SetScrollRate", (PyCFunction
) _wrap_ScrolledWindow_SetScrollRate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31540 { (char *)"ScrolledWindow_GetScrollPixelsPerUnit", (PyCFunction
)_wrap_ScrolledWindow_GetScrollPixelsPerUnit
, METH_O
, NULL
},
31541 { (char *)"ScrolledWindow_EnableScrolling", (PyCFunction
) _wrap_ScrolledWindow_EnableScrolling
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31542 { (char *)"ScrolledWindow_GetViewStart", (PyCFunction
)_wrap_ScrolledWindow_GetViewStart
, METH_O
, NULL
},
31543 { (char *)"ScrolledWindow_SetScale", (PyCFunction
) _wrap_ScrolledWindow_SetScale
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31544 { (char *)"ScrolledWindow_GetScaleX", (PyCFunction
)_wrap_ScrolledWindow_GetScaleX
, METH_O
, NULL
},
31545 { (char *)"ScrolledWindow_GetScaleY", (PyCFunction
)_wrap_ScrolledWindow_GetScaleY
, METH_O
, NULL
},
31546 { (char *)"ScrolledWindow_CalcScrolledPosition", _wrap_ScrolledWindow_CalcScrolledPosition
, METH_VARARGS
, NULL
},
31547 { (char *)"ScrolledWindow_CalcUnscrolledPosition", _wrap_ScrolledWindow_CalcUnscrolledPosition
, METH_VARARGS
, NULL
},
31548 { (char *)"ScrolledWindow_AdjustScrollbars", (PyCFunction
)_wrap_ScrolledWindow_AdjustScrollbars
, METH_O
, NULL
},
31549 { (char *)"ScrolledWindow_CalcScrollInc", (PyCFunction
) _wrap_ScrolledWindow_CalcScrollInc
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31550 { (char *)"ScrolledWindow_SetTargetWindow", (PyCFunction
) _wrap_ScrolledWindow_SetTargetWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31551 { (char *)"ScrolledWindow_GetTargetWindow", (PyCFunction
)_wrap_ScrolledWindow_GetTargetWindow
, METH_O
, NULL
},
31552 { (char *)"ScrolledWindow_SetTargetRect", (PyCFunction
) _wrap_ScrolledWindow_SetTargetRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31553 { (char *)"ScrolledWindow_GetTargetRect", (PyCFunction
)_wrap_ScrolledWindow_GetTargetRect
, METH_O
, NULL
},
31554 { (char *)"ScrolledWindow_DoPrepareDC", (PyCFunction
) _wrap_ScrolledWindow_DoPrepareDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31555 { (char *)"ScrolledWindow_GetClassDefaultAttributes", (PyCFunction
) _wrap_ScrolledWindow_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31556 { (char *)"ScrolledWindow_swigregister", ScrolledWindow_swigregister
, METH_VARARGS
, NULL
},
31557 { (char *)"ScrolledWindow_swiginit", ScrolledWindow_swiginit
, METH_VARARGS
, NULL
},
31558 { (char *)"TopLevelWindow_Maximize", (PyCFunction
) _wrap_TopLevelWindow_Maximize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31559 { (char *)"TopLevelWindow_Restore", (PyCFunction
)_wrap_TopLevelWindow_Restore
, METH_O
, NULL
},
31560 { (char *)"TopLevelWindow_Iconize", (PyCFunction
) _wrap_TopLevelWindow_Iconize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31561 { (char *)"TopLevelWindow_IsMaximized", (PyCFunction
)_wrap_TopLevelWindow_IsMaximized
, METH_O
, NULL
},
31562 { (char *)"TopLevelWindow_IsAlwaysMaximized", (PyCFunction
)_wrap_TopLevelWindow_IsAlwaysMaximized
, METH_O
, NULL
},
31563 { (char *)"TopLevelWindow_IsIconized", (PyCFunction
)_wrap_TopLevelWindow_IsIconized
, METH_O
, NULL
},
31564 { (char *)"TopLevelWindow_GetIcon", (PyCFunction
)_wrap_TopLevelWindow_GetIcon
, METH_O
, NULL
},
31565 { (char *)"TopLevelWindow_SetIcon", (PyCFunction
) _wrap_TopLevelWindow_SetIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31566 { (char *)"TopLevelWindow_SetIcons", (PyCFunction
) _wrap_TopLevelWindow_SetIcons
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31567 { (char *)"TopLevelWindow_ShowFullScreen", (PyCFunction
) _wrap_TopLevelWindow_ShowFullScreen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31568 { (char *)"TopLevelWindow_IsFullScreen", (PyCFunction
)_wrap_TopLevelWindow_IsFullScreen
, METH_O
, NULL
},
31569 { (char *)"TopLevelWindow_SetTitle", (PyCFunction
) _wrap_TopLevelWindow_SetTitle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31570 { (char *)"TopLevelWindow_GetTitle", (PyCFunction
)_wrap_TopLevelWindow_GetTitle
, METH_O
, NULL
},
31571 { (char *)"TopLevelWindow_EnableCloseButton", (PyCFunction
) _wrap_TopLevelWindow_EnableCloseButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31572 { (char *)"TopLevelWindow_SetShape", (PyCFunction
) _wrap_TopLevelWindow_SetShape
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31573 { (char *)"TopLevelWindow_RequestUserAttention", (PyCFunction
) _wrap_TopLevelWindow_RequestUserAttention
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31574 { (char *)"TopLevelWindow_IsActive", (PyCFunction
)_wrap_TopLevelWindow_IsActive
, METH_O
, NULL
},
31575 { (char *)"TopLevelWindow_MacSetMetalAppearance", (PyCFunction
) _wrap_TopLevelWindow_MacSetMetalAppearance
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31576 { (char *)"TopLevelWindow_MacGetMetalAppearance", (PyCFunction
)_wrap_TopLevelWindow_MacGetMetalAppearance
, METH_O
, NULL
},
31577 { (char *)"TopLevelWindow_CenterOnScreen", (PyCFunction
) _wrap_TopLevelWindow_CenterOnScreen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31578 { (char *)"TopLevelWindow_GetDefaultItem", (PyCFunction
)_wrap_TopLevelWindow_GetDefaultItem
, METH_O
, NULL
},
31579 { (char *)"TopLevelWindow_SetDefaultItem", (PyCFunction
) _wrap_TopLevelWindow_SetDefaultItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31580 { (char *)"TopLevelWindow_SetTmpDefaultItem", (PyCFunction
) _wrap_TopLevelWindow_SetTmpDefaultItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31581 { (char *)"TopLevelWindow_GetTmpDefaultItem", (PyCFunction
)_wrap_TopLevelWindow_GetTmpDefaultItem
, METH_O
, NULL
},
31582 { (char *)"TopLevelWindow_swigregister", TopLevelWindow_swigregister
, METH_VARARGS
, NULL
},
31583 { (char *)"new_Frame", (PyCFunction
) _wrap_new_Frame
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31584 { (char *)"new_PreFrame", (PyCFunction
)_wrap_new_PreFrame
, METH_NOARGS
, NULL
},
31585 { (char *)"Frame_Create", (PyCFunction
) _wrap_Frame_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31586 { (char *)"Frame_SendSizeEvent", (PyCFunction
)_wrap_Frame_SendSizeEvent
, METH_O
, NULL
},
31587 { (char *)"Frame_SetMenuBar", (PyCFunction
) _wrap_Frame_SetMenuBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31588 { (char *)"Frame_GetMenuBar", (PyCFunction
)_wrap_Frame_GetMenuBar
, METH_O
, NULL
},
31589 { (char *)"Frame_ProcessCommand", (PyCFunction
) _wrap_Frame_ProcessCommand
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31590 { (char *)"Frame_CreateStatusBar", (PyCFunction
) _wrap_Frame_CreateStatusBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31591 { (char *)"Frame_GetStatusBar", (PyCFunction
)_wrap_Frame_GetStatusBar
, METH_O
, NULL
},
31592 { (char *)"Frame_SetStatusBar", (PyCFunction
) _wrap_Frame_SetStatusBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31593 { (char *)"Frame_SetStatusText", (PyCFunction
) _wrap_Frame_SetStatusText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31594 { (char *)"Frame_SetStatusWidths", (PyCFunction
) _wrap_Frame_SetStatusWidths
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31595 { (char *)"Frame_PushStatusText", (PyCFunction
) _wrap_Frame_PushStatusText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31596 { (char *)"Frame_PopStatusText", (PyCFunction
) _wrap_Frame_PopStatusText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31597 { (char *)"Frame_SetStatusBarPane", (PyCFunction
) _wrap_Frame_SetStatusBarPane
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31598 { (char *)"Frame_GetStatusBarPane", (PyCFunction
)_wrap_Frame_GetStatusBarPane
, METH_O
, NULL
},
31599 { (char *)"Frame_CreateToolBar", (PyCFunction
) _wrap_Frame_CreateToolBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31600 { (char *)"Frame_GetToolBar", (PyCFunction
)_wrap_Frame_GetToolBar
, METH_O
, NULL
},
31601 { (char *)"Frame_SetToolBar", (PyCFunction
) _wrap_Frame_SetToolBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31602 { (char *)"Frame_DoGiveHelp", (PyCFunction
) _wrap_Frame_DoGiveHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31603 { (char *)"Frame_DoMenuUpdates", (PyCFunction
) _wrap_Frame_DoMenuUpdates
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31604 { (char *)"Frame_GetClassDefaultAttributes", (PyCFunction
) _wrap_Frame_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31605 { (char *)"Frame_swigregister", Frame_swigregister
, METH_VARARGS
, NULL
},
31606 { (char *)"Frame_swiginit", Frame_swiginit
, METH_VARARGS
, NULL
},
31607 { (char *)"new_Dialog", (PyCFunction
) _wrap_new_Dialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31608 { (char *)"new_PreDialog", (PyCFunction
)_wrap_new_PreDialog
, METH_NOARGS
, NULL
},
31609 { (char *)"Dialog_Create", (PyCFunction
) _wrap_Dialog_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31610 { (char *)"Dialog_SetReturnCode", (PyCFunction
) _wrap_Dialog_SetReturnCode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31611 { (char *)"Dialog_GetReturnCode", (PyCFunction
)_wrap_Dialog_GetReturnCode
, METH_O
, NULL
},
31612 { (char *)"Dialog_SetAffirmativeId", (PyCFunction
) _wrap_Dialog_SetAffirmativeId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31613 { (char *)"Dialog_GetAffirmativeId", (PyCFunction
)_wrap_Dialog_GetAffirmativeId
, METH_O
, NULL
},
31614 { (char *)"Dialog_SetEscapeId", (PyCFunction
) _wrap_Dialog_SetEscapeId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31615 { (char *)"Dialog_GetEscapeId", (PyCFunction
)_wrap_Dialog_GetEscapeId
, METH_O
, NULL
},
31616 { (char *)"Dialog_CreateTextSizer", (PyCFunction
) _wrap_Dialog_CreateTextSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31617 { (char *)"Dialog__CreateButtonSizer", (PyCFunction
) _wrap_Dialog__CreateButtonSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31618 { (char *)"Dialog_CreateSeparatedButtonSizer", (PyCFunction
) _wrap_Dialog_CreateSeparatedButtonSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31619 { (char *)"Dialog_CreateStdDialogButtonSizer", (PyCFunction
) _wrap_Dialog_CreateStdDialogButtonSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31620 { (char *)"Dialog_IsModal", (PyCFunction
)_wrap_Dialog_IsModal
, METH_O
, NULL
},
31621 { (char *)"Dialog_ShowModal", (PyCFunction
)_wrap_Dialog_ShowModal
, METH_O
, NULL
},
31622 { (char *)"Dialog_EndModal", (PyCFunction
) _wrap_Dialog_EndModal
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31623 { (char *)"Dialog_GetClassDefaultAttributes", (PyCFunction
) _wrap_Dialog_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31624 { (char *)"Dialog_swigregister", Dialog_swigregister
, METH_VARARGS
, NULL
},
31625 { (char *)"Dialog_swiginit", Dialog_swiginit
, METH_VARARGS
, NULL
},
31626 { (char *)"new_MiniFrame", (PyCFunction
) _wrap_new_MiniFrame
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31627 { (char *)"new_PreMiniFrame", (PyCFunction
)_wrap_new_PreMiniFrame
, METH_NOARGS
, NULL
},
31628 { (char *)"MiniFrame_Create", (PyCFunction
) _wrap_MiniFrame_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31629 { (char *)"MiniFrame_swigregister", MiniFrame_swigregister
, METH_VARARGS
, NULL
},
31630 { (char *)"MiniFrame_swiginit", MiniFrame_swiginit
, METH_VARARGS
, NULL
},
31631 { (char *)"new_SplashScreenWindow", (PyCFunction
) _wrap_new_SplashScreenWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31632 { (char *)"SplashScreenWindow_SetBitmap", (PyCFunction
) _wrap_SplashScreenWindow_SetBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31633 { (char *)"SplashScreenWindow_GetBitmap", (PyCFunction
)_wrap_SplashScreenWindow_GetBitmap
, METH_O
, NULL
},
31634 { (char *)"SplashScreenWindow_swigregister", SplashScreenWindow_swigregister
, METH_VARARGS
, NULL
},
31635 { (char *)"SplashScreenWindow_swiginit", SplashScreenWindow_swiginit
, METH_VARARGS
, NULL
},
31636 { (char *)"new_SplashScreen", (PyCFunction
) _wrap_new_SplashScreen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31637 { (char *)"SplashScreen_GetSplashStyle", (PyCFunction
)_wrap_SplashScreen_GetSplashStyle
, METH_O
, NULL
},
31638 { (char *)"SplashScreen_GetSplashWindow", (PyCFunction
)_wrap_SplashScreen_GetSplashWindow
, METH_O
, NULL
},
31639 { (char *)"SplashScreen_GetTimeout", (PyCFunction
)_wrap_SplashScreen_GetTimeout
, METH_O
, NULL
},
31640 { (char *)"SplashScreen_swigregister", SplashScreen_swigregister
, METH_VARARGS
, NULL
},
31641 { (char *)"SplashScreen_swiginit", SplashScreen_swiginit
, METH_VARARGS
, NULL
},
31642 { (char *)"new_StatusBar", (PyCFunction
) _wrap_new_StatusBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31643 { (char *)"new_PreStatusBar", (PyCFunction
)_wrap_new_PreStatusBar
, METH_NOARGS
, NULL
},
31644 { (char *)"StatusBar_Create", (PyCFunction
) _wrap_StatusBar_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31645 { (char *)"StatusBar_SetFieldsCount", (PyCFunction
) _wrap_StatusBar_SetFieldsCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31646 { (char *)"StatusBar_GetFieldsCount", (PyCFunction
)_wrap_StatusBar_GetFieldsCount
, METH_O
, NULL
},
31647 { (char *)"StatusBar_SetStatusText", (PyCFunction
) _wrap_StatusBar_SetStatusText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31648 { (char *)"StatusBar_GetStatusText", (PyCFunction
) _wrap_StatusBar_GetStatusText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31649 { (char *)"StatusBar_PushStatusText", (PyCFunction
) _wrap_StatusBar_PushStatusText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31650 { (char *)"StatusBar_PopStatusText", (PyCFunction
) _wrap_StatusBar_PopStatusText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31651 { (char *)"StatusBar_SetStatusWidths", (PyCFunction
) _wrap_StatusBar_SetStatusWidths
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31652 { (char *)"StatusBar_SetStatusStyles", (PyCFunction
) _wrap_StatusBar_SetStatusStyles
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31653 { (char *)"StatusBar_GetFieldRect", (PyCFunction
) _wrap_StatusBar_GetFieldRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31654 { (char *)"StatusBar_SetMinHeight", (PyCFunction
) _wrap_StatusBar_SetMinHeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31655 { (char *)"StatusBar_GetBorderX", (PyCFunction
)_wrap_StatusBar_GetBorderX
, METH_O
, NULL
},
31656 { (char *)"StatusBar_GetBorderY", (PyCFunction
)_wrap_StatusBar_GetBorderY
, METH_O
, NULL
},
31657 { (char *)"StatusBar_GetClassDefaultAttributes", (PyCFunction
) _wrap_StatusBar_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31658 { (char *)"StatusBar_swigregister", StatusBar_swigregister
, METH_VARARGS
, NULL
},
31659 { (char *)"StatusBar_swiginit", StatusBar_swiginit
, METH_VARARGS
, NULL
},
31660 { (char *)"new_SplitterWindow", (PyCFunction
) _wrap_new_SplitterWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31661 { (char *)"new_PreSplitterWindow", (PyCFunction
)_wrap_new_PreSplitterWindow
, METH_NOARGS
, NULL
},
31662 { (char *)"SplitterWindow_Create", (PyCFunction
) _wrap_SplitterWindow_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31663 { (char *)"SplitterWindow_GetWindow1", (PyCFunction
)_wrap_SplitterWindow_GetWindow1
, METH_O
, NULL
},
31664 { (char *)"SplitterWindow_GetWindow2", (PyCFunction
)_wrap_SplitterWindow_GetWindow2
, METH_O
, NULL
},
31665 { (char *)"SplitterWindow_SetSplitMode", (PyCFunction
) _wrap_SplitterWindow_SetSplitMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31666 { (char *)"SplitterWindow_GetSplitMode", (PyCFunction
)_wrap_SplitterWindow_GetSplitMode
, METH_O
, NULL
},
31667 { (char *)"SplitterWindow_Initialize", (PyCFunction
) _wrap_SplitterWindow_Initialize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31668 { (char *)"SplitterWindow_SplitVertically", (PyCFunction
) _wrap_SplitterWindow_SplitVertically
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31669 { (char *)"SplitterWindow_SplitHorizontally", (PyCFunction
) _wrap_SplitterWindow_SplitHorizontally
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31670 { (char *)"SplitterWindow_Unsplit", (PyCFunction
) _wrap_SplitterWindow_Unsplit
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31671 { (char *)"SplitterWindow_ReplaceWindow", (PyCFunction
) _wrap_SplitterWindow_ReplaceWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31672 { (char *)"SplitterWindow_UpdateSize", (PyCFunction
)_wrap_SplitterWindow_UpdateSize
, METH_O
, NULL
},
31673 { (char *)"SplitterWindow_IsSplit", (PyCFunction
)_wrap_SplitterWindow_IsSplit
, METH_O
, NULL
},
31674 { (char *)"SplitterWindow_SetSashSize", (PyCFunction
) _wrap_SplitterWindow_SetSashSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31675 { (char *)"SplitterWindow_SetBorderSize", (PyCFunction
) _wrap_SplitterWindow_SetBorderSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31676 { (char *)"SplitterWindow_GetSashSize", (PyCFunction
)_wrap_SplitterWindow_GetSashSize
, METH_O
, NULL
},
31677 { (char *)"SplitterWindow_GetBorderSize", (PyCFunction
)_wrap_SplitterWindow_GetBorderSize
, METH_O
, NULL
},
31678 { (char *)"SplitterWindow_SetSashPosition", (PyCFunction
) _wrap_SplitterWindow_SetSashPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31679 { (char *)"SplitterWindow_GetSashPosition", (PyCFunction
)_wrap_SplitterWindow_GetSashPosition
, METH_O
, NULL
},
31680 { (char *)"SplitterWindow_SetSashGravity", (PyCFunction
) _wrap_SplitterWindow_SetSashGravity
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31681 { (char *)"SplitterWindow_GetSashGravity", (PyCFunction
)_wrap_SplitterWindow_GetSashGravity
, METH_O
, NULL
},
31682 { (char *)"SplitterWindow_SetMinimumPaneSize", (PyCFunction
) _wrap_SplitterWindow_SetMinimumPaneSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31683 { (char *)"SplitterWindow_GetMinimumPaneSize", (PyCFunction
)_wrap_SplitterWindow_GetMinimumPaneSize
, METH_O
, NULL
},
31684 { (char *)"SplitterWindow_SashHitTest", (PyCFunction
) _wrap_SplitterWindow_SashHitTest
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31685 { (char *)"SplitterWindow_SizeWindows", (PyCFunction
)_wrap_SplitterWindow_SizeWindows
, METH_O
, NULL
},
31686 { (char *)"SplitterWindow_SetNeedUpdating", (PyCFunction
) _wrap_SplitterWindow_SetNeedUpdating
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31687 { (char *)"SplitterWindow_GetNeedUpdating", (PyCFunction
)_wrap_SplitterWindow_GetNeedUpdating
, METH_O
, NULL
},
31688 { (char *)"SplitterWindow_GetClassDefaultAttributes", (PyCFunction
) _wrap_SplitterWindow_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31689 { (char *)"SplitterWindow_swigregister", SplitterWindow_swigregister
, METH_VARARGS
, NULL
},
31690 { (char *)"SplitterWindow_swiginit", SplitterWindow_swiginit
, METH_VARARGS
, NULL
},
31691 { (char *)"new_SplitterEvent", (PyCFunction
) _wrap_new_SplitterEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31692 { (char *)"SplitterEvent_SetSashPosition", (PyCFunction
) _wrap_SplitterEvent_SetSashPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31693 { (char *)"SplitterEvent_GetSashPosition", (PyCFunction
)_wrap_SplitterEvent_GetSashPosition
, METH_O
, NULL
},
31694 { (char *)"SplitterEvent_GetWindowBeingRemoved", (PyCFunction
)_wrap_SplitterEvent_GetWindowBeingRemoved
, METH_O
, NULL
},
31695 { (char *)"SplitterEvent_GetX", (PyCFunction
)_wrap_SplitterEvent_GetX
, METH_O
, NULL
},
31696 { (char *)"SplitterEvent_GetY", (PyCFunction
)_wrap_SplitterEvent_GetY
, METH_O
, NULL
},
31697 { (char *)"SplitterEvent_swigregister", SplitterEvent_swigregister
, METH_VARARGS
, NULL
},
31698 { (char *)"SplitterEvent_swiginit", SplitterEvent_swiginit
, METH_VARARGS
, NULL
},
31699 { (char *)"new_SashWindow", (PyCFunction
) _wrap_new_SashWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31700 { (char *)"new_PreSashWindow", (PyCFunction
)_wrap_new_PreSashWindow
, METH_NOARGS
, NULL
},
31701 { (char *)"SashWindow_Create", (PyCFunction
) _wrap_SashWindow_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31702 { (char *)"SashWindow_SetSashVisible", (PyCFunction
) _wrap_SashWindow_SetSashVisible
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31703 { (char *)"SashWindow_GetSashVisible", (PyCFunction
) _wrap_SashWindow_GetSashVisible
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31704 { (char *)"SashWindow_SetSashBorder", (PyCFunction
) _wrap_SashWindow_SetSashBorder
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31705 { (char *)"SashWindow_HasBorder", (PyCFunction
) _wrap_SashWindow_HasBorder
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31706 { (char *)"SashWindow_GetEdgeMargin", (PyCFunction
) _wrap_SashWindow_GetEdgeMargin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31707 { (char *)"SashWindow_SetDefaultBorderSize", (PyCFunction
) _wrap_SashWindow_SetDefaultBorderSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31708 { (char *)"SashWindow_GetDefaultBorderSize", (PyCFunction
)_wrap_SashWindow_GetDefaultBorderSize
, METH_O
, NULL
},
31709 { (char *)"SashWindow_SetExtraBorderSize", (PyCFunction
) _wrap_SashWindow_SetExtraBorderSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31710 { (char *)"SashWindow_GetExtraBorderSize", (PyCFunction
)_wrap_SashWindow_GetExtraBorderSize
, METH_O
, NULL
},
31711 { (char *)"SashWindow_SetMinimumSizeX", (PyCFunction
) _wrap_SashWindow_SetMinimumSizeX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31712 { (char *)"SashWindow_SetMinimumSizeY", (PyCFunction
) _wrap_SashWindow_SetMinimumSizeY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31713 { (char *)"SashWindow_GetMinimumSizeX", (PyCFunction
)_wrap_SashWindow_GetMinimumSizeX
, METH_O
, NULL
},
31714 { (char *)"SashWindow_GetMinimumSizeY", (PyCFunction
)_wrap_SashWindow_GetMinimumSizeY
, METH_O
, NULL
},
31715 { (char *)"SashWindow_SetMaximumSizeX", (PyCFunction
) _wrap_SashWindow_SetMaximumSizeX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31716 { (char *)"SashWindow_SetMaximumSizeY", (PyCFunction
) _wrap_SashWindow_SetMaximumSizeY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31717 { (char *)"SashWindow_GetMaximumSizeX", (PyCFunction
)_wrap_SashWindow_GetMaximumSizeX
, METH_O
, NULL
},
31718 { (char *)"SashWindow_GetMaximumSizeY", (PyCFunction
)_wrap_SashWindow_GetMaximumSizeY
, METH_O
, NULL
},
31719 { (char *)"SashWindow_SashHitTest", (PyCFunction
) _wrap_SashWindow_SashHitTest
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31720 { (char *)"SashWindow_SizeWindows", (PyCFunction
)_wrap_SashWindow_SizeWindows
, METH_O
, NULL
},
31721 { (char *)"SashWindow_swigregister", SashWindow_swigregister
, METH_VARARGS
, NULL
},
31722 { (char *)"SashWindow_swiginit", SashWindow_swiginit
, METH_VARARGS
, NULL
},
31723 { (char *)"new_SashEvent", (PyCFunction
) _wrap_new_SashEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31724 { (char *)"SashEvent_SetEdge", (PyCFunction
) _wrap_SashEvent_SetEdge
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31725 { (char *)"SashEvent_GetEdge", (PyCFunction
)_wrap_SashEvent_GetEdge
, METH_O
, NULL
},
31726 { (char *)"SashEvent_SetDragRect", (PyCFunction
) _wrap_SashEvent_SetDragRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31727 { (char *)"SashEvent_GetDragRect", (PyCFunction
)_wrap_SashEvent_GetDragRect
, METH_O
, NULL
},
31728 { (char *)"SashEvent_SetDragStatus", (PyCFunction
) _wrap_SashEvent_SetDragStatus
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31729 { (char *)"SashEvent_GetDragStatus", (PyCFunction
)_wrap_SashEvent_GetDragStatus
, METH_O
, NULL
},
31730 { (char *)"SashEvent_swigregister", SashEvent_swigregister
, METH_VARARGS
, NULL
},
31731 { (char *)"SashEvent_swiginit", SashEvent_swiginit
, METH_VARARGS
, NULL
},
31732 { (char *)"new_QueryLayoutInfoEvent", (PyCFunction
) _wrap_new_QueryLayoutInfoEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31733 { (char *)"QueryLayoutInfoEvent_SetRequestedLength", (PyCFunction
) _wrap_QueryLayoutInfoEvent_SetRequestedLength
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31734 { (char *)"QueryLayoutInfoEvent_GetRequestedLength", (PyCFunction
)_wrap_QueryLayoutInfoEvent_GetRequestedLength
, METH_O
, NULL
},
31735 { (char *)"QueryLayoutInfoEvent_SetFlags", (PyCFunction
) _wrap_QueryLayoutInfoEvent_SetFlags
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31736 { (char *)"QueryLayoutInfoEvent_GetFlags", (PyCFunction
)_wrap_QueryLayoutInfoEvent_GetFlags
, METH_O
, NULL
},
31737 { (char *)"QueryLayoutInfoEvent_SetSize", (PyCFunction
) _wrap_QueryLayoutInfoEvent_SetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31738 { (char *)"QueryLayoutInfoEvent_GetSize", (PyCFunction
)_wrap_QueryLayoutInfoEvent_GetSize
, METH_O
, NULL
},
31739 { (char *)"QueryLayoutInfoEvent_SetOrientation", (PyCFunction
) _wrap_QueryLayoutInfoEvent_SetOrientation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31740 { (char *)"QueryLayoutInfoEvent_GetOrientation", (PyCFunction
)_wrap_QueryLayoutInfoEvent_GetOrientation
, METH_O
, NULL
},
31741 { (char *)"QueryLayoutInfoEvent_SetAlignment", (PyCFunction
) _wrap_QueryLayoutInfoEvent_SetAlignment
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31742 { (char *)"QueryLayoutInfoEvent_GetAlignment", (PyCFunction
)_wrap_QueryLayoutInfoEvent_GetAlignment
, METH_O
, NULL
},
31743 { (char *)"QueryLayoutInfoEvent_swigregister", QueryLayoutInfoEvent_swigregister
, METH_VARARGS
, NULL
},
31744 { (char *)"QueryLayoutInfoEvent_swiginit", QueryLayoutInfoEvent_swiginit
, METH_VARARGS
, NULL
},
31745 { (char *)"new_CalculateLayoutEvent", (PyCFunction
) _wrap_new_CalculateLayoutEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31746 { (char *)"CalculateLayoutEvent_SetFlags", (PyCFunction
) _wrap_CalculateLayoutEvent_SetFlags
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31747 { (char *)"CalculateLayoutEvent_GetFlags", (PyCFunction
)_wrap_CalculateLayoutEvent_GetFlags
, METH_O
, NULL
},
31748 { (char *)"CalculateLayoutEvent_SetRect", (PyCFunction
) _wrap_CalculateLayoutEvent_SetRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31749 { (char *)"CalculateLayoutEvent_GetRect", (PyCFunction
)_wrap_CalculateLayoutEvent_GetRect
, METH_O
, NULL
},
31750 { (char *)"CalculateLayoutEvent_swigregister", CalculateLayoutEvent_swigregister
, METH_VARARGS
, NULL
},
31751 { (char *)"CalculateLayoutEvent_swiginit", CalculateLayoutEvent_swiginit
, METH_VARARGS
, NULL
},
31752 { (char *)"new_SashLayoutWindow", (PyCFunction
) _wrap_new_SashLayoutWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31753 { (char *)"new_PreSashLayoutWindow", (PyCFunction
)_wrap_new_PreSashLayoutWindow
, METH_NOARGS
, NULL
},
31754 { (char *)"SashLayoutWindow_Create", (PyCFunction
) _wrap_SashLayoutWindow_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31755 { (char *)"SashLayoutWindow_GetAlignment", (PyCFunction
)_wrap_SashLayoutWindow_GetAlignment
, METH_O
, NULL
},
31756 { (char *)"SashLayoutWindow_GetOrientation", (PyCFunction
)_wrap_SashLayoutWindow_GetOrientation
, METH_O
, NULL
},
31757 { (char *)"SashLayoutWindow_SetAlignment", (PyCFunction
) _wrap_SashLayoutWindow_SetAlignment
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31758 { (char *)"SashLayoutWindow_SetDefaultSize", (PyCFunction
) _wrap_SashLayoutWindow_SetDefaultSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31759 { (char *)"SashLayoutWindow_SetOrientation", (PyCFunction
) _wrap_SashLayoutWindow_SetOrientation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31760 { (char *)"SashLayoutWindow_swigregister", SashLayoutWindow_swigregister
, METH_VARARGS
, NULL
},
31761 { (char *)"SashLayoutWindow_swiginit", SashLayoutWindow_swiginit
, METH_VARARGS
, NULL
},
31762 { (char *)"new_LayoutAlgorithm", (PyCFunction
)_wrap_new_LayoutAlgorithm
, METH_NOARGS
, NULL
},
31763 { (char *)"delete_LayoutAlgorithm", (PyCFunction
)_wrap_delete_LayoutAlgorithm
, METH_O
, NULL
},
31764 { (char *)"LayoutAlgorithm_LayoutMDIFrame", (PyCFunction
) _wrap_LayoutAlgorithm_LayoutMDIFrame
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31765 { (char *)"LayoutAlgorithm_LayoutFrame", (PyCFunction
) _wrap_LayoutAlgorithm_LayoutFrame
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31766 { (char *)"LayoutAlgorithm_LayoutWindow", (PyCFunction
) _wrap_LayoutAlgorithm_LayoutWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31767 { (char *)"LayoutAlgorithm_swigregister", LayoutAlgorithm_swigregister
, METH_VARARGS
, NULL
},
31768 { (char *)"LayoutAlgorithm_swiginit", LayoutAlgorithm_swiginit
, METH_VARARGS
, NULL
},
31769 { (char *)"new_PopupWindow", (PyCFunction
) _wrap_new_PopupWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31770 { (char *)"new_PrePopupWindow", (PyCFunction
)_wrap_new_PrePopupWindow
, METH_NOARGS
, NULL
},
31771 { (char *)"PopupWindow_Create", (PyCFunction
) _wrap_PopupWindow_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31772 { (char *)"PopupWindow_Position", (PyCFunction
) _wrap_PopupWindow_Position
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31773 { (char *)"PopupWindow_swigregister", PopupWindow_swigregister
, METH_VARARGS
, NULL
},
31774 { (char *)"PopupWindow_swiginit", PopupWindow_swiginit
, METH_VARARGS
, NULL
},
31775 { (char *)"new_PopupTransientWindow", (PyCFunction
) _wrap_new_PopupTransientWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31776 { (char *)"new_PrePopupTransientWindow", (PyCFunction
)_wrap_new_PrePopupTransientWindow
, METH_NOARGS
, NULL
},
31777 { (char *)"PopupTransientWindow__setCallbackInfo", (PyCFunction
) _wrap_PopupTransientWindow__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31778 { (char *)"PopupTransientWindow_Popup", (PyCFunction
) _wrap_PopupTransientWindow_Popup
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31779 { (char *)"PopupTransientWindow_Dismiss", (PyCFunction
)_wrap_PopupTransientWindow_Dismiss
, METH_O
, NULL
},
31780 { (char *)"PopupTransientWindow_swigregister", PopupTransientWindow_swigregister
, METH_VARARGS
, NULL
},
31781 { (char *)"PopupTransientWindow_swiginit", PopupTransientWindow_swiginit
, METH_VARARGS
, NULL
},
31782 { (char *)"new_TipWindow", (PyCFunction
) _wrap_new_TipWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31783 { (char *)"TipWindow_SetBoundingRect", (PyCFunction
) _wrap_TipWindow_SetBoundingRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31784 { (char *)"TipWindow_Close", (PyCFunction
)_wrap_TipWindow_Close
, METH_O
, NULL
},
31785 { (char *)"TipWindow_swigregister", TipWindow_swigregister
, METH_VARARGS
, NULL
},
31786 { (char *)"TipWindow_swiginit", TipWindow_swiginit
, METH_VARARGS
, NULL
},
31787 { (char *)"new_VScrolledWindow", (PyCFunction
) _wrap_new_VScrolledWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31788 { (char *)"new_PreVScrolledWindow", (PyCFunction
)_wrap_new_PreVScrolledWindow
, METH_NOARGS
, NULL
},
31789 { (char *)"VScrolledWindow__setCallbackInfo", (PyCFunction
) _wrap_VScrolledWindow__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31790 { (char *)"VScrolledWindow_Create", (PyCFunction
) _wrap_VScrolledWindow_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31791 { (char *)"VScrolledWindow_SetLineCount", (PyCFunction
) _wrap_VScrolledWindow_SetLineCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31792 { (char *)"VScrolledWindow_ScrollToLine", (PyCFunction
) _wrap_VScrolledWindow_ScrollToLine
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31793 { (char *)"VScrolledWindow_RefreshLine", (PyCFunction
) _wrap_VScrolledWindow_RefreshLine
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31794 { (char *)"VScrolledWindow_RefreshLines", (PyCFunction
) _wrap_VScrolledWindow_RefreshLines
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31795 { (char *)"VScrolledWindow_HitTestXY", (PyCFunction
) _wrap_VScrolledWindow_HitTestXY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31796 { (char *)"VScrolledWindow_HitTest", (PyCFunction
) _wrap_VScrolledWindow_HitTest
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31797 { (char *)"VScrolledWindow_RefreshAll", (PyCFunction
)_wrap_VScrolledWindow_RefreshAll
, METH_O
, NULL
},
31798 { (char *)"VScrolledWindow_GetLineCount", (PyCFunction
)_wrap_VScrolledWindow_GetLineCount
, METH_O
, NULL
},
31799 { (char *)"VScrolledWindow_GetVisibleBegin", (PyCFunction
)_wrap_VScrolledWindow_GetVisibleBegin
, METH_O
, NULL
},
31800 { (char *)"VScrolledWindow_GetVisibleEnd", (PyCFunction
)_wrap_VScrolledWindow_GetVisibleEnd
, METH_O
, NULL
},
31801 { (char *)"VScrolledWindow_IsVisible", (PyCFunction
) _wrap_VScrolledWindow_IsVisible
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31802 { (char *)"VScrolledWindow_GetFirstVisibleLine", (PyCFunction
)_wrap_VScrolledWindow_GetFirstVisibleLine
, METH_O
, NULL
},
31803 { (char *)"VScrolledWindow_GetLastVisibleLine", (PyCFunction
)_wrap_VScrolledWindow_GetLastVisibleLine
, METH_O
, NULL
},
31804 { (char *)"VScrolledWindow_FindFirstFromBottom", (PyCFunction
) _wrap_VScrolledWindow_FindFirstFromBottom
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31805 { (char *)"VScrolledWindow_GetLinesHeight", (PyCFunction
) _wrap_VScrolledWindow_GetLinesHeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31806 { (char *)"VScrolledWindow_swigregister", VScrolledWindow_swigregister
, METH_VARARGS
, NULL
},
31807 { (char *)"VScrolledWindow_swiginit", VScrolledWindow_swiginit
, METH_VARARGS
, NULL
},
31808 { (char *)"new_VListBox", (PyCFunction
) _wrap_new_VListBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31809 { (char *)"new_PreVListBox", (PyCFunction
)_wrap_new_PreVListBox
, METH_NOARGS
, NULL
},
31810 { (char *)"VListBox__setCallbackInfo", (PyCFunction
) _wrap_VListBox__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31811 { (char *)"VListBox_Create", (PyCFunction
) _wrap_VListBox_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31812 { (char *)"VListBox_GetItemCount", (PyCFunction
)_wrap_VListBox_GetItemCount
, METH_O
, NULL
},
31813 { (char *)"VListBox_HasMultipleSelection", (PyCFunction
)_wrap_VListBox_HasMultipleSelection
, METH_O
, NULL
},
31814 { (char *)"VListBox_GetSelection", (PyCFunction
)_wrap_VListBox_GetSelection
, METH_O
, NULL
},
31815 { (char *)"VListBox_IsCurrent", (PyCFunction
) _wrap_VListBox_IsCurrent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31816 { (char *)"VListBox_IsSelected", (PyCFunction
) _wrap_VListBox_IsSelected
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31817 { (char *)"VListBox_GetSelectedCount", (PyCFunction
)_wrap_VListBox_GetSelectedCount
, METH_O
, NULL
},
31818 { (char *)"VListBox_GetFirstSelected", (PyCFunction
)_wrap_VListBox_GetFirstSelected
, METH_O
, NULL
},
31819 { (char *)"VListBox_GetNextSelected", (PyCFunction
) _wrap_VListBox_GetNextSelected
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31820 { (char *)"VListBox_GetMargins", (PyCFunction
)_wrap_VListBox_GetMargins
, METH_O
, NULL
},
31821 { (char *)"VListBox_GetSelectionBackground", (PyCFunction
)_wrap_VListBox_GetSelectionBackground
, METH_O
, NULL
},
31822 { (char *)"VListBox_SetItemCount", (PyCFunction
) _wrap_VListBox_SetItemCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31823 { (char *)"VListBox_Clear", (PyCFunction
)_wrap_VListBox_Clear
, METH_O
, NULL
},
31824 { (char *)"VListBox_SetSelection", (PyCFunction
) _wrap_VListBox_SetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31825 { (char *)"VListBox_Select", (PyCFunction
) _wrap_VListBox_Select
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31826 { (char *)"VListBox_SelectRange", (PyCFunction
) _wrap_VListBox_SelectRange
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31827 { (char *)"VListBox_Toggle", (PyCFunction
) _wrap_VListBox_Toggle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31828 { (char *)"VListBox_SelectAll", (PyCFunction
)_wrap_VListBox_SelectAll
, METH_O
, NULL
},
31829 { (char *)"VListBox_DeselectAll", (PyCFunction
)_wrap_VListBox_DeselectAll
, METH_O
, NULL
},
31830 { (char *)"VListBox_SetMargins", (PyCFunction
) _wrap_VListBox_SetMargins
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31831 { (char *)"VListBox_SetMarginsXY", (PyCFunction
) _wrap_VListBox_SetMarginsXY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31832 { (char *)"VListBox_SetSelectionBackground", (PyCFunction
) _wrap_VListBox_SetSelectionBackground
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31833 { (char *)"VListBox_OnDrawSeparator", (PyCFunction
) _wrap_VListBox_OnDrawSeparator
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31834 { (char *)"VListBox_OnDrawBackground", (PyCFunction
) _wrap_VListBox_OnDrawBackground
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31835 { (char *)"VListBox_swigregister", VListBox_swigregister
, METH_VARARGS
, NULL
},
31836 { (char *)"VListBox_swiginit", VListBox_swiginit
, METH_VARARGS
, NULL
},
31837 { (char *)"new_HtmlListBox", (PyCFunction
) _wrap_new_HtmlListBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31838 { (char *)"new_PreHtmlListBox", (PyCFunction
)_wrap_new_PreHtmlListBox
, METH_NOARGS
, NULL
},
31839 { (char *)"HtmlListBox__setCallbackInfo", (PyCFunction
) _wrap_HtmlListBox__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31840 { (char *)"HtmlListBox_Create", (PyCFunction
) _wrap_HtmlListBox_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31841 { (char *)"HtmlListBox_SetItemCount", (PyCFunction
) _wrap_HtmlListBox_SetItemCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31842 { (char *)"HtmlListBox_GetFileSystem", (PyCFunction
)_wrap_HtmlListBox_GetFileSystem
, METH_O
, NULL
},
31843 { (char *)"HtmlListBox_OnLinkClicked", (PyCFunction
) _wrap_HtmlListBox_OnLinkClicked
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31844 { (char *)"HtmlListBox_swigregister", HtmlListBox_swigregister
, METH_VARARGS
, NULL
},
31845 { (char *)"HtmlListBox_swiginit", HtmlListBox_swiginit
, METH_VARARGS
, NULL
},
31846 { (char *)"new_TaskBarIcon", (PyCFunction
)_wrap_new_TaskBarIcon
, METH_NOARGS
, NULL
},
31847 { (char *)"delete_TaskBarIcon", (PyCFunction
)_wrap_delete_TaskBarIcon
, METH_O
, NULL
},
31848 { (char *)"TaskBarIcon__setCallbackInfo", (PyCFunction
) _wrap_TaskBarIcon__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31849 { (char *)"TaskBarIcon_Destroy", (PyCFunction
)_wrap_TaskBarIcon_Destroy
, METH_O
, NULL
},
31850 { (char *)"TaskBarIcon_IsOk", (PyCFunction
)_wrap_TaskBarIcon_IsOk
, METH_O
, NULL
},
31851 { (char *)"TaskBarIcon_IsIconInstalled", (PyCFunction
)_wrap_TaskBarIcon_IsIconInstalled
, METH_O
, NULL
},
31852 { (char *)"TaskBarIcon_SetIcon", (PyCFunction
) _wrap_TaskBarIcon_SetIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31853 { (char *)"TaskBarIcon_RemoveIcon", (PyCFunction
)_wrap_TaskBarIcon_RemoveIcon
, METH_O
, NULL
},
31854 { (char *)"TaskBarIcon_PopupMenu", (PyCFunction
) _wrap_TaskBarIcon_PopupMenu
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31855 { (char *)"TaskBarIcon_swigregister", TaskBarIcon_swigregister
, METH_VARARGS
, NULL
},
31856 { (char *)"TaskBarIcon_swiginit", TaskBarIcon_swiginit
, METH_VARARGS
, NULL
},
31857 { (char *)"new_TaskBarIconEvent", (PyCFunction
) _wrap_new_TaskBarIconEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31858 { (char *)"TaskBarIconEvent_swigregister", TaskBarIconEvent_swigregister
, METH_VARARGS
, NULL
},
31859 { (char *)"TaskBarIconEvent_swiginit", TaskBarIconEvent_swiginit
, METH_VARARGS
, NULL
},
31860 { (char *)"new_ColourData", (PyCFunction
)_wrap_new_ColourData
, METH_NOARGS
, NULL
},
31861 { (char *)"delete_ColourData", (PyCFunction
)_wrap_delete_ColourData
, METH_O
, NULL
},
31862 { (char *)"ColourData_GetChooseFull", (PyCFunction
)_wrap_ColourData_GetChooseFull
, METH_O
, NULL
},
31863 { (char *)"ColourData_GetColour", (PyCFunction
)_wrap_ColourData_GetColour
, METH_O
, NULL
},
31864 { (char *)"ColourData_GetCustomColour", (PyCFunction
) _wrap_ColourData_GetCustomColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31865 { (char *)"ColourData_SetChooseFull", (PyCFunction
) _wrap_ColourData_SetChooseFull
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31866 { (char *)"ColourData_SetColour", (PyCFunction
) _wrap_ColourData_SetColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31867 { (char *)"ColourData_SetCustomColour", (PyCFunction
) _wrap_ColourData_SetCustomColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31868 { (char *)"ColourData_swigregister", ColourData_swigregister
, METH_VARARGS
, NULL
},
31869 { (char *)"ColourData_swiginit", ColourData_swiginit
, METH_VARARGS
, NULL
},
31870 { (char *)"new_ColourDialog", (PyCFunction
) _wrap_new_ColourDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31871 { (char *)"ColourDialog_GetColourData", (PyCFunction
)_wrap_ColourDialog_GetColourData
, METH_O
, NULL
},
31872 { (char *)"ColourDialog_swigregister", ColourDialog_swigregister
, METH_VARARGS
, NULL
},
31873 { (char *)"ColourDialog_swiginit", ColourDialog_swiginit
, METH_VARARGS
, NULL
},
31874 { (char *)"GetColourFromUser", (PyCFunction
) _wrap_GetColourFromUser
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31875 { (char *)"new_DirDialog", (PyCFunction
) _wrap_new_DirDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31876 { (char *)"DirDialog_GetPath", (PyCFunction
)_wrap_DirDialog_GetPath
, METH_O
, NULL
},
31877 { (char *)"DirDialog_GetMessage", (PyCFunction
)_wrap_DirDialog_GetMessage
, METH_O
, NULL
},
31878 { (char *)"DirDialog_SetMessage", (PyCFunction
) _wrap_DirDialog_SetMessage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31879 { (char *)"DirDialog_SetPath", (PyCFunction
) _wrap_DirDialog_SetPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31880 { (char *)"DirDialog_swigregister", DirDialog_swigregister
, METH_VARARGS
, NULL
},
31881 { (char *)"DirDialog_swiginit", DirDialog_swiginit
, METH_VARARGS
, NULL
},
31882 { (char *)"new_FileDialog", (PyCFunction
) _wrap_new_FileDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31883 { (char *)"FileDialog_SetMessage", (PyCFunction
) _wrap_FileDialog_SetMessage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31884 { (char *)"FileDialog_SetPath", (PyCFunction
) _wrap_FileDialog_SetPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31885 { (char *)"FileDialog_SetDirectory", (PyCFunction
) _wrap_FileDialog_SetDirectory
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31886 { (char *)"FileDialog_SetFilename", (PyCFunction
) _wrap_FileDialog_SetFilename
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31887 { (char *)"FileDialog_SetWildcard", (PyCFunction
) _wrap_FileDialog_SetWildcard
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31888 { (char *)"FileDialog_SetFilterIndex", (PyCFunction
) _wrap_FileDialog_SetFilterIndex
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31889 { (char *)"FileDialog_GetMessage", (PyCFunction
)_wrap_FileDialog_GetMessage
, METH_O
, NULL
},
31890 { (char *)"FileDialog_GetPath", (PyCFunction
)_wrap_FileDialog_GetPath
, METH_O
, NULL
},
31891 { (char *)"FileDialog_GetDirectory", (PyCFunction
)_wrap_FileDialog_GetDirectory
, METH_O
, NULL
},
31892 { (char *)"FileDialog_GetFilename", (PyCFunction
)_wrap_FileDialog_GetFilename
, METH_O
, NULL
},
31893 { (char *)"FileDialog_GetWildcard", (PyCFunction
)_wrap_FileDialog_GetWildcard
, METH_O
, NULL
},
31894 { (char *)"FileDialog_GetFilterIndex", (PyCFunction
)_wrap_FileDialog_GetFilterIndex
, METH_O
, NULL
},
31895 { (char *)"FileDialog_GetFilenames", (PyCFunction
)_wrap_FileDialog_GetFilenames
, METH_O
, NULL
},
31896 { (char *)"FileDialog_GetPaths", (PyCFunction
)_wrap_FileDialog_GetPaths
, METH_O
, NULL
},
31897 { (char *)"FileDialog_swigregister", FileDialog_swigregister
, METH_VARARGS
, NULL
},
31898 { (char *)"FileDialog_swiginit", FileDialog_swiginit
, METH_VARARGS
, NULL
},
31899 { (char *)"new_MultiChoiceDialog", (PyCFunction
) _wrap_new_MultiChoiceDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31900 { (char *)"MultiChoiceDialog_SetSelections", (PyCFunction
) _wrap_MultiChoiceDialog_SetSelections
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31901 { (char *)"MultiChoiceDialog_GetSelections", (PyCFunction
)_wrap_MultiChoiceDialog_GetSelections
, METH_O
, NULL
},
31902 { (char *)"MultiChoiceDialog_swigregister", MultiChoiceDialog_swigregister
, METH_VARARGS
, NULL
},
31903 { (char *)"MultiChoiceDialog_swiginit", MultiChoiceDialog_swiginit
, METH_VARARGS
, NULL
},
31904 { (char *)"new_SingleChoiceDialog", (PyCFunction
) _wrap_new_SingleChoiceDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31905 { (char *)"SingleChoiceDialog_GetSelection", (PyCFunction
)_wrap_SingleChoiceDialog_GetSelection
, METH_O
, NULL
},
31906 { (char *)"SingleChoiceDialog_GetStringSelection", (PyCFunction
)_wrap_SingleChoiceDialog_GetStringSelection
, METH_O
, NULL
},
31907 { (char *)"SingleChoiceDialog_SetSelection", (PyCFunction
) _wrap_SingleChoiceDialog_SetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31908 { (char *)"SingleChoiceDialog_swigregister", SingleChoiceDialog_swigregister
, METH_VARARGS
, NULL
},
31909 { (char *)"SingleChoiceDialog_swiginit", SingleChoiceDialog_swiginit
, METH_VARARGS
, NULL
},
31910 { (char *)"new_TextEntryDialog", (PyCFunction
) _wrap_new_TextEntryDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31911 { (char *)"TextEntryDialog_GetValue", (PyCFunction
)_wrap_TextEntryDialog_GetValue
, METH_O
, NULL
},
31912 { (char *)"TextEntryDialog_SetValue", (PyCFunction
) _wrap_TextEntryDialog_SetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31913 { (char *)"TextEntryDialog_swigregister", TextEntryDialog_swigregister
, METH_VARARGS
, NULL
},
31914 { (char *)"TextEntryDialog_swiginit", TextEntryDialog_swiginit
, METH_VARARGS
, NULL
},
31915 { (char *)"new_PasswordEntryDialog", (PyCFunction
) _wrap_new_PasswordEntryDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31916 { (char *)"PasswordEntryDialog_swigregister", PasswordEntryDialog_swigregister
, METH_VARARGS
, NULL
},
31917 { (char *)"PasswordEntryDialog_swiginit", PasswordEntryDialog_swiginit
, METH_VARARGS
, NULL
},
31918 { (char *)"new_NumberEntryDialog", (PyCFunction
) _wrap_new_NumberEntryDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31919 { (char *)"NumberEntryDialog_GetValue", (PyCFunction
)_wrap_NumberEntryDialog_GetValue
, METH_O
, NULL
},
31920 { (char *)"NumberEntryDialog_swigregister", NumberEntryDialog_swigregister
, METH_VARARGS
, NULL
},
31921 { (char *)"NumberEntryDialog_swiginit", NumberEntryDialog_swiginit
, METH_VARARGS
, NULL
},
31922 { (char *)"new_FontData", (PyCFunction
)_wrap_new_FontData
, METH_NOARGS
, NULL
},
31923 { (char *)"delete_FontData", (PyCFunction
)_wrap_delete_FontData
, METH_O
, NULL
},
31924 { (char *)"FontData_EnableEffects", (PyCFunction
) _wrap_FontData_EnableEffects
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31925 { (char *)"FontData_GetAllowSymbols", (PyCFunction
)_wrap_FontData_GetAllowSymbols
, METH_O
, NULL
},
31926 { (char *)"FontData_GetColour", (PyCFunction
)_wrap_FontData_GetColour
, METH_O
, NULL
},
31927 { (char *)"FontData_GetChosenFont", (PyCFunction
)_wrap_FontData_GetChosenFont
, METH_O
, NULL
},
31928 { (char *)"FontData_GetEnableEffects", (PyCFunction
)_wrap_FontData_GetEnableEffects
, METH_O
, NULL
},
31929 { (char *)"FontData_GetInitialFont", (PyCFunction
)_wrap_FontData_GetInitialFont
, METH_O
, NULL
},
31930 { (char *)"FontData_GetShowHelp", (PyCFunction
)_wrap_FontData_GetShowHelp
, METH_O
, NULL
},
31931 { (char *)"FontData_SetAllowSymbols", (PyCFunction
) _wrap_FontData_SetAllowSymbols
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31932 { (char *)"FontData_SetChosenFont", (PyCFunction
) _wrap_FontData_SetChosenFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31933 { (char *)"FontData_SetColour", (PyCFunction
) _wrap_FontData_SetColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31934 { (char *)"FontData_SetInitialFont", (PyCFunction
) _wrap_FontData_SetInitialFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31935 { (char *)"FontData_SetRange", (PyCFunction
) _wrap_FontData_SetRange
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31936 { (char *)"FontData_SetShowHelp", (PyCFunction
) _wrap_FontData_SetShowHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31937 { (char *)"FontData_swigregister", FontData_swigregister
, METH_VARARGS
, NULL
},
31938 { (char *)"FontData_swiginit", FontData_swiginit
, METH_VARARGS
, NULL
},
31939 { (char *)"new_FontDialog", (PyCFunction
) _wrap_new_FontDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31940 { (char *)"FontDialog_GetFontData", (PyCFunction
)_wrap_FontDialog_GetFontData
, METH_O
, NULL
},
31941 { (char *)"FontDialog_swigregister", FontDialog_swigregister
, METH_VARARGS
, NULL
},
31942 { (char *)"FontDialog_swiginit", FontDialog_swiginit
, METH_VARARGS
, NULL
},
31943 { (char *)"GetFontFromUser", (PyCFunction
) _wrap_GetFontFromUser
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31944 { (char *)"new_MessageDialog", (PyCFunction
) _wrap_new_MessageDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31945 { (char *)"MessageDialog_swigregister", MessageDialog_swigregister
, METH_VARARGS
, NULL
},
31946 { (char *)"MessageDialog_swiginit", MessageDialog_swiginit
, METH_VARARGS
, NULL
},
31947 { (char *)"new_ProgressDialog", (PyCFunction
) _wrap_new_ProgressDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31948 { (char *)"ProgressDialog_Update", (PyCFunction
) _wrap_ProgressDialog_Update
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31949 { (char *)"ProgressDialog_Pulse", (PyCFunction
) _wrap_ProgressDialog_Pulse
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31950 { (char *)"ProgressDialog_Resume", (PyCFunction
)_wrap_ProgressDialog_Resume
, METH_O
, NULL
},
31951 { (char *)"ProgressDialog_swigregister", ProgressDialog_swigregister
, METH_VARARGS
, NULL
},
31952 { (char *)"ProgressDialog_swiginit", ProgressDialog_swiginit
, METH_VARARGS
, NULL
},
31953 { (char *)"new_FindDialogEvent", (PyCFunction
) _wrap_new_FindDialogEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31954 { (char *)"FindDialogEvent_GetFlags", (PyCFunction
)_wrap_FindDialogEvent_GetFlags
, METH_O
, NULL
},
31955 { (char *)"FindDialogEvent_GetFindString", (PyCFunction
)_wrap_FindDialogEvent_GetFindString
, METH_O
, NULL
},
31956 { (char *)"FindDialogEvent_GetReplaceString", (PyCFunction
)_wrap_FindDialogEvent_GetReplaceString
, METH_O
, NULL
},
31957 { (char *)"FindDialogEvent_GetDialog", (PyCFunction
)_wrap_FindDialogEvent_GetDialog
, METH_O
, NULL
},
31958 { (char *)"FindDialogEvent_SetFlags", (PyCFunction
) _wrap_FindDialogEvent_SetFlags
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31959 { (char *)"FindDialogEvent_SetFindString", (PyCFunction
) _wrap_FindDialogEvent_SetFindString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31960 { (char *)"FindDialogEvent_SetReplaceString", (PyCFunction
) _wrap_FindDialogEvent_SetReplaceString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31961 { (char *)"FindDialogEvent_swigregister", FindDialogEvent_swigregister
, METH_VARARGS
, NULL
},
31962 { (char *)"FindDialogEvent_swiginit", FindDialogEvent_swiginit
, METH_VARARGS
, NULL
},
31963 { (char *)"new_FindReplaceData", (PyCFunction
) _wrap_new_FindReplaceData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31964 { (char *)"delete_FindReplaceData", (PyCFunction
)_wrap_delete_FindReplaceData
, METH_O
, NULL
},
31965 { (char *)"FindReplaceData_GetFindString", (PyCFunction
)_wrap_FindReplaceData_GetFindString
, METH_O
, NULL
},
31966 { (char *)"FindReplaceData_GetReplaceString", (PyCFunction
)_wrap_FindReplaceData_GetReplaceString
, METH_O
, NULL
},
31967 { (char *)"FindReplaceData_GetFlags", (PyCFunction
)_wrap_FindReplaceData_GetFlags
, METH_O
, NULL
},
31968 { (char *)"FindReplaceData_SetFlags", (PyCFunction
) _wrap_FindReplaceData_SetFlags
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31969 { (char *)"FindReplaceData_SetFindString", (PyCFunction
) _wrap_FindReplaceData_SetFindString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31970 { (char *)"FindReplaceData_SetReplaceString", (PyCFunction
) _wrap_FindReplaceData_SetReplaceString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31971 { (char *)"FindReplaceData_swigregister", FindReplaceData_swigregister
, METH_VARARGS
, NULL
},
31972 { (char *)"FindReplaceData_swiginit", FindReplaceData_swiginit
, METH_VARARGS
, NULL
},
31973 { (char *)"new_FindReplaceDialog", (PyCFunction
) _wrap_new_FindReplaceDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31974 { (char *)"new_PreFindReplaceDialog", (PyCFunction
)_wrap_new_PreFindReplaceDialog
, METH_NOARGS
, NULL
},
31975 { (char *)"FindReplaceDialog_Create", (PyCFunction
) _wrap_FindReplaceDialog_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31976 { (char *)"FindReplaceDialog_GetData", (PyCFunction
)_wrap_FindReplaceDialog_GetData
, METH_O
, NULL
},
31977 { (char *)"FindReplaceDialog_SetData", (PyCFunction
) _wrap_FindReplaceDialog_SetData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31978 { (char *)"FindReplaceDialog_swigregister", FindReplaceDialog_swigregister
, METH_VARARGS
, NULL
},
31979 { (char *)"FindReplaceDialog_swiginit", FindReplaceDialog_swiginit
, METH_VARARGS
, NULL
},
31980 { (char *)"new_MDIParentFrame", (PyCFunction
) _wrap_new_MDIParentFrame
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31981 { (char *)"new_PreMDIParentFrame", (PyCFunction
)_wrap_new_PreMDIParentFrame
, METH_NOARGS
, NULL
},
31982 { (char *)"MDIParentFrame_Create", (PyCFunction
) _wrap_MDIParentFrame_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31983 { (char *)"MDIParentFrame_ActivateNext", (PyCFunction
)_wrap_MDIParentFrame_ActivateNext
, METH_O
, NULL
},
31984 { (char *)"MDIParentFrame_ActivatePrevious", (PyCFunction
)_wrap_MDIParentFrame_ActivatePrevious
, METH_O
, NULL
},
31985 { (char *)"MDIParentFrame_ArrangeIcons", (PyCFunction
)_wrap_MDIParentFrame_ArrangeIcons
, METH_O
, NULL
},
31986 { (char *)"MDIParentFrame_Cascade", (PyCFunction
)_wrap_MDIParentFrame_Cascade
, METH_O
, NULL
},
31987 { (char *)"MDIParentFrame_GetActiveChild", (PyCFunction
)_wrap_MDIParentFrame_GetActiveChild
, METH_O
, NULL
},
31988 { (char *)"MDIParentFrame_GetClientWindow", (PyCFunction
)_wrap_MDIParentFrame_GetClientWindow
, METH_O
, NULL
},
31989 { (char *)"MDIParentFrame_GetWindowMenu", (PyCFunction
)_wrap_MDIParentFrame_GetWindowMenu
, METH_O
, NULL
},
31990 { (char *)"MDIParentFrame_SetWindowMenu", (PyCFunction
) _wrap_MDIParentFrame_SetWindowMenu
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31991 { (char *)"MDIParentFrame_Tile", (PyCFunction
) _wrap_MDIParentFrame_Tile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31992 { (char *)"MDIParentFrame_swigregister", MDIParentFrame_swigregister
, METH_VARARGS
, NULL
},
31993 { (char *)"MDIParentFrame_swiginit", MDIParentFrame_swiginit
, METH_VARARGS
, NULL
},
31994 { (char *)"new_MDIChildFrame", (PyCFunction
) _wrap_new_MDIChildFrame
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31995 { (char *)"new_PreMDIChildFrame", (PyCFunction
)_wrap_new_PreMDIChildFrame
, METH_NOARGS
, NULL
},
31996 { (char *)"MDIChildFrame_Create", (PyCFunction
) _wrap_MDIChildFrame_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31997 { (char *)"MDIChildFrame_Activate", (PyCFunction
)_wrap_MDIChildFrame_Activate
, METH_O
, NULL
},
31998 { (char *)"MDIChildFrame_swigregister", MDIChildFrame_swigregister
, METH_VARARGS
, NULL
},
31999 { (char *)"MDIChildFrame_swiginit", MDIChildFrame_swiginit
, METH_VARARGS
, NULL
},
32000 { (char *)"new_MDIClientWindow", (PyCFunction
) _wrap_new_MDIClientWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32001 { (char *)"new_PreMDIClientWindow", (PyCFunction
)_wrap_new_PreMDIClientWindow
, METH_NOARGS
, NULL
},
32002 { (char *)"MDIClientWindow_Create", (PyCFunction
) _wrap_MDIClientWindow_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32003 { (char *)"MDIClientWindow_swigregister", MDIClientWindow_swigregister
, METH_VARARGS
, NULL
},
32004 { (char *)"MDIClientWindow_swiginit", MDIClientWindow_swiginit
, METH_VARARGS
, NULL
},
32005 { (char *)"new_PyWindow", (PyCFunction
) _wrap_new_PyWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32006 { (char *)"new_PrePyWindow", (PyCFunction
)_wrap_new_PrePyWindow
, METH_NOARGS
, NULL
},
32007 { (char *)"PyWindow__setCallbackInfo", (PyCFunction
) _wrap_PyWindow__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32008 { (char *)"PyWindow_DoEraseBackground", (PyCFunction
) _wrap_PyWindow_DoEraseBackground
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32009 { (char *)"PyWindow_DoMoveWindow", (PyCFunction
) _wrap_PyWindow_DoMoveWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32010 { (char *)"PyWindow_DoSetSize", (PyCFunction
) _wrap_PyWindow_DoSetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32011 { (char *)"PyWindow_DoSetClientSize", (PyCFunction
) _wrap_PyWindow_DoSetClientSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32012 { (char *)"PyWindow_DoSetVirtualSize", (PyCFunction
) _wrap_PyWindow_DoSetVirtualSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32013 { (char *)"PyWindow_DoGetSize", (PyCFunction
)_wrap_PyWindow_DoGetSize
, METH_O
, NULL
},
32014 { (char *)"PyWindow_DoGetClientSize", (PyCFunction
)_wrap_PyWindow_DoGetClientSize
, METH_O
, NULL
},
32015 { (char *)"PyWindow_DoGetPosition", (PyCFunction
)_wrap_PyWindow_DoGetPosition
, METH_O
, NULL
},
32016 { (char *)"PyWindow_DoGetVirtualSize", (PyCFunction
)_wrap_PyWindow_DoGetVirtualSize
, METH_O
, NULL
},
32017 { (char *)"PyWindow_DoGetBestSize", (PyCFunction
)_wrap_PyWindow_DoGetBestSize
, METH_O
, NULL
},
32018 { (char *)"PyWindow_GetDefaultAttributes", (PyCFunction
)_wrap_PyWindow_GetDefaultAttributes
, METH_O
, NULL
},
32019 { (char *)"PyWindow_OnInternalIdle", (PyCFunction
)_wrap_PyWindow_OnInternalIdle
, METH_O
, NULL
},
32020 { (char *)"PyWindow_swigregister", PyWindow_swigregister
, METH_VARARGS
, NULL
},
32021 { (char *)"PyWindow_swiginit", PyWindow_swiginit
, METH_VARARGS
, NULL
},
32022 { (char *)"new_PyPanel", (PyCFunction
) _wrap_new_PyPanel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32023 { (char *)"new_PrePyPanel", (PyCFunction
)_wrap_new_PrePyPanel
, METH_NOARGS
, NULL
},
32024 { (char *)"PyPanel__setCallbackInfo", (PyCFunction
) _wrap_PyPanel__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32025 { (char *)"PyPanel_DoEraseBackground", (PyCFunction
) _wrap_PyPanel_DoEraseBackground
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32026 { (char *)"PyPanel_DoMoveWindow", (PyCFunction
) _wrap_PyPanel_DoMoveWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32027 { (char *)"PyPanel_DoSetSize", (PyCFunction
) _wrap_PyPanel_DoSetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32028 { (char *)"PyPanel_DoSetClientSize", (PyCFunction
) _wrap_PyPanel_DoSetClientSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32029 { (char *)"PyPanel_DoSetVirtualSize", (PyCFunction
) _wrap_PyPanel_DoSetVirtualSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32030 { (char *)"PyPanel_DoGetSize", (PyCFunction
)_wrap_PyPanel_DoGetSize
, METH_O
, NULL
},
32031 { (char *)"PyPanel_DoGetClientSize", (PyCFunction
)_wrap_PyPanel_DoGetClientSize
, METH_O
, NULL
},
32032 { (char *)"PyPanel_DoGetPosition", (PyCFunction
)_wrap_PyPanel_DoGetPosition
, METH_O
, NULL
},
32033 { (char *)"PyPanel_DoGetVirtualSize", (PyCFunction
)_wrap_PyPanel_DoGetVirtualSize
, METH_O
, NULL
},
32034 { (char *)"PyPanel_DoGetBestSize", (PyCFunction
)_wrap_PyPanel_DoGetBestSize
, METH_O
, NULL
},
32035 { (char *)"PyPanel_GetDefaultAttributes", (PyCFunction
)_wrap_PyPanel_GetDefaultAttributes
, METH_O
, NULL
},
32036 { (char *)"PyPanel_OnInternalIdle", (PyCFunction
)_wrap_PyPanel_OnInternalIdle
, METH_O
, NULL
},
32037 { (char *)"PyPanel_swigregister", PyPanel_swigregister
, METH_VARARGS
, NULL
},
32038 { (char *)"PyPanel_swiginit", PyPanel_swiginit
, METH_VARARGS
, NULL
},
32039 { (char *)"new_PyScrolledWindow", (PyCFunction
) _wrap_new_PyScrolledWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32040 { (char *)"new_PrePyScrolledWindow", (PyCFunction
)_wrap_new_PrePyScrolledWindow
, METH_NOARGS
, NULL
},
32041 { (char *)"PyScrolledWindow__setCallbackInfo", (PyCFunction
) _wrap_PyScrolledWindow__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32042 { (char *)"PyScrolledWindow_DoEraseBackground", (PyCFunction
) _wrap_PyScrolledWindow_DoEraseBackground
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32043 { (char *)"PyScrolledWindow_DoMoveWindow", (PyCFunction
) _wrap_PyScrolledWindow_DoMoveWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32044 { (char *)"PyScrolledWindow_DoSetSize", (PyCFunction
) _wrap_PyScrolledWindow_DoSetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32045 { (char *)"PyScrolledWindow_DoSetClientSize", (PyCFunction
) _wrap_PyScrolledWindow_DoSetClientSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32046 { (char *)"PyScrolledWindow_DoSetVirtualSize", (PyCFunction
) _wrap_PyScrolledWindow_DoSetVirtualSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32047 { (char *)"PyScrolledWindow_DoGetSize", (PyCFunction
)_wrap_PyScrolledWindow_DoGetSize
, METH_O
, NULL
},
32048 { (char *)"PyScrolledWindow_DoGetClientSize", (PyCFunction
)_wrap_PyScrolledWindow_DoGetClientSize
, METH_O
, NULL
},
32049 { (char *)"PyScrolledWindow_DoGetPosition", (PyCFunction
)_wrap_PyScrolledWindow_DoGetPosition
, METH_O
, NULL
},
32050 { (char *)"PyScrolledWindow_DoGetVirtualSize", (PyCFunction
)_wrap_PyScrolledWindow_DoGetVirtualSize
, METH_O
, NULL
},
32051 { (char *)"PyScrolledWindow_DoGetBestSize", (PyCFunction
)_wrap_PyScrolledWindow_DoGetBestSize
, METH_O
, NULL
},
32052 { (char *)"PyScrolledWindow_GetDefaultAttributes", (PyCFunction
)_wrap_PyScrolledWindow_GetDefaultAttributes
, METH_O
, NULL
},
32053 { (char *)"PyScrolledWindow_OnInternalIdle", (PyCFunction
)_wrap_PyScrolledWindow_OnInternalIdle
, METH_O
, NULL
},
32054 { (char *)"PyScrolledWindow_swigregister", PyScrolledWindow_swigregister
, METH_VARARGS
, NULL
},
32055 { (char *)"PyScrolledWindow_swiginit", PyScrolledWindow_swiginit
, METH_VARARGS
, NULL
},
32056 { (char *)"new_PrintData", _wrap_new_PrintData
, METH_VARARGS
, NULL
},
32057 { (char *)"delete_PrintData", (PyCFunction
)_wrap_delete_PrintData
, METH_O
, NULL
},
32058 { (char *)"PrintData_GetNoCopies", (PyCFunction
)_wrap_PrintData_GetNoCopies
, METH_O
, NULL
},
32059 { (char *)"PrintData_GetCollate", (PyCFunction
)_wrap_PrintData_GetCollate
, METH_O
, NULL
},
32060 { (char *)"PrintData_GetOrientation", (PyCFunction
)_wrap_PrintData_GetOrientation
, METH_O
, NULL
},
32061 { (char *)"PrintData_IsOk", (PyCFunction
)_wrap_PrintData_IsOk
, METH_O
, NULL
},
32062 { (char *)"PrintData_GetPrinterName", (PyCFunction
)_wrap_PrintData_GetPrinterName
, METH_O
, NULL
},
32063 { (char *)"PrintData_GetColour", (PyCFunction
)_wrap_PrintData_GetColour
, METH_O
, NULL
},
32064 { (char *)"PrintData_GetDuplex", (PyCFunction
)_wrap_PrintData_GetDuplex
, METH_O
, NULL
},
32065 { (char *)"PrintData_GetPaperId", (PyCFunction
)_wrap_PrintData_GetPaperId
, METH_O
, NULL
},
32066 { (char *)"PrintData_GetPaperSize", (PyCFunction
)_wrap_PrintData_GetPaperSize
, METH_O
, NULL
},
32067 { (char *)"PrintData_GetQuality", (PyCFunction
)_wrap_PrintData_GetQuality
, METH_O
, NULL
},
32068 { (char *)"PrintData_GetBin", (PyCFunction
)_wrap_PrintData_GetBin
, METH_O
, NULL
},
32069 { (char *)"PrintData_GetPrintMode", (PyCFunction
)_wrap_PrintData_GetPrintMode
, METH_O
, NULL
},
32070 { (char *)"PrintData_GetMedia", (PyCFunction
)_wrap_PrintData_GetMedia
, METH_O
, NULL
},
32071 { (char *)"PrintData_SetNoCopies", (PyCFunction
) _wrap_PrintData_SetNoCopies
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32072 { (char *)"PrintData_SetCollate", (PyCFunction
) _wrap_PrintData_SetCollate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32073 { (char *)"PrintData_SetOrientation", (PyCFunction
) _wrap_PrintData_SetOrientation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32074 { (char *)"PrintData_SetPrinterName", (PyCFunction
) _wrap_PrintData_SetPrinterName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32075 { (char *)"PrintData_SetColour", (PyCFunction
) _wrap_PrintData_SetColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32076 { (char *)"PrintData_SetDuplex", (PyCFunction
) _wrap_PrintData_SetDuplex
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32077 { (char *)"PrintData_SetPaperId", (PyCFunction
) _wrap_PrintData_SetPaperId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32078 { (char *)"PrintData_SetPaperSize", (PyCFunction
) _wrap_PrintData_SetPaperSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32079 { (char *)"PrintData_SetQuality", (PyCFunction
) _wrap_PrintData_SetQuality
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32080 { (char *)"PrintData_SetBin", (PyCFunction
) _wrap_PrintData_SetBin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32081 { (char *)"PrintData_SetPrintMode", (PyCFunction
) _wrap_PrintData_SetPrintMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32082 { (char *)"PrintData_SetMedia", (PyCFunction
) _wrap_PrintData_SetMedia
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32083 { (char *)"PrintData_GetFilename", (PyCFunction
)_wrap_PrintData_GetFilename
, METH_O
, NULL
},
32084 { (char *)"PrintData_SetFilename", (PyCFunction
) _wrap_PrintData_SetFilename
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32085 { (char *)"PrintData_GetPrivData", (PyCFunction
)_wrap_PrintData_GetPrivData
, METH_O
, NULL
},
32086 { (char *)"PrintData_SetPrivData", (PyCFunction
) _wrap_PrintData_SetPrivData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32087 { (char *)"PrintData_swigregister", PrintData_swigregister
, METH_VARARGS
, NULL
},
32088 { (char *)"PrintData_swiginit", PrintData_swiginit
, METH_VARARGS
, NULL
},
32089 { (char *)"new_PageSetupDialogData", _wrap_new_PageSetupDialogData
, METH_VARARGS
, NULL
},
32090 { (char *)"delete_PageSetupDialogData", (PyCFunction
)_wrap_delete_PageSetupDialogData
, METH_O
, NULL
},
32091 { (char *)"PageSetupDialogData_EnableHelp", (PyCFunction
) _wrap_PageSetupDialogData_EnableHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32092 { (char *)"PageSetupDialogData_EnableMargins", (PyCFunction
) _wrap_PageSetupDialogData_EnableMargins
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32093 { (char *)"PageSetupDialogData_EnableOrientation", (PyCFunction
) _wrap_PageSetupDialogData_EnableOrientation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32094 { (char *)"PageSetupDialogData_EnablePaper", (PyCFunction
) _wrap_PageSetupDialogData_EnablePaper
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32095 { (char *)"PageSetupDialogData_EnablePrinter", (PyCFunction
) _wrap_PageSetupDialogData_EnablePrinter
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32096 { (char *)"PageSetupDialogData_GetDefaultMinMargins", (PyCFunction
)_wrap_PageSetupDialogData_GetDefaultMinMargins
, METH_O
, NULL
},
32097 { (char *)"PageSetupDialogData_GetEnableMargins", (PyCFunction
)_wrap_PageSetupDialogData_GetEnableMargins
, METH_O
, NULL
},
32098 { (char *)"PageSetupDialogData_GetEnableOrientation", (PyCFunction
)_wrap_PageSetupDialogData_GetEnableOrientation
, METH_O
, NULL
},
32099 { (char *)"PageSetupDialogData_GetEnablePaper", (PyCFunction
)_wrap_PageSetupDialogData_GetEnablePaper
, METH_O
, NULL
},
32100 { (char *)"PageSetupDialogData_GetEnablePrinter", (PyCFunction
)_wrap_PageSetupDialogData_GetEnablePrinter
, METH_O
, NULL
},
32101 { (char *)"PageSetupDialogData_GetEnableHelp", (PyCFunction
)_wrap_PageSetupDialogData_GetEnableHelp
, METH_O
, NULL
},
32102 { (char *)"PageSetupDialogData_GetDefaultInfo", (PyCFunction
)_wrap_PageSetupDialogData_GetDefaultInfo
, METH_O
, NULL
},
32103 { (char *)"PageSetupDialogData_GetMarginTopLeft", (PyCFunction
)_wrap_PageSetupDialogData_GetMarginTopLeft
, METH_O
, NULL
},
32104 { (char *)"PageSetupDialogData_GetMarginBottomRight", (PyCFunction
)_wrap_PageSetupDialogData_GetMarginBottomRight
, METH_O
, NULL
},
32105 { (char *)"PageSetupDialogData_GetMinMarginTopLeft", (PyCFunction
)_wrap_PageSetupDialogData_GetMinMarginTopLeft
, METH_O
, NULL
},
32106 { (char *)"PageSetupDialogData_GetMinMarginBottomRight", (PyCFunction
)_wrap_PageSetupDialogData_GetMinMarginBottomRight
, METH_O
, NULL
},
32107 { (char *)"PageSetupDialogData_GetPaperId", (PyCFunction
)_wrap_PageSetupDialogData_GetPaperId
, METH_O
, NULL
},
32108 { (char *)"PageSetupDialogData_GetPaperSize", (PyCFunction
)_wrap_PageSetupDialogData_GetPaperSize
, METH_O
, NULL
},
32109 { (char *)"PageSetupDialogData_GetPrintData", (PyCFunction
)_wrap_PageSetupDialogData_GetPrintData
, METH_O
, NULL
},
32110 { (char *)"PageSetupDialogData_IsOk", (PyCFunction
)_wrap_PageSetupDialogData_IsOk
, METH_O
, NULL
},
32111 { (char *)"PageSetupDialogData_SetDefaultInfo", (PyCFunction
) _wrap_PageSetupDialogData_SetDefaultInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32112 { (char *)"PageSetupDialogData_SetDefaultMinMargins", (PyCFunction
) _wrap_PageSetupDialogData_SetDefaultMinMargins
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32113 { (char *)"PageSetupDialogData_SetMarginTopLeft", (PyCFunction
) _wrap_PageSetupDialogData_SetMarginTopLeft
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32114 { (char *)"PageSetupDialogData_SetMarginBottomRight", (PyCFunction
) _wrap_PageSetupDialogData_SetMarginBottomRight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32115 { (char *)"PageSetupDialogData_SetMinMarginTopLeft", (PyCFunction
) _wrap_PageSetupDialogData_SetMinMarginTopLeft
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32116 { (char *)"PageSetupDialogData_SetMinMarginBottomRight", (PyCFunction
) _wrap_PageSetupDialogData_SetMinMarginBottomRight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32117 { (char *)"PageSetupDialogData_SetPaperId", (PyCFunction
) _wrap_PageSetupDialogData_SetPaperId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32118 { (char *)"PageSetupDialogData_SetPaperSize", (PyCFunction
) _wrap_PageSetupDialogData_SetPaperSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32119 { (char *)"PageSetupDialogData_SetPrintData", (PyCFunction
) _wrap_PageSetupDialogData_SetPrintData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32120 { (char *)"PageSetupDialogData_CalculateIdFromPaperSize", (PyCFunction
)_wrap_PageSetupDialogData_CalculateIdFromPaperSize
, METH_O
, NULL
},
32121 { (char *)"PageSetupDialogData_CalculatePaperSizeFromId", (PyCFunction
)_wrap_PageSetupDialogData_CalculatePaperSizeFromId
, METH_O
, NULL
},
32122 { (char *)"PageSetupDialogData_swigregister", PageSetupDialogData_swigregister
, METH_VARARGS
, NULL
},
32123 { (char *)"PageSetupDialogData_swiginit", PageSetupDialogData_swiginit
, METH_VARARGS
, NULL
},
32124 { (char *)"new_PageSetupDialog", (PyCFunction
) _wrap_new_PageSetupDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32125 { (char *)"delete_PageSetupDialog", (PyCFunction
)_wrap_delete_PageSetupDialog
, METH_O
, NULL
},
32126 { (char *)"PageSetupDialog_GetPageSetupData", (PyCFunction
)_wrap_PageSetupDialog_GetPageSetupData
, METH_O
, NULL
},
32127 { (char *)"PageSetupDialog_GetPageSetupDialogData", (PyCFunction
)_wrap_PageSetupDialog_GetPageSetupDialogData
, METH_O
, NULL
},
32128 { (char *)"PageSetupDialog_ShowModal", (PyCFunction
)_wrap_PageSetupDialog_ShowModal
, METH_O
, NULL
},
32129 { (char *)"PageSetupDialog_swigregister", PageSetupDialog_swigregister
, METH_VARARGS
, NULL
},
32130 { (char *)"PageSetupDialog_swiginit", PageSetupDialog_swiginit
, METH_VARARGS
, NULL
},
32131 { (char *)"new_PrintDialogData", _wrap_new_PrintDialogData
, METH_VARARGS
, NULL
},
32132 { (char *)"delete_PrintDialogData", (PyCFunction
)_wrap_delete_PrintDialogData
, METH_O
, NULL
},
32133 { (char *)"PrintDialogData_GetFromPage", (PyCFunction
)_wrap_PrintDialogData_GetFromPage
, METH_O
, NULL
},
32134 { (char *)"PrintDialogData_GetToPage", (PyCFunction
)_wrap_PrintDialogData_GetToPage
, METH_O
, NULL
},
32135 { (char *)"PrintDialogData_GetMinPage", (PyCFunction
)_wrap_PrintDialogData_GetMinPage
, METH_O
, NULL
},
32136 { (char *)"PrintDialogData_GetMaxPage", (PyCFunction
)_wrap_PrintDialogData_GetMaxPage
, METH_O
, NULL
},
32137 { (char *)"PrintDialogData_GetNoCopies", (PyCFunction
)_wrap_PrintDialogData_GetNoCopies
, METH_O
, NULL
},
32138 { (char *)"PrintDialogData_GetAllPages", (PyCFunction
)_wrap_PrintDialogData_GetAllPages
, METH_O
, NULL
},
32139 { (char *)"PrintDialogData_GetSelection", (PyCFunction
)_wrap_PrintDialogData_GetSelection
, METH_O
, NULL
},
32140 { (char *)"PrintDialogData_GetCollate", (PyCFunction
)_wrap_PrintDialogData_GetCollate
, METH_O
, NULL
},
32141 { (char *)"PrintDialogData_GetPrintToFile", (PyCFunction
)_wrap_PrintDialogData_GetPrintToFile
, METH_O
, NULL
},
32142 { (char *)"PrintDialogData_SetFromPage", (PyCFunction
) _wrap_PrintDialogData_SetFromPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32143 { (char *)"PrintDialogData_SetToPage", (PyCFunction
) _wrap_PrintDialogData_SetToPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32144 { (char *)"PrintDialogData_SetMinPage", (PyCFunction
) _wrap_PrintDialogData_SetMinPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32145 { (char *)"PrintDialogData_SetMaxPage", (PyCFunction
) _wrap_PrintDialogData_SetMaxPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32146 { (char *)"PrintDialogData_SetNoCopies", (PyCFunction
) _wrap_PrintDialogData_SetNoCopies
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32147 { (char *)"PrintDialogData_SetAllPages", (PyCFunction
) _wrap_PrintDialogData_SetAllPages
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32148 { (char *)"PrintDialogData_SetSelection", (PyCFunction
) _wrap_PrintDialogData_SetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32149 { (char *)"PrintDialogData_SetCollate", (PyCFunction
) _wrap_PrintDialogData_SetCollate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32150 { (char *)"PrintDialogData_SetPrintToFile", (PyCFunction
) _wrap_PrintDialogData_SetPrintToFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32151 { (char *)"PrintDialogData_EnablePrintToFile", (PyCFunction
) _wrap_PrintDialogData_EnablePrintToFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32152 { (char *)"PrintDialogData_EnableSelection", (PyCFunction
) _wrap_PrintDialogData_EnableSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32153 { (char *)"PrintDialogData_EnablePageNumbers", (PyCFunction
) _wrap_PrintDialogData_EnablePageNumbers
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32154 { (char *)"PrintDialogData_EnableHelp", (PyCFunction
) _wrap_PrintDialogData_EnableHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32155 { (char *)"PrintDialogData_GetEnablePrintToFile", (PyCFunction
)_wrap_PrintDialogData_GetEnablePrintToFile
, METH_O
, NULL
},
32156 { (char *)"PrintDialogData_GetEnableSelection", (PyCFunction
)_wrap_PrintDialogData_GetEnableSelection
, METH_O
, NULL
},
32157 { (char *)"PrintDialogData_GetEnablePageNumbers", (PyCFunction
)_wrap_PrintDialogData_GetEnablePageNumbers
, METH_O
, NULL
},
32158 { (char *)"PrintDialogData_GetEnableHelp", (PyCFunction
)_wrap_PrintDialogData_GetEnableHelp
, METH_O
, NULL
},
32159 { (char *)"PrintDialogData_IsOk", (PyCFunction
)_wrap_PrintDialogData_IsOk
, METH_O
, NULL
},
32160 { (char *)"PrintDialogData_GetPrintData", (PyCFunction
)_wrap_PrintDialogData_GetPrintData
, METH_O
, NULL
},
32161 { (char *)"PrintDialogData_SetPrintData", (PyCFunction
) _wrap_PrintDialogData_SetPrintData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32162 { (char *)"PrintDialogData_swigregister", PrintDialogData_swigregister
, METH_VARARGS
, NULL
},
32163 { (char *)"PrintDialogData_swiginit", PrintDialogData_swiginit
, METH_VARARGS
, NULL
},
32164 { (char *)"new_PrintDialog", (PyCFunction
) _wrap_new_PrintDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32165 { (char *)"delete_PrintDialog", (PyCFunction
)_wrap_delete_PrintDialog
, METH_O
, NULL
},
32166 { (char *)"PrintDialog_ShowModal", (PyCFunction
)_wrap_PrintDialog_ShowModal
, METH_O
, NULL
},
32167 { (char *)"PrintDialog_GetPrintDialogData", (PyCFunction
)_wrap_PrintDialog_GetPrintDialogData
, METH_O
, NULL
},
32168 { (char *)"PrintDialog_GetPrintData", (PyCFunction
)_wrap_PrintDialog_GetPrintData
, METH_O
, NULL
},
32169 { (char *)"PrintDialog_GetPrintDC", (PyCFunction
)_wrap_PrintDialog_GetPrintDC
, METH_O
, NULL
},
32170 { (char *)"PrintDialog_swigregister", PrintDialog_swigregister
, METH_VARARGS
, NULL
},
32171 { (char *)"PrintDialog_swiginit", PrintDialog_swiginit
, METH_VARARGS
, NULL
},
32172 { (char *)"new_Printer", (PyCFunction
) _wrap_new_Printer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32173 { (char *)"delete_Printer", (PyCFunction
)_wrap_delete_Printer
, METH_O
, NULL
},
32174 { (char *)"Printer_CreateAbortWindow", (PyCFunction
) _wrap_Printer_CreateAbortWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32175 { (char *)"Printer_ReportError", (PyCFunction
) _wrap_Printer_ReportError
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32176 { (char *)"Printer_Setup", (PyCFunction
) _wrap_Printer_Setup
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32177 { (char *)"Printer_Print", (PyCFunction
) _wrap_Printer_Print
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32178 { (char *)"Printer_PrintDialog", (PyCFunction
) _wrap_Printer_PrintDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32179 { (char *)"Printer_GetPrintDialogData", (PyCFunction
)_wrap_Printer_GetPrintDialogData
, METH_O
, NULL
},
32180 { (char *)"Printer_GetAbort", (PyCFunction
)_wrap_Printer_GetAbort
, METH_O
, NULL
},
32181 { (char *)"Printer_GetLastError", (PyCFunction
)_wrap_Printer_GetLastError
, METH_NOARGS
, NULL
},
32182 { (char *)"Printer_swigregister", Printer_swigregister
, METH_VARARGS
, NULL
},
32183 { (char *)"Printer_swiginit", Printer_swiginit
, METH_VARARGS
, NULL
},
32184 { (char *)"new_Printout", (PyCFunction
) _wrap_new_Printout
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32185 { (char *)"delete_Printout", (PyCFunction
)_wrap_delete_Printout
, METH_O
, NULL
},
32186 { (char *)"Printout__setCallbackInfo", (PyCFunction
) _wrap_Printout__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32187 { (char *)"Printout_GetTitle", (PyCFunction
)_wrap_Printout_GetTitle
, METH_O
, NULL
},
32188 { (char *)"Printout_GetDC", (PyCFunction
)_wrap_Printout_GetDC
, METH_O
, NULL
},
32189 { (char *)"Printout_SetDC", (PyCFunction
) _wrap_Printout_SetDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32190 { (char *)"Printout_FitThisSizeToPaper", (PyCFunction
) _wrap_Printout_FitThisSizeToPaper
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32191 { (char *)"Printout_FitThisSizeToPage", (PyCFunction
) _wrap_Printout_FitThisSizeToPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32192 { (char *)"Printout_FitThisSizeToPageMargins", (PyCFunction
) _wrap_Printout_FitThisSizeToPageMargins
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32193 { (char *)"Printout_MapScreenSizeToPaper", (PyCFunction
)_wrap_Printout_MapScreenSizeToPaper
, METH_O
, NULL
},
32194 { (char *)"Printout_MapScreenSizeToPage", (PyCFunction
)_wrap_Printout_MapScreenSizeToPage
, METH_O
, NULL
},
32195 { (char *)"Printout_MapScreenSizeToPageMargins", (PyCFunction
) _wrap_Printout_MapScreenSizeToPageMargins
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32196 { (char *)"Printout_MapScreenSizeToDevice", (PyCFunction
)_wrap_Printout_MapScreenSizeToDevice
, METH_O
, NULL
},
32197 { (char *)"Printout_GetLogicalPaperRect", (PyCFunction
)_wrap_Printout_GetLogicalPaperRect
, METH_O
, NULL
},
32198 { (char *)"Printout_GetLogicalPageRect", (PyCFunction
)_wrap_Printout_GetLogicalPageRect
, METH_O
, NULL
},
32199 { (char *)"Printout_GetLogicalPageMarginsRect", (PyCFunction
) _wrap_Printout_GetLogicalPageMarginsRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32200 { (char *)"Printout_SetLogicalOrigin", (PyCFunction
) _wrap_Printout_SetLogicalOrigin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32201 { (char *)"Printout_OffsetLogicalOrigin", (PyCFunction
) _wrap_Printout_OffsetLogicalOrigin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32202 { (char *)"Printout_SetPageSizePixels", (PyCFunction
) _wrap_Printout_SetPageSizePixels
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32203 { (char *)"Printout_GetPageSizePixels", (PyCFunction
)_wrap_Printout_GetPageSizePixels
, METH_O
, NULL
},
32204 { (char *)"Printout_SetPageSizeMM", (PyCFunction
) _wrap_Printout_SetPageSizeMM
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32205 { (char *)"Printout_GetPageSizeMM", (PyCFunction
)_wrap_Printout_GetPageSizeMM
, METH_O
, NULL
},
32206 { (char *)"Printout_SetPPIScreen", (PyCFunction
) _wrap_Printout_SetPPIScreen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32207 { (char *)"Printout_GetPPIScreen", (PyCFunction
)_wrap_Printout_GetPPIScreen
, METH_O
, NULL
},
32208 { (char *)"Printout_SetPPIPrinter", (PyCFunction
) _wrap_Printout_SetPPIPrinter
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32209 { (char *)"Printout_GetPPIPrinter", (PyCFunction
)_wrap_Printout_GetPPIPrinter
, METH_O
, NULL
},
32210 { (char *)"Printout_SetPaperRectPixels", (PyCFunction
) _wrap_Printout_SetPaperRectPixels
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32211 { (char *)"Printout_GetPaperRectPixels", (PyCFunction
)_wrap_Printout_GetPaperRectPixels
, METH_O
, NULL
},
32212 { (char *)"Printout_IsPreview", (PyCFunction
)_wrap_Printout_IsPreview
, METH_O
, NULL
},
32213 { (char *)"Printout_SetIsPreview", (PyCFunction
) _wrap_Printout_SetIsPreview
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32214 { (char *)"Printout_OnBeginDocument", (PyCFunction
) _wrap_Printout_OnBeginDocument
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32215 { (char *)"Printout_OnEndDocument", (PyCFunction
)_wrap_Printout_OnEndDocument
, METH_O
, NULL
},
32216 { (char *)"Printout_OnBeginPrinting", (PyCFunction
)_wrap_Printout_OnBeginPrinting
, METH_O
, NULL
},
32217 { (char *)"Printout_OnEndPrinting", (PyCFunction
)_wrap_Printout_OnEndPrinting
, METH_O
, NULL
},
32218 { (char *)"Printout_OnPreparePrinting", (PyCFunction
)_wrap_Printout_OnPreparePrinting
, METH_O
, NULL
},
32219 { (char *)"Printout_HasPage", (PyCFunction
) _wrap_Printout_HasPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32220 { (char *)"Printout_GetPageInfo", (PyCFunction
)_wrap_Printout_GetPageInfo
, METH_O
, NULL
},
32221 { (char *)"Printout_swigregister", Printout_swigregister
, METH_VARARGS
, NULL
},
32222 { (char *)"Printout_swiginit", Printout_swiginit
, METH_VARARGS
, NULL
},
32223 { (char *)"new_PreviewCanvas", (PyCFunction
) _wrap_new_PreviewCanvas
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32224 { (char *)"PreviewCanvas_swigregister", PreviewCanvas_swigregister
, METH_VARARGS
, NULL
},
32225 { (char *)"PreviewCanvas_swiginit", PreviewCanvas_swiginit
, METH_VARARGS
, NULL
},
32226 { (char *)"new_PreviewFrame", (PyCFunction
) _wrap_new_PreviewFrame
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32227 { (char *)"PreviewFrame_Initialize", (PyCFunction
)_wrap_PreviewFrame_Initialize
, METH_O
, NULL
},
32228 { (char *)"PreviewFrame_CreateControlBar", (PyCFunction
)_wrap_PreviewFrame_CreateControlBar
, METH_O
, NULL
},
32229 { (char *)"PreviewFrame_CreateCanvas", (PyCFunction
)_wrap_PreviewFrame_CreateCanvas
, METH_O
, NULL
},
32230 { (char *)"PreviewFrame_GetControlBar", (PyCFunction
)_wrap_PreviewFrame_GetControlBar
, METH_O
, NULL
},
32231 { (char *)"PreviewFrame_swigregister", PreviewFrame_swigregister
, METH_VARARGS
, NULL
},
32232 { (char *)"PreviewFrame_swiginit", PreviewFrame_swiginit
, METH_VARARGS
, NULL
},
32233 { (char *)"new_PreviewControlBar", (PyCFunction
) _wrap_new_PreviewControlBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32234 { (char *)"PreviewControlBar_GetZoomControl", (PyCFunction
)_wrap_PreviewControlBar_GetZoomControl
, METH_O
, NULL
},
32235 { (char *)"PreviewControlBar_SetZoomControl", (PyCFunction
) _wrap_PreviewControlBar_SetZoomControl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32236 { (char *)"PreviewControlBar_GetPrintPreview", (PyCFunction
)_wrap_PreviewControlBar_GetPrintPreview
, METH_O
, NULL
},
32237 { (char *)"PreviewControlBar_OnNext", (PyCFunction
)_wrap_PreviewControlBar_OnNext
, METH_O
, NULL
},
32238 { (char *)"PreviewControlBar_OnPrevious", (PyCFunction
)_wrap_PreviewControlBar_OnPrevious
, METH_O
, NULL
},
32239 { (char *)"PreviewControlBar_OnFirst", (PyCFunction
)_wrap_PreviewControlBar_OnFirst
, METH_O
, NULL
},
32240 { (char *)"PreviewControlBar_OnLast", (PyCFunction
)_wrap_PreviewControlBar_OnLast
, METH_O
, NULL
},
32241 { (char *)"PreviewControlBar_OnGoto", (PyCFunction
)_wrap_PreviewControlBar_OnGoto
, METH_O
, NULL
},
32242 { (char *)"PreviewControlBar_swigregister", PreviewControlBar_swigregister
, METH_VARARGS
, NULL
},
32243 { (char *)"PreviewControlBar_swiginit", PreviewControlBar_swiginit
, METH_VARARGS
, NULL
},
32244 { (char *)"new_PrintPreview", _wrap_new_PrintPreview
, METH_VARARGS
, NULL
},
32245 { (char *)"delete_PrintPreview", (PyCFunction
)_wrap_delete_PrintPreview
, METH_O
, NULL
},
32246 { (char *)"PrintPreview_SetCurrentPage", (PyCFunction
) _wrap_PrintPreview_SetCurrentPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32247 { (char *)"PrintPreview_GetCurrentPage", (PyCFunction
)_wrap_PrintPreview_GetCurrentPage
, METH_O
, NULL
},
32248 { (char *)"PrintPreview_SetPrintout", (PyCFunction
) _wrap_PrintPreview_SetPrintout
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32249 { (char *)"PrintPreview_GetPrintout", (PyCFunction
)_wrap_PrintPreview_GetPrintout
, METH_O
, NULL
},
32250 { (char *)"PrintPreview_GetPrintoutForPrinting", (PyCFunction
)_wrap_PrintPreview_GetPrintoutForPrinting
, METH_O
, NULL
},
32251 { (char *)"PrintPreview_SetFrame", (PyCFunction
) _wrap_PrintPreview_SetFrame
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32252 { (char *)"PrintPreview_SetCanvas", (PyCFunction
) _wrap_PrintPreview_SetCanvas
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32253 { (char *)"PrintPreview_GetFrame", (PyCFunction
)_wrap_PrintPreview_GetFrame
, METH_O
, NULL
},
32254 { (char *)"PrintPreview_GetCanvas", (PyCFunction
)_wrap_PrintPreview_GetCanvas
, METH_O
, NULL
},
32255 { (char *)"PrintPreview_PaintPage", (PyCFunction
) _wrap_PrintPreview_PaintPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32256 { (char *)"PrintPreview_DrawBlankPage", (PyCFunction
) _wrap_PrintPreview_DrawBlankPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32257 { (char *)"PrintPreview_RenderPage", (PyCFunction
) _wrap_PrintPreview_RenderPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32258 { (char *)"PrintPreview_AdjustScrollbars", (PyCFunction
) _wrap_PrintPreview_AdjustScrollbars
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32259 { (char *)"PrintPreview_GetPrintDialogData", (PyCFunction
)_wrap_PrintPreview_GetPrintDialogData
, METH_O
, NULL
},
32260 { (char *)"PrintPreview_SetZoom", (PyCFunction
) _wrap_PrintPreview_SetZoom
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32261 { (char *)"PrintPreview_GetZoom", (PyCFunction
)_wrap_PrintPreview_GetZoom
, METH_O
, NULL
},
32262 { (char *)"PrintPreview_GetMaxPage", (PyCFunction
)_wrap_PrintPreview_GetMaxPage
, METH_O
, NULL
},
32263 { (char *)"PrintPreview_GetMinPage", (PyCFunction
)_wrap_PrintPreview_GetMinPage
, METH_O
, NULL
},
32264 { (char *)"PrintPreview_IsOk", (PyCFunction
)_wrap_PrintPreview_IsOk
, METH_O
, NULL
},
32265 { (char *)"PrintPreview_SetOk", (PyCFunction
) _wrap_PrintPreview_SetOk
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32266 { (char *)"PrintPreview_Print", (PyCFunction
) _wrap_PrintPreview_Print
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32267 { (char *)"PrintPreview_DetermineScaling", (PyCFunction
)_wrap_PrintPreview_DetermineScaling
, METH_O
, NULL
},
32268 { (char *)"PrintPreview_swigregister", PrintPreview_swigregister
, METH_VARARGS
, NULL
},
32269 { (char *)"PrintPreview_swiginit", PrintPreview_swiginit
, METH_VARARGS
, NULL
},
32270 { (char *)"new_PyPrintPreview", _wrap_new_PyPrintPreview
, METH_VARARGS
, NULL
},
32271 { (char *)"PyPrintPreview__setCallbackInfo", (PyCFunction
) _wrap_PyPrintPreview__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32272 { (char *)"PyPrintPreview_swigregister", PyPrintPreview_swigregister
, METH_VARARGS
, NULL
},
32273 { (char *)"PyPrintPreview_swiginit", PyPrintPreview_swiginit
, METH_VARARGS
, NULL
},
32274 { (char *)"new_PyPreviewFrame", (PyCFunction
) _wrap_new_PyPreviewFrame
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32275 { (char *)"PyPreviewFrame__setCallbackInfo", (PyCFunction
) _wrap_PyPreviewFrame__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32276 { (char *)"PyPreviewFrame_SetPreviewCanvas", (PyCFunction
) _wrap_PyPreviewFrame_SetPreviewCanvas
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32277 { (char *)"PyPreviewFrame_SetControlBar", (PyCFunction
) _wrap_PyPreviewFrame_SetControlBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32278 { (char *)"PyPreviewFrame_Initialize", (PyCFunction
)_wrap_PyPreviewFrame_Initialize
, METH_O
, NULL
},
32279 { (char *)"PyPreviewFrame_CreateCanvas", (PyCFunction
)_wrap_PyPreviewFrame_CreateCanvas
, METH_O
, NULL
},
32280 { (char *)"PyPreviewFrame_CreateControlBar", (PyCFunction
)_wrap_PyPreviewFrame_CreateControlBar
, METH_O
, NULL
},
32281 { (char *)"PyPreviewFrame_swigregister", PyPreviewFrame_swigregister
, METH_VARARGS
, NULL
},
32282 { (char *)"PyPreviewFrame_swiginit", PyPreviewFrame_swiginit
, METH_VARARGS
, NULL
},
32283 { (char *)"new_PyPreviewControlBar", (PyCFunction
) _wrap_new_PyPreviewControlBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32284 { (char *)"PyPreviewControlBar__setCallbackInfo", (PyCFunction
) _wrap_PyPreviewControlBar__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32285 { (char *)"PyPreviewControlBar_SetPrintPreview", (PyCFunction
) _wrap_PyPreviewControlBar_SetPrintPreview
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32286 { (char *)"PyPreviewControlBar_CreateButtons", (PyCFunction
)_wrap_PyPreviewControlBar_CreateButtons
, METH_O
, NULL
},
32287 { (char *)"PyPreviewControlBar_SetZoomControl", (PyCFunction
) _wrap_PyPreviewControlBar_SetZoomControl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32288 { (char *)"PyPreviewControlBar_swigregister", PyPreviewControlBar_swigregister
, METH_VARARGS
, NULL
},
32289 { (char *)"PyPreviewControlBar_swiginit", PyPreviewControlBar_swiginit
, METH_VARARGS
, NULL
},
32290 { NULL
, NULL
, 0, NULL
}
32294 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (BEGIN) -------- */
32296 static void *_p_wxPyPreviewFrameTo_p_wxPreviewFrame(void *x
) {
32297 return (void *)((wxPreviewFrame
*) ((wxPyPreviewFrame
*) x
));
32299 static void *_p_wxContextMenuEventTo_p_wxEvent(void *x
) {
32300 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
32302 static void *_p_wxMenuEventTo_p_wxEvent(void *x
) {
32303 return (void *)((wxEvent
*) ((wxMenuEvent
*) x
));
32305 static void *_p_wxCloseEventTo_p_wxEvent(void *x
) {
32306 return (void *)((wxEvent
*) ((wxCloseEvent
*) x
));
32308 static void *_p_wxMouseEventTo_p_wxEvent(void *x
) {
32309 return (void *)((wxEvent
*) ((wxMouseEvent
*) x
));
32311 static void *_p_wxEraseEventTo_p_wxEvent(void *x
) {
32312 return (void *)((wxEvent
*) ((wxEraseEvent
*) x
));
32314 static void *_p_wxSetCursorEventTo_p_wxEvent(void *x
) {
32315 return (void *)((wxEvent
*) ((wxSetCursorEvent
*) x
));
32317 static void *_p_wxSplitterEventTo_p_wxEvent(void *x
) {
32318 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*) ((wxSplitterEvent
*) x
));
32320 static void *_p_wxInitDialogEventTo_p_wxEvent(void *x
) {
32321 return (void *)((wxEvent
*) ((wxInitDialogEvent
*) x
));
32323 static void *_p_wxScrollEventTo_p_wxEvent(void *x
) {
32324 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxScrollEvent
*) x
));
32326 static void *_p_wxFindDialogEventTo_p_wxEvent(void *x
) {
32327 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxFindDialogEvent
*) x
));
32329 static void *_p_wxNotifyEventTo_p_wxEvent(void *x
) {
32330 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxNotifyEvent
*) x
));
32332 static void *_p_wxMouseCaptureLostEventTo_p_wxEvent(void *x
) {
32333 return (void *)((wxEvent
*) ((wxMouseCaptureLostEvent
*) x
));
32335 static void *_p_wxPyEventTo_p_wxEvent(void *x
) {
32336 return (void *)((wxEvent
*) ((wxPyEvent
*) x
));
32338 static void *_p_wxCalculateLayoutEventTo_p_wxEvent(void *x
) {
32339 return (void *)((wxEvent
*) ((wxCalculateLayoutEvent
*) x
));
32341 static void *_p_wxIdleEventTo_p_wxEvent(void *x
) {
32342 return (void *)((wxEvent
*) ((wxIdleEvent
*) x
));
32344 static void *_p_wxWindowCreateEventTo_p_wxEvent(void *x
) {
32345 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
32347 static void *_p_wxQueryNewPaletteEventTo_p_wxEvent(void *x
) {
32348 return (void *)((wxEvent
*) ((wxQueryNewPaletteEvent
*) x
));
32350 static void *_p_wxMaximizeEventTo_p_wxEvent(void *x
) {
32351 return (void *)((wxEvent
*) ((wxMaximizeEvent
*) x
));
32353 static void *_p_wxIconizeEventTo_p_wxEvent(void *x
) {
32354 return (void *)((wxEvent
*) ((wxIconizeEvent
*) x
));
32356 static void *_p_wxActivateEventTo_p_wxEvent(void *x
) {
32357 return (void *)((wxEvent
*) ((wxActivateEvent
*) x
));
32359 static void *_p_wxSizeEventTo_p_wxEvent(void *x
) {
32360 return (void *)((wxEvent
*) ((wxSizeEvent
*) x
));
32362 static void *_p_wxMoveEventTo_p_wxEvent(void *x
) {
32363 return (void *)((wxEvent
*) ((wxMoveEvent
*) x
));
32365 static void *_p_wxDateEventTo_p_wxEvent(void *x
) {
32366 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxDateEvent
*) x
));
32368 static void *_p_wxPaintEventTo_p_wxEvent(void *x
) {
32369 return (void *)((wxEvent
*) ((wxPaintEvent
*) x
));
32371 static void *_p_wxNcPaintEventTo_p_wxEvent(void *x
) {
32372 return (void *)((wxEvent
*) ((wxNcPaintEvent
*) x
));
32374 static void *_p_wxClipboardTextEventTo_p_wxEvent(void *x
) {
32375 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxClipboardTextEvent
*) x
));
32377 static void *_p_wxUpdateUIEventTo_p_wxEvent(void *x
) {
32378 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
32380 static void *_p_wxPaletteChangedEventTo_p_wxEvent(void *x
) {
32381 return (void *)((wxEvent
*) ((wxPaletteChangedEvent
*) x
));
32383 static void *_p_wxDisplayChangedEventTo_p_wxEvent(void *x
) {
32384 return (void *)((wxEvent
*) ((wxDisplayChangedEvent
*) x
));
32386 static void *_p_wxMouseCaptureChangedEventTo_p_wxEvent(void *x
) {
32387 return (void *)((wxEvent
*) ((wxMouseCaptureChangedEvent
*) x
));
32389 static void *_p_wxSysColourChangedEventTo_p_wxEvent(void *x
) {
32390 return (void *)((wxEvent
*) ((wxSysColourChangedEvent
*) x
));
32392 static void *_p_wxDropFilesEventTo_p_wxEvent(void *x
) {
32393 return (void *)((wxEvent
*) ((wxDropFilesEvent
*) x
));
32395 static void *_p_wxFocusEventTo_p_wxEvent(void *x
) {
32396 return (void *)((wxEvent
*) ((wxFocusEvent
*) x
));
32398 static void *_p_wxChildFocusEventTo_p_wxEvent(void *x
) {
32399 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
32401 static void *_p_wxSashEventTo_p_wxEvent(void *x
) {
32402 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxSashEvent
*) x
));
32404 static void *_p_wxQueryLayoutInfoEventTo_p_wxEvent(void *x
) {
32405 return (void *)((wxEvent
*) ((wxQueryLayoutInfoEvent
*) x
));
32407 static void *_p_wxShowEventTo_p_wxEvent(void *x
) {
32408 return (void *)((wxEvent
*) ((wxShowEvent
*) x
));
32410 static void *_p_wxCommandEventTo_p_wxEvent(void *x
) {
32411 return (void *)((wxEvent
*) ((wxCommandEvent
*) x
));
32413 static void *_p_wxPyCommandEventTo_p_wxEvent(void *x
) {
32414 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
32416 static void *_p_wxWindowDestroyEventTo_p_wxEvent(void *x
) {
32417 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
32419 static void *_p_wxNavigationKeyEventTo_p_wxEvent(void *x
) {
32420 return (void *)((wxEvent
*) ((wxNavigationKeyEvent
*) x
));
32422 static void *_p_wxKeyEventTo_p_wxEvent(void *x
) {
32423 return (void *)((wxEvent
*) ((wxKeyEvent
*) x
));
32425 static void *_p_wxScrollWinEventTo_p_wxEvent(void *x
) {
32426 return (void *)((wxEvent
*) ((wxScrollWinEvent
*) x
));
32428 static void *_p_wxTaskBarIconEventTo_p_wxEvent(void *x
) {
32429 return (void *)((wxEvent
*) ((wxTaskBarIconEvent
*) x
));
32431 static void *_p_wxSplitterEventTo_p_wxNotifyEvent(void *x
) {
32432 return (void *)((wxNotifyEvent
*) ((wxSplitterEvent
*) x
));
32434 static void *_p_wxPasswordEntryDialogTo_p_wxTextEntryDialog(void *x
) {
32435 return (void *)((wxTextEntryDialog
*) ((wxPasswordEntryDialog
*) x
));
32437 static void *_p_wxSplashScreenTo_p_wxEvtHandler(void *x
) {
32438 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxSplashScreen
*) x
));
32440 static void *_p_wxMiniFrameTo_p_wxEvtHandler(void *x
) {
32441 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxMiniFrame
*) x
));
32443 static void *_p_wxPyPanelTo_p_wxEvtHandler(void *x
) {
32444 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*) ((wxPyPanel
*) x
));
32446 static void *_p_wxMenuBarTo_p_wxEvtHandler(void *x
) {
32447 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxMenuBar
*) x
));
32449 static void *_p_wxValidatorTo_p_wxEvtHandler(void *x
) {
32450 return (void *)((wxEvtHandler
*) ((wxValidator
*) x
));
32452 static void *_p_wxPyValidatorTo_p_wxEvtHandler(void *x
) {
32453 return (void *)((wxEvtHandler
*) (wxValidator
*) ((wxPyValidator
*) x
));
32455 static void *_p_wxMenuTo_p_wxEvtHandler(void *x
) {
32456 return (void *)((wxEvtHandler
*) ((wxMenu
*) x
));
32458 static void *_p_wxPasswordEntryDialogTo_p_wxEvtHandler(void *x
) {
32459 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*)(wxTextEntryDialog
*) ((wxPasswordEntryDialog
*) x
));
32461 static void *_p_wxTextEntryDialogTo_p_wxEvtHandler(void *x
) {
32462 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxTextEntryDialog
*) x
));
32464 static void *_p_wxSingleChoiceDialogTo_p_wxEvtHandler(void *x
) {
32465 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxSingleChoiceDialog
*) x
));
32467 static void *_p_wxMultiChoiceDialogTo_p_wxEvtHandler(void *x
) {
32468 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxMultiChoiceDialog
*) x
));
32470 static void *_p_wxFileDialogTo_p_wxEvtHandler(void *x
) {
32471 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxFileDialog
*) x
));
32473 static void *_p_wxNumberEntryDialogTo_p_wxEvtHandler(void *x
) {
32474 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxNumberEntryDialog
*) x
));
32476 static void *_p_wxMessageDialogTo_p_wxEvtHandler(void *x
) {
32477 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxMessageDialog
*) x
));
32479 static void *_p_wxProgressDialogTo_p_wxEvtHandler(void *x
) {
32480 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxProgressDialog
*) x
));
32482 static void *_p_wxFindReplaceDialogTo_p_wxEvtHandler(void *x
) {
32483 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxFindReplaceDialog
*) x
));
32485 static void *_p_wxPanelTo_p_wxEvtHandler(void *x
) {
32486 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxPanel
*) x
));
32488 static void *_p_wxStatusBarTo_p_wxEvtHandler(void *x
) {
32489 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxStatusBar
*) x
));
32491 static void *_p_wxPyVScrolledWindowTo_p_wxEvtHandler(void *x
) {
32492 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*) ((wxPyVScrolledWindow
*) x
));
32494 static void *_p_wxTipWindowTo_p_wxEvtHandler(void *x
) {
32495 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPopupWindow
*)(wxPyPopupTransientWindow
*) ((wxTipWindow
*) x
));
32497 static void *_p_wxPyPopupTransientWindowTo_p_wxEvtHandler(void *x
) {
32498 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPopupWindow
*) ((wxPyPopupTransientWindow
*) x
));
32500 static void *_p_wxPopupWindowTo_p_wxEvtHandler(void *x
) {
32501 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxPopupWindow
*) x
));
32503 static void *_p_wxSashLayoutWindowTo_p_wxEvtHandler(void *x
) {
32504 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxSashWindow
*) ((wxSashLayoutWindow
*) x
));
32506 static void *_p_wxSashWindowTo_p_wxEvtHandler(void *x
) {
32507 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxSashWindow
*) x
));
32509 static void *_p_wxSplitterWindowTo_p_wxEvtHandler(void *x
) {
32510 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxSplitterWindow
*) x
));
32512 static void *_p_wxSplashScreenWindowTo_p_wxEvtHandler(void *x
) {
32513 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxSplashScreenWindow
*) x
));
32515 static void *_p_wxWindowTo_p_wxEvtHandler(void *x
) {
32516 return (void *)((wxEvtHandler
*) ((wxWindow
*) x
));
32518 static void *_p_wxScrolledWindowTo_p_wxEvtHandler(void *x
) {
32519 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*) ((wxScrolledWindow
*) x
));
32521 static void *_p_wxTopLevelWindowTo_p_wxEvtHandler(void *x
) {
32522 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxTopLevelWindow
*) x
));
32524 static void *_p_wxMDIClientWindowTo_p_wxEvtHandler(void *x
) {
32525 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxMDIClientWindow
*) x
));
32527 static void *_p_wxPyScrolledWindowTo_p_wxEvtHandler(void *x
) {
32528 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*)(wxScrolledWindow
*) ((wxPyScrolledWindow
*) x
));
32530 static void *_p_wxControlTo_p_wxEvtHandler(void *x
) {
32531 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxControl
*) x
));
32533 static void *_p_wxPreviewFrameTo_p_wxEvtHandler(void *x
) {
32534 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxPreviewFrame
*) x
));
32536 static void *_p_wxPyPreviewFrameTo_p_wxEvtHandler(void *x
) {
32537 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*)(wxPreviewFrame
*) ((wxPyPreviewFrame
*) x
));
32539 static void *_p_wxMDIChildFrameTo_p_wxEvtHandler(void *x
) {
32540 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxMDIChildFrame
*) x
));
32542 static void *_p_wxPyAppTo_p_wxEvtHandler(void *x
) {
32543 return (void *)((wxEvtHandler
*) ((wxPyApp
*) x
));
32545 static void *_p_wxControlWithItemsTo_p_wxEvtHandler(void *x
) {
32546 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxControlWithItems
*) x
));
32548 static void *_p_wxPyWindowTo_p_wxEvtHandler(void *x
) {
32549 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxPyWindow
*) x
));
32551 static void *_p_wxPreviewCanvasTo_p_wxEvtHandler(void *x
) {
32552 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*)(wxScrolledWindow
*) ((wxPreviewCanvas
*) x
));
32554 static void *_p_wxPyHtmlListBoxTo_p_wxEvtHandler(void *x
) {
32555 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*)(wxPyVScrolledWindow
*)(wxPyVListBox
*) ((wxPyHtmlListBox
*) x
));
32557 static void *_p_wxPyVListBoxTo_p_wxEvtHandler(void *x
) {
32558 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*)(wxPyVScrolledWindow
*) ((wxPyVListBox
*) x
));
32560 static void *_p_wxPreviewControlBarTo_p_wxEvtHandler(void *x
) {
32561 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*) ((wxPreviewControlBar
*) x
));
32563 static void *_p_wxPyPreviewControlBarTo_p_wxEvtHandler(void *x
) {
32564 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*)(wxPreviewControlBar
*) ((wxPyPreviewControlBar
*) x
));
32566 static void *_p_wxPyTaskBarIconTo_p_wxEvtHandler(void *x
) {
32567 return (void *)((wxEvtHandler
*) ((wxPyTaskBarIcon
*) x
));
32569 static void *_p_wxFrameTo_p_wxEvtHandler(void *x
) {
32570 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*) ((wxFrame
*) x
));
32572 static void *_p_wxDirDialogTo_p_wxEvtHandler(void *x
) {
32573 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxDirDialog
*) x
));
32575 static void *_p_wxColourDialogTo_p_wxEvtHandler(void *x
) {
32576 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxColourDialog
*) x
));
32578 static void *_p_wxDialogTo_p_wxEvtHandler(void *x
) {
32579 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*) ((wxDialog
*) x
));
32581 static void *_p_wxFontDialogTo_p_wxEvtHandler(void *x
) {
32582 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxFontDialog
*) x
));
32584 static void *_p_wxMDIParentFrameTo_p_wxEvtHandler(void *x
) {
32585 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxMDIParentFrame
*) x
));
32587 static void *_p_wxPyHtmlListBoxTo_p_wxPyVListBox(void *x
) {
32588 return (void *)((wxPyVListBox
*) ((wxPyHtmlListBox
*) x
));
32590 static void *_p_wxMDIChildFrameTo_p_wxFrame(void *x
) {
32591 return (void *)((wxFrame
*) ((wxMDIChildFrame
*) x
));
32593 static void *_p_wxProgressDialogTo_p_wxFrame(void *x
) {
32594 return (void *)((wxFrame
*) ((wxProgressDialog
*) x
));
32596 static void *_p_wxPreviewFrameTo_p_wxFrame(void *x
) {
32597 return (void *)((wxFrame
*) ((wxPreviewFrame
*) x
));
32599 static void *_p_wxPyPreviewFrameTo_p_wxFrame(void *x
) {
32600 return (void *)((wxFrame
*) (wxPreviewFrame
*) ((wxPyPreviewFrame
*) x
));
32602 static void *_p_wxMiniFrameTo_p_wxFrame(void *x
) {
32603 return (void *)((wxFrame
*) ((wxMiniFrame
*) x
));
32605 static void *_p_wxSplashScreenTo_p_wxFrame(void *x
) {
32606 return (void *)((wxFrame
*) ((wxSplashScreen
*) x
));
32608 static void *_p_wxMDIParentFrameTo_p_wxFrame(void *x
) {
32609 return (void *)((wxFrame
*) ((wxMDIParentFrame
*) x
));
32611 static void *_p_wxLayoutConstraintsTo_p_wxObject(void *x
) {
32612 return (void *)((wxObject
*) ((wxLayoutConstraints
*) x
));
32614 static void *_p_wxQueryLayoutInfoEventTo_p_wxObject(void *x
) {
32615 return (void *)((wxObject
*) (wxEvent
*) ((wxQueryLayoutInfoEvent
*) x
));
32617 static void *_p_wxPreviewFrameTo_p_wxObject(void *x
) {
32618 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxPreviewFrame
*) x
));
32620 static void *_p_wxPyPreviewFrameTo_p_wxObject(void *x
) {
32621 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*)(wxPreviewFrame
*) ((wxPyPreviewFrame
*) x
));
32623 static void *_p_wxSizerItemTo_p_wxObject(void *x
) {
32624 return (void *)((wxObject
*) ((wxSizerItem
*) x
));
32626 static void *_p_wxGBSizerItemTo_p_wxObject(void *x
) {
32627 return (void *)((wxObject
*) (wxSizerItem
*) ((wxGBSizerItem
*) x
));
32629 static void *_p_wxScrollEventTo_p_wxObject(void *x
) {
32630 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxScrollEvent
*) x
));
32632 static void *_p_wxIndividualLayoutConstraintTo_p_wxObject(void *x
) {
32633 return (void *)((wxObject
*) ((wxIndividualLayoutConstraint
*) x
));
32635 static void *_p_wxStaticBoxSizerTo_p_wxObject(void *x
) {
32636 return (void *)((wxObject
*) (wxSizer
*)(wxBoxSizer
*) ((wxStaticBoxSizer
*) x
));
32638 static void *_p_wxBoxSizerTo_p_wxObject(void *x
) {
32639 return (void *)((wxObject
*) (wxSizer
*) ((wxBoxSizer
*) x
));
32641 static void *_p_wxSizerTo_p_wxObject(void *x
) {
32642 return (void *)((wxObject
*) ((wxSizer
*) x
));
32644 static void *_p_wxGridBagSizerTo_p_wxObject(void *x
) {
32645 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*)(wxFlexGridSizer
*) ((wxGridBagSizer
*) x
));
32647 static void *_p_wxUpdateUIEventTo_p_wxObject(void *x
) {
32648 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
32650 static void *_p_wxPyPanelTo_p_wxObject(void *x
) {
32651 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*) ((wxPyPanel
*) x
));
32653 static void *_p_wxEventTo_p_wxObject(void *x
) {
32654 return (void *)((wxObject
*) ((wxEvent
*) x
));
32656 static void *_p_wxFontDataTo_p_wxObject(void *x
) {
32657 return (void *)((wxObject
*) ((wxFontData
*) x
));
32659 static void *_p_wxPrintDataTo_p_wxObject(void *x
) {
32660 return (void *)((wxObject
*) ((wxPrintData
*) x
));
32662 static void *_p_wxFlexGridSizerTo_p_wxObject(void *x
) {
32663 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*) ((wxFlexGridSizer
*) x
));
32665 static void *_p_wxGridSizerTo_p_wxObject(void *x
) {
32666 return (void *)((wxObject
*) (wxSizer
*) ((wxGridSizer
*) x
));
32668 static void *_p_wxInitDialogEventTo_p_wxObject(void *x
) {
32669 return (void *)((wxObject
*) (wxEvent
*) ((wxInitDialogEvent
*) x
));
32671 static void *_p_wxLayoutAlgorithmTo_p_wxObject(void *x
) {
32672 return (void *)((wxObject
*) ((wxLayoutAlgorithm
*) x
));
32674 static void *_p_wxPyTaskBarIconTo_p_wxObject(void *x
) {
32675 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxPyTaskBarIcon
*) x
));
32677 static void *_p_wxFindDialogEventTo_p_wxObject(void *x
) {
32678 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxFindDialogEvent
*) x
));
32680 static void *_p_wxClipboardTextEventTo_p_wxObject(void *x
) {
32681 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxClipboardTextEvent
*) x
));
32683 static void *_p_wxPaintEventTo_p_wxObject(void *x
) {
32684 return (void *)((wxObject
*) (wxEvent
*) ((wxPaintEvent
*) x
));
32686 static void *_p_wxNcPaintEventTo_p_wxObject(void *x
) {
32687 return (void *)((wxObject
*) (wxEvent
*) ((wxNcPaintEvent
*) x
));
32689 static void *_p_wxPaletteChangedEventTo_p_wxObject(void *x
) {
32690 return (void *)((wxObject
*) (wxEvent
*) ((wxPaletteChangedEvent
*) x
));
32692 static void *_p_wxDisplayChangedEventTo_p_wxObject(void *x
) {
32693 return (void *)((wxObject
*) (wxEvent
*) ((wxDisplayChangedEvent
*) x
));
32695 static void *_p_wxMouseCaptureChangedEventTo_p_wxObject(void *x
) {
32696 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseCaptureChangedEvent
*) x
));
32698 static void *_p_wxSysColourChangedEventTo_p_wxObject(void *x
) {
32699 return (void *)((wxObject
*) (wxEvent
*) ((wxSysColourChangedEvent
*) x
));
32701 static void *_p_wxPreviewCanvasTo_p_wxObject(void *x
) {
32702 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*)(wxScrolledWindow
*) ((wxPreviewCanvas
*) x
));
32704 static void *_p_wxControlTo_p_wxObject(void *x
) {
32705 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxControl
*) x
));
32707 static void *_p_wxSetCursorEventTo_p_wxObject(void *x
) {
32708 return (void *)((wxObject
*) (wxEvent
*) ((wxSetCursorEvent
*) x
));
32710 static void *_p_wxSplitterEventTo_p_wxObject(void *x
) {
32711 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*) ((wxSplitterEvent
*) x
));
32713 static void *_p_wxFSFileTo_p_wxObject(void *x
) {
32714 return (void *)((wxObject
*) ((wxFSFile
*) x
));
32716 static void *_p_wxFindReplaceDataTo_p_wxObject(void *x
) {
32717 return (void *)((wxObject
*) ((wxFindReplaceData
*) x
));
32719 static void *_p_wxPySizerTo_p_wxObject(void *x
) {
32720 return (void *)((wxObject
*) (wxSizer
*) ((wxPySizer
*) x
));
32722 static void *_p_wxMDIChildFrameTo_p_wxObject(void *x
) {
32723 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxMDIChildFrame
*) x
));
32725 static void *_p_wxColourDataTo_p_wxObject(void *x
) {
32726 return (void *)((wxObject
*) ((wxColourData
*) x
));
32728 static void *_p_wxPyEventTo_p_wxObject(void *x
) {
32729 return (void *)((wxObject
*) (wxEvent
*) ((wxPyEvent
*) x
));
32731 static void *_p_wxNotifyEventTo_p_wxObject(void *x
) {
32732 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxNotifyEvent
*) x
));
32734 static void *_p_wxPyWindowTo_p_wxObject(void *x
) {
32735 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxPyWindow
*) x
));
32737 static void *_p_wxSplashScreenTo_p_wxObject(void *x
) {
32738 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxSplashScreen
*) x
));
32740 static void *_p_wxFileDialogTo_p_wxObject(void *x
) {
32741 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxFileDialog
*) x
));
32743 static void *_p_wxMultiChoiceDialogTo_p_wxObject(void *x
) {
32744 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxMultiChoiceDialog
*) x
));
32746 static void *_p_wxSingleChoiceDialogTo_p_wxObject(void *x
) {
32747 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxSingleChoiceDialog
*) x
));
32749 static void *_p_wxTextEntryDialogTo_p_wxObject(void *x
) {
32750 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxTextEntryDialog
*) x
));
32752 static void *_p_wxPasswordEntryDialogTo_p_wxObject(void *x
) {
32753 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*)(wxTextEntryDialog
*) ((wxPasswordEntryDialog
*) x
));
32755 static void *_p_wxNumberEntryDialogTo_p_wxObject(void *x
) {
32756 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxNumberEntryDialog
*) x
));
32758 static void *_p_wxMessageDialogTo_p_wxObject(void *x
) {
32759 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxMessageDialog
*) x
));
32761 static void *_p_wxProgressDialogTo_p_wxObject(void *x
) {
32762 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxProgressDialog
*) x
));
32764 static void *_p_wxFindReplaceDialogTo_p_wxObject(void *x
) {
32765 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxFindReplaceDialog
*) x
));
32767 static void *_p_wxShowEventTo_p_wxObject(void *x
) {
32768 return (void *)((wxObject
*) (wxEvent
*) ((wxShowEvent
*) x
));
32770 static void *_p_wxPrinterTo_p_wxObject(void *x
) {
32771 return (void *)((wxObject
*) ((wxPrinter
*) x
));
32773 static void *_p_wxMenuItemTo_p_wxObject(void *x
) {
32774 return (void *)((wxObject
*) ((wxMenuItem
*) x
));
32776 static void *_p_wxDateEventTo_p_wxObject(void *x
) {
32777 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxDateEvent
*) x
));
32779 static void *_p_wxIdleEventTo_p_wxObject(void *x
) {
32780 return (void *)((wxObject
*) (wxEvent
*) ((wxIdleEvent
*) x
));
32782 static void *_p_wxWindowCreateEventTo_p_wxObject(void *x
) {
32783 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
32785 static void *_p_wxQueryNewPaletteEventTo_p_wxObject(void *x
) {
32786 return (void *)((wxObject
*) (wxEvent
*) ((wxQueryNewPaletteEvent
*) x
));
32788 static void *_p_wxMaximizeEventTo_p_wxObject(void *x
) {
32789 return (void *)((wxObject
*) (wxEvent
*) ((wxMaximizeEvent
*) x
));
32791 static void *_p_wxIconizeEventTo_p_wxObject(void *x
) {
32792 return (void *)((wxObject
*) (wxEvent
*) ((wxIconizeEvent
*) x
));
32794 static void *_p_wxSizeEventTo_p_wxObject(void *x
) {
32795 return (void *)((wxObject
*) (wxEvent
*) ((wxSizeEvent
*) x
));
32797 static void *_p_wxMoveEventTo_p_wxObject(void *x
) {
32798 return (void *)((wxObject
*) (wxEvent
*) ((wxMoveEvent
*) x
));
32800 static void *_p_wxActivateEventTo_p_wxObject(void *x
) {
32801 return (void *)((wxObject
*) (wxEvent
*) ((wxActivateEvent
*) x
));
32803 static void *_p_wxPNMHandlerTo_p_wxObject(void *x
) {
32804 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNMHandler
*) x
));
32806 static void *_p_wxJPEGHandlerTo_p_wxObject(void *x
) {
32807 return (void *)((wxObject
*) (wxImageHandler
*) ((wxJPEGHandler
*) x
));
32809 static void *_p_wxPCXHandlerTo_p_wxObject(void *x
) {
32810 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPCXHandler
*) x
));
32812 static void *_p_wxGIFHandlerTo_p_wxObject(void *x
) {
32813 return (void *)((wxObject
*) (wxImageHandler
*) ((wxGIFHandler
*) x
));
32815 static void *_p_wxPNGHandlerTo_p_wxObject(void *x
) {
32816 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNGHandler
*) x
));
32818 static void *_p_wxANIHandlerTo_p_wxObject(void *x
) {
32819 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*)(wxCURHandler
*) ((wxANIHandler
*) x
));
32821 static void *_p_wxCURHandlerTo_p_wxObject(void *x
) {
32822 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*) ((wxCURHandler
*) x
));
32824 static void *_p_wxICOHandlerTo_p_wxObject(void *x
) {
32825 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*) ((wxICOHandler
*) x
));
32827 static void *_p_wxBMPHandlerTo_p_wxObject(void *x
) {
32828 return (void *)((wxObject
*) (wxImageHandler
*) ((wxBMPHandler
*) x
));
32830 static void *_p_wxPyImageHandlerTo_p_wxObject(void *x
) {
32831 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPyImageHandler
*) x
));
32833 static void *_p_wxImageHandlerTo_p_wxObject(void *x
) {
32834 return (void *)((wxObject
*) ((wxImageHandler
*) x
));
32836 static void *_p_wxXPMHandlerTo_p_wxObject(void *x
) {
32837 return (void *)((wxObject
*) (wxImageHandler
*) ((wxXPMHandler
*) x
));
32839 static void *_p_wxTIFFHandlerTo_p_wxObject(void *x
) {
32840 return (void *)((wxObject
*) (wxImageHandler
*) ((wxTIFFHandler
*) x
));
32842 static void *_p_wxTGAHandlerTo_p_wxObject(void *x
) {
32843 return (void *)((wxObject
*) (wxImageHandler
*) ((wxTGAHandler
*) x
));
32845 static void *_p_wxEvtHandlerTo_p_wxObject(void *x
) {
32846 return (void *)((wxObject
*) ((wxEvtHandler
*) x
));
32848 static void *_p_wxMouseCaptureLostEventTo_p_wxObject(void *x
) {
32849 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseCaptureLostEvent
*) x
));
32851 static void *_p_wxCalculateLayoutEventTo_p_wxObject(void *x
) {
32852 return (void *)((wxObject
*) (wxEvent
*) ((wxCalculateLayoutEvent
*) x
));
32854 static void *_p_wxPyVListBoxTo_p_wxObject(void *x
) {
32855 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*)(wxPyVScrolledWindow
*) ((wxPyVListBox
*) x
));
32857 static void *_p_wxPyHtmlListBoxTo_p_wxObject(void *x
) {
32858 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*)(wxPyVScrolledWindow
*)(wxPyVListBox
*) ((wxPyHtmlListBox
*) x
));
32860 static void *_p_wxAcceleratorTableTo_p_wxObject(void *x
) {
32861 return (void *)((wxObject
*) ((wxAcceleratorTable
*) x
));
32863 static void *_p_wxStdDialogButtonSizerTo_p_wxObject(void *x
) {
32864 return (void *)((wxObject
*) (wxSizer
*)(wxBoxSizer
*) ((wxStdDialogButtonSizer
*) x
));
32866 static void *_p_wxMiniFrameTo_p_wxObject(void *x
) {
32867 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxMiniFrame
*) x
));
32869 static void *_p_wxImageTo_p_wxObject(void *x
) {
32870 return (void *)((wxObject
*) ((wxImage
*) x
));
32872 static void *_p_wxFrameTo_p_wxObject(void *x
) {
32873 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*) ((wxFrame
*) x
));
32875 static void *_p_wxPyPrintoutTo_p_wxObject(void *x
) {
32876 return (void *)((wxObject
*) ((wxPyPrintout
*) x
));
32878 static void *_p_wxScrollWinEventTo_p_wxObject(void *x
) {
32879 return (void *)((wxObject
*) (wxEvent
*) ((wxScrollWinEvent
*) x
));
32881 static void *_p_wxTaskBarIconEventTo_p_wxObject(void *x
) {
32882 return (void *)((wxObject
*) (wxEvent
*) ((wxTaskBarIconEvent
*) x
));
32884 static void *_p_wxStatusBarTo_p_wxObject(void *x
) {
32885 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxStatusBar
*) x
));
32887 static void *_p_wxMDIParentFrameTo_p_wxObject(void *x
) {
32888 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxMDIParentFrame
*) x
));
32890 static void *_p_wxWindowDestroyEventTo_p_wxObject(void *x
) {
32891 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
32893 static void *_p_wxNavigationKeyEventTo_p_wxObject(void *x
) {
32894 return (void *)((wxObject
*) (wxEvent
*) ((wxNavigationKeyEvent
*) x
));
32896 static void *_p_wxKeyEventTo_p_wxObject(void *x
) {
32897 return (void *)((wxObject
*) (wxEvent
*) ((wxKeyEvent
*) x
));
32899 static void *_p_wxWindowTo_p_wxObject(void *x
) {
32900 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxWindow
*) x
));
32902 static void *_p_wxMenuTo_p_wxObject(void *x
) {
32903 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxMenu
*) x
));
32905 static void *_p_wxMenuBarTo_p_wxObject(void *x
) {
32906 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxMenuBar
*) x
));
32908 static void *_p_wxScrolledWindowTo_p_wxObject(void *x
) {
32909 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*) ((wxScrolledWindow
*) x
));
32911 static void *_p_wxTopLevelWindowTo_p_wxObject(void *x
) {
32912 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxTopLevelWindow
*) x
));
32914 static void *_p_wxSplashScreenWindowTo_p_wxObject(void *x
) {
32915 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxSplashScreenWindow
*) x
));
32917 static void *_p_wxSplitterWindowTo_p_wxObject(void *x
) {
32918 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxSplitterWindow
*) x
));
32920 static void *_p_wxSashWindowTo_p_wxObject(void *x
) {
32921 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxSashWindow
*) x
));
32923 static void *_p_wxSashLayoutWindowTo_p_wxObject(void *x
) {
32924 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxSashWindow
*) ((wxSashLayoutWindow
*) x
));
32926 static void *_p_wxPopupWindowTo_p_wxObject(void *x
) {
32927 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxPopupWindow
*) x
));
32929 static void *_p_wxPyPopupTransientWindowTo_p_wxObject(void *x
) {
32930 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPopupWindow
*) ((wxPyPopupTransientWindow
*) x
));
32932 static void *_p_wxTipWindowTo_p_wxObject(void *x
) {
32933 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPopupWindow
*)(wxPyPopupTransientWindow
*) ((wxTipWindow
*) x
));
32935 static void *_p_wxPyVScrolledWindowTo_p_wxObject(void *x
) {
32936 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*) ((wxPyVScrolledWindow
*) x
));
32938 static void *_p_wxMDIClientWindowTo_p_wxObject(void *x
) {
32939 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxMDIClientWindow
*) x
));
32941 static void *_p_wxPyScrolledWindowTo_p_wxObject(void *x
) {
32942 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*)(wxScrolledWindow
*) ((wxPyScrolledWindow
*) x
));
32944 static void *_p_wxSashEventTo_p_wxObject(void *x
) {
32945 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxSashEvent
*) x
));
32947 static void *_p_wxPrintPreviewTo_p_wxObject(void *x
) {
32948 return (void *)((wxObject
*) ((wxPrintPreview
*) x
));
32950 static void *_p_wxPyPrintPreviewTo_p_wxObject(void *x
) {
32951 return (void *)((wxObject
*) (wxPrintPreview
*) ((wxPyPrintPreview
*) x
));
32953 static void *_p_wxPanelTo_p_wxObject(void *x
) {
32954 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxPanel
*) x
));
32956 static void *_p_wxDialogTo_p_wxObject(void *x
) {
32957 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*) ((wxDialog
*) x
));
32959 static void *_p_wxColourDialogTo_p_wxObject(void *x
) {
32960 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxColourDialog
*) x
));
32962 static void *_p_wxDirDialogTo_p_wxObject(void *x
) {
32963 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxDirDialog
*) x
));
32965 static void *_p_wxFontDialogTo_p_wxObject(void *x
) {
32966 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxFontDialog
*) x
));
32968 static void *_p_wxPageSetupDialogTo_p_wxObject(void *x
) {
32969 return (void *)((wxObject
*) ((wxPageSetupDialog
*) x
));
32971 static void *_p_wxPrintDialogTo_p_wxObject(void *x
) {
32972 return (void *)((wxObject
*) ((wxPrintDialog
*) x
));
32974 static void *_p_wxFileSystemTo_p_wxObject(void *x
) {
32975 return (void *)((wxObject
*) ((wxFileSystem
*) x
));
32977 static void *_p_wxContextMenuEventTo_p_wxObject(void *x
) {
32978 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
32980 static void *_p_wxMenuEventTo_p_wxObject(void *x
) {
32981 return (void *)((wxObject
*) (wxEvent
*) ((wxMenuEvent
*) x
));
32983 static void *_p_wxPyAppTo_p_wxObject(void *x
) {
32984 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxPyApp
*) x
));
32986 static void *_p_wxCloseEventTo_p_wxObject(void *x
) {
32987 return (void *)((wxObject
*) (wxEvent
*) ((wxCloseEvent
*) x
));
32989 static void *_p_wxMouseEventTo_p_wxObject(void *x
) {
32990 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseEvent
*) x
));
32992 static void *_p_wxEraseEventTo_p_wxObject(void *x
) {
32993 return (void *)((wxObject
*) (wxEvent
*) ((wxEraseEvent
*) x
));
32995 static void *_p_wxPyCommandEventTo_p_wxObject(void *x
) {
32996 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
32998 static void *_p_wxCommandEventTo_p_wxObject(void *x
) {
32999 return (void *)((wxObject
*) (wxEvent
*) ((wxCommandEvent
*) x
));
33001 static void *_p_wxPreviewControlBarTo_p_wxObject(void *x
) {
33002 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*) ((wxPreviewControlBar
*) x
));
33004 static void *_p_wxPyPreviewControlBarTo_p_wxObject(void *x
) {
33005 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*)(wxPreviewControlBar
*) ((wxPyPreviewControlBar
*) x
));
33007 static void *_p_wxDropFilesEventTo_p_wxObject(void *x
) {
33008 return (void *)((wxObject
*) (wxEvent
*) ((wxDropFilesEvent
*) x
));
33010 static void *_p_wxFocusEventTo_p_wxObject(void *x
) {
33011 return (void *)((wxObject
*) (wxEvent
*) ((wxFocusEvent
*) x
));
33013 static void *_p_wxChildFocusEventTo_p_wxObject(void *x
) {
33014 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
33016 static void *_p_wxControlWithItemsTo_p_wxObject(void *x
) {
33017 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxControlWithItems
*) x
));
33019 static void *_p_wxPageSetupDialogDataTo_p_wxObject(void *x
) {
33020 return (void *)((wxObject
*) ((wxPageSetupDialogData
*) x
));
33022 static void *_p_wxPrintDialogDataTo_p_wxObject(void *x
) {
33023 return (void *)((wxObject
*) ((wxPrintDialogData
*) x
));
33025 static void *_p_wxPyValidatorTo_p_wxObject(void *x
) {
33026 return (void *)((wxObject
*) (wxEvtHandler
*)(wxValidator
*) ((wxPyValidator
*) x
));
33028 static void *_p_wxValidatorTo_p_wxObject(void *x
) {
33029 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxValidator
*) x
));
33031 static void *_p_wxPyVListBoxTo_p_wxPyVScrolledWindow(void *x
) {
33032 return (void *)((wxPyVScrolledWindow
*) ((wxPyVListBox
*) x
));
33034 static void *_p_wxPyHtmlListBoxTo_p_wxPyVScrolledWindow(void *x
) {
33035 return (void *)((wxPyVScrolledWindow
*) (wxPyVListBox
*) ((wxPyHtmlListBox
*) x
));
33037 static void *_p_wxTipWindowTo_p_wxPyPopupTransientWindow(void *x
) {
33038 return (void *)((wxPyPopupTransientWindow
*) ((wxTipWindow
*) x
));
33040 static void *_p_wxPyPopupTransientWindowTo_p_wxPopupWindow(void *x
) {
33041 return (void *)((wxPopupWindow
*) ((wxPyPopupTransientWindow
*) x
));
33043 static void *_p_wxTipWindowTo_p_wxPopupWindow(void *x
) {
33044 return (void *)((wxPopupWindow
*) (wxPyPopupTransientWindow
*) ((wxTipWindow
*) x
));
33046 static void *_p_wxSashLayoutWindowTo_p_wxSashWindow(void *x
) {
33047 return (void *)((wxSashWindow
*) ((wxSashLayoutWindow
*) x
));
33049 static void *_p_wxFrameTo_p_wxTopLevelWindow(void *x
) {
33050 return (void *)((wxTopLevelWindow
*) ((wxFrame
*) x
));
33052 static void *_p_wxMiniFrameTo_p_wxTopLevelWindow(void *x
) {
33053 return (void *)((wxTopLevelWindow
*) (wxFrame
*) ((wxMiniFrame
*) x
));
33055 static void *_p_wxFontDialogTo_p_wxTopLevelWindow(void *x
) {
33056 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxFontDialog
*) x
));
33058 static void *_p_wxDirDialogTo_p_wxTopLevelWindow(void *x
) {
33059 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxDirDialog
*) x
));
33061 static void *_p_wxColourDialogTo_p_wxTopLevelWindow(void *x
) {
33062 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxColourDialog
*) x
));
33064 static void *_p_wxDialogTo_p_wxTopLevelWindow(void *x
) {
33065 return (void *)((wxTopLevelWindow
*) ((wxDialog
*) x
));
33067 static void *_p_wxSplashScreenTo_p_wxTopLevelWindow(void *x
) {
33068 return (void *)((wxTopLevelWindow
*) (wxFrame
*) ((wxSplashScreen
*) x
));
33070 static void *_p_wxMDIParentFrameTo_p_wxTopLevelWindow(void *x
) {
33071 return (void *)((wxTopLevelWindow
*) (wxFrame
*) ((wxMDIParentFrame
*) x
));
33073 static void *_p_wxMDIChildFrameTo_p_wxTopLevelWindow(void *x
) {
33074 return (void *)((wxTopLevelWindow
*) (wxFrame
*) ((wxMDIChildFrame
*) x
));
33076 static void *_p_wxMessageDialogTo_p_wxTopLevelWindow(void *x
) {
33077 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxMessageDialog
*) x
));
33079 static void *_p_wxNumberEntryDialogTo_p_wxTopLevelWindow(void *x
) {
33080 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxNumberEntryDialog
*) x
));
33082 static void *_p_wxPasswordEntryDialogTo_p_wxTopLevelWindow(void *x
) {
33083 return (void *)((wxTopLevelWindow
*) (wxDialog
*)(wxTextEntryDialog
*) ((wxPasswordEntryDialog
*) x
));
33085 static void *_p_wxTextEntryDialogTo_p_wxTopLevelWindow(void *x
) {
33086 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxTextEntryDialog
*) x
));
33088 static void *_p_wxSingleChoiceDialogTo_p_wxTopLevelWindow(void *x
) {
33089 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxSingleChoiceDialog
*) x
));
33091 static void *_p_wxMultiChoiceDialogTo_p_wxTopLevelWindow(void *x
) {
33092 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxMultiChoiceDialog
*) x
));
33094 static void *_p_wxFileDialogTo_p_wxTopLevelWindow(void *x
) {
33095 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxFileDialog
*) x
));
33097 static void *_p_wxProgressDialogTo_p_wxTopLevelWindow(void *x
) {
33098 return (void *)((wxTopLevelWindow
*) (wxFrame
*) ((wxProgressDialog
*) x
));
33100 static void *_p_wxFindReplaceDialogTo_p_wxTopLevelWindow(void *x
) {
33101 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxFindReplaceDialog
*) x
));
33103 static void *_p_wxPreviewFrameTo_p_wxTopLevelWindow(void *x
) {
33104 return (void *)((wxTopLevelWindow
*) (wxFrame
*) ((wxPreviewFrame
*) x
));
33106 static void *_p_wxPyPreviewFrameTo_p_wxTopLevelWindow(void *x
) {
33107 return (void *)((wxTopLevelWindow
*) (wxFrame
*)(wxPreviewFrame
*) ((wxPyPreviewFrame
*) x
));
33109 static void *_p_wxSplashScreenTo_p_wxWindow(void *x
) {
33110 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*) ((wxSplashScreen
*) x
));
33112 static void *_p_wxMiniFrameTo_p_wxWindow(void *x
) {
33113 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*) ((wxMiniFrame
*) x
));
33115 static void *_p_wxPyPanelTo_p_wxWindow(void *x
) {
33116 return (void *)((wxWindow
*) (wxPanel
*) ((wxPyPanel
*) x
));
33118 static void *_p_wxMenuBarTo_p_wxWindow(void *x
) {
33119 return (void *)((wxWindow
*) ((wxMenuBar
*) x
));
33121 static void *_p_wxFindReplaceDialogTo_p_wxWindow(void *x
) {
33122 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxFindReplaceDialog
*) x
));
33124 static void *_p_wxProgressDialogTo_p_wxWindow(void *x
) {
33125 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*) ((wxProgressDialog
*) x
));
33127 static void *_p_wxMessageDialogTo_p_wxWindow(void *x
) {
33128 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxMessageDialog
*) x
));
33130 static void *_p_wxNumberEntryDialogTo_p_wxWindow(void *x
) {
33131 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxNumberEntryDialog
*) x
));
33133 static void *_p_wxPasswordEntryDialogTo_p_wxWindow(void *x
) {
33134 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*)(wxTextEntryDialog
*) ((wxPasswordEntryDialog
*) x
));
33136 static void *_p_wxTextEntryDialogTo_p_wxWindow(void *x
) {
33137 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxTextEntryDialog
*) x
));
33139 static void *_p_wxSingleChoiceDialogTo_p_wxWindow(void *x
) {
33140 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxSingleChoiceDialog
*) x
));
33142 static void *_p_wxMultiChoiceDialogTo_p_wxWindow(void *x
) {
33143 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxMultiChoiceDialog
*) x
));
33145 static void *_p_wxFileDialogTo_p_wxWindow(void *x
) {
33146 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxFileDialog
*) x
));
33148 static void *_p_wxPanelTo_p_wxWindow(void *x
) {
33149 return (void *)((wxWindow
*) ((wxPanel
*) x
));
33151 static void *_p_wxStatusBarTo_p_wxWindow(void *x
) {
33152 return (void *)((wxWindow
*) ((wxStatusBar
*) x
));
33154 static void *_p_wxPyVScrolledWindowTo_p_wxWindow(void *x
) {
33155 return (void *)((wxWindow
*) (wxPanel
*) ((wxPyVScrolledWindow
*) x
));
33157 static void *_p_wxTipWindowTo_p_wxWindow(void *x
) {
33158 return (void *)((wxWindow
*) (wxPopupWindow
*)(wxPyPopupTransientWindow
*) ((wxTipWindow
*) x
));
33160 static void *_p_wxPyPopupTransientWindowTo_p_wxWindow(void *x
) {
33161 return (void *)((wxWindow
*) (wxPopupWindow
*) ((wxPyPopupTransientWindow
*) x
));
33163 static void *_p_wxPopupWindowTo_p_wxWindow(void *x
) {
33164 return (void *)((wxWindow
*) ((wxPopupWindow
*) x
));
33166 static void *_p_wxSashLayoutWindowTo_p_wxWindow(void *x
) {
33167 return (void *)((wxWindow
*) (wxSashWindow
*) ((wxSashLayoutWindow
*) x
));
33169 static void *_p_wxScrolledWindowTo_p_wxWindow(void *x
) {
33170 return (void *)((wxWindow
*) (wxPanel
*) ((wxScrolledWindow
*) x
));
33172 static void *_p_wxTopLevelWindowTo_p_wxWindow(void *x
) {
33173 return (void *)((wxWindow
*) ((wxTopLevelWindow
*) x
));
33175 static void *_p_wxSplashScreenWindowTo_p_wxWindow(void *x
) {
33176 return (void *)((wxWindow
*) ((wxSplashScreenWindow
*) x
));
33178 static void *_p_wxSplitterWindowTo_p_wxWindow(void *x
) {
33179 return (void *)((wxWindow
*) ((wxSplitterWindow
*) x
));
33181 static void *_p_wxSashWindowTo_p_wxWindow(void *x
) {
33182 return (void *)((wxWindow
*) ((wxSashWindow
*) x
));
33184 static void *_p_wxMDIClientWindowTo_p_wxWindow(void *x
) {
33185 return (void *)((wxWindow
*) ((wxMDIClientWindow
*) x
));
33187 static void *_p_wxPyScrolledWindowTo_p_wxWindow(void *x
) {
33188 return (void *)((wxWindow
*) (wxPanel
*)(wxScrolledWindow
*) ((wxPyScrolledWindow
*) x
));
33190 static void *_p_wxControlTo_p_wxWindow(void *x
) {
33191 return (void *)((wxWindow
*) ((wxControl
*) x
));
33193 static void *_p_wxPreviewFrameTo_p_wxWindow(void *x
) {
33194 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*) ((wxPreviewFrame
*) x
));
33196 static void *_p_wxPyPreviewFrameTo_p_wxWindow(void *x
) {
33197 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*)(wxPreviewFrame
*) ((wxPyPreviewFrame
*) x
));
33199 static void *_p_wxMDIChildFrameTo_p_wxWindow(void *x
) {
33200 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*) ((wxMDIChildFrame
*) x
));
33202 static void *_p_wxControlWithItemsTo_p_wxWindow(void *x
) {
33203 return (void *)((wxWindow
*) (wxControl
*) ((wxControlWithItems
*) x
));
33205 static void *_p_wxPyWindowTo_p_wxWindow(void *x
) {
33206 return (void *)((wxWindow
*) ((wxPyWindow
*) x
));
33208 static void *_p_wxPreviewCanvasTo_p_wxWindow(void *x
) {
33209 return (void *)((wxWindow
*) (wxPanel
*)(wxScrolledWindow
*) ((wxPreviewCanvas
*) x
));
33211 static void *_p_wxPyHtmlListBoxTo_p_wxWindow(void *x
) {
33212 return (void *)((wxWindow
*) (wxPanel
*)(wxPyVScrolledWindow
*)(wxPyVListBox
*) ((wxPyHtmlListBox
*) x
));
33214 static void *_p_wxPyVListBoxTo_p_wxWindow(void *x
) {
33215 return (void *)((wxWindow
*) (wxPanel
*)(wxPyVScrolledWindow
*) ((wxPyVListBox
*) x
));
33217 static void *_p_wxPreviewControlBarTo_p_wxWindow(void *x
) {
33218 return (void *)((wxWindow
*) (wxPanel
*) ((wxPreviewControlBar
*) x
));
33220 static void *_p_wxPyPreviewControlBarTo_p_wxWindow(void *x
) {
33221 return (void *)((wxWindow
*) (wxPanel
*)(wxPreviewControlBar
*) ((wxPyPreviewControlBar
*) x
));
33223 static void *_p_wxFrameTo_p_wxWindow(void *x
) {
33224 return (void *)((wxWindow
*) (wxTopLevelWindow
*) ((wxFrame
*) x
));
33226 static void *_p_wxFontDialogTo_p_wxWindow(void *x
) {
33227 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxFontDialog
*) x
));
33229 static void *_p_wxDirDialogTo_p_wxWindow(void *x
) {
33230 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxDirDialog
*) x
));
33232 static void *_p_wxColourDialogTo_p_wxWindow(void *x
) {
33233 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxColourDialog
*) x
));
33235 static void *_p_wxDialogTo_p_wxWindow(void *x
) {
33236 return (void *)((wxWindow
*) (wxTopLevelWindow
*) ((wxDialog
*) x
));
33238 static void *_p_wxMDIParentFrameTo_p_wxWindow(void *x
) {
33239 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*) ((wxMDIParentFrame
*) x
));
33241 static void *_p_wxPyScrolledWindowTo_p_wxScrolledWindow(void *x
) {
33242 return (void *)((wxScrolledWindow
*) ((wxPyScrolledWindow
*) x
));
33244 static void *_p_wxPreviewCanvasTo_p_wxScrolledWindow(void *x
) {
33245 return (void *)((wxScrolledWindow
*) ((wxPreviewCanvas
*) x
));
33247 static void *_p_wxPyPrintPreviewTo_p_wxPrintPreview(void *x
) {
33248 return (void *)((wxPrintPreview
*) ((wxPyPrintPreview
*) x
));
33250 static void *_p_wxColourDialogTo_p_wxDialog(void *x
) {
33251 return (void *)((wxDialog
*) ((wxColourDialog
*) x
));
33253 static void *_p_wxDirDialogTo_p_wxDialog(void *x
) {
33254 return (void *)((wxDialog
*) ((wxDirDialog
*) x
));
33256 static void *_p_wxFontDialogTo_p_wxDialog(void *x
) {
33257 return (void *)((wxDialog
*) ((wxFontDialog
*) x
));
33259 static void *_p_wxFileDialogTo_p_wxDialog(void *x
) {
33260 return (void *)((wxDialog
*) ((wxFileDialog
*) x
));
33262 static void *_p_wxMultiChoiceDialogTo_p_wxDialog(void *x
) {
33263 return (void *)((wxDialog
*) ((wxMultiChoiceDialog
*) x
));
33265 static void *_p_wxSingleChoiceDialogTo_p_wxDialog(void *x
) {
33266 return (void *)((wxDialog
*) ((wxSingleChoiceDialog
*) x
));
33268 static void *_p_wxTextEntryDialogTo_p_wxDialog(void *x
) {
33269 return (void *)((wxDialog
*) ((wxTextEntryDialog
*) x
));
33271 static void *_p_wxPasswordEntryDialogTo_p_wxDialog(void *x
) {
33272 return (void *)((wxDialog
*) (wxTextEntryDialog
*) ((wxPasswordEntryDialog
*) x
));
33274 static void *_p_wxNumberEntryDialogTo_p_wxDialog(void *x
) {
33275 return (void *)((wxDialog
*) ((wxNumberEntryDialog
*) x
));
33277 static void *_p_wxMessageDialogTo_p_wxDialog(void *x
) {
33278 return (void *)((wxDialog
*) ((wxMessageDialog
*) x
));
33280 static void *_p_wxFindReplaceDialogTo_p_wxDialog(void *x
) {
33281 return (void *)((wxDialog
*) ((wxFindReplaceDialog
*) x
));
33283 static void *_p_wxScrolledWindowTo_p_wxPanel(void *x
) {
33284 return (void *)((wxPanel
*) ((wxScrolledWindow
*) x
));
33286 static void *_p_wxPyVScrolledWindowTo_p_wxPanel(void *x
) {
33287 return (void *)((wxPanel
*) ((wxPyVScrolledWindow
*) x
));
33289 static void *_p_wxPyScrolledWindowTo_p_wxPanel(void *x
) {
33290 return (void *)((wxPanel
*) (wxScrolledWindow
*) ((wxPyScrolledWindow
*) x
));
33292 static void *_p_wxPyVListBoxTo_p_wxPanel(void *x
) {
33293 return (void *)((wxPanel
*) (wxPyVScrolledWindow
*) ((wxPyVListBox
*) x
));
33295 static void *_p_wxPyHtmlListBoxTo_p_wxPanel(void *x
) {
33296 return (void *)((wxPanel
*) (wxPyVScrolledWindow
*)(wxPyVListBox
*) ((wxPyHtmlListBox
*) x
));
33298 static void *_p_wxPyPanelTo_p_wxPanel(void *x
) {
33299 return (void *)((wxPanel
*) ((wxPyPanel
*) x
));
33301 static void *_p_wxPreviewCanvasTo_p_wxPanel(void *x
) {
33302 return (void *)((wxPanel
*) (wxScrolledWindow
*) ((wxPreviewCanvas
*) x
));
33304 static void *_p_wxPreviewControlBarTo_p_wxPanel(void *x
) {
33305 return (void *)((wxPanel
*) ((wxPreviewControlBar
*) x
));
33307 static void *_p_wxPyPreviewControlBarTo_p_wxPanel(void *x
) {
33308 return (void *)((wxPanel
*) (wxPreviewControlBar
*) ((wxPyPreviewControlBar
*) x
));
33310 static void *_p_wxChildFocusEventTo_p_wxCommandEvent(void *x
) {
33311 return (void *)((wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
33313 static void *_p_wxScrollEventTo_p_wxCommandEvent(void *x
) {
33314 return (void *)((wxCommandEvent
*) ((wxScrollEvent
*) x
));
33316 static void *_p_wxWindowCreateEventTo_p_wxCommandEvent(void *x
) {
33317 return (void *)((wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
33319 static void *_p_wxDateEventTo_p_wxCommandEvent(void *x
) {
33320 return (void *)((wxCommandEvent
*) ((wxDateEvent
*) x
));
33322 static void *_p_wxUpdateUIEventTo_p_wxCommandEvent(void *x
) {
33323 return (void *)((wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
33325 static void *_p_wxClipboardTextEventTo_p_wxCommandEvent(void *x
) {
33326 return (void *)((wxCommandEvent
*) ((wxClipboardTextEvent
*) x
));
33328 static void *_p_wxFindDialogEventTo_p_wxCommandEvent(void *x
) {
33329 return (void *)((wxCommandEvent
*) ((wxFindDialogEvent
*) x
));
33331 static void *_p_wxWindowDestroyEventTo_p_wxCommandEvent(void *x
) {
33332 return (void *)((wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
33334 static void *_p_wxContextMenuEventTo_p_wxCommandEvent(void *x
) {
33335 return (void *)((wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
33337 static void *_p_wxSplitterEventTo_p_wxCommandEvent(void *x
) {
33338 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*) ((wxSplitterEvent
*) x
));
33340 static void *_p_wxNotifyEventTo_p_wxCommandEvent(void *x
) {
33341 return (void *)((wxCommandEvent
*) ((wxNotifyEvent
*) x
));
33343 static void *_p_wxPyCommandEventTo_p_wxCommandEvent(void *x
) {
33344 return (void *)((wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
33346 static void *_p_wxSashEventTo_p_wxCommandEvent(void *x
) {
33347 return (void *)((wxCommandEvent
*) ((wxSashEvent
*) x
));
33349 static void *_p_wxPyPreviewControlBarTo_p_wxPreviewControlBar(void *x
) {
33350 return (void *)((wxPreviewControlBar
*) ((wxPyPreviewControlBar
*) x
));
33352 static swig_type_info _swigt__p_bool
= {"_p_bool", "bool *", 0, 0, (void*)0, 0};
33353 static swig_type_info _swigt__p_char
= {"_p_char", "char *", 0, 0, (void*)0, 0};
33354 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};
33355 static swig_type_info _swigt__p_int
= {"_p_int", "int *", 0, 0, (void*)0, 0};
33356 static swig_type_info _swigt__p_unsigned_char
= {"_p_unsigned_char", "unsigned char *|byte *", 0, 0, (void*)0, 0};
33357 static swig_type_info _swigt__p_unsigned_int
= {"_p_unsigned_int", "unsigned int *|time_t *", 0, 0, (void*)0, 0};
33358 static swig_type_info _swigt__p_unsigned_long
= {"_p_unsigned_long", "unsigned long *|wxUIntPtr *", 0, 0, (void*)0, 0};
33359 static swig_type_info _swigt__p_wxArrayInt
= {"_p_wxArrayInt", "wxArrayInt *", 0, 0, (void*)0, 0};
33360 static swig_type_info _swigt__p_wxBitmap
= {"_p_wxBitmap", "wxBitmap *", 0, 0, (void*)0, 0};
33361 static swig_type_info _swigt__p_wxCalculateLayoutEvent
= {"_p_wxCalculateLayoutEvent", "wxCalculateLayoutEvent *", 0, 0, (void*)0, 0};
33362 static swig_type_info _swigt__p_wxColour
= {"_p_wxColour", "wxColour *", 0, 0, (void*)0, 0};
33363 static swig_type_info _swigt__p_wxColourData
= {"_p_wxColourData", "wxColourData *", 0, 0, (void*)0, 0};
33364 static swig_type_info _swigt__p_wxColourDialog
= {"_p_wxColourDialog", "wxColourDialog *", 0, 0, (void*)0, 0};
33365 static swig_type_info _swigt__p_wxCommandEvent
= {"_p_wxCommandEvent", "wxCommandEvent *", 0, 0, (void*)0, 0};
33366 static swig_type_info _swigt__p_wxWindowDestroyEvent
= {"_p_wxWindowDestroyEvent", 0, 0, 0, 0, 0};
33367 static swig_type_info _swigt__p_wxClipboardTextEvent
= {"_p_wxClipboardTextEvent", 0, 0, 0, 0, 0};
33368 static swig_type_info _swigt__p_wxScrollEvent
= {"_p_wxScrollEvent", 0, 0, 0, 0, 0};
33369 static swig_type_info _swigt__p_wxPyCommandEvent
= {"_p_wxPyCommandEvent", 0, 0, 0, 0, 0};
33370 static swig_type_info _swigt__p_wxContextMenuEvent
= {"_p_wxContextMenuEvent", 0, 0, 0, 0, 0};
33371 static swig_type_info _swigt__p_wxChildFocusEvent
= {"_p_wxChildFocusEvent", 0, 0, 0, 0, 0};
33372 static swig_type_info _swigt__p_wxWindowCreateEvent
= {"_p_wxWindowCreateEvent", 0, 0, 0, 0, 0};
33373 static swig_type_info _swigt__p_wxDateEvent
= {"_p_wxDateEvent", 0, 0, 0, 0, 0};
33374 static swig_type_info _swigt__p_wxUpdateUIEvent
= {"_p_wxUpdateUIEvent", 0, 0, 0, 0, 0};
33375 static swig_type_info _swigt__p_wxDC
= {"_p_wxDC", "wxDC *", 0, 0, (void*)0, 0};
33376 static swig_type_info _swigt__p_wxDialog
= {"_p_wxDialog", "wxDialog *", 0, 0, (void*)0, 0};
33377 static swig_type_info _swigt__p_wxDirDialog
= {"_p_wxDirDialog", "wxDirDialog *", 0, 0, (void*)0, 0};
33378 static swig_type_info _swigt__p_wxDuplexMode
= {"_p_wxDuplexMode", "enum wxDuplexMode *|wxDuplexMode *", 0, 0, (void*)0, 0};
33379 static swig_type_info _swigt__p_wxEvent
= {"_p_wxEvent", "wxEvent *", 0, 0, (void*)0, 0};
33380 static swig_type_info _swigt__p_wxMenuEvent
= {"_p_wxMenuEvent", 0, 0, 0, 0, 0};
33381 static swig_type_info _swigt__p_wxCloseEvent
= {"_p_wxCloseEvent", 0, 0, 0, 0, 0};
33382 static swig_type_info _swigt__p_wxMouseEvent
= {"_p_wxMouseEvent", 0, 0, 0, 0, 0};
33383 static swig_type_info _swigt__p_wxEraseEvent
= {"_p_wxEraseEvent", 0, 0, 0, 0, 0};
33384 static swig_type_info _swigt__p_wxSetCursorEvent
= {"_p_wxSetCursorEvent", 0, 0, 0, 0, 0};
33385 static swig_type_info _swigt__p_wxInitDialogEvent
= {"_p_wxInitDialogEvent", 0, 0, 0, 0, 0};
33386 static swig_type_info _swigt__p_wxPyEvent
= {"_p_wxPyEvent", 0, 0, 0, 0, 0};
33387 static swig_type_info _swigt__p_wxMouseCaptureLostEvent
= {"_p_wxMouseCaptureLostEvent", 0, 0, 0, 0, 0};
33388 static swig_type_info _swigt__p_wxIdleEvent
= {"_p_wxIdleEvent", 0, 0, 0, 0, 0};
33389 static swig_type_info _swigt__p_wxQueryNewPaletteEvent
= {"_p_wxQueryNewPaletteEvent", 0, 0, 0, 0, 0};
33390 static swig_type_info _swigt__p_wxMaximizeEvent
= {"_p_wxMaximizeEvent", 0, 0, 0, 0, 0};
33391 static swig_type_info _swigt__p_wxIconizeEvent
= {"_p_wxIconizeEvent", 0, 0, 0, 0, 0};
33392 static swig_type_info _swigt__p_wxActivateEvent
= {"_p_wxActivateEvent", 0, 0, 0, 0, 0};
33393 static swig_type_info _swigt__p_wxSizeEvent
= {"_p_wxSizeEvent", 0, 0, 0, 0, 0};
33394 static swig_type_info _swigt__p_wxMoveEvent
= {"_p_wxMoveEvent", 0, 0, 0, 0, 0};
33395 static swig_type_info _swigt__p_wxPaintEvent
= {"_p_wxPaintEvent", 0, 0, 0, 0, 0};
33396 static swig_type_info _swigt__p_wxNcPaintEvent
= {"_p_wxNcPaintEvent", 0, 0, 0, 0, 0};
33397 static swig_type_info _swigt__p_wxPaletteChangedEvent
= {"_p_wxPaletteChangedEvent", 0, 0, 0, 0, 0};
33398 static swig_type_info _swigt__p_wxDisplayChangedEvent
= {"_p_wxDisplayChangedEvent", 0, 0, 0, 0, 0};
33399 static swig_type_info _swigt__p_wxMouseCaptureChangedEvent
= {"_p_wxMouseCaptureChangedEvent", 0, 0, 0, 0, 0};
33400 static swig_type_info _swigt__p_wxSysColourChangedEvent
= {"_p_wxSysColourChangedEvent", 0, 0, 0, 0, 0};
33401 static swig_type_info _swigt__p_wxDropFilesEvent
= {"_p_wxDropFilesEvent", 0, 0, 0, 0, 0};
33402 static swig_type_info _swigt__p_wxFocusEvent
= {"_p_wxFocusEvent", 0, 0, 0, 0, 0};
33403 static swig_type_info _swigt__p_wxShowEvent
= {"_p_wxShowEvent", 0, 0, 0, 0, 0};
33404 static swig_type_info _swigt__p_wxNavigationKeyEvent
= {"_p_wxNavigationKeyEvent", 0, 0, 0, 0, 0};
33405 static swig_type_info _swigt__p_wxKeyEvent
= {"_p_wxKeyEvent", 0, 0, 0, 0, 0};
33406 static swig_type_info _swigt__p_wxEvtHandler
= {"_p_wxEvtHandler", "wxEvtHandler *", 0, 0, (void*)0, 0};
33407 static swig_type_info _swigt__p_wxValidator
= {"_p_wxValidator", 0, 0, 0, 0, 0};
33408 static swig_type_info _swigt__p_wxPyValidator
= {"_p_wxPyValidator", 0, 0, 0, 0, 0};
33409 static swig_type_info _swigt__p_wxControl
= {"_p_wxControl", 0, 0, 0, 0, 0};
33410 static swig_type_info _swigt__p_wxPyApp
= {"_p_wxPyApp", 0, 0, 0, 0, 0};
33411 static swig_type_info _swigt__p_wxControlWithItems
= {"_p_wxControlWithItems", 0, 0, 0, 0, 0};
33412 static swig_type_info _swigt__p_wxFileDialog
= {"_p_wxFileDialog", "wxFileDialog *", 0, 0, (void*)0, 0};
33413 static swig_type_info _swigt__p_wxFileSystem
= {"_p_wxFileSystem", "wxFileSystem *", 0, 0, (void*)0, 0};
33414 static swig_type_info _swigt__p_wxFindDialogEvent
= {"_p_wxFindDialogEvent", "wxFindDialogEvent *", 0, 0, (void*)0, 0};
33415 static swig_type_info _swigt__p_wxFindReplaceData
= {"_p_wxFindReplaceData", "wxFindReplaceData *", 0, 0, (void*)0, 0};
33416 static swig_type_info _swigt__p_wxFindReplaceDialog
= {"_p_wxFindReplaceDialog", "wxFindReplaceDialog *", 0, 0, (void*)0, 0};
33417 static swig_type_info _swigt__p_wxFont
= {"_p_wxFont", "wxFont *", 0, 0, (void*)0, 0};
33418 static swig_type_info _swigt__p_wxFontData
= {"_p_wxFontData", "wxFontData *", 0, 0, (void*)0, 0};
33419 static swig_type_info _swigt__p_wxFontDialog
= {"_p_wxFontDialog", "wxFontDialog *", 0, 0, (void*)0, 0};
33420 static swig_type_info _swigt__p_wxFrame
= {"_p_wxFrame", "wxFrame *", 0, 0, (void*)0, 0};
33421 static swig_type_info _swigt__p_wxHtmlLinkInfo
= {"_p_wxHtmlLinkInfo", "wxHtmlLinkInfo *", 0, 0, (void*)0, 0};
33422 static swig_type_info _swigt__p_wxIcon
= {"_p_wxIcon", "wxIcon *", 0, 0, (void*)0, 0};
33423 static swig_type_info _swigt__p_wxIconBundle
= {"_p_wxIconBundle", "wxIconBundle *", 0, 0, (void*)0, 0};
33424 static swig_type_info _swigt__p_wxLayoutAlgorithm
= {"_p_wxLayoutAlgorithm", "wxLayoutAlgorithm *", 0, 0, (void*)0, 0};
33425 static swig_type_info _swigt__p_wxMDIChildFrame
= {"_p_wxMDIChildFrame", "wxMDIChildFrame *", 0, 0, (void*)0, 0};
33426 static swig_type_info _swigt__p_wxMDIClientWindow
= {"_p_wxMDIClientWindow", "wxMDIClientWindow *", 0, 0, (void*)0, 0};
33427 static swig_type_info _swigt__p_wxMDIParentFrame
= {"_p_wxMDIParentFrame", "wxMDIParentFrame *", 0, 0, (void*)0, 0};
33428 static swig_type_info _swigt__p_wxMenu
= {"_p_wxMenu", "wxMenu *", 0, 0, (void*)0, 0};
33429 static swig_type_info _swigt__p_wxMenuBar
= {"_p_wxMenuBar", "wxMenuBar *", 0, 0, (void*)0, 0};
33430 static swig_type_info _swigt__p_wxMessageDialog
= {"_p_wxMessageDialog", "wxMessageDialog *", 0, 0, (void*)0, 0};
33431 static swig_type_info _swigt__p_wxMiniFrame
= {"_p_wxMiniFrame", "wxMiniFrame *", 0, 0, (void*)0, 0};
33432 static swig_type_info _swigt__p_wxMultiChoiceDialog
= {"_p_wxMultiChoiceDialog", "wxMultiChoiceDialog *", 0, 0, (void*)0, 0};
33433 static swig_type_info _swigt__p_wxNotifyEvent
= {"_p_wxNotifyEvent", "wxNotifyEvent *", 0, 0, (void*)0, 0};
33434 static swig_type_info _swigt__p_wxNumberEntryDialog
= {"_p_wxNumberEntryDialog", "wxNumberEntryDialog *", 0, 0, (void*)0, 0};
33435 static swig_type_info _swigt__p_wxObject
= {"_p_wxObject", "wxObject *", 0, 0, (void*)0, 0};
33436 static swig_type_info _swigt__p_wxLayoutConstraints
= {"_p_wxLayoutConstraints", 0, 0, 0, 0, 0};
33437 static swig_type_info _swigt__p_wxSizerItem
= {"_p_wxSizerItem", 0, 0, 0, 0, 0};
33438 static swig_type_info _swigt__p_wxGBSizerItem
= {"_p_wxGBSizerItem", 0, 0, 0, 0, 0};
33439 static swig_type_info _swigt__p_wxIndividualLayoutConstraint
= {"_p_wxIndividualLayoutConstraint", 0, 0, 0, 0, 0};
33440 static swig_type_info _swigt__p_wxStaticBoxSizer
= {"_p_wxStaticBoxSizer", 0, 0, 0, 0, 0};
33441 static swig_type_info _swigt__p_wxBoxSizer
= {"_p_wxBoxSizer", 0, 0, 0, 0, 0};
33442 static swig_type_info _swigt__p_wxSizer
= {"_p_wxSizer", 0, 0, 0, 0, 0};
33443 static swig_type_info _swigt__p_wxGridBagSizer
= {"_p_wxGridBagSizer", 0, 0, 0, 0, 0};
33444 static swig_type_info _swigt__p_wxGridSizer
= {"_p_wxGridSizer", 0, 0, 0, 0, 0};
33445 static swig_type_info _swigt__p_wxFlexGridSizer
= {"_p_wxFlexGridSizer", 0, 0, 0, 0, 0};
33446 static swig_type_info _swigt__p_wxFSFile
= {"_p_wxFSFile", 0, 0, 0, 0, 0};
33447 static swig_type_info _swigt__p_wxPySizer
= {"_p_wxPySizer", 0, 0, 0, 0, 0};
33448 static swig_type_info _swigt__p_wxMenuItem
= {"_p_wxMenuItem", 0, 0, 0, 0, 0};
33449 static swig_type_info _swigt__p_wxBMPHandler
= {"_p_wxBMPHandler", 0, 0, 0, 0, 0};
33450 static swig_type_info _swigt__p_wxICOHandler
= {"_p_wxICOHandler", 0, 0, 0, 0, 0};
33451 static swig_type_info _swigt__p_wxCURHandler
= {"_p_wxCURHandler", 0, 0, 0, 0, 0};
33452 static swig_type_info _swigt__p_wxANIHandler
= {"_p_wxANIHandler", 0, 0, 0, 0, 0};
33453 static swig_type_info _swigt__p_wxPNGHandler
= {"_p_wxPNGHandler", 0, 0, 0, 0, 0};
33454 static swig_type_info _swigt__p_wxGIFHandler
= {"_p_wxGIFHandler", 0, 0, 0, 0, 0};
33455 static swig_type_info _swigt__p_wxPCXHandler
= {"_p_wxPCXHandler", 0, 0, 0, 0, 0};
33456 static swig_type_info _swigt__p_wxJPEGHandler
= {"_p_wxJPEGHandler", 0, 0, 0, 0, 0};
33457 static swig_type_info _swigt__p_wxPNMHandler
= {"_p_wxPNMHandler", 0, 0, 0, 0, 0};
33458 static swig_type_info _swigt__p_wxPyImageHandler
= {"_p_wxPyImageHandler", 0, 0, 0, 0, 0};
33459 static swig_type_info _swigt__p_wxImageHandler
= {"_p_wxImageHandler", 0, 0, 0, 0, 0};
33460 static swig_type_info _swigt__p_wxXPMHandler
= {"_p_wxXPMHandler", 0, 0, 0, 0, 0};
33461 static swig_type_info _swigt__p_wxTIFFHandler
= {"_p_wxTIFFHandler", 0, 0, 0, 0, 0};
33462 static swig_type_info _swigt__p_wxTGAHandler
= {"_p_wxTGAHandler", 0, 0, 0, 0, 0};
33463 static swig_type_info _swigt__p_wxAcceleratorTable
= {"_p_wxAcceleratorTable", 0, 0, 0, 0, 0};
33464 static swig_type_info _swigt__p_wxImage
= {"_p_wxImage", 0, 0, 0, 0, 0};
33465 static swig_type_info _swigt__p_wxPageSetupDialog
= {"_p_wxPageSetupDialog", "wxPageSetupDialog *", 0, 0, (void*)0, 0};
33466 static swig_type_info _swigt__p_wxPageSetupDialogData
= {"_p_wxPageSetupDialogData", "wxPageSetupDialogData *", 0, 0, (void*)0, 0};
33467 static swig_type_info _swigt__p_wxPanel
= {"_p_wxPanel", "wxPanel *", 0, 0, (void*)0, 0};
33468 static swig_type_info _swigt__p_wxPaperSize
= {"_p_wxPaperSize", "enum wxPaperSize *|wxPaperSize *", 0, 0, (void*)0, 0};
33469 static swig_type_info _swigt__p_wxPasswordEntryDialog
= {"_p_wxPasswordEntryDialog", "wxPasswordEntryDialog *", 0, 0, (void*)0, 0};
33470 static swig_type_info _swigt__p_wxPoint
= {"_p_wxPoint", "wxPoint *", 0, 0, (void*)0, 0};
33471 static swig_type_info _swigt__p_wxPopupWindow
= {"_p_wxPopupWindow", "wxPopupWindow *", 0, 0, (void*)0, 0};
33472 static swig_type_info _swigt__p_wxPreviewCanvas
= {"_p_wxPreviewCanvas", "wxPreviewCanvas *", 0, 0, (void*)0, 0};
33473 static swig_type_info _swigt__p_wxPreviewControlBar
= {"_p_wxPreviewControlBar", "wxPreviewControlBar *", 0, 0, (void*)0, 0};
33474 static swig_type_info _swigt__p_wxPreviewFrame
= {"_p_wxPreviewFrame", "wxPreviewFrame *", 0, 0, (void*)0, 0};
33475 static swig_type_info _swigt__p_wxPrintData
= {"_p_wxPrintData", "wxPrintData *", 0, 0, (void*)0, 0};
33476 static swig_type_info _swigt__p_wxPrintDialog
= {"_p_wxPrintDialog", "wxPrintDialog *", 0, 0, (void*)0, 0};
33477 static swig_type_info _swigt__p_wxPrintDialogData
= {"_p_wxPrintDialogData", "wxPrintDialogData *", 0, 0, (void*)0, 0};
33478 static swig_type_info _swigt__p_wxPrintPreview
= {"_p_wxPrintPreview", "wxPrintPreview *", 0, 0, (void*)0, 0};
33479 static swig_type_info _swigt__p_wxPrinter
= {"_p_wxPrinter", "wxPrinter *", 0, 0, (void*)0, 0};
33480 static swig_type_info _swigt__p_wxProgressDialog
= {"_p_wxProgressDialog", "wxProgressDialog *", 0, 0, (void*)0, 0};
33481 static swig_type_info _swigt__p_wxPyHtmlListBox
= {"_p_wxPyHtmlListBox", "wxPyHtmlListBox *", 0, 0, (void*)0, 0};
33482 static swig_type_info _swigt__p_wxPyPanel
= {"_p_wxPyPanel", "wxPyPanel *", 0, 0, (void*)0, 0};
33483 static swig_type_info _swigt__p_wxPyPopupTransientWindow
= {"_p_wxPyPopupTransientWindow", "wxPyPopupTransientWindow *", 0, 0, (void*)0, 0};
33484 static swig_type_info _swigt__p_wxPyPreviewControlBar
= {"_p_wxPyPreviewControlBar", "wxPyPreviewControlBar *", 0, 0, (void*)0, 0};
33485 static swig_type_info _swigt__p_wxPyPreviewFrame
= {"_p_wxPyPreviewFrame", "wxPyPreviewFrame *", 0, 0, (void*)0, 0};
33486 static swig_type_info _swigt__p_wxPyPrintPreview
= {"_p_wxPyPrintPreview", "wxPyPrintPreview *", 0, 0, (void*)0, 0};
33487 static swig_type_info _swigt__p_wxPyPrintout
= {"_p_wxPyPrintout", "wxPyPrintout *", 0, 0, (void*)0, 0};
33488 static swig_type_info _swigt__p_wxPyScrolledWindow
= {"_p_wxPyScrolledWindow", "wxPyScrolledWindow *", 0, 0, (void*)0, 0};
33489 static swig_type_info _swigt__p_wxPyTaskBarIcon
= {"_p_wxPyTaskBarIcon", "wxPyTaskBarIcon *", 0, 0, (void*)0, 0};
33490 static swig_type_info _swigt__p_wxPyVListBox
= {"_p_wxPyVListBox", "wxPyVListBox *", 0, 0, (void*)0, 0};
33491 static swig_type_info _swigt__p_wxPyVScrolledWindow
= {"_p_wxPyVScrolledWindow", "wxPyVScrolledWindow *", 0, 0, (void*)0, 0};
33492 static swig_type_info _swigt__p_wxPyWindow
= {"_p_wxPyWindow", "wxPyWindow *", 0, 0, (void*)0, 0};
33493 static swig_type_info _swigt__p_wxQueryLayoutInfoEvent
= {"_p_wxQueryLayoutInfoEvent", "wxQueryLayoutInfoEvent *", 0, 0, (void*)0, 0};
33494 static swig_type_info _swigt__p_wxRect
= {"_p_wxRect", "wxRect *", 0, 0, (void*)0, 0};
33495 static swig_type_info _swigt__p_wxRegion
= {"_p_wxRegion", "wxRegion *", 0, 0, (void*)0, 0};
33496 static swig_type_info _swigt__p_wxSashEvent
= {"_p_wxSashEvent", "wxSashEvent *", 0, 0, (void*)0, 0};
33497 static swig_type_info _swigt__p_wxSashLayoutWindow
= {"_p_wxSashLayoutWindow", "wxSashLayoutWindow *", 0, 0, (void*)0, 0};
33498 static swig_type_info _swigt__p_wxSashWindow
= {"_p_wxSashWindow", "wxSashWindow *", 0, 0, (void*)0, 0};
33499 static swig_type_info _swigt__p_wxScrollWinEvent
= {"_p_wxScrollWinEvent", "wxScrollWinEvent *", 0, 0, (void*)0, 0};
33500 static swig_type_info _swigt__p_wxScrolledWindow
= {"_p_wxScrolledWindow", "wxScrolledWindow *", 0, 0, (void*)0, 0};
33501 static swig_type_info _swigt__p_wxSingleChoiceDialog
= {"_p_wxSingleChoiceDialog", "wxSingleChoiceDialog *", 0, 0, (void*)0, 0};
33502 static swig_type_info _swigt__p_wxSize
= {"_p_wxSize", "wxSize *", 0, 0, (void*)0, 0};
33503 static swig_type_info _swigt__p_wxSplashScreen
= {"_p_wxSplashScreen", "wxSplashScreen *", 0, 0, (void*)0, 0};
33504 static swig_type_info _swigt__p_wxSplashScreenWindow
= {"_p_wxSplashScreenWindow", "wxSplashScreenWindow *", 0, 0, (void*)0, 0};
33505 static swig_type_info _swigt__p_wxSplitterEvent
= {"_p_wxSplitterEvent", "wxSplitterEvent *", 0, 0, (void*)0, 0};
33506 static swig_type_info _swigt__p_wxSplitterWindow
= {"_p_wxSplitterWindow", "wxSplitterWindow *", 0, 0, (void*)0, 0};
33507 static swig_type_info _swigt__p_wxStatusBar
= {"_p_wxStatusBar", "wxStatusBar *", 0, 0, (void*)0, 0};
33508 static swig_type_info _swigt__p_wxStdDialogButtonSizer
= {"_p_wxStdDialogButtonSizer", "wxStdDialogButtonSizer *", 0, 0, (void*)0, 0};
33509 static swig_type_info _swigt__p_wxString
= {"_p_wxString", "wxString *", 0, 0, (void*)0, 0};
33510 static swig_type_info _swigt__p_wxTaskBarIcon
= {"_p_wxTaskBarIcon", "wxTaskBarIcon *", 0, 0, (void*)0, 0};
33511 static swig_type_info _swigt__p_wxTaskBarIconEvent
= {"_p_wxTaskBarIconEvent", "wxTaskBarIconEvent *", 0, 0, (void*)0, 0};
33512 static swig_type_info _swigt__p_wxTextEntryDialog
= {"_p_wxTextEntryDialog", "wxTextEntryDialog *", 0, 0, (void*)0, 0};
33513 static swig_type_info _swigt__p_wxTipWindow
= {"_p_wxTipWindow", "wxTipWindow *", 0, 0, (void*)0, 0};
33514 static swig_type_info _swigt__p_wxToolBar
= {"_p_wxToolBar", "wxToolBar *", 0, 0, (void*)0, 0};
33515 static swig_type_info _swigt__p_wxTopLevelWindow
= {"_p_wxTopLevelWindow", "wxTopLevelWindow *", 0, 0, (void*)0, 0};
33516 static swig_type_info _swigt__p_wxVisualAttributes
= {"_p_wxVisualAttributes", "wxVisualAttributes *", 0, 0, (void*)0, 0};
33517 static swig_type_info _swigt__p_wxWindow
= {"_p_wxWindow", "wxWindow *", 0, 0, (void*)0, 0};
33519 static swig_type_info
*swig_type_initial
[] = {
33522 &_swigt__p_form_ops_t
,
33524 &_swigt__p_unsigned_char
,
33525 &_swigt__p_unsigned_int
,
33526 &_swigt__p_unsigned_long
,
33527 &_swigt__p_wxANIHandler
,
33528 &_swigt__p_wxAcceleratorTable
,
33529 &_swigt__p_wxActivateEvent
,
33530 &_swigt__p_wxArrayInt
,
33531 &_swigt__p_wxBMPHandler
,
33532 &_swigt__p_wxBitmap
,
33533 &_swigt__p_wxBoxSizer
,
33534 &_swigt__p_wxCURHandler
,
33535 &_swigt__p_wxCalculateLayoutEvent
,
33536 &_swigt__p_wxChildFocusEvent
,
33537 &_swigt__p_wxClipboardTextEvent
,
33538 &_swigt__p_wxCloseEvent
,
33539 &_swigt__p_wxColour
,
33540 &_swigt__p_wxColourData
,
33541 &_swigt__p_wxColourDialog
,
33542 &_swigt__p_wxCommandEvent
,
33543 &_swigt__p_wxContextMenuEvent
,
33544 &_swigt__p_wxControl
,
33545 &_swigt__p_wxControlWithItems
,
33547 &_swigt__p_wxDateEvent
,
33548 &_swigt__p_wxDialog
,
33549 &_swigt__p_wxDirDialog
,
33550 &_swigt__p_wxDisplayChangedEvent
,
33551 &_swigt__p_wxDropFilesEvent
,
33552 &_swigt__p_wxDuplexMode
,
33553 &_swigt__p_wxEraseEvent
,
33554 &_swigt__p_wxEvent
,
33555 &_swigt__p_wxEvtHandler
,
33556 &_swigt__p_wxFSFile
,
33557 &_swigt__p_wxFileDialog
,
33558 &_swigt__p_wxFileSystem
,
33559 &_swigt__p_wxFindDialogEvent
,
33560 &_swigt__p_wxFindReplaceData
,
33561 &_swigt__p_wxFindReplaceDialog
,
33562 &_swigt__p_wxFlexGridSizer
,
33563 &_swigt__p_wxFocusEvent
,
33565 &_swigt__p_wxFontData
,
33566 &_swigt__p_wxFontDialog
,
33567 &_swigt__p_wxFrame
,
33568 &_swigt__p_wxGBSizerItem
,
33569 &_swigt__p_wxGIFHandler
,
33570 &_swigt__p_wxGridBagSizer
,
33571 &_swigt__p_wxGridSizer
,
33572 &_swigt__p_wxHtmlLinkInfo
,
33573 &_swigt__p_wxICOHandler
,
33575 &_swigt__p_wxIconBundle
,
33576 &_swigt__p_wxIconizeEvent
,
33577 &_swigt__p_wxIdleEvent
,
33578 &_swigt__p_wxImage
,
33579 &_swigt__p_wxImageHandler
,
33580 &_swigt__p_wxIndividualLayoutConstraint
,
33581 &_swigt__p_wxInitDialogEvent
,
33582 &_swigt__p_wxJPEGHandler
,
33583 &_swigt__p_wxKeyEvent
,
33584 &_swigt__p_wxLayoutAlgorithm
,
33585 &_swigt__p_wxLayoutConstraints
,
33586 &_swigt__p_wxMDIChildFrame
,
33587 &_swigt__p_wxMDIClientWindow
,
33588 &_swigt__p_wxMDIParentFrame
,
33589 &_swigt__p_wxMaximizeEvent
,
33591 &_swigt__p_wxMenuBar
,
33592 &_swigt__p_wxMenuEvent
,
33593 &_swigt__p_wxMenuItem
,
33594 &_swigt__p_wxMessageDialog
,
33595 &_swigt__p_wxMiniFrame
,
33596 &_swigt__p_wxMouseCaptureChangedEvent
,
33597 &_swigt__p_wxMouseCaptureLostEvent
,
33598 &_swigt__p_wxMouseEvent
,
33599 &_swigt__p_wxMoveEvent
,
33600 &_swigt__p_wxMultiChoiceDialog
,
33601 &_swigt__p_wxNavigationKeyEvent
,
33602 &_swigt__p_wxNcPaintEvent
,
33603 &_swigt__p_wxNotifyEvent
,
33604 &_swigt__p_wxNumberEntryDialog
,
33605 &_swigt__p_wxObject
,
33606 &_swigt__p_wxPCXHandler
,
33607 &_swigt__p_wxPNGHandler
,
33608 &_swigt__p_wxPNMHandler
,
33609 &_swigt__p_wxPageSetupDialog
,
33610 &_swigt__p_wxPageSetupDialogData
,
33611 &_swigt__p_wxPaintEvent
,
33612 &_swigt__p_wxPaletteChangedEvent
,
33613 &_swigt__p_wxPanel
,
33614 &_swigt__p_wxPaperSize
,
33615 &_swigt__p_wxPasswordEntryDialog
,
33616 &_swigt__p_wxPoint
,
33617 &_swigt__p_wxPopupWindow
,
33618 &_swigt__p_wxPreviewCanvas
,
33619 &_swigt__p_wxPreviewControlBar
,
33620 &_swigt__p_wxPreviewFrame
,
33621 &_swigt__p_wxPrintData
,
33622 &_swigt__p_wxPrintDialog
,
33623 &_swigt__p_wxPrintDialogData
,
33624 &_swigt__p_wxPrintPreview
,
33625 &_swigt__p_wxPrinter
,
33626 &_swigt__p_wxProgressDialog
,
33627 &_swigt__p_wxPyApp
,
33628 &_swigt__p_wxPyCommandEvent
,
33629 &_swigt__p_wxPyEvent
,
33630 &_swigt__p_wxPyHtmlListBox
,
33631 &_swigt__p_wxPyImageHandler
,
33632 &_swigt__p_wxPyPanel
,
33633 &_swigt__p_wxPyPopupTransientWindow
,
33634 &_swigt__p_wxPyPreviewControlBar
,
33635 &_swigt__p_wxPyPreviewFrame
,
33636 &_swigt__p_wxPyPrintPreview
,
33637 &_swigt__p_wxPyPrintout
,
33638 &_swigt__p_wxPyScrolledWindow
,
33639 &_swigt__p_wxPySizer
,
33640 &_swigt__p_wxPyTaskBarIcon
,
33641 &_swigt__p_wxPyVListBox
,
33642 &_swigt__p_wxPyVScrolledWindow
,
33643 &_swigt__p_wxPyValidator
,
33644 &_swigt__p_wxPyWindow
,
33645 &_swigt__p_wxQueryLayoutInfoEvent
,
33646 &_swigt__p_wxQueryNewPaletteEvent
,
33648 &_swigt__p_wxRegion
,
33649 &_swigt__p_wxSashEvent
,
33650 &_swigt__p_wxSashLayoutWindow
,
33651 &_swigt__p_wxSashWindow
,
33652 &_swigt__p_wxScrollEvent
,
33653 &_swigt__p_wxScrollWinEvent
,
33654 &_swigt__p_wxScrolledWindow
,
33655 &_swigt__p_wxSetCursorEvent
,
33656 &_swigt__p_wxShowEvent
,
33657 &_swigt__p_wxSingleChoiceDialog
,
33659 &_swigt__p_wxSizeEvent
,
33660 &_swigt__p_wxSizer
,
33661 &_swigt__p_wxSizerItem
,
33662 &_swigt__p_wxSplashScreen
,
33663 &_swigt__p_wxSplashScreenWindow
,
33664 &_swigt__p_wxSplitterEvent
,
33665 &_swigt__p_wxSplitterWindow
,
33666 &_swigt__p_wxStaticBoxSizer
,
33667 &_swigt__p_wxStatusBar
,
33668 &_swigt__p_wxStdDialogButtonSizer
,
33669 &_swigt__p_wxString
,
33670 &_swigt__p_wxSysColourChangedEvent
,
33671 &_swigt__p_wxTGAHandler
,
33672 &_swigt__p_wxTIFFHandler
,
33673 &_swigt__p_wxTaskBarIcon
,
33674 &_swigt__p_wxTaskBarIconEvent
,
33675 &_swigt__p_wxTextEntryDialog
,
33676 &_swigt__p_wxTipWindow
,
33677 &_swigt__p_wxToolBar
,
33678 &_swigt__p_wxTopLevelWindow
,
33679 &_swigt__p_wxUpdateUIEvent
,
33680 &_swigt__p_wxValidator
,
33681 &_swigt__p_wxVisualAttributes
,
33682 &_swigt__p_wxWindow
,
33683 &_swigt__p_wxWindowCreateEvent
,
33684 &_swigt__p_wxWindowDestroyEvent
,
33685 &_swigt__p_wxXPMHandler
,
33688 static swig_cast_info _swigc__p_bool
[] = { {&_swigt__p_bool
, 0, 0, 0},{0, 0, 0, 0}};
33689 static swig_cast_info _swigc__p_char
[] = { {&_swigt__p_char
, 0, 0, 0},{0, 0, 0, 0}};
33690 static swig_cast_info _swigc__p_form_ops_t
[] = { {&_swigt__p_form_ops_t
, 0, 0, 0},{0, 0, 0, 0}};
33691 static swig_cast_info _swigc__p_int
[] = { {&_swigt__p_int
, 0, 0, 0},{0, 0, 0, 0}};
33692 static swig_cast_info _swigc__p_unsigned_char
[] = { {&_swigt__p_unsigned_char
, 0, 0, 0},{0, 0, 0, 0}};
33693 static swig_cast_info _swigc__p_unsigned_int
[] = { {&_swigt__p_unsigned_int
, 0, 0, 0},{0, 0, 0, 0}};
33694 static swig_cast_info _swigc__p_unsigned_long
[] = { {&_swigt__p_unsigned_long
, 0, 0, 0},{0, 0, 0, 0}};
33695 static swig_cast_info _swigc__p_wxArrayInt
[] = { {&_swigt__p_wxArrayInt
, 0, 0, 0},{0, 0, 0, 0}};
33696 static swig_cast_info _swigc__p_wxBitmap
[] = { {&_swigt__p_wxBitmap
, 0, 0, 0},{0, 0, 0, 0}};
33697 static swig_cast_info _swigc__p_wxCalculateLayoutEvent
[] = { {&_swigt__p_wxCalculateLayoutEvent
, 0, 0, 0},{0, 0, 0, 0}};
33698 static swig_cast_info _swigc__p_wxColour
[] = { {&_swigt__p_wxColour
, 0, 0, 0},{0, 0, 0, 0}};
33699 static swig_cast_info _swigc__p_wxColourData
[] = { {&_swigt__p_wxColourData
, 0, 0, 0},{0, 0, 0, 0}};
33700 static swig_cast_info _swigc__p_wxColourDialog
[] = { {&_swigt__p_wxColourDialog
, 0, 0, 0},{0, 0, 0, 0}};
33701 static swig_cast_info _swigc__p_wxWindowDestroyEvent
[] = {{&_swigt__p_wxWindowDestroyEvent
, 0, 0, 0},{0, 0, 0, 0}};
33702 static swig_cast_info _swigc__p_wxClipboardTextEvent
[] = {{&_swigt__p_wxClipboardTextEvent
, 0, 0, 0},{0, 0, 0, 0}};
33703 static swig_cast_info _swigc__p_wxScrollEvent
[] = {{&_swigt__p_wxScrollEvent
, 0, 0, 0},{0, 0, 0, 0}};
33704 static swig_cast_info _swigc__p_wxPyCommandEvent
[] = {{&_swigt__p_wxPyCommandEvent
, 0, 0, 0},{0, 0, 0, 0}};
33705 static swig_cast_info _swigc__p_wxContextMenuEvent
[] = {{&_swigt__p_wxContextMenuEvent
, 0, 0, 0},{0, 0, 0, 0}};
33706 static swig_cast_info _swigc__p_wxChildFocusEvent
[] = {{&_swigt__p_wxChildFocusEvent
, 0, 0, 0},{0, 0, 0, 0}};
33707 static swig_cast_info _swigc__p_wxWindowCreateEvent
[] = {{&_swigt__p_wxWindowCreateEvent
, 0, 0, 0},{0, 0, 0, 0}};
33708 static swig_cast_info _swigc__p_wxDateEvent
[] = {{&_swigt__p_wxDateEvent
, 0, 0, 0},{0, 0, 0, 0}};
33709 static swig_cast_info _swigc__p_wxUpdateUIEvent
[] = {{&_swigt__p_wxUpdateUIEvent
, 0, 0, 0},{0, 0, 0, 0}};
33710 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}};
33711 static swig_cast_info _swigc__p_wxDC
[] = { {&_swigt__p_wxDC
, 0, 0, 0},{0, 0, 0, 0}};
33712 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}};
33713 static swig_cast_info _swigc__p_wxDirDialog
[] = { {&_swigt__p_wxDirDialog
, 0, 0, 0},{0, 0, 0, 0}};
33714 static swig_cast_info _swigc__p_wxDuplexMode
[] = { {&_swigt__p_wxDuplexMode
, 0, 0, 0},{0, 0, 0, 0}};
33715 static swig_cast_info _swigc__p_wxMenuEvent
[] = {{&_swigt__p_wxMenuEvent
, 0, 0, 0},{0, 0, 0, 0}};
33716 static swig_cast_info _swigc__p_wxCloseEvent
[] = {{&_swigt__p_wxCloseEvent
, 0, 0, 0},{0, 0, 0, 0}};
33717 static swig_cast_info _swigc__p_wxMouseEvent
[] = {{&_swigt__p_wxMouseEvent
, 0, 0, 0},{0, 0, 0, 0}};
33718 static swig_cast_info _swigc__p_wxEraseEvent
[] = {{&_swigt__p_wxEraseEvent
, 0, 0, 0},{0, 0, 0, 0}};
33719 static swig_cast_info _swigc__p_wxSetCursorEvent
[] = {{&_swigt__p_wxSetCursorEvent
, 0, 0, 0},{0, 0, 0, 0}};
33720 static swig_cast_info _swigc__p_wxInitDialogEvent
[] = {{&_swigt__p_wxInitDialogEvent
, 0, 0, 0},{0, 0, 0, 0}};
33721 static swig_cast_info _swigc__p_wxPyEvent
[] = {{&_swigt__p_wxPyEvent
, 0, 0, 0},{0, 0, 0, 0}};
33722 static swig_cast_info _swigc__p_wxMouseCaptureLostEvent
[] = {{&_swigt__p_wxMouseCaptureLostEvent
, 0, 0, 0},{0, 0, 0, 0}};
33723 static swig_cast_info _swigc__p_wxIdleEvent
[] = {{&_swigt__p_wxIdleEvent
, 0, 0, 0},{0, 0, 0, 0}};
33724 static swig_cast_info _swigc__p_wxQueryNewPaletteEvent
[] = {{&_swigt__p_wxQueryNewPaletteEvent
, 0, 0, 0},{0, 0, 0, 0}};
33725 static swig_cast_info _swigc__p_wxMaximizeEvent
[] = {{&_swigt__p_wxMaximizeEvent
, 0, 0, 0},{0, 0, 0, 0}};
33726 static swig_cast_info _swigc__p_wxIconizeEvent
[] = {{&_swigt__p_wxIconizeEvent
, 0, 0, 0},{0, 0, 0, 0}};
33727 static swig_cast_info _swigc__p_wxActivateEvent
[] = {{&_swigt__p_wxActivateEvent
, 0, 0, 0},{0, 0, 0, 0}};
33728 static swig_cast_info _swigc__p_wxSizeEvent
[] = {{&_swigt__p_wxSizeEvent
, 0, 0, 0},{0, 0, 0, 0}};
33729 static swig_cast_info _swigc__p_wxMoveEvent
[] = {{&_swigt__p_wxMoveEvent
, 0, 0, 0},{0, 0, 0, 0}};
33730 static swig_cast_info _swigc__p_wxPaintEvent
[] = {{&_swigt__p_wxPaintEvent
, 0, 0, 0},{0, 0, 0, 0}};
33731 static swig_cast_info _swigc__p_wxNcPaintEvent
[] = {{&_swigt__p_wxNcPaintEvent
, 0, 0, 0},{0, 0, 0, 0}};
33732 static swig_cast_info _swigc__p_wxPaletteChangedEvent
[] = {{&_swigt__p_wxPaletteChangedEvent
, 0, 0, 0},{0, 0, 0, 0}};
33733 static swig_cast_info _swigc__p_wxDisplayChangedEvent
[] = {{&_swigt__p_wxDisplayChangedEvent
, 0, 0, 0},{0, 0, 0, 0}};
33734 static swig_cast_info _swigc__p_wxMouseCaptureChangedEvent
[] = {{&_swigt__p_wxMouseCaptureChangedEvent
, 0, 0, 0},{0, 0, 0, 0}};
33735 static swig_cast_info _swigc__p_wxSysColourChangedEvent
[] = {{&_swigt__p_wxSysColourChangedEvent
, 0, 0, 0},{0, 0, 0, 0}};
33736 static swig_cast_info _swigc__p_wxDropFilesEvent
[] = {{&_swigt__p_wxDropFilesEvent
, 0, 0, 0},{0, 0, 0, 0}};
33737 static swig_cast_info _swigc__p_wxFocusEvent
[] = {{&_swigt__p_wxFocusEvent
, 0, 0, 0},{0, 0, 0, 0}};
33738 static swig_cast_info _swigc__p_wxShowEvent
[] = {{&_swigt__p_wxShowEvent
, 0, 0, 0},{0, 0, 0, 0}};
33739 static swig_cast_info _swigc__p_wxNavigationKeyEvent
[] = {{&_swigt__p_wxNavigationKeyEvent
, 0, 0, 0},{0, 0, 0, 0}};
33740 static swig_cast_info _swigc__p_wxKeyEvent
[] = {{&_swigt__p_wxKeyEvent
, 0, 0, 0},{0, 0, 0, 0}};
33741 static swig_cast_info _swigc__p_wxEvent
[] = { {&_swigt__p_wxContextMenuEvent
, _p_wxContextMenuEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxMenuEvent
, _p_wxMenuEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxCloseEvent
, _p_wxCloseEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxMouseEvent
, _p_wxMouseEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxEraseEvent
, _p_wxEraseEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxSetCursorEvent
, _p_wxSetCursorEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxSplitterEvent
, _p_wxSplitterEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxInitDialogEvent
, _p_wxInitDialogEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxFindDialogEvent
, _p_wxFindDialogEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxScrollEvent
, _p_wxScrollEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxNotifyEvent
, _p_wxNotifyEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxPyEvent
, _p_wxPyEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxMouseCaptureLostEvent
, _p_wxMouseCaptureLostEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxCalculateLayoutEvent
, _p_wxCalculateLayoutEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxEvent
, 0, 0, 0}, {&_swigt__p_wxIdleEvent
, _p_wxIdleEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxWindowCreateEvent
, _p_wxWindowCreateEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxQueryNewPaletteEvent
, _p_wxQueryNewPaletteEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxMaximizeEvent
, _p_wxMaximizeEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxIconizeEvent
, _p_wxIconizeEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxActivateEvent
, _p_wxActivateEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxSizeEvent
, _p_wxSizeEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxMoveEvent
, _p_wxMoveEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxDateEvent
, _p_wxDateEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxPaintEvent
, _p_wxPaintEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxNcPaintEvent
, _p_wxNcPaintEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxClipboardTextEvent
, _p_wxClipboardTextEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxUpdateUIEvent
, _p_wxUpdateUIEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxPaletteChangedEvent
, _p_wxPaletteChangedEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxDisplayChangedEvent
, _p_wxDisplayChangedEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxMouseCaptureChangedEvent
, _p_wxMouseCaptureChangedEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxSysColourChangedEvent
, _p_wxSysColourChangedEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxDropFilesEvent
, _p_wxDropFilesEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxFocusEvent
, _p_wxFocusEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxChildFocusEvent
, _p_wxChildFocusEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxSashEvent
, _p_wxSashEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxQueryLayoutInfoEvent
, _p_wxQueryLayoutInfoEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxShowEvent
, _p_wxShowEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxCommandEvent
, _p_wxCommandEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxPyCommandEvent
, _p_wxPyCommandEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxWindowDestroyEvent
, _p_wxWindowDestroyEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxNavigationKeyEvent
, _p_wxNavigationKeyEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxKeyEvent
, _p_wxKeyEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxScrollWinEvent
, _p_wxScrollWinEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxTaskBarIconEvent
, _p_wxTaskBarIconEventTo_p_wxEvent
, 0, 0},{0, 0, 0, 0}};
33742 static swig_cast_info _swigc__p_wxValidator
[] = {{&_swigt__p_wxValidator
, 0, 0, 0},{0, 0, 0, 0}};
33743 static swig_cast_info _swigc__p_wxPyValidator
[] = {{&_swigt__p_wxPyValidator
, 0, 0, 0},{0, 0, 0, 0}};
33744 static swig_cast_info _swigc__p_wxControl
[] = {{&_swigt__p_wxControl
, 0, 0, 0},{0, 0, 0, 0}};
33745 static swig_cast_info _swigc__p_wxPyApp
[] = {{&_swigt__p_wxPyApp
, 0, 0, 0},{0, 0, 0, 0}};
33746 static swig_cast_info _swigc__p_wxControlWithItems
[] = {{&_swigt__p_wxControlWithItems
, 0, 0, 0},{0, 0, 0, 0}};
33747 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}};
33748 static swig_cast_info _swigc__p_wxFileDialog
[] = { {&_swigt__p_wxFileDialog
, 0, 0, 0},{0, 0, 0, 0}};
33749 static swig_cast_info _swigc__p_wxFileSystem
[] = { {&_swigt__p_wxFileSystem
, 0, 0, 0},{0, 0, 0, 0}};
33750 static swig_cast_info _swigc__p_wxFindDialogEvent
[] = { {&_swigt__p_wxFindDialogEvent
, 0, 0, 0},{0, 0, 0, 0}};
33751 static swig_cast_info _swigc__p_wxFindReplaceData
[] = { {&_swigt__p_wxFindReplaceData
, 0, 0, 0},{0, 0, 0, 0}};
33752 static swig_cast_info _swigc__p_wxFindReplaceDialog
[] = { {&_swigt__p_wxFindReplaceDialog
, 0, 0, 0},{0, 0, 0, 0}};
33753 static swig_cast_info _swigc__p_wxFont
[] = { {&_swigt__p_wxFont
, 0, 0, 0},{0, 0, 0, 0}};
33754 static swig_cast_info _swigc__p_wxFontData
[] = { {&_swigt__p_wxFontData
, 0, 0, 0},{0, 0, 0, 0}};
33755 static swig_cast_info _swigc__p_wxFontDialog
[] = { {&_swigt__p_wxFontDialog
, 0, 0, 0},{0, 0, 0, 0}};
33756 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}};
33757 static swig_cast_info _swigc__p_wxHtmlLinkInfo
[] = { {&_swigt__p_wxHtmlLinkInfo
, 0, 0, 0},{0, 0, 0, 0}};
33758 static swig_cast_info _swigc__p_wxIcon
[] = { {&_swigt__p_wxIcon
, 0, 0, 0},{0, 0, 0, 0}};
33759 static swig_cast_info _swigc__p_wxIconBundle
[] = { {&_swigt__p_wxIconBundle
, 0, 0, 0},{0, 0, 0, 0}};
33760 static swig_cast_info _swigc__p_wxLayoutAlgorithm
[] = { {&_swigt__p_wxLayoutAlgorithm
, 0, 0, 0},{0, 0, 0, 0}};
33761 static swig_cast_info _swigc__p_wxMDIChildFrame
[] = { {&_swigt__p_wxMDIChildFrame
, 0, 0, 0},{0, 0, 0, 0}};
33762 static swig_cast_info _swigc__p_wxMDIClientWindow
[] = { {&_swigt__p_wxMDIClientWindow
, 0, 0, 0},{0, 0, 0, 0}};
33763 static swig_cast_info _swigc__p_wxMDIParentFrame
[] = { {&_swigt__p_wxMDIParentFrame
, 0, 0, 0},{0, 0, 0, 0}};
33764 static swig_cast_info _swigc__p_wxMenu
[] = { {&_swigt__p_wxMenu
, 0, 0, 0},{0, 0, 0, 0}};
33765 static swig_cast_info _swigc__p_wxMenuBar
[] = { {&_swigt__p_wxMenuBar
, 0, 0, 0},{0, 0, 0, 0}};
33766 static swig_cast_info _swigc__p_wxMessageDialog
[] = { {&_swigt__p_wxMessageDialog
, 0, 0, 0},{0, 0, 0, 0}};
33767 static swig_cast_info _swigc__p_wxMiniFrame
[] = { {&_swigt__p_wxMiniFrame
, 0, 0, 0},{0, 0, 0, 0}};
33768 static swig_cast_info _swigc__p_wxMultiChoiceDialog
[] = { {&_swigt__p_wxMultiChoiceDialog
, 0, 0, 0},{0, 0, 0, 0}};
33769 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}};
33770 static swig_cast_info _swigc__p_wxNumberEntryDialog
[] = { {&_swigt__p_wxNumberEntryDialog
, 0, 0, 0},{0, 0, 0, 0}};
33771 static swig_cast_info _swigc__p_wxLayoutConstraints
[] = {{&_swigt__p_wxLayoutConstraints
, 0, 0, 0},{0, 0, 0, 0}};
33772 static swig_cast_info _swigc__p_wxSizerItem
[] = {{&_swigt__p_wxSizerItem
, 0, 0, 0},{0, 0, 0, 0}};
33773 static swig_cast_info _swigc__p_wxGBSizerItem
[] = {{&_swigt__p_wxGBSizerItem
, 0, 0, 0},{0, 0, 0, 0}};
33774 static swig_cast_info _swigc__p_wxIndividualLayoutConstraint
[] = {{&_swigt__p_wxIndividualLayoutConstraint
, 0, 0, 0},{0, 0, 0, 0}};
33775 static swig_cast_info _swigc__p_wxStaticBoxSizer
[] = {{&_swigt__p_wxStaticBoxSizer
, 0, 0, 0},{0, 0, 0, 0}};
33776 static swig_cast_info _swigc__p_wxBoxSizer
[] = {{&_swigt__p_wxBoxSizer
, 0, 0, 0},{0, 0, 0, 0}};
33777 static swig_cast_info _swigc__p_wxSizer
[] = {{&_swigt__p_wxSizer
, 0, 0, 0},{0, 0, 0, 0}};
33778 static swig_cast_info _swigc__p_wxGridBagSizer
[] = {{&_swigt__p_wxGridBagSizer
, 0, 0, 0},{0, 0, 0, 0}};
33779 static swig_cast_info _swigc__p_wxGridSizer
[] = {{&_swigt__p_wxGridSizer
, 0, 0, 0},{0, 0, 0, 0}};
33780 static swig_cast_info _swigc__p_wxFlexGridSizer
[] = {{&_swigt__p_wxFlexGridSizer
, 0, 0, 0},{0, 0, 0, 0}};
33781 static swig_cast_info _swigc__p_wxFSFile
[] = {{&_swigt__p_wxFSFile
, 0, 0, 0},{0, 0, 0, 0}};
33782 static swig_cast_info _swigc__p_wxPySizer
[] = {{&_swigt__p_wxPySizer
, 0, 0, 0},{0, 0, 0, 0}};
33783 static swig_cast_info _swigc__p_wxMenuItem
[] = {{&_swigt__p_wxMenuItem
, 0, 0, 0},{0, 0, 0, 0}};
33784 static swig_cast_info _swigc__p_wxBMPHandler
[] = {{&_swigt__p_wxBMPHandler
, 0, 0, 0},{0, 0, 0, 0}};
33785 static swig_cast_info _swigc__p_wxICOHandler
[] = {{&_swigt__p_wxICOHandler
, 0, 0, 0},{0, 0, 0, 0}};
33786 static swig_cast_info _swigc__p_wxCURHandler
[] = {{&_swigt__p_wxCURHandler
, 0, 0, 0},{0, 0, 0, 0}};
33787 static swig_cast_info _swigc__p_wxANIHandler
[] = {{&_swigt__p_wxANIHandler
, 0, 0, 0},{0, 0, 0, 0}};
33788 static swig_cast_info _swigc__p_wxPNGHandler
[] = {{&_swigt__p_wxPNGHandler
, 0, 0, 0},{0, 0, 0, 0}};
33789 static swig_cast_info _swigc__p_wxGIFHandler
[] = {{&_swigt__p_wxGIFHandler
, 0, 0, 0},{0, 0, 0, 0}};
33790 static swig_cast_info _swigc__p_wxPCXHandler
[] = {{&_swigt__p_wxPCXHandler
, 0, 0, 0},{0, 0, 0, 0}};
33791 static swig_cast_info _swigc__p_wxJPEGHandler
[] = {{&_swigt__p_wxJPEGHandler
, 0, 0, 0},{0, 0, 0, 0}};
33792 static swig_cast_info _swigc__p_wxPNMHandler
[] = {{&_swigt__p_wxPNMHandler
, 0, 0, 0},{0, 0, 0, 0}};
33793 static swig_cast_info _swigc__p_wxPyImageHandler
[] = {{&_swigt__p_wxPyImageHandler
, 0, 0, 0},{0, 0, 0, 0}};
33794 static swig_cast_info _swigc__p_wxImageHandler
[] = {{&_swigt__p_wxImageHandler
, 0, 0, 0},{0, 0, 0, 0}};
33795 static swig_cast_info _swigc__p_wxXPMHandler
[] = {{&_swigt__p_wxXPMHandler
, 0, 0, 0},{0, 0, 0, 0}};
33796 static swig_cast_info _swigc__p_wxTIFFHandler
[] = {{&_swigt__p_wxTIFFHandler
, 0, 0, 0},{0, 0, 0, 0}};
33797 static swig_cast_info _swigc__p_wxTGAHandler
[] = {{&_swigt__p_wxTGAHandler
, 0, 0, 0},{0, 0, 0, 0}};
33798 static swig_cast_info _swigc__p_wxAcceleratorTable
[] = {{&_swigt__p_wxAcceleratorTable
, 0, 0, 0},{0, 0, 0, 0}};
33799 static swig_cast_info _swigc__p_wxImage
[] = {{&_swigt__p_wxImage
, 0, 0, 0},{0, 0, 0, 0}};
33800 static swig_cast_info _swigc__p_wxObject
[] = { {&_swigt__p_wxQueryLayoutInfoEvent
, _p_wxQueryLayoutInfoEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxLayoutConstraints
, _p_wxLayoutConstraintsTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPreviewFrame
, _p_wxPreviewFrameTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPyPreviewFrame
, _p_wxPyPreviewFrameTo_p_wxObject
, 0, 0}, {&_swigt__p_wxSizerItem
, _p_wxSizerItemTo_p_wxObject
, 0, 0}, {&_swigt__p_wxGBSizerItem
, _p_wxGBSizerItemTo_p_wxObject
, 0, 0}, {&_swigt__p_wxScrollEvent
, _p_wxScrollEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxIndividualLayoutConstraint
, _p_wxIndividualLayoutConstraintTo_p_wxObject
, 0, 0}, {&_swigt__p_wxStaticBoxSizer
, _p_wxStaticBoxSizerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxBoxSizer
, _p_wxBoxSizerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxSizer
, _p_wxSizerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxGridBagSizer
, _p_wxGridBagSizerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxUpdateUIEvent
, _p_wxUpdateUIEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPyPanel
, _p_wxPyPanelTo_p_wxObject
, 0, 0}, {&_swigt__p_wxMenu
, _p_wxMenuTo_p_wxObject
, 0, 0}, {&_swigt__p_wxFontData
, _p_wxFontDataTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPrintData
, _p_wxPrintDataTo_p_wxObject
, 0, 0}, {&_swigt__p_wxEvent
, _p_wxEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxGridSizer
, _p_wxGridSizerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxFlexGridSizer
, _p_wxFlexGridSizerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPyTaskBarIcon
, _p_wxPyTaskBarIconTo_p_wxObject
, 0, 0}, {&_swigt__p_wxLayoutAlgorithm
, _p_wxLayoutAlgorithmTo_p_wxObject
, 0, 0}, {&_swigt__p_wxInitDialogEvent
, _p_wxInitDialogEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxFindDialogEvent
, _p_wxFindDialogEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPaintEvent
, _p_wxPaintEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxNcPaintEvent
, _p_wxNcPaintEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxClipboardTextEvent
, _p_wxClipboardTextEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPaletteChangedEvent
, _p_wxPaletteChangedEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxDisplayChangedEvent
, _p_wxDisplayChangedEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxMouseCaptureChangedEvent
, _p_wxMouseCaptureChangedEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxSysColourChangedEvent
, _p_wxSysColourChangedEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPreviewCanvas
, _p_wxPreviewCanvasTo_p_wxObject
, 0, 0}, {&_swigt__p_wxControl
, _p_wxControlTo_p_wxObject
, 0, 0}, {&_swigt__p_wxSetCursorEvent
, _p_wxSetCursorEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxSplitterEvent
, _p_wxSplitterEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxFSFile
, _p_wxFSFileTo_p_wxObject
, 0, 0}, {&_swigt__p_wxFindReplaceData
, _p_wxFindReplaceDataTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPySizer
, _p_wxPySizerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxMDIChildFrame
, _p_wxMDIChildFrameTo_p_wxObject
, 0, 0}, {&_swigt__p_wxColourData
, _p_wxColourDataTo_p_wxObject
, 0, 0}, {&_swigt__p_wxNotifyEvent
, _p_wxNotifyEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPyEvent
, _p_wxPyEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPyWindow
, _p_wxPyWindowTo_p_wxObject
, 0, 0}, {&_swigt__p_wxSplashScreen
, _p_wxSplashScreenTo_p_wxObject
, 0, 0}, {&_swigt__p_wxFindReplaceDialog
, _p_wxFindReplaceDialogTo_p_wxObject
, 0, 0}, {&_swigt__p_wxProgressDialog
, _p_wxProgressDialogTo_p_wxObject
, 0, 0}, {&_swigt__p_wxMessageDialog
, _p_wxMessageDialogTo_p_wxObject
, 0, 0}, {&_swigt__p_wxNumberEntryDialog
, _p_wxNumberEntryDialogTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPasswordEntryDialog
, _p_wxPasswordEntryDialogTo_p_wxObject
, 0, 0}, {&_swigt__p_wxTextEntryDialog
, _p_wxTextEntryDialogTo_p_wxObject
, 0, 0}, {&_swigt__p_wxSingleChoiceDialog
, _p_wxSingleChoiceDialogTo_p_wxObject
, 0, 0}, {&_swigt__p_wxMultiChoiceDialog
, _p_wxMultiChoiceDialogTo_p_wxObject
, 0, 0}, {&_swigt__p_wxFileDialog
, _p_wxFileDialogTo_p_wxObject
, 0, 0}, {&_swigt__p_wxShowEvent
, _p_wxShowEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPrinter
, _p_wxPrinterTo_p_wxObject
, 0, 0}, {&_swigt__p_wxIdleEvent
, _p_wxIdleEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxWindowCreateEvent
, _p_wxWindowCreateEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxQueryNewPaletteEvent
, _p_wxQueryNewPaletteEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxMaximizeEvent
, _p_wxMaximizeEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxIconizeEvent
, _p_wxIconizeEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxActivateEvent
, _p_wxActivateEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxDateEvent
, _p_wxDateEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxMoveEvent
, _p_wxMoveEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxSizeEvent
, _p_wxSizeEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxMenuItem
, _p_wxMenuItemTo_p_wxObject
, 0, 0}, {&_swigt__p_wxCalculateLayoutEvent
, _p_wxCalculateLayoutEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxMouseCaptureLostEvent
, _p_wxMouseCaptureLostEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxBMPHandler
, _p_wxBMPHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxICOHandler
, _p_wxICOHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxCURHandler
, _p_wxCURHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxANIHandler
, _p_wxANIHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPNGHandler
, _p_wxPNGHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxGIFHandler
, _p_wxGIFHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPCXHandler
, _p_wxPCXHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxJPEGHandler
, _p_wxJPEGHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPNMHandler
, _p_wxPNMHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPyImageHandler
, _p_wxPyImageHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxImageHandler
, _p_wxImageHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxXPMHandler
, _p_wxXPMHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxTIFFHandler
, _p_wxTIFFHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxTGAHandler
, _p_wxTGAHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxEvtHandler
, _p_wxEvtHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPyVListBox
, _p_wxPyVListBoxTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPyHtmlListBox
, _p_wxPyHtmlListBoxTo_p_wxObject
, 0, 0}, {&_swigt__p_wxAcceleratorTable
, _p_wxAcceleratorTableTo_p_wxObject
, 0, 0}, {&_swigt__p_wxStdDialogButtonSizer
, _p_wxStdDialogButtonSizerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxMiniFrame
, _p_wxMiniFrameTo_p_wxObject
, 0, 0}, {&_swigt__p_wxImage
, _p_wxImageTo_p_wxObject
, 0, 0}, {&_swigt__p_wxFrame
, _p_wxFrameTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPyPrintout
, _p_wxPyPrintoutTo_p_wxObject
, 0, 0}, {&_swigt__p_wxTaskBarIconEvent
, _p_wxTaskBarIconEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxScrollWinEvent
, _p_wxScrollWinEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxStatusBar
, _p_wxStatusBarTo_p_wxObject
, 0, 0}, {&_swigt__p_wxMDIParentFrame
, _p_wxMDIParentFrameTo_p_wxObject
, 0, 0}, {&_swigt__p_wxObject
, 0, 0, 0}, {&_swigt__p_wxKeyEvent
, _p_wxKeyEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxNavigationKeyEvent
, _p_wxNavigationKeyEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxWindowDestroyEvent
, _p_wxWindowDestroyEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxMenuBar
, _p_wxMenuBarTo_p_wxObject
, 0, 0}, {&_swigt__p_wxScrolledWindow
, _p_wxScrolledWindowTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPyScrolledWindow
, _p_wxPyScrolledWindowTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPyVScrolledWindow
, _p_wxPyVScrolledWindowTo_p_wxObject
, 0, 0}, {&_swigt__p_wxMDIClientWindow
, _p_wxMDIClientWindowTo_p_wxObject
, 0, 0}, {&_swigt__p_wxTopLevelWindow
, _p_wxTopLevelWindowTo_p_wxObject
, 0, 0}, {&_swigt__p_wxWindow
, _p_wxWindowTo_p_wxObject
, 0, 0}, {&_swigt__p_wxSashWindow
, _p_wxSashWindowTo_p_wxObject
, 0, 0}, {&_swigt__p_wxSashLayoutWindow
, _p_wxSashLayoutWindowTo_p_wxObject
, 0, 0}, {&_swigt__p_wxSplitterWindow
, _p_wxSplitterWindowTo_p_wxObject
, 0, 0}, {&_swigt__p_wxSplashScreenWindow
, _p_wxSplashScreenWindowTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPopupWindow
, _p_wxPopupWindowTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPyPopupTransientWindow
, _p_wxPyPopupTransientWindowTo_p_wxObject
, 0, 0}, {&_swigt__p_wxTipWindow
, _p_wxTipWindowTo_p_wxObject
, 0, 0}, {&_swigt__p_wxSashEvent
, _p_wxSashEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPrintPreview
, _p_wxPrintPreviewTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPyPrintPreview
, _p_wxPyPrintPreviewTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPanel
, _p_wxPanelTo_p_wxObject
, 0, 0}, {&_swigt__p_wxDialog
, _p_wxDialogTo_p_wxObject
, 0, 0}, {&_swigt__p_wxColourDialog
, _p_wxColourDialogTo_p_wxObject
, 0, 0}, {&_swigt__p_wxDirDialog
, _p_wxDirDialogTo_p_wxObject
, 0, 0}, {&_swigt__p_wxFontDialog
, _p_wxFontDialogTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPageSetupDialog
, _p_wxPageSetupDialogTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPrintDialog
, _p_wxPrintDialogTo_p_wxObject
, 0, 0}, {&_swigt__p_wxFileSystem
, _p_wxFileSystemTo_p_wxObject
, 0, 0}, {&_swigt__p_wxContextMenuEvent
, _p_wxContextMenuEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxMenuEvent
, _p_wxMenuEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxCloseEvent
, _p_wxCloseEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxMouseEvent
, _p_wxMouseEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxEraseEvent
, _p_wxEraseEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPyApp
, _p_wxPyAppTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPyCommandEvent
, _p_wxPyCommandEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxCommandEvent
, _p_wxCommandEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPreviewControlBar
, _p_wxPreviewControlBarTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPyPreviewControlBar
, _p_wxPyPreviewControlBarTo_p_wxObject
, 0, 0}, {&_swigt__p_wxChildFocusEvent
, _p_wxChildFocusEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxDropFilesEvent
, _p_wxDropFilesEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxFocusEvent
, _p_wxFocusEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxControlWithItems
, _p_wxControlWithItemsTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPageSetupDialogData
, _p_wxPageSetupDialogDataTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPrintDialogData
, _p_wxPrintDialogDataTo_p_wxObject
, 0, 0}, {&_swigt__p_wxValidator
, _p_wxValidatorTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPyValidator
, _p_wxPyValidatorTo_p_wxObject
, 0, 0},{0, 0, 0, 0}};
33801 static swig_cast_info _swigc__p_wxPageSetupDialog
[] = { {&_swigt__p_wxPageSetupDialog
, 0, 0, 0},{0, 0, 0, 0}};
33802 static swig_cast_info _swigc__p_wxPageSetupDialogData
[] = { {&_swigt__p_wxPageSetupDialogData
, 0, 0, 0},{0, 0, 0, 0}};
33803 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}};
33804 static swig_cast_info _swigc__p_wxPaperSize
[] = { {&_swigt__p_wxPaperSize
, 0, 0, 0},{0, 0, 0, 0}};
33805 static swig_cast_info _swigc__p_wxPasswordEntryDialog
[] = { {&_swigt__p_wxPasswordEntryDialog
, 0, 0, 0},{0, 0, 0, 0}};
33806 static swig_cast_info _swigc__p_wxPoint
[] = { {&_swigt__p_wxPoint
, 0, 0, 0},{0, 0, 0, 0}};
33807 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}};
33808 static swig_cast_info _swigc__p_wxPreviewCanvas
[] = { {&_swigt__p_wxPreviewCanvas
, 0, 0, 0},{0, 0, 0, 0}};
33809 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}};
33810 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}};
33811 static swig_cast_info _swigc__p_wxPrintData
[] = { {&_swigt__p_wxPrintData
, 0, 0, 0},{0, 0, 0, 0}};
33812 static swig_cast_info _swigc__p_wxPrintDialog
[] = { {&_swigt__p_wxPrintDialog
, 0, 0, 0},{0, 0, 0, 0}};
33813 static swig_cast_info _swigc__p_wxPrintDialogData
[] = { {&_swigt__p_wxPrintDialogData
, 0, 0, 0},{0, 0, 0, 0}};
33814 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}};
33815 static swig_cast_info _swigc__p_wxPrinter
[] = { {&_swigt__p_wxPrinter
, 0, 0, 0},{0, 0, 0, 0}};
33816 static swig_cast_info _swigc__p_wxProgressDialog
[] = { {&_swigt__p_wxProgressDialog
, 0, 0, 0},{0, 0, 0, 0}};
33817 static swig_cast_info _swigc__p_wxPyHtmlListBox
[] = { {&_swigt__p_wxPyHtmlListBox
, 0, 0, 0},{0, 0, 0, 0}};
33818 static swig_cast_info _swigc__p_wxPyPanel
[] = { {&_swigt__p_wxPyPanel
, 0, 0, 0},{0, 0, 0, 0}};
33819 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}};
33820 static swig_cast_info _swigc__p_wxPyPreviewControlBar
[] = { {&_swigt__p_wxPyPreviewControlBar
, 0, 0, 0},{0, 0, 0, 0}};
33821 static swig_cast_info _swigc__p_wxPyPreviewFrame
[] = { {&_swigt__p_wxPyPreviewFrame
, 0, 0, 0},{0, 0, 0, 0}};
33822 static swig_cast_info _swigc__p_wxPyPrintPreview
[] = { {&_swigt__p_wxPyPrintPreview
, 0, 0, 0},{0, 0, 0, 0}};
33823 static swig_cast_info _swigc__p_wxPyPrintout
[] = { {&_swigt__p_wxPyPrintout
, 0, 0, 0},{0, 0, 0, 0}};
33824 static swig_cast_info _swigc__p_wxPyScrolledWindow
[] = { {&_swigt__p_wxPyScrolledWindow
, 0, 0, 0},{0, 0, 0, 0}};
33825 static swig_cast_info _swigc__p_wxPyTaskBarIcon
[] = { {&_swigt__p_wxPyTaskBarIcon
, 0, 0, 0},{0, 0, 0, 0}};
33826 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}};
33827 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}};
33828 static swig_cast_info _swigc__p_wxPyWindow
[] = { {&_swigt__p_wxPyWindow
, 0, 0, 0},{0, 0, 0, 0}};
33829 static swig_cast_info _swigc__p_wxQueryLayoutInfoEvent
[] = { {&_swigt__p_wxQueryLayoutInfoEvent
, 0, 0, 0},{0, 0, 0, 0}};
33830 static swig_cast_info _swigc__p_wxRect
[] = { {&_swigt__p_wxRect
, 0, 0, 0},{0, 0, 0, 0}};
33831 static swig_cast_info _swigc__p_wxRegion
[] = { {&_swigt__p_wxRegion
, 0, 0, 0},{0, 0, 0, 0}};
33832 static swig_cast_info _swigc__p_wxSashEvent
[] = { {&_swigt__p_wxSashEvent
, 0, 0, 0},{0, 0, 0, 0}};
33833 static swig_cast_info _swigc__p_wxSashLayoutWindow
[] = { {&_swigt__p_wxSashLayoutWindow
, 0, 0, 0},{0, 0, 0, 0}};
33834 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}};
33835 static swig_cast_info _swigc__p_wxScrollWinEvent
[] = { {&_swigt__p_wxScrollWinEvent
, 0, 0, 0},{0, 0, 0, 0}};
33836 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}};
33837 static swig_cast_info _swigc__p_wxSingleChoiceDialog
[] = { {&_swigt__p_wxSingleChoiceDialog
, 0, 0, 0},{0, 0, 0, 0}};
33838 static swig_cast_info _swigc__p_wxSize
[] = { {&_swigt__p_wxSize
, 0, 0, 0},{0, 0, 0, 0}};
33839 static swig_cast_info _swigc__p_wxSplashScreen
[] = { {&_swigt__p_wxSplashScreen
, 0, 0, 0},{0, 0, 0, 0}};
33840 static swig_cast_info _swigc__p_wxSplashScreenWindow
[] = { {&_swigt__p_wxSplashScreenWindow
, 0, 0, 0},{0, 0, 0, 0}};
33841 static swig_cast_info _swigc__p_wxSplitterEvent
[] = { {&_swigt__p_wxSplitterEvent
, 0, 0, 0},{0, 0, 0, 0}};
33842 static swig_cast_info _swigc__p_wxSplitterWindow
[] = { {&_swigt__p_wxSplitterWindow
, 0, 0, 0},{0, 0, 0, 0}};
33843 static swig_cast_info _swigc__p_wxStatusBar
[] = { {&_swigt__p_wxStatusBar
, 0, 0, 0},{0, 0, 0, 0}};
33844 static swig_cast_info _swigc__p_wxStdDialogButtonSizer
[] = { {&_swigt__p_wxStdDialogButtonSizer
, 0, 0, 0},{0, 0, 0, 0}};
33845 static swig_cast_info _swigc__p_wxString
[] = { {&_swigt__p_wxString
, 0, 0, 0},{0, 0, 0, 0}};
33846 static swig_cast_info _swigc__p_wxTaskBarIcon
[] = { {&_swigt__p_wxTaskBarIcon
, 0, 0, 0},{0, 0, 0, 0}};
33847 static swig_cast_info _swigc__p_wxTaskBarIconEvent
[] = { {&_swigt__p_wxTaskBarIconEvent
, 0, 0, 0},{0, 0, 0, 0}};
33848 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}};
33849 static swig_cast_info _swigc__p_wxTipWindow
[] = { {&_swigt__p_wxTipWindow
, 0, 0, 0},{0, 0, 0, 0}};
33850 static swig_cast_info _swigc__p_wxToolBar
[] = { {&_swigt__p_wxToolBar
, 0, 0, 0},{0, 0, 0, 0}};
33851 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}};
33852 static swig_cast_info _swigc__p_wxVisualAttributes
[] = { {&_swigt__p_wxVisualAttributes
, 0, 0, 0},{0, 0, 0, 0}};
33853 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}};
33855 static swig_cast_info
*swig_cast_initial
[] = {
33858 _swigc__p_form_ops_t
,
33860 _swigc__p_unsigned_char
,
33861 _swigc__p_unsigned_int
,
33862 _swigc__p_unsigned_long
,
33863 _swigc__p_wxANIHandler
,
33864 _swigc__p_wxAcceleratorTable
,
33865 _swigc__p_wxActivateEvent
,
33866 _swigc__p_wxArrayInt
,
33867 _swigc__p_wxBMPHandler
,
33868 _swigc__p_wxBitmap
,
33869 _swigc__p_wxBoxSizer
,
33870 _swigc__p_wxCURHandler
,
33871 _swigc__p_wxCalculateLayoutEvent
,
33872 _swigc__p_wxChildFocusEvent
,
33873 _swigc__p_wxClipboardTextEvent
,
33874 _swigc__p_wxCloseEvent
,
33875 _swigc__p_wxColour
,
33876 _swigc__p_wxColourData
,
33877 _swigc__p_wxColourDialog
,
33878 _swigc__p_wxCommandEvent
,
33879 _swigc__p_wxContextMenuEvent
,
33880 _swigc__p_wxControl
,
33881 _swigc__p_wxControlWithItems
,
33883 _swigc__p_wxDateEvent
,
33884 _swigc__p_wxDialog
,
33885 _swigc__p_wxDirDialog
,
33886 _swigc__p_wxDisplayChangedEvent
,
33887 _swigc__p_wxDropFilesEvent
,
33888 _swigc__p_wxDuplexMode
,
33889 _swigc__p_wxEraseEvent
,
33891 _swigc__p_wxEvtHandler
,
33892 _swigc__p_wxFSFile
,
33893 _swigc__p_wxFileDialog
,
33894 _swigc__p_wxFileSystem
,
33895 _swigc__p_wxFindDialogEvent
,
33896 _swigc__p_wxFindReplaceData
,
33897 _swigc__p_wxFindReplaceDialog
,
33898 _swigc__p_wxFlexGridSizer
,
33899 _swigc__p_wxFocusEvent
,
33901 _swigc__p_wxFontData
,
33902 _swigc__p_wxFontDialog
,
33904 _swigc__p_wxGBSizerItem
,
33905 _swigc__p_wxGIFHandler
,
33906 _swigc__p_wxGridBagSizer
,
33907 _swigc__p_wxGridSizer
,
33908 _swigc__p_wxHtmlLinkInfo
,
33909 _swigc__p_wxICOHandler
,
33911 _swigc__p_wxIconBundle
,
33912 _swigc__p_wxIconizeEvent
,
33913 _swigc__p_wxIdleEvent
,
33915 _swigc__p_wxImageHandler
,
33916 _swigc__p_wxIndividualLayoutConstraint
,
33917 _swigc__p_wxInitDialogEvent
,
33918 _swigc__p_wxJPEGHandler
,
33919 _swigc__p_wxKeyEvent
,
33920 _swigc__p_wxLayoutAlgorithm
,
33921 _swigc__p_wxLayoutConstraints
,
33922 _swigc__p_wxMDIChildFrame
,
33923 _swigc__p_wxMDIClientWindow
,
33924 _swigc__p_wxMDIParentFrame
,
33925 _swigc__p_wxMaximizeEvent
,
33927 _swigc__p_wxMenuBar
,
33928 _swigc__p_wxMenuEvent
,
33929 _swigc__p_wxMenuItem
,
33930 _swigc__p_wxMessageDialog
,
33931 _swigc__p_wxMiniFrame
,
33932 _swigc__p_wxMouseCaptureChangedEvent
,
33933 _swigc__p_wxMouseCaptureLostEvent
,
33934 _swigc__p_wxMouseEvent
,
33935 _swigc__p_wxMoveEvent
,
33936 _swigc__p_wxMultiChoiceDialog
,
33937 _swigc__p_wxNavigationKeyEvent
,
33938 _swigc__p_wxNcPaintEvent
,
33939 _swigc__p_wxNotifyEvent
,
33940 _swigc__p_wxNumberEntryDialog
,
33941 _swigc__p_wxObject
,
33942 _swigc__p_wxPCXHandler
,
33943 _swigc__p_wxPNGHandler
,
33944 _swigc__p_wxPNMHandler
,
33945 _swigc__p_wxPageSetupDialog
,
33946 _swigc__p_wxPageSetupDialogData
,
33947 _swigc__p_wxPaintEvent
,
33948 _swigc__p_wxPaletteChangedEvent
,
33950 _swigc__p_wxPaperSize
,
33951 _swigc__p_wxPasswordEntryDialog
,
33953 _swigc__p_wxPopupWindow
,
33954 _swigc__p_wxPreviewCanvas
,
33955 _swigc__p_wxPreviewControlBar
,
33956 _swigc__p_wxPreviewFrame
,
33957 _swigc__p_wxPrintData
,
33958 _swigc__p_wxPrintDialog
,
33959 _swigc__p_wxPrintDialogData
,
33960 _swigc__p_wxPrintPreview
,
33961 _swigc__p_wxPrinter
,
33962 _swigc__p_wxProgressDialog
,
33964 _swigc__p_wxPyCommandEvent
,
33965 _swigc__p_wxPyEvent
,
33966 _swigc__p_wxPyHtmlListBox
,
33967 _swigc__p_wxPyImageHandler
,
33968 _swigc__p_wxPyPanel
,
33969 _swigc__p_wxPyPopupTransientWindow
,
33970 _swigc__p_wxPyPreviewControlBar
,
33971 _swigc__p_wxPyPreviewFrame
,
33972 _swigc__p_wxPyPrintPreview
,
33973 _swigc__p_wxPyPrintout
,
33974 _swigc__p_wxPyScrolledWindow
,
33975 _swigc__p_wxPySizer
,
33976 _swigc__p_wxPyTaskBarIcon
,
33977 _swigc__p_wxPyVListBox
,
33978 _swigc__p_wxPyVScrolledWindow
,
33979 _swigc__p_wxPyValidator
,
33980 _swigc__p_wxPyWindow
,
33981 _swigc__p_wxQueryLayoutInfoEvent
,
33982 _swigc__p_wxQueryNewPaletteEvent
,
33984 _swigc__p_wxRegion
,
33985 _swigc__p_wxSashEvent
,
33986 _swigc__p_wxSashLayoutWindow
,
33987 _swigc__p_wxSashWindow
,
33988 _swigc__p_wxScrollEvent
,
33989 _swigc__p_wxScrollWinEvent
,
33990 _swigc__p_wxScrolledWindow
,
33991 _swigc__p_wxSetCursorEvent
,
33992 _swigc__p_wxShowEvent
,
33993 _swigc__p_wxSingleChoiceDialog
,
33995 _swigc__p_wxSizeEvent
,
33997 _swigc__p_wxSizerItem
,
33998 _swigc__p_wxSplashScreen
,
33999 _swigc__p_wxSplashScreenWindow
,
34000 _swigc__p_wxSplitterEvent
,
34001 _swigc__p_wxSplitterWindow
,
34002 _swigc__p_wxStaticBoxSizer
,
34003 _swigc__p_wxStatusBar
,
34004 _swigc__p_wxStdDialogButtonSizer
,
34005 _swigc__p_wxString
,
34006 _swigc__p_wxSysColourChangedEvent
,
34007 _swigc__p_wxTGAHandler
,
34008 _swigc__p_wxTIFFHandler
,
34009 _swigc__p_wxTaskBarIcon
,
34010 _swigc__p_wxTaskBarIconEvent
,
34011 _swigc__p_wxTextEntryDialog
,
34012 _swigc__p_wxTipWindow
,
34013 _swigc__p_wxToolBar
,
34014 _swigc__p_wxTopLevelWindow
,
34015 _swigc__p_wxUpdateUIEvent
,
34016 _swigc__p_wxValidator
,
34017 _swigc__p_wxVisualAttributes
,
34018 _swigc__p_wxWindow
,
34019 _swigc__p_wxWindowCreateEvent
,
34020 _swigc__p_wxWindowDestroyEvent
,
34021 _swigc__p_wxXPMHandler
,
34025 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (END) -------- */
34027 static swig_const_info swig_const_table
[] = {
34028 {0, 0, 0, 0.0, 0, 0}};
34033 /* -----------------------------------------------------------------------------
34034 * Type initialization:
34035 * This problem is tough by the requirement that no dynamic
34036 * memory is used. Also, since swig_type_info structures store pointers to
34037 * swig_cast_info structures and swig_cast_info structures store pointers back
34038 * to swig_type_info structures, we need some lookup code at initialization.
34039 * The idea is that swig generates all the structures that are needed.
34040 * The runtime then collects these partially filled structures.
34041 * The SWIG_InitializeModule function takes these initial arrays out of
34042 * swig_module, and does all the lookup, filling in the swig_module.types
34043 * array with the correct data and linking the correct swig_cast_info
34044 * structures together.
34046 * The generated swig_type_info structures are assigned staticly to an initial
34047 * array. We just loop though that array, and handle each type individually.
34048 * First we lookup if this type has been already loaded, and if so, use the
34049 * loaded structure instead of the generated one. Then we have to fill in the
34050 * cast linked list. The cast data is initially stored in something like a
34051 * two-dimensional array. Each row corresponds to a type (there are the same
34052 * number of rows as there are in the swig_type_initial array). Each entry in
34053 * a column is one of the swig_cast_info structures for that type.
34054 * The cast_initial array is actually an array of arrays, because each row has
34055 * a variable number of columns. So to actually build the cast linked list,
34056 * we find the array of casts associated with the type, and loop through it
34057 * adding the casts to the list. The one last trick we need to do is making
34058 * sure the type pointer in the swig_cast_info struct is correct.
34060 * First off, we lookup the cast->type name to see if it is already loaded.
34061 * There are three cases to handle:
34062 * 1) If the cast->type has already been loaded AND the type we are adding
34063 * casting info to has not been loaded (it is in this module), THEN we
34064 * replace the cast->type pointer with the type pointer that has already
34066 * 2) If BOTH types (the one we are adding casting info to, and the
34067 * cast->type) are loaded, THEN the cast info has already been loaded by
34068 * the previous module so we just ignore it.
34069 * 3) Finally, if cast->type has not already been loaded, then we add that
34070 * swig_cast_info to the linked list (because the cast->type) pointer will
34072 * ----------------------------------------------------------------------------- */
34082 #define SWIGRUNTIME_DEBUG
34086 SWIG_InitializeModule(void *clientdata
) {
34088 swig_module_info
*module_head
;
34089 static int init_run
= 0;
34091 clientdata
= clientdata
;
34093 if (init_run
) return;
34096 /* Initialize the swig_module */
34097 swig_module
.type_initial
= swig_type_initial
;
34098 swig_module
.cast_initial
= swig_cast_initial
;
34100 /* Try and load any already created modules */
34101 module_head
= SWIG_GetModule(clientdata
);
34103 swig_module
.next
= module_head
->next
;
34104 module_head
->next
= &swig_module
;
34106 /* This is the first module loaded */
34107 swig_module
.next
= &swig_module
;
34108 SWIG_SetModule(clientdata
, &swig_module
);
34111 /* Now work on filling in swig_module.types */
34112 #ifdef SWIGRUNTIME_DEBUG
34113 printf("SWIG_InitializeModule: size %d\n", swig_module
.size
);
34115 for (i
= 0; i
< swig_module
.size
; ++i
) {
34116 swig_type_info
*type
= 0;
34117 swig_type_info
*ret
;
34118 swig_cast_info
*cast
;
34120 #ifdef SWIGRUNTIME_DEBUG
34121 printf("SWIG_InitializeModule: type %d %s\n", i
, swig_module
.type_initial
[i
]->name
);
34124 /* if there is another module already loaded */
34125 if (swig_module
.next
!= &swig_module
) {
34126 type
= SWIG_MangledTypeQueryModule(swig_module
.next
, &swig_module
, swig_module
.type_initial
[i
]->name
);
34129 /* Overwrite clientdata field */
34130 #ifdef SWIGRUNTIME_DEBUG
34131 printf("SWIG_InitializeModule: found type %s\n", type
->name
);
34133 if (swig_module
.type_initial
[i
]->clientdata
) {
34134 type
->clientdata
= swig_module
.type_initial
[i
]->clientdata
;
34135 #ifdef SWIGRUNTIME_DEBUG
34136 printf("SWIG_InitializeModule: found and overwrite type %s \n", type
->name
);
34140 type
= swig_module
.type_initial
[i
];
34143 /* Insert casting types */
34144 cast
= swig_module
.cast_initial
[i
];
34145 while (cast
->type
) {
34146 /* Don't need to add information already in the list */
34148 #ifdef SWIGRUNTIME_DEBUG
34149 printf("SWIG_InitializeModule: look cast %s\n", cast
->type
->name
);
34151 if (swig_module
.next
!= &swig_module
) {
34152 ret
= SWIG_MangledTypeQueryModule(swig_module
.next
, &swig_module
, cast
->type
->name
);
34153 #ifdef SWIGRUNTIME_DEBUG
34154 if (ret
) printf("SWIG_InitializeModule: found cast %s\n", ret
->name
);
34158 if (type
== swig_module
.type_initial
[i
]) {
34159 #ifdef SWIGRUNTIME_DEBUG
34160 printf("SWIG_InitializeModule: skip old type %s\n", ret
->name
);
34165 /* Check for casting already in the list */
34166 swig_cast_info
*ocast
= SWIG_TypeCheck(ret
->name
, type
);
34167 #ifdef SWIGRUNTIME_DEBUG
34168 if (ocast
) printf("SWIG_InitializeModule: skip old cast %s\n", ret
->name
);
34170 if (!ocast
) ret
= 0;
34175 #ifdef SWIGRUNTIME_DEBUG
34176 printf("SWIG_InitializeModule: adding cast %s\n", cast
->type
->name
);
34179 type
->cast
->prev
= cast
;
34180 cast
->next
= type
->cast
;
34186 /* Set entry in modules->types array equal to the type */
34187 swig_module
.types
[i
] = type
;
34189 swig_module
.types
[i
] = 0;
34191 #ifdef SWIGRUNTIME_DEBUG
34192 printf("**** SWIG_InitializeModule: Cast List ******\n");
34193 for (i
= 0; i
< swig_module
.size
; ++i
) {
34195 swig_cast_info
*cast
= swig_module
.cast_initial
[i
];
34196 printf("SWIG_InitializeModule: type %d %s\n", i
, swig_module
.type_initial
[i
]->name
);
34197 while (cast
->type
) {
34198 printf("SWIG_InitializeModule: cast type %s\n", cast
->type
->name
);
34202 printf("---- Total casts: %d\n",j
);
34204 printf("**** SWIG_InitializeModule: Cast List ******\n");
34208 /* This function will propagate the clientdata field of type to
34209 * any new swig_type_info structures that have been added into the list
34210 * of equivalent types. It is like calling
34211 * SWIG_TypeClientData(type, clientdata) a second time.
34214 SWIG_PropagateClientData(void) {
34216 swig_cast_info
*equiv
;
34217 static int init_run
= 0;
34219 if (init_run
) return;
34222 for (i
= 0; i
< swig_module
.size
; i
++) {
34223 if (swig_module
.types
[i
]->clientdata
) {
34224 equiv
= swig_module
.types
[i
]->cast
;
34226 if (!equiv
->converter
) {
34227 if (equiv
->type
&& !equiv
->type
->clientdata
)
34228 SWIG_TypeClientData(equiv
->type
, swig_module
.types
[i
]->clientdata
);
34230 equiv
= equiv
->next
;
34250 /* Python-specific SWIG API */
34251 #define SWIG_newvarlink() SWIG_Python_newvarlink()
34252 #define SWIG_addvarlink(p, name, get_attr, set_attr) SWIG_Python_addvarlink(p, name, get_attr, set_attr)
34253 #define SWIG_InstallConstants(d, constants) SWIG_Python_InstallConstants(d, constants)
34255 /* -----------------------------------------------------------------------------
34256 * global variable support code.
34257 * ----------------------------------------------------------------------------- */
34259 typedef struct swig_globalvar
{
34260 char *name
; /* Name of global variable */
34261 PyObject
*(*get_attr
)(void); /* Return the current value */
34262 int (*set_attr
)(PyObject
*); /* Set the value */
34263 struct swig_globalvar
*next
;
34266 typedef struct swig_varlinkobject
{
34268 swig_globalvar
*vars
;
34269 } swig_varlinkobject
;
34271 SWIGINTERN PyObject
*
34272 swig_varlink_repr(swig_varlinkobject
*SWIGUNUSEDPARM(v
)) {
34273 return PyString_FromString("<Swig global variables>");
34276 SWIGINTERN PyObject
*
34277 swig_varlink_str(swig_varlinkobject
*v
) {
34278 PyObject
*str
= PyString_FromString("(");
34279 swig_globalvar
*var
;
34280 for (var
= v
->vars
; var
; var
=var
->next
) {
34281 PyString_ConcatAndDel(&str
,PyString_FromString(var
->name
));
34282 if (var
->next
) PyString_ConcatAndDel(&str
,PyString_FromString(", "));
34284 PyString_ConcatAndDel(&str
,PyString_FromString(")"));
34289 swig_varlink_print(swig_varlinkobject
*v
, FILE *fp
, int SWIGUNUSEDPARM(flags
)) {
34290 PyObject
*str
= swig_varlink_str(v
);
34291 fprintf(fp
,"Swig global variables ");
34292 fprintf(fp
,"%s\n", PyString_AsString(str
));
34298 swig_varlink_dealloc(swig_varlinkobject
*v
) {
34299 swig_globalvar
*var
= v
->vars
;
34301 swig_globalvar
*n
= var
->next
;
34308 SWIGINTERN PyObject
*
34309 swig_varlink_getattr(swig_varlinkobject
*v
, char *n
) {
34310 PyObject
*res
= NULL
;
34311 swig_globalvar
*var
= v
->vars
;
34313 if (strcmp(var
->name
,n
) == 0) {
34314 res
= (*var
->get_attr
)();
34319 if (res
== NULL
&& !PyErr_Occurred()) {
34320 PyErr_SetString(PyExc_NameError
,"Unknown C global variable");
34326 swig_varlink_setattr(swig_varlinkobject
*v
, char *n
, PyObject
*p
) {
34328 swig_globalvar
*var
= v
->vars
;
34330 if (strcmp(var
->name
,n
) == 0) {
34331 res
= (*var
->set_attr
)(p
);
34336 if (res
== 1 && !PyErr_Occurred()) {
34337 PyErr_SetString(PyExc_NameError
,"Unknown C global variable");
34342 SWIGINTERN PyTypeObject
*
34343 swig_varlink_type(void) {
34344 static char varlink__doc__
[] = "Swig var link object";
34345 static PyTypeObject varlink_type
;
34346 static int type_init
= 0;
34348 const PyTypeObject tmp
34350 PyObject_HEAD_INIT(NULL
)
34351 0, /* Number of items in variable part (ob_size) */
34352 (char *)"swigvarlink", /* Type name (tp_name) */
34353 sizeof(swig_varlinkobject
), /* Basic size (tp_basicsize) */
34354 0, /* Itemsize (tp_itemsize) */
34355 (destructor
) swig_varlink_dealloc
, /* Deallocator (tp_dealloc) */
34356 (printfunc
) swig_varlink_print
, /* Print (tp_print) */
34357 (getattrfunc
) swig_varlink_getattr
, /* get attr (tp_getattr) */
34358 (setattrfunc
) swig_varlink_setattr
, /* Set attr (tp_setattr) */
34359 0, /* tp_compare */
34360 (reprfunc
) swig_varlink_repr
, /* tp_repr */
34361 0, /* tp_as_number */
34362 0, /* tp_as_sequence */
34363 0, /* tp_as_mapping */
34366 (reprfunc
)swig_varlink_str
, /* tp_str */
34367 0, /* tp_getattro */
34368 0, /* tp_setattro */
34369 0, /* tp_as_buffer */
34371 varlink__doc__
, /* tp_doc */
34372 0, /* tp_traverse */
34374 0, /* tp_richcompare */
34375 0, /* tp_weaklistoffset */
34376 #if PY_VERSION_HEX >= 0x02020000
34377 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, /* tp_iter -> tp_weaklist */
34379 #if PY_VERSION_HEX >= 0x02030000
34382 #ifdef COUNT_ALLOCS
34383 0,0,0,0 /* tp_alloc -> tp_next */
34386 varlink_type
= tmp
;
34387 varlink_type
.ob_type
= &PyType_Type
;
34390 return &varlink_type
;
34393 /* Create a variable linking object for use later */
34394 SWIGINTERN PyObject
*
34395 SWIG_Python_newvarlink(void) {
34396 swig_varlinkobject
*result
= PyObject_NEW(swig_varlinkobject
, swig_varlink_type());
34400 return ((PyObject
*) result
);
34404 SWIG_Python_addvarlink(PyObject
*p
, char *name
, PyObject
*(*get_attr
)(void), int (*set_attr
)(PyObject
*p
)) {
34405 swig_varlinkobject
*v
= (swig_varlinkobject
*) p
;
34406 swig_globalvar
*gv
= (swig_globalvar
*) malloc(sizeof(swig_globalvar
));
34408 size_t size
= strlen(name
)+1;
34409 gv
->name
= (char *)malloc(size
);
34411 strncpy(gv
->name
,name
,size
);
34412 gv
->get_attr
= get_attr
;
34413 gv
->set_attr
= set_attr
;
34414 gv
->next
= v
->vars
;
34420 SWIGINTERN PyObject
*
34422 static PyObject
*_SWIG_globals
= 0;
34423 if (!_SWIG_globals
) _SWIG_globals
= SWIG_newvarlink();
34424 return _SWIG_globals
;
34427 /* -----------------------------------------------------------------------------
34428 * constants/methods manipulation
34429 * ----------------------------------------------------------------------------- */
34431 /* Install Constants */
34433 SWIG_Python_InstallConstants(PyObject
*d
, swig_const_info constants
[]) {
34436 for (i
= 0; constants
[i
].type
; ++i
) {
34437 switch(constants
[i
].type
) {
34438 case SWIG_PY_POINTER
:
34439 obj
= SWIG_NewPointerObj(constants
[i
].pvalue
, *(constants
[i
]).ptype
,0);
34441 case SWIG_PY_BINARY
:
34442 obj
= SWIG_NewPackedObj(constants
[i
].pvalue
, constants
[i
].lvalue
, *(constants
[i
].ptype
));
34449 PyDict_SetItemString(d
, constants
[i
].name
, obj
);
34455 /* -----------------------------------------------------------------------------*/
34456 /* Fix SwigMethods to carry the callback ptrs when needed */
34457 /* -----------------------------------------------------------------------------*/
34460 SWIG_Python_FixMethods(PyMethodDef
*methods
,
34461 swig_const_info
*const_table
,
34462 swig_type_info
**types
,
34463 swig_type_info
**types_initial
) {
34465 for (i
= 0; methods
[i
].ml_name
; ++i
) {
34466 const char *c
= methods
[i
].ml_doc
;
34467 if (c
&& (c
= strstr(c
, "swig_ptr: "))) {
34469 swig_const_info
*ci
= 0;
34470 const char *name
= c
+ 10;
34471 for (j
= 0; const_table
[j
].type
; ++j
) {
34472 if (strncmp(const_table
[j
].name
, name
,
34473 strlen(const_table
[j
].name
)) == 0) {
34474 ci
= &(const_table
[j
]);
34479 size_t shift
= (ci
->ptype
) - types
;
34480 swig_type_info
*ty
= types_initial
[shift
];
34481 size_t ldoc
= (c
- methods
[i
].ml_doc
);
34482 size_t lptr
= strlen(ty
->name
)+2*sizeof(void*)+2;
34483 char *ndoc
= (char*)malloc(ldoc
+ lptr
+ 10);
34486 void *ptr
= (ci
->type
== SWIG_PY_POINTER
) ? ci
->pvalue
: 0;
34488 strncpy(buff
, methods
[i
].ml_doc
, ldoc
);
34490 strncpy(buff
, "swig_ptr: ", 10);
34492 SWIG_PackVoidPtr(buff
, ptr
, ty
->name
, lptr
);
34493 methods
[i
].ml_doc
= ndoc
;
34505 /* -----------------------------------------------------------------------------*
34506 * Partial Init method
34507 * -----------------------------------------------------------------------------*/
34512 SWIGEXPORT
void SWIG_init(void) {
34515 /* Fix SwigMethods to carry the callback ptrs when needed */
34516 SWIG_Python_FixMethods(SwigMethods
, swig_const_table
, swig_types
, swig_type_initial
);
34518 m
= Py_InitModule((char *) SWIG_name
, SwigMethods
);
34519 d
= PyModule_GetDict(m
);
34521 SWIG_InitializeModule(0);
34522 SWIG_InstallConstants(d
,swig_const_table
);
34525 PyDict_SetItemString(d
,(char*)"cvar", SWIG_globals());
34526 SWIG_addvarlink(SWIG_globals(),(char*)"FrameNameStr",FrameNameStr_get
, FrameNameStr_set
);
34527 SWIG_addvarlink(SWIG_globals(),(char*)"DialogNameStr",DialogNameStr_get
, DialogNameStr_set
);
34528 SWIG_addvarlink(SWIG_globals(),(char*)"StatusLineNameStr",StatusLineNameStr_get
, StatusLineNameStr_set
);
34529 SWIG_addvarlink(SWIG_globals(),(char*)"ToolBarNameStr",ToolBarNameStr_get
, ToolBarNameStr_set
);
34530 SWIG_Python_SetConstant(d
, "STAY_ON_TOP",SWIG_From_int(static_cast< int >(wxSTAY_ON_TOP
)));
34531 SWIG_Python_SetConstant(d
, "ICONIZE",SWIG_From_int(static_cast< int >(wxICONIZE
)));
34532 SWIG_Python_SetConstant(d
, "MINIMIZE",SWIG_From_int(static_cast< int >(wxMINIMIZE
)));
34533 SWIG_Python_SetConstant(d
, "MAXIMIZE",SWIG_From_int(static_cast< int >(wxMAXIMIZE
)));
34534 SWIG_Python_SetConstant(d
, "CLOSE_BOX",SWIG_From_int(static_cast< int >(wxCLOSE_BOX
)));
34535 SWIG_Python_SetConstant(d
, "THICK_FRAME",SWIG_From_int(static_cast< int >(wxTHICK_FRAME
)));
34536 SWIG_Python_SetConstant(d
, "SYSTEM_MENU",SWIG_From_int(static_cast< int >(wxSYSTEM_MENU
)));
34537 SWIG_Python_SetConstant(d
, "MINIMIZE_BOX",SWIG_From_int(static_cast< int >(wxMINIMIZE_BOX
)));
34538 SWIG_Python_SetConstant(d
, "MAXIMIZE_BOX",SWIG_From_int(static_cast< int >(wxMAXIMIZE_BOX
)));
34539 SWIG_Python_SetConstant(d
, "TINY_CAPTION_HORIZ",SWIG_From_int(static_cast< int >(wxTINY_CAPTION_HORIZ
)));
34540 SWIG_Python_SetConstant(d
, "TINY_CAPTION_VERT",SWIG_From_int(static_cast< int >(wxTINY_CAPTION_VERT
)));
34541 SWIG_Python_SetConstant(d
, "RESIZE_BOX",SWIG_From_int(static_cast< int >(wxRESIZE_BOX
)));
34542 SWIG_Python_SetConstant(d
, "RESIZE_BORDER",SWIG_From_int(static_cast< int >(wxRESIZE_BORDER
)));
34543 SWIG_Python_SetConstant(d
, "DIALOG_NO_PARENT",SWIG_From_int(static_cast< int >(wxDIALOG_NO_PARENT
)));
34544 SWIG_Python_SetConstant(d
, "DEFAULT_FRAME_STYLE",SWIG_From_int(static_cast< int >(wxDEFAULT_FRAME_STYLE
)));
34545 SWIG_Python_SetConstant(d
, "DEFAULT_DIALOG_STYLE",SWIG_From_int(static_cast< int >(wxDEFAULT_DIALOG_STYLE
)));
34546 SWIG_Python_SetConstant(d
, "FRAME_TOOL_WINDOW",SWIG_From_int(static_cast< int >(wxFRAME_TOOL_WINDOW
)));
34547 SWIG_Python_SetConstant(d
, "FRAME_FLOAT_ON_PARENT",SWIG_From_int(static_cast< int >(wxFRAME_FLOAT_ON_PARENT
)));
34548 SWIG_Python_SetConstant(d
, "FRAME_NO_WINDOW_MENU",SWIG_From_int(static_cast< int >(wxFRAME_NO_WINDOW_MENU
)));
34549 SWIG_Python_SetConstant(d
, "FRAME_NO_TASKBAR",SWIG_From_int(static_cast< int >(wxFRAME_NO_TASKBAR
)));
34550 SWIG_Python_SetConstant(d
, "FRAME_SHAPED",SWIG_From_int(static_cast< int >(wxFRAME_SHAPED
)));
34551 SWIG_Python_SetConstant(d
, "FRAME_DRAWER",SWIG_From_int(static_cast< int >(wxFRAME_DRAWER
)));
34552 SWIG_Python_SetConstant(d
, "FRAME_EX_METAL",SWIG_From_int(static_cast< int >(wxFRAME_EX_METAL
)));
34553 SWIG_Python_SetConstant(d
, "DIALOG_EX_METAL",SWIG_From_int(static_cast< int >(wxDIALOG_EX_METAL
)));
34554 SWIG_Python_SetConstant(d
, "WS_EX_CONTEXTHELP",SWIG_From_int(static_cast< int >(wxWS_EX_CONTEXTHELP
)));
34555 SWIG_Python_SetConstant(d
, "DIALOG_MODAL",SWIG_From_int(static_cast< int >(wxDIALOG_MODAL
)));
34556 SWIG_Python_SetConstant(d
, "DIALOG_MODELESS",SWIG_From_int(static_cast< int >(wxDIALOG_MODELESS
)));
34557 SWIG_Python_SetConstant(d
, "USER_COLOURS",SWIG_From_int(static_cast< int >(wxUSER_COLOURS
)));
34558 SWIG_Python_SetConstant(d
, "NO_3D",SWIG_From_int(static_cast< int >(wxNO_3D
)));
34559 SWIG_Python_SetConstant(d
, "FRAME_EX_CONTEXTHELP",SWIG_From_int(static_cast< int >(wxFRAME_EX_CONTEXTHELP
)));
34560 SWIG_Python_SetConstant(d
, "DIALOG_EX_CONTEXTHELP",SWIG_From_int(static_cast< int >(wxDIALOG_EX_CONTEXTHELP
)));
34561 SWIG_Python_SetConstant(d
, "FULLSCREEN_NOMENUBAR",SWIG_From_int(static_cast< int >(wxFULLSCREEN_NOMENUBAR
)));
34562 SWIG_Python_SetConstant(d
, "FULLSCREEN_NOTOOLBAR",SWIG_From_int(static_cast< int >(wxFULLSCREEN_NOTOOLBAR
)));
34563 SWIG_Python_SetConstant(d
, "FULLSCREEN_NOSTATUSBAR",SWIG_From_int(static_cast< int >(wxFULLSCREEN_NOSTATUSBAR
)));
34564 SWIG_Python_SetConstant(d
, "FULLSCREEN_NOBORDER",SWIG_From_int(static_cast< int >(wxFULLSCREEN_NOBORDER
)));
34565 SWIG_Python_SetConstant(d
, "FULLSCREEN_NOCAPTION",SWIG_From_int(static_cast< int >(wxFULLSCREEN_NOCAPTION
)));
34566 SWIG_Python_SetConstant(d
, "FULLSCREEN_ALL",SWIG_From_int(static_cast< int >(wxFULLSCREEN_ALL
)));
34567 SWIG_Python_SetConstant(d
, "TOPLEVEL_EX_DIALOG",SWIG_From_int(static_cast< int >(wxTOPLEVEL_EX_DIALOG
)));
34568 SWIG_Python_SetConstant(d
, "USER_ATTENTION_INFO",SWIG_From_int(static_cast< int >(wxUSER_ATTENTION_INFO
)));
34569 SWIG_Python_SetConstant(d
, "USER_ATTENTION_ERROR",SWIG_From_int(static_cast< int >(wxUSER_ATTENTION_ERROR
)));
34570 SWIG_Python_SetConstant(d
, "Dialog_ButtonSizerFlags",SWIG_From_int(static_cast< int >(wxDialog::ButtonSizerFlags
)));
34571 SWIG_Python_SetConstant(d
, "SPLASH_CENTRE_ON_PARENT",SWIG_From_int(static_cast< int >(wxSPLASH_CENTRE_ON_PARENT
)));
34572 SWIG_Python_SetConstant(d
, "SPLASH_CENTRE_ON_SCREEN",SWIG_From_int(static_cast< int >(wxSPLASH_CENTRE_ON_SCREEN
)));
34573 SWIG_Python_SetConstant(d
, "SPLASH_NO_CENTRE",SWIG_From_int(static_cast< int >(wxSPLASH_NO_CENTRE
)));
34574 SWIG_Python_SetConstant(d
, "SPLASH_TIMEOUT",SWIG_From_int(static_cast< int >(wxSPLASH_TIMEOUT
)));
34575 SWIG_Python_SetConstant(d
, "SPLASH_NO_TIMEOUT",SWIG_From_int(static_cast< int >(wxSPLASH_NO_TIMEOUT
)));
34576 SWIG_Python_SetConstant(d
, "SB_NORMAL",SWIG_From_int(static_cast< int >(wxSB_NORMAL
)));
34577 SWIG_Python_SetConstant(d
, "SB_FLAT",SWIG_From_int(static_cast< int >(wxSB_FLAT
)));
34578 SWIG_Python_SetConstant(d
, "SB_RAISED",SWIG_From_int(static_cast< int >(wxSB_RAISED
)));
34579 SWIG_addvarlink(SWIG_globals(),(char*)"SplitterNameStr",SplitterNameStr_get
, SplitterNameStr_set
);
34580 SWIG_Python_SetConstant(d
, "SP_NOBORDER",SWIG_From_int(static_cast< int >(wxSP_NOBORDER
)));
34581 SWIG_Python_SetConstant(d
, "SP_NOSASH",SWIG_From_int(static_cast< int >(wxSP_NOSASH
)));
34582 SWIG_Python_SetConstant(d
, "SP_PERMIT_UNSPLIT",SWIG_From_int(static_cast< int >(wxSP_PERMIT_UNSPLIT
)));
34583 SWIG_Python_SetConstant(d
, "SP_LIVE_UPDATE",SWIG_From_int(static_cast< int >(wxSP_LIVE_UPDATE
)));
34584 SWIG_Python_SetConstant(d
, "SP_3DSASH",SWIG_From_int(static_cast< int >(wxSP_3DSASH
)));
34585 SWIG_Python_SetConstant(d
, "SP_3DBORDER",SWIG_From_int(static_cast< int >(wxSP_3DBORDER
)));
34586 SWIG_Python_SetConstant(d
, "SP_NO_XP_THEME",SWIG_From_int(static_cast< int >(wxSP_NO_XP_THEME
)));
34587 SWIG_Python_SetConstant(d
, "SP_BORDER",SWIG_From_int(static_cast< int >(wxSP_BORDER
)));
34588 SWIG_Python_SetConstant(d
, "SP_3D",SWIG_From_int(static_cast< int >(wxSP_3D
)));
34589 SWIG_Python_SetConstant(d
, "SPLIT_HORIZONTAL",SWIG_From_int(static_cast< int >(wxSPLIT_HORIZONTAL
)));
34590 SWIG_Python_SetConstant(d
, "SPLIT_VERTICAL",SWIG_From_int(static_cast< int >(wxSPLIT_VERTICAL
)));
34591 SWIG_Python_SetConstant(d
, "SPLIT_DRAG_NONE",SWIG_From_int(static_cast< int >(wxSPLIT_DRAG_NONE
)));
34592 SWIG_Python_SetConstant(d
, "SPLIT_DRAG_DRAGGING",SWIG_From_int(static_cast< int >(wxSPLIT_DRAG_DRAGGING
)));
34593 SWIG_Python_SetConstant(d
, "SPLIT_DRAG_LEFT_DOWN",SWIG_From_int(static_cast< int >(wxSPLIT_DRAG_LEFT_DOWN
)));
34594 PyDict_SetItemString(d
, "wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGED", PyInt_FromLong(wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGED
));
34595 PyDict_SetItemString(d
, "wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGING", PyInt_FromLong(wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGING
));
34596 PyDict_SetItemString(d
, "wxEVT_COMMAND_SPLITTER_DOUBLECLICKED", PyInt_FromLong(wxEVT_COMMAND_SPLITTER_DOUBLECLICKED
));
34597 PyDict_SetItemString(d
, "wxEVT_COMMAND_SPLITTER_UNSPLIT", PyInt_FromLong(wxEVT_COMMAND_SPLITTER_UNSPLIT
));
34598 SWIG_addvarlink(SWIG_globals(),(char*)"SashNameStr",SashNameStr_get
, SashNameStr_set
);
34599 SWIG_addvarlink(SWIG_globals(),(char*)"SashLayoutNameStr",SashLayoutNameStr_get
, SashLayoutNameStr_set
);
34600 SWIG_Python_SetConstant(d
, "SASH_DRAG_NONE",SWIG_From_int(static_cast< int >(wxSASH_DRAG_NONE
)));
34601 SWIG_Python_SetConstant(d
, "SASH_DRAG_DRAGGING",SWIG_From_int(static_cast< int >(wxSASH_DRAG_DRAGGING
)));
34602 SWIG_Python_SetConstant(d
, "SASH_DRAG_LEFT_DOWN",SWIG_From_int(static_cast< int >(wxSASH_DRAG_LEFT_DOWN
)));
34603 SWIG_Python_SetConstant(d
, "SW_NOBORDER",SWIG_From_int(static_cast< int >(wxSW_NOBORDER
)));
34604 SWIG_Python_SetConstant(d
, "SW_BORDER",SWIG_From_int(static_cast< int >(wxSW_BORDER
)));
34605 SWIG_Python_SetConstant(d
, "SW_3DSASH",SWIG_From_int(static_cast< int >(wxSW_3DSASH
)));
34606 SWIG_Python_SetConstant(d
, "SW_3DBORDER",SWIG_From_int(static_cast< int >(wxSW_3DBORDER
)));
34607 SWIG_Python_SetConstant(d
, "SW_3D",SWIG_From_int(static_cast< int >(wxSW_3D
)));
34608 SWIG_Python_SetConstant(d
, "SASH_TOP",SWIG_From_int(static_cast< int >(wxSASH_TOP
)));
34609 SWIG_Python_SetConstant(d
, "SASH_RIGHT",SWIG_From_int(static_cast< int >(wxSASH_RIGHT
)));
34610 SWIG_Python_SetConstant(d
, "SASH_BOTTOM",SWIG_From_int(static_cast< int >(wxSASH_BOTTOM
)));
34611 SWIG_Python_SetConstant(d
, "SASH_LEFT",SWIG_From_int(static_cast< int >(wxSASH_LEFT
)));
34612 SWIG_Python_SetConstant(d
, "SASH_NONE",SWIG_From_int(static_cast< int >(wxSASH_NONE
)));
34613 SWIG_Python_SetConstant(d
, "SASH_STATUS_OK",SWIG_From_int(static_cast< int >(wxSASH_STATUS_OK
)));
34614 SWIG_Python_SetConstant(d
, "SASH_STATUS_OUT_OF_RANGE",SWIG_From_int(static_cast< int >(wxSASH_STATUS_OUT_OF_RANGE
)));
34615 PyDict_SetItemString(d
, "wxEVT_SASH_DRAGGED", PyInt_FromLong(wxEVT_SASH_DRAGGED
));
34616 SWIG_Python_SetConstant(d
, "LAYOUT_HORIZONTAL",SWIG_From_int(static_cast< int >(wxLAYOUT_HORIZONTAL
)));
34617 SWIG_Python_SetConstant(d
, "LAYOUT_VERTICAL",SWIG_From_int(static_cast< int >(wxLAYOUT_VERTICAL
)));
34618 SWIG_Python_SetConstant(d
, "LAYOUT_NONE",SWIG_From_int(static_cast< int >(wxLAYOUT_NONE
)));
34619 SWIG_Python_SetConstant(d
, "LAYOUT_TOP",SWIG_From_int(static_cast< int >(wxLAYOUT_TOP
)));
34620 SWIG_Python_SetConstant(d
, "LAYOUT_LEFT",SWIG_From_int(static_cast< int >(wxLAYOUT_LEFT
)));
34621 SWIG_Python_SetConstant(d
, "LAYOUT_RIGHT",SWIG_From_int(static_cast< int >(wxLAYOUT_RIGHT
)));
34622 SWIG_Python_SetConstant(d
, "LAYOUT_BOTTOM",SWIG_From_int(static_cast< int >(wxLAYOUT_BOTTOM
)));
34623 SWIG_Python_SetConstant(d
, "LAYOUT_LENGTH_Y",SWIG_From_int(static_cast< int >(wxLAYOUT_LENGTH_Y
)));
34624 SWIG_Python_SetConstant(d
, "LAYOUT_LENGTH_X",SWIG_From_int(static_cast< int >(wxLAYOUT_LENGTH_X
)));
34625 SWIG_Python_SetConstant(d
, "LAYOUT_MRU_LENGTH",SWIG_From_int(static_cast< int >(wxLAYOUT_MRU_LENGTH
)));
34626 SWIG_Python_SetConstant(d
, "LAYOUT_QUERY",SWIG_From_int(static_cast< int >(wxLAYOUT_QUERY
)));
34627 PyDict_SetItemString(d
, "wxEVT_QUERY_LAYOUT_INFO", PyInt_FromLong(wxEVT_QUERY_LAYOUT_INFO
));
34628 PyDict_SetItemString(d
, "wxEVT_CALCULATE_LAYOUT", PyInt_FromLong(wxEVT_CALCULATE_LAYOUT
));
34629 SWIG_addvarlink(SWIG_globals(),(char*)"VListBoxNameStr",VListBoxNameStr_get
, VListBoxNameStr_set
);
34631 // Map renamed classes back to their common name for OOR
34632 wxPyPtrTypeMap_Add("wxHtmlListBox", "wxPyHtmlListBox");
34633 wxPyPtrTypeMap_Add("wxVListBox", "wxPyVListBox");
34634 wxPyPtrTypeMap_Add("wxVScrolledWindow", "wxPyVScrolledWindow");
34636 PyDict_SetItemString(d
, "wxEVT_TASKBAR_MOVE", PyInt_FromLong(wxEVT_TASKBAR_MOVE
));
34637 PyDict_SetItemString(d
, "wxEVT_TASKBAR_LEFT_DOWN", PyInt_FromLong(wxEVT_TASKBAR_LEFT_DOWN
));
34638 PyDict_SetItemString(d
, "wxEVT_TASKBAR_LEFT_UP", PyInt_FromLong(wxEVT_TASKBAR_LEFT_UP
));
34639 PyDict_SetItemString(d
, "wxEVT_TASKBAR_RIGHT_DOWN", PyInt_FromLong(wxEVT_TASKBAR_RIGHT_DOWN
));
34640 PyDict_SetItemString(d
, "wxEVT_TASKBAR_RIGHT_UP", PyInt_FromLong(wxEVT_TASKBAR_RIGHT_UP
));
34641 PyDict_SetItemString(d
, "wxEVT_TASKBAR_LEFT_DCLICK", PyInt_FromLong(wxEVT_TASKBAR_LEFT_DCLICK
));
34642 PyDict_SetItemString(d
, "wxEVT_TASKBAR_RIGHT_DCLICK", PyInt_FromLong(wxEVT_TASKBAR_RIGHT_DCLICK
));
34643 SWIG_addvarlink(SWIG_globals(),(char*)"FileSelectorPromptStr",FileSelectorPromptStr_get
, FileSelectorPromptStr_set
);
34644 SWIG_addvarlink(SWIG_globals(),(char*)"DirSelectorPromptStr",DirSelectorPromptStr_get
, DirSelectorPromptStr_set
);
34645 SWIG_addvarlink(SWIG_globals(),(char*)"DirDialogNameStr",DirDialogNameStr_get
, DirDialogNameStr_set
);
34646 SWIG_addvarlink(SWIG_globals(),(char*)"FileSelectorDefaultWildcardStr",FileSelectorDefaultWildcardStr_get
, FileSelectorDefaultWildcardStr_set
);
34647 SWIG_addvarlink(SWIG_globals(),(char*)"GetTextFromUserPromptStr",GetTextFromUserPromptStr_get
, GetTextFromUserPromptStr_set
);
34648 SWIG_addvarlink(SWIG_globals(),(char*)"MessageBoxCaptionStr",MessageBoxCaptionStr_get
, MessageBoxCaptionStr_set
);
34649 SWIG_Python_SetConstant(d
, "DD_NEW_DIR_BUTTON",SWIG_From_int(static_cast< int >(wxDD_NEW_DIR_BUTTON
)));
34650 SWIG_Python_SetConstant(d
, "DD_DEFAULT_STYLE",SWIG_From_int(static_cast< int >(wxDD_DEFAULT_STYLE
)));
34651 SWIG_Python_SetConstant(d
, "DD_CHANGE_DIR",SWIG_From_int(static_cast< int >(wxDD_CHANGE_DIR
)));
34652 SWIG_Python_SetConstant(d
, "OPEN",SWIG_From_int(static_cast< int >(wxOPEN
)));
34653 SWIG_Python_SetConstant(d
, "SAVE",SWIG_From_int(static_cast< int >(wxSAVE
)));
34654 SWIG_Python_SetConstant(d
, "OVERWRITE_PROMPT",SWIG_From_int(static_cast< int >(wxOVERWRITE_PROMPT
)));
34655 SWIG_Python_SetConstant(d
, "FILE_MUST_EXIST",SWIG_From_int(static_cast< int >(wxFILE_MUST_EXIST
)));
34656 SWIG_Python_SetConstant(d
, "MULTIPLE",SWIG_From_int(static_cast< int >(wxMULTIPLE
)));
34657 SWIG_Python_SetConstant(d
, "CHANGE_DIR",SWIG_From_int(static_cast< int >(wxCHANGE_DIR
)));
34658 SWIG_Python_SetConstant(d
, "HIDE_READONLY",SWIG_From_int(static_cast< int >(wxHIDE_READONLY
)));
34659 SWIG_Python_SetConstant(d
, "FD_OPEN",SWIG_From_int(static_cast< int >(wxFD_OPEN
)));
34660 SWIG_Python_SetConstant(d
, "FD_SAVE",SWIG_From_int(static_cast< int >(wxFD_SAVE
)));
34661 SWIG_Python_SetConstant(d
, "FD_OVERWRITE_PROMPT",SWIG_From_int(static_cast< int >(wxFD_OVERWRITE_PROMPT
)));
34662 SWIG_Python_SetConstant(d
, "FD_FILE_MUST_EXIST",SWIG_From_int(static_cast< int >(wxFD_FILE_MUST_EXIST
)));
34663 SWIG_Python_SetConstant(d
, "FD_MULTIPLE",SWIG_From_int(static_cast< int >(wxFD_MULTIPLE
)));
34664 SWIG_Python_SetConstant(d
, "FD_CHANGE_DIR",SWIG_From_int(static_cast< int >(wxFD_CHANGE_DIR
)));
34665 SWIG_Python_SetConstant(d
, "FD_PREVIEW",SWIG_From_int(static_cast< int >(wxFD_PREVIEW
)));
34666 SWIG_Python_SetConstant(d
, "FD_DEFAULT_STYLE",SWIG_From_int(static_cast< int >(wxFD_DEFAULT_STYLE
)));
34667 SWIG_Python_SetConstant(d
, "CHOICEDLG_STYLE",SWIG_From_int(static_cast< int >(wxCHOICEDLG_STYLE
)));
34668 SWIG_Python_SetConstant(d
, "TextEntryDialogStyle",SWIG_From_int(static_cast< int >(wxTextEntryDialogStyle
)));
34669 SWIG_addvarlink(SWIG_globals(),(char*)"GetPasswordFromUserPromptStr",GetPasswordFromUserPromptStr_get
, GetPasswordFromUserPromptStr_set
);
34670 SWIG_Python_SetConstant(d
, "PD_AUTO_HIDE",SWIG_From_int(static_cast< int >(wxPD_AUTO_HIDE
)));
34671 SWIG_Python_SetConstant(d
, "PD_APP_MODAL",SWIG_From_int(static_cast< int >(wxPD_APP_MODAL
)));
34672 SWIG_Python_SetConstant(d
, "PD_CAN_ABORT",SWIG_From_int(static_cast< int >(wxPD_CAN_ABORT
)));
34673 SWIG_Python_SetConstant(d
, "PD_ELAPSED_TIME",SWIG_From_int(static_cast< int >(wxPD_ELAPSED_TIME
)));
34674 SWIG_Python_SetConstant(d
, "PD_ESTIMATED_TIME",SWIG_From_int(static_cast< int >(wxPD_ESTIMATED_TIME
)));
34675 SWIG_Python_SetConstant(d
, "PD_REMAINING_TIME",SWIG_From_int(static_cast< int >(wxPD_REMAINING_TIME
)));
34676 SWIG_Python_SetConstant(d
, "PD_SMOOTH",SWIG_From_int(static_cast< int >(wxPD_SMOOTH
)));
34677 SWIG_Python_SetConstant(d
, "PD_CAN_SKIP",SWIG_From_int(static_cast< int >(wxPD_CAN_SKIP
)));
34678 SWIG_Python_SetConstant(d
, "FR_DOWN",SWIG_From_int(static_cast< int >(wxFR_DOWN
)));
34679 SWIG_Python_SetConstant(d
, "FR_WHOLEWORD",SWIG_From_int(static_cast< int >(wxFR_WHOLEWORD
)));
34680 SWIG_Python_SetConstant(d
, "FR_MATCHCASE",SWIG_From_int(static_cast< int >(wxFR_MATCHCASE
)));
34681 SWIG_Python_SetConstant(d
, "FR_REPLACEDIALOG",SWIG_From_int(static_cast< int >(wxFR_REPLACEDIALOG
)));
34682 SWIG_Python_SetConstant(d
, "FR_NOUPDOWN",SWIG_From_int(static_cast< int >(wxFR_NOUPDOWN
)));
34683 SWIG_Python_SetConstant(d
, "FR_NOMATCHCASE",SWIG_From_int(static_cast< int >(wxFR_NOMATCHCASE
)));
34684 SWIG_Python_SetConstant(d
, "FR_NOWHOLEWORD",SWIG_From_int(static_cast< int >(wxFR_NOWHOLEWORD
)));
34685 PyDict_SetItemString(d
, "wxEVT_COMMAND_FIND", PyInt_FromLong(wxEVT_COMMAND_FIND
));
34686 PyDict_SetItemString(d
, "wxEVT_COMMAND_FIND_NEXT", PyInt_FromLong(wxEVT_COMMAND_FIND_NEXT
));
34687 PyDict_SetItemString(d
, "wxEVT_COMMAND_FIND_REPLACE", PyInt_FromLong(wxEVT_COMMAND_FIND_REPLACE
));
34688 PyDict_SetItemString(d
, "wxEVT_COMMAND_FIND_REPLACE_ALL", PyInt_FromLong(wxEVT_COMMAND_FIND_REPLACE_ALL
));
34689 PyDict_SetItemString(d
, "wxEVT_COMMAND_FIND_CLOSE", PyInt_FromLong(wxEVT_COMMAND_FIND_CLOSE
));
34690 SWIG_Python_SetConstant(d
, "IDM_WINDOWTILE",SWIG_From_int(static_cast< int >(4001)));
34691 SWIG_Python_SetConstant(d
, "IDM_WINDOWTILEHOR",SWIG_From_int(static_cast< int >(4001)));
34692 SWIG_Python_SetConstant(d
, "IDM_WINDOWCASCADE",SWIG_From_int(static_cast< int >(4002)));
34693 SWIG_Python_SetConstant(d
, "IDM_WINDOWICONS",SWIG_From_int(static_cast< int >(4003)));
34694 SWIG_Python_SetConstant(d
, "IDM_WINDOWNEXT",SWIG_From_int(static_cast< int >(4004)));
34695 SWIG_Python_SetConstant(d
, "IDM_WINDOWTILEVERT",SWIG_From_int(static_cast< int >(4005)));
34696 SWIG_Python_SetConstant(d
, "IDM_WINDOWPREV",SWIG_From_int(static_cast< int >(4006)));
34697 SWIG_Python_SetConstant(d
, "FIRST_MDI_CHILD",SWIG_From_int(static_cast< int >(4100)));
34698 SWIG_Python_SetConstant(d
, "LAST_MDI_CHILD",SWIG_From_int(static_cast< int >(4600)));
34699 SWIG_addvarlink(SWIG_globals(),(char*)"PrintoutTitleStr",PrintoutTitleStr_get
, PrintoutTitleStr_set
);
34700 SWIG_addvarlink(SWIG_globals(),(char*)"PreviewCanvasNameStr",PreviewCanvasNameStr_get
, PreviewCanvasNameStr_set
);
34701 SWIG_Python_SetConstant(d
, "PRINT_MODE_NONE",SWIG_From_int(static_cast< int >(wxPRINT_MODE_NONE
)));
34702 SWIG_Python_SetConstant(d
, "PRINT_MODE_PREVIEW",SWIG_From_int(static_cast< int >(wxPRINT_MODE_PREVIEW
)));
34703 SWIG_Python_SetConstant(d
, "PRINT_MODE_FILE",SWIG_From_int(static_cast< int >(wxPRINT_MODE_FILE
)));
34704 SWIG_Python_SetConstant(d
, "PRINT_MODE_PRINTER",SWIG_From_int(static_cast< int >(wxPRINT_MODE_PRINTER
)));
34705 SWIG_Python_SetConstant(d
, "PRINT_MODE_STREAM",SWIG_From_int(static_cast< int >(wxPRINT_MODE_STREAM
)));
34706 SWIG_Python_SetConstant(d
, "PRINTBIN_DEFAULT",SWIG_From_int(static_cast< int >(wxPRINTBIN_DEFAULT
)));
34707 SWIG_Python_SetConstant(d
, "PRINTBIN_ONLYONE",SWIG_From_int(static_cast< int >(wxPRINTBIN_ONLYONE
)));
34708 SWIG_Python_SetConstant(d
, "PRINTBIN_LOWER",SWIG_From_int(static_cast< int >(wxPRINTBIN_LOWER
)));
34709 SWIG_Python_SetConstant(d
, "PRINTBIN_MIDDLE",SWIG_From_int(static_cast< int >(wxPRINTBIN_MIDDLE
)));
34710 SWIG_Python_SetConstant(d
, "PRINTBIN_MANUAL",SWIG_From_int(static_cast< int >(wxPRINTBIN_MANUAL
)));
34711 SWIG_Python_SetConstant(d
, "PRINTBIN_ENVELOPE",SWIG_From_int(static_cast< int >(wxPRINTBIN_ENVELOPE
)));
34712 SWIG_Python_SetConstant(d
, "PRINTBIN_ENVMANUAL",SWIG_From_int(static_cast< int >(wxPRINTBIN_ENVMANUAL
)));
34713 SWIG_Python_SetConstant(d
, "PRINTBIN_AUTO",SWIG_From_int(static_cast< int >(wxPRINTBIN_AUTO
)));
34714 SWIG_Python_SetConstant(d
, "PRINTBIN_TRACTOR",SWIG_From_int(static_cast< int >(wxPRINTBIN_TRACTOR
)));
34715 SWIG_Python_SetConstant(d
, "PRINTBIN_SMALLFMT",SWIG_From_int(static_cast< int >(wxPRINTBIN_SMALLFMT
)));
34716 SWIG_Python_SetConstant(d
, "PRINTBIN_LARGEFMT",SWIG_From_int(static_cast< int >(wxPRINTBIN_LARGEFMT
)));
34717 SWIG_Python_SetConstant(d
, "PRINTBIN_LARGECAPACITY",SWIG_From_int(static_cast< int >(wxPRINTBIN_LARGECAPACITY
)));
34718 SWIG_Python_SetConstant(d
, "PRINTBIN_CASSETTE",SWIG_From_int(static_cast< int >(wxPRINTBIN_CASSETTE
)));
34719 SWIG_Python_SetConstant(d
, "PRINTBIN_FORMSOURCE",SWIG_From_int(static_cast< int >(wxPRINTBIN_FORMSOURCE
)));
34720 SWIG_Python_SetConstant(d
, "PRINTBIN_USER",SWIG_From_int(static_cast< int >(wxPRINTBIN_USER
)));
34721 SWIG_Python_SetConstant(d
, "PRINTER_NO_ERROR",SWIG_From_int(static_cast< int >(wxPRINTER_NO_ERROR
)));
34722 SWIG_Python_SetConstant(d
, "PRINTER_CANCELLED",SWIG_From_int(static_cast< int >(wxPRINTER_CANCELLED
)));
34723 SWIG_Python_SetConstant(d
, "PRINTER_ERROR",SWIG_From_int(static_cast< int >(wxPRINTER_ERROR
)));
34724 SWIG_Python_SetConstant(d
, "PREVIEW_PRINT",SWIG_From_int(static_cast< int >(wxPREVIEW_PRINT
)));
34725 SWIG_Python_SetConstant(d
, "PREVIEW_PREVIOUS",SWIG_From_int(static_cast< int >(wxPREVIEW_PREVIOUS
)));
34726 SWIG_Python_SetConstant(d
, "PREVIEW_NEXT",SWIG_From_int(static_cast< int >(wxPREVIEW_NEXT
)));
34727 SWIG_Python_SetConstant(d
, "PREVIEW_ZOOM",SWIG_From_int(static_cast< int >(wxPREVIEW_ZOOM
)));
34728 SWIG_Python_SetConstant(d
, "PREVIEW_FIRST",SWIG_From_int(static_cast< int >(wxPREVIEW_FIRST
)));
34729 SWIG_Python_SetConstant(d
, "PREVIEW_LAST",SWIG_From_int(static_cast< int >(wxPREVIEW_LAST
)));
34730 SWIG_Python_SetConstant(d
, "PREVIEW_GOTO",SWIG_From_int(static_cast< int >(wxPREVIEW_GOTO
)));
34731 SWIG_Python_SetConstant(d
, "PREVIEW_DEFAULT",SWIG_From_int(static_cast< int >(wxPREVIEW_DEFAULT
)));
34732 SWIG_Python_SetConstant(d
, "ID_PREVIEW_CLOSE",SWIG_From_int(static_cast< int >(wxID_PREVIEW_CLOSE
)));
34733 SWIG_Python_SetConstant(d
, "ID_PREVIEW_NEXT",SWIG_From_int(static_cast< int >(wxID_PREVIEW_NEXT
)));
34734 SWIG_Python_SetConstant(d
, "ID_PREVIEW_PREVIOUS",SWIG_From_int(static_cast< int >(wxID_PREVIEW_PREVIOUS
)));
34735 SWIG_Python_SetConstant(d
, "ID_PREVIEW_PRINT",SWIG_From_int(static_cast< int >(wxID_PREVIEW_PRINT
)));
34736 SWIG_Python_SetConstant(d
, "ID_PREVIEW_ZOOM",SWIG_From_int(static_cast< int >(wxID_PREVIEW_ZOOM
)));
34737 SWIG_Python_SetConstant(d
, "ID_PREVIEW_FIRST",SWIG_From_int(static_cast< int >(wxID_PREVIEW_FIRST
)));
34738 SWIG_Python_SetConstant(d
, "ID_PREVIEW_LAST",SWIG_From_int(static_cast< int >(wxID_PREVIEW_LAST
)));
34739 SWIG_Python_SetConstant(d
, "ID_PREVIEW_GOTO",SWIG_From_int(static_cast< int >(wxID_PREVIEW_GOTO
)));
34741 wxPyPtrTypeMap_Add("wxPrintout", "wxPyPrintout");